/* ==========================================================================
   BLH APPS — styles
   Spacing on a 4/8 px grid. Type scale: 13 · 15 · 17 · 19 · 24 · 40 · 64 · 96
   ========================================================================== */

:root {
  /* Color */
  --bg: #0B0C0E;
  --bg-raise: #0F1013;
  --surface: #121317;
  --surface-hover: #15171B;
  --line: #1B1D22;
  --line-2: #24262C;
  --line-3: #30333A;
  --ink: #F1EFE9;
  --ink-2: #BDBCC2;
  --muted: #9C9CA4;
  --faint: #7C7D85;
  --accent: #9BB0FF;
  --accent-ink: #B9C6FF;
  --accent-soft: rgba(155, 176, 255, .12);
  --accent-line: rgba(155, 176, 255, .32);
  --highlight: inset 0 1px 0 rgba(255, 255, 255, .045);

  /* Type */
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --max: 1200px;
  --gutter: 40px;
  --header: 64px;
  --section: 96px;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}
body.menu-open { overflow: hidden; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
svg { flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(155, 176, 255, .28); }

.skip { position: fixed; left: 16px; top: -64px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--bg); font-size: 15px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Type ------------------------------------------------------------- */
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -.022em; line-height: 1; }
.display em { font-style: italic; color: var(--accent); padding-right: .04em; }
.t-hero { font-size: clamp(56px, 7.4vw, 104px); line-height: .94; letter-spacing: -.03em; }
.t-section { font-size: clamp(44px, 5.2vw, 64px); }
.t-huge { font-size: clamp(52px, 8vw, 112px); line-height: .95; letter-spacing: -.03em; }
.lede { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 30rem; }
.body-muted { color: var(--muted); }
.label { font: 500 13px/1 var(--mono); letter-spacing: .06em; color: var(--faint); }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -.005em; white-space: nowrap;
  border: 1px solid var(--line-3); color: var(--ink);
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { border-color: #4A4D55; background: rgba(255, 255, 255, .03); }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn--primary:hover { background: #fff; border-color: #fff; }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---- Header ----------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header);
  background: rgba(11, 12, 14, 0); border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
}
.header.is-scrolled {
  background: var(--header-bg, rgba(11, 12, 14, .72)); border-bottom-color: var(--line);
  backdrop-filter: saturate(150%) blur(16px); -webkit-backdrop-filter: saturate(150%) blur(16px);
}
.header__inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.brand__mark { width: 28px; height: 28px; }
.brand__word { font-size: 14px; font-weight: 600; letter-spacing: .16em; }
.nav { display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(18, 19, 23, .6); }
.nav a {
  position: relative; height: 32px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px;
  font-size: 14px; color: var(--muted); transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a.is-active { color: var(--ink); background: rgba(255, 255, 255, .07); }
.header__end { justify-self: end; display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-3); align-items: center; justify-content: center; }
.menu-btn span { position: relative; width: 16px; height: 1.5px; background: var(--ink); transition: background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-btn span::before { transform: translateY(-5px); }
.menu-btn span::after { transform: translateY(5px); }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: rotate(45deg); }
.menu-open .menu-btn span::after { transform: rotate(-45deg); }

