/* whereisalex.ai: the landing page, from the Claude Design handoff (whereisalex.dc.html).
   Self-contained: no external requests. Fonts are the app's own, self-hosted, cut down to
   Latin (Google Fonts' latin range) and packed as WOFF2. */

@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/site/fonts/Anton-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/site/fonts/Archivo-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/site/fonts/Archivo-Bold.woff2') format('woff2'); }

:root {
  --paper: #F0E7D3;
  --card: #FBF5E7;
  --ink: #241E1A;
  --ink-soft: #4A3F37;
  --brick: #B4483A;
  --brick-shade: #8E3329;
  --teal: #47838C;
  --ochre: #D19A3A;
  --olive: #7C8F4A;
  --cream: #E6DCC6;
  --gutter: clamp(18px, 4vw, 48px);
  --dots: radial-gradient(rgba(36,30,26,.09) .5px, transparent .6px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: var(--dots);
  background-size: 3px 3px;
  color: var(--ink);
  font: 400 15px/1.5 Archivo, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--ink); }
a:hover { color: var(--brick-shade); }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--card); border: 2px solid var(--ink); border-radius: 5px; box-shadow: 0 3px 0 var(--ink);
  padding: 9px 14px; font: 700 13px Archivo, sans-serif; text-decoration: none;
}
.skip:focus { top: 12px; }

/* The page is measured off its own width, as the design is (cqw). */
.page { container-type: inline-size; width: 100%; overflow: hidden; overflow: clip; }
@supports (width: 1cqw) { :root { --gutter: clamp(18px, 4cqw, 48px); } }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-block; text-decoration: none; white-space: nowrap;
  border: 2px solid var(--ink); border-radius: 5px; box-shadow: 0 3px 0 var(--ink);
  padding: 13px 20px; font: 700 15px Archivo, sans-serif;
  transition: transform .08s ease-out, box-shadow .08s ease-out;
}
.btn:hover { transform: translateY(1px); box-shadow: 0 2px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 0 0 var(--ink); }
.btn-primary, .btn-primary:hover { background: var(--brick); color: var(--card); }
.btn-secondary, .btn-secondary:hover { background: var(--card); color: var(--ink); }
.btn-sm { padding: 9px 14px; font-size: 13px; }
.btn-lg { padding: 14px 22px; }

.kicker { font: 700 10.5px Archivo, sans-serif; letter-spacing: .18em; color: var(--brick-shade); }
.kicker-ochre { color: var(--ochre); }
.section-title {
  font: 400 clamp(34px, 4.5vw, 56px)/.95 Anton, sans-serif; font-size: clamp(34px, 4.5cqw, 56px);
  text-transform: uppercase; margin-top: 10px; text-wrap: balance;
}

/* ---------------------------------------------------------------------- nav */
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px var(--gutter); border-bottom: 2px solid var(--ink);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); border-radius: 4px; }
.brand:hover { color: var(--ink); }
.wordmark { font: 400 20px/1.2 Anton, sans-serif; text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; }
.nav-end { display: flex; align-items: center; gap: 12px; }
.chip {
  border: 1.5px solid var(--ink); border-radius: 3px; padding: 4px 9px;
  font: 700 10px Archivo, sans-serif; letter-spacing: .14em; white-space: nowrap;
}
/* At 320 the brand and Join the beta need 289 px of the 284 there is: a tighter gap and button
   keep the right gutter the same 18 px as the left. */
@media (max-width: 340px) {
  .nav { gap: 10px; }
  .nav .btn-sm { padding-inline: 12px; }
}

/* --------------------------------------------------------------------- hero */
.hero {
  padding: clamp(28px, 4vw, 52px) var(--gutter) 0;
  padding-top: clamp(28px, 4cqw, 52px);
  animation: wiaRise .6s ease-out both;
}
.hero-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; }
/* The headline takes the whole row; the buttons always sit below the copy. */
.hero-copy { flex: 1 1 100%; min-width: 0; }
/* WHERE IS ALEX? on one line at every width, as wide as the hero: its size is the hero's
   content width (the page less its two gutters) over the line's width in ems. In Anton the
   line is 5.87 em and THERE HE IS. is 4.43 em; 5.92 leaves under 1% spare, so it never touches
   the edge, and the found line keeps the same size so the runway under a finger never jumps.
   site.js only steps in (--fit) if the text still comes out wider than its box. */
