/* Ferrybird landing page
   World: the sky is the backdrop, grid paper is the surface, a few tactile objects sit on top.
   Palette: ink, paper, sky, bird blue, go green, sun yellow. Nothing else. */

:root {
  color-scheme: light;

  --ink: #111318;
  --ink-2: #3b4250;
  --ink-sky: #17324c;
  --paper: #f7f5ef;
  --white: #ffffff;
  --line: rgba(17, 19, 24, 0.07);
  --stitch: rgba(17, 19, 24, 0.22);
  --sky-top: #58aceb;
  --sky-mid: #86c5f1;
  --sky-low: #c4e4f9;
  --blue: #2c5fe0;
  --blue-deep: #1c44b4;
  --green: #177a4f;
  --green-deep: #0f5c3a;
  --sun: #ffd23f;
  --red: #d93a3f;

  /* Display: Bricolage Grotesque, a heavy grotesk with ink traps and optical sizes, tight at big sizes.
     Text: Instrument Sans, calm and very readable. Pixel accents: Doto. */
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --text: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --dots: "Doto", "Archivo", monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
  --radius-pill: 999px;

  --shadow-soft: 0 1px 2px rgba(17, 19, 24, 0.06), 0 8px 24px -8px rgba(17, 19, 24, 0.18);
  --shadow-lift: 0 2px 4px rgba(17, 19, 24, 0.06), 0 22px 44px -18px rgba(17, 19, 24, 0.35);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--ink-2) var(--paper);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1, h2, h3, .h2, .part, .ticker-group, .brand, .qa-q, .phones-lede, .vk kbd {
  font-family: var(--display);
  font-optical-sizing: auto;
}
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; }
a { color: inherit; }

::selection { background: var(--sun); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 8px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 12px 18px; border-radius: var(--radius-pill);
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 16px; }

.wrap {
  width: min(var(--max), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.wrap-narrow { width: min(820px, 100% - 2 * var(--gutter)); }
.nowrap { white-space: nowrap; }

/* surfaces */
.sky {
  position: relative;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 55%, var(--sky-low) 100%);
  overflow: clip;
}
.paper {
  position: relative;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: center top;
}

/* icons */
svg use { fill: none; }
.btn svg, .nav-cta svg, .text-link svg, .cargo-name svg, .claim-ic svg, .fine-ic svg,
.qa-ic svg, .ticker svg, .vc-btn svg, .vt-copy svg, .vk-arrow, .keycap-top svg, .solo-ok svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- clouds ----------
   CSS drifts each cloud with `transform`. JS adds pointer and scroll parallax and the hover puff
   with the separate `translate` and `scale` properties, so the two never fight. */

.cloud {
  position: absolute;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  animation: drift 40s ease-in-out infinite alternate;
  will-change: transform, translate;
}
.c1 { width: clamp(150px, 20vw, 300px); left: -4%; top: 30%; }
.c2 { width: clamp(110px, 13vw, 200px); right: 6%; top: 17%; animation-duration: 48s; animation-direction: alternate-reverse; }
.c3 { width: clamp(170px, 22vw, 340px); right: -6%; top: 48%; animation-duration: 56s; }
.c4 { width: clamp(160px, 22vw, 320px); left: -5%; top: 4%; }
.c5 { width: clamp(130px, 16vw, 240px); right: -2%; bottom: 6%; animation-duration: 44s; animation-direction: alternate-reverse; }
.c6 { width: clamp(130px, 17vw, 260px); left: -3%; top: 4%; animation-duration: 50s; }
.c7 { width: clamp(110px, 13vw, 200px); right: 3%; top: 40%; animation-duration: 42s; animation-direction: alternate-reverse; }

@keyframes drift {
  from { transform: translateX(-40px); }
  to { transform: translateX(60px); }
}

/* ---------- nav: two floating pills ---------- */

.top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding-bottom: 12px;
  pointer-events: none;
  transition: transform .5s var(--ease-out), background-color .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.top::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(247, 245, 239, 0.72);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(17, 19, 24, 0.08), 0 10px 30px -20px rgba(17, 19, 24, 0.35);
  opacity: 0;
  transition: opacity .4s var(--ease-out);
}
.top.is-scrolled::before { opacity: 1; }
.top.is-hidden { transform: translateY(-110%); }
.top .nav { position: relative; }
.nav {
  width: min(var(--max), 100% - 2 * var(--gutter));
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav > * { pointer-events: auto; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 18px 5px 5px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  transition: transform .35s var(--ease-out);
}
.brand:hover { transform: translateY(-1px); }
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #e3effc;
  display: grid; place-items: center;
}
.brand-mark img { width: 30px; height: auto; image-rendering: pixelated; transform-origin: 50% 100%; }
.brand:hover .brand-mark img { animation: hop .6s var(--ease-out); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 20px 0 16px;
  border-radius: var(--radius-pill);
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.18), 0 10px 20px -10px rgba(15, 92, 58, 0.7);
  transition: background-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.nav-cta svg { width: 18px; height: 18px; }
.nav-cta:hover { background: var(--green-deep); transform: translateY(-1px); }
.nav-cta:focus-visible { outline-color: var(--ink); }

@keyframes hop {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px 0 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn-go {
  background: var(--green);
  color: var(--white);
  box-shadow:
    inset 0 -3px 0 rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 12px 22px -10px rgba(15, 92, 58, 0.7);
  transition: transform .25s var(--ease-out), background-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.btn-go:hover { background: var(--green-deep); transform: translateY(-2px); }
.btn-go:active { transform: translateY(1px); box-shadow: inset 0 -1px 0 rgba(0,0,0,.2), 0 4px 10px -6px rgba(15, 92, 58, 0.7); }
.btn-go:focus-visible { outline-color: var(--ink); }

.btn-soon {
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  border: 2px dashed rgba(17, 19, 24, 0.45);
  cursor: default;
}
.soon-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 2px var(--ink);
}

/* ---------- hero ----------
   Copy straight on the sky. The phone and the Mac window stand in the meadow,
   with the front grass drawn over their feet. */

.hero {
  --hmh: clamp(170px, 19vw, 300px);
  padding: clamp(112px, 12vw, 150px) 0 0;
}
.hero-meadow {
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: var(--hmh);
  pointer-events: none;
  user-select: none;
}
.hero-meadow-back { z-index: 0; }
.hero-meadow-front { z-index: 3; }
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  column-gap: clamp(24px, 4vw, 64px);
  align-items: end;
  padding-bottom: calc(var(--hmh) * 0.2);
}
.hero-copy { padding-bottom: calc(var(--hmh) * 0.5); }
.hero-title {
  font-size: clamp(2.7rem, 5.6vw, 5.4rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-variation-settings: "wdth" 90;
  text-wrap: balance;
}
.ht-line { display: block; }
/* the "Mac" sticker: a die-cut label whose corner can be peeled (see main.js) */
.sticker {
  --d: 0px;
  position: relative;
  display: inline-block;
  margin-left: 0.04em;
  transform: rotate(-3deg) translateY(-0.02em);
  filter: drop-shadow(0 2px 0 rgba(17, 19, 24, 0.08)) drop-shadow(0 12px 12px rgba(17, 19, 24, 0.22));
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  border-radius: 0.14em;
}
.sticker:active { cursor: grabbing; }
/* the same sticker as a die-cut card (the footer QR code) */
.sticker-card {
  --tilt: 2deg;
  display: block;
  margin: 0;
  transform: rotate(var(--tilt));
  border-radius: 18px;
  filter: drop-shadow(0 1px 1px rgba(17, 19, 24, 0.08)) drop-shadow(0 18px 18px rgba(17, 30, 60, 0.22));
}
.sticker-card .sticker-face {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 14px 14px 10px;
  border-radius: 18px;
  color: var(--ink);
  outline: none;
  text-align: center;
}
.sticker-card .sticker-face::before {
  content: "";
  position: absolute; inset: 5px;
  border: 1.5px dashed var(--stitch);
  border-radius: 14px;
  pointer-events: none;
}
.sticker-card .sticker-face img { display: block; width: 148px; height: 148px; }
.sticker-cap { font-size: .8125rem; font-weight: 700; }
.sticker-card .sticker-flap { border-radius: 18px; }
.sticker-card:focus-visible { outline-offset: 8px; border-radius: 18px; }
/* a slightly larger invisible grab area, so the peeled-away corner can still be grabbed */
.sticker::after { content: ""; position: absolute; inset: -12px; }
.sticker:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; }
.sticker-face {
  display: block;
  padding: 0.02em 0.2em 0.07em;
  color: var(--blue);
  border-radius: 0.14em;
  background:
    linear-gradient(to top left, rgba(17, 19, 24, 0.14) 0, rgba(17, 19, 24, 0) calc(var(--d) * 1.3)),
    var(--white);
  outline: 2px dashed rgba(44, 95, 224, 0.35);
  outline-offset: -0.09em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--d)), calc(100% - var(--d)) 100%, 0 100%);
}
.sticker-flap {
  position: absolute; inset: 0;
  border-radius: 0.14em;
  pointer-events: none;
  /* the folded-over corner: the corner triangle mirrored across the fold line */
  clip-path: polygon(100% calc(100% - var(--d)), calc(100% - var(--d)) calc(100% - var(--d)), calc(100% - var(--d)) 100%);
  background: linear-gradient(135deg, #f4f6fa 0%, #d9dee8 45%, #ffffff 58%, #c9d0dc 100%);
}
.hc-lede {
  margin-top: clamp(18px, 2.2vw, 26px);
  max-width: 30ch;
  font-size: clamp(1.0625rem, 1.45vw, 1.25rem);
  line-height: 1.5;
  color: var(--ink-sky);
  text-wrap: pretty;
}
.hc-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 2.6vw, 30px); }
.hc-tiny { margin-top: 14px; font-size: .9375rem; font-weight: 500; color: var(--ink-sky); }
.hc-stage { position: relative; margin-top: clamp(56px, 7vw, 96px); }

