:root {
  --ground: #FBF6EF;
  --ink: #1B1714;
  --muted: #6B625A;
  --line: rgba(27, 23, 20, 0.10);
  --card: rgba(255, 255, 255, 0.62);
  --card-edge: rgba(255, 255, 255, 0.85);
  --accent: #FF5A3C;
  --accent-soft: rgba(255, 90, 60, 0.12);
  --pill: #1B1714;
  --pill-ink: #FBF6EF;
  --wash-a: rgba(255, 170, 140, 0.38);
  --wash-b: rgba(255, 214, 130, 0.30);
  --wash-c: rgba(170, 215, 170, 0.26);
  --wash-d: rgba(180, 190, 245, 0.24);
  --shadow: 0 18px 50px rgba(80, 50, 30, 0.12);
  --serif: "New York", ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #15120F;
    --ink: #F6EFE6;
    --muted: #A99F95;
    --line: rgba(246, 239, 230, 0.12);
    --card: rgba(255, 255, 255, 0.06);
    --card-edge: rgba(255, 255, 255, 0.10);
    --accent-soft: rgba(255, 90, 60, 0.18);
    --pill: #F6EFE6;
    --pill-ink: #15120F;
    --wash-a: rgba(255, 90, 60, 0.16);
    --wash-b: rgba(230, 170, 60, 0.10);
    --wash-c: rgba(90, 160, 110, 0.10);
    --wash-d: rgba(110, 120, 220, 0.12);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; line-height: 1.12; margin: 0; }
p { margin: 0; }

.atmosphere {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42vmax 42vmax at 8% 4%, var(--wash-a), transparent 65%),
    radial-gradient(38vmax 38vmax at 96% 12%, var(--wash-b), transparent 65%),
    radial-gradient(44vmax 44vmax at 88% 92%, var(--wash-d), transparent 65%),
    radial-gradient(40vmax 40vmax at 4% 84%, var(--wash-c), transparent 65%);
}

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); background: color-mix(in srgb, var(--ground) 72%, transparent); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 22px; text-decoration: none; letter-spacing: -0.02em; }
.wordmark img { border-radius: 8px; }
.wordmark em { color: var(--accent); font-style: italic; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--card-edge); font-size: 13.5px; color: var(--ink); white-space: nowrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.btn.primary { background: var(--pill); color: var(--pill-ink); border-color: transparent; }
.btn.store { cursor: default; }
.btn.store svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn.ghost:hover { border-color: var(--ink); }

/* hero */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero .wrap > *, .feature > *, .steps > *, .plans > *, .duo > * { min-width: 0; }
.hero-icon { width: 84px; height: 84px; border-radius: 20px; box-shadow: var(--shadow); margin-bottom: 28px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); }
.hero h1 em { color: var(--accent); font-style: italic; }
.lede { margin-top: 22px; font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.note { margin-top: 16px; font-size: 14.5px; color: var(--muted); }
.sources { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 0; list-style: none; }
.sources li { padding: 6px 13px; border-radius: 999px; background: var(--card); border: 1px solid var(--card-edge); font-size: 14px; color: var(--muted); }

.phones { position: relative; display: flex; justify-content: center; min-height: 560px; }
.phone { width: 270px; border-radius: 42px; padding: 9px; background: #12100e; box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,0.08) inset; }
.phone img { border-radius: 34px; width: 100%; height: auto; }
.phones .phone:first-child { transform: rotate(-4deg) translate(-18px, 26px); }
.phones .phone:last-child { transform: rotate(3deg) translate(18px, -6px); margin-left: -70px; }

/* sections */
section { padding: 72px 0; }
.eyebrow { font-size: 13.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); }
.section-head p { margin-top: 14px; color: var(--muted); }

.glass { background: var(--card); border: 1px solid var(--card-edge); border-radius: 28px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 28px; }
.step .num { font-family: var(--serif); font-style: italic; font-size: 44px; color: var(--accent); line-height: 1; }
.step h3 { font-size: 23px; margin: 16px 0 8px; }
.step p { color: var(--muted); font-size: 16px; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 44px; margin-bottom: 24px; }
.feature.flip .feature-shot { order: 2; }
.feature h3 { font-size: clamp(26px, 2.8vw, 34px); }
.feature p { margin-top: 14px; color: var(--muted); }
.feature ul { margin: 18px 0 0; padding: 0; list-style: none; }
.feature li { position: relative; padding: 7px 0 7px 26px; font-size: 16px; }
.feature li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); opacity: 0.85; }
.feature-shot { display: flex; justify-content: center; }
.feature-shot .phone { width: 250px; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo .card { overflow: hidden; }
.duo .strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.duo .strip img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; height: 100%; }
.duo .body { padding: 28px; }
.duo h3 { font-size: 26px; }
.duo p { margin-top: 10px; color: var(--muted); font-size: 16px; }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plan { padding: 32px; }
.plan h3 { font-size: 26px; }
.plan .price { font-family: var(--serif); font-size: 38px; margin: 14px 0 4px; letter-spacing: -0.02em; }
.plan .price small { font-family: var(--sans); font-size: 15px; color: var(--muted); letter-spacing: 0; }
.plan p { color: var(--muted); font-size: 16px; }
.plan ul { margin: 18px 0 0; padding-left: 20px; color: var(--ink); font-size: 16px; }
.plan li { padding: 3px 0; }
.plan.plus { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), transparent 60%), var(--card); }
.fine { margin-top: 22px; font-size: 14.5px; color: var(--muted); max-width: 760px; }

