/* Chrono 8 — Helvetica headlines, white gradients, navy accents. */
:root {
  --black: #000;
  --ink: #1d1d1f;
  --gray: #86868b;
  --mist: #f5f5f7;
  --card: #141416;
  --line-d: rgba(255,255,255,.12);
  --line-l: #d2d2d7;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif-w: 700;
  --serif-track: -0.045em;
  --navy: #0f2d63;
  --navy-2: #1f4f9f;
  --navy-lt: #7fa3e0;
  --max: 1080px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--sans); font-size: 17px; line-height: 1.5; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.sr, .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.serif { font-family: var(--serif); font-weight: var(--serif-w); letter-spacing: var(--serif-track); line-height: .98; text-transform: uppercase; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--gray); margin-bottom: 14px; }
.sub { font-size: 21px; line-height: 1.4; color: var(--gray); max-width: 620px; margin-top: 18px; }

.dark { background: var(--black); color: #f5f5f7; }
.dark .eyebrow { color: var(--navy-lt); }
.light .eyebrow, .legal .eyebrow { color: var(--navy-2); }
.navy { background: radial-gradient(90% 80% at 50% 0%, #1f4688 0%, #0d2557 45%, #061330 100%); }
.navy .sub, .navy .waitlist .note { color: #a9bddf; }
.light { background: var(--mist); color: var(--ink); }

/* ---------- Sticky frosted nav ---------- */
.localnav { position: sticky; top: 0; z-index: 50; background: rgba(0,0,0,.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line-d); color: #f5f5f7; transition: background .4s, color .4s, border-color .4s; }
.localnav.on-light { background: rgba(251,251,253,.8); color: var(--ink); border-color: rgba(0,0,0,.08); }
.localnav .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.wordmark { display: inline-flex; align-items: baseline; gap: .08em; font-family: var(--serif); font-weight: var(--serif-w); font-size: 26px; line-height: 1; letter-spacing: var(--serif-track); text-transform: uppercase; text-decoration: none; color: var(--navy); }
.wm-glass { height: .72em; width: auto; overflow: visible; }
.wm-glass .bar { fill: currentColor; }
.wm-glass .glass { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linejoin: round; }
.localnav:not(.on-light) .wordmark { color: #fff; }
.navlinks { display: flex; align-items: center; gap: 26px; font-size: 13px; }
.navlinks a { text-decoration: none; opacity: .8; transition: opacity .2s; }
.navlinks a:hover { opacity: 1; }
.pill { opacity: 1 !important; background: #f5f5f7; color: #000; padding: 6px 14px; border-radius: 980px; font-weight: 500; }
.on-light .pill { background: var(--navy); color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 110px 0 0; text-align: center; background: #fff; }
.hero h1 { font-size: clamp(56px, 10.5vw, 136px); color: #0b1530; padding-bottom: .06em; will-change: transform, opacity; }
.hero .lede { font-size: clamp(19px, 2vw, 24px); line-height: 1.38; color: #6e6e73; max-width: 640px; margin: 26px auto 0; }
.hero .waitlist { margin: 38px auto 0; }

.devices { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 30px; }
.devices-label { font-size: 13px; color: var(--gray); margin-right: 2px; }
.dev { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px 7px 11px; border-radius: 980px; border: 1px solid rgba(15,45,99,.14); background: #fff; color: var(--navy); font-size: 14px; font-weight: 500; }
.dev .ico { width: 17px; height: 17px; stroke-width: 1.7; }

/* Stage: phone + posting status */
.wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.wires .wire { fill: none; stroke: rgba(15,45,99,.2); stroke-width: 1.5; stroke-linecap: round; transition: stroke .6s, stroke-width .6s; }
.wires .wire.active { stroke: rgba(31,79,159,.55); stroke-width: 2; }
.wires .wire.done { stroke: rgba(31,79,159,.38); }
.wires .dot { fill: var(--navy-2); }
.wires .halo { fill: rgba(31,79,159,.18); }
.stage .phone, .stage .orbit { position: relative; z-index: 1; }
.stage { position: relative; display: flex; justify-content: center; align-items: center; gap: 170px; margin: 90px auto 0; padding-bottom: 120px; max-width: 1180px; }
.phone { position: relative; width: 250px; aspect-ratio: 9 / 19; border-radius: 44px; padding: 10px; background: linear-gradient(145deg, #3a3a3d, #121213 60%, #2a2a2c); box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 50px 120px rgba(31,79,159,.3), 0 30px 60px rgba(15,30,60,.25); flex: none; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 35px; overflow: hidden; background: #fff; }
.brandmark { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.brandmark text { font-family: var(--serif); font-weight: var(--serif-w); font-size: 100px; letter-spacing: var(--serif-track); fill: var(--navy); }
.brandmark .glass { fill: none; stroke: var(--navy); stroke-linejoin: round; }
.brandmark .bar, .brandmark .sand { fill: var(--navy); }
.video { position: absolute; inset: 0; background: radial-gradient(120% 80% at 30% 20%, #3d5f9a 0%, #182a4e 38%, #060c1a 78%), #111; animation: drift 9s ease-in-out infinite alternate; }
.video::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 40% at 70% 75%, rgba(255,255,255,.16), rgba(255,255,255,0) 70%); animation: drift2 7s ease-in-out infinite alternate; }
@keyframes drift { to { filter: brightness(1.25); transform: scale(1.08); } }
@keyframes drift2 { to { transform: translate(-30px, -40px); } }
.cap { position: absolute; left: 18px; right: 50px; bottom: 30px; }
.cap i { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,.55); margin-top: 7px; }
.cap i + i { width: 60%; background: rgba(255,255,255,.3); }
.playglyph { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.playglyph::after { content: ""; position: absolute; left: 23px; top: 18px; border-left: 17px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }

.orbit { display: flex; flex-direction: column; gap: 90px; width: 240px; }
.post { display: flex; align-items: center; gap: 14px; text-align: left; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.78); border: 1px solid rgba(15,45,99,.08); box-shadow: 0 8px 24px rgba(15,45,99,.06); backdrop-filter: blur(12px); transition: background .6s var(--ease), border-color .6s, box-shadow .6s, transform .6s var(--ease); }
.post > div { flex: 1; min-width: 0; }
.post b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.post .st { display: block; font-size: 13px; color: var(--gray); margin-top: 2px; transition: color .4s; }
.post .bar { display: block; height: 3px; border-radius: 2px; background: rgba(15,45,99,.08); margin-top: 9px; overflow: hidden; }
.post .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #2f63bd, #a9c6ff); border-radius: 2px; }
.post.uploading .bar i { width: 100%; transition: width 1.4s linear; }
.post.done .bar i { width: 100%; }
.post.uploading { border-color: rgba(31,79,159,.3); }
.post.done { background: #fff; border-color: rgba(31,79,159,.45); box-shadow: 0 14px 40px rgba(31,79,159,.22); }
.post.done .st { color: var(--navy-2); }
.ico { width: 26px; height: 26px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ico .solid, svg .solid { fill: currentColor; stroke: none; }
.post .ico { color: var(--ink); }
.post .ok { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--navy-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.6); transition: opacity .4s, transform .4s var(--ease); }
.post.done .ok { opacity: 1; transform: none; }

/* ---------- Waitlist ---------- */
.waitlist { max-width: 460px; }
.waitlist form { display: flex; gap: 10px; }
.waitlist input[type=email] { flex: 1; min-width: 0; height: 50px; padding: 0 20px; border-radius: 980px; font: inherit; font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
.waitlist button { height: 50px; padding: 0 24px; border: 0; border-radius: 980px; font-size: 16px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: transform .2s, opacity .2s; }
.waitlist button:hover { transform: scale(1.03); }
.waitlist button:disabled { opacity: .5; transform: none; cursor: default; }
.dark .waitlist input[type=email] { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; }
.dark .waitlist input::placeholder { color: #8e8e93; }
.dark .waitlist input:focus { border-color: var(--navy-lt); box-shadow: 0 0 0 4px rgba(46,98,190,.35); }
.dark .waitlist button { background: #f5f5f7; color: #000; }
.light .waitlist input[type=email] { background: #fff; border: 1px solid var(--line-l); color: var(--ink); }
.light .waitlist input:focus { border-color: var(--navy-2); box-shadow: 0 0 0 4px rgba(31,79,159,.15); }
.light .waitlist button { background: var(--navy); color: #fff; }
.waitlist .note { margin-top: 12px; font-size: 13px; color: var(--gray); min-height: 1.5em; }
.dark .waitlist .note.ok { color: #f5f5f7; }
.light .waitlist .note.ok { color: var(--ink); }

.features h2, .time h2, .closing h2 { font-size: clamp(44px, 6.4vw, 80px); }

/* ---------- Feature carousel ---------- */
.features { padding: 140px 0 110px; background: linear-gradient(180deg, #ffffff 0%, #eef2f9 100%); }
.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 56px max(28px, calc((100vw - var(--max)) / 2 + 28px)) 10px; scrollbar-width: none; outline: none; }
.rail::-webkit-scrollbar { display: none; }
.card { flex: none; width: min(380px, 80vw); min-height: 440px; scroll-snap-align: start; scroll-margin-left: max(28px, calc((100vw - var(--max)) / 2 + 28px)); border-radius: 28px; padding: 36px 32px; display: flex; flex-direction: column; justify-content: flex-end; background: radial-gradient(120% 90% at 20% 0%, #dfe8f8 0%, #ffffff 62%); border: 1px solid rgba(15,45,99,.08); box-shadow: 0 1px 2px rgba(0,0,0,.03), 0 24px 50px rgba(15,45,99,.08); transition: transform .5s var(--ease); }
.card:hover { transform: scale(1.015); }
.card .ico.big { width: 44px; height: 44px; stroke-width: 1.2; margin-bottom: auto; color: var(--navy-2); }
.card h3 { font-size: 26px; font-weight: 600; letter-spacing: -.01em; line-height: 1.15; margin-bottom: 12px; }
.card p { color: #6e6e73; font-size: 17px; }
.rail-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }
.dots { display: flex; gap: 8px; padding: 10px 14px; border-radius: 980px; background: rgba(15,45,99,.06); }
.dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; background: rgba(15,45,99,.22); cursor: pointer; transition: width .4s var(--ease), background .3s; }
.dots button.on { width: 26px; background: var(--navy-2); }
.arrows { display: flex; gap: 12px; }
.arrows button { width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(15,45,99,.07); color: var(--ink); display: grid; place-items: center; transition: background .2s, opacity .2s; }
.arrows button:hover { background: rgba(15,45,99,.13); }
.arrows button:disabled { opacity: .3; cursor: default; }
.arrows svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Time calculator + dial ---------- */
.time { padding: 140px 0; background: radial-gradient(60% 60% at 78% 50%, #d6e1f5 0%, rgba(255,255,255,0) 70%), linear-gradient(180deg, #f6f8fc 0%, #ffffff 100%); }
.time-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.calc { margin-top: 48px; }
.calc label { font-size: 17px; color: #6e6e73; }
.calc label b { color: var(--ink); font-weight: 600; }
.calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 2px; margin: 22px 0 30px; background: linear-gradient(90deg, var(--navy-2) var(--p, 14%), rgba(15,45,99,.12) var(--p, 14%)); outline: none; cursor: pointer; }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(15,45,99,.1), 0 3px 12px rgba(15,45,99,.25); transition: transform .2s; }
.calc input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.12); }
.calc input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; }
.result { display: flex; align-items: flex-end; gap: 16px; }
.big { font-family: var(--serif); font-weight: var(--serif-w); font-size: clamp(72px, 9vw, 120px); line-height: .9; font-variant-numeric: tabular-nums; }
.gradient { color: #0b1530; }
.unit { font-size: 19px; line-height: 1.3; color: #6e6e73; padding-bottom: 10px; }
.fine { font-size: 12px; color: #86868b; margin-top: 22px; max-width: 420px; }
.dial { width: 100%; max-width: 420px; margin: 0 auto; display: block; filter: drop-shadow(0 30px 60px rgba(15,45,99,.35)); }
.dial .face { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1; }
.dial .tick { stroke: rgba(255,255,255,.4); stroke-width: 1; }
.dial .tick.major { stroke: #f5f5f7; stroke-width: 2.2; }
.dial .window { fill: #f5f5f7; }
.dial .date { font-family: var(--sans); font-size: 16px; font-weight: 600; fill: #000; }
.dial .hand { stroke: #f5f5f7; stroke-linecap: round; }
.dial .hour { stroke-width: 5; }
.dial .minute { stroke-width: 3.5; }
.dial .second { stroke-width: 1.2; stroke: #c9c9ce; }
.dial .hub { fill: #f5f5f7; }

/* ---------- Founder note ---------- */
.founder { padding: 140px 0; background: #fff; }
.founder .eyebrow { color: var(--navy-2); }
.founder-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 80px; align-items: start; }
.founder h2 { font-size: clamp(40px, 5.2vw, 68px); position: sticky; top: 110px; }
.founder-body p { font-size: 19px; line-height: 1.6; color: #424245; }
.founder-body p + p { margin-top: 20px; }
.founder-body em { font-style: italic; color: var(--navy); }
.signature { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(15,45,99,.14); display: flex; flex-direction: column; gap: 2px; }
.signature b { font-size: 19px; color: var(--navy); }
.signature span { font-size: 14px; color: var(--gray); }

/* ---------- Closing ---------- */
.tagline-sm { max-width: 560px; margin: 22px auto 0; font-size: 19px; line-height: 1.45; color: #a9bddf; }
.closing { padding: 150px 0 160px; text-align: center; }
.closing .waitlist { margin: 44px auto 0; }

/* ---------- Footer ---------- */
.foot { background: var(--mist); border-top: 1px solid var(--line-l); padding: 26px 0 40px; font-size: 12px; color: #6e6e73; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 24px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; color: var(--ink); }

/* ---------- Legal pages ---------- */
.legal { padding: 90px 0 130px; background: #fff; }
.legal .wrap { max-width: 740px; }
.legal h1 { font-size: clamp(48px, 7vw, 76px); margin-bottom: 14px; }
.legal .updated { color: var(--gray); font-size: 15px; margin-bottom: 52px; }
.legal h2 { font-family: var(--serif); font-weight: var(--serif-w); letter-spacing: var(--serif-track); text-transform: uppercase; font-size: 30px; line-height: 1.15; margin: 56px 0 14px; }
.legal h3 { font-size: 17px; font-weight: 600; margin: 26px 0 6px; }
.legal p, .legal li { color: #424245; font-size: 17px; line-height: 1.6; }
.legal p + p { margin-top: 14px; }
.legal ul { margin: 12px 0 0 22px; }
.legal li + li { margin-top: 8px; }
.legal a { color: var(--navy-2); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal .eyebrow { margin-bottom: 10px; }

/* ---------- Motion ---------- */
.js .reveal, .js .fade-up { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.in, .js .fade-up.in { opacity: 1; transform: none; }
.js .fade-up:nth-child(2) { transition-delay: .08s; }
.js .fade-up:nth-child(3) { transition-delay: .16s; }
.js .fade-up:nth-child(4) { transition-delay: .24s; }

/* ---------- Preview-only font picker ---------- */

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .navlinks a:not(.pill) { display: none; }
  .stage { flex-direction: column; gap: 64px; margin-top: 64px; padding-bottom: 90px; }
  .orbit { flex-direction: row; width: auto; gap: 12px; }
  .stage { gap: 64px; }
  .orbit.left { order: 2; } .orbit.right { order: 3; }
  .post { width: 170px; padding: 12px 14px; gap: 10px; }
  .post b { font-size: 14px; }
  .post .ok { display: none; }
  .phone { width: 210px; }
  .time-grid { grid-template-columns: 1fr; gap: 64px; }
  .founder-grid { grid-template-columns: 1fr; gap: 32px; }
  .founder h2 { position: static; }
  .dial { max-width: 300px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero { padding-top: 76px; }
  .waitlist form { flex-direction: column; }
  .waitlist input[type=email] { flex: none; }
  .orbit { flex-direction: column; }
  .stage { gap: 56px; }
  .orbit.left { margin-bottom: -42px; }
  .post { width: 280px; }
  .features, .time, .founder { padding: 100px 0; }
  .closing { padding: 110px 0; }
  .card { min-height: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .video, .video::after { animation: none; }
  .js .reveal, .js .fade-up { opacity: 1; transform: none; transition: none; }
}
