* {
  box-sizing: border-box;
}

:root {
  --bg: #f5f8f7;
  --surface: #ffffff;
  --surface-strong: #e7f1ee;
  --ink: #17211f;
  --muted: #5a6966;
  --line: #cbd9d5;
  --accent: #00795f;
  --accent-dark: #005b48;
  --accent-soft: #d9f2eb;
  --contrast: #0d2b28;
  --warning: #f4c430;
  --danger: #cf3f36;
  --shadow: 0 20px 45px rgba(13, 43, 40, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent-dark);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 24px 18px;
}

.brand img {
  width: 178px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--contrast);
  font-weight: 700;
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--accent-soft);
  outline: none;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px 24px 54px;
}

.intro-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--danger);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  color: var(--contrast);
  font-size: 4.8rem;
  line-height: 0.96;
}

h2 {
  margin: 0;
  color: var(--contrast);
  font-size: 3rem;
  line-height: 1.08;
}

h3 {
  margin: 0;
  color: var(--contrast);
  font-size: 1.55rem;
  line-height: 1.15;
}

.intro-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.intro-actions,
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--accent);
  color: #ffffff;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--accent-dark);
}

.button.secondary {
  background: #ffffff;
  color: var(--contrast);
  border-color: var(--line);
}

.button.buy {
  background: var(--warning);
  color: #141414;
}

.button.table-download {
  min-height: 38px;
  padding: 8px 13px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.95rem;
}

.button.table-download:hover,
.button.table-download:focus-visible {
  background: var(--accent);
  color: #ffffff;
}

.button:focus-visible {
  outline: 3px solid rgba(0, 121, 95, 0.25);
  outline-offset: 2px;
}

.intro-panel {
  align-self: stretch;
  display: grid;
  gap: 14px;
}

.intro-panel span {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 18px;
  background: #ffffff;
  color: var(--contrast);
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(13, 43, 40, 0.08);
  font-weight: 800;
}

.intro-panel span:nth-child(2) {
  border-left-color: var(--danger);
}

.intro-panel span:nth-child(3) {
  border-left-color: #0087a1;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px 24px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  display: grid;
  grid-template-rows: 260px 1fr;
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-card.featured-product {
  grid-column: 1 / -1;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  grid-template-rows: auto;
}

.product-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(0, 121, 95, 0.1), rgba(0, 135, 161, 0.12)),
    var(--surface-strong);
}

.split-visual {
  gap: 14px;
  flex-wrap: wrap;
}

.screenshot-trigger {
  display: block;
  width: auto;
  max-width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: zoom-in;
}

.screenshot-trigger:focus-visible {
  outline: 3px solid rgba(0, 121, 95, 0.35);
  outline-offset: 4px;
}

.screenshot-trigger:hover img,
.screenshot-trigger:focus-visible img {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(13, 43, 40, 0.16);
}

.screenshot-trigger img {
  max-height: 214px;
  width: auto;
  border-radius: 6px;
  border: 1px solid rgba(23, 33, 31, 0.12);
  transition:
    box-shadow 160ms ease,
    transform 160ms ease;
}

.split-visual .screenshot-trigger {
  max-width: min(46%, 230px);
}

.split-visual .screenshot-trigger img {
  width: 100%;
}

.product-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
}

.product-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.price {
  flex: 0 0 auto;
  min-width: 72px;
  margin: 0;
  padding: 6px 10px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
}

.product-content > p {
  margin: 0 0 18px;
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list.columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-list li {
  position: relative;
  padding-left: 24px;
}

.feature-list li::before {
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  content: "";
}

.product-content .actions {
  margin-top: auto;
  padding-top: 24px;
}

.actions form {
  margin: 0;
}

.comparison-band {
  max-width: none;
  background: #ffffff;
}

.comparison-band > * {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.comparison-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}

.comparison-row {
  display: grid;
  grid-template-columns: 0.7fr 1.8fr 0.8fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.comparison-row:first-child {
  border-top: 0;
}

.comparison-row.heading {
  background: var(--contrast);
  color: #ffffff;
  font-weight: 900;
}

.comparison-row > * {
  min-width: 0;
  padding: 15px 18px;
  overflow-wrap: anywhere;
}

.comparison-row > * + * {
  border-left: 1px solid var(--line);
}

.comparison-row.heading > * + * {
  border-left-color: rgba(255, 255, 255, 0.2);
}

.support-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px;
}

.support-band h2 {
  max-width: 680px;
}

.support-band p:not(.eyebrow) {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
}

.site-footer {
  padding: 26px 24px 36px;
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 72px 24px 32px;
  background: rgba(8, 20, 18, 0.84);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-frame {
  width: min(1100px, 100%);
  max-height: 100%;
  margin: 0;
}

.lightbox-frame img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 150px);
  margin: 0 auto;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.lightbox-frame figcaption {
  margin-top: 14px;
  color: #ffffff;
  font-weight: 800;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  min-height: 44px;
  padding: 9px 14px;
  background: #ffffff;
  color: var(--contrast);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.lightbox-close:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.55);
  outline-offset: 3px;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .intro-band,
  .product-card.featured-product {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .feature-list.columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) and (min-width: 901px) {
  h1 {
    font-size: 3.7rem;
  }

  h2 {
    font-size: 2.55rem;
  }
}

@media (max-width: 720px) {
  .site-header,
  .support-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    padding-top: 18px;
  }

  .intro-band {
    padding-top: 28px;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  .product-card {
    grid-template-rows: auto 1fr;
  }

  .product-visual {
    min-height: 210px;
  }

  .split-visual .screenshot-trigger {
    max-width: 100%;
  }

  .product-title-row,
  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .price {
    width: max-content;
  }

  .button,
  .actions form {
    width: 100%;
  }

  .comparison-table {
    border: 0;
    gap: 12px;
    background: transparent;
  }

  .comparison-row,
  .comparison-row.heading {
    grid-template-columns: 1fr;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface);
    color: var(--ink);
  }

  .comparison-row.heading {
    display: none;
  }

  .comparison-row > * + * {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .lightbox {
    padding: 78px 14px 24px;
  }
}

@media (max-width: 420px) {
  .site-nav {
    width: 100%;
  }

  .site-nav a {
    flex: 1 1 auto;
    text-align: center;
  }

  h1 {
    font-size: 2.2rem;
  }

  .product-content {
    padding: 20px;
  }
}
