:root {
  --coral: #ff5a3c;
  --coral-deep: #e6431f;
  --ink: #1c1b29;
  --ink-soft: #55546a;
  --paper: #fffaf6;
  --card: #ffffff;
  --line: #eadfd7;
  --teal: #00c7bf;
  --amber: #ffb021;
  --shadow: 0 24px 60px -24px rgba(28, 27, 41, 0.35);
  --radius: 22px;
  --maxw: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f6f2ee;
    --ink-soft: #b4b1c4;
    --paper: #16151f;
    --card: #1f1e2b;
    --line: #34324a;
    --coral-deep: #ff7a60;
    --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { width: min(var(--maxw), 100% - 40px); margin-inline: auto; }
section { padding: 96px 0; }
.eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--coral-deep); margin-bottom: 14px;
}
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 36em; }
.section-head { max-width: 40em; margin-bottom: 52px; }
.section-head .lede { margin-top: 16px; }

.skip {
  position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper);
  padding: 8px 14px; border-radius: 10px; z-index: 100;
}
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { height: 30px; width: auto; }
.brand .logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .brand .logo-light { display: none; }
  .brand .logo-dark { display: block; }
}
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }
@media (max-width: 720px) { .nav li.hide-sm { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 10px 24px -10px var(--coral); }
.btn-primary:hover { background: var(--coral-deep); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn[aria-disabled="true"] { cursor: default; opacity: 0.92; }
.btn[aria-disabled="true"]:hover { transform: none; }

/* Hero */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--coral); }
.hero .lede { margin: 24px 0 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.fineprint { font-size: 0.88rem; color: var(--ink-soft); margin-top: 18px; }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
}

