:root {
  --paper: #f6f2ea;
  --surface: #fffdf8;
  --surface-2: #efe9df;
  --ink: #1d1a16;
  --ink-muted: #6c655b;
  --ink-faint: #9a9288;
  --hairline: #e6dfd2;
  --hairline-strong: #d8cfbe;
  --accent: #116a63;
  --accent-strong: #0c5450;
  --accent-soft: #d7e9e6;
  --accent-ink: #ffffff;
  --highlight: #f4d64e;
  --danger: #b3402f;
  --success: #3f7d4e;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-pill: 999px;

  --shadow-sm:
    0 1px 2px rgba(29, 26, 22, 0.06), 0 1px 3px rgba(29, 26, 22, 0.05);
  --shadow-md:
    0 4px 12px rgba(29, 26, 22, 0.08), 0 2px 6px rgba(29, 26, 22, 0.05);
  --shadow-lg:
    0 18px 40px rgba(29, 26, 22, 0.16), 0 6px 14px rgba(29, 26, 22, 0.08);

  --font-ui: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", Georgia, serif;

  --t-sm: 0.9rem;
  --t-base: 1rem;
  --t-lg: 1.2rem;
  --t-xl: clamp(1.5rem, 1.2rem + 1.6vw, 2rem);
  --t-hero: clamp(2.3rem, 1.6rem + 3.4vw, 3.6rem);

  --maxw: 1080px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

:root[data-theme="dark"] {
  --paper: #16151a;
  --surface: #201f26;
  --surface-2: #2a2932;
  --ink: #ece7df;
  --ink-muted: #a49c92;
  --ink-faint: #6f685f;
  --hairline: #302f38;
  --hairline-strong: #3d3b46;
  --accent: #4bb3aa;
  --accent-strong: #67c6bd;
  --accent-soft: #16403c;
  --accent-ink: #0c1413;
  --highlight: #d8bd45;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 18px 40px rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #16151a;
    --surface: #201f26;
    --surface-2: #2a2932;
    --ink: #ece7df;
    --ink-muted: #a49c92;
    --ink-faint: #6f685f;
    --hairline: #302f38;
    --hairline-strong: #3d3b46;
    --accent: #4bb3aa;
    --accent-strong: #67c6bd;
    --accent-soft: #16403c;
    --highlight: #d8bd45;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 18px 40px rgba(0, 0, 0, 0.55);
    color-scheme: dark;
  }
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/fraunces-variable.woff2") format("woff2");
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  font-family: var(--font-ui);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--accent-strong);
  text-decoration: none;
}
img {
  max-width: 100%;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header[data-scrolled="true"] {
  border-bottom-color: var(--hairline);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--t-lg);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand svg {
  width: 26px;
  height: 26px;
  color: var(--accent);
}
.site-header nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.site-header nav a {
  color: var(--ink-muted);
  font-weight: 500;
  font-size: var(--t-sm);
}
.site-header nav a:hover {
  color: var(--ink);
}
.theme-toggle {
  width: 38px;
  height: 38px;
  border: none;
  background: none;
  color: var(--ink);
  cursor: pointer;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
}
.theme-toggle:hover {
  background: var(--surface-2);
}
.theme-toggle svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 720px) {
  .site-header nav a.navlink {
    display: none;
  }
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 13px var(--space-5);
  border-radius: var(--r-md);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: var(--t-base);
  border: none;
  cursor: pointer;
  transition: transform 0.12s;
}
.btn:active {
  transform: scale(0.98);
}
.btn.ghost {
  background: transparent;
  color: var(--accent-strong);
  box-shadow: inset 0 0 0 1.5px var(--hairline-strong);
}

/* hero */
.hero {
  padding: var(--space-8) 0 var(--space-7);
  text-align: center;
}
.eyebrow {
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--t-hero);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: var(--space-4) auto var(--space-4);
  max-width: 16ch;
}
.hero p.lede {
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem);
  color: var(--ink-muted);
  max-width: 46ch;
  margin: 0 auto var(--space-6);
}

