:root {
  --ink: #0d1712;
  --ink-2: #19312a;
  --paper: #f8faf7;
  --paper-2: #eef4ee;
  --surface: #ffffff;
  --line: #d9e2d8;
  --muted: #59665e;
  --green: #05796b;
  --green-dark: #034f47;
  --amber: #d88a12;
  --coral: #c64f43;
  --blue: #3759c7;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(13, 23, 18, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: rgba(5, 121, 107, 0.2);
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 200;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(217, 226, 216, 0.78);
  background: rgba(248, 250, 247, 0.88);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 820;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(13, 23, 18, 0.16);
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 15px;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a,
.site-footer a {
  text-decoration: none;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--green);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 82vh;
  overflow: hidden;
  background: #0a120f;
  color: var(--white);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(10, 18, 15, 0.96) 0%, rgba(10, 18, 15, 0.76) 48%, rgba(10, 18, 15, 0.34) 100%),
    radial-gradient(circle at 82% 22%, rgba(216, 138, 18, 0.32), transparent 28%),
    radial-gradient(circle at 70% 80%, rgba(55, 89, 199, 0.22), transparent 30%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 82%);
}

.hero-content {
  width: min(var(--max), calc(100% - 32px));
  min-height: 82vh;
  margin: 0 auto;
  padding: 112px 0 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8af0d8;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 970px;
  margin-bottom: 22px;
  font-size: clamp(46px, 8vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.cta-band,
.final-layout {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(5, 121, 107, 0.28);
}

.button-primary:hover {
  background: var(--green-dark);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.button-large {
  min-height: 58px;
  padding-inline: 24px;
}

.affiliate-note {
  max-width: 620px;
  margin: 14px 0 34px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(760px, 100%);
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.hero-metrics div {
  padding: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics dt {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-metrics dd {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 900;
}

.section,
.answer-band,
.final-cta {
  padding: 92px 0;
}

.section-shell,
.footer-shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.answer-band {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.answer-copy {
  color: var(--ink-2);
  font-size: 20px;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 38px;
}

.section-heading p {
  color: var(--muted);
  font-size: 19px;
}

.compact {
  max-width: 760px;
}

.media-feature {
  padding: 86px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.media-feature.pale {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.media-grid.reverse {
  grid-template-columns: 0.95fr 1fr;
}

.media-grid.reverse .media-card {
  order: 2;
}

.media-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-card figcaption {
  padding: 11px 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.media-card figcaption a {
  color: var(--white);
}

.media-copy p {
  color: var(--muted);
  font-size: 18px;
}

.feature-grid,
.audience-grid,
.cluster-grid,
.requirement-list,
.sizing-grid,
.hub-list,
.check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.audience-grid article,
.geo-layout article,
.cluster-grid article,
.requirement-list article,
.sizing-grid article,
.hub-list article,
.check-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-card p,
.audience-grid p,
.geo-layout p,
.cluster-grid p,
.requirement-list p,
.sizing-grid p,
.hub-list p,
.check-grid p {
  color: var(--muted);
}

.card-index {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.muted-section {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.keyword-section {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--paper) 0%, var(--surface) 100%);
}

.cluster-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cluster-grid article {
  min-height: 210px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.timeline li {
  min-height: 290px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.timeline li:last-child {
  border-right: 0;
}

.timeline span {
  display: inline-flex;
  margin-bottom: 46px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.timeline p {
  color: var(--muted);
}

.ops-layout,
.content-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 42px;
  align-items: start;
}

.ops-layout > div:first-child p,
.content-layout > div:first-child p,
.content-note {
  color: var(--muted);
  font-size: 18px;
}

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

.requirement-list article,
.hub-list article {
  min-height: 190px;
}

.comparison {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th {
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  text-transform: uppercase;
}

tbody th {
  color: var(--green-dark);
  font-size: 17px;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.cta-band {
  justify-content: space-between;
  margin-top: 24px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.cta-band p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.cost-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.sizing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sizing-grid article {
  min-height: 260px;
}

.content-note {
  max-width: 920px;
  margin: 26px 0 0;
  padding: 24px;
  border-left: 4px solid var(--green);
  background: var(--paper-2);
}

.dark-section {
  background: var(--ink);
  color: var(--white);
}

.dark-section .section-kicker {
  color: #8af0d8;
}

.dark-section .section-heading p,
.dark-section .geo-layout p {
  color: rgba(255, 255, 255, 0.68);
}

.geo-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.geo-layout article {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.source-list {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.source-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  padding-left: 18px;
  margin-bottom: 0;
}

.source-list a {
  color: #b7fff0;
}

.content-system {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.split-band {
  display: grid;
  grid-template-columns: 0.9fr 1.5fr;
  gap: 50px;
}

.split-band > div:first-child p:not(.section-kicker) {
  color: var(--muted);
  font-size: 18px;
}

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

.audience-grid article {
  min-height: 200px;
}

.checklist-section {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.check-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.check-grid article {
  min-height: 150px;
}

.check-grid span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
}

.check-grid p {
  margin-bottom: 0;
}

.faq-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 24px 0;
  font-size: 22px;
  font-weight: 850;
}

details p {
  max-width: 840px;
  color: var(--muted);
  font-size: 18px;
}

.final-cta {
  background: var(--paper-2);
}

.final-layout {
  justify-content: space-between;
}

.final-layout > div {
  max-width: 760px;
}

.site-footer {
  padding: 46px 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-shell {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  margin-bottom: 10px;
}

.site-footer p {
  max-width: 440px;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 800;
}

.legal-main {
  padding: 78px 0 104px;
}

.legal-main h1 {
  max-width: 820px;
  color: var(--ink);
}

.legal-box {
  max-width: 860px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-box h2 {
  margin: 34px 0 10px;
  font-size: 25px;
}

.legal-box p {
  color: var(--ink-2);
}

.legal-box a {
  color: var(--green-dark);
  font-weight: 800;
}

.muted {
  color: var(--muted) !important;
}

@media (max-width: 1040px) {
  .nav-links {
    display: none;
  }

  .feature-grid,
  .timeline,
  .geo-layout,
  .cluster-grid,
  .check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-grid,
  .media-grid.reverse,
  .ops-layout,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .media-grid.reverse .media-card {
    order: 0;
  }

  .timeline li {
    border-bottom: 1px solid var(--line);
  }

  .timeline li:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 66px;
  }

  .brand span:last-child {
    font-size: 15px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 12px;
  }

  .hero,
  .hero-content {
    min-height: 84vh;
  }

  .hero-content {
    padding-top: 94px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 68px);
  }

  h2 {
    font-size: 38px;
  }

  .hero-copy,
  .answer-copy,
  .section-heading p {
    font-size: 17px;
  }

  .hero-actions,
  .button,
  .final-layout,
  .cta-band {
    width: 100%;
  }

  .button {
    min-width: 100%;
  }

  .hero-metrics,
  .two-column,
  .feature-grid,
  .timeline,
  .geo-layout,
  .split-band,
  .audience-grid,
  .source-list ul,
  .media-grid,
  .media-grid.reverse,
  .cluster-grid,
  .ops-layout,
  .requirement-list,
  .sizing-grid,
  .content-layout,
  .hub-list,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .timeline li {
    min-height: auto;
    border-right: 0;
  }

  .timeline span,
  .card-index {
    margin-bottom: 18px;
  }

  .section,
  .answer-band,
  .media-feature,
  .final-cta {
    padding: 66px 0;
  }

  .footer-shell,
  .site-footer nav {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
