:root {
  color-scheme: light dark;
  --background: #f7faf5;
  --settings-paper: #edf2eb;
  --surface: #fffefb;
  --surface-raised: #ffffff;
  --surface-soft: #edf5f0;
  --warm-panel: #fff5df;
  --ink: #121a1b;
  --muted: #63716c;
  --accent: #0a6354;
  --accent-bright: #179e83;
  --accent-deep: #063833;
  --gold: #f2b837;
  --gold-deep: #8f6509;
  --line: rgba(18, 26, 27, 0.1);
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 24px 70px rgba(6, 56, 51, 0.16);
  --shadow-soft: 0 14px 36px rgba(6, 56, 51, 0.1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #09110f;
    --settings-paper: #0f1815;
    --surface: #111b18;
    --surface-raised: #17221f;
    --surface-soft: #1d2d27;
    --warm-panel: #302816;
    --ink: #edf4f1;
    --muted: #a9b8b2;
    --accent: #12a189;
    --accent-bright: #22c4a8;
    --accent-deep: #07352f;
    --gold: #f5bf3c;
    --gold-deep: #d69b1d;
    --line: rgba(237, 244, 241, 0.12);
    --glass: rgba(17, 27, 24, 0.72);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
    --shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.28);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95em;
  overflow-wrap: anywhere;
}

.landing,
.legal-page {
  overflow-x: hidden;
}

.site-header,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  min-height: 82px;
}

.site-header.compact {
  min-height: 76px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.18rem;
  font-weight: 800;
  white-space: nowrap;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(10, 99, 84, 0.22);
  flex: 0 0 auto;
}

.brand-icon.small {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header nav a,
.site-footer nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 650;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"],
.site-footer nav a:hover {
  color: var(--accent);
}

.hero-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 520px;
  margin-top: 6px;
  padding: 66px max(20px, calc((100vw - 1180px) / 2)) 52px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(10, 99, 84, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(10, 99, 84, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, var(--surface) 0%, var(--settings-paper) 58%, var(--warm-panel) 100%);
  background-size: 72px 72px, 72px 72px, auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-art {
  position: absolute;
  top: 52%;
  right: max(24px, calc((100vw - 1180px) / 2));
  width: min(36vw, 420px);
  aspect-ratio: 1;
  transform: translateY(-50%) rotate(4deg);
  z-index: -1;
}

.hero-art img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 30%;
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.kicker,
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.kicker.light {
  color: #86dfca;
}

.hero-copy h1 {
  margin: 0;
  font-size: 5.6rem;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.hero-lead strong {
  color: var(--ink);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 26px 0 0;
}

.hero-points span {
  padding: 7px 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 750;
}

.primary-link {
  color: white;
  background: var(--accent);
  box-shadow: 0 12px 24px rgba(10, 99, 84, 0.22);
}

.secondary-link {
  color: var(--accent-deep);
  border: 1px solid var(--line);
  background: var(--glass);
}

@media (prefers-color-scheme: dark) {
  .secondary-link {
    color: var(--ink);
  }
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.proof-strip article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--glass);
  box-shadow: var(--shadow-soft);
}

.proof-strip strong,
.proof-strip small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.proof-strip strong {
  font-size: 0.9rem;
  line-height: 1.2;
}

.proof-strip small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.25;
}

.proof-symbol {
  grid-row: 1 / 3;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: white;
  background: var(--accent);
  font-size: 0.9rem;
  font-weight: 900;
}

.proof-symbol.gold {
  color: #2d230b;
  background: var(--gold);
}

.proof-symbol.mint {
  background: var(--accent-bright);
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

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

.section-heading h2,
.protection-band h2 {
  margin: 0;
  font-size: 3.6rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.feature-grid,
.plan-grid {
  display: grid;
  gap: 16px;
}

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

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

.feature-card,
.plan-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-raised);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
}

.feature-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #1f1705;
  font-size: 0.74rem;
  font-weight: 850;
  border-radius: 10px;
  background: var(--gold);
  box-shadow: 0 0 0 1px rgba(245, 191, 60, 0.18);
}

.feature-card h3,
.plan-card h3 {
  margin: 24px 0 8px;
  font-size: 1.4rem;
  line-height: 1.15;
}

.feature-card p,
.plan-card li {
  color: var(--muted);
}

.accent-card {
  color: white;
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
  box-shadow: var(--shadow-soft);
}

.accent-card .feature-number {
  color: #1f1705;
  background: var(--gold);
}

.accent-card p {
  color: rgba(255, 255, 255, 0.78);
}

.protection-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 84px max(20px, calc((100vw - 1120px) / 2));
  color: white;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, var(--accent), var(--accent-deep));
  background-size: 72px 72px, 72px 72px, auto;
}

.protection-copy {
  align-self: end;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
}

.protection-copy p:first-child {
  margin-top: 0;
}

.plan-card {
  min-height: 300px;
}

.plan-card.featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-soft);
}

.plan-name {
  margin: 0;
  color: var(--accent);
  font-weight: 800;
}

.plan-card ul {
  margin: 22px 0 0;
  padding-left: 20px;
}

.plan-card li {
  margin: 9px 0;
}

.section > .disclosure {
  max-width: 760px;
  margin: 26px 0 0;
  font-size: 0.88rem;
}

.site-footer {
  min-height: 176px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 500px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-brand {
  width: fit-content;
}

.legal-page {
  background:
    linear-gradient(180deg, var(--settings-paper), transparent 360px),
    var(--background);
}

.page {
  width: min(790px, calc(100% - 32px));
  margin: 24px auto 72px;
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.page-intro {
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.page h1 {
  margin: 0;
  font-size: 2.7rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.page h2 {
  margin: 30px 0 8px;
  font-size: 1.15rem;
}

.page p {
  margin: 8px 0;
}

.updated,
.disclosure {
  color: var(--muted);
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1100px) {
  .hero-shell {
    min-height: 520px;
    padding-top: 62px;
  }

  .hero-art {
    right: -64px;
    width: 320px;
    opacity: 0.22;
  }

  .hero-copy h1 {
    font-size: 4.5rem;
  }
}

@media (max-width: 900px) {
  .feature-grid,
  .plan-grid,
  .protection-band {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading h2,
  .protection-band h2 {
    font-size: 2.8rem;
  }

  .protection-band {
    gap: 30px;
    padding-top: 70px;
    padding-bottom: 70px;
  }
}

@media (max-width: 620px) {
  .site-header,
  .site-footer,
  .section {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    min-height: 72px;
  }

  .site-header nav {
    gap: 14px;
  }

  .site-header nav a[href="#features"],
  .site-header nav a[href="#plans"] {
    display: none;
  }

  .brand,
  .footer-brand {
    font-size: 1.05rem;
  }

  .brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .hero-shell {
    min-height: 500px;
    margin-top: 0;
    padding: 54px 18px 40px;
  }

  .hero-art {
    top: 24px;
    right: -48px;
    width: 210px;
    transform: rotate(7deg);
  }

  .hero-copy h1 {
    font-size: 3.5rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .protection-band h2 {
    font-size: 2.25rem;
  }

  .feature-card,
  .plan-card {
    padding: 24px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .page {
    width: calc(100% - 24px);
    margin: 12px auto 48px;
    padding: 24px;
    border-radius: 20px;
  }

  .page h1 {
    font-size: 2.15rem;
  }
}
