*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.num { font-variant-numeric: tabular-nums; letter-spacing: var(--numeral-tracking); font-weight: 700; }
.muted { color: var(--muted); }
.amber { color: var(--accent); }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 14px;
}

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(21, 23, 30, 0.82);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand img { height: 28px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
@media (max-width: 640px) { .nav-links .hide-sm { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .12s ease, filter .12s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--on-accent) !important; }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--secondary-label); border: 1px solid var(--line); }
.btn-ghost:hover { color: var(--text); border-color: var(--muted); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }

/* Hero */
.hero { padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 {
  font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.035em;
  font-weight: 800; margin: 0 0 22px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--cue); max-width: 34em; margin: 0 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) {
  .hero { padding: 40px 0 72px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
}

/* Day timeline (hero visual) */
.day {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 22px 24px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.day-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.day-head .t { font-weight: 700; font-size: 17px; }
.day-head .s { font-size: 13px; color: var(--muted); }
.day-grid { position: relative; height: 380px; margin-left: 52px; }
.hour { position: absolute; left: -52px; right: 0; height: 0; border-top: 1px solid var(--line); }
.hour span { position: absolute; top: -9px; left: 0; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ev { position: absolute; left: 0; right: 0; border-radius: 10px; padding: 8px 12px; font-size: 13px; line-height: 1.25; }
.ev b { display: block; font-weight: 600; }
.ev small { font-size: 12px; }
.ev-meet { background: var(--meeting); color: var(--meeting-text); border-left: 3px solid #3A3F4E; }
.ev-meet small { color: var(--muted); }
.ev-break { background: var(--accent); color: var(--on-accent); display: flex; align-items: center; gap: 10px; padding: 6px 12px; }
.ev-break b { display: inline; }
.ev-break small { opacity: .8; }
.ev-break .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--on-accent); flex: none; }
.ev-ghost { border: 1.5px dashed rgba(255,178,63,.55); color: var(--accent); background: rgba(21,23,30,.55);
  padding: 4px 12px; left: 38%; right: 6px; font-size: 12px; text-decoration: line-through; text-decoration-color: rgba(255,178,63,.6); }
.moved { position: absolute; right: 6px; font-size: 12px; color: var(--accent); font-weight: 600; }

/* Sections */
section { scroll-margin-top: 72px; }
.band { padding: 96px 0; border-top: 1px solid var(--line); }
.band-alt { background: var(--page); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2, .feature h2 {
  font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 16px;
}
.section-head p, .feature p { color: var(--cue); font-size: 18px; margin: 0; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 112px; }
.feature.flip .copy { order: 2; }
.feature ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.feature li { display: flex; gap: 12px; color: var(--cue); font-size: 16px; }
.feature li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 10px; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature.flip .copy { order: 0; }
  .feature + .feature { margin-top: 88px; }
}

/* Camera stage mock */
.stage { background: #000; border-radius: var(--radius-lg); padding: 28px; border: 1px solid #1a1c22; text-align: center; max-width: 460px; margin: 0 auto; width: 100%; }
.stage h3 { margin: 0; font-size: 26px; letter-spacing: -0.02em; }
.stage .cue { color: var(--cue); font-size: 14px; margin: 6px 0 18px; }
.cam { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); background: radial-gradient(120% 90% at 50% 20%, #1c1f27 0%, #0b0c10 70%); border: 1px solid #23262f; overflow: hidden; }
.cam svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cam .badge { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--muted);
  background: rgba(31,34,43,.9); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; display: flex; gap: 6px; align-items: center; }
.cam .badge i { width: 6px; height: 6px; border-radius: 50%; background: #5BD38A; display: block; }
.count { display: flex; align-items: baseline; gap: 10px; margin: 20px 0 12px; text-align: left; }
.count .n { font-size: 52px; line-height: 1; color: var(--accent); }
.count .of { color: var(--muted); font-size: 18px; }
.bar { height: 8px; border-radius: 99px; background: #23262F; overflow: hidden; }
.bar i { display: block; height: 100%; width: 70%; background: var(--accent); border-radius: 99px; }
.stage-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.stage-btns span { height: 48px; border-radius: 14px; display: grid; place-items: center; font-weight: 600; font-size: 16px; }
.stage-btns .skip { border: 1px solid var(--line); color: var(--secondary-label); }
.stage-btns .done { background: var(--accent); color: var(--on-accent); }

/* Devices: Dynamic Island + Mac notch */
.devices { display: grid; gap: 28px; }
.phone-island {
  background: #000; border-radius: 44px; padding: 22px 24px 20px; max-width: 440px; width: 100%; margin: 0 auto;
  box-shadow: 0 0 0 1px #1a1c22, 0 30px 60px -30px rgba(0,0,0,.8);
}
.pi-top { display: flex; justify-content: space-between; align-items: flex-start; }
.pi-logo { width: 46px; height: 46px; border-radius: 50%; background: #2A2D37; display: grid; place-items: center; }
.pi-logo img { width: 24px; opacity: .85; }
.pi-time { text-align: right; }
.pi-time .num { font-size: 40px; line-height: 1; }
.pi-time small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.pi-next { margin: 14px 0 14px; }
.pi-next b { font-weight: 600; }
.pi-next .muted { font-size: 14px; }
.pi-btn { background: var(--accent); color: var(--on-accent); border-radius: 999px; height: 46px; display: grid; place-items: center; font-weight: 600; }
.mac {
  position: relative; max-width: 520px; width: 100%; margin: 0 auto; border-radius: 16px 16px 10px 10px; overflow: hidden;
  background: linear-gradient(160deg, #3a2a4a 0%, #1d2a44 45%, #12161f 100%); aspect-ratio: 16 / 7; border: 1px solid #2a2d37;
}
.mac .menubar { height: 22px; background: rgba(0,0,0,.35); }
.peninsula {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 58%;
  background: #000; border-radius: 0 0 22px 22px; padding: 12px 16px 14px; display: flex; align-items: center; gap: 12px;
}
.peninsula::before, .peninsula::after {
  content: ""; position: absolute; top: 0; width: 14px; height: 14px; background: transparent;
}
.peninsula::before { left: -14px; border-top-right-radius: 14px; box-shadow: 5px -5px 0 5px #000; }
.peninsula::after { right: -14px; border-top-left-radius: 14px; box-shadow: -5px -5px 0 5px #000; }
.pen-cam { width: 64px; height: 48px; border-radius: 10px; background: radial-gradient(circle at 50% 35%, #2b2f3a, #0e1015); flex: none; position: relative; overflow: hidden; }
.pen-cam::after { content: ""; position: absolute; left: 50%; top: 10px; width: 14px; height: 14px; border-radius: 50%; transform: translateX(-50%); background: #3a3f4c; box-shadow: 0 22px 0 6px #3a3f4c; }
.pen-text { flex: 1; min-width: 0; font-size: 13px; line-height: 1.3; }
.pen-text b { display: block; font-size: 14px; }
.pen-count { font-size: 28px; color: var(--accent); }
.pen-count small { font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.device-caption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 12px; }

/* Training */
.training { display: grid; gap: 14px; }
.train-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; gap: 16px; align-items: flex-start; }
.train-card .src { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--raised); display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--cue); }
.train-card b { display: block; font-weight: 600; }
.train-card p { margin: 2px 0 0; font-size: 15px; color: var(--muted); }
.train-card .tag { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 3px 10px; }

/* Privacy strip */
.privacy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.p-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.p-item b { display: block; font-size: 17px; margin-bottom: 6px; }
.p-item p { margin: 0; font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .privacy-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .privacy-grid { grid-template-columns: 1fr; } }

/* Beta form */
.beta { padding: 112px 0; border-top: 1px solid var(--line); background: radial-gradient(60% 80% at 50% 0%, rgba(255,178,63,.08), transparent 70%), var(--ground); }
.beta-card { max-width: 620px; margin: 0 auto; text-align: center; }
.beta-card h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 14px; }
.beta-card > p { color: var(--cue); font-size: 18px; margin: 0 0 32px; }
form.signup { display: grid; gap: 14px; text-align: left; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--cue); margin-bottom: 8px; }
.field .opt { color: var(--muted); font-weight: 500; }
input[type=email] {
  width: 100%; height: 54px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); font: 500 17px var(--font); padding: 0 18px; outline: none;
}
input[type=email]::placeholder { color: #6B7080; }
input[type=email]:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choices label { margin: 0; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices span {
  display: grid; place-items: center; height: 48px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface); color: var(--secondary-label); font-weight: 600; font-size: 15px; cursor: pointer;
}
.choices input:checked + span { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.choices input:focus-visible + span { box-shadow: 0 0 0 3px var(--accent-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form.signup .btn { height: 54px; width: 100%; font-size: 17px; margin-top: 6px; }
.form-fine { font-size: 13px; color: var(--muted); text-align: center; margin: 4px 0 0; }
.form-fine a { color: var(--cue); }
.form-msg { display: none; border-radius: 14px; padding: 16px 18px; font-size: 15px; text-align: left; }
.form-msg.ok { display: block; background: var(--accent-soft); color: var(--text); border: 1px solid rgba(255,178,63,.35); }
.form-msg.err { display: block; background: rgba(255, 99, 99, .08); color: #FFC9C9; border: 1px solid rgba(255,99,99,.3); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 24px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

/* Legal pages */
.legal { max-width: 760px; padding: 56px 24px 96px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 10px; }
.legal .updated { color: var(--muted); margin: 0 0 32px; font-size: 15px; }
.legal .summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 40px; }
.legal .summary p { margin: 0 0 10px; }
.legal .summary ul { margin: 0; padding-left: 20px; }
.legal h2 { font-size: 22px; letter-spacing: -0.015em; margin: 44px 0 12px; }
.legal h3 { font-size: 17px; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--cue); font-size: 16px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent); }
.legal strong { color: var(--text); }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line); color: var(--cue); }
.legal th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.legal td:first-child { color: var(--text); font-weight: 600; width: 30%; }
@media (max-width: 560px) {
  .legal table, .legal tbody, .legal tr, .legal td { display: block; width: 100% !important; }
  .legal thead { display: none; }
  .legal td { border: 0; padding: 4px 0; }
  .legal tr { border-bottom: 1px solid var(--line); padding: 12px 0; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
