/* BlueMesh — public site.
   The app's night surface, its mesh blues and its SOS red; Archivo, expanded and heavy, for
   display type (the app's expanded display face); Atkinson Hyperlegible Next for reading. */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/fonts/atkinson-hyperlegible-next-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/fonts/atkinson-hyperlegible-next-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Mono";
  src: url("/fonts/atkinson-hyperlegible-mono-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --night: #060b1f;
  --night-2: #0b1433;
  --night-3: #111c45;
  --line: rgba(160, 185, 255, 0.14);
  --line-strong: rgba(160, 185, 255, 0.26);
  --text: #eef2ff;
  --muted: #a3b0d4;
  --mesh: #4c82ff;
  --mesh-deep: #1f5bff;
  --glow: #38cbff;
  --sos: #f2412e;
  --sos-deep: #c9271c;
  --amber: #f5c04a;
  --green: #22c38e;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Atkinson Hyperlegible Next", system-ui, -apple-system, sans-serif;
  --mono: "Atkinson Hyperlegible Mono", ui-monospace, monospace;

  --radius-l: 28px;
  --radius-m: 18px;
  --pad: clamp(20px, 5vw, 64px);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { margin: 0; font-family: var(--display); font-stretch: 112%; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 800; line-height: 1.05; text-wrap: balance; }
h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.25; font-stretch: 105%; letter-spacing: -0.01em; }
p { margin: 0; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--text); color: var(--night); padding: 10px 14px; border-radius: 10px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 1rem/1 var(--body); text-decoration: none; white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: linear-gradient(135deg, var(--mesh-deep), var(--glow));
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(56, 203, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn--primary:hover { box-shadow: 0 14px 40px -8px rgba(56, 203, 255, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn--ghost { color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.06); }
.btn--glass { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px var(--line); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.14); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 0.9rem; }

/* ── Navigation ────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(6, 11, 31, 0.6);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  max-width: var(--max); margin: 0 auto; padding: 14px var(--pad);
  display: flex; align-items: center; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { border-radius: 9px; box-shadow: 0 4px 14px rgba(31, 91, 255, 0.45); }
.brand__name { font: 850 1.2rem/1 var(--display); font-stretch: 125%; letter-spacing: -0.02em; }
.nav__links { display: flex; gap: 24px; margin-left: auto; }
.nav__links a { color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 600; }
.nav__links a:hover { color: var(--text); }
@media (max-width: 860px) { .nav__links { display: none; } .nav__inner > .btn { margin-left: auto; } }
/* Phones: the sections in a menu (next-100 item 196). Shown by site.js, so without it nothing appears. */
.nav__menu { display: none; }
.nav__panel {
  position: absolute; top: 100%; right: var(--pad); min-width: 220px; padding: 8px;
  display: grid; background: var(--night-2); border: 1px solid var(--line-strong); border-radius: var(--radius-m);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8);
}
.nav__panel[hidden] { display: none; }
.nav__panel a { padding: 12px 14px; border-radius: 12px; color: var(--text); text-decoration: none; font-weight: 600; }
.nav__panel a:hover { background: rgba(255, 255, 255, 0.06); }
@media (max-width: 860px) {
  .nav__menu:not([hidden]) {
    display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px;
    color: var(--text); font: 600 0.9rem var(--body); background: transparent;
    border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer;
  }
  .nav__inner { gap: 12px; position: relative; }
}
@media (min-width: 861px) { .nav__panel { display: none; } }
@media (max-width: 380px) {
  .nav__inner { gap: 8px; }
  .brand__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav__menu:not([hidden]) { padding: 0 10px; }
}
.nav__menu-icon, .nav__menu-icon::before, .nav__menu-icon::after {
  display: block; width: 16px; height: 2px; background: currentColor; border-radius: 1px; content: "";
}
.nav__menu-icon { position: relative; }
.nav__menu-icon::before { position: absolute; top: -5px; }
.nav__menu-icon::after { position: absolute; top: 5px; }
.label-short { display: none; }
@media (max-width: 420px) {
  .label-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .label-short { display: inline; }
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(920px, 100svh);
  display: grid; align-items: center;
  margin-top: -69px; padding-top: 69px;
}
.hero__mesh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; cursor: crosshair; }
/* A soft scrim behind the words, so the mesh never crosses the text at full strength. */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(42% 52% at 26% 50%, rgba(6, 11, 31, 0.78), rgba(6, 11, 31, 0) 72%);
}
.hero__glow {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(60% 55% at 70% 40%, rgba(31, 91, 255, 0.35), transparent 70%),
    radial-gradient(40% 40% at 15% 85%, rgba(242, 65, 46, 0.12), transparent 70%),
    linear-gradient(180deg, var(--night-3) 0%, var(--night) 75%);
}
.hero__inner {
  width: 100%; max-width: var(--max); margin: 0 auto; padding: 72px var(--pad) 96px;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 48px; align-items: center;
  pointer-events: none;
}
.hero__inner a, .hero__inner button { pointer-events: auto; }
.hero__copy { max-width: 680px; }
.hero__title span { display: block; }
.signal {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  padding: 8px 14px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.92rem; font-weight: 600; color: var(--muted);
}
.signal__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; position: relative; }
.signal__bars i { width: 3px; border-radius: 1px; background: rgba(163, 176, 212, 0.35); }
.signal__bars i:nth-child(1) { height: 4px; } .signal__bars i:nth-child(2) { height: 7px; }
.signal__bars i:nth-child(3) { height: 10px; } .signal__bars i:nth-child(4) { height: 14px; }
.signal__bars::after {
  content: ""; position: absolute; left: -2px; right: -2px; top: 6px; height: 2px;
  background: var(--sos); transform: rotate(-35deg); border-radius: 2px;
}
.hero__title {
  font-size: clamp(2.5rem, 5.2vw, 4.6rem); font-weight: 850; font-stretch: 112%;
  line-height: 0.98; letter-spacing: -0.035em;
  background: linear-gradient(180deg, #ffffff 30%, #b9c9ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lede { margin-top: 26px; max-width: 34em; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
/* The demo panel: a test SOS through the mesh, run from buttons, with a written trace. */
.demo {
  position: relative; margin-top: 30px; max-width: 34em; padding: 16px 18px;
  border-radius: var(--radius-m); background: rgba(6, 11, 31, 0.62);
  box-shadow: inset 0 0 0 1px var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.demo__title { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.98rem; }
.demo__controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.demo__controls[hidden] { display: none; }
.demo__controls .btn:disabled { opacity: 0.5; cursor: not-allowed; }
.demo__trace { margin: 0; padding: 0; list-style: none; counter-reset: trace; display: grid; gap: 6px; }
.demo__trace:not(:empty) { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.demo__trace li { counter-increment: trace; display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 0.92rem; color: var(--text); }
.demo__trace li::before {
  content: counter(trace); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(56, 203, 255, 0.16); color: var(--glow); font: 600 0.75rem/1 var(--mono);
}
.demo__trace li:first-child::before { background: rgba(242, 65, 46, 0.2); color: #ff8a7d; }
.demo__trace li:last-child:not(:first-child)::before { background: rgba(245, 192, 74, 0.18); color: var(--amber); }
.demo__note { margin-top: 12px; font-size: 0.85rem; color: var(--muted); }
button.btn { border: 0; cursor: pointer; color: var(--text); }
.hero__hint-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--sos); flex: none;
  box-shadow: 0 0 0 0 rgba(242, 65, 46, 0.6); animation: beacon 2s infinite;
}
@keyframes beacon {
  0% { box-shadow: 0 0 0 0 rgba(242, 65, 46, 0.6); }
  80%, 100% { box-shadow: 0 0 0 12px rgba(242, 65, 46, 0); }
}

.hero__device { position: relative; justify-self: center; width: min(340px, 80vw); }
.phone {
  position: relative; border-radius: 52px; padding: 11px;
  background: linear-gradient(145deg, #2a3350, #0c1129);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 80px -20px rgba(0, 0, 0, 0.7), 0 0 120px -30px rgba(56, 203, 255, 0.35);
}
.phone img { border-radius: 42px; width: 100%; height: auto; }
.phone--hero { transform: rotate(-2deg); }
.chips { list-style: none; margin: 0; padding: 0; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 14px; white-space: nowrap;
  background: rgba(17, 28, 69, 0.82); box-shadow: inset 0 0 0 1px var(--line-strong), 0 16px 40px -12px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 0.88rem; font-weight: 600;
  opacity: 0; transform: translateY(10px); animation: chip-in 0.6s cubic-bezier(.2,.8,.2,1) forwards;
}
.chip__dot { width: 8px; height: 8px; border-radius: 50%; }
.chip--saved { left: -18%; top: 22%; animation-delay: 0.5s; } .chip--saved .chip__dot { background: var(--sos); }
.chip--carried { right: -16%; top: 47%; animation-delay: 0.9s; } .chip--carried .chip__dot { background: var(--mesh); }
.chip--online { left: -10%; bottom: 14%; animation-delay: 1.3s; } .chip--online .chip__dot { background: var(--glow); }
@keyframes chip-in { to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 48px; gap: 56px; }
  .hero__device { width: min(300px, 72vw); }
  .chip--saved { left: -24%; } .chip--carried { right: -22%; } .chip--online { left: -18%; }
}
@media (max-width: 520px) {
  .chip { font-size: 0.8rem; padding: 8px 11px; }
  .chip--saved { left: -12%; } .chip--carried { right: -12%; } .chip--online { left: -8%; }
}
@media (prefers-reduced-motion: reduce) {
  .chip { animation: none; opacity: 1; transform: none; }
  .hero__hint-dot { animation: none; }
}

/* ── Facts ─────────────────────────────────────────────────────────────── */
main > section.facts { padding: 0; border-block: 1px solid var(--line); background: rgba(11, 20, 51, 0.6); }
.facts__list {
  list-style: none; margin: 0 auto; padding: 28px var(--pad); max-width: var(--max);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.facts__list li { display: flex; align-items: baseline; gap: 12px; }
.facts__list strong { font: 850 clamp(2rem, 4vw, 2.8rem)/1 var(--display); font-stretch: 125%; color: #fff; }
.facts__list span { color: var(--muted); font-weight: 600; font-size: 0.95rem; line-height: 1.25; }
@media (max-width: 760px) { .facts__list { grid-template-columns: repeat(2, 1fr); row-gap: 22px; } }

/* ── Sections ──────────────────────────────────────────────────────────── */
main > section { padding: clamp(80px, 11vw, 140px) var(--pad); }
/* Anchored sections and the demo panel land below the sticky navigation. */
main > section[id], .demo { scroll-margin-top: 88px; }
.section-head { max-width: var(--max); margin: 0 auto 56px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: end; }
.section-head p { color: var(--muted); font-size: 1.1rem; max-width: 30em; }
.section-head:has(> h2:only-child) { grid-template-columns: 1fr; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; } }

/* ── How it works ──────────────────────────────────────────────────────── */
.steps {
  list-style: none; margin: 0 auto; padding: 0; max-width: var(--max);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative;
}
.steps::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: 104px; height: 2px;
  background: linear-gradient(90deg, var(--sos), var(--mesh) 40%, var(--glow) 75%, var(--amber));
  opacity: 0.35;
}
.step { position: relative; padding: 24px; border-radius: var(--radius-m); background: linear-gradient(180deg, rgba(17, 28, 69, 0.7), rgba(11, 20, 51, 0.4)); box-shadow: inset 0 0 0 1px var(--line); }
.step__num {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  font: 800 0.9rem/1 var(--display); background: rgba(255, 255, 255, 0.08); color: var(--text);
}
.step h3 { margin-top: 18px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 0.98rem; }
.step__art { position: relative; height: 72px; margin-top: 14px; display: flex; align-items: center; gap: 10px; }
.device {
  width: 34px; height: 52px; border-radius: 9px; flex: none;
  background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.25);
}
.device--lit { background: linear-gradient(160deg, var(--mesh), var(--glow)); box-shadow: 0 0 24px -4px var(--glow); }
.device--sos {
  display: grid; place-items: center; background: linear-gradient(180deg, #f5604c, var(--sos-deep));
  font: 900 0.62rem/1 var(--display); font-stretch: 125%; color: #fff; box-shadow: 0 0 26px -4px var(--sos);
}
.ring { position: absolute; left: -9px; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--sos); animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(0.7); opacity: 0.9; } to { transform: scale(1.8); opacity: 0; } }
.hop { position: relative; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px); }
.hop::after {
  content: ""; position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 12px var(--glow); animation: hop 2s ease-in-out infinite;
}
@keyframes hop { from { left: 0; } to { left: calc(100% - 10px); } }
.cloud {
  width: 46px; height: 30px; border-radius: 16px; flex: none; position: relative;
  background: rgba(56, 203, 255, 0.18); box-shadow: inset 0 0 0 1.5px var(--glow), 0 0 26px -6px var(--glow);
}
.cloud::before { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; left: 8px; top: -11px; background: inherit; box-shadow: inherit; }
.bell {
  width: 30px; height: 30px; border-radius: 50%; flex: none; position: relative;
  background: var(--amber); box-shadow: 0 0 22px -4px var(--amber);
  animation: ping 2.4s infinite;
}
.bell::after { content: ""; position: absolute; inset: 9px; border-radius: 4px 4px 2px 2px; background: #3a2600; }
.bell--2 { animation-delay: 0.3s; transform: scale(0.85); }
.bell--3 { animation-delay: 0.6s; transform: scale(0.7); }
@keyframes ping { 0%, 70%, 100% { opacity: 1; } 35% { opacity: 0.45; } }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps::before { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ring, .hop::after, .bell { animation: none; } }

/* ── The app gallery ───────────────────────────────────────────────────── */
.app { background: linear-gradient(180deg, var(--night), var(--night-2) 50%, var(--night)); }
.gallery { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.shot { margin: 0; }
.shot .phone { max-width: 320px; margin: 0 auto; }
.shot--raised { transform: translateY(-36px); }
.shot figcaption { max-width: 320px; margin: 28px auto 0; }
.shot figcaption p { margin-top: 8px; color: var(--muted); font-size: 0.98rem; }
@media (max-width: 900px) {
  .gallery {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(76vw, 300px);
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad);
    scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .shot { scroll-snap-align: center; }
  .shot--raised { transform: none; }
}

/* ── Features ──────────────────────────────────────────────────────────── */
.bento { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  padding: 28px; border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(17, 28, 69, 0.85), rgba(11, 20, 51, 0.65));
  box-shadow: inset 0 0 0 1px var(--line);
}
.tile p { margin-top: 10px; color: var(--muted); font-size: 0.98rem; }
.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 3; display: flex; flex-direction: column; gap: 22px; overflow: hidden; padding-bottom: 0; position: relative; }
.tile--tall img {
  order: 2; width: 80%; margin: auto auto 0; flex: 1 1 0; min-height: 260px;
  object-fit: cover; object-position: top;
  border-radius: 30px 30px 0 0; box-shadow: 0 0 0 8px #141b36, 0 -20px 60px -20px rgba(56, 203, 255, 0.4);
}
.tile__icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 18px;
}
.tile__icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile__icon--blue { background: linear-gradient(135deg, var(--mesh-deep), var(--glow)); }
.tile__icon--blue svg path:first-child { fill: #fff; stroke: none; opacity: 0.5; }
.tile__icon--blue .slash { stroke: #fff; stroke-width: 2.4; }
.tile__icon--red { background: linear-gradient(135deg, #ff6b5e, var(--sos-deep)); }
.tile__icon--red svg path { fill: #fff; stroke: none; }
.tile__icon--amber { background: linear-gradient(135deg, #ffd56b, #e08a00); }
.tile__icon--green { background: linear-gradient(135deg, #3ddca6, #0e9e6c); }
.tile__icon--green .fill { fill: #fff; stroke: none; }

.bytes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 26px; }
.byte {
  display: grid; gap: 6px; padding: 10px 12px; border-radius: 12px;
  background: rgba(6, 11, 31, 0.7); box-shadow: inset 0 0 0 1px var(--line);
}
.byte b { font: 600 1rem/1 var(--mono); letter-spacing: 0.04em; color: #fff; }
.byte i { font-style: normal; font-size: 0.75rem; color: var(--muted); }
.byte--type { box-shadow: inset 0 0 0 1.5px var(--sos); }
.byte--type b { color: #ff8a7d; }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--tall { grid-row: span 2; }
  .tile--tall img { width: 70%; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; }
  .tile--tall { grid-row: auto; }
  .tile--tall img { flex: none; height: 360px; }
}

/* ── Privacy ───────────────────────────────────────────────────────────── */
.privacy__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.privacy__grid > div { border-top: 2px solid var(--line-strong); padding-top: 22px; }
.privacy__grid p { margin-top: 10px; color: var(--muted); }
.privacy__more { max-width: var(--max); margin: 40px auto 0; }
.privacy__more a { color: var(--glow); font-weight: 600; text-underline-offset: 4px; }
@media (max-width: 760px) { .privacy__grid { grid-template-columns: 1fr; gap: 24px; } }

/* ── Try BlueMesh ───────────────────────────────────────────────────────── */
.try__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.try__card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px;
  border-radius: var(--radius-l); background: linear-gradient(160deg, rgba(31, 91, 255, 0.14), rgba(11, 20, 51, 0.6));
  box-shadow: inset 0 0 0 1px var(--line);
}
.try__card > p { color: var(--muted); }
.try__card .btn { margin-top: auto; }
.try__card > .try__kicker { font: 600 0.8rem/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--glow); }
.try__needs { margin: 4px 0 0; display: grid; gap: 8px; width: 100%; }
.try__needs div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding-top: 8px; border-top: 1px solid var(--line); }
.try__needs dt { font-weight: 600; }
.try__needs dd { margin: 0; color: var(--muted); }
.trial { max-width: var(--max); margin: 24px auto 0; padding: 28px; border-radius: var(--radius-l); box-shadow: inset 0 0 0 1px var(--line); }
.trial__steps { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: trial; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 28px; }
.trial__steps li { counter-increment: trial; position: relative; padding-left: 40px; color: var(--muted); }
.trial__steps li strong { display: block; color: var(--text); }
.trial__steps li::before {
  content: counter(trial); position: absolute; left: 0; top: 0; display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--mesh-deep), var(--glow));
  color: #fff; font: 700 0.85rem/1 var(--body);
}
@media (max-width: 960px) { .trial__steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .try__grid, .trial__steps { grid-template-columns: 1fr; } .try__card, .trial { padding: 22px; } }

/* ── Teams ─────────────────────────────────────────────────────────────── */
.teams {
  max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto;
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center;
}
.teams__copy p { margin-top: 20px; color: var(--muted); font-size: 1.08rem; }
.checks { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: baseline; }
.checks li::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; transform: translateY(3px);
  background: radial-gradient(circle, var(--glow) 0 4px, rgba(56, 203, 255, 0.18) 5px);
}
.teams__copy .teams__note { margin-top: 14px; font-size: 0.9rem; }
.teams__shot { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 1px var(--line-strong), 0 40px 100px -30px rgba(56, 203, 255, 0.35); transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); }
@media (max-width: 960px) { .teams { grid-template-columns: 1fr; } .teams__shot { transform: none; } }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq__list { max-width: 860px; margin: 0 auto; }
.faq .section-head { max-width: 860px; }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font: 700 1.2rem/1.3 var(--display); font-stretch: 108%;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg);
  transition: transform 0.2s ease;
}
details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
details p { padding: 0 0 26px; color: var(--muted); max-width: 44em; }

/* ── Final call ────────────────────────────────────────────────────────── */
.final { position: relative; overflow: hidden; isolation: isolate; text-align: center; border-top: 1px solid var(--line); }
.final__mesh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.7; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(50% 70% at 50% 100%, rgba(31, 91, 255, 0.35), transparent 70%); }
.final__inner { max-width: 820px; margin: 0 auto; }
.final h2 { font-size: clamp(2.2rem, 5.4vw, 4rem); }
.final p { margin: 22px auto 0; color: var(--muted); font-size: 1.15rem; max-width: 32em; }
.final .hero__actions { justify-content: center; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: 48px var(--pad) 40px; }
.footer__inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__brand p { margin-top: 12px; color: var(--muted); font-size: 0.92rem; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer__links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.footer__links a:hover { color: var(--text); }
.footer__note { max-width: var(--max); margin: 32px auto 0; color: var(--muted); font-size: 0.85rem; }

/* ── Inner pages (privacy, 404) ────────────────────────────────────────── */
.doc { max-width: 760px; margin: 0 auto; padding: 72px var(--pad) 96px; }
.doc h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 850; font-stretch: 125%; letter-spacing: -0.03em; line-height: 1; }
.doc__lede { margin-top: 20px; font-size: 1.2rem; color: var(--muted); }
.doc h2 { font-size: 1.5rem; margin-top: 56px; font-stretch: 112%; }
.doc p, .doc li { color: #cfd7f0; }
.doc p { margin-top: 14px; }
.doc ul { padding-left: 1.2em; margin: 14px 0 0; display: grid; gap: 8px; }
.doc a { color: var(--glow); text-underline-offset: 3px; }
.retention { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 0.98rem; }
.retention caption { text-align: left; color: var(--muted); padding-bottom: 10px; font-size: 0.9rem; }
.retention th, .retention td { text-align: left; vertical-align: top; padding: 14px 12px 14px 0; border-top: 1px solid var(--line); }
.retention thead th { color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.retention tbody th { font-weight: 600; color: var(--text); width: 52%; }
.retention td { color: #cfd7f0; }
.doc__back { margin-top: 48px; }

.notfound { min-height: 70vh; display: grid; place-content: center; text-align: center; padding: 80px var(--pad); }
.notfound h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); font-weight: 850; font-stretch: 125%; letter-spacing: -0.03em; }
.notfound p { margin-top: 16px; color: var(--muted); font-size: 1.15rem; }
.notfound .hero__actions { justify-content: center; }

/* ── Screenshot viewer (item 197) ──────────────────────────────────────── */
.shot-button {
  display: block; width: 100%; padding: 0; border: 0; background: none; border-radius: inherit; cursor: zoom-in;
}
.shot-button img { display: block; }
.viewer {
  width: min(96vw, 1100px); max-height: 94vh; padding: 16px; color: var(--text);
  background: var(--night-2); border: 1px solid var(--line-strong); border-radius: var(--radius-l);
}
.viewer::backdrop { background: rgba(2, 5, 16, 0.82); }
.viewer__frame { margin: 0; display: grid; justify-items: center; gap: 12px; }
.viewer__image {
  width: auto; max-width: 100%; height: auto; max-height: 72vh; border-radius: 22px; touch-action: pinch-zoom;
}
.viewer__image--wide { border-radius: 12px; }
.viewer__caption { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; text-align: center; color: var(--muted); }
.viewer__count { font-family: var(--mono); font-size: 0.85rem; }
.viewer__controls { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 14px; }

/* ── FAQ links (item 199) ──────────────────────────────────────────────── */
.faq__copy {
  margin: 0 0 18px; padding: 6px 12px; color: var(--muted); font: 600 0.85rem var(--body);
  background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
}
.faq__copy:hover { color: var(--text); }
.faq__copied { margin-left: 10px; color: var(--muted); font-size: 0.85rem; overflow-wrap: anywhere; }
.faq summary:target, .faq details[open]:focus-within summary { color: var(--text); }
.faq summary[id] { scroll-margin-top: 88px; }

/* ── Print (item 200): readable black on white, no canvas, no chrome ──── */
@media print {
  :root { --text: #000; --muted: #333; --line: #bbb; --line-strong: #888; --glow: #0b3fc4; color-scheme: light; }
  @page { margin: 16mm 14mm; }
  html, body { background: #fff !important; color: #000 !important; font-size: 11pt; }
  body { padding-inline: 2px !important; } /* the rightmost card's border never lands on the page edge */
  /* Every decorative surface goes; text, rules and the screenshots stay. */
  *, *::before, *::after {
    background: transparent !important; box-shadow: none !important; text-shadow: none !important;
    animation: none !important; transition: none !important; filter: none !important; backdrop-filter: none !important;
  }
  .nav, .skip, .hero__mesh, .hero__glow, .hero::after, .final::before, .final__mesh, .demo, .hero__actions, .chips,
  .viewer, .faq__copy, .faq__copied, .footer nav, .btn, canvas, .step__art { display: none !important; }
  .hero { min-height: 0 !important; margin-top: 0 !important; padding-top: 0 !important; }
  .hero__inner { grid-template-columns: 1fr 180px !important; padding: 0 0 12pt !important; gap: 18pt !important; }
  .hero__title, h1, h2, h3, strong { color: #000 !important; -webkit-text-fill-color: #000 !important; }
  .facts__list strong { color: #000 !important; }
  main > section, section { padding: 14pt 0 !important; border-color: #ccc !important; }
  h2, h3 { break-after: avoid; }
  .step, .tile, .try__card, .privacy__grid > *, .faq details { border: 1px solid #bbb !important; break-inside: avoid; }
  .trial { border: 1px solid #bbb !important; }
  .trial__steps li { break-inside: avoid; }
  .step__num { color: #000 !important; }
  .byte { border: 1px solid #bbb !important; }
  .byte b { color: #000 !important; }
  .byte--type { border-color: #000 !important; }
  .byte--type b { color: #000 !important; }
  .hero__device { width: 170px !important; }
  .trial__steps li::before { border: 1.5px solid #000; color: #000 !important; }
  a { color: #000 !important; text-decoration: underline; }
  a[href^="http"]::after, a[href^="/privacy"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
  .phone { padding: 0 !important; border-radius: 0 !important; transform: none !important; }
  .phone img { max-width: 200px; border-radius: 16px; border: 1px solid #999; }
  .gallery { grid-auto-flow: row !important; grid-template-columns: repeat(3, 1fr) !important; overflow: visible !important;
             margin-inline: 0 !important; padding-inline: 0 !important; }
  .shot, .shot--raised { transform: none !important; break-inside: avoid; }
  .teams__shot { transform: none !important; border: 1px solid #999 !important; }
  .tile--tall img { max-width: 200px; }
  .faq details > *:not(summary):not(.faq__copy):not(.faq__copied) { display: block !important; }
  .faq summary { font-weight: 700; }
  .faq summary::after, .faq summary::before, .tile__icon, .privacy__icon, .signal__bars { display: none !important; }
  /* A heading and its lede stay with what follows them. */
  .section-head, .section-head > *, h2 { break-after: avoid; break-inside: avoid; }
}
