:root {
  --ink: #0E0F12;
  --surface: #1A1C21;
  --surface-2: #23262D;
  --line: rgba(255, 255, 255, 0.09);
  --text: #FFFFFF;
  --muted: #9BA0AA;
  --sun: #FFC83D;
  --sun-ink: #1A1400;
  --device: #2A2D34;
  --device-edge: #3A3E47;
  --screen: #0A0B0D;
  --radius: 22px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark light;
}

@media (prefers-color-scheme: light) {
  :root {
    --ink: #F6F4EF;
    --surface: #FFFFFF;
    --surface-2: #EFECE4;
    --line: rgba(14, 15, 18, 0.10);
    --text: #0E0F12;
    --muted: #5B606B;
    --sun-text: #8A6200;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--sun-text, var(--sun)); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

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

.skip {
  position: absolute; left: 16px; top: -60px;
  background: var(--sun); color: var(--sun-ink);
  padding: 10px 16px; border-radius: 10px; font-weight: 600; z-index: 10;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 520px) { .wrap { padding: 0 16px; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); background: color-mix(in srgb, var(--ink) 82%, transparent); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; }
.brand-mark span { width: 10px; height: 10px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(255, 200, 61, 0.22); }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
@media (max-width: 640px) { .nav .hide-sm { display: none; } .nav { gap: 16px; } }

/* Type */
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.08; margin: 0 0 16px; font-weight: 700; }
h1 { font-size: clamp(40px, 6vw, 64px); }
h2 { font-size: clamp(30px, 4.6vw, 48px); }
h3 { font-size: 22px; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0 0 16px; }
.lede { font-size: clamp(19px, 2.2vw, 23px); color: var(--muted); max-width: 40ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sun); display: inline-block; flex: none; }
.dot.pulse { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 200, 61, 0.5); } 50% { box-shadow: 0 0 0 7px rgba(255, 200, 61, 0); } }
@media (prefers-reduced-motion: reduce) { .dot.pulse { animation: none; } }
.you { color: var(--sun-text, var(--sun)); }

/* Sections */
section { padding: 96px 0; border-top: 1px solid var(--line); }
section.hero { border-top: 0; padding: 72px 0 96px; }
@media (max-width: 720px) { section { padding: 64px 0; } section.hero { padding: 40px 0 64px; } }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 20px; }

