:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --ink: #0f1523;
  --ink-2: #3a4557;
  --muted: #5d6b80;
  --muted-soft: #7a8799;
  --line: #ececec;
  --green: #1a9b6a;
  --green-soft: #eaf6f0;
  --amber: #d98a2a;
  --amber-soft: #fdf3e3;
  --blue: #3b82f6;
  --blue-soft: #eff6ff;
  --red: #d95545;
  --red-soft: #fdecea;
  --slate: #8a96a6;
  --slate-soft: #eef1f5;
  --accent: #1a9b6a;
  --accent-ink: #137a52;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 2px 16px rgba(0, 0, 0, 0.055);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.09);
  --shadow-xl: 0 24px 70px rgba(15, 21, 35, 0.14);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.wrap { width: min(1120px, 92vw); margin: 0 auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 18px rgba(26, 155, 106, .22); }
.btn-primary:hover { background: var(--accent-ink); box-shadow: 0 6px 22px rgba(26, 155, 106, .3); }
.btn-ghost { background: var(--surface); color: var(--ink-2); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); border-color: #d8d8d8; }
.btn-lg { padding: 15px 28px; font-size: 16px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(18px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand .logo { width: 28px; height: 28px; border-radius: 7px; object-fit: cover; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 92px 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center; }
h1 { font-size: clamp(38px, 4.7vw, 58px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; }
h1 .grad { background: linear-gradient(125deg, var(--green) 10%, #2dbf8c 55%, #5bccaa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin-top: 22px; font-size: 18.5px; color: var(--muted); max-width: 44ch; line-height: 1.62; }
.hero-cta { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { margin-top: 22px; display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); opacity: .8; }
.hero-req { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* ---------- Hero stage (layered live scene) ---------- */
.hero-stage { position: relative; min-height: 380px; }

.device {
  position: relative; z-index: 1;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-xl); overflow: hidden;
  transition: filter .4s ease;
}
.device-bar {
  height: 30px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px; font-size: 12px; font-weight: 600; color: var(--ink-2);
  background: rgba(247,248,250,.9); border-bottom: 1px solid var(--line);
}
.db-left { display: flex; align-items: center; gap: 8px; }
.db-left .apple { width: 11px; height: 11px; border-radius: 50%; background: var(--ink); display: inline-block; opacity: .85; }
.db-right { display: flex; align-items: center; gap: 10px; }
.db-eye { transition: opacity .5s; }
.db-clock { font-style: normal; color: var(--muted); }

.device-screen {
  position: relative; height: 320px; padding: 20px;
  background:
    radial-gradient(120% 90% at 80% 0%, #f0fbf6 0%, transparent 55%),
    linear-gradient(160deg, #fbfcfe 0%, #eef1f6 100%);
  display: flex; flex-direction: column; gap: 14px;
}
.dw { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.dw-editor { overflow: hidden; }
.dw-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.dw-bar i { width: 9px; height: 9px; border-radius: 50%; background: #dfe3e9; }
.dw-bar span { margin-left: 8px; font-size: 11px; color: var(--muted); font-weight: 600; }
.dw-body { padding: 13px 15px; font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: var(--ink-2); display: grid; }
.dw-body .ind { padding-left: 18px; }
.dw-body .k { color: #a3408c; font-weight: 600; }
.dw-body .f { color: var(--blue); font-weight: 600; }
.dw-body .c { color: var(--muted); font-weight: 400; }
.dw-dl { display: flex; align-items: center; gap: 10px; padding: 13px 15px; font-size: 12.5px; color: var(--ink-2); }
.dw-dl svg { color: var(--amber); flex: none; }
.dw-dl b { color: var(--ink); }
.dl-bar { margin-left: auto; width: 84px; height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; flex: none; }
.dl-bar > i { display: block; width: 64%; height: 100%; background: var(--amber); border-radius: 99px; }

/* veil = display off but awake; sleep = near-black */
.screen-veil, .screen-sleep {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0; pointer-events: none; transition: opacity .4s ease;
}
.screen-veil { background: rgba(18,24,36,.66); backdrop-filter: blur(4px); }
.veil-tag, .screen-sleep {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
}
.veil-tag { color: #fff; background: rgba(0,0,0,.45); padding: 9px 15px; border-radius: 99px; }
.screen-sleep { background: radial-gradient(120% 90% at 50% 32%, #1b2435 0%, #0c111b 78%); color: rgba(255,255,255,.7); flex-direction: row; }
.screen-sleep svg { color: rgba(255,255,255,.72); }

.device.is-lookaway .screen-veil { opacity: 1; }
.device.is-lookaway { filter: saturate(.32) brightness(.92); }
.device.is-away .screen-sleep { opacity: 1; }

/* Floating menu-bar dropdown */
.menu-pop {
  background: rgba(255,255,255,.92); backdrop-filter: blur(20px);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-xl);
  padding: 7px; width: min(268px, 100%); font-size: 13px;
}
.hero-stage .menu-pop { position: absolute; z-index: 3; top: -22px; right: -14px; }
.mp-row { display: flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 8px; color: var(--ink-2); }
.mp-status { color: var(--ink); }
.mp-status b { font-weight: 600; font-size: 13px; }
.mp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; transition: background .4s; }
.mp-dot.g { background: var(--green); }
.mp-sub { color: var(--muted); font-size: 12px; }
.mp-sub svg { color: var(--muted); flex: none; }
.mp-item { color: var(--ink-2); }
.mp-item.mp-on svg { color: var(--green); }
.mp-item:hover { background: var(--accent); color: #fff; }
.mp-div { height: 1px; background: var(--line); margin: 5px 8px; }

/* Floating presence chip */
.float-chip {
  position: absolute; z-index: 3; left: -20px; top: 40px;
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 10px 14px;
  transition: border-color .4s;
}
.fc-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; background: var(--green-soft); color: var(--green); transition: background .4s, color .4s; }
.float-chip b { font-size: 13.5px; display: block; line-height: 1.2; }
.float-chip i { font-style: normal; font-size: 11.5px; color: var(--muted); }

/* ---------- Trust strip ---------- */
.trust-band { padding: 6px 0 8px; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tchip {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  background: var(--surface-2); border: 1px solid var(--line);
  padding: 9px 16px; border-radius: 999px;
}
.tchip svg { color: var(--green); }

/* ---------- Section scaffolding ---------- */
section { padding: 88px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px;
}
h2 { font-size: clamp(27px, 3.3vw, 40px); letter-spacing: -0.028em; font-weight: 800; line-height: 1.1; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 17.5px; line-height: 1.62; }
.tier-tag {
  font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--green-soft); padding: 3px 8px; border-radius: 999px;
}
.tier-tag.free { color: #1d63d6; background: var(--blue-soft); }
.li-pro {
  font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--green-soft); padding: 2px 7px; border-radius: 999px;
  margin-right: 4px; position: relative; top: -1px;
}

/* ---------- Pain points ---------- */
.pains-band { padding: 72px 0 48px; }
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pain {
  display: flex; align-items: flex-start; gap: 15px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.pain-icon {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: var(--green-soft); color: var(--green);
  display: grid; place-items: center;
}
.pain b { font-size: 15px; letter-spacing: -0.01em; display: block; line-height: 1.35; }
.pain p { font-size: 13.5px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

/* ---------- How it works / states ---------- */
.how { background: var(--surface-2); }
.states { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.state {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px; text-align: left;
  box-shadow: var(--shadow); position: relative;
  transition: border-color .4s ease, box-shadow .4s ease, transform .4s ease;
}
.state .st-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; transition: background .4s, color .4s; }
.s-focus .st-ic { background: var(--green-soft); color: var(--green); }
.s-look .st-ic { background: var(--amber-soft); color: var(--amber); }
.s-away .st-ic { background: var(--slate-soft); color: var(--slate); }
.state h3 { font-size: 18px; letter-spacing: -0.01em; font-weight: 700; }
.state p { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.st-tag { display: inline-block; margin-top: 16px; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.s-focus .st-tag { color: var(--accent-ink); background: var(--green-soft); }
.s-look .st-tag { color: #a8641a; background: var(--amber-soft); }
.s-away .st-tag { color: #5a6675; background: var(--slate-soft); }
.state.active { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.s-focus.active { border-color: #b6e3d0; }
.s-look.active { border-color: #f0d6ab; }
.s-away.active { border-color: #cdd5df; }

/* ---------- Feature bands ---------- */
.band { padding: 80px 0; }
.band-soft { background: var(--surface-2); }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.band-grid.rev .band-text { order: 2; }
.band-text .kicker { margin-bottom: 14px; }
.band-text h2 { font-size: clamp(26px, 3vw, 36px); }
.band-text > p { margin-top: 14px; color: var(--muted); font-size: 17px; line-height: 1.62; max-width: 42ch; }
.band-list { margin-top: 22px; list-style: none; display: grid; gap: 12px; }
.band-list li { display: flex; gap: 11px; color: var(--ink-2); font-size: 15.5px; align-items: flex-start; }
.band-list li svg { flex: none; margin-top: 3px; color: var(--green); }
.band-art { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; min-height: 280px; justify-content: center; }

.menu-pop.static { position: relative; top: 0; right: 0; }
.lift { transition: transform .3s ease, box-shadow .3s ease; }
.lift:hover { transform: translateY(-3px); box-shadow: 0 28px 60px rgba(15,21,35,.18); }

.seq { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.seq-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px;
  box-shadow: var(--shadow);
}
.seq-chip i { font-style: normal; color: var(--muted); font-weight: 500; }
.seq-chip .fc-ic { width: 24px; height: 24px; border-radius: 7px; }
.seq-chip.g .fc-ic { background: var(--green-soft); color: var(--green); }
.seq-chip.a .fc-ic { background: var(--amber-soft); color: var(--amber); }
.seq-chip.n .fc-ic { background: var(--slate-soft); color: var(--slate); }

/* Break overlay card */
.break-stage {
  background: linear-gradient(160deg, #2a3242, #161b27);
  border-radius: 24px; padding: 40px 20px; width: 100%;
  box-shadow: var(--shadow-xl);
}
.break-card {
  background: #fff; border-radius: 26px; padding: 28px 30px;
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
  width: min(320px, 86%); margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.bc-head b { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; display: block; }
.bc-head span { display: block; margin-top: 5px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.ring { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; }
.ring-prog { stroke-dasharray: 415; stroke-dashoffset: 373; }
.ring-num { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.bc-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: #a8641a;
  background: var(--amber-soft); padding: 9px 16px; border-radius: 999px;
}
.bc-snooze { display: flex; gap: 10px; }
.bc-snooze span { font-size: 12.5px; font-weight: 500; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px; }
.bc-skip { font-size: 12.5px; color: var(--muted); }
.bubble {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 15px; font-size: 13px; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.bubble svg { color: var(--green); }

/* Nudges + privacy-mode card */
.nudges { display: grid; gap: 12px; width: 100%; max-width: 360px; }
.nudge {
  display: flex; align-items: center; gap: 13px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 16px; box-shadow: var(--shadow);
}
.nd-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.nd-ic.g { background: var(--green-soft); color: var(--green); }
.nd-ic.b { background: var(--blue-soft); color: var(--blue); }
.nd-ic.a { background: var(--amber-soft); color: var(--amber); }
.nudge b { font-size: 14px; display: block; }
.nudge i { font-style: normal; font-size: 12.5px; color: var(--muted); }
.pm-card {
  width: 100%; max-width: 360px; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 18px; padding: 20px;
}
.pm-light { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--muted); }
.pm-light i { width: 8px; height: 8px; border-radius: 50%; background: #cfd6df; box-shadow: 0 0 0 3px rgba(207,214,223,.3); }
.pm-card b { display: block; margin-top: 12px; font-size: 16px; }
.pm-card p { margin-top: 5px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ---------- Settings + stats showcase ---------- */
.show-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 22px; align-items: stretch; }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 11px 15px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; }
.win-bar .r { background: #ff5f57; } .win-bar .y { background: #febc2e; } .win-bar .g { background: #28c840; }
.win-bar span { margin-left: 8px; font-size: 12px; color: var(--muted); font-weight: 600; }
.settings-win, .stats-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.sw-body { display: grid; grid-template-columns: 190px 1fr; min-height: 280px; }
.sw-side { background: var(--surface-2); border-right: 1px solid var(--line); padding: 12px 10px; display: grid; gap: 3px; align-content: start; }
.sw-tab { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); padding: 9px 11px; border-radius: 9px; }
.sw-tab svg { color: var(--muted); flex: none; }
.sw-tab.active { background: var(--accent); color: #fff; font-weight: 600; }
.sw-tab.active svg { color: #fff; }
.sw-pane { padding: 16px 20px; display: grid; gap: 4px; align-content: start; }
.sw-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.sw-row:last-child { border-bottom: 0; }
.sw-row.col { flex-direction: column; align-items: flex-start; gap: 10px; }
.tg { width: 38px; height: 22px; border-radius: 99px; background: #d6dbe2; position: relative; flex: none; transition: background .2s; }
.tg::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: left .2s; }
.tg.on { background: var(--accent); }
.tg.on::after { left: 18px; }
.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 9px; padding: 2px; }
.seg i, .seg button { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--ink-2); padding: 6px 14px; border-radius: 7px; }
.seg button { font-family: inherit; background: none; border: 0; }
.seg i.active, .seg button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
button.tg { border: 0; padding: 0; }
.sw-val { font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); padding: 5px 12px; border-radius: 8px; }
button.sw-val { font-family: inherit; }

/* Static settings preview. */
.sw-main { min-width: 0; }
.settings-win .sw-tab { border: 0; background: none; text-align: left; font-family: inherit; width: 100%; }
.settings-win .sw-pane { display: none; }
.settings-win .sw-pane.active { display: grid; }

.stats-card { padding: 22px; display: flex; flex-direction: column; }
.sc-head { display: flex; align-items: baseline; justify-content: space-between; }
.sc-head b { font-size: 17px; }
.sc-head span { font-size: 12px; color: var(--muted); }
.sc-bar { display: flex; gap: 3px; height: 14px; margin: 18px 0 14px; border-radius: 99px; overflow: hidden; }
.sc-bar i { display: block; }
.sc-bar .g { background: var(--green); } .sc-bar .a { background: var(--amber); } .sc-bar .n { background: var(--slate); }
.sc-legend { display: grid; gap: 8px; }
.sc-legend span { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-2); }
.sc-legend .d { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.sc-legend .d.g { background: var(--green); } .sc-legend .d.a { background: var(--amber); } .sc-legend .d.n { background: var(--slate); }
.sc-stats { margin-top: auto; padding-top: 18px; display: flex; gap: 8px; }
.sc-stats div { flex: 1; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 8px; text-align: center; }
.sc-stats b { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; display: block; }
.sc-stats span { font-size: 11px; color: var(--muted); }

/* ---------- Privacy ---------- */
.privacy { padding: 96px 0; }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.privacy .shield { color: var(--green); margin-bottom: 18px; }
.privacy-copy h2 { max-width: 16ch; }
.privacy-copy p { margin-top: 16px; color: var(--muted); font-size: 17px; line-height: 1.62; }
.privacy-copy code { font-family: var(--mono); font-size: 14px; background: var(--surface-2); border: 1px solid var(--line); padding: 2px 7px; border-radius: 6px; color: var(--ink); }
.proof-row { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.pchip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; }
.pchip svg { color: var(--green); }
.term { background: #11151f; border-radius: 16px; box-shadow: var(--shadow-xl); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 15px; background: #1a1f2b; }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; }
.term-bar .r { background: #ff5f57; } .term-bar .y { background: #febc2e; } .term-bar .g { background: #28c840; }
.term-bar span { margin-left: 8px; font-size: 12px; color: #8b94a5; font-family: var(--mono); }
.term-body { padding: 18px 20px; font-family: var(--mono); font-size: 12.5px; line-height: 1.85; display: grid; overflow-x: auto; }
.t-cmd { color: #e7ebf2; }
.t-cmd b { color: var(--green); font-weight: 700; }
.t-out { color: #98a2b3; }
.t-out b { color: #cdd6e4; font-weight: 600; }
.t-cmt { color: #5f6b7e; margin-top: 8px; }

/* ---------- More features grid ---------- */
.more-section { background: var(--surface-2); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 26px; }
.feat .fi { width: 42px; height: 42px; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--line); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.feat h3 { font-size: 16px; letter-spacing: -0.01em; font-weight: 700; }
.feat p { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ---------- Mode comparison ---------- */
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 auto; max-width: 860px; }
.compare {
  width: 100%; min-width: 580px; border-collapse: separate; border-spacing: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  /* Fixed layout + equal value columns so every ✓/— shares one vertical axis;
     with auto layout the columns sized to their headers and the marks drifted. */
  table-layout: fixed;
}
.compare .c-feat { width: 43%; }
.compare th:not(.c-feat), .compare td:not(.c-feat) { width: 19%; }
.compare th, .compare td { padding: 13px 18px; text-align: center; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.compare thead th { vertical-align: top; padding: 20px 18px 16px; }
.compare .c-feat { text-align: left; }
.compare tbody .c-feat { color: var(--ink); font-weight: 500; line-height: 1.4; }
.compare thead .c-feat .th-label { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.compare .col-name { display: block; font-size: 17px; font-weight: 800; color: var(--ink); }
.compare .col-name .tier-tag { vertical-align: middle; margin-left: 4px; }
.compare .col-sub { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.compare .c-best { background: var(--green-soft); }
.compare .grouprow td { text-align: left; font-size: 11.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); padding: 9px 18px; }
.compare .ic-yes { color: var(--green); vertical-align: middle; display: inline-block; }
.compare .ic-no { color: var(--slate); font-weight: 700; font-size: 17px; display: inline-block; width: 20px; line-height: 20px; vertical-align: middle; }
.compare .cam-note { font-size: 13px; color: var(--muted); font-weight: 600; }
.compare .camrow td { border-bottom: none; }
.compare .camrow .c-feat { font-weight: 700; color: var(--ink); }
.compare-foot { text-align: center; margin: 20px auto 0; max-width: 560px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ---------- Pricing ---------- */
.price-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 720px; margin: 0 auto; align-items: start; }
.price-card { background: var(--surface); position: relative; border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--accent); border-width: 2px; box-shadow: var(--shadow-lg); }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .03em; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.price-name { font-size: 13px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.price { font-size: 34px; font-weight: 800; letter-spacing: -0.04em; }
.price small { font-size: 15px; font-weight: 600; color: var(--muted); }
.price-sub { color: var(--muted); margin-top: 6px; font-size: 14px; }
.price-trial { margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.price-tax { color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 16px; }
.price-list { list-style: none; margin: 22px 0; display: grid; gap: 11px; text-align: left; }
.price-list li { display: flex; gap: 11px; color: var(--ink-2); font-size: 14px; align-items: flex-start; }
.price-list li svg { flex: none; color: var(--green); margin-top: 2px; }
.price-btn { width: 100%; justify-content: center; margin-top: auto; }

.plan-pills { display: flex; gap: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.plan-pill { flex: 1; border: none; background: none; padding: 8px 10px; border-radius: 999px; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background .15s ease, color .15s ease; }
.plan-pill.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }

.price-actions { display: grid; gap: 10px; margin-top: 22px; }
.price-actions .btn { width: 100%; justify-content: center; font-family: inherit; }

.price-all { text-align: center; margin-top: 14px; color: var(--muted); font-size: 13px; }
.price-all b { color: var(--ink); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 720px; margin: 0 auto; display: grid; gap: 10px; }
details { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 24px; }
summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; color: var(--muted); font-weight: 300; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 20px; color: var(--muted); line-height: 1.7; }

/* ---------- Download / CTA ---------- */
.download-card { text-align: center; background: var(--ink); color: #fff; border-radius: 28px; padding: 68px 40px; box-shadow: var(--shadow-lg); }
.download-card h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); }
.download-card p { color: rgba(255,255,255,.65); margin: 16px auto 30px; max-width: 46ch; font-size: 17.5px; line-height: 1.6; }
.download-card .req { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.62); }
.download-action { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.download-version { font-size: 12.5px; color: rgba(255,255,255,.52); white-space: nowrap; }
.download-card #directDownloadBtn[hidden] + .download-version { display: none; }
.notify { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; max-width: 460px; margin: 0 auto; }
/* The UA's [hidden] rule loses to any author display rule (e.g. .btn's
   inline-flex), silently un-hiding elements — enforce it globally. */
[hidden] { display: none !important; }
/* .btn is display:inline-flex, which overrides the UA [hidden] rule — without
   this, the JS-gated direct-download button shows for phone/Windows/no-JS
   visitors and hands them a Mac-only dmg. */
.btn[hidden] { display: none !important; }
.notify input { flex: 1; min-width: 220px; padding: 14px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.08); color: #fff; font-size: 15px; font-family: var(--font); transition: border-color .2s, background .2s; }
.notify input::placeholder { color: rgba(255,255,255,.35); }
.notify input:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,.12); }
.notify .btn-primary { background: #fff; color: var(--ink); box-shadow: none; }
.notify .btn-primary:hover { background: #efefef; }
.notify-done { color: #fff; font-size: 16px; font-weight: 600; padding: 12px 0; }
.download-card #directDownloadBtn { background: #fff; color: var(--ink); box-shadow: none; }
.download-card #directDownloadBtn:hover { background: #efefef; }

/* ---------- Footer ---------- */
footer { padding: 48px 0; border-top: 1px solid var(--line); color: var(--muted); }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-nav { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.foot-links { display: flex; gap: 22px; font-size: 14px; flex-wrap: wrap; }
.foot-links a:hover { color: var(--ink); }
.foot-legal a { color: inherit; text-decoration: underline; }
.foot-legal a:hover { color: var(--ink); }

/* ---------- Anti-cheat card ---------- */
.cheat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 22px; max-width: 340px; width: 100%;
  display: flex; flex-direction: column; gap: 16px;
}
.cc-top { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14px; color: var(--amber); }
.cc-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft); flex: none; }
.cc-row { display: flex; align-items: center; gap: 14px; background: var(--amber-soft); border-radius: var(--radius-sm); padding: 14px 16px; }
.cc-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--amber); flex: none; }
.cc-txt b { display: block; font-size: 15px; }
.cc-txt i { font-style: normal; color: var(--muted); font-size: 13.5px; }
.cc-timer { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; font-variant-numeric: tabular-nums; }

/* ---------- Coming soon — phone sync ---------- */
.soon-section { padding: 24px 0 64px; }
.soon-card {
  position: relative; text-align: center; max-width: 760px; margin: 0 auto;
  background: linear-gradient(180deg, var(--green-soft), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 44px 40px;
}
.soon-badge {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: var(--green); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}
.soon-card h2 { font-size: clamp(24px, 3vw, 34px); }
.soon-card p { margin: 14px auto 0; max-width: 560px; color: var(--muted); font-size: 16.5px; line-height: 1.62; }
.soon-os { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.os-chip {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px;
}
.os-chip svg { color: var(--green); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-stage { max-width: 460px; margin: 0 auto; width: 100%; }
  .band-grid { grid-template-columns: 1fr; gap: 36px; }
  .band-grid.rev .band-text { order: 0; }
  .show-grid { grid-template-columns: 1fr; }
  .privacy-grid { grid-template-columns: 1fr; gap: 36px; }
  .pains { grid-template-columns: 1fr; }
  .states { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--line); padding: 16px 6vw; gap: 16px; }
}
@media (max-width: 640px) {
  .sw-body { grid-template-columns: 1fr; }
  .sw-side { border-right: 0; border-bottom: 1px solid var(--line); grid-auto-flow: column; overflow-x: auto; }
  .sw-tab { white-space: nowrap; }
  .sw-row.col .seg { width: 100%; }
  .sw-row.col .seg i, .sw-row.col .seg button { flex: 1; text-align: center; }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .price-duo { grid-template-columns: 1fr; max-width: 400px; }
  /* Comparison table: pack all four columns into the phone width, no side-scroll. */
  .compare-scroll { overflow-x: visible; }
  .compare { min-width: 0; }
  .compare th, .compare td { padding: 10px 5px; font-size: 12.5px; }
  .compare .c-feat { padding: 10px 6px 10px 12px; line-height: 1.3; }
  .compare thead th { padding: 14px 5px 12px; }
  .compare .col-name { font-size: 13px; }
  .compare .col-name .tier-tag { display: block; width: fit-content; margin: 3px auto 0; font-size: 8.5px; padding: 2px 6px; }
  .compare .col-sub { display: none; }
  .compare thead .c-feat .th-label { font-size: 10px; letter-spacing: .06em; }
  .compare .grouprow td { padding: 7px 12px; font-size: 10.5px; letter-spacing: .06em; }
  .compare .ic-yes { width: 17px; height: 17px; }
  .compare .cam-note { font-size: 10.5px; line-height: 1.25; }
  .hero { padding: 60px 0 40px; }
  section, .band { padding: 64px 0; }
  /* The two floats overlap badly in a narrow hero: drop the redundant chip and
     let the signature menu dropdown sit static below the device. */
  .float-chip { display: none; }
  .hero-stage { display: flex; flex-direction: column; gap: 16px; }
  .hero-stage .menu-pop { position: static; width: 100%; }
  .download-card { padding: 48px 22px; }
  .notify input { min-width: 0; }
  /* Narrow nav: logo + CTA + burger don't all fit with the wordmark, and a
     two-line brand looks broken — keep just the logo mark. */
  .nav-inner .brand-name { display: none; }
  .nav-cta .btn-primary { padding: 10px 18px; font-size: 14px; }
  .nav-toggle { padding: 10px 14px; }
  .foot-inner { flex-direction: column; align-items: flex-start; }
  .foot-nav { align-items: flex-start; }
}

.notify input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  *, *::before, *::after {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
  .state.active, .lift:hover { transform: none; }
}


/* ---------- Why rest ---------- */
.why-rest { padding: 8px 0 64px; }
.why-rest .section-head p { max-width: 720px; }
.why-chips { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.why-chip {
  display: flex; flex-direction: column; gap: 3px; min-width: 200px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px; text-align: center;
}
.why-chip b { font-size: 22px; letter-spacing: -0.02em; color: var(--green); }
.why-chip i { font-style: normal; font-size: 12.5px; color: var(--muted); line-height: 1.4; }

/* ---------- Roadmap ---------- */
.roadmap-section { padding: 24px 0 72px; }
.roadmap-section .section-head p a { color: var(--accent); font-weight: 600; }
.road-track {
  height: 10px; border-radius: 999px; background: var(--surface-2);
  border: 1px solid var(--line); overflow: hidden; max-width: 860px; margin: 0 auto;
}
.road-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--green), var(--accent)); min-width: 14px; }
.road-meta {
  display: flex; justify-content: space-between; max-width: 860px; margin: 10px auto 30px;
  font-size: 13px; color: var(--muted);
}
.road-meta b { color: var(--ink-2); font-weight: 600; }
.road-list {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: 980px; margin: 0 auto; padding: 0;
}
.road-item {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px;
}
.road-goal {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--green-soft); border-radius: 999px; padding: 4px 10px; margin-bottom: 10px;
}
.road-item.unlocked { border-color: var(--green); }
.road-item.unlocked .road-goal { background: var(--green); color: #fff; }
.road-item b { display: block; font-size: 15.5px; letter-spacing: -0.01em; }
.road-item p { margin-top: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.road-cta { text-align: center; margin-top: 30px; }
@media (max-width: 860px) {
  .road-list { grid-template-columns: 1fr; }
  .why-chip { min-width: 150px; flex: 1; }
}