/* scene: every size is in --u, one hundredth of the stage width, so the picture scales as one piece */
.scene {
  --u: 1.6cqw;
  container-type: inline-size;
  position: relative;
  z-index: 1;
  width: 100%;
}
.scene::before { content: ""; display: block; height: calc(var(--u) * 50); }

.flight {
  position: absolute;
  left: 0; top: calc(var(--u) * -8);
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 300;
  overflow: visible;
  z-index: 4;
  pointer-events: none;
}
.flight .flight-bird { pointer-events: auto; }
.flight-line {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 2 11;
  vector-effect: non-scaling-stroke;
}
.bird-pixels { image-rendering: pixelated; }
.flight-m { display: none; }

.phone {
  position: absolute;
  z-index: 2;
  left: calc(var(--u) * 1);
  top: calc(var(--u) * 3);
  width: calc(var(--u) * 22);
  height: calc(var(--u) * 45);
  padding: calc(var(--u) * 0.8);
  border-radius: calc(var(--u) * 3.6);
  background: linear-gradient(145deg, #3a3f4a 0%, #16181d 40%, #0b0c0f 100%);
  box-shadow:
    inset 0 0 0 calc(var(--u) * 0.18) rgba(255, 255, 255, 0.18),
    inset calc(var(--u) * 0.3) calc(var(--u) * 0.3) calc(var(--u) * 0.5) rgba(255, 255, 255, 0.08),
    calc(var(--u) * 1) calc(var(--u) * 2) calc(var(--u) * 3) calc(var(--u) * -0.5) rgba(17, 30, 60, 0.45);
  transform: rotate(-7deg);
}
.phone-btn {
  position: absolute;
  right: calc(var(--u) * -0.35);
  top: calc(var(--u) * 9);
  width: calc(var(--u) * 0.4);
  height: calc(var(--u) * 5);
  border-radius: 0 4px 4px 0;
  background: linear-gradient(90deg, #2a2e36, #4a505c);
}
.screen {
  position: relative;
  height: 100%;
  border-radius: calc(var(--u) * 2.9);
  overflow: hidden;
  padding: calc(var(--u) * 1.4) calc(var(--u) * 1.2);
  background:
    radial-gradient(120% 70% at 20% 0%, rgba(255, 255, 255, 0.16) 0%, transparent 60%),
    linear-gradient(180deg, #2f74d4 0%, #2c5fe0 60%, #1c44b4 100%);
  color: var(--white);
  font-size: calc(var(--u) * 1.15);
  line-height: 1.3;
}
.punch {
  position: absolute; left: 50%; top: calc(var(--u) * 1.1);
  width: calc(var(--u) * 1.3); height: calc(var(--u) * 1.3);
  margin-left: calc(var(--u) * -0.65);
  border-radius: 50%; background: #0b0c0f;
}
.status {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700;
  padding: 0 calc(var(--u) * 0.4);
}
.status-icons { display: flex; gap: calc(var(--u) * 0.35); }
.status-icons i {
  display: block; width: calc(var(--u) * 0.9); height: calc(var(--u) * 0.9);
  border-radius: 2px; background: rgba(255, 255, 255, 0.9);
}
.status-icons i:last-child { width: calc(var(--u) * 1.6); }
.ph-date {
  margin-top: calc(var(--u) * 2.4);
  text-align: center;
  font-weight: 600;
  opacity: .9;
}
.ph-clock {
  text-align: center;
  font-size: calc(var(--u) * 5.6);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: calc(var(--u) * 2);
}
.ph-notif {
  display: flex; flex-direction: column;
  gap: calc(var(--u) * 0.15);
  margin-top: calc(var(--u) * 0.7);
  padding: calc(var(--u) * 1) calc(var(--u) * 1.2);
  border-radius: calc(var(--u) * 1.6);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 calc(var(--u) * 0.3) calc(var(--u) * 1) rgba(10, 30, 80, 0.2);
}
.ph-n-head {
  display: flex; align-items: center; gap: calc(var(--u) * 0.6);
  font-size: calc(var(--u) * 0.95);
  color: var(--ink-2);
  font-weight: 600;
}
.ph-n-head em { margin-left: auto; font-style: normal; font-weight: 500; }
.ph-app { width: calc(var(--u) * 1.3); height: calc(var(--u) * 1.3); border-radius: 50%; }
.ph-app-text { background: var(--blue); }
.ph-app-call { background: var(--green); }
.ph-notif strong { font-weight: 700; }
.ph-notif span:last-child { color: var(--ink-2); }

/* Mac window object */
.macwin {
  position: absolute;
  z-index: 2;
  left: calc(var(--u) * 17);
  top: calc(var(--u) * 9);
  width: calc(var(--u) * 45.5);
  border-radius: calc(var(--u) * 1.4);
  background: var(--white);
  overflow: hidden;
  transform: rotate(2.5deg);
  box-shadow:
    0 0 0 1px rgba(17, 19, 24, 0.08),
    calc(var(--u) * 0.6) calc(var(--u) * 1.6) calc(var(--u) * 3) calc(var(--u) * -0.6) rgba(17, 30, 60, 0.4);
  font-size: calc(var(--u) * 1.2);
  line-height: 1.3;
}
.mw-bar {
  display: flex; align-items: center; gap: calc(var(--u) * 0.6);
  height: calc(var(--u) * 3.2);
  padding: 0 calc(var(--u) * 1.2);
  background: linear-gradient(180deg, #f2f1ee, #e7e5e0);
  border-bottom: 1px solid rgba(17, 19, 24, 0.08);
}
.tl { width: calc(var(--u) * 1); height: calc(var(--u) * 1); border-radius: 50%; }
.tl.r { background: #ff5f57; } .tl.y { background: #febc2e; } .tl.g { background: #28c840; }
.mw-title { margin-inline: auto; transform: translateX(calc(var(--u) * -2.4)); font-weight: 700; color: var(--ink-2); }
.mw-body { display: grid; grid-template-columns: calc(var(--u) * 16) 1fr; min-height: calc(var(--u) * 30); }
.mw-side { background: #f4f3ef; padding: calc(var(--u) * 1); border-right: 1px solid rgba(17, 19, 24, 0.06); }
.mw-thread {
  display: flex; align-items: center; gap: calc(var(--u) * 0.8);
  padding: calc(var(--u) * 0.8);
  border-radius: calc(var(--u) * 0.9);
}
.mw-thread.on { background: rgba(44, 95, 224, 0.12); }
.mw-thread b { display: block; font-weight: 700; }
.mw-thread small { display: block; font-size: .85em; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(var(--u) * 9.5); }
.av {
  flex: none;
  display: grid; place-items: center;
  width: calc(var(--u) * 3); height: calc(var(--u) * 3);
  border-radius: 50%;
  color: var(--white); font-weight: 800;
}
.a1 { background: var(--blue); } .a2 { background: var(--green); } .a3 { background: #a05816; }
.mw-main { display: flex; flex-direction: column; gap: calc(var(--u) * 0.9); padding: calc(var(--u) * 1.4) calc(var(--u) * 1.8); }
.mw-head { display: flex; align-items: baseline; gap: calc(var(--u) * 0.7); padding-bottom: calc(var(--u) * 0.6); border-bottom: 1px solid rgba(17,19,24,.07); }
.mw-head b { font-size: 1.15em; }
.mw-head small { color: var(--ink-2); }
.bub {
  max-width: 78%;
  padding: calc(var(--u) * 0.8) calc(var(--u) * 1.2);
  border-radius: calc(var(--u) * 1.6);
  font-weight: 500;
}
.bub.in { align-self: flex-start; background: #ecebe6; color: var(--ink); border-bottom-left-radius: calc(var(--u) * 0.5); }
.bub.out { align-self: flex-end; background: var(--blue); color: var(--white); border-bottom-right-radius: calc(var(--u) * 0.5); }
.mw-input {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(var(--u) * 0.7) calc(var(--u) * 0.7) calc(var(--u) * 0.7) calc(var(--u) * 1.3);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(17, 19, 24, 0.14);
  color: #6b7280;
}
.mw-input i { width: calc(var(--u) * 2.2); height: calc(var(--u) * 2.2); border-radius: 50%; background: var(--blue); }

/* ---------- ticker ---------- */

.ticker {
  position: relative;
  z-index: 5;
  margin: clamp(-40px, -3vw, -24px) -3vw 0;
  padding: clamp(12px, 1.4vw, 18px) 0;
  background: var(--ink);
  color: var(--paper);
  transform: rotate(-1.6deg);
  overflow: hidden;
  box-shadow: 0 14px 30px -18px rgba(17, 19, 24, 0.7);
}
.ticker-track { display: flex; width: max-content; animation: ticker 42s linear infinite; }
.ticker-group {
  display: flex; align-items: center;
  gap: clamp(14px, 1.6vw, 22px);
  padding-right: clamp(14px, 1.6vw, 22px);
  font-weight: 800;
  font-size: clamp(1.05rem, 2.2vw, 1.6rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.ticker svg { width: 1em; height: 1em; color: var(--sun); stroke-width: 2.6; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- section headings ---------- */

.h2 {
  font-size: clamp(2.25rem, 5.4vw, 4.5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-variation-settings: "wdth" 96;
  text-wrap: balance;
}
.dots {
  font-family: var(--dots);
  font-weight: 900;
  font-size: 1.12em;
  letter-spacing: -0.02em;
  color: var(--blue);
  line-height: 0.8;
}

/* ---------- features ---------- */

.features { padding: clamp(96px, 11vw, 150px) 0 clamp(72px, 8vw, 110px); }
.features .h2 { max-width: 14ch; }

.cargo { margin-top: clamp(40px, 5vw, 64px); counter-reset: cargo; }
.cargo-row {
  display: grid;
  grid-template-columns: minmax(0, 19rem) minmax(0, 1fr) minmax(0, 21rem);
  gap: 16px clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(22px, 2.6vw, 32px) 0;
  border-top: 2px solid var(--ink);
}
.cargo-row:last-child { border-bottom: 2px solid var(--ink); }
.cargo-name {
  display: flex; align-items: center; gap: 14px;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}
.cargo-name svg {
  flex: none;
  width: 48px; height: 48px;
  padding: 11px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--ink);
  stroke-width: 2.1;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.12), 0 6px 12px -6px rgba(120, 90, 0, .6);
}
.cargo-text { max-width: 44ch; color: var(--ink-2); font-size: 1.0625rem; text-wrap: pretty; }

/* little product vignettes */
/* ---------- feature demos: small playable mocks (see main.js) ---------- */

.vig {
  justify-self: end;
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9375rem;
}
:where(.vig) button { font: inherit; color: inherit; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }

/* calls */
.vig-call {
  padding: 8px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-lift);
  rotate: -1.5deg;
  min-width: 268px;
}
.vig-call .av { width: 44px; height: 44px; }
.vc-who { display: flex; flex-direction: column; line-height: 1.2; padding-right: 10px; margin-right: auto; }
.vc-who small { color: #b9c0cc; font-size: .875rem; font-variant-numeric: tabular-nums; }
.vc-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--white); transition: transform .25s var(--ease-out), opacity .3s var(--ease-out); }
.vc-btn svg { width: 20px; height: 20px; }
.vc-btn:active { transform: scale(.92); }
.vc-btn.no { background: var(--red); }
.vc-btn.yes { background: #28a868; }
.vc-btn.end { background: var(--red); display: none; }
.vc-btn.end svg { rotate: 135deg; }
.vig-call[data-state="active"] .vc-btn.no, .vig-call[data-state="active"] .vc-btn.yes { display: none; }
.vig-call[data-state="active"] .vc-btn.end { display: grid; }
.vig-call[data-state="active"] .vc-who small { color: #7ee2a8; }
.vig-call[data-state="ended"] .vc-btn, .vig-call[data-state="declined"] .vc-btn { opacity: .35; pointer-events: none; }
.vig-call.is-ringing { animation: ring 1.1s var(--ease-out); }
.vig-call.is-ringing .vc-btn.yes { animation: ring-pulse 1.1s ease-out; }
@keyframes ring {
  0%, 100% { transform: rotate(0); }
  10%, 30%, 50% { transform: rotate(-2deg); }
  20%, 40%, 60% { transform: rotate(2deg); }
  70% { transform: rotate(0); }
}
@keyframes ring-pulse {
  0% { box-shadow: 0 0 0 0 rgba(40, 168, 104, .6); }
  100% { box-shadow: 0 0 0 14px rgba(40, 168, 104, 0); }
}

/* texts */
.vig-text { flex-direction: column; align-items: flex-end; gap: 8px; rotate: 1.5deg; min-height: 104px; justify-content: center; }
.vig-text .bub { max-width: none; padding: 10px 16px; border-radius: 20px; border-bottom-left-radius: 6px; background: var(--white); box-shadow: var(--shadow-soft); align-self: flex-start; }
.vt-typing {
  display: none; align-self: flex-start; gap: 5px;
  padding: 14px 16px; border-radius: 20px; border-bottom-left-radius: 6px;
  background: var(--white); box-shadow: var(--shadow-soft);
}
.vt-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa3b2; animation: dot 1s infinite ease-in-out; }
.vt-typing i:nth-child(2) { animation-delay: .15s; }
.vt-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-4px); opacity: 1; } }
.vig-text[data-state="typing"] .vt-typing { display: inline-flex; }
.vig-text[data-state="typing"] .vt-bub, .vig-text[data-state="typing"] .vt-copy { display: none; }
.vig-text.is-arriving .vt-bub { animation: slide-in .5s var(--ease-out); }
.vig-text.is-arriving .vt-copy { animation: slide-in .5s .25s var(--ease-out) backwards; }
@keyframes slide-in { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
.vt-copy {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  padding: 0 16px 0 13px;
  border-radius: var(--radius-pill);
  background: var(--blue); color: var(--white) !important;
  font-weight: 700;
  box-shadow: 0 8px 16px -8px rgba(28, 68, 180, .8);
  transition: background-color .3s var(--ease-out), transform .2s var(--ease-out);
}
.vt-copy svg { width: 18px; height: 18px; }
.vt-copy:active { transform: scale(.96); }
.vt-copy.is-copied { background: var(--green); }
.vt-copy.is-hint { animation: ring-pulse-blue 1.2s ease-out 2; }
@keyframes ring-pulse-blue { 0% { box-shadow: 0 0 0 0 rgba(44, 95, 224, .55); } 100% { box-shadow: 0 0 0 12px rgba(44, 95, 224, 0); } }

/* notifications */
.vig-notif { width: 300px; min-height: 124px; align-items: center; justify-content: flex-end; }
.vn-banner {
  position: relative;
  width: 100%;
  padding: 10px 10px 10px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-lift);
  rotate: -1deg;
  transition: transform .55s var(--ease-out), opacity .45s var(--ease-out);
  touch-action: pan-y;
}
.vn-banner[data-state="hidden"] { transform: translateX(115%); opacity: 0; }
.vn-banner[data-state="gone"] { transform: translateX(115%); opacity: 0; }
.vn-top { display: flex; align-items: center; gap: 10px; }
.vn-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #e3effc; flex: none; }
.vn-icon img { width: 30px; height: auto; image-rendering: pixelated; }
.vn-body { display: flex; flex-direction: column; line-height: 1.25; margin-right: auto; min-width: 0; }
.vn-body small { color: var(--ink-2); font-size: .9em; }
.vn-act { min-height: 44px; padding: 0 16px; border-radius: var(--radius-pill); background: #ecebe6 !important; font-weight: 700; font-size: .875rem; transition: background-color .25s; }
.vn-act:hover { background: #e0dfd8 !important; }
.vn-close { display: grid; place-items: center; width: 44px; height: 44px; margin: -4px -6px -4px -8px; border-radius: 50%; background: transparent; color: #7a8190 !important; }
.vn-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.vn-reply { display: none; align-items: center; gap: 8px; margin-top: 10px; }
.vn-banner[data-state="replying"] .vn-reply, .vn-banner[data-state="sent"] .vn-reply { display: flex; animation: slide-in .35s var(--ease-out); }
.vn-banner[data-state="replying"] .vn-act, .vn-banner[data-state="sent"] .vn-act { display: none; }
.vn-field { flex: 1; display: flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 99px; background: #f1f0ec; font-size: .9375rem; }
.vn-caret { width: 1.5px; height: 1.1em; margin-left: 1px; background: var(--blue); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.vn-send { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: var(--white); transition: background-color .3s; }
.vn-send svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.vn-banner[data-state="sent"] .vn-send { background: var(--green); }
.vn-sent { position: absolute; right: 14px; top: -12px; padding: 3px 10px; border-radius: 99px; background: var(--green); color: var(--white); font-size: .8125rem; font-weight: 700; opacity: 0; transition: opacity .3s; }
.vn-banner[data-state="sent"] .vn-sent { opacity: 1; }

/* clipboard */
.vig-clip { gap: 10px; }
.vk { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.vk-key { padding: 0; background: none; border-radius: 10px; }
.vk kbd {
  display: inline-grid; place-items: center;
  min-width: 64px; height: 44px; padding: 0 12px;
  border-radius: 10px;
  font-family: var(--display); font-weight: 700; font-size: .9375rem;
  background: linear-gradient(180deg, #ffffff, #ecebe6);
  box-shadow: inset 0 -4px 0 rgba(17, 19, 24, 0.12), 0 0 0 1px rgba(17, 19, 24, 0.14), 0 8px 14px -8px rgba(17, 19, 24, .5);
  transition: transform .12s var(--ease-out), box-shadow .12s var(--ease-out), background .3s;
}
.vk-key.is-down kbd, .vk-key:active kbd {
  transform: translateY(3px);
  box-shadow: inset 0 -1px 0 rgba(17, 19, 24, 0.12), 0 0 0 1px rgba(17, 19, 24, 0.14), 0 2px 4px -2px rgba(17, 19, 24, .5);
}
.vk-paste.is-done kbd { background: linear-gradient(180deg, #ffffff, #dcf3e6); }
.vk-track { position: relative; display: grid; place-items: center; width: 58px; height: 44px; }
.vk-arrow { width: 22px; height: 22px; color: var(--blue); stroke-width: 2.4; }
.vk-chip {
  position: absolute; left: 50%; top: -22px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px 3px 6px;
  border-radius: 99px;
  background: var(--sun);
  font-size: .75rem; font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 8px -4px rgba(17,19,24,.4);
  opacity: 0;
  translate: -50% 0;
}
.vk-chip svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.vk-chip.is-flying { animation: fly 0.75s var(--ease-out) forwards; }
@keyframes fly {
  0% { opacity: 0; transform: translateX(-48px) translateY(10px) scale(.8); }
  20% { opacity: 1; }
  60% { transform: translateX(10px) translateY(-6px) scale(1); opacity: 1; }
  100% { transform: translateX(48px) translateY(10px) scale(.85); opacity: 0; }
}

/* also on board */
.also-title {
  margin-top: clamp(56px, 7vw, 88px);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.also-title { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1; }
.extras {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.extra {
  --tone: var(--blue);
  --tone-ink: var(--white);
  position: relative;
  padding: 22px 22px 22px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 2px 0 rgba(17,19,24,.05), 0 18px 32px -24px rgba(17, 30, 60, 0.55);
  rotate: -0.5deg;
  transition: transform .8s var(--ease-out), box-shadow .8s var(--ease-out);
}
.extra:nth-child(3n+2) { rotate: 0.6deg; }
.extra:nth-child(3n) { rotate: -0.2deg; }
.extra::before {
  content: "";
  position: absolute; inset: 6px;
  border: 1.5px dashed var(--stitch);
  border-radius: 17px;
  pointer-events: none;
}
.extra::after {
  content: "";
  position: absolute; top: 20px; right: 20px;
  width: 18px; height: 10px;
  background: var(--tone);
}
.extra:hover { transform: translateY(-3px); box-shadow: 0 2px 0 rgba(17,19,24,.05), 0 26px 40px -24px rgba(17, 30, 60, 0.6); }
.x-green { --tone: var(--green); }
.x-yellow { --tone: var(--sun); --tone-ink: var(--ink); }
.extra-ic {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--tone);
  color: var(--tone-ink);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.16);
}
.extra-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.extra h4 { margin: 16px 0 0; font-family: var(--display); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.extra p { margin-top: 6px; color: var(--ink-2); font-size: .9688rem; line-height: 1.5; text-wrap: pretty; }
.extra-wide { grid-column: span 2; background: #e3effc; }
.extra-wide h4 { font-size: 1.5rem; }

/* ---------- living scene: bird, pops, hover ---------- */

.flight-bird { cursor: pointer; }
.flight-line { animation: march 1.8s linear infinite; }
@keyframes march { to { stroke-dashoffset: -26; } }

.phone-hero, .macwin { cursor: pointer; transition: box-shadow .4s var(--ease-out); will-change: translate; }
.is-pop { animation: pop .7s var(--ease-out); }
@keyframes pop {
  0% { scale: 1; }
  30% { scale: 1.07; }
  100% { scale: 1; }
}

/* feature rows react as you pass over them */
.vig { transition: translate .5s var(--ease-out); }
.cargo-row:hover .vig { translate: 0 -2px; }
.cargo-name svg { transition: transform .5s var(--ease-out); }
.cargo-row:hover .cargo-name svg { transform: rotate(-6deg); }

/* ---------- reveal on scroll (only when JS runs and motion is allowed) ---------- */

.motion [data-reveal].pre,
.motion [data-reveal-group] > .pre { opacity: 0; translate: 0 26px; }
.motion [data-reveal].in,
.motion [data-reveal-group] > .in {
  opacity: 1; translate: 0 0;
  transition: opacity .7s var(--ease-out), translate .9s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}

/* ---------- how it works ---------- */

.how { padding: clamp(56px, 7vw, 96px) 0 clamp(88px, 10vw, 140px); border-top: 1px solid rgba(17,19,24,.08); }
.sec-sub { margin-top: 14px; max-width: 46ch; color: var(--ink-2); font-size: 1.125rem; }
.steps {
  margin-top: clamp(36px, 4.5vw, 60px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px minmax(0, 1fr) 112px minmax(0, 1fr);
  align-items: start;
}
.step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.step h3 { margin-top: 12px; font-size: clamp(1.35rem, 2vw, 1.6rem); font-weight: 750; letter-spacing: -0.025em; line-height: 1.1; }
.step > p:not(.part) { margin-top: 8px; color: var(--ink-2); max-width: 32ch; text-wrap: pretty; }
.step .part { margin-top: 26px; justify-content: center; }
.step-arrow { padding-top: 76px; display: grid; place-items: center; }
.step-arrow svg { overflow: visible; }
.arrow-h { width: 104px; height: 52px; }
.arrow-v { display: none; width: 44px; height: 66px; }
.step-arrow .arc {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 2 10;
  animation: march 1.6s linear infinite;
}
.step-arrow marker path { fill: none; stroke: var(--blue); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* paper print that holds each step's picture; it can unfold from a crumpled ball (see main.js) */
.print {
  position: relative;
  width: min(256px, 100%);
  height: 214px;
  display: grid; place-items: center;
  border-radius: 6px;
  background: #fffefb;
  box-shadow: 0 1px 2px rgba(17,19,24,.08), 0 22px 36px -22px rgba(17, 30, 60, 0.5);
  rotate: -1.5deg;
}
.step:nth-of-type(2) .print { rotate: 1.2deg; }
.print.is-folded { background: transparent; box-shadow: none; }
.print > :not(canvas) { transition: opacity .35s var(--ease-out); }
.print.is-folded > :not(canvas) { opacity: 0; }
.print canvas { position: absolute; left: -40px; top: -40px; pointer-events: none; z-index: 3; }
.print-art { position: relative; z-index: 1; }

.part {
  display: flex; align-items: baseline; gap: 6px;
  font-weight: 800;
  font-size: clamp(2.5rem, 3.6vw, 3.2rem);
  line-height: .9;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.part small { font-family: var(--text); font-size: .9375rem; font-weight: 700; letter-spacing: 0; }
.text-link {
  margin-top: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  font-weight: 700;
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.text-link svg { width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.text-link:hover svg { transform: translateX(3px); }
.app-art {
  justify-content: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.app-icon {
  display: grid; place-items: center;
  width: 112px; height: 112px;
  border-radius: 26px;
  background: linear-gradient(180deg, #8fcaf3 0%, #5aaeea 55%, #3d8fe0 100%);
  box-shadow:
    inset 0 2px 1px rgba(255,255,255,.5),
    inset 0 -6px 12px rgba(10, 40, 100, .25),
    0 26px 40px -22px rgba(17, 30, 80, .6);
  transform: rotate(-3deg);
  transition: transform .9s var(--ease-out);
}
.app-icon:hover { transform: rotate(-2deg) translateY(-2px); }
.app-icon img { width: 70px; height: auto; image-rendering: pixelated; }
.app-name { font-weight: 600; font-size: .9375rem; padding: 4px 12px; border-radius: 8px; background: rgba(44, 95, 224, .1); }
.print .mini-mac { width: 206px; transform: none; box-shadow: 0 0 0 1px rgba(17,19,24,.1), 0 10px 20px -14px rgba(17, 30, 60, .5); }
.print .mini-mac:hover { transform: none; }
.print .keycap { width: 150px; height: 144px; border-radius: 28px; }
.print .keycap .keycap-top { left: 14px; right: 14px; top: 10px; bottom: 24px; border-radius: 20px; padding: 12px 14px; }
.print .keycap .keycap-top b { font-size: 1.4rem; }

.qr-tag {
  position: relative;
  padding: 14px 14px 10px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-lift);
  transform: rotate(-3deg);
  text-align: center;
  transition: transform .9s var(--ease-out);
}
.qr-tag:hover { transform: rotate(-1deg) translateY(-2px); }
.qr-tag::before {
  content: "";
  position: absolute; inset: 5px;
  border: 1.5px dashed var(--stitch);
  border-radius: 14px;
  pointer-events: none;
}
.qr-tag img { width: 148px; height: 148px; }
.qr-tag figcaption { margin-top: 4px; font-size: .8125rem; font-weight: 700; }

.mini-mac {
  width: 236px;
  border-radius: 14px;
  background: var(--white);
  overflow: hidden;
  transform: rotate(2.5deg);
  box-shadow: 0 0 0 1px rgba(17,19,24,.08), var(--shadow-lift);
  transition: transform .5s var(--ease-out);
}
.mini-mac:hover { transform: rotate(1.5deg) translateY(-2px); }
.mini-mac .mw-bar { --u: 6px; height: 26px; }
.mini-mac-body b { font-size: .8125rem; white-space: nowrap; }
.mini-mac-body { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 14px 12px; font-size: .875rem; }
.mini-mac-body img { width: 96px; height: 96px; }

/* ---------- glossy keycaps (pressable) ---------- */

.keycap {
  --cap-hi: #6f97f6; --cap: #2c5fe0; --cap-lo: #1a3fa8; --cap-face-a: #5a86f3; --cap-face-b: #2f63e2; --cap-label: #ffffff;
  position: relative;
  width: 196px; height: 188px;
  padding: 0;
  border: 0;
  border-radius: 34px;
  cursor: pointer;
  background: linear-gradient(180deg, var(--cap-hi) 0%, var(--cap) 42%, var(--cap-lo) 100%);
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, 0.45),
    inset 0 -8px 14px rgba(10, 25, 80, 0.35),
    inset 6px 0 10px rgba(255, 255, 255, 0.08),
    0 30px 34px -18px rgba(17, 30, 80, 0.6),
    0 54px 44px -40px rgba(17, 19, 24, 0.55);
  transform: rotate(-4deg);
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.keycap-top {
  position: absolute;
  left: 18px; right: 18px; top: 13px; bottom: 32px;
  border-radius: 24px;
  background:
    linear-gradient(155deg, rgba(255,255,255,.42) 0%, rgba(255,255,255,0) 38%),
    linear-gradient(170deg, var(--cap-face-a) 0%, var(--cap-face-b) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -3px 6px rgba(10,25,80,.2), 0 3px 4px rgba(10, 25, 80, 0.28);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 16px 18px;
  color: var(--cap-label);
  text-align: left;
}
.keycap-top b { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1; text-shadow: 0 1px 1px rgba(10,25,80,.35); }
.keycap-top svg { width: 26px; height: 26px; align-self: flex-end; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.keycap:hover { transform: rotate(-4deg) translateY(-3px); }
.keycap:active, .keycap.is-pressed {
  transform: rotate(-4deg) translateY(7px);
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, 0.4),
    inset 0 -4px 10px rgba(10, 25, 80, 0.35),
    0 10px 14px -10px rgba(17, 30, 80, 0.6),
    0 20px 24px -22px rgba(17, 19, 24, 0.5);
}
.keycap:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; border-radius: 34px; }
.keycap-sun {
  --cap-hi: #ffe57a; --cap: #ffd23f; --cap-lo: #d9a800; --cap-face-a: #ffe36b; --cap-face-b: #ffcf2e; --cap-label: var(--ink);
  width: 150px; height: 144px; border-radius: 28px;
}
.keycap-sun .keycap-top { left: 14px; right: 14px; top: 10px; bottom: 24px; border-radius: 20px; align-items: center; justify-content: center; }
.keycap-sun .keycap-top b { font-size: 3.6rem; font-weight: 800; text-shadow: 0 1px 0 rgba(255,255,255,.5); }
.keycap-sun:focus-visible { border-radius: 28px; }

/* pixel birds that pop out of a pressed key */
.spark {
  position: fixed;
  width: 34px; height: auto;
  pointer-events: none;
  z-index: 60;
  animation: spark 1.1s var(--ease-out) forwards;
}
@keyframes spark {
  0% { opacity: 1; transform: translate(0, 0) scale(.6); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1) rotate(var(--rot)); }
}

/* ---------- phones ---------- */

.phones { padding: clamp(40px, 6vw, 80px) 0 clamp(88px, 10vw, 140px); border-top: 1px solid rgba(17,19,24,.08); }
.big-type {
  --F: clamp(3.4rem, calc((min(100vw, 1240px) - 2 * var(--gutter)) / 5.9), 13.5rem);
  display: flex; justify-content: center;
  padding: calc(var(--F) * 0.42) 0 calc(var(--F) * 0.1);
  font-family: var(--dots);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .78;
  letter-spacing: -0.02em;
  color: var(--ink);
  user-select: none;
}
.bt-inner { display: flex; align-items: center; gap: calc(var(--F) * 0.3); }
.bt-words { display: flex; flex-direction: column; }
.bt-line { font-size: var(--F); }
.bt-small { margin-top: .08em; align-self: flex-end; }
.bt-phone { position: relative; flex: none; }
.perch {
  position: absolute; z-index: 3;
  width: calc(var(--F) * 0.36);
  left: 50%; top: calc(var(--F) * -0.3);
  translate: -40% 0;
  image-rendering: pixelated;
  transform-origin: 50% 100%;
}
.perch:hover, .perch.is-hop { animation: perch-hop .7s var(--ease-out); }
@keyframes perch-hop {
  0% { transform: translateY(0) scaleY(1); }
  20% { transform: translateY(0) scaleY(.85); }
  50% { transform: translateY(-40%) scaleY(1.05); }
  80% { transform: translateY(0) scaleY(.92); }
  100% { transform: translateY(0) scaleY(1); }
}
.phone.phone-up {
  --u: calc(var(--F) * 0.0385);
  position: relative;
  left: auto; top: auto;
  width: calc(var(--u) * 22);
  height: calc(var(--u) * 45);
  transform: rotate(-4deg);
  transition: transform 1.2s var(--ease-out);
}
.phone.phone-up:hover { transform: rotate(-3deg) translateY(-3px); }
.screen-up {
  display: flex; flex-direction: column; align-items: stretch; gap: calc(var(--u) * 1.1);
  padding: calc(var(--u) * 3.6) calc(var(--u) * 1.3) calc(var(--u) * 1.6);
  background: #f4f7fb;
  color: var(--ink);
  font-family: var(--text);
  font-size: calc(var(--u) * 1.32);
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0;
}
.screen-up .punch { background: #0b0c0f; }
.pa-bar { display: flex; align-items: center; gap: calc(var(--u) * 0.7); padding: 0 calc(var(--u) * 0.3); }
.pa-bar img { width: calc(var(--u) * 2.6); image-rendering: pixelated; }
.pa-bar b { font-family: var(--display); font-weight: 750; font-size: calc(var(--u) * 1.75); letter-spacing: -0.02em; }
.pa-card {
  display: flex; flex-direction: column; gap: calc(var(--u) * 0.3);
  padding: calc(var(--u) * 1.3) calc(var(--u) * 1.3);
  border-radius: calc(var(--u) * 1.6);
  background: linear-gradient(160deg, #5aaeea 0%, #2c5fe0 100%);
  color: var(--white);
}
.pa-mac { font-family: var(--display); font-weight: 750; font-size: calc(var(--u) * 1.8); letter-spacing: -0.02em; }
.pa-status { display: inline-flex; align-items: center; gap: calc(var(--u) * 0.5); font-weight: 600; }
.pa-status i { width: calc(var(--u) * 0.85); height: calc(var(--u) * 0.85); border-radius: 50%; background: #5cf08f; box-shadow: 0 0 0 calc(var(--u) * 0.25) rgba(92, 240, 143, .3); }
.pa-toggles { display: flex; flex-direction: column; border-radius: calc(var(--u) * 1.4); background: var(--white); padding: 0 calc(var(--u) * 1.1); }
.pa-toggles li { display: flex; align-items: center; justify-content: space-between; gap: calc(var(--u) * 0.6); padding: calc(var(--u) * 0.95) 0; }
.pa-toggles li + li { border-top: 1px solid rgba(17, 19, 24, .07); }
.pa-toggles span { font-weight: 500; }
.pa-sw { flex: none; position: relative; width: calc(var(--u) * 3); height: calc(var(--u) * 1.7); border-radius: 99px; background: #c9ced8; }
.pa-sw::after { content: ""; position: absolute; top: calc(var(--u) * 0.25); left: calc(var(--u) * 0.25); width: calc(var(--u) * 1.2); height: calc(var(--u) * 1.2); border-radius: 50%; background: var(--white); transition: transform .5s var(--ease-out); }
.pa-sw.on { background: var(--green); }
.pa-sw.on::after { transform: translateX(calc(var(--u) * 1.3)); }
.pa-btn { text-align: center; padding: calc(var(--u) * 0.95); border-radius: 99px; background: #e3effc; color: var(--blue-deep); font-weight: 700; }
.pa-toast {
  margin-top: auto;
  align-self: center;
  padding: calc(var(--u) * 0.8) calc(var(--u) * 1.4);
  border-radius: 99px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  white-space: nowrap;
  transition: opacity .6s var(--ease-out), translate .6s var(--ease-out);
}
.pa-toast.is-out { opacity: 0; translate: 0 calc(var(--u) * 0.8); }

.phones-lede {
  margin: clamp(28px, 3.4vw, 44px) auto 0;
  text-align: center;
  font-size: clamp(1.3rem, 2.3vw, 1.75rem);
  font-weight: 750;
  letter-spacing: -0.025em;
}
/* plain-text brand names drifting in one even row; the copy row makes the loop seamless */
.brand-wall {
  margin-top: 26px;
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.brand-row {
  flex: none;
  display: flex;
  animation: brands 46s linear infinite;
}
.brand-wall:hover .brand-row { animation-play-state: paused; }
.brand-row li {
  flex: none;
  display: flex; align-items: center;
  padding: 0 clamp(18px, 2.2vw, 30px);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.9vw, 1.6rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}
.brand-row li::after {
  content: "";
  width: 8px; height: 8px;
  margin-left: clamp(36px, 4.4vw, 60px);
  margin-right: calc(-1 * clamp(18px, 2.2vw, 30px));
  background: var(--blue);
}
.brand-row li:nth-child(3n+2)::after { background: var(--green); }
.brand-row li:nth-child(3n)::after { background: var(--sun); }
@keyframes brands { to { transform: translateX(-100%); } }
.brand-note { margin-top: 14px; text-align: center; font-size: .9375rem; color: var(--ink-2); }
.fine {
  margin: 34px auto 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px 14px;
}
.fine li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 8px;
  border-radius: 99px;
  background: var(--white);
  box-shadow: 0 0 0 1.5px rgba(17, 19, 24, 0.1);
  color: var(--ink-2);
  font-size: .9688rem;
}
.fine b { color: var(--ink); font-weight: 700; }
.fine-ic { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #e3effc; color: var(--blue); }
.fine-ic.no { background: #fbe3e3; color: var(--red); }
.fine-ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- privacy ---------- */

.privacy { padding: clamp(88px, 10vw, 140px) 0; }
.privacy-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.privacy-lead { position: sticky; top: 110px; }
.privacy .h2 { max-width: 11ch; }
.sky .dots { color: var(--ink); }
.blue { color: var(--blue-deep); }
.line-diagram {
  margin-top: clamp(32px, 4vw, 48px);
  position: relative;
  padding: 64px 0 0;
}
.no-cloud {
  position: absolute; top: 0; left: 50%;
  translate: -50% 0;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.7);
  border: 1.5px dashed rgba(17,19,24,.35);
  font-weight: 700; font-size: .875rem;
  color: var(--ink-2);
  white-space: nowrap;
}
.no-cloud svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.no-cloud::after {
  content: ""; position: absolute; left: 8px; top: 50%;
  width: 26px; height: 2.5px; border-radius: 2px;
  background: var(--red);
  transform: translateY(-50%) rotate(-40deg);
}
.ld-row { display: flex; align-items: center; }
.ld-chip {
  flex: none;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: var(--white);
  font-weight: 800;
  box-shadow: var(--shadow-lift);
}
.ld-chip svg { width: 28px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ld-wire {
  position: relative;
  flex: 1;
  height: 3px;
  margin: 0 -2px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 15px);
}
.ld-packet {
  position: absolute; top: 50%; left: 0;
  width: 12px; height: 12px; margin-top: -6px;
  border-radius: 3px;
  background: var(--sun);
  box-shadow: 0 0 0 2px var(--ink);
  animation: packet 3.2s ease-in-out infinite alternate;
}
@keyframes packet { from { left: 4%; } to { left: calc(96% - 12px); } }
.ld-lock {
  position: absolute; left: 50%; top: 50%;
  translate: -50% -50%;
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  box-shadow: 0 0 0 4px rgba(255,255,255,.7);
}
.ld-lock svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ld-cap { margin-top: 14px; text-align: center; font-weight: 700; color: var(--ink-sky); font-size: .9375rem; }

.claims {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.claim {
  --tone: var(--blue);
  --tone-ink: var(--white);
  position: relative;
  padding: 26px 24px 24px;
  border-radius: 24px;
  background: #fbfaf6;
  box-shadow: 0 2px 0 rgba(17,19,24,.05), 0 24px 40px -26px rgba(17, 30, 60, 0.55);
  rotate: -0.6deg;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), rotate .45s var(--ease-out);
}
.claim:nth-child(even) { rotate: 0.7deg; translate: 0 18px; }
.claim::before {
  content: "";
  position: absolute; inset: 7px;
  border: 1.5px dashed var(--stitch);
  border-radius: 18px;
  pointer-events: none;
}
.claim::after {
  content: "";
  position: absolute; top: 22px; right: 22px;
  width: 22px; height: 12px;
  background: var(--tone);
}
.claim:hover { transform: translateY(-3px); box-shadow: 0 2px 0 rgba(17,19,24,.05), 0 34px 50px -26px rgba(17, 30, 60, 0.6); }
.c-green { --tone: var(--green); }
.c-yellow { --tone: var(--sun); --tone-ink: var(--ink); }
.claim-ic {
  display: grid; place-items: center;
  width: 50px; height: 50px;
  border-radius: 16px;
  background: var(--tone);
  color: var(--tone-ink);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.16);
  transition: transform .5s var(--ease-out);
}
.claim:hover .claim-ic { transform: rotate(-5deg); }
.claim-ic svg { width: 24px; height: 24px; }
.claim h3 { margin-top: 18px; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.claim p { margin-top: 6px; color: var(--ink-2); text-wrap: pretty; font-size: 1rem; line-height: 1.55; }

/* ---------- faq ---------- */

.faq { padding: clamp(64px, 7vw, 104px) 0 clamp(64px, 7vw, 96px); }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
/* the left column lines up with the list's first row and stays in view while the list scrolls */
.faq-lead {
  position: sticky; top: 104px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "title title" "sub key";
  align-items: end;
  column-gap: 20px;
  padding-top: 18px;
}
.faq-lead .h2 { grid-area: title; }
.faq-lead p { grid-area: sub; margin-top: 18px; color: var(--ink-2); max-width: 22ch; font-size: 1.125rem; line-height: 1.5; }
.faq-lead .keycap {
  grid-area: key;
  width: 92px; height: 88px;
  border-radius: 22px;
  margin: 0 6px 4px 0;
}
.faq-lead .keycap .keycap-top { left: 9px; right: 9px; top: 7px; bottom: 16px; border-radius: 15px; padding: 0; }
.faq-lead .keycap .keycap-top b { font-size: 2.3rem; }
.faq-lead .keycap:focus-visible { border-radius: 22px; }

.qa { border-top: 2px solid var(--ink); }
.qa details { border-bottom: 2px solid var(--ink); }
.qa summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  align-items: center;
  column-gap: 20px;
  min-height: 80px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  outline: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa-q {
  font-weight: 700;
  font-size: clamp(1.125rem, 1.7vw, 1.375rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-wrap: balance;
  transition: color .3s var(--ease-out);
}
/* hover and focus change colour only: nothing moves */
.qa summary:hover .qa-q, .qa summary:focus-visible .qa-q { color: var(--blue-deep); }
.qa-ic {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--ink);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.12);
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out);
}
.qa-ic svg { width: 22px; height: 22px; stroke-width: 2.6; transition: rotate .45s var(--ease-out); }
.qa summary:hover .qa-ic { background: #ffc61a; }
.qa summary:focus-visible .qa-ic { outline: 3px solid var(--blue); outline-offset: 3px; }
.qa details[open] .qa-ic { background: var(--ink); color: var(--sun); }
.qa details[open] .qa-ic svg { rotate: 45deg; }
.qa details.closing .qa-ic { background: var(--sun); color: var(--ink); }
.qa details.closing .qa-ic svg { rotate: 0deg; }
.qa-body { overflow: hidden; }
.qa-inner { padding: 0 66px 26px 0; color: var(--ink-2); max-width: 64ch; font-size: 1.0625rem; line-height: 1.65; }
.qa-inner p + p { margin-top: 10px; }
.qa-inner a { color: var(--blue); font-weight: 700; text-underline-offset: 3px; }
.qa-inner code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .875em; padding: 2px 6px; border-radius: 6px; background: rgba(17, 19, 24, .07); color: var(--ink); white-space: nowrap; }

/* ---------- footer ---------- */

.foot {
  position: relative;
  overflow: clip;
  padding-top: clamp(96px, 11vw, 150px);
  background: linear-gradient(180deg, #4ea3e6 0%, #7cc0ef 45%, #bfe3f9 100%);
}
.foot-top, .foot-cols { position: relative; z-index: 1; }
.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: clamp(32px, 5vw, 64px) clamp(28px, 5vw, 72px) clamp(28px, 4vw, 48px);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 30px 60px -30px rgba(17, 30, 60, .45);
}
.foot-title {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -0.045em;
  font-variation-settings: "wdth" 96;
}
.foot-title .blue { color: var(--blue); }
.foot-cta > p { margin-top: 18px; color: var(--ink-2); font-size: 1.125rem; }
.foot-row { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.foot-row .btn-soon { background: transparent; }
.foot-qr { align-self: start; margin-top: 6px; transform: none; }
.foot-qr:hover { transform: translateY(-2px); }
.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 8px clamp(28px, 5vw, 72px) clamp(36px, 5vw, 56px);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: 0 -4px;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 30px 60px -30px rgba(17, 30, 60, .45);
}
.foot-cols::before {
  content: "";
  position: absolute; top: 0; left: clamp(28px, 5vw, 72px); right: clamp(28px, 5vw, 72px);
  border-top: 2px dashed var(--stitch);
}
.foot-col { padding-top: 28px; }
.foot-col h3 { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 800; letter-spacing: -0.01em; text-transform: uppercase; }
.blk { width: 18px; height: 10px; }
.blk-blue { background: var(--blue); } .blk-green { background: var(--green); } .blk-yellow { background: var(--sun); box-shadow: inset 0 0 0 1px rgba(17,19,24,.25); }
.foot-col ul { margin-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.foot-col li { color: var(--ink-2); min-height: 36px; display: flex; align-items: center; }
.foot-col a { color: var(--ink); font-weight: 600; text-decoration: none; background: linear-gradient(var(--blue), var(--blue)) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease-out), color .2s; padding: 4px 0; }
.foot-col a:hover { background-size: 100% 2px; color: var(--blue-deep); }
.muted { color: var(--ink-2); }
.foot-vertical {
  position: absolute; z-index: 2;
  right: clamp(8px, 1.6vw, 22px); top: clamp(120px, 14vw, 190px);
  writing-mode: vertical-rl;
  font-weight: 800;
  font-size: .875rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink);
}
.foot-vertical span { color: var(--white); }

.foot-land {
  position: relative;
  height: clamp(250px, 30vw, 460px);
  margin-top: clamp(8px, 2vw, 24px);
}
.foot-word {
  position: absolute; left: 0; right: 0;
  bottom: clamp(70px, 9vw, 140px);
  text-align: center;
  font-family: var(--dots);
  font-weight: 900;
  font-size: clamp(3.6rem, 15.5vw, 14rem);
  line-height: .8;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 6px 0 rgba(28, 68, 180, .18);
  user-select: none;
}
.meadow {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  width: 100%;
  height: clamp(150px, 17vw, 280px);
  pointer-events: none;
}
.pixel-pal {
  position: absolute; z-index: 3;
  left: 0; bottom: clamp(52px, 6vw, 96px);
  width: clamp(44px, 4.4vw, 64px);
  padding: 0; border: 0; background: none;
  cursor: pointer;
  transform-origin: 50% 100%;
  -webkit-tap-highlight-color: transparent;
}
.pixel-pal img { width: 100%; height: auto; image-rendering: pixelated; transform-origin: 50% 100%; }
.pixel-pal::after { content: ""; position: absolute; inset: -6px -4px; }
.pixel-pal:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.foot-base { position: relative; z-index: 3; background: #1f5a29; color: #e6f3e1; }
.foot-base-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 18px 0 22px; font-size: .9375rem; }
.to-top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--white); font-weight: 700; text-underline-offset: 4px; }
.to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
.to-top:hover svg { transform: translateY(-3px); }
.to-top:focus-visible { outline-color: var(--sun); }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .cargo-row { grid-template-columns: minmax(0, 1fr) auto; }
  .cargo-name { grid-column: 1 / -1; }
  .vig { grid-column: 2; justify-self: end; }
}

@media (max-width: 960px) {
  .privacy-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .privacy-lead, .faq-lead { position: static; }
  .line-diagram { max-width: 520px; }
  .faq-lead { padding-top: 0; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-bottom: 0; }
  .hc-stage { margin-top: 84px; max-width: 640px; width: 100%; justify-self: center; }
  .steps { grid-template-columns: minmax(0, 1fr); max-width: 440px; margin-inline: auto; }
  .step-arrow { padding: 18px 0 14px; }
  .arrow-h { display: none; }
  .arrow-v { display: block; }
  .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  
  
  
  
  .foot-top { grid-template-columns: minmax(0, 1fr); }
  .foot-qr { justify-self: start; }
}

@media (max-width: 720px) {
  .extras { grid-template-columns: minmax(0, 1fr); }
  .extra-wide { grid-column: auto; }
  .cargo-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .vig { grid-column: 1; justify-self: start; margin-top: 6px; }
  .claims { grid-template-columns: minmax(0, 1fr); }
  .claim:nth-child(even) { translate: 0 0; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .hc-ctas .btn { width: 100%; }
  .hc-stage { margin-top: 72px; }
  .scene { --u: 2.1cqw; }
  .scene::before { height: calc(var(--u) * 50); }
  .flight-d { display: none; }
  .flight-m { display: block; }
  .flight { top: calc(var(--u) * -8); aspect-ratio: 1000 / 400; }
  .macwin { left: calc(var(--u) * 13); top: calc(var(--u) * 9); width: calc(var(--u) * 34); }
  .mw-body { grid-template-columns: 1fr; min-height: calc(var(--u) * 26); }
  .mw-side { display: none; }
  .mw-title { transform: none; }
  .btn { width: 100%; }
  .cta-row { width: 100%; max-width: 360px; }
  .c1 { top: 66%; left: -16%; }
  .c2 { top: 9%; right: -14%; }
  .c3, .c7 { display: none; }
  .brand { padding-right: 14px; }
  .faq-lead .keycap { width: 76px; height: 72px; border-radius: 18px; }
  .faq-lead .keycap .keycap-top b { font-size: 1.9rem; }

  .qa-inner { padding-right: 0; }
  .foot-qr { display: none; }
  .foot-vertical { display: none; }
  .foot-top { border-radius: 28px 28px 0 0; padding: 32px 22px 24px; }
  .foot-cols { border-radius: 0 0 28px 28px; padding: 4px 22px 32px; gap: 8px 20px; }
  .foot-cols::before { left: 22px; right: 22px; }
  .foot-cols { grid-template-columns: minmax(0, 1fr); }
  .foot-col { padding-top: 22px; }
  .foot-col ul { flex-direction: row; flex-wrap: wrap; gap: 0 18px; }
  .foot-row .btn-soon { background: rgba(255,255,255,.6); }
  .line-diagram { padding-top: 60px; }
  .ld-chip { padding: 10px 14px 10px 10px; }
}

@media (max-width: 640px) {
  .bt-inner { flex-direction: column-reverse; gap: 66px; }
  .phones-lede { font-size: 1.0625rem; white-space: nowrap; }
  .fine li { font-size: .875rem; }
  .phone.phone-up { --u: 7.8px; }
  .perch { width: 58px; top: -48px; }
  .bt-inner { gap: 72px; }
  .extra p { font-size: 1rem; }
  .hc-tiny { font-size: 1rem; }
  .fine { flex-direction: column; align-items: stretch; max-width: 360px; }
  .fine li { font-size: .9375rem; }
  /* footer on phones: same look, taller rows so every link is an easy 44px tap */
  .foot-col li { min-height: 44px; }
  .foot-col a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
}

/* phones held sideways: keep the hero picture to a sensible size */
@media (max-height: 500px) and (orientation: landscape) {
  .hc-stage { max-width: 460px; }
}

@media (max-width: 380px) {
  .brand-name { display: none; }
  .brand { padding-right: 5px; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cloud, .ticker-track, .flight-line, .ld-packet, .step-arrow .arc, .vt-typing i, .vn-caret { animation: none !important; }
  .brand-wall { mask-image: none; -webkit-mask-image: none; }
  .brand-row { flex-wrap: wrap; justify-content: center; row-gap: 10px; flex: 1; }
  .brand-dup { display: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* JS drives the ticker (it follows the scroll), so switch off the CSS loop. */
.motion .ticker-track { animation: none; }
/* Blue surfaces carry white text, even where they hold no text of their own. */
.keycap { color: var(--cap-label); }
.blk-blue, .ph-app-text, .mw-input i, .tl, .a1, .flight { color: var(--white); }