.closing { text-align: center; }
.closing .glass { padding: 56px 28px; }
.closing h2 { font-size: clamp(30px, 3.6vw, 44px); }
.closing p { margin: 14px auto 0; color: var(--muted); max-width: 32em; }
.closing .cta-row { justify-content: center; }

footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14.5px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* legal pages */
.legal { padding: 56px 0 80px; }
.legal .wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--accent); }
.doc { max-width: 720px; }
.doc h1 { font-size: clamp(36px, 4.6vw, 52px); }
.doc .meta { margin-top: 12px; color: var(--muted); font-size: 15px; }
.doc h2 { font-size: 26px; margin-top: 48px; scroll-margin-top: 88px; }
.doc h3 { font-size: 19px; margin-top: 28px; font-family: var(--sans); font-weight: 650; letter-spacing: 0; }
.doc p, .doc ul, .doc table { margin-top: 14px; }
.doc ul { padding-left: 22px; }
.doc li { padding: 4px 0; }
.doc a { color: var(--accent); text-underline-offset: 3px; }
.callout { margin-top: 28px; padding: 22px 24px; border-radius: 22px; background: var(--card); border: 1px solid var(--card-edge); box-shadow: var(--shadow); scroll-margin-top: 88px; }
.callout p { margin: 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 16px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }

.center-page { min-height: 62vh; display: flex; align-items: center; text-align: center; }
.center-page .wrap { max-width: 640px; }
.center-page h1 { font-size: clamp(40px, 7vw, 72px); }
.center-page .lede { margin-inline: auto; }
.center-page .cta-row { justify-content: center; }

@media (max-width: 900px) {
  .hero { padding-top: 44px; }
  .hero .wrap, .feature, .legal .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { gap: 40px; }
  .feature { padding: 28px; gap: 32px; }
  .feature.flip .feature-shot { order: 0; }
  .steps, .plans, .duo { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
  .legal .wrap { gap: 28px; }
  section { padding: 52px 0; }
  .hide-sm { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .phones { min-height: 0; padding: 10px 0 30px; }
  .phone { width: 46vw; max-width: 200px; border-radius: 30px; padding: 6px; }
  .phone img { border-radius: 24px; }
  .phones .phone:first-child { transform: rotate(-3deg) translate(-6px, 18px); }
  .phones .phone:last-child { transform: rotate(3deg) translate(6px, 0); margin-left: -12vw; }
  .feature-shot .phone { width: 62vw; max-width: 220px; }
  .feature { padding: 22px; }
  .nav-links { gap: 14px; }
  .nav .pill { display: none; }
  .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