/* Hero demo + screenshots */
.hero-copy .lede { margin-bottom: 26px; }
.ai-demo {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 16px; box-shadow: var(--shadow); margin-bottom: 30px; max-width: 520px;
}
.ai-demo .dump {
  display: flex; align-items: center; gap: 8px; background: color-mix(in srgb, var(--amber) 22%, var(--card));
  border-radius: 999px; padding: 10px 14px; font-weight: 700;
}
.ai-demo .dump svg { width: 20px; height: 20px; color: var(--coral); flex: none; }
.ai-demo .caret { width: 2px; height: 1.1em; background: var(--coral); margin-left: -6px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ai-demo .go {
  margin-left: auto; background: var(--coral); color: #fff; font-size: 0.82rem; font-weight: 800;
  padding: 6px 12px; border-radius: 999px; white-space: nowrap;
}
.ai-steps { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.ai-steps li {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px;
  background: color-mix(in srgb, var(--ink) 5%, var(--card)); font-weight: 600; font-size: 0.97rem;
}
.ai-steps li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.ai-steps li:first-child::before { border-color: var(--coral); background: radial-gradient(circle, var(--coral) 42%, transparent 46%); }
.ai-steps li small { margin-left: auto; color: var(--ink-soft); font-weight: 700; white-space: nowrap; }

.hero-shots { position: relative; display: flex; justify-content: center; padding: 10px 0 0; }
/* Phone mockups. Everything inside scales from the phone's font-size, so the same
   markup works as the big hero phone and as the small step-by-step strip. */
.phone {
  width: min(330px, 100%); font-size: 17px; border-radius: 2.8em; padding: 0.6em; background: #15141d;
  border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: var(--shadow);
}
.phone-screen {
  background: var(--card); color: var(--ink); border-radius: 2.25em; padding: 0.8em 1.05em 1.3em;
  display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.5;
}
.ph-status { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 0 0.6em; font-weight: 700; font-size: 0.85em; }
.ph-status svg { width: 3.2em; height: 0.85em; }
.ph-nav { width: 100%; display: grid; grid-template-columns: 2.35em 1fr 2.35em; align-items: center; gap: 0.5em; margin-top: 0.95em; }
.ph-circle { width: 2.35em; height: 2.35em; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.ph-circle svg { width: 1.05em; height: 1.05em; }
.ph-routine b { display: flex; align-items: center; justify-content: center; gap: 0.35em; color: #ff375f; font-size: 0.95em; line-height: 1.2; }
.ph-routine b svg { width: 0.95em; height: 0.95em; flex: none; }
.ph-routine span { display: block; color: var(--ink-soft); font-size: 0.8em; font-weight: 600; }
.ph-dots { display: flex; gap: 0.5em; margin: 0.8em 0 0.95em; }
.ph-dots i { width: 0.8em; height: 0.8em; border-radius: 50%; border: 0.12em solid var(--line); }
.ph-dots i.on { border-color: var(--ink); background: radial-gradient(circle, var(--ink) 44%, transparent 48%); }
.ph-step { font-size: 1.4em; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.ph-next { font-size: 0.85em; color: var(--ink-soft); margin-top: 0.35em; }
.ph-face { margin: 1.05em 0 0.35em; }
.ph-face .t-liquid { width: 8.8em; height: auto; }
.ph-face .t-disc { width: 12em; height: auto; }
.ph-time { font-size: 1.5em; font-weight: 700; color: var(--ink-soft); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.ph-btn { width: 100%; border-radius: 0.95em; padding: 0.8em 0.7em; font-weight: 700; font-size: 0.95em; display: flex; align-items: center; justify-content: center; gap: 0.45em; white-space: nowrap; }
.ph-btn svg { width: 1.05em; height: 1.05em; flex: none; }
.ph-primary { background: var(--coral); color: #fff; margin-top: 1.05em; }
.ph-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6em; width: 100%; margin-top: 0.6em; }
.ph-soft { background: color-mix(in srgb, var(--coral) 16%, var(--card)); color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .hero .phone { animation: bob 7s ease-in-out infinite; }
}
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (max-width: 880px) {
  .hero-shots { margin-top: 12px; }
}

/* At a glance */
.glance { padding: 0 0 24px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; }
.facts > div { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.facts dt { font-size: 0.98rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral-deep); }
.facts dd { margin: 6px 0 0; font-weight: 600; font-size: 0.97rem; line-height: 1.4; }
@media (max-width: 880px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.note-line { color: var(--ink-soft); margin-top: 28px; font-size: 0.98rem; max-width: 46em; }

/* Timer replica */
.timer-section { background: color-mix(in srgb, var(--coral) 6%, var(--paper)); }
.timer-grid { display: grid; grid-template-columns: 340px 1fr; gap: 44px; align-items: center; }
.replica {
  background: var(--card); border: 1px solid var(--line); border-radius: 32px; box-shadow: var(--shadow);
  padding: 22px 22px 20px; display: flex; flex-direction: column; align-items: center; text-align: center;
}
.rep-head b { display: block; color: #ff375f; font-size: 1.05rem; }
.rep-head span { color: var(--ink-soft); font-size: 0.88rem; font-weight: 600; }
.rep-title { font-size: 1.45rem; margin: 14px 0 10px; font-weight: 800; }
.rep-face { width: 100%; display: grid; place-items: center; min-height: 270px; }
.rep-face svg { width: 100%; max-width: 270px; height: auto; }
.rep-face .t-liquid { max-width: 190px; }
.t-face svg { color: var(--ink); overflow: visible; }
.t-face svg[hidden] { display: none; }
.t-face .face { fill: color-mix(in srgb, var(--ink) 7%, transparent); }
.t-disc-ticks line, .t-liquid-ticks line { stroke: var(--ink); stroke-linecap: round; }
.t-hand { stroke: var(--ink); stroke-opacity: .85; stroke-width: 2.4; stroke-linecap: round; }
.knob { fill: var(--card); stroke: var(--ink); stroke-opacity: .85; stroke-width: 2; }
.rim { fill: none; stroke: var(--ink); stroke-opacity: .15; stroke-width: 3; }
.t-liquid .rim { stroke-width: 1.7; stroke-opacity: .2; }
.rep-time { font-size: 1.6rem; font-weight: 700; color: var(--ink-soft); margin-top: 12px; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.t-time.over { color: #f53b47; }
.rep-toggle { display: inline-flex; margin-top: 16px; padding: 4px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.rep-toggle button {
  font: inherit; font-weight: 700; font-size: 0.9rem; border: 0; background: transparent; color: var(--ink-soft);
  padding: 7px 18px; border-radius: 999px; cursor: pointer;
}
.rep-toggle button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.12); }

.strip-shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.strip-shots figure { margin: 0; container-type: inline-size; }
.strip-shots .phone { width: 100%; font-size: 5.2cqw; }
.strip-shots .ph-step { min-height: 2.3em; display: flex; align-items: center; justify-content: center; }
.strip-shots figcaption { text-align: center; font-size: 0.85rem; font-weight: 700; color: var(--ink-soft); margin-top: 10px; font-variant-numeric: tabular-nums; }
@media (max-width: 1000px) {
  .timer-grid { grid-template-columns: 1fr; }
  .replica { max-width: 360px; margin-inline: auto; width: 100%; }
}
@media (max-width: 560px) { .strip-shots { grid-template-columns: repeat(2, 1fr); } }

/* Problem strip */
.strip { background: var(--ink); color: var(--paper); padding: 72px 0; }
@media (prefers-color-scheme: dark) { .strip { background: #0f0e16; color: #f6f2ee; } }
.strip .big { font-size: clamp(1.7rem, 3.8vw, 2.6rem); font-weight: 800; line-height: 1.2; max-width: 22em; letter-spacing: -0.02em; }
.strip .big span { color: var(--coral); }
.strip-sub { margin-top: 16px; font-size: 1.15rem; max-width: 34em; opacity: 0.8; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px 34px; position: relative;
}
.step-card::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--coral); color: #fff; font-weight: 800; margin-bottom: 20px;
}
.step-card p { color: var(--ink-soft); margin-top: 10px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

/* Breakdown demo */
.demo { background: color-mix(in srgb, var(--coral) 7%, var(--paper)); }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.breakdown {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.dump {
  display: flex; align-items: center; gap: 10px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; font-weight: 600;
}
.dump svg { width: 20px; height: 20px; color: var(--coral); flex: none; }
.breakdown ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.breakdown li {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); font-weight: 600;
}
.breakdown li small { color: var(--ink-soft); font-weight: 700; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .breakdown.in li { animation: rise 0.5s ease both; }
  .breakdown.in li:nth-child(2) { animation-delay: 0.1s; }
  .breakdown.in li:nth-child(3) { animation-delay: 0.2s; }
  .breakdown.in li:nth-child(4) { animation-delay: 0.3s; }
  .breakdown.in li:nth-child(5) { animation-delay: 0.4s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 880px) { .demo-grid { grid-template-columns: 1fr; } }

/* Proof */
.proof { background: color-mix(in srgb, var(--ink) 4%, var(--paper)); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quotes blockquote {
  margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px 28px; display: flex; flex-direction: column; font-size: 1.05rem; line-height: 1.5;
}
.quotes blockquote::before { content: "\201C"; color: var(--coral); font-size: 3.2rem; font-weight: 800; line-height: 0.6; display: block; margin-bottom: 12px; }
.quotes blockquote p { font-weight: 600; }
.quotes blockquote footer { margin-top: auto; padding: 16px 0 0; border-top: 0; color: var(--ink-soft); font-size: 0.92rem; font-weight: 700; }
@media (max-width: 880px) { .quotes { grid-template-columns: 1fr; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.feature .icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: color-mix(in srgb, var(--coral) 14%, transparent); color: var(--coral);
}
.feature .icon svg { width: 24px; height: 24px; }
.feature p { color: var(--ink-soft); margin-top: 8px; font-size: 0.98rem; }
.tag {
  display: inline-block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 99px; background: var(--ink); color: var(--paper); vertical-align: middle; margin-left: 6px;
}
.tag.soon { background: var(--line); color: var(--ink-soft); }
@media (max-width: 720px) { .features { grid-template-columns: 1fr; } }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.plan { border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; }
.plan.best { border: 2px solid var(--coral); position: relative; box-shadow: var(--shadow); }
.plan .badge {
  position: absolute; top: -14px; left: 28px; background: var(--coral); color: #fff;
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; padding: 5px 12px; border-radius: 99px;
}
.plan .price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; margin: 14px 0 2px; }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--ink-soft); letter-spacing: 0; }
.plan .sub { color: var(--ink-soft); font-size: 0.95rem; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 0.97rem; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--coral); font-weight: 800; }
@media (max-width: 1000px) { .pricing { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pricing { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; margin-top: 56px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { width: 100%; border-collapse: collapse; min-width: 480px; }
th, td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); }
th:not(:first-child), td:not(:first-child) { text-align: center; width: 22%; }
tr:last-child td { border-bottom: 0; }
th { font-size: 0.85rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; }
td .yes { color: var(--coral); font-weight: 800; }
td .no { color: var(--line); }

/* FAQ */
.faq { max-width: 760px; }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--coral); transition: rotate 0.2s; }
details[open] summary::after { rotate: 45deg; }
details p { color: var(--ink-soft); margin-top: 12px; }

/* Final CTA */
.final { text-align: center; }
.final-card {
  background: var(--coral); color: #fff; border-radius: 36px; padding: 72px 28px;
  position: relative; overflow: hidden;
}
.final-card p { max-width: 30em; margin: 16px auto 32px; font-size: 1.15rem; opacity: 0.95; }
.final-card .btn { background: #fff; color: #1c1b29; box-shadow: none; }
.final-card .btn:hover { background: #fff; }

/* Footer */
footer { padding: 48px 0 60px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 0.93rem; }
.foot { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.foot nav { display: flex; gap: 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* Prose pages */
.prose { max-width: 720px; padding: 72px 0 96px; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.prose h2 { font-size: 1.5rem; margin: 44px 0 12px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p { margin-top: 14px; }
.prose ul { padding-left: 22px; margin: 12px 0 0; display: grid; gap: 8px; }
.prose .meta { color: var(--ink-soft); font-size: 0.95rem; margin-top: 10px; }
.prose a { color: var(--coral-deep); }