/* store badges */
.badges {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 10px var(--space-4);
  border-radius: var(--r-md);
  background: var(--ink);
  color: var(--paper);
  min-width: 190px;
  transition: opacity 0.15s;
}
.badge[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}
.badge svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.badge .bt {
  text-align: left;
  line-height: 1.15;
}
.badge .bt small {
  display: block;
  font-size: 0.62rem;
  opacity: 0.8;
}
.badge .bt span {
  font-size: 1.02rem;
  font-weight: 600;
}
.hero .pay-note {
  margin-top: var(--space-4);
  font-size: var(--t-sm);
  color: var(--ink-muted);
}

/* device mock */
.hero-shot {
  margin: var(--space-7) auto 0;
  max-width: 300px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--hairline);
  background: var(--surface);
}

/* sections */
section.block {
  padding: var(--space-8) 0;
}
.section-head {
  text-align: center;
  max-width: 40ch;
  margin: 0 auto var(--space-7);
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--t-xl);
  letter-spacing: -0.02em;
}
.section-head p {
  color: var(--ink-muted);
  margin-top: var(--space-3);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
}
.feature {
  padding: var(--space-5);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-sm);
}
.feature .fi {
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-3);
}
.feature .fi svg {
  width: 22px;
  height: 22px;
}
.feature h3 {
  font-size: var(--t-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.feature p {
  color: var(--ink-muted);
  font-size: var(--t-sm);
}

/* trust band */
.trust {
  background: var(--surface-2);
}
.trust .cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
}
.trust .col {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.trust .col svg {
  width: 26px;
  height: 26px;
  color: var(--accent);
}
.trust .col h3 {
  font-size: var(--t-lg);
  font-weight: 600;
}
.trust .col p {
  color: var(--ink-muted);
  font-size: var(--t-sm);
}

/* pricing / anti-sub */
.pricing {
  text-align: center;
}
.price-card {
  max-width: 420px;
  margin: 0 auto;
  padding: var(--space-6);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-md);
}
.price-card .amt {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1;
  margin: var(--space-3) 0;
}
.price-card .amt sup {
  font-size: 1.3rem;
  vertical-align: super;
  color: var(--ink-muted);
}
.price-card ul {
  list-style: none;
  text-align: left;
  margin: var(--space-5) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.price-card li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--t-sm);
}
.price-card li svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--success);
}
.price-card li.no svg {
  color: var(--ink-faint);
}
.price-card li.no {
  color: var(--ink-muted);
}
.price-card li .sub-strike {
  text-decoration: line-through;
  text-decoration-color: var(--danger);
}

/* faq */
.faq details {
  border-bottom: 1px solid var(--hairline);
  padding: var(--space-4) 0;
}
.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "\2212";
}
.faq p {
  color: var(--ink-muted);
  font-size: var(--t-sm);
  margin-top: var(--space-3);
  max-width: 62ch;
}

/* footer */
.site-footer {
  background: var(--surface-2);
  border-top: 1px solid var(--hairline);
  padding: var(--space-7) 0 var(--space-6);
  margin-top: var(--space-7);
}
.site-footer .cols {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  justify-content: space-between;
}
.site-footer .about {
  max-width: 30ch;
}
.site-footer .about p {
  color: var(--ink-muted);
  font-size: var(--t-sm);
  margin-top: var(--space-2);
}
.site-footer .flinks {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.site-footer .flinks .grp h4 {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: var(--space-3);
}
.site-footer .flinks a {
  display: block;
  color: var(--ink-muted);
  font-size: var(--t-sm);
  margin-bottom: var(--space-2);
}
.site-footer .flinks a:hover {
  color: var(--ink);
}
.site-footer .legal {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--hairline);
  font-size: var(--t-sm);
  color: var(--ink-faint);
}

/* legal page body */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--space-7) 0;
}
.doc h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--t-xl);
  margin-bottom: var(--space-2);
}
.doc .updated {
  color: var(--ink-faint);
  font-size: var(--t-sm);
  margin-bottom: var(--space-6);
}
.doc h2 {
  font-size: var(--t-lg);
  font-weight: 600;
  margin: var(--space-6) 0 var(--space-3);
}
.doc p,
.doc li {
  color: var(--ink-muted);
  margin-bottom: var(--space-3);
}
.doc ul {
  padding-left: var(--space-5);
}
