:root {
  --bg: #070b14;
  --bg2: #0c1322;
  --card: #111a2e;
  --line: #1f2a44;
  --text: #e8edf7;
  --muted: #9aa6bf;
  --blue: #3b82f6;
  --teal: #2dd4bf;
  --grad: linear-gradient(135deg, #3b82f6, #2dd4bf);
  --r: 18px;
  --head: rgba(7, 11, 20, .82);
  --chip: #cfe0ff;
  --shadow: rgba(0,0,0,.55);
  --frame: #1b2438;
  --legal: #c7d0e2;
  color-scheme: dark;
}
html[data-theme="light"] {
  --bg: #f5f7fb;
  --bg2: #ebf0f7;
  --card: #ffffff;
  --line: #d9e1ee;
  --text: #0c1526;
  --muted: #526079;
  --teal: #0f9e8e;
  --head: rgba(255, 255, 255, .86);
  --chip: #1d4ed8;
  --shadow: rgba(15, 30, 60, .16);
  --frame: #cfd8e6;
  --legal: #334058;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; color: #000; padding: 8px 12px; z-index: 99; }

/* header */
header.top { position: sticky; top: 0; z-index: 20; background: var(--head); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.brand img { width: 32px; height: 32px; }
nav.links { margin-left: auto; display: none; gap: 24px; }
nav.links a { color: var(--muted); text-decoration: none; font-size: .95rem; }
nav.links a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-size: 1rem; }
.btn.primary { background: var(--grad); color: #04111c; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
header.top .btn { margin-left: auto; padding: 9px 16px; font-size: .9rem; }
@media (min-width: 860px) { nav.links { display: flex; } header.top .btn { margin-left: 8px; } }

/* hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 40px; }
.hero::before { content: ""; position: absolute; inset: -40% -20% auto; height: 700px; background: radial-gradient(closest-side, rgba(59,130,246,.28), transparent), radial-gradient(closest-side at 80% 40%, rgba(45,212,191,.18), transparent); pointer-events: none; }
.hero .wrap { position: relative; display: grid; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); background: rgba(45,212,191,.1); border: 1px solid rgba(45,212,191,.25); padding: 5px 12px; border-radius: 999px; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.08; letter-spacing: -.03em; margin: 16px 0; }
h1 .g, h2 .g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.small { font-size: .88rem; color: var(--muted); }
.hero-shots { position: relative; min-height: 300px; }
.hero-shots .desk { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 30px 80px var(--shadow); }
.hero-shots .phone { position: absolute; right: -6px; bottom: -24px; width: 34%; }
@media (min-width: 960px) { .hero { padding: 80px 0 64px; } .hero .wrap { grid-template-columns: 1fr 1.15fr; } }

/* phone frame */
.phone { border: 6px solid var(--frame); border-radius: 30px; overflow: hidden; background: #000; box-shadow: 0 24px 60px var(--shadow); }
.phone img { width: 100%; }
.desk { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 60px var(--shadow); background: var(--bg2); }

/* sections */
section { padding: 64px 0; }
section.alt { background: var(--bg2); border-block: 1px solid var(--line); }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.15; letter-spacing: -.02em; margin: 12px 0 14px; }
h3 { font-size: 1.15rem; margin: 0 0 6px; }
.head { max-width: 46em; margin-bottom: 36px; }
.feature { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .feature { grid-template-columns: 1fr 1.2fr; gap: 56px; } .feature.flip > :first-child { order: 2; } }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.ticks li { padding-left: 34px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-1.5 17.2-5-5 1.8-1.8 3.2 3.2 6.9-6.9 1.8 1.8z"/></svg>') center/contain no-repeat; }
.ticks b { color: var(--text); }
.ticks span { color: var(--muted); }
.benefits { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.benefit { font-size: .88rem; font-weight: 600; background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.3); color: var(--chip); padding: 6px 12px; border-radius: 999px; }
.shots { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; align-items: end; }
.shots.three { grid-template-columns: repeat(3, 1fr); }
.shots.single { grid-template-columns: 1fr; }
figure { margin: 0; }
figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; text-align: center; }

/* timeline for chasing */
.steps { display: grid; gap: 12px; margin-top: 24px; counter-reset: s; }
.step { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.step .when { flex: none; min-width: 74px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
.step p b { color: var(--text); }

/* grid of features */
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.card p { margin: 0; color: var(--muted); font-size: .96rem; }
.card .icon { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; margin-bottom: 14px; color: #04111c; font-size: 1.2rem; }
.card .tag { font-size: .72rem; font-weight: 700; color: #ffd27a; background: rgba(255,210,122,.1); border: 1px solid rgba(255,210,122,.3); border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: middle; }
.card.shot { padding: 0; overflow: hidden; }
.card.shot .body { padding: 18px 20px 22px; }
.card.shot img { border-bottom: 1px solid var(--line); aspect-ratio: 16/10; object-fit: cover; object-position: top; }

/* gallery strip */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(240px, 62%); gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.strip figure { scroll-snap-align: start; }

/* who, switching, pricing */
.who { display: grid; gap: 16px; }
@media (min-width: 760px) { .who { grid-template-columns: repeat(3, 1fr); } }
.switch { counter-reset: n; display: grid; gap: 16px; }
@media (min-width: 860px) { .switch { grid-template-columns: repeat(4, 1fr); } }
.switch .card { position: relative; padding-top: 50px; }
.switch .card::before { counter-increment: n; content: counter(n); position: absolute; top: 16px; left: 22px; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #04111c; font-weight: 800; display: grid; place-items: center; font-size: .85rem; }
.pricing { text-align: center; max-width: 640px; margin-inline: auto; background: radial-gradient(circle at 50% 0, rgba(59,130,246,.2), transparent 70%), var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 44px 26px; }
.honest { border-left: 3px solid var(--teal); padding: 6px 0 6px 18px; color: var(--muted); max-width: 46em; }

/* faq */
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--teal); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 0 0 16px; }

/* footer */
footer { padding: 40px 0 60px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer a { color: var(--muted); }

/* legal pages */
.legal { max-width: 760px; padding: 48px 0 80px; }
.legal h1 { font-size: 2.2rem; }
.draft { background: rgba(255,210,122,.1); border: 1px solid rgba(255,210,122,.35); color: #ffe3a8; border-radius: 12px; padding: 14px 16px; }
.legal p, .legal li { color: var(--legal); }

/* phones: shots full width, the three phone shots swipe sideways */
@media (max-width: 700px) {
  .shots { grid-template-columns: 1fr; }
  .shots .phone { width: 72%; margin-inline: auto; }
  .shots.three { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 8px; }
  .shots.three .phone { flex: 0 0 72%; scroll-snap-align: center; }
  .hero-shots .phone { width: 38%; }
}

/* light / dark switch */
.theme-btn { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--text); display: grid; place-items: center; cursor: pointer; padding: 0; }
.theme-btn svg { width: 20px; height: 20px; }
.theme-btn .sun { display: none; }
html[data-theme="light"] .theme-btn .sun { display: block; }
html[data-theme="light"] .theme-btn .moon { display: none; }
header.top .theme-btn { margin-left: 8px; }
@media (max-width: 859px) { header.top .btn { margin-left: auto; } }
img[data-light] { transition: opacity .25s; }

/* highlights under the hero */
.highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 8px; }
@media (min-width: 760px) { .highlights { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .highlights { grid-template-columns: repeat(6, 1fr); } }
.hl { display: block; text-decoration: none; color: var(--text); background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; transition: transform .2s, border-color .2s; }
.hl:hover { transform: translateY(-3px); border-color: var(--blue); }
.hl .icon { width: 36px; height: 36px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; color: #04111c; font-weight: 800; margin-bottom: 10px; }
.hl b { display: block; font-size: .98rem; }
.hl span { display: block; color: var(--muted); font-size: .84rem; line-height: 1.4; margin-top: 4px; }

/* the click-through demo */
.demo { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .demo { grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; } }
.flows { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 20px; }
.flow { border: 1px solid var(--line); background: var(--card); color: var(--text); border-radius: 999px; padding: 9px 14px; font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; }
.flow[aria-pressed="true"] { background: var(--grad); color: #04111c; border-color: transparent; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; min-height: 190px; display: flex; flex-direction: column; }
.panel .count { font-size: .8rem; font-weight: 700; color: var(--teal); letter-spacing: .06em; text-transform: uppercase; }
.panel h3 { font-size: 1.3rem; margin: 6px 0 6px; }
.panel p { color: var(--muted); margin: 0; }
.panel .nav { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 16px; }
.dots { display: flex; gap: 6px; margin-right: auto; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.dots i.on { background: var(--blue); width: 22px; border-radius: 999px; }
.btn.sm { padding: 9px 16px; font-size: .92rem; }
.stage { position: relative; display: flex; justify-content: center; }
.screen { position: relative; }
.screen.is-phone { width: min(330px, 78vw); }
.screen.is-desk { width: 100%; }
.screen img { width: 100%; }
.screen .fade { animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: .2; transform: scale(.985); } to { opacity: 1; transform: none; } }
.pointer { position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: transparent; z-index: 3; }
.pointer::before, .pointer::after { content: ""; position: absolute; inset: 0; border-radius: 50%; }
.pointer::before { background: rgba(45,212,191,.35); border: 3px solid #2dd4bf; box-shadow: 0 0 0 4px rgba(4,17,28,.35); }
.pointer::after { border: 3px solid #2dd4bf; animation: ping 1.6s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }
.pointer:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.tip { position: absolute; z-index: 4; max-width: 220px; background: #0b1324; color: #e8edf7; border: 1px solid #2dd4bf; border-radius: 12px; padding: 10px 12px; font-size: .86rem; line-height: 1.4; box-shadow: 0 12px 30px rgba(0,0,0,.45); pointer-events: none; }
.tip b { color: #2dd4bf; }
.tap-hint { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); font-size: .82rem; color: var(--muted); white-space: nowrap; }

/* fade sections in as they're reached */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.seen { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .pointer::after, .screen .fade { animation: none; } }
.tip small { display: block; color: #9aa6bf; margin-top: 2px; }
@media (max-width: 959px) {
  .demo { gap: 0; }
  .demo > div:first-child { display: contents; }
  .demo .flows { margin-bottom: 18px; }
  .demo .stage { order: 1; }
  .demo .panel { order: 2; margin-top: 18px; min-height: 0; }
  .screen.is-phone { width: min(280px, 66vw); }
}

/* the demo, as an app */
.screen img.slide-next { animation: slideNext .32s cubic-bezier(.2,.7,.2,1); }
.screen img.slide-back { animation: slideBack .32s cubic-bezier(.2,.7,.2,1); }
@keyframes slideNext { from { opacity: .3; transform: translateX(14%); } to { opacity: 1; transform: none; } }
@keyframes slideBack { from { opacity: .3; transform: translateX(-14%); } to { opacity: 1; transform: none; } }
.frame { overflow: hidden; }
.pointer { transition: opacity .2s; }
.pointer.glide { transition: left .4s ease, top .4s ease, opacity .2s; }
.pointer.moving-off, .tip.hidden { opacity: 0; }
.tip { transition: opacity .2s; }
.pointer.pressed::before { background: rgba(45,212,191,.85); transform: scale(.8); transition: transform .12s, background .12s; }
.pointer.pressed::after { animation: press .3s ease-out; }
@keyframes press { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
.pointer.nudge { animation: nudge .5s ease; }
@keyframes nudge { 0%, 100% { transform: none; } 25% { transform: scale(1.35); } 50% { transform: scale(.9); } 75% { transform: scale(1.15); } }
.tip .tap { display: block; font-weight: 800; color: #2dd4bf; font-size: .95rem; }
.tip .tap::before { content: "👆 "; }
.tip small { display: block; color: #c9d3e6; margin-top: 2px; font-size: .8rem; }
.demo-hint { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 12px; }
@media (prefers-reduced-motion: reduce) { .screen img.slide-next, .screen img.slide-back, .pointer.nudge, .pointer.pressed::after { animation: none; } }

/* early-access form */
.ea-form { text-align: left; margin-top: 26px; display: grid; gap: 14px; }
.ea-grid { display: grid; gap: 14px; }
@media (min-width: 620px) { .ea-grid { grid-template-columns: 1fr 1fr; } }
.ea-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.ea-form input, .ea-form select, .ea-form textarea { font: inherit; font-weight: 400; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; width: 100%; }
.ea-form input:focus, .ea-form select:focus, .ea-form textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.ea-form .bad { border-color: #f87171; }
.ea-form .btn { justify-self: start; }
.ea-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ea-small { margin: 0; }
.ea-msg { margin: 0; min-height: 1.4em; font-weight: 600; }
.ea-msg.err { color: #f87171; }
.ea-done { text-align: center; padding: 18px 0 4px; }
.ea-done h3 { margin: 6px 0; font-size: 1.4rem; }

/* Messages: the second half */
.msg-more { margin-top: 56px; }
.sub-h { font-size: clamp(1.4rem, 3.2vw, 2rem); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 12px; }
.sub-h .g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* The Android app: a drawn lock screen and home-screen widget (made-up data). */
.eyebrow .new { margin-left: 6px; font-size: .7rem; color: #04111c; background: var(--grad); border-radius: 999px; padding: 1px 8px; letter-spacing: .04em; }
.droid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 220px); gap: 20px; align-items: end; justify-content: center; }
.droid-phone { border: 6px solid var(--frame); border-radius: 32px; padding: 28px 14px 22px; min-height: 520px; box-shadow: 0 24px 60px var(--shadow); color: #fff; background: radial-gradient(120% 80% at 80% 0%, #2d8cff 0%, #1b4f86 40%, #0b1a2c 100%); }
.droid-time { font-size: 4rem; font-weight: 300; line-height: 1; text-align: center; letter-spacing: -.02em; }
.droid-date { text-align: center; font-size: .9rem; opacity: .85; margin: 6px 0 26px; }
.droid-note { background: rgba(255,255,255,.94); color: #0c1526; border-radius: 18px; padding: 12px 14px; margin-top: 10px; font-size: .86rem; }
.droid-note b { display: block; font-size: .95rem; }
.droid-note p { margin: 2px 0 0; color: #526079; }
.droid-app { display: flex; align-items: center; gap: 6px; font-size: .74rem; color: #526079; margin-bottom: 6px; }
.droid-ago { margin-left: auto; }
.droid-logo { width: 18px; height: 18px; border-radius: 5px; background: var(--grad); color: #fff; font-weight: 800; font-size: .7rem; display: grid; place-items: center; }
.droid-acts { display: flex; gap: 18px; margin-top: 10px; font-weight: 700; color: #1d4ed8; font-size: .85rem; }
.droid-widget { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 16px; box-shadow: 0 24px 60px var(--shadow); }
.droid-widget .droid-app { color: var(--muted); }
.droid-big { font-size: 2.6rem; font-weight: 800; line-height: 1.1; }
.droid-big small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.droid-bar { height: 8px; border-radius: 99px; background: var(--line); margin: 10px 0; overflow: hidden; }
.droid-bar i { display: block; height: 100%; background: var(--grad); }
.droid-row { display: grid; gap: 2px; font-size: .82rem; color: var(--muted); }
@media (max-width: 600px) { .droid { grid-template-columns: 1fr; } .droid-widget { max-width: 300px; justify-self: center; width: 100%; } }
