:root {
  color-scheme: light dark;
  --bg: #faf8f5; --surface: #ffffff; --sunken: #f1eee9; --text: #24252c; --muted: #5d616c; --line: #e4dfd7;
  --purple: #6e4fb3; --purple-fill: #7a56bd; --purple-soft: #f1eafa; --gold: #8a5d08; --gold-soft: #fbf1da;
  --teal-soft: #e1f4f4; --green-soft: #e4f5eb; --teal: #145a5e; --green: #1f5f40;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101114; --surface: #191a20; --sunken: #15161b; --text: #f3f2f5; --muted: #a9acb6; --line: #2a2c35;
    --purple: #c9b3f1; --purple-fill: #7b5cbf; --purple-soft: #2a2338; --gold: #f0c063; --gold-soft: #352c17;
    --teal-soft: #1a2f31; --green-soft: #1c3026; --teal: #bdebed; --green: #c3edd5;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
}
a { color: var(--purple); text-underline-offset: 3px; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

header.site { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.wordmark { font-weight: 900; letter-spacing: 0.14em; font-size: 19px; }
.pro { display: inline-block; background: var(--purple-fill); color: #fff; font-weight: 800; font-size: 12px; letter-spacing: 0.1em; padding: 3px 8px; border-radius: 7px; }
nav.site { display: flex; gap: 4px; flex-wrap: wrap; }
nav.site a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 10px; border-radius: 8px; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--text); background: var(--sunken); }

.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 48px 0 56px; }
.hero h1 { font-size: clamp(34px, 6vw, 54px); line-height: 1.08; margin: 0 0 16px; letter-spacing: -0.01em; font-weight: 800; }
.hero p.lead { font-size: 19px; color: var(--muted); margin: 0 0 24px; max-width: 34em; }
.hero-art { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero-art .app-icon { width: min(150px, 34vw); height: auto; border-radius: 22.5%; box-shadow: 0 18px 50px rgba(60, 40, 110, 0.28); }
.crew { display: flex; justify-content: center; align-items: flex-end; width: 100%; max-width: 560px; }
.crew img { width: 27%; height: auto; margin: 0 -4.4%; }
.card .who { display: block; width: 130px; height: 138px; margin: -8px 0 10px -22px; }
.with-crew { display: flex; align-items: flex-end; gap: 6px; }
.with-crew img { margin-bottom: 4px; width: 96px; height: 102px; }
.button { display: inline-block; background: var(--purple-fill); color: #fff; font-weight: 700; text-decoration: none; padding: 13px 22px; border-radius: 14px; }
.button.quiet { background: var(--sunken); color: var(--text); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }

section { padding: 40px 0; }
section h2 { font-size: 28px; margin: 0 0 8px; font-weight: 800; }
section > .wrap > p.sub { color: var(--muted); margin: 0 0 24px; max-width: 40em; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.tag { display: inline-block; white-space: nowrap; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; margin-bottom: 12px; }
.tag.purple { background: var(--purple-soft); color: var(--purple); }
.tag.teal { background: var(--teal-soft); color: var(--teal); }
.tag.green { background: var(--green-soft); color: var(--green); }
.tag.gold { background: var(--gold-soft); color: var(--gold); }

table.plans { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
table.plans th, table.plans td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 16px; }
table.plans tr:last-child td { border-bottom: 0; }
table.plans th { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.scroll { overflow-x: auto; }

.notice { background: var(--gold-soft); color: var(--text); border-radius: 16px; padding: 18px 20px; border: 1px solid var(--line); }
.notice strong { color: var(--gold); }

article.doc { padding: 24px 0 64px; }
article.doc h1 { font-size: 34px; line-height: 1.15; margin: 8px 0 4px; }
article.doc h2 { font-size: 21px; margin: 34px 0 6px; }
article.doc .muted { color: var(--muted); }
article.doc li { margin-bottom: 8px; }

footer.site { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0 48px; color: var(--muted); font-size: 14px; }
footer.site .links { display: flex; gap: 6px 18px; flex-wrap: wrap; margin-bottom: 12px; }
footer.site a { color: var(--muted); }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding: 24px 0 32px; gap: 28px; }
  .hero-art { order: -1; }
  .hero-art .app-icon { width: 110px; }
}

/* ---------- Polish and motion ---------- */
html { scroll-behavior: smooth; }
.topbar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s; }
.topbar.scrolled { border-bottom-color: var(--line); }
header.site { padding: 12px 0; }

.hero { position: relative; }
.sky { position: absolute; inset: -40px -20px auto -20px; height: 100%; pointer-events: none; z-index: -1; overflow: hidden; }
.sky svg { width: 100%; height: 100%; }
.sky .route { fill: none; stroke: var(--purple-fill); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 13; opacity: .55; }
.sky .plane { offset-path: path("M -20 366 C 300 378, 520 336, 640 250 S 900 60, 1100 10"); offset-rotate: auto; animation: fly 16s linear infinite; }
@keyframes fly { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.glow { position: absolute; width: 520px; height: 520px; right: -120px; top: -80px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--purple-fill) 34%, transparent), transparent); z-index: -2; filter: blur(10px); }

