/* CrewBrew marketing site v3 — "paper & field" */
:root {
  --ink: #0b1f17;
  --ink-2: #17352a;
  --green: #19966b;
  --green-dark: #0e5e43;
  --orange: #ff7a2f;
  --orange-deep: #e5651c;
  --yellow: #f1bf46;
  --cream: #f6f1e8;
  --cream-2: #efe8db;
  --paper: #fffdf8;
  --white: #fff;
  --line: #ded6c7;
  --muted: #647066;
  --app-blue: #2563eb;
  --app-bg: #f5f6f8;
  --app-line: #e6e8ec;
  --app-text: #111827;
  --app-muted: #6b7280;
  --display: "Barlow Condensed", "DIN Condensed", "Arial Narrow", Impact, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --radius: 22px;
  --shadow: 0 30px 80px rgba(11, 31, 23, 0.16);
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1360px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.display { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: 0.9; letter-spacing: -0.005em; }
.eyebrow {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 15px; color: var(--green-dark);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--orange); border-radius: 2px; }
.lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); max-width: 60ch; }
.mono { font-family: var(--mono); font-weight: 600; }
.accent { color: var(--orange); }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200; padding: 10px 14px;
  background: var(--ink); color: var(--paper); border-radius: 999px; transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px; font-weight: 600; font-size: 16px;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--orange); color: var(--ink); box-shadow: 0 12px 30px rgba(255,122,47,.35); }
.btn-primary:hover { background: #ff8a47; box-shadow: 0 18px 40px rgba(255,122,47,.42); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-2); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn svg { width: 20px; height: 20px; }

.store {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 16px;
  background: var(--ink); color: var(--paper); border-radius: 14px; line-height: 1.05;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .2s;
}
.store:hover { transform: translateY(-2px); background: var(--ink-2); }
.store svg { width: 28px; height: 28px; flex: none; }
.store small { display: block; font-size: 11px; opacity: .75; font-weight: 500; letter-spacing: .02em; }
.store strong { display: block; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 253, 248, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-stuck { border-bottom-color: var(--line); background: rgba(255, 253, 248, 0.9); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: .02em; text-transform: uppercase; }
.brand img { width: 36px; height: 36px; }
.nav-links { display: flex; gap: 28px; margin-left: 12px; font-weight: 500; font-size: 15px; color: var(--ink-2); }
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--orange); transition: right .25s; }
.nav-links a:hover::after { right: 0; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-cta .signin { font-weight: 600; font-size: 15px; }
.nav-cta .btn { padding: 12px 20px; font-size: 15px; }
.nav-menu { display: none; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform .25s, opacity .2s; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 92svh; display: flex; align-items: flex-end; overflow: clip; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; filter: saturate(1.05) contrast(1.02); }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(255,253,248,0.55) 0%, rgba(255,253,248,0.05) 30%, rgba(255,253,248,0.15) 55%, rgba(255,253,248,0.94) 82%, var(--paper) 100%),
    linear-gradient(90deg, rgba(255,253,248,0.65) 0%, rgba(255,253,248,0.0) 55%);
}
.hero-inner { width: min(var(--max), 100% - 2 * var(--gutter)); margin: 0 auto; padding: 22vh 0 64px; }
.hero h1 { font-size: clamp(66px, 11.4vw, 184px); max-width: 9.2em; margin-top: 18px; }
.hero h1 .line { display: block; }
.hero .lede { margin-top: 26px; max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 38px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.hero-proof li { display: inline-flex; align-items: center; gap: 9px; }
.hero-proof li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(25,150,107,.18); }
.hero-in { animation: hero-in .9s cubic-bezier(.2,.8,.2,1) backwards; opacity: 1; }
.hero-in:nth-child(2) { animation-delay: .08s; }
.hero-in:nth-child(3) { animation-delay: .18s; }
.hero-in:nth-child(4) { animation-delay: .28s; }
.hero-in:nth-child(5) { animation-delay: .38s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- ticker ---------- */
.ticker { background: var(--ink); color: var(--paper); overflow: hidden; padding: 14px 0; border-block: 3px solid var(--orange); }
.ticker-track { display: flex; gap: 0; width: max-content; animation: ticker 38s linear infinite; }
.ticker-track span { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: .06em; text-transform: uppercase; padding: 0 26px; white-space: nowrap; display: inline-flex; align-items: center; gap: 26px; }
.ticker-track span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(84px, 10vw, 150px) 0; }
.section-head { max-width: 980px; }
.section-head h2 { font-size: clamp(46px, 6.6vw, 104px); margin-top: 16px; }
.section-head .lede { margin-top: 22px; }
.section.cream { background: var(--cream); }