/* Buttons */
.store {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--text); color: var(--ink);
  padding: 14px 22px; border-radius: 14px; text-decoration: none;
  font-weight: 600; font-size: 17px; line-height: 1.2;
}
.store:hover { color: var(--ink); opacity: 0.92; }
.store small { display: block; font-weight: 500; font-size: 12px; opacity: 0.7; letter-spacing: 0.02em; }
.store svg { width: 22px; height: 22px; flex: none; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.cta-note { color: var(--muted); font-size: 15px; }

/* Hero */
.hero-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Devices (generic, drawn in CSS) */
.stage { position: relative; display: flex; gap: 22px; align-items: flex-end; justify-content: center; }
.fold {
  position: relative; display: flex; padding: 10px; gap: 0;
  background: var(--device); border-radius: 30px;
  box-shadow: inset 0 0 0 1.5px var(--device-edge), 0 30px 80px rgba(0, 0, 0, 0.45);
  width: min(100%, 440px); aspect-ratio: 1.2 / 1;
}
.fold::after { content: ""; position: absolute; top: 10px; bottom: 10px; left: 50%; width: 2px; transform: translateX(-1px); background: linear-gradient(to bottom, rgba(255,255,255,0.02), rgba(255,255,255,0.10), rgba(255,255,255,0.02)); }
.fold .screen { flex: 1; border-radius: 22px; }
.screen {
  background: var(--screen); color: #fff; overflow: hidden; position: relative;
  display: flex; flex-direction: column; padding: 18px;
}
.slab {
  background: var(--device); border-radius: 26px; padding: 8px;
  box-shadow: inset 0 0 0 1.5px var(--device-edge), 0 30px 80px rgba(0, 0, 0, 0.45);
  width: 170px; aspect-ratio: 0.5 / 1; flex: none; display: flex;
}
.slab .screen { flex: 1; border-radius: 19px; padding: 14px; }
.slab.wide { width: 230px; }
@media (max-width: 520px) { .stage { gap: 12px; } .slab { width: 118px; } .slab.wide { width: 190px; } }

.status { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #9BA0AA; font-weight: 600; letter-spacing: 0.02em; }
.cap-old { color: rgba(255,255,255,0.38); font-size: 15px; line-height: 1.3; margin: auto 0 10px; }
.cap-new { font-size: 27px; font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
.cap-new .cursor { display: inline-block; width: 3px; height: 0.9em; background: var(--sun); vertical-align: -2px; margin-left: 3px; border-radius: 2px; }
.intro-card { margin: auto 0; font-size: 22px; font-weight: 700; line-height: 1.18; letter-spacing: -0.015em; }
.intro-card .tag { display: block; color: var(--sun); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.reading { margin-top: auto; background: #1A1C21; border-radius: 10px; padding: 8px 10px; font-size: 11px; line-height: 1.35; color: #9BA0AA; }
.reading b { color: #fff; font-weight: 600; }
.reply { margin: auto 0; color: var(--sun); font-weight: 700; font-size: 26px; line-height: 1.12; letter-spacing: -0.02em; }
.lip {
  width: 100%; aspect-ratio: 1 / 1; border-radius: 14px; margin-top: 12px; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #2b2f38, #16181d 70%);
}
.lip svg { width: 100%; height: 100%; }
.lip-label { font-size: 11px; color: #9BA0AA; margin-top: 6px; display: flex; align-items: center; gap: 6px; }

.hero .fold { width: min(100%, 420px); flex: 1 1 auto; }
.hero .slab { width: auto; flex: 0 0 34%; max-width: 210px; aspect-ratio: auto; align-self: stretch; }
@media (max-width: 560px) {
  .hero .stage { flex-direction: column; align-items: stretch; gap: 14px; }
  .hero .fold { width: 100%; }
  .hero .slab { flex: none; max-width: none; width: 100%; }
  .hero .slab .screen { min-height: 150px; }
  .hero .cap-new { font-size: 22px; }
}

/* Split explainer */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }
.card .who { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.card .art { margin: 4px 0 26px; display: flex; justify-content: center; }
.card ul { margin: 0; padding-left: 20px; color: var(--muted); }
.card li { margin-bottom: 8px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); color: var(--sun-ink); font-weight: 700; margin-bottom: 18px; }
.steps p { color: var(--muted); margin: 0; }

.iphone-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 820px) { .iphone-row { grid-template-columns: 1fr; gap: 40px; } }
.split-screen { display: flex; flex-direction: column; gap: 0; padding: 0; }
.split-screen .top { flex: 1.25; padding: 14px; display: flex; flex-direction: column; }
.split-screen .bottom { flex: 1; padding: 14px; background: #15171B; border-top: 1px solid rgba(255,255,255,0.08); display: flex; flex-direction: column; }
.show-btn { margin-top: auto; background: var(--sun); color: #1A1400; font-weight: 700; font-size: 12px; text-align: center; border-radius: 999px; padding: 7px 0; }
.mini-reply { color: var(--sun); font-weight: 700; font-size: 17px; line-height: 1.15; }
.mini-label { font-size: 10px; color: #9BA0AA; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; font-weight: 600; }

/* Privacy */
.privacy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 720px) { .privacy-grid { grid-template-columns: 1fr; } }
.privacy-grid .card { padding: 26px 28px; }
.privacy-grid h3 { font-size: 20px; }
.privacy-grid p { margin: 0; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }
.plan { display: flex; flex-direction: column; }
.plan .price { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; margin: 6px 0 4px; color: var(--text); }
.plan .price small { font-size: 17px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; }
.plan li { padding: 12px 0 12px 30px; border-top: 1px solid var(--line); position: relative; color: var(--text); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 7px; border-left: 2.5px solid var(--sun); border-bottom: 2.5px solid var(--sun); transform: rotate(-45deg); }
.plan.plus { border-color: rgba(255, 200, 61, 0.45); }
.plan .note { color: var(--muted); font-size: 15px; margin-top: auto; padding-top: 18px; }

/* Closing */
.closing { text-align: center; }
.closing h2 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.closing p { color: var(--muted); max-width: 46ch; margin: 0 auto; font-size: 20px; }
.closing .cta-row { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Document pages */
.doc { padding: 64px 0 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(36px, 6vw, 56px); }
.doc h2 { font-size: 26px; margin-top: 48px; letter-spacing: -0.015em; }
.doc h3 { font-size: 19px; margin-top: 28px; margin-bottom: 8px; }
.doc p, .doc li { color: var(--text); }
.doc .meta { color: var(--muted); font-size: 16px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.summary { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--sun); border-radius: 14px; padding: 22px 24px; margin: 28px 0 8px; }
.summary p:last-child { margin-bottom: 0; }

.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 600; font-size: 19px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 26px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 18px; color: var(--text); }
.faq .answer p { margin-bottom: 12px; }
.contact-box { margin-top: 48px; }
.warn { border-left-color: #FF9F5A; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