.hero-title {
  font: 400 48px/.88 Anton, sans-serif;
  font-size: calc((100vw - 2 * clamp(18px, 4vw, 48px)) / 5.92 * var(--fit, 1));
  text-transform: uppercase; letter-spacing: -.005em; white-space: nowrap;
}
@supports (width: 1cqw) {
  .hero-title { font-size: calc((100cqw - 2 * var(--gutter)) / 5.92 * var(--fit, 1)); }
}
.hero-title.is-found { animation: wiaRise .4s ease-out both; }
.hero-sub {
  font: 400 clamp(16px, 1.5vw, 19px)/1.45 Archivo, sans-serif; font-size: clamp(16px, 1.5cqw, 19px);
  color: var(--ink-soft); margin-top: 18px; max-width: 560px; text-wrap: pretty;
}
/* The found line takes the intro's place in the same cell, and the cell keeps the intro's
   height, so the runway under a finger never moves when Alex is found. */
.hero-sub { display: grid; }
.hero-sub > span { grid-area: 1 / 1; }
.hero-sub > .is-gone { visibility: hidden; }
/* The found line is shorter than the intro on a phone; it sits at the foot of the cell, by the
   buttons, so the spare room goes under the headline instead of over the buttons. */
.hero-sub > span:last-child { align-self: end; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; padding-bottom: 6px; }
/* The pair is one size: "Join the beta" and "How it works" come within a pixel of each other.
   136 px is just over the wider one, so the pair (282 px) still fits on one row at 320. */
.hero-cta .btn { min-width: 136px; text-align: center; }

/* The runway: card-coloured panel of marquee lanes. */
.runway {
  --hs: 56px; --lane-h: 84px;
  margin-top: clamp(22px, 3vw, 40px); margin-top: clamp(22px, 3cqw, 40px);
  background: var(--card); border: 2px solid var(--ink); border-bottom: none; border-radius: 8px 8px 0 0;
  box-shadow: 0 2px 0 var(--ink); overflow: hidden; overflow: clip; position: relative;
}
.runway-label {
  position: absolute; left: 14px; top: 12px; z-index: 2; pointer-events: none;
  font: 700 10px Archivo, sans-serif; letter-spacing: .16em; color: var(--ink-soft);
}
/* Content-box as in the design: 84 pt of lane, then its 1.5 pt rule. Lanes clip only
   sideways (where browsers can), so a FOUND HIM stamp and ring are never sliced by a rule. */
.lane { box-sizing: content-box; position: relative; height: var(--lane-h); border-bottom: 1.5px solid var(--ink); overflow: hidden; overflow: clip visible; }
.lane-track {
  position: absolute; left: 0; bottom: 0; display: flex; align-items: flex-end; width: max-content;
  animation: wiaMarq var(--dur, 30s) linear infinite var(--dir, normal);
}
.rw-head {
  position: relative; display: block; flex: none; margin: 0 10px 6px; padding: 0; border: 0; background: none;
  cursor: pointer; border-radius: 50%; -webkit-tap-highlight-color: transparent;
  transition: opacity .4s;
}
/* The bob lives on the head's own wrapper, driven from site.js so that every head shares one
   beat; the button around it keeps the shake and the pop. */
.rw-bob { display: block; }
.rw-head:focus-visible { outline-offset: 4px; }
.rw-head.is-wrong { animation: wiaShake .45s ease-in-out; }
.rw-head.is-hit { animation: wiaPop .5s cubic-bezier(.3,1.6,.5,1) both; }
.rw-ring { position: absolute; inset: -7px; border: 3px solid var(--brick); border-radius: 50%; pointer-events: none; }
.rw-stamp {
  position: absolute; left: 50%; top: -20px; margin-left: -34px; z-index: 3; pointer-events: none;
  transform: rotate(-12deg);
  background: var(--ochre); border: 2px solid var(--ink); border-radius: 3px; box-shadow: 0 2px 0 var(--ink);
  padding: 4px 9px; font: 400 15px/1.2 Anton, sans-serif; color: var(--ink); white-space: nowrap;
  animation: wiaStamp .45s cubic-bezier(.3,1.6,.5,1) both;
}
.rw-bar {
  position: relative; flex: none; margin: 0 8px 14px; width: 122px; height: 26px;
  border: 2px solid var(--ink); border-radius: 3px; display: flex; align-items: center; gap: 6px; padding: 0 6px;
  font: 700 10px Archivo, sans-serif; letter-spacing: .12em; white-space: nowrap; overflow: hidden;
}
.rw-flag { position: relative; flex: none; width: 20px; height: 13px; border: 1.5px solid var(--ink); border-radius: 2px; overflow: hidden; }
.rw-flag i { position: absolute; display: block; }
.rw-disc { top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; }
.rw-canton { left: 0; top: 0; width: 42%; height: 57%; }
/* ~40% of bars carry a plane across them. The design animates `left` from -8% to 102% of
   the bar's padding box (118 px); the same path as a transform, so no layout per frame. */