/* ---------- problem board ---------- */
.board { margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(min(300px, 100%), 1fr)); gap: 28px; }
.slip {
  position: relative; background: var(--white); border: 1px solid var(--line); padding: 30px 28px 32px;
  border-radius: 6px; box-shadow: 0 18px 40px rgba(11,31,23,.08);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
}
.slip::before {
  content: ""; position: absolute; top: -14px; left: 50%; width: 92px; height: 28px; transform: translateX(-50%) rotate(-2deg);
  background: rgba(241,191,70,.75); mix-blend-mode: multiply; border-radius: 2px;
}
.slip:nth-child(odd) { transform: rotate(-1.1deg); }
.slip:nth-child(even) { transform: rotate(0.9deg); }
.slip:nth-child(3n) { transform: rotate(-0.4deg); }
.slip:hover { transform: rotate(0) translateY(-6px) scale(1.02); box-shadow: 0 30px 60px rgba(11,31,23,.14); }
.slip .tag { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.slip h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 40px; line-height: .92; margin-top: 10px; }
.slip p { margin-top: 14px; color: var(--ink-2); font-size: 16px; }
.slip .cost { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14px; font-weight: 600; color: var(--orange-deep); }

/* ---------- storyboard (how it works) ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); margin-top: 48px; align-items: start; }
.steps { display: grid; gap: 0; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .5; transition: opacity .4s; }
.step:last-child { min-height: 54vh; }
.step.is-active { opacity: 1; }
.step .num { font-family: var(--mono); font-size: 14px; letter-spacing: .12em; color: var(--green-dark); }
.step h3 { font-size: clamp(38px, 4.2vw, 62px); margin-top: 12px; }
.step p { margin-top: 18px; color: var(--ink-2); max-width: 46ch; }
.step ul { margin-top: 22px; display: grid; gap: 10px; }
.step li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: 16px; }
.step li svg { width: 22px; height: 22px; flex: none; color: var(--green); margin-top: 1px; }
.stage { position: sticky; top: 90px; height: calc(100svh - 110px); min-height: 560px; display: grid; place-items: center; }
.stage-inner { position: relative; width: 100%; height: 100%; }
.scene { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .55s cubic-bezier(.2,.8,.2,1), transform .55s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.scene.is-active { opacity: 1; transform: none; pointer-events: auto; }
.stage-blob { position: absolute; inset: 8% 4%; border-radius: 40px; background: radial-gradient(120% 90% at 30% 20%, var(--cream-2), var(--cream) 60%, transparent 100%); z-index: -1; }
.step-mobile-only { display: none; }

/* ---------- device frames ---------- */
.laptop { width: min(100%, 720px); }
.laptop-screen { background: var(--app-bg); border-radius: 14px; border: 10px solid #1d2126; box-shadow: var(--shadow); overflow: hidden; aspect-ratio: 16 / 10.8; }
.laptop-base { height: 14px; margin: 0 -3%; background: linear-gradient(#e8e9ec, #c9ccd2); border-radius: 0 0 16px 16px; }
.laptop-base::after { content: ""; display: block; width: 18%; height: 5px; margin: 0 auto; background: #b7bac1; border-radius: 0 0 8px 8px; }

.phone { width: min(100%, 330px); aspect-ratio: 330 / 690; background: #121417; border-radius: 52px; padding: 12px; box-shadow: var(--shadow), inset 0 0 0 2px #2b2f35; position: relative; flex: none; }
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: #0a0b0d; border-radius: 20px; z-index: 3; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: var(--app-bg); display: flex; flex-direction: column; }
.phone.sm { width: min(100%, 290px); }

/* ---------- mock app UI ---------- */
.ui { font-family: var(--body); color: var(--app-text); font-size: 12px; line-height: 1.35; letter-spacing: 0; }
.ui-status { height: 44px; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 26px 6px; font-size: 13px; font-weight: 600; }
.ui-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px 10px; font-weight: 600; font-size: 14px; }
.ui-bar .r { display: flex; gap: 10px; align-items: center; color: var(--app-blue); font-weight: 600; font-size: 12px; }
.ui-body { padding: 4px 14px 16px; overflow: hidden; flex: 1; }
.ui-h1 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 10px; }
.ui-card { background: #fff; border: 1px solid var(--app-line); border-radius: 12px; padding: 12px; margin-top: 10px; }
.ui-card.tight { padding: 10px 12px; }
.ui-welcome { background: linear-gradient(120deg, #1d4ed8, #2563eb); color: #fff; border-radius: 12px; padding: 14px; margin-top: 8px; }
.ui-welcome b { display: block; font-size: 16px; }
.ui-welcome span { opacity: .85; font-size: 11px; }
.ui-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.ui-stat { background: #fff; border: 1px solid var(--app-line); border-radius: 12px; padding: 10px 8px; text-align: center; }
.ui-stat b { display: block; font-size: 18px; color: var(--app-blue); font-weight: 800; }
.ui-stat span { font-size: 10px; color: var(--app-muted); }
.ui-label { font-size: 13px; font-weight: 700; margin: 14px 0 6px; }
.ui-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; background: #fff; border: 1px solid var(--app-line); border-radius: 10px; margin-top: 8px; }
.ui-row b { display: block; font-size: 13px; }
.ui-row small { color: var(--app-muted); font-size: 11px; }
.pill { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.pill.blue { background: #dbeafe; color: #1e40af; }
.pill.amber { background: #fef3c7; color: #92400e; }
.pill.green { background: #dcfce7; color: #166534; }
.pill.gray { background: #f1f3f5; color: #4b5563; }
.pill.red { background: #fee2e2; color: #991b1b; }
.pill.orange { background: #ffedd5; color: #9a3412; }
.ui-working { background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 12px; padding: 12px; margin-top: 10px; }
.ui-working small { color: #047857; font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.ui-working b { display: block; font-size: 14px; margin-top: 3px; }
.ui-working span { color: var(--app-muted); font-size: 11px; }
.ui-gps { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 6px 10px; border-radius: 999px; background: var(--green); color: #fff; font-family: var(--mono); font-size: 11px; font-weight: 700; white-space: nowrap; max-width: 100%; }
.ui-gps i { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.35); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(255,255,255,.12); } }
.ui-action { display: block; text-align: center; color: var(--app-blue); font-weight: 600; font-size: 14px; padding: 12px; background: #fff; border: 1px solid var(--app-line); border-radius: 12px; margin-top: 10px; }
.ui-action.primary { background: var(--app-blue); color: #fff; }
.ui-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.ui-photos div { aspect-ratio: 1; border-radius: 8px; background-size: cover; background-position: center; }
.ui-photos .add { display: grid; place-items: center; border: 1.5px dashed #c7ccd4; color: var(--app-blue); font-weight: 700; font-size: 18px; }
.ui-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ui-kv div { background: #fff; border: 1px solid var(--app-line); border-radius: 10px; padding: 8px 10px; }
.ui-kv small { display: block; color: var(--app-muted); font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.ui-kv b { font-size: 13px; }
.ui-tabs { display: flex; justify-content: space-around; padding: 10px 8px 22px; border-top: 1px solid var(--app-line); background: #fff; font-size: 9px; color: var(--app-muted); font-weight: 600; }
.ui-tabs span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ui-tabs span::before { content: ""; width: 18px; height: 18px; border-radius: 5px; background: #d1d5db; }
.ui-tabs span.on { color: var(--app-blue); }
.ui-tabs span.on::before { background: var(--app-blue); }
.ui-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.ui-chips span { padding: 4px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--app-line); font-size: 10px; font-weight: 600; }
.ui-chips span.on { background: var(--app-blue); color: #fff; border-color: var(--app-blue); }

/* dashboard mock */
.dash { display: grid; grid-template-rows: auto 1fr; height: 100%; font-size: 11px; }
.dash-nav { display: flex; align-items: center; gap: 14px; padding: 9px 16px; background: #fff; border-bottom: 1px solid var(--app-line); font-weight: 600; font-size: 11px; }
.dash-nav .logo { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 12px; margin-right: 6px; }
.dash-nav .logo img { width: 16px; height: 16px; }
.dash-nav .links { display: flex; gap: 12px; color: #374151; }
.dash-nav .links span:first-child { color: var(--app-blue); }
.dash-nav .bell { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; background: #f1f3f5; position: relative; }
.dash-nav .bell::after { content: ""; position: absolute; top: -2px; right: -2px; width: 8px; height: 8px; border-radius: 50%; background: #ef4444; }
.dash-body { padding: 14px 18px; overflow: hidden; }
.dash-title { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.dash-sub { color: var(--app-muted); margin-top: 2px; }
.dash-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.dash-grid div { background: #fff; border: 1px solid var(--app-line); border-radius: 10px; padding: 10px; }
.dash-grid b { display: block; font-size: 20px; font-weight: 800; }
.dash-grid span { color: var(--app-muted); font-size: 10px; }
.dash-table { margin-top: 12px; background: #fff; border: 1px solid var(--app-line); border-radius: 10px; overflow: hidden; }
.dash-table .tr { display: grid; grid-template-columns: 2.2fr 1.2fr 1fr .9fr; gap: 8px; align-items: center; padding: 8px 12px; border-top: 1px solid var(--app-line); }
.dash-table .tr:first-child { border-top: 0; background: #f8f9fb; color: var(--app-muted); font-size: 9px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.dash-table .tr b { font-weight: 600; }
.dash-table .tr .dep { color: var(--app-muted); font-size: 10px; }
.dash-review { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
.dash-ready { background: #fff; border: 1px solid var(--app-line); border-radius: 10px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dash-ready b { display: block; font-size: 13px; }
.dash-ready span { color: var(--app-muted); font-size: 10px; }
.dash-ready .btns { display: flex; gap: 8px; }
.dash-btn { white-space: nowrap; padding: 8px 12px; border-radius: 8px; font-weight: 700; font-size: 11px; color: #fff; background: var(--app-blue); }
.dash-btn.reject { background: #dc2626; }
.dash-evidence { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.dash-evidence .box { background: #fff; border: 1px solid var(--app-line); border-radius: 10px; padding: 10px 12px; }
.dash-evidence .box small { display: block; font-size: 9px; color: var(--app-muted); text-transform: uppercase; letter-spacing: .06em; }
.dash-evidence .box p { margin-top: 4px; font-size: 11px; }
.dash-evidence .ph { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 6px; }
.dash-evidence .ph div { aspect-ratio: 4/3; border-radius: 6px; background-size: cover; background-position: center; }

/* gantt mock */
.gantt { margin-top: 10px; background: #fff; border: 1px solid var(--app-line); border-radius: 12px; overflow: hidden; }
.gantt .g-head { display: grid; grid-template-columns: 78px repeat(8, 1fr); font-size: 9px; color: var(--app-muted); text-align: center; border-bottom: 1px solid var(--app-line); }
.gantt .g-head div { padding: 6px 0; }
.gantt .g-head div:nth-child(5) { color: var(--app-blue); font-weight: 800; }
.gantt .g-row { display: grid; grid-template-columns: 78px 1fr; border-top: 1px solid var(--app-line); align-items: center; min-height: 30px; }
.gantt .g-row:first-of-type { border-top: 0; }
.gantt .g-row .n { font-size: 9.5px; padding: 0 8px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gantt .g-row .n.p { font-weight: 800; }
.gantt .g-row .t { position: relative; height: 30px; background: repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), #eef0f3 calc(12.5% - 1px) 12.5%); }
.gantt .g-row .t::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1.5px; background: var(--app-blue); opacity: .7; }
.gantt .bar { position: absolute; top: 7px; height: 16px; border-radius: 4px; font-size: 8.5px; color: #fff; font-weight: 700; padding: 0 5px; line-height: 16px; white-space: nowrap; overflow: hidden; }
.bar.orange { background: #f59e0b; } .bar.blue { background: #3b82f6; } .bar.green { background: #22c55e; } .bar.gray { background: #9ca3af; }

/* calendar mock */
.cal { margin-top: 10px; background: #fff; border: 1px solid var(--app-line); border-radius: 12px; padding: 10px; }
.cal .m { display: flex; justify-content: space-between; font-weight: 700; font-size: 12px; padding: 0 4px 8px; color: var(--app-blue); }
.cal .m b { color: var(--app-text); }
.cal .g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; font-size: 10px; }
.cal .g span { padding: 5px 0; border-radius: 8px; }
.cal .g span.h { color: var(--app-muted); font-size: 8.5px; font-weight: 700; }
.cal .g span.o { color: #c4c8ce; }
.cal .g span.on { background: var(--app-blue); color: #fff; font-weight: 700; }
.cal .g span.dot { position: relative; }
.cal .g span.dot::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; border-radius: 50%; background: var(--app-blue); transform: translateX(-50%); }

/* ---------- inside the app (horizontal) ---------- */
.rail-wrap { margin-top: 56px; }
.rail { display: flex; gap: 34px; overflow-x: auto; padding: 26px var(--gutter) 40px; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); }
.rail::-webkit-scrollbar { display: none; }
.rail > figure { scroll-snap-align: center; flex: none; width: 300px; }
.rail figcaption { margin-top: 20px; padding-left: 6px; }
.rail figcaption b { display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: 1; }
.rail figcaption span { display: block; color: var(--muted); font-size: 14px; margin-top: 6px; }
.rail-hint { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; font-weight: 500; }
.rail-hint svg { width: 22px; height: 22px; }

/* ---------- portals ---------- */
.portals { display: grid; grid-template-columns: repeat(2, minmax(min(320px, 100%), 1fr)); gap: 28px; margin-top: 56px; }
.portal { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 36px; position: relative; overflow: hidden; }
.portal::after { content: attr(data-n); position: absolute; right: 22px; top: 12px; font-family: var(--display); font-weight: 800; font-size: 120px; line-height: 1; color: var(--cream-2); z-index: 0; }
.portal > * { position: relative; z-index: 1; }
.portal h3 { font-size: clamp(40px, 4vw, 56px); margin-top: 8px; }
.portal .sub { color: var(--muted); margin-top: 8px; font-size: 16px; }
.portal ul { margin-top: 26px; display: grid; gap: 14px; }
.portal li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; font-size: 16px; color: var(--ink-2); }
.portal li i { width: 34px; height: 34px; border-radius: 10px; background: var(--cream); display: grid; place-items: center; color: var(--green-dark); }
.portal li i svg { width: 18px; height: 18px; }
.portal li b { color: var(--ink); }

/* ---------- trades ---------- */
.trades { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trades span { padding: 14px 22px; border-radius: 999px; border: 2px solid var(--ink); font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: .04em; text-transform: uppercase; transition: background .2s, color .2s, transform .2s; }
.trades span:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.trades span.more { border-style: dashed; color: var(--muted); border-color: var(--line); }

/* ---------- who ---------- */
.who { display: grid; grid-template-columns: repeat(4, minmax(min(240px, 100%), 1fr)); gap: 20px; margin-top: 52px; }
.who div { padding: 30px 26px; border-radius: 18px; border: 1px solid var(--line); background: var(--white); }
.who div.not { background: transparent; border-style: dashed; }
.who .k { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--green-dark); }
.who div.not .k { color: var(--muted); }
.who h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: .95; margin-top: 10px; }
.who p { margin-top: 12px; color: var(--ink-2); font-size: 15px; }

/* ---------- cloud ---------- */
.cloud { display: grid; grid-template-columns: repeat(4, minmax(min(220px, 100%), 1fr)); gap: 18px; margin-top: 48px; }
.cloud div { padding: 26px 24px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.cloud div svg { width: 30px; height: 30px; color: var(--orange); }
.cloud h3 { font-size: 19px; margin-top: 16px; font-weight: 700; letter-spacing: -.01em; }
.cloud p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ---------- download ---------- */
.download { position: relative; overflow: clip; }
.download-card {
  position: relative; border-radius: 34px; background: var(--ink); color: var(--paper); padding: clamp(48px, 7vw, 96px);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; overflow: hidden;
}
.download-card::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,47,.45), transparent 62%); }
.download-card > * { position: relative; }
.download-card h2 { font-size: clamp(50px, 7vw, 112px); }
.download-card .lede { color: rgba(255,253,248,.78); margin-top: 20px; }
.download-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.download-actions .store { background: var(--paper); color: var(--ink); }
.download-actions .store:hover { background: #fff; }
.download-card .support { margin-top: 26px; font-size: 15px; color: rgba(255,253,248,.7); }
.download-card .support a { color: var(--paper); font-weight: 600; border-bottom: 1px solid rgba(255,253,248,.4); }
.download-visual { display: grid; place-items: center; }
.download-visual .phone { transform: rotate(-6deg); }

/* ---------- community ---------- */
.community { display: grid; grid-template-columns: repeat(2, minmax(min(300px, 100%), 1fr)); gap: 20px; margin-top: 44px; }
.community a { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 26px 28px; border-radius: 18px; border: 1px solid var(--line); background: var(--white); transition: transform .25s, box-shadow .25s; }
.community a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.community a svg { width: 34px; height: 34px; }
.community b { display: block; font-size: 19px; }
.community span { color: var(--muted); font-size: 15px; }
.community .arrow { width: 26px; height: 26px; color: var(--orange); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0 56px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px 36px; align-items: center; justify-content: space-between; font-size: 14px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; font-weight: 500; color: var(--ink-2); }
.footer-links a:hover { color: var(--orange-deep); }

/* ---------- reveal ---------- */
.reveal { opacity: 1; }
.js-motion .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.js-motion .reveal.is-visible { opacity: 1; transform: none; }
.js-motion .reveal[data-delay="1"] { transition-delay: .1s; }
.js-motion .reveal[data-delay="2"] { transition-delay: .2s; }
.js-motion .reveal[data-delay="3"] { transition-delay: .3s; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .board { grid-template-columns: repeat(2, minmax(min(300px, 100%), 1fr)); }
  .who { grid-template-columns: repeat(2, minmax(min(240px, 100%), 1fr)); }
  .cloud { grid-template-columns: repeat(2, minmax(min(220px, 100%), 1fr)); }
  .download-card { grid-template-columns: 1fr; }
  .download-visual { display: none; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta .signin { display: none; }
  .nav-toggle { display: block; }
  .nav-cta { margin-left: 0; }
  .nav-inner { gap: 12px; }
  .nav-inner .nav-cta { order: 3; }
  .nav-inner .nav-toggle { order: 4; margin-left: 0; }
  .nav-inner .brand { margin-right: auto; }
  .nav-menu { display: none; padding: 8px 0 20px; border-top: 1px solid var(--line); }
  .nav.is-open .nav-menu { display: grid; gap: 4px; }
  .nav-menu a { padding: 12px 4px; font-weight: 600; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav-menu a:last-child { border-bottom: 0; }
  .nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { min-height: auto; display: block; }
  .hero-media { height: 46svh; inset: auto 0 auto 0; top: 0; }
  .hero-scrim { height: 46svh; inset: auto 0 auto 0; top: 0; background: linear-gradient(180deg, rgba(255,253,248,.2), rgba(255,253,248,0) 30%, rgba(255,253,248,0) 70%, var(--paper) 100%); }
  .hero-inner { padding: 40svh 0 48px; position: relative; }
  .hero-inner::before { content: ""; position: absolute; inset: 38svh 0 0 0; background: var(--paper); z-index: -1; -webkit-mask-image: linear-gradient(180deg, transparent, #000 60px); mask-image: linear-gradient(180deg, transparent, #000 60px); }
  .hero h1 { font-size: clamp(58px, 17vw, 100px); }
  .hero-actions .btn, .hero-actions .store { width: 100%; }

  .story { grid-template-columns: 1fr; }
  .stage { display: none; }
  .step { min-height: 0; opacity: 1; padding: 28px 0; }
  .step-mobile-only { display: grid; place-items: center; margin-top: 28px; padding: 28px 16px; border-radius: 26px; background: var(--cream); }
  .steps, .step, .step-mobile-only, .step-mobile-only > * { min-width: 0; max-width: 100%; }
  .step-mobile-only .laptop { width: 100%; }
  .step-mobile-only .phone { width: min(100%, 280px); }
  .step-mobile-only .laptop-screen { aspect-ratio: 16 / 11.5; }
  .step-mobile-only .dash-nav .links { display: none; }
  .step-mobile-only .dash-grid { grid-template-columns: repeat(2, 1fr); }
  .step-mobile-only .dash-table .tr { grid-template-columns: 2fr 1fr; }
  .step-mobile-only .dash-table .tr > :nth-child(2), .step-mobile-only .dash-table .tr > :nth-child(3) { display: none; }
  .section-head h2 { font-size: clamp(44px, 11vw, 72px); }
  .slip h3 { font-size: 34px; }
  .portal { padding: 30px 24px; }
  .download-card { padding: 40px 26px; border-radius: 26px; }
  .download-actions .store { width: 100%; }
  .ticker-track span { font-size: 20px; }
}
@media (max-width: 640px) {
  .board, .who, .cloud, .portals, .community { grid-template-columns: 1fr; }
  .board { gap: 34px; }
  .portal::after { font-size: 72px; top: 10px; right: 16px; }
  .portal h3 { font-size: 36px; padding-right: 64px; }
  .step-mobile-only .laptop-screen { aspect-ratio: 16 / 13; }
  .ui-gps { font-size: 10px; padding: 6px 9px; }
}
@media (max-width: 430px) {
  .brand { font-size: 22px; gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .nav-cta .btn { padding: 10px 14px; font-size: 14px; }
  .nav-inner { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .hero-in { animation: none; }
  .btn, .slip, .community a, .trades span { transition: none; }
}