.sheet {
  position: fixed; inset: var(--header) 0 0 0; z-index: 99; padding: 32px var(--gutter) 40px;
  background: var(--bg); display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.menu-open .sheet { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.sheet nav { display: flex; flex-direction: column; }
.sheet nav a { font: 400 44px/1 var(--serif); letter-spacing: -.02em; padding: 16px 0; border-bottom: 1px solid var(--line); }
.sheet__foot { display: flex; flex-direction: column; gap: 16px; }
.sheet__foot .btn { width: 100%; }

/* ---- Hero ------------------------------------------------------------- */
.hero { padding: calc(var(--header) + 112px) 0 var(--section); overflow: clip; }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.hero__copy { grid-column: 1 / span 6; display: flex; flex-direction: column; align-items: flex-start; }
.hero__copy .lede { margin-top: 32px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.hero__art { grid-column: 7 / span 6; position: relative; height: 520px; }

.glow { position: absolute; left: 50%; top: 52%; width: 520px; height: 520px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(155, 176, 255, .10), transparent); pointer-events: none; }

.win {
  position: absolute; left: 0; right: 64px; top: 48px; height: 376px; border-radius: 16px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--highlight), 0 30px 60px -20px rgba(0, 0, 0, .6);
}
.win__bar { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.win__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-3); }
.win__url { margin: 0 auto; height: 24px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; border-radius: 6px; background: var(--bg-raise); font: 400 11px/1 var(--mono); color: var(--faint); transform: translateX(-20px); }
.win__body { display: grid; grid-template-columns: 136px minmax(0, 1fr); height: calc(100% - 40px); }
.win__side { padding: 20px 16px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.win__nav { height: 28px; border-radius: 8px; display: flex; align-items: center; gap: 8px; padding: 0 8px; }
.win__nav.is-on { background: rgba(255, 255, 255, .05); }
.win__nav b { width: 12px; height: 12px; border-radius: 4px; background: var(--line-3); }
.win__nav.is-on b { background: var(--accent); }
.win__nav s { height: 6px; border-radius: 3px; background: var(--line-2); flex: 1; text-decoration: none; }
.win__main { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.win__title { height: 12px; width: 40%; border-radius: 4px; background: #3A3D45; }
.win__sub { height: 6px; width: 60%; border-radius: 3px; background: var(--line-2); margin-top: -6px; }
.win__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.win__tile { height: 88px; border-radius: 12px; background: var(--bg-raise); border: 1px solid var(--line); padding: 12px; display: flex; flex-direction: column; justify-content: space-between; }
.win__tile i { width: 32px; height: 6px; border-radius: 3px; background: var(--line-3); }
.win__tile u { width: 56%; height: 14px; border-radius: 4px; background: #2C2F36; text-decoration: none; }
.win__tile.is-accent { background: var(--accent-soft); border-color: var(--accent-line); }
.win__tile.is-accent u { background: rgba(155, 176, 255, .55); }
.win__chart { flex: 1; border-radius: 12px; background: var(--bg-raise); border: 1px solid var(--line); position: relative; overflow: hidden; }
.win__chart svg { position: absolute; inset: auto 0 0 0; width: 100%; height: 70%; }

.phone {
  position: absolute; right: 0; top: 168px; width: 200px; height: 352px; border-radius: 36px; padding: 8px;
  background: #17181C; border: 1px solid #2B2E35; box-shadow: var(--highlight), 0 40px 80px -10px rgba(0, 0, 0, .7);
  animation: float 8s var(--ease) infinite;
}
.phone__screen { height: 100%; border-radius: 28px; background: #0D0E11; padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.phone__notch { width: 64px; height: 18px; border-radius: 10px; background: #000; margin: 0 auto 6px; }
.phone__hello { height: 10px; width: 52%; border-radius: 4px; background: #3A3D45; }
.phone__card { height: 112px; border-radius: 18px; background: var(--accent); padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.phone__card i { height: 6px; width: 40%; border-radius: 3px; background: rgba(11, 12, 14, .35); }
.phone__card u { height: 14px; width: 64%; border-radius: 4px; background: rgba(11, 12, 14, .7); text-decoration: none; }
.phone__row { height: 40px; border-radius: 12px; background: #17191D; display: flex; align-items: center; gap: 10px; padding: 0 10px; }
.phone__row b { width: 20px; height: 20px; border-radius: 6px; background: var(--line-3); }
.phone__row s { height: 6px; flex: 1; border-radius: 3px; background: var(--line-2); text-decoration: none; }

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

/* ---- Platforms -------------------------------------------------------- */
.platforms { padding: 0; }
.platforms__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.platform { height: 104px; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 15px; color: var(--ink-2); }
.platform + .platform { border-left: 1px solid var(--line); }
.platform svg { color: var(--accent); }

/* ---- Section head ----------------------------------------------------- */
.head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; margin-bottom: 56px; }
.head > :first-child { grid-column: 1 / span 7; }
.head > p { grid-column: 9 / span 4; color: var(--muted); font-size: 17px; padding-bottom: 6px; }

/* ---- App cards -------------------------------------------------------- */
.apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
  position: relative; display: flex; flex-direction: column; min-height: 320px; padding: 32px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--highlight);
  transition: border-color .35s var(--ease), background .35s var(--ease), transform .45s var(--ease);
}
.card:hover { background: var(--surface-hover); border-color: var(--line-3); transform: translateY(-4px); }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font: 400 30px/1 var(--serif); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.icon img { width: 100%; height: 100%; object-fit: cover; }
.icon--sm { width: 32px; height: 32px; border-radius: 9px; font-size: 19px; }
.status { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-3); font: 500 12px/1 var(--sans); color: var(--muted); white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.status--development, .status--beta { color: var(--accent-ink); border-color: var(--accent-line); }
.status--development::before, .status--beta::before { background: var(--accent); animation: pulse 2.4s ease-in-out infinite; }
.status--live { color: var(--bg); background: var(--accent); border-color: var(--accent); }
.status--live::before { background: var(--bg); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.card__body { margin-top: 40px; }
.card__name { font-size: 24px; font-weight: 500; letter-spacing: -.015em; line-height: 1.25; }
.card__tag { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.card__foot { margin-top: auto; padding-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 8px; background: rgba(255, 255, 255, .04); font-size: 12px; color: var(--ink-2); }
.card__go { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-3); display: flex; align-items: center; justify-content: center; color: var(--muted); transition: all .35s var(--ease); }
.card:hover .card__go { background: var(--ink); border-color: var(--ink); color: var(--bg); transform: rotate(-45deg); }
.card__url { margin-top: 12px; font: 400 13px/1 var(--mono); color: var(--faint); }

.card--more {
  grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; gap: 24px; padding: 24px 32px;
  background: transparent; border-style: dashed; box-shadow: none;
}
.card--more:hover { transform: none; background: rgba(255, 255, 255, .015); }
.card--more .card__body { margin: 0; flex: 1; }
.card--more .card__name { font-size: 19px; }
.card--more .card__tag { margin-top: 4px; }
.plus { width: 56px; height: 56px; border-radius: 14px; border: 1px dashed var(--line-3); display: flex; align-items: center; justify-content: center; color: var(--muted); }

/* ---- Approach --------------------------------------------------------- */
.approach { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.approach__intro { grid-column: 1 / span 5; align-self: start; position: sticky; top: calc(var(--header) + 48px); }
.approach__intro p { margin-top: 24px; color: var(--muted); max-width: 24rem; }
.principles { grid-column: 7 / span 6; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.principle { display: grid; grid-template-columns: 56px minmax(0, 1fr); padding: 32px 0; border-bottom: 1px solid var(--line-2); }
.principle__n { font: 500 13px/32px var(--mono); color: var(--accent); }
.principle h3 { font-size: 24px; font-weight: 500; letter-spacing: -.015em; line-height: 32px; }
.principle p { margin-top: 8px; color: var(--muted); }

/* ---- Availability ----------------------------------------------------- */
.band {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center;
  padding: 64px; border-radius: 32px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--highlight);
  position: relative; overflow: hidden;
}
.band::after { content: ""; position: absolute; right: -160px; top: -200px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(closest-side, rgba(155, 176, 255, .08), transparent); pointer-events: none; }
.band__copy { grid-column: 1 / span 6; }
.band__copy h2 { font-size: 40px; line-height: 1.05; }
.band__copy p { margin-top: 16px; color: var(--muted); max-width: 26rem; }
.stores { grid-column: 8 / span 5; display: flex; gap: 12px; justify-content: flex-end; position: relative; z-index: 1; }
.store {
  display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 20px 0 16px; border-radius: 14px;
  border: 1px solid var(--line-3); background: var(--bg-raise); color: var(--ink); transition: border-color .25s var(--ease), background .25s var(--ease);
}
a.store:hover { border-color: #4A4D55; }
.store__txt { display: flex; flex-direction: column; gap: 3px; }
.store small { font-size: 11px; line-height: 1; color: var(--faint); }
.store span { font-size: 16px; line-height: 1; font-weight: 500; letter-spacing: -.01em; }
.store svg { color: var(--ink-2); }
.store--primary { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.store--primary small { color: rgba(11, 12, 14, .6); }
.store--primary svg { color: var(--bg); }
a.store--primary:hover { background: #fff; }

/* ---- Contact ---------------------------------------------------------- */
.contact { text-align: center; padding-bottom: calc(var(--section) + 32px); }
.contact .display { max-width: 15ch; margin: 0 auto; text-wrap: balance; }
.contact__actions { margin-top: 48px; display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }
.email { height: 56px; padding: 0 28px; font-size: 18px; }
.copy { height: 56px; width: 56px; padding: 0; }
.copy .ok { display: none; }
.copy.is-done .ok { display: block; }
.copy.is-done .cp { display: none; }

/* ---- Footer ----------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; }
.footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; }
.footer__brand { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer__brand p { color: var(--muted); font-size: 15px; max-width: 18rem; }
.footer__col { grid-column: span 2; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer__col:first-of-type { grid-column: 7 / span 2; }
.footer__col h4 { margin: 0 0 4px; font: 500 13px/1.6 var(--sans); color: var(--faint); }
.footer__col a { color: var(--ink-2); transition: color .2s; }
.footer__col a:hover { color: var(--ink); }
.footer__bar { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--faint); }

/* ---- App page --------------------------------------------------------- */
.app-hero { padding: calc(var(--header) + 96px) 0 var(--section); }
.app-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.app-hero__copy { grid-column: 1 / span 6; display: flex; flex-direction: column; align-items: flex-start; }
.app-hero__copy .display { margin-top: 32px; }
.app-hero--rich .app-hero__copy .display { margin-top: 0; }
.app-hero__copy .lede { margin-top: 28px; }
.app-hero__copy .stores { margin-top: 40px; justify-content: flex-start; flex-wrap: wrap; }
.app-hero__copy .chips { margin-top: 24px; }
.app-title { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; }
.shots { grid-column: 7 / span 6; display: flex; justify-content: center; align-items: flex-end; gap: 24px; }
.shot { width: 232px; aspect-ratio: 390 / 844; border-radius: 40px; padding: 8px; background: var(--frame, #17181C); border: 1px solid var(--frame-line, #2B2E35); box-shadow: var(--highlight), 0 40px 80px -20px rgba(0, 0, 0, .7); }
.shot:first-child { margin-bottom: -32px; }
.shot__screen { height: 100%; border-radius: 32px; overflow: hidden; background: var(--surface); display: flex; align-items: center; justify-content: center; font: 400 12px/1 var(--mono); color: var(--faint); }
.shot:nth-child(2) .shot__screen { background: var(--accent-soft); color: var(--accent-ink); }
.shot__screen img { width: 100%; height: 100%; object-fit: cover; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feature { padding: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--highlight); }
.feature__ic { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); }
.feature h3 { margin-top: 32px; font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.feature p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ---- Prose (legal) ---------------------------------------------------- */
.prose { padding: calc(var(--header) + 96px) 0 var(--section); }
.prose .inner { max-width: 680px; }
.prose .display { margin: 20px 0 32px; }
.prose h2 { font: 400 28px/1.2 var(--serif); margin: 48px 0 12px; }
.prose p, .prose li { color: var(--ink-2); }
.prose a { color: var(--ink); border-bottom: 1px solid var(--accent-line); }

/* ---- Reveal ----------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone, .status::before { animation: none !important; }
}

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero__copy, .app-hero__copy { grid-column: 1 / -1; }
  .hero__art { grid-column: 1 / -1; margin-top: 72px; max-width: 600px; width: 100%; justify-self: center; }
  .shots { grid-column: 1 / -1; margin-top: 72px; }
  .apps, .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .approach__intro { grid-column: 1 / -1; position: static; margin-bottom: 48px; }
  .principles { grid-column: 1 / -1; }
  .band__copy, .stores { grid-column: 1 / -1; }
  .stores { justify-content: flex-start; margin-top: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col, .footer__col:first-of-type { grid-column: span 4; }
}
@media (max-width: 860px) {
  .nav, .header__cta { display: none; }
  .menu-btn { display: inline-flex; }
  .header__inner { grid-template-columns: 1fr auto; }
  .head > :first-child, .head > p { grid-column: 1 / -1; }
  .head > p { margin-top: 20px; padding: 0; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --section: 72px; }
  body { font-size: 16px; }
  .hero { padding-top: calc(var(--header) + 64px); }
  .app-hero { padding-top: calc(var(--header) + 56px); }
  .lede { font-size: 17px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__art { height: 400px; margin-top: 56px; }
  .win { right: 40px; top: 40px; height: 290px; }
  .win__body { grid-template-columns: 72px minmax(0, 1fr); }
  .win__nav s { display: none; }
  .win__main { padding: 16px; gap: 12px; }
  .win__tile { height: 64px; padding: 8px; }
  .phone { width: 150px; height: 270px; top: 130px; border-radius: 28px; }
  .phone__screen { border-radius: 21px; padding: 10px; gap: 8px; }
  .phone__card { height: 76px; border-radius: 14px; }
  .phone__row { height: 32px; }
  .platforms__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform { height: 80px; justify-content: flex-start; padding-left: 16px; }
  .platform + .platform { border-left: 0; }
  .platform:nth-child(even) { border-left: 1px solid var(--line); }
  .platform:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .platform:last-child { grid-column: 1 / -1; }
  .head { margin-bottom: 40px; }
  .apps, .features { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .card { min-height: 0; padding: 24px; border-radius: 24px; }
  .card__body { margin-top: 32px; }
  .card--more { flex-direction: column; align-items: flex-start; padding: 24px; }
  .principle { grid-template-columns: 40px minmax(0, 1fr); padding: 24px 0; }
  .principle h3 { font-size: 20px; }
  .band { padding: 32px 24px; border-radius: 24px; }
  .band__copy h2 { font-size: 34px; }
  .stores { flex-direction: column; }
  .store { width: 100%; }
  .contact__actions { flex-direction: row; }
  .email { flex: 1; padding: 0 20px; font-size: 16px; }
  .footer { padding-top: 48px; }
  .footer__col, .footer__col:first-of-type { grid-column: span 6; }
  .footer__col:last-of-type { grid-column: 1 / -1; }
  .shot { width: 156px; border-radius: 30px; }
  .shot__screen { border-radius: 23px; }
  .shot:first-child { margin-bottom: -20px; }
}
.card__body { display: block; }
.header__inner--2 { grid-template-columns: 1fr auto; }
.app-hero__copy .t-hero { font-size: clamp(48px, 5.6vw, 80px); line-height: .98; }
@media (max-width: 640px) { .card--more .card__go { display: none; } }

/* ==========================================================================
   Per-app themed pages (app.html with a `theme` in apps.js)
   ========================================================================== */
[data-scheme="light"] body { background: var(--bg); }
[data-scheme="light"] .card, [data-scheme="light"] .feature, [data-scheme="light"] .band { box-shadow: var(--shadow); }
[data-scheme="light"] .btn:hover { background: rgba(31, 45, 112, .04); border-color: var(--ink-2); }
[data-scheme="light"] .btn--primary:hover, [data-scheme="light"] a.store--primary:hover { background: #2A3A86; border-color: #2A3A86; }
[data-scheme="light"] .store { background: var(--surface); }
[data-scheme="light"] .store--primary { background: var(--ink); border-color: var(--ink); }
[data-scheme="light"] .band::after { background: radial-gradient(closest-side, var(--glow), transparent); }
[data-scheme="light"] .status--development { color: var(--accent-ink); border-color: var(--accent-line); background: var(--accent-soft); }
[data-scheme="light"] .status--development::before { background: var(--accent); }
[data-scheme="light"] .feature__ic { background: var(--accent-soft); color: var(--accent-ink); }
[data-scheme="light"] .label { color: var(--faint); }
[data-scheme="light"] .prose a, [data-scheme="light"] .band a { color: var(--ink); border-bottom: 1px solid var(--accent-line); }
.app-title__name { font: 400 26px/1 var(--serif); letter-spacing: -.01em; }
.app-hero--rich { position: relative; overflow: clip; }
.app-hero--rich::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 75% 45%, var(--glow, transparent), transparent 70%);
}
.app-hero--rich .wrap { position: relative; }

.mascot-stage { grid-column: 7 / span 6; position: relative; width: 100%; max-width: 480px; aspect-ratio: 1; justify-self: center; color: var(--ink); }
.mascot-stage__halo { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(closest-side, var(--glow, rgba(155,176,255,.12)), transparent); }
.mascot-stage__dial { position: absolute; inset: 0; width: 100%; height: 100%; }
.mascot-stage__mascot { position: absolute; left: 50%; top: 50%; width: 66%; transform: translate(-50%, -49%); animation: bob 5.5s var(--ease) infinite; filter: drop-shadow(0 18px 24px rgba(31, 45, 112, .12)); }
@keyframes bob { 0%, 100% { transform: translate(-50%, -49%); } 50% { transform: translate(-50%, -52%); } }

.screens { padding-top: 0; }
.screens__rail {
  display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
  padding: 8px max(var(--gutter), calc((100vw - var(--max)) / 2)) 32px; scrollbar-width: none;
}
.screens__rail::-webkit-scrollbar { display: none; }
.screen { margin: 0; flex: none; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.screen .shot { width: 248px; margin: 0 !important; transform: none !important; box-shadow: 0 30px 60px -24px rgba(31, 45, 112, .35); }
.screen figcaption { font-size: 15px; color: var(--ink-2); }

.features--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.features--4 .feature h3 { margin-top: 28px; }

.areas .wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.areas__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 760px; }
.areas__list li { height: 40px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line-3); background: var(--surface); font-size: 15px; color: var(--ink-2); }
.band--app .band__copy h2 { font-size: clamp(32px, 3.4vw, 40px); }

@media (max-width: 1080px) {
  .mascot-stage { grid-column: 1 / -1; margin-top: 56px; max-width: 420px; }
  .features--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .mascot-stage { max-width: 320px; margin-top: 40px; }
  .features--4 { grid-template-columns: minmax(0, 1fr); }
  .screen .shot { width: 210px; }
  .screens__rail { gap: 20px; }
  .app-title__name { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .mascot-stage__mascot { animation: none; } }
.screens { padding-bottom: 48px; }
@media (max-width: 640px) { .app-hero__copy .stores { align-self: stretch; } }