.rw-plane { position: absolute; left: 0; top: 50%; margin-top: -5px; animation: wiaFly var(--fdur, 9s) linear var(--fdel, 0s) infinite; }
.rw-plane > span { display: flex; animation: wiaFlyBob 1.8s ease-in-out infinite; }
.rw-plane svg { display: block; overflow: visible; max-width: none; }

/* Found him: lanes and planes stop, everybody else steps back. */
.runway.is-found .lane-track, .runway.is-found .rw-plane { animation-play-state: paused; }
.runway.is-found .rw-head:not(.is-alex) { opacity: .28; }
/* A keyboard player gets still lanes; so does a page that has scrolled the game away. */
.runway.is-keyed .lane-track, .runway.is-keyed .rw-plane,
.runway.is-away .lane-track, .runway.is-away .rw-plane,
.runway.is-away .rw-head, .runway.is-away .rw-plane > span { animation-play-state: paused; }

@keyframes wiaMarq { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@keyframes wiaShake { 0%,100% { transform: translateX(0) rotate(0) } 25% { transform: translateX(-5px) rotate(-6deg) } 75% { transform: translateX(5px) rotate(6deg) } }
@keyframes wiaPop { 0% { transform: scale(1) } 40% { transform: scale(1.35) } 100% { transform: scale(1.15) } }
@keyframes wiaStamp { 0% { transform: rotate(-12deg) scale(2.2); opacity: 0 } 60% { transform: rotate(-12deg) scale(.92); opacity: 1 } 100% { transform: rotate(-12deg) scale(1) } }
@keyframes wiaRise { from { transform: translateY(18px); opacity: 0 } to { transform: translateY(0); opacity: 1 } }
@keyframes wiaFly { from { transform: translateX(-9.44px) } to { transform: translateX(120.36px) } }
@keyframes wiaFlyBob { 0%,100% { transform: translateY(0) rotate(-3deg) } 50% { transform: translateY(-4px) rotate(2deg) } }
@keyframes wiaDim { 0%,100% { opacity: 1 } 50% { opacity: .35 } }

/* ------------------------------------------------------------- how it works */
.how-intro { padding: clamp(48px, 6vw, 88px) var(--gutter) 0; padding-top: clamp(48px, 6cqw, 88px); }
.how-intro .section-title { max-width: 760px; }
.how-body { font: 400 15px/1.5 Archivo, sans-serif; color: var(--ink-soft); margin-top: 12px; max-width: 560px; text-wrap: pretty; }

.step {
  padding: clamp(28px, 4vw, 56px) var(--gutter) 0; padding-top: clamp(28px, 4cqw, 56px);
  display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-start;
}
.step-last { padding-bottom: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6cqw, 88px); }
.step-text { flex: 1 1 260px; max-width: 420px; }
.step-tag { display: flex; align-items: center; gap: 10px; }
.step-num { background: var(--ink); color: var(--paper); border-radius: 3px; padding: 5px 9px; font: 700 10px Archivo, sans-serif; letter-spacing: .14em; }
.step-kicker { font: 700 10px Archivo, sans-serif; letter-spacing: .14em; color: var(--ink-soft); }
.step-title {
  font: 400 clamp(30px, 3.4vw, 42px)/.95 Anton, sans-serif; font-size: clamp(30px, 3.4cqw, 42px);
  text-transform: uppercase; margin-top: 12px;
}
.step-body { font: 400 15px/1.55 Archivo, sans-serif; color: var(--ink-soft); margin-top: 12px; text-wrap: pretty; }
/* Centred on the resting ball (y 31-95 of the orb's 64 x 122 box), not on the box's foot. */
.step-aside { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.step-aside p { font: 400 12.5px/1.45 Archivo, sans-serif; color: var(--ink-soft); }
.step-aside strong { color: var(--ink); }

/* Phones: a row of real screenshots in the design's bezel. Tap one and every row
   zooms up to x1.4 (about a real phone's width; site.js caps it to the row and the
   viewport as --pz), snapping to the screen you tapped. */
.shots { flex: 3 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
/* 8 px of room each side (given back by the margin) so a phone's focus ring, 7 px out,
   is never clipped by the scroller. */
.shots-row {
  display: flex; gap: 18px; overflow-x: auto; padding: 8px 8px 14px; margin: 0 -8px;
  scrollbar-width: none; scroll-snap-type: x mandatory; scroll-padding: 0 8px; overscroll-behavior-x: contain;
}
.shots-row::-webkit-scrollbar { display: none; }
/* Beside the text the row runs on to the page's edge, so a phone past the room still shows
   its edge (Step 01's orb, at 1280) instead of being cut off at the gutter. */
@media (min-width: 700px) {
  .shots-row { margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); scroll-padding-right: var(--gutter); }
}
/* The screen is sized to the screenshots (750 x 1630) so nothing is cropped. */
.phone {
  flex: none; width: 250px; height: calc((250px - 14px) * 1630 / 750 + 14px); padding: 0;
  scroll-snap-align: start; cursor: zoom-in; position: relative; display: block;
  background: var(--ink); border: 7px solid var(--ink); border-radius: 40px; box-shadow: 0 4px 0 var(--ink);
  overflow: hidden; -webkit-tap-highlight-color: transparent;
  transition: zoom .35s;
}
/* Until a screenshot arrives its screen is an empty paper one, as in the design, not a black
   slab. The bezel stays ink, so no light seam at the corners. */
.phone img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center;
  background: var(--paper);
}
/* The home indicator: in-app simulator shots leave it out. Light on the two dark screens. */
.phone::after {
  content: ''; position: absolute; left: 50%; bottom: 7px; width: 37%; height: 4px; transform: translateX(-50%);
  border-radius: 2px; background: var(--ink); opacity: .9; pointer-events: none;
}
.phone-wallet::after { background: #fff; }
/* None on the drawn lock screen: the orb peeks up from that edge, and the bar ran across its mouth. */
.phone-lockscreen::after { display: none; }
.phone:focus-visible { outline-offset: 4px; }
.page.is-zoomed .phone { zoom: var(--pz, 1.4); cursor: zoom-out; }
.dots { display: none; justify-content: center; gap: 7px; padding-bottom: 4px; }
/* Dots show only when a row has more phones than room (site.js measures it, zoomed or not). */
.shots.is-overflow .dots { display: flex; }
.dots span {
  width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--ink);
  background: var(--card); transition: background .3s; cursor: pointer;
}
.dots span.on { background: var(--ink); }