.store { display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff; text-decoration: none; padding: 9px 20px 9px 16px; border-radius: 14px; border: 1px solid #3a3b44; line-height: 1.1; transition: transform .18s, box-shadow .18s; }
.store:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.28); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11px; font-weight: 600; opacity: .85; letter-spacing: .02em; }
.store b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.button { transition: transform .18s, box-shadow .18s, filter .18s; }
.button:hover { transform: translateY(-2px); filter: brightness(1.06); }

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.card { transition: transform .22s, box-shadow .22s, border-color .22s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(40, 28, 80, .16); border-color: color-mix(in srgb, var(--purple-fill) 45%, var(--line)); }
@keyframes hop { 40% { transform: translateY(-9px) rotate(-3deg); } 100% { transform: none; } }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Phones */
.phones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; align-items: start; margin-top: 12px; }
.shot { text-align: center; margin: 0; }
.shot figcaption { margin-top: 16px; }
.shot figcaption b { display: block; font-size: 17px; }
.shot figcaption span { color: var(--muted); font-size: 15px; }
.phone { --a-bg: #131418; --a-card: #1d1e25; --a-sunk: #17181d; --a-text: #f3f2f5; --a-muted: #a9acb6; --a-purple: #a98be0; --a-psoft: #2a2338; --a-pink: #d9c8f6;
  position: relative; width: min(100%, 290px); margin: 0 auto; aspect-ratio: 920 / 2000; background: var(--a-bg); color: var(--a-text); border-radius: 42px; border: 9px solid #0a0a0d; outline: 1px solid #3a3b44; box-shadow: 0 30px 60px rgba(20, 12, 50, .35); overflow: hidden; text-align: left; font-size: 12px; line-height: 1.35; }
.phone::before { content: ""; position: absolute; top: 9px; left: 50%; width: 82px; height: 22px; margin-left: -41px; background: #000; border-radius: 14px; z-index: 3; }
.phone .scr { position: absolute; inset: 0; padding: 50px 13px 16px; display: flex; flex-direction: column; gap: 14px; }
.phone.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.phone.photo::before { top: 1.7%; left: 50%; width: 31%; height: 4.1%; margin-left: -15.5%; border-radius: 999px; background: #000; box-shadow: inset 0 0 0 1px #16161b; }
.phone.photo::after { content: ""; position: absolute; top: 2.9%; left: 61%; width: 2.6%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2b3350, #0b0c12 70%); z-index: 4; }
.wrap.wide { max-width: 1220px; }
.shot:nth-child(4) .phone { animation: float 7s ease-in-out -3.4s infinite; }
.shot:nth-child(1) .phone { animation: float 7s ease-in-out infinite; }
.shot:nth-child(2) .phone { animation: float 7s ease-in-out -2.3s infinite; }
.shot:nth-child(3) .phone { animation: float 7s ease-in-out -4.6s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.a-card { background: var(--a-card); border-radius: 16px; padding: 12px; }
.a-card.purple { background: var(--a-psoft); }
.a-h { font-weight: 800; font-size: 15px; }
.a-mut { color: var(--a-muted); }
.a-btn { background: var(--a-purple); color: #fff; font-weight: 700; text-align: center; padding: 10px; border-radius: 12px; box-shadow: 0 3px 0 #7b5cbf; }
.a-btn.green { background: #6ccb9a; box-shadow: 0 3px 0 #479c72; color: #0e2a1c; }
.a-row { display: flex; gap: 8px; align-items: center; }
.a-word { font-weight: 900; letter-spacing: .16em; font-size: 17px; }
.a-pro { background: var(--a-purple); color: #fff; font-weight: 800; font-size: 9px; letter-spacing: .1em; padding: 2px 6px; border-radius: 5px; }
.a-gold { color: #f0c063; font-weight: 700; font-size: 11px; margin-left: auto; }
.a-tile { flex: 1; border-radius: 14px; padding: 10px; }
.a-tile small { display: block; font-size: 8.5px; letter-spacing: .08em; font-weight: 700; opacity: .85; }
.a-tile b { font-size: 14px; }
.a-tile.green { background: #1c3026; color: #c3edd5; } .a-tile.teal { background: #1a2f31; color: #bdebed; }
.a-bubble { background: var(--a-card); border-radius: 14px; padding: 9px 11px; flex: 1; }
.a-chip { display: inline-block; font-size: 9px; font-weight: 800; letter-spacing: .07em; padding: 3px 8px; border-radius: 99px; text-transform: uppercase; }
.a-chip.purple { background: var(--a-psoft); color: var(--a-pink); } .a-chip.green { background: #1c3026; color: #c3edd5; }
.a-input { background: var(--a-sunk); border: 2px solid var(--a-purple); border-radius: 12px; padding: 9px 12px; font-weight: 800; font-size: 20px; display: flex; justify-content: space-between; align-items: center; font-variant-numeric: tabular-nums; }
.a-input small { font-size: 11px; color: var(--a-muted); font-weight: 600; }
.caret { display: inline-block; width: 2px; height: 20px; background: var(--a-purple); margin-left: 2px; vertical-align: -3px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.tri .wind, .tri .hdg, .tri .trk { stroke-dasharray: 220; stroke-dashoffset: 220; }
.in .tri .trk, .nojs .tri .trk { animation: draw 1s .2s forwards; } .in .tri .wind, .nojs .tri .wind { animation: draw 1s .9s forwards; } .in .tri .hdg, .nojs .tri .hdg { animation: draw 1s 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
table.nl { width: 100%; border-collapse: separate; border-spacing: 3px; font-variant-numeric: tabular-nums; font-size: 10.5px; }
table.nl th { font-size: 8px; letter-spacing: .05em; color: var(--a-muted); font-weight: 700; padding: 2px 0; }
table.nl th.band { color: #fff; border-radius: 6px; padding: 3px 0; }
table.nl td { background: var(--a-psoft); color: var(--a-pink); border-radius: 6px; text-align: center; padding: 6px 0; font-weight: 700; }
table.nl td.cp { background: var(--a-card); color: var(--a-text); text-align: left; padding-left: 6px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 74px; }
table.nl td.t { background: #1a2f31; color: #bdebed; } table.nl td.g { background: #352c17; color: #f6dfa6; }
.js table.nl tbody tr { opacity: 0; transform: translateX(-10px); transition: opacity .45s, transform .45s; }
.js .in table.nl tbody tr { opacity: 1; transform: none; }
.in table.nl tbody tr:nth-child(1) { transition-delay: .2s; } .in table.nl tbody tr:nth-child(2) { transition-delay: .4s; } .in table.nl tbody tr:nth-child(3) { transition-delay: .6s; }
.in table.nl tbody tr:nth-child(4) { transition-delay: .8s; } .in table.nl tbody tr:nth-child(5) { transition-delay: 1s; } .in table.nl tbody tr:nth-child(6) { transition-delay: 1.2s; } .in table.nl tbody tr:nth-child(7) { transition-delay: 1.4s; }
.fine { font-size: 13px; color: var(--muted); text-align: center; margin-top: 22px; }

/* Kneeboard */
.kneeboard { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.paper { border-radius: 10px; overflow: hidden; box-shadow: 0 24px 60px rgba(20, 12, 50, .3); transform: rotate(-2deg); transition: transform .5s cubic-bezier(.2,.7,.2,1); border: 1px solid var(--line); background: #fff; }
.paper:hover { transform: rotate(0) scale(1.02); }
.paper img { display: block; width: 100%; height: auto; }
ul.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
ul.ticks li { padding-left: 30px; position: relative; margin-bottom: 10px; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft); }
ul.ticks li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 8px; height: 4px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

.get { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--purple-soft); border: 1px solid var(--line); border-radius: 22px; padding: 22px 26px; margin-top: 22px; }
.get h3 { margin: 0 0 2px; font-size: 20px; } .get p { margin: 0; color: var(--muted); font-size: 15px; }
table.plans td:nth-child(3), table.plans th:nth-child(3) { background: color-mix(in srgb, var(--purple-soft) 70%, transparent); font-weight: 700; }
table.plans td .no { color: var(--muted); font-weight: 500; }

@media (max-width: 980px) {
  .phones { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 20px 8px; margin: 12px -20px 0; scrollbar-width: none; }
  .phones::-webkit-scrollbar { display: none; }
  .shot { flex: 0 0 min(72vw, 290px); scroll-snap-align: center; }
  .shot .phone { animation: none !important; }
  .kneeboard { grid-template-columns: 1fr; }
  .glow, .sky { display: none; }
}
/* Screens pop in with a spring, like the app */
.js .shot.reveal, .js .tablet.reveal, .js .paper.reveal { opacity: 0; transform: scale(.72) translateY(40px); transition: opacity .35s ease-out, transform .75s cubic-bezier(.34, 1.56, .64, 1); transition-delay: var(--d, 0s); }
.js .shot.reveal.in, .js .tablet.reveal.in { opacity: 1; transform: none; }
.js .paper.reveal.in { opacity: 1; transform: rotate(-2deg); }

/* Every crew member moves a little */
img[src*="/assets/crew/"] { transform-origin: 50% 96%; animation: sway 4.2s ease-in-out infinite; }
img[src*="-wave"] { animation: wave 2.6s ease-in-out infinite; }
img[src*="-celebrate"] { animation: cheer 1.9s ease-in-out infinite; }
img[src*="-point"] { animation: lean 3.4s ease-in-out infinite; }
img[src*="-think"] { animation: ponder 5s ease-in-out infinite; }
.crew img:nth-child(2), .card:nth-child(2) .who { animation-delay: -.7s; }
.crew img:nth-child(3), .card:nth-child(3) .who { animation-delay: -1.4s; }
.crew img:nth-child(4), .card:nth-child(4) .who { animation-delay: -2.1s; }
.crew img:nth-child(5) { animation-delay: -2.8s; }
.card:hover .who { animation: hop .5s ease; }
@keyframes sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg) translateY(-3px); } }
@keyframes wave { 0%, 100% { transform: rotate(-3deg); } 25% { transform: rotate(3deg) translateY(-4px); } 50% { transform: rotate(-2deg); } 75% { transform: rotate(4deg) translateY(-4px); } }
@keyframes cheer { 0%, 100% { transform: translateY(0) scaleY(1); } 18% { transform: translateY(0) scaleY(.95); } 45% { transform: translateY(-12px) scaleY(1.03); } 70% { transform: translateY(0) scaleY(.97); } }
@keyframes lean { 0%, 100% { transform: rotate(0) translateX(0); } 50% { transform: rotate(3.5deg) translateX(3px); } }
@keyframes ponder { 0%, 100% { transform: rotate(-3deg); } 40% { transform: rotate(3deg); } 60% { transform: rotate(3deg) translateY(-2px); } }

/* The scroll bar is a flight: a dotted route with a plane that follows the page */
.flightbar { position: fixed; z-index: 40; --p: 0; pointer-events: none; }
.flightbar .trail, .flightbar::before { content: ""; position: absolute; }
.flightbar .jet { position: absolute; width: 30px; height: 26px; color: var(--purple-fill); filter: drop-shadow(0 3px 6px rgba(60, 30, 140, .45)); transition: rotate .35s cubic-bezier(.2,.7,.2,1); }
.flightbar .jet svg { display: block; width: 100%; height: 100%; }
.flightbar.v { top: 84px; bottom: 22px; right: 8px; width: 30px; pointer-events: auto; cursor: pointer; touch-action: none; }
.flightbar.v::before { left: 13px; top: 0; bottom: 0; border-left: 3px dotted color-mix(in srgb, var(--purple-fill) 38%, transparent); }
.flightbar.v .trail { left: 13px; top: 0; width: 3px; border-radius: 3px; background: var(--purple-fill); height: calc(var(--p) * (100% - 26px) + 6px); }
.flightbar.v .jet { left: 0; top: calc(var(--p) * (100% - 26px)); rotate: 90deg; }
.flightbar.v.up .jet { rotate: -90deg; }
.flightbar.v:hover .jet { scale: 1.15; }
.flightbar.h { position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; }
.flightbar.h .trail { left: 0; top: 0; height: 3px; background: var(--purple-fill); width: calc(var(--p) * (100% - 24px) + 4px); border-radius: 0 3px 3px 0; }
.flightbar.h .jet { width: 24px; height: 20px; top: -8px; left: calc(var(--p) * (100% - 24px)); }
.flightbar.h.up .jet { rotate: 180deg; }
html.flight-scroll { scrollbar-width: none; }
html.flight-scroll::-webkit-scrollbar { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js table.nl tbody tr { opacity: 1; transform: none; }
  .tri .wind, .tri .hdg, .tri .trk { stroke-dashoffset: 0; }
  .sky .plane { offset-distance: 62%; }
}

/* Five phones, and the E6B block */
.phones.five { grid-template-columns: repeat(5, 1fr); gap: 20px; }
.shot:nth-child(5) .phone { animation: float 7s ease-in-out -1.2s infinite; }
.tablet { border-radius: 22px; border: 8px solid #17141f; overflow: hidden; background: #131418; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.tablet img { display: block; width: 100%; height: auto; }