/* -------------------------------------------------------- the drawn screens */
/* Two phones are drawn rather than shot: Wallet's boarding pass (Wallet is not our app, and
   the pass is made up) and the lock screen (on brand, where a stock wallpaper was). They are
   sized to the screenshots beside them: an iPhone 16 Pro's 402 pt across the 236 px screen,
   about 0.59 px a point. Wallet speaks iOS (the system font); the lock screen speaks ours. */
.scr {
  position: absolute; inset: 0; display: block; overflow: hidden; text-align: left;
  --sf: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.scr svg { display: block; flex: none; max-width: none; }
.sb { position: absolute; left: 0; right: 0; top: 0; height: 36px; display: block; }
.sb-time {
  position: absolute; left: 22px; top: 13px; width: 41px; text-align: center;
  font: 600 10.4px/1 var(--sf); letter-spacing: -.01em;
}
.sb-island {
  position: absolute; left: 50%; top: 8px; width: 73px; height: 21px; margin-left: -36.5px;
  background: #000; border-radius: 11px; outline: 1px solid rgba(255,255,255,.1);
}
.sb-icons { position: absolute; right: 21px; top: 15px; display: flex; align-items: center; gap: 3px; }
.sb-batt {
  position: relative; display: block; width: 16px; height: 8px; margin-right: 1.5px;
  border: 1px solid currentColor; border-radius: 2.6px; opacity: .95;
}
/* Charging green, as the simulator shots beside these phones show it. */
.sb-batt i { position: absolute; left: 1px; top: 1px; bottom: 1px; right: 1px; border-radius: 1.2px; background: #34C759; }
.sb-batt::after {
  content: ''; position: absolute; right: -2.7px; top: 2px; width: 1.2px; height: 2.6px;
  border-radius: 0 1px 1px 0; background: currentColor;
}

/* Wallet, as iOS draws an open boarding pass: black, Done, share and more, the pass, and the
   rest of the cards stacked at the foot. */
.phone-wallet, .wallet { background: #000; }
.wallet { color: #fff; font-family: var(--sf); }
.wl-bar { position: absolute; left: 0; right: 0; top: 37px; height: 20px; display: block; }
.wl-done { position: absolute; left: 14px; top: 4px; font: 600 10.2px/12px var(--sf); color: #0A84FF; }
.wl-btn {
  position: absolute; top: 0; width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(120,120,128,.3); color: #0A84FF;
}
.wl-share { right: 39px; }
.wl-more { right: 13px; }
/* Where the next screen comes from: the share button, ringed. */
.wl-ping {
  position: absolute; inset: -4px; display: block; border: 1.5px solid var(--ochre); border-radius: 50%;
  animation: wlPing 2.4s ease-out infinite;
}
@keyframes wlPing { 0% { transform: scale(.8); opacity: 0 } 20% { opacity: 1 } 70%, 100% { transform: scale(1.3); opacity: 0 } }
.is-away .wl-ping { animation-play-state: paused; }

.pass {
  position: absolute; left: 9px; right: 9px; top: 66px; display: block;
  background: #325F68; color: #fff; border-radius: 8px; padding: 11px 11px 15px;
}
.pass .pf { display: block; min-width: 0; }
.pass .pf-end { text-align: right; }
.pl { display: block; font: 600 6.4px/1.25 var(--sf); letter-spacing: .04em; text-transform: uppercase; color: #A9CDD2; }
.pv { display: block; margin-top: 1px; font: 400 10.4px/1.2 var(--sf); white-space: nowrap; }
.pass-head { display: flex; align-items: flex-start; gap: 12px; }
.pass-logo { flex: 1; display: flex; align-items: center; gap: 4px; padding-top: 4px; font: 600 9.4px/1 var(--sf); white-space: nowrap; }
.pass-prim { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 17px; }
.pp { display: block; margin-top: 1px; font: 300 31px/1 var(--sf); letter-spacing: -.01em; }
.pass-plane { margin-bottom: 9px; color: #A9CDD2; }
.pass-row { display: flex; justify-content: space-between; gap: 10px; margin-top: 13px; }
.pass-code {
  display: block; width: 122px; margin: 21px auto 0; padding: 10px 10px 6px;
  background: #fff; border-radius: 4px;
}
.pass-qr { width: 101.5px; height: 101.5px; }
.pass-alt { display: block; margin-top: 5px; font: 500 7.4px/1 var(--sf); letter-spacing: .06em; color: #000; text-align: center; }
.wl-stack i { position: absolute; left: 9px; right: 9px; height: 60px; display: block; border-radius: 8px; }
.wl-stack i:nth-child(1) { top: 456px; background: #48484A; }
.wl-stack i:nth-child(2) { top: 465px; background: #3A3A3C; }
.wl-stack i:nth-child(3) { top: 474px; background: #2C2C2E; }

/* The lock screen, in the site's own clothes: ink and its fine dots, the date in Archivo caps,
   an Anton clock, pushes on paper with the app's icon (Alex's head on cream, as on the home
   screen since build 81), and the orb itself peering up from the bottom edge. */
.phone-lockscreen { background: var(--ink); }
.lock {
  background-color: var(--ink); color: var(--paper);
  background-image: radial-gradient(rgba(240,231,211,.12) .5px, transparent .6px); background-size: 3px 3px;
}
.lock .sb { color: var(--paper); }
.lock .sb-island { outline: none; }
.lk-date {
  position: absolute; left: 0; right: 0; top: 50px; display: block; text-align: center;
  font: 700 9.5px/1 Archivo, sans-serif; letter-spacing: .16em; color: var(--cream);
}
.lk-clock {
  position: absolute; left: 0; right: 0; top: 60px; display: block; text-align: center;
  font: 400 84px/1.1 Anton, sans-serif; letter-spacing: .01em;
}
.lk-notes { position: absolute; left: 9px; right: 9px; top: 250px; display: block; }
.note {
  display: flex; gap: 8px; align-items: flex-start; padding: 9px 10px 10px 9px;
  background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 14px;
  box-shadow: 0 3px 0 rgba(0,0,0,.5);
}
.note-back { margin-top: 7px; opacity: .7; transform: scale(.95); transform-origin: 50% 0; }
/* The icon is the app's: Alex's head on the cream ground, the head 74% of the square as in
   the 1024 master (no dot grain at this size, as the icon handoff says for small renders). */
.note-icon {
  position: relative; flex: none; display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; overflow: hidden;
  border: 1.5px solid var(--ink); border-radius: 9px;
  background: var(--paper);
}
.note-text { flex: 1; min-width: 0; display: block; }
.note-top { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.note-app { display: block; font: 700 7.4px/1.2 Archivo, sans-serif; letter-spacing: .14em; color: var(--ink-soft); }
.note-when { display: block; font: 400 8.6px/1.2 Archivo, sans-serif; color: var(--ink-soft); }
.note-title { display: block; margin-top: 3px; font: 700 11px/1.3 Archivo, sans-serif; }
.note-body { display: block; font: 400 11px/1.35 Archivo, sans-serif; }
/* Hung so the screen's own edge cuts it off just under the eyes, ring and badge left whole. */
.lk-orb { position: absolute; left: 50%; top: 414px; margin-left: -38px; display: block; }
.lk-btn {
  position: absolute; bottom: 30px; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(240,231,211,.1); border: 1.5px solid rgba(240,231,211,.3); color: var(--paper);
}
.lk-torch { left: 24px; }
.lk-cam { right: 24px; }

/* ------------------------------------------------------- the rest of the app */
/* Cards on paper, after the steps: the crew's four (two across, four on a wide screen) and
   the three games (three across from 700 px). The steps above already end on their own
   bottom padding, so this section only pads below, before the ink of the orb. */
.more { padding: 0 var(--gutter) clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6cqw, 88px); }
.more-group {
  display: flex; align-items: center; gap: 12px; margin-top: clamp(24px, 3vw, 36px); margin-top: clamp(24px, 3cqw, 36px);
  font: 700 10px Archivo, sans-serif; letter-spacing: .14em; color: var(--ink-soft);
}
.more-group::after { content: ''; flex: 1; height: 1.5px; background: var(--ink); opacity: .35; }
.feat-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 14px; }
.feat {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--card); border: 2px solid var(--ink); border-radius: 8px; box-shadow: 0 2px 0 var(--ink);
  padding: 16px 18px 20px;
}
.feat-art { display: flex; align-items: center; height: 56px; }
.feat-kicker { margin-top: 14px; font: 700 10px/1.3 Archivo, sans-serif; letter-spacing: .14em; color: var(--ink-soft); }
.feat-title { margin: 6px 0 0; font: 400 26px/1 Anton, sans-serif; text-transform: uppercase; }
.feat-body { margin-top: 8px; font: 400 14.5px/1.5 Archivo, sans-serif; color: var(--ink-soft); text-wrap: pretty; }
/* Small print under a card's body: the launch offer's end date. */
.feat-note { margin-top: 8px; font: italic 400 12.5px/1.45 Archivo, sans-serif; color: var(--ink-soft); text-wrap: pretty; }
/* One column on a phone: a little tighter, so seven cards are not a long walk. */
@media (max-width: 699px) {
  .feat-grid { gap: 14px; }
  .feat { padding: 14px 16px 16px; }
  .feat-art { height: 48px; }
  .feat-kicker { margin-top: 10px; }
}
@media (min-width: 700px) {
  .feat-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1180px) {
  .feat-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* The crew, shoulder to shoulder; Alex at the end, looking away as ever. */
.feat-heads > span + span { margin-left: -8px; }
/* The map's two lenses, NOW picked. */
.feat-lens {
  display: flex; border: 2px solid var(--ink); border-radius: 5px; box-shadow: 0 2px 0 var(--ink); overflow: hidden;
  font: 700 10.5px/1 Archivo, sans-serif; letter-spacing: .14em;
}
.feat-lens > * { padding: 9px 12px; }
.feat-lens b { background: var(--ink); color: var(--card); font-weight: 700; }
.feat-lens span { background: var(--paper); color: var(--ink-soft); }
/* What both of you see when the hour is up, as the app draws it: a plain line on an ink rule. */
.feat-expired {
  padding: 8px 14px; background: var(--paper); border-bottom: 2px solid var(--ink);
  font: 700 13px/1.2 Archivo, sans-serif; color: var(--ink);
}
/* A crewmate's row on the Crews tab, swiped open: the two buttons under it are icons only, as
   in the app (CrewMeScreens.swift): a flag to report, on light ochre, and a raised hand to block,
   on ink. Their words are only for VoiceOver there, so the drawing has none either. */
.feat-swipe { display: flex; align-items: stretch; height: 44px; }
.sw-row {
  display: flex; align-items: center; gap: 8px; padding: 0 16px 0 8px; margin-right: 4px;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 8px; box-shadow: 0 2px 0 var(--ink);
  font: 700 13px Archivo, sans-serif;
}
.sw-act {
  display: flex; align-items: center; justify-content: center; width: 40px; margin-left: 6px;
  border: 2px solid var(--ink); border-radius: 7px;
}
.sw-act svg { display: block; flex: none; }
.sw-report { background: #E6BE74; color: var(--ink); }
.sw-block { background: var(--ink); color: var(--card); }
.feat-icon { display: block; width: 52px; height: 52px; }

/* Trips from Google Calendar: one card across the page. Google's reviewers read this to see
   why the app asks for the calendar, so it says what is read, what stays on the phone and who
   sees a trip, and links the help page and the policy. The drawing is the orb's question as the
   app shows it: a bubble, then Log it and Skip, one size (brick and plain). Up to 959 px it sits
   on top, like every card's drawing; from 960 px it moves to the right of the words. The privacy
   links on the page are the consent screen's own address, https://whereisalex.ai/privacy, because
   Google checks that the home page links the same policy URL as the consent screen. */
.feat-wide { gap: 16px; }
.feat-wide-copy { min-width: 0; }
.feat-wide .feat-kicker { margin-top: 0; }
.feat-wide .feat-body + .feat-body { margin-top: 10px; }
.feat-links { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 8px; font: 700 14px/1.4 Archivo, sans-serif; }
.feat-links a { display: inline-block; padding: 8px 0; }
.feat-fine { margin-top: 6px; font: 400 12px/1.5 Archivo, sans-serif; color: var(--ink-soft); text-wrap: pretty; }
.cal-ask {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 8px; padding: 14px;
}
.cal-orb { display: flex; }
.cal-bubble {
  background: var(--card); border: 2px solid var(--ink); border-radius: 8px; box-shadow: 0 2px 0 var(--ink);
  padding: 9px 12px; font: 400 13.5px/1.4 Archivo, sans-serif; color: var(--ink);
}
.cal-pair { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.cal-btn {
  border: 2px solid var(--ink); border-radius: 5px; box-shadow: 0 2px 0 var(--ink);
  padding: 10px 8px; text-align: center; font: 700 13.5px/1.2 Archivo, sans-serif;
  background: var(--card); color: var(--ink);
}
.cal-btn-yes { background: var(--brick); color: var(--card); }
@media (min-width: 700px) {
  .feat-wide { padding: 22px 24px 24px; }
  .feat-wide-copy { max-width: 640px; }
  .cal-ask { max-width: 420px; }
}
@media (min-width: 960px) {
  .feat-wide { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; }
  .feat-wide-copy { flex: 1 1 0; }
  .cal-ask { order: 2; flex: 0 1 340px; }
}

/* ------------------------------------------------------------------ the orb */
.orb-section {
  background: var(--ink); color: var(--paper);
  padding: clamp(48px, 6vw, 88px) var(--gutter); padding-top: clamp(48px, 6cqw, 88px); padding-bottom: clamp(48px, 6cqw, 88px);
}
.orb-inner { display: flex; flex-wrap: wrap; gap: 36px 56px; align-items: center; }
.orb-hero { flex: 0 0 auto; display: flex; justify-content: center; width: min(100%, 220px); margin: 0 auto; }
.orb-copy { flex: 1 1 320px; min-width: 0; }
.orb-body { font: 400 16px/1.55 Archivo, sans-serif; color: var(--cream); margin-top: 16px; max-width: 520px; text-wrap: pretty; }
.orb-states { display: flex; gap: 18px; margin-top: 22px; flex-wrap: wrap; }
.orb-states li { display: flex; align-items: center; gap: 10px; }
.orb-states strong { display: block; font: 400 15px/1.2 Anton, sans-serif; text-transform: uppercase; }
.orb-states span { display: block; font: 400 12px/1.3 Archivo, sans-serif; color: var(--cream); }
.orb-section :focus-visible { outline-color: var(--ochre); }
/* Orbs that have scrolled away stop moving until they are back. */
.is-away .wia-orb, .is-away .wia-orb * { animation-play-state: paused !important; }

/* --------------------------------------------------------------- testflight */
.beta { padding: clamp(48px, 6vw, 88px) var(--gutter) 32px; padding-top: clamp(48px, 6cqw, 88px); scroll-margin-top: 8px; }
.beta-card {
  background: var(--ochre); border: 2.5px solid var(--ink); border-radius: 8px; box-shadow: 0 4px 0 var(--ink);
  padding: clamp(22px, 3vw, 36px); padding: clamp(22px, 3cqw, 36px);
  display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between;
}
.beta-copy { flex: 1 1 300px; min-width: 0; }
.beta-title {
  font: 400 clamp(36px, 5vw, 64px)/.92 Anton, sans-serif; font-size: clamp(36px, 5cqw, 64px);
  text-transform: uppercase; margin-top: 8px; text-wrap: balance;
}
.beta-body { font: 400 16px/1.5 Archivo, sans-serif; color: var(--ink); margin-top: 14px; max-width: 460px; text-wrap: pretty; }
.beta-copy .btn { margin-top: 20px; }
.beta :focus-visible { outline-color: var(--ink); }
/* brickShade on ochre is about 3.2:1; ink is about 7:1. */
.beta .kicker { color: var(--ink); }
.beta-qr { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.qr-frame {
  width: 164px; height: 164px; padding: 10px; background: var(--card);
  border: 2px solid var(--ink); border-radius: 8px; box-shadow: 0 2px 0 var(--ink);
}
.qr-frame img { display: block; width: 140px; height: 140px; }
.qr-caption { font: 700 10px Archivo, sans-serif; letter-spacing: .16em; }
/* On a phone the visitor is already on the iPhone the code is for: no code, and the copy
   speaks to the button instead. */
.on-phone { display: none; }

/* ------------------------------------------------------------------- footer */
.foot {
  display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter) 28px; border-top: 2px solid var(--ink);
  font: 400 12.5px Archivo, sans-serif; color: var(--ink-soft);
}
.foot-brand { display: flex; align-items: center; gap: 8px; }
.foot-links { display: flex; gap: 0 18px; flex-wrap: wrap; }
.foot-links a { display: inline-block; padding: 10px 0; }

/* ------------------------------------------------------- one breakpoint: phones */
@media (max-width: 699px) {
  .chip { display: none; }
  .runway { --hs: 44px; --lane-h: 70px; }
  .step { flex-direction: column; align-items: stretch; }
  .step-text { flex: none; }
  .shots { flex: none; width: 100%; }
  .beta-qr, .off-phone { display: none; }
  .on-phone { display: inline; }
}

/* ------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero, .hero-title.is-found, .rw-head, .rw-head.is-hit, .rw-stamp,
  .lane-track, .rw-plane, .rw-plane > span { animation: none; }
  /* The lanes stand still, so they scroll by hand instead: Alex is never out of reach. */
  .lane { overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; overscroll-behavior-x: contain; }
  /* Planes park at the far end of their bar instead of flying. */
  .rw-plane { transform: translateX(90px); }
  .rw-head.is-wrong { animation: wiaDim .45s ease-in-out; }
  .btn, .phone, .rw-head, .dots span { transition: none; }
  /* The share button stays ringed, just still. */
  .wl-ping { animation: none; transform: none; opacity: .9; }
}
