/*
  AEVOR site. One stylesheet. System fonts, no image or font fetched from anywhere, no web address in it.

  Layers, in order: tokens, base, header, controls, hero (logo build and plan drawing), the iPad frame and its media slots, then one
  block per section, then scroll-driven motion, then the plain pages (privacy, support, 404), then settings that change how it must look.

  Motion rules for this file:
    - Everything is finished and readable with no animation. Animation only adds a way in ("both"/"backwards" fill), never hides content.
    - All of it sits behind prefers-reduced-motion: no-preference. With reduce, nothing moves, nothing plays, no parallax.
    - Scroll-driven animations (animation-timeline) are used where the browser has them. Where it does not, assets/site.js sets
      html.nosda and the same effects run from one IntersectionObserver or one scroll handler.
    - No inline styles anywhere (the Content Security Policy forbids them): every value is here.

  Scripts/verify_site.sh reads the token block below (between the "tokens:" markers) and fails if a text/background pair falls under
  WCAG AA (4.5:1 for text, 3:1 for the focus ring). Keep one token per line, "--name: #rrggbb;", so it can.
*/

/* tokens:dark */
:root {
  color-scheme: dark;
  --bg: #091628;
  --raised: #0e2138;
  --grid: #0c2036;
  --text: #e8eef6;
  --muted: #a7b6c9;
  --accent: #14c7f7;
  --focus: #14c7f7;
  --border: #3a5575;
}
/* /tokens:dark */

:root {
  --deep: #03080f;
  --ink: #04121f;
  --line: rgba(132, 178, 224, 0.2);
  --line-soft: rgba(132, 178, 224, 0.1);
  --glow: rgba(20, 199, 247, 0.5);
  --weak: #ba38a1;
  --marginal: #ff8c3d;
  --suitable: #1abdff;

  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mark: "Avenir Next", Avenir, "Century Gothic", Futura, "Gill Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --hh: 3.75rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --pop: cubic-bezier(0.3, 1.6, 0.5, 1);
}

@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --gap { syntax: "<length>"; inherits: true; initial-value: 0.4rem; }

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

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--hh) + 1rem);
  background: var(--deep);
  overflow-x: clip;
}
@media (min-width: 90rem) { html { font-size: 112.5%; } }
@media (min-width: 120rem) { html { font-size: 137.5%; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  background-image: linear-gradient(180deg, #091628 0, #07111f 38%, #050d18 68%, #02060b 100%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  overflow-wrap: break-word;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main { flex: 1 0 auto; }

img, svg, video { max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.1rem + 3.5vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 1rem + 2.9vw, 3.3rem); }
h3 { font-size: 1.2rem; font-weight: 500; letter-spacing: -0.005em; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }

a { color: var(--accent); text-decoration-thickness: 0.08em; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 0.16em; }

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

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

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.wrap--wide { width: min(100% - 2 * var(--gutter), 92rem); }

.skip {
  position: absolute;
  left: var(--gutter);
  top: -6rem;
  z-index: 100;
  max-width: calc(100vw - 2 * var(--gutter));
  padding: 0.6rem 1rem;
  background: var(--raised);
  color: var(--text);
  border: 2px solid var(--focus);
  border-radius: 0.6rem;
}
.skip:focus { top: 0.75rem; }

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-family: var(--font-mark);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.lede { margin-top: 1.25rem; max-width: 40rem; color: var(--muted); font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.28rem); line-height: 1.55; }
.fineprint { color: var(--muted); font-size: 0.95rem; }
.textlink { font-weight: 500; }

/* ---------------------------------------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 17, 31, 0.92);
  border-bottom: 1px solid var(--line-soft);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .site-header { background: rgba(7, 17, 31, 0.72); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); }
}
.bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: min(100% - 2 * var(--gutter), var(--max));
  min-height: var(--hh);
  margin-inline: auto;
}
.brand { flex: none; display: block; padding-block: 0.4rem; line-height: 0; border-radius: 0.5rem; }
.brand img { display: block; width: min(9.06rem, 52vw); height: auto; }
.nav { margin-inline: auto; display: none; }
.nav ul, .menu ul { margin: 0; padding: 0; list-style: none; }
.nav ul { display: flex; gap: 0.15rem; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.bar__cta { margin-left: auto; }
@media (min-width: 62rem) {
  .nav { display: block; }
  .bar__cta { margin-left: 0; }
  .menu { display: none; }
}
/* Logo, button and menu need 346 px between the gutters (the menu button stuck out of the screen on a 361 to 377 px phone). */
@media (max-width: 23.75rem) { .btn.bar__cta { display: none; } }

.menu { position: relative; }
.menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.85rem;
  border: 1px solid #5d7fa8;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.92rem;
  cursor: pointer;
  list-style: none;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary::before {
  content: "";
  width: 1.1rem;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  box-shadow: 0 -0.38rem 0 currentColor, 0 0.38rem 0 currentColor;
}
.menu[open] summary::before { box-shadow: none; transform: rotate(45deg); }
.menu[open] summary::after { content: ""; width: 1.1rem; height: 2px; margin-left: -1.85rem; background: currentColor; transform: rotate(-45deg); }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.menu[open] summary { border-color: var(--accent); }
@media (max-width: 23.75rem) { .menu { margin-left: auto; } }
.menu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  z-index: 5;
  min-width: min(16rem, calc(100vw - 2 * var(--gutter)));
  padding: 0.5rem;
  background: #0b1b30;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  box-shadow: 0 1.5rem 3rem -1rem rgba(0, 0, 0, 0.8);
}
.menu__panel a { display: flex; align-items: center; min-height: 2.9rem; padding: 0 1rem; border-radius: 0.7rem; color: var(--text); text-decoration: none; }
.menu__panel a:hover { background: rgba(255, 255, 255, 0.07); }
.menu__panel .menu__join { color: var(--accent); font-weight: 600; }

/* ---------------------------------------------------------------------------------------------- controls */

.btn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.5rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(20, 199, 247, 0.3), 0 0.9rem 2.2rem -0.9rem var(--glow);
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.btn:hover { background: #55d9ff; text-decoration: none; transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(20, 199, 247, 0.5), 0 1.1rem 2.6rem -0.8rem var(--glow); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 2.75rem; padding: 0.3rem 1.15rem; font-size: 0.92rem; }
.btn--lg { min-height: 3.5rem; padding: 0.6rem 2.4rem; font-size: 1.12rem; }
.btn--ghost { background: transparent; color: var(--text); border-color: rgba(190, 215, 240, 0.6); box-shadow: none; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: var(--accent); box-shadow: none; }

.cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cta--center { justify-content: center; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0.4rem 1rem 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(14, 33, 56, 0.7);
  color: var(--text);
  font-size: 0.9rem;
}
.chip__dot { flex: none; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0.25rem rgba(20, 199, 247, 0.18); }

.platforms { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.platforms li { padding: 0.3rem 0.85rem; border: 1px solid var(--line-soft); border-radius: 999px; color: var(--muted); font-size: 0.88rem; }

/* ---------------------------------------------------------------------------------------------- hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(2rem, 5vw, 4.5rem) clamp(3rem, 7vw, 6rem);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; -webkit-mask-image: linear-gradient(#000 58%, transparent 90%); mask-image: linear-gradient(#000 58%, transparent 90%); }
.blueprint {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(84, 150, 214, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 150, 214, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(84, 150, 214, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 150, 214, 0.05) 1px, transparent 1px);
  background-size: 6rem 6rem, 6rem 6rem, 1.5rem 1.5rem, 1.5rem 1.5rem;
  background-position: center top;
  -webkit-mask-image: radial-gradient(110% 100% at 72% 24%, #000 18%, transparent 74%);
  mask-image: radial-gradient(110% 100% at 72% 24%, #000 18%, transparent 74%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 78% 28%, rgba(20, 130, 230, 0.2), transparent 70%),
    radial-gradient(40% 40% at 12% 8%, rgba(20, 199, 247, 0.08), transparent 70%);
}
.plan {
  position: absolute;
  top: 4%;
  right: -34%;
  width: min(120rem, 190%);
  height: auto;
  opacity: 0.2;
}
@media (min-width: 64rem) {
  .plan {
    right: -9%;
    width: min(100rem, 118%);
    opacity: 0.55;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 34%, #000 62%);
    mask-image: linear-gradient(90deg, transparent 0, transparent 34%, #000 62%);
  }
}
.plan .w, .plan .door { stroke: #6aa4da; stroke-width: 3; }
.plan .door { stroke-width: 2; stroke-opacity: 0.7; }
.plan .cone { fill: rgba(20, 199, 247, 0.07); stroke: rgba(20, 199, 247, 0.4); stroke-width: 1.5; stroke-dasharray: 4 8; }
.plan .link { stroke: var(--accent); stroke-opacity: 0.55; stroke-width: 2; stroke-dasharray: 6 9; }
.plan .ring { stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; }
.plan .r1 { opacity: 0.38; transform: scale(0.42); }
.plan .r2 { opacity: 0.24; transform: scale(0.72); }
.plan .r3 { opacity: 0.14; transform: scale(1); }
.plan .dev { transform-box: fill-box; transform-origin: center; }
.plan .dev__halo { fill: rgba(20, 199, 247, 0.07); }
.plan .dev__dot { fill: #091628; stroke: var(--accent); stroke-width: 3; }
.plan .dev__core { fill: var(--accent); }
.plan .hub .dev__dot { fill: #0c2744; stroke-width: 3.5; }
.plan .hub .dev__core { fill: #fff; }

.hero__grid { display: grid; gap: 2.75rem; align-items: center; }
@media (min-width: 64rem) { .hero { display: grid; align-items: center; min-height: min(calc(100vh - var(--hh)), 62rem); } }
@media (min-width: 64rem) {
  .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6.4fr); gap: 2rem; }
  .hero__device { margin-right: calc(-1 * clamp(0rem, 1.5vw, 2rem)); }
}
.hero__copy { display: grid; justify-items: start; gap: 0; }
.hero__lockup { width: min(100%, 29rem); }
.lockup { display: block; width: 100%; height: auto; overflow: visible; }
.tagline {
  margin: 1.1rem 0 0;
  color: #a9bddb;
  font-family: var(--font-mark);
  font-size: clamp(0.8rem, 0.72rem + 0.4vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.hero__title { margin-top: clamp(1.75rem, 3.5vw, 2.75rem); max-width: 18ch; font-size: clamp(2rem, 1.2rem + 3.1vw, 3.5rem); }
.hero__lede { margin-top: 1.25rem; max-width: 34rem; }
.hero__cta { margin-top: 2rem; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-top: 1.75rem; }

.hero__device { position: relative; min-width: 0; }
.float { will-change: transform; }

/* ---------------------------------------------------------------------------------------------- the iPad frame (CSS only) and its screens */

.device { position: relative; margin: 0; min-width: 0; }
.device figcaption { margin: 1rem auto 0; max-width: 40rem; color: var(--muted); font-size: 0.88rem; line-height: 1.5; text-align: center; }

.ipad { position: relative; width: 100%; container-type: inline-size; }
.ipad__body {
  position: relative;
  padding: 1.1rem;
  padding: 2.2cqw;
  border-radius: 1.8rem;
  border-radius: 4.6cqw;
  background: linear-gradient(145deg, #202a3a 0%, #0b111b 38%, #131c2a 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 0 0 0.45cqw #05080e,
    inset 0 0.25cqw 0 rgba(255, 255, 255, 0.08),
    0 3.5cqw 7cqw -1.5cqw rgba(0, 0, 0, 0.75),
    0 0 9cqw -2cqw rgba(20, 150, 235, 0.35);
}
.ipad__screen {
  position: relative;
  aspect-ratio: 1600 / 1168;
  border-radius: 0.8rem;
  border-radius: 2.5cqw;
  overflow: hidden;
  background: #060d18;
  isolation: isolate;
}
/* The glass: a soft diagonal sheen across the top left, and nothing else. */
.ipad__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.035) 24%, transparent 25.5%, transparent 100%);
}

/* A media slot. The drawing under the media shows if the clip or picture is missing or still loading, so the slot is never empty. */
.shot { position: relative; background: #060d18; }
.ph {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  color: #3a6a9c;
  background: radial-gradient(70% 90% at 28% 18%, #10304f, #060e1a);
}
.shot::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.clip, .still {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
}
.shot.miss .clip, .shot.miss .still { display: none; }
/* Without script nothing can start a loop (and browsers would show their own player controls), so only the still frame shows. */
html:not(.js) .clip { display: none; }

.device--xl { max-width: 80rem; margin-inline: auto; }

/* ---------------------------------------------------------------------------------------------- sections: shared */

.sec { position: relative; padding-block: clamp(4rem, 8vw, 7rem); }
.sec-head { max-width: 46rem; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .lede { margin-inline: auto; }

.split { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 56rem) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6.2fr); }
  .split--flip { grid-template-columns: minmax(0, 5.4fr) minmax(0, 5fr); }
}
.split__text { display: grid; gap: 2.5rem; min-width: 0; }

/* why */

.why::before, .private::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 60% at 50% 0, rgba(20, 130, 230, 0.12), transparent 70%);
  pointer-events: none;
}
.why { isolation: isolate; }
.cards { display: grid; gap: 1rem; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; list-style: none; grid-template-columns: 1fr; }
@media (min-width: 36rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  padding: 1.6rem 1.5rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: linear-gradient(180deg, rgba(22, 50, 84, 0.55), rgba(10, 24, 42, 0.55));
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.card:hover { border-color: rgba(20, 199, 247, 0.5); }
.card__icon {
  display: block;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
  padding: 0.7rem;
  border: 1px solid rgba(20, 199, 247, 0.35);
  border-radius: 0.9rem;
  background: rgba(20, 199, 247, 0.08);
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card p { margin-top: 0.6rem; color: var(--muted); font-size: 0.98rem; }

/* ---------------------------------------------------------------------------------------------- story (default: a plain list of four steps) */

.story { padding-bottom: clamp(4rem, 8vw, 7rem); overflow: clip; }
.story__track { width: min(100% - 2 * var(--gutter), var(--max)); margin: clamp(2.5rem, 5vw, 4rem) auto 0; }
.story__steps { display: grid; gap: clamp(4rem, 9vw, 8rem); margin: 0; padding: 0; list-style: none; }
.step { display: grid; gap: 1.5rem 3rem; align-items: center; }
@media (min-width: 56rem) {
  .step { grid-template-columns: minmax(0, 4.6fr) minmax(0, 7fr); }
  .step:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 4.6fr); }
  .step:nth-child(even) .step__text { order: 2; }
}
.step__text { min-width: 0; }
.step__text h3 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); font-weight: 300; letter-spacing: -0.015em; }
.step__text > p { margin-top: 0.9rem; color: var(--muted); max-width: 30rem; }
.step__text > .step__note { margin-top: 1.1rem; padding-left: 0.9rem; border-left: 2px solid var(--accent); color: var(--text); font-size: 0.98rem; }
.step__num {
  margin: 0 0 1rem;
  color: var(--accent);
  font-family: var(--font-mark);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.step__num span { margin-right: 0.8rem; color: var(--muted); }
.story__rail { display: none; }

/* Pinned: html.pin is set by site.js when motion is allowed. The four steps then share one stage that stays on screen
   while the page scrolls; --p (0 to 1) says how far through the four steps the reader is, and every swap is arithmetic on it. */
@media screen and (min-height: 34rem) {
  html.pin .story__track { position: relative; width: auto; height: 500vh; margin-top: clamp(1rem, 3vw, 2rem); }
  html.pin .story__stage {
    position: sticky;
    top: var(--hh);
    display: grid;
    align-content: center;
    width: min(100% - 2 * var(--gutter), var(--max));
    height: calc(100vh - var(--hh));
    height: calc(100svh - var(--hh));
    margin-inline: auto;
    padding-bottom: 3rem;
    overflow: clip;
  }
  html.pin .story__steps { gap: 0; }
  html.pin .step, html.pin .step:nth-child(even) { grid-area: 1 / 1; grid-template-columns: minmax(0, 1fr); align-content: start; }
  html.pin .step:nth-child(even) .step__text { order: 0; }
  html.pin .step__device { order: -1; }
  html.pin .step, html.pin .step:nth-child(even) { align-content: start; padding-top: 0.5rem; }
  @media (min-width: 56rem) {
    /* align-content start, not center: each step's iPad must stand at the same height whatever its caption's length, or the screens
       laid over step 1's frame sit a few pixels off it (a two-line caption used to lift step 3's screen 12 px above the glass). */
    html.pin .step, html.pin .step:nth-child(even) { grid-template-columns: minmax(0, 4.6fr) minmax(0, 7fr); align-content: start; padding-top: 0; }
    html.pin .step__device { order: 0; }
  }
  /* Only the first iPad keeps its frame; the others bring just their screens, which fade in over it. */
  html.pin .step:not(.step--1) .ipad__body { background: none; box-shadow: none; }
  html.pin .step:not(.step--1) .ipad__screen { background: none; }
  html.pin .story__rail {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-mark);
    font-size: 0.74rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }
  html.pin .pip { color: var(--text); opacity: 0.62; }
  html.pin .rail__fill { position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left; box-shadow: 0 0 1rem var(--glow); }
}
@media screen and (min-height: 34rem) and (max-width: 30rem) { html.pin .pip { letter-spacing: 0.08em; font-size: 0.66rem; } }

/* The swap. u = --p x 4 is "which step", as a number from 0 to 4. Each change of step is three beats, never overlapping, so no two
   texts and no two captions are ever readable on top of each other: the old text fades out (u from n - 0.20 to n - 0.06), the
   picture swaps (n - 0.06 to n + 0.06), the new text fades in (n + 0.06 to n + 0.20). Between those the step simply holds. */
@media screen and (min-height: 34rem) {
  html.pin .step--2 .ipad__screen { opacity: clamp(0, calc((var(--p, 0) * 4 - 0.94) / 0.12), 1); }
  html.pin .step--3 .ipad__screen { opacity: clamp(0, calc((var(--p, 0) * 4 - 1.94) / 0.12), 1); }
  html.pin .step--4 .ipad__screen { opacity: clamp(0, calc((var(--p, 0) * 4 - 2.94) / 0.12), 1); }

  html.pin .step--1 .step__text, html.pin .step--1 figcaption { opacity: clamp(0, calc((0.94 - var(--p, 0) * 4) / 0.14), 1); translate: 0 calc((var(--p, 0) * 4 - 0.5) * -1.4rem); }
  html.pin .step--2 .step__text, html.pin .step--2 figcaption { opacity: clamp(0, min(calc((var(--p, 0) * 4 - 1.06) / 0.14), calc((1.94 - var(--p, 0) * 4) / 0.14)), 1); translate: 0 calc((var(--p, 0) * 4 - 1.5) * -1.4rem); }
  html.pin .step--3 .step__text, html.pin .step--3 figcaption { opacity: clamp(0, min(calc((var(--p, 0) * 4 - 2.06) / 0.14), calc((2.94 - var(--p, 0) * 4) / 0.14)), 1); translate: 0 calc((var(--p, 0) * 4 - 2.5) * -1.4rem); }
  html.pin .step--4 .step__text, html.pin .step--4 figcaption { opacity: clamp(0, calc((var(--p, 0) * 4 - 3.06) / 0.14), 1); translate: 0 calc((var(--p, 0) * 4 - 3.5) * -1.4rem); }

  html.pin .pip--1 { opacity: calc(0.62 + 0.38 * clamp(0, calc((1.1 - var(--p, 0) * 4) * 10), 1)); }
  html.pin .pip--2 { opacity: calc(0.62 + 0.38 * clamp(0, min(calc((var(--p, 0) * 4 - 0.9) * 10), calc((2.1 - var(--p, 0) * 4) * 10)), 1)); }
  html.pin .pip--3 { opacity: calc(0.62 + 0.38 * clamp(0, min(calc((var(--p, 0) * 4 - 1.9) * 10), calc((3.1 - var(--p, 0) * 4) * 10)), 1)); }
  html.pin .pip--4 { opacity: calc(0.62 + 0.38 * clamp(0, calc((var(--p, 0) * 4 - 2.9) * 10), 1)); }
}

/* ---------------------------------------------------------------------------------------------- RF planner */

.rf { isolation: isolate; overflow: clip; padding-block: clamp(5rem, 12vw, 11rem); }
.rf::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(55% 40% at 50% 46%, rgba(26, 120, 230, 0.2), transparent 72%),
    radial-gradient(30% 24% at 18% 78%, rgba(186, 56, 161, 0.1), transparent 70%),
    radial-gradient(30% 24% at 86% 70%, rgba(255, 140, 61, 0.07), transparent 70%);
  pointer-events: none;
}
.rf__rings { position: absolute; left: 50%; top: 52%; z-index: -1; width: min(150vw, 130rem); transform: translate(-50%, -50%); pointer-events: none; }
.rf__rings svg { display: block; width: 100%; height: auto; overflow: visible; }
.rr { fill: none; stroke: var(--accent); stroke-width: 1.5; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; }
.rr1 { opacity: 0.22; transform: scale(0.3); }
.rr2 { opacity: 0.16; transform: scale(0.52); }
.rr3 { opacity: 0.11; transform: scale(0.76); }
.rr4 { opacity: 0.07; transform: scale(1); }

.rf__stage { position: relative; display: grid; gap: 1.25rem; margin-top: clamp(2.5rem, 6vw, 5rem); }
.rf .shot::before {
  background: radial-gradient(circle at 54% 44%, rgba(26, 189, 255, 0.5), rgba(26, 189, 255, 0.28) 16%, rgba(255, 140, 61, 0.3) 29%, rgba(186, 56, 161, 0.3) 42%, transparent 56%);
}

.legend {
  width: 100%;
  max-width: 32rem;
  margin-inline: auto;
  padding: 1.25rem 1.35rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  background: rgba(8, 20, 36, 0.92);
  box-shadow: 0 1.5rem 3.5rem -1.25rem rgba(0, 0, 0, 0.8);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .legend { background: rgba(8, 20, 36, 0.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}
.legend__title { margin: 0 0 0.9rem; color: var(--muted); font-family: var(--font-mark); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; }
.legend__list { display: grid; gap: 0.7rem; margin: 0; padding: 0; list-style: none; }
.legend__list li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.75rem; }
.legend__list strong { font-weight: 600; }
.legend__band { color: var(--muted); font-size: 0.88rem; font-variant-numeric: tabular-nums; text-align: right; }
.legend__note { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--line-soft); color: var(--text); font-size: 0.9rem; line-height: 1.45; }
.sw { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 0.5rem; border: 1px solid rgba(255, 255, 255, 0.25); }
.sw svg { width: 1rem; height: 1rem; fill: #060d18; }
.sw--weak { background: var(--weak); }
.sw--marginal { background: var(--marginal); }
.sw--suitable { background: var(--suitable); }

.rfcard { max-width: 17rem; margin-inline: auto; }
.rfcard__shot {
  aspect-ratio: 348 / 256;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 2rem 4rem -1.5rem rgba(0, 0, 0, 0.85), 0 0 4rem -1.5rem rgba(20, 150, 235, 0.45);
}
.ph--card { background: linear-gradient(180deg, #11304f, #091a2e); }
/* The card is cut out of the RF planner's own picture: its coverage list, 348 by 256 of the picture's 1600 by 1168. */
.rfcard .still--card { inset: auto; left: -355.7%; top: -257.8%; width: 459.8%; height: auto; max-width: none; object-fit: fill; }
.rfcard figcaption { margin: 0.7rem 0 0; font-size: 0.82rem; text-align: left; }

/* The legend and the card float over the corners of the picture only where they clear its caption (they covered the words "not measured
   signal" on a 1024 to 1250 px screen); below that they sit under the picture, one after the other. */
@media (min-width: 82rem) {
  .rf__stage { display: block; }
  .legend { position: absolute; left: -1.5rem; bottom: -5rem; z-index: 4; width: 18.5rem; max-width: none; margin: 0; }
  .rfcard { position: absolute; right: -1rem; bottom: -7rem; z-index: 4; width: 17%; max-width: none; min-width: 11rem; margin: 0; }
  .rf__stage { margin-bottom: 6.5rem; }
}

.honest {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  max-width: 46rem;
  margin: clamp(3.5rem, 6vw, 5rem) auto 0;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(20, 199, 247, 0.4);
  border-radius: 1.5rem;
  background: rgba(20, 199, 247, 0.07);
  color: var(--text);
  font-size: clamp(1.02rem, 0.95rem + 0.45vw, 1.28rem);
  line-height: 1.4;
  text-align: left;
}
.honest svg { flex: none; width: 1.6rem; height: 1.6rem; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; }
@media (min-width: 40rem) { .honest { border-radius: 999px; padding-inline: 1.9rem; } }

.feats { display: grid; gap: 2rem 2.5rem; margin: clamp(3rem, 6vw, 5rem) 0 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.feat { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.feat p { margin-top: 0.55rem; color: var(--muted); font-size: 0.98rem; }

/* ---------------------------------------------------------------------------------------------- 3D and levels */

.levels { overflow: clip; }
.plates {
  position: relative;
  display: grid;
  place-items: center;
  height: 15rem;
  perspective: 900px;
  transform-style: preserve-3d;
}
.plate {
  grid-area: 1 / 1;
  width: min(13rem, 70%);
  aspect-ratio: 1.4;
  border: 1px solid rgba(20, 199, 247, 0.6);
  border-radius: 0.5rem;
  background-image:
    linear-gradient(rgba(20, 199, 247, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 199, 247, 0.16) 1px, transparent 1px),
    linear-gradient(135deg, rgba(20, 70, 130, 0.5), rgba(8, 24, 44, 0.55));
  background-size: 1.3rem 1.3rem, 1.3rem 1.3rem, auto;
  box-shadow: 0 0 2rem -0.5rem rgba(20, 150, 235, 0.5);
}
.plate--1 { transform: rotateX(62deg) rotateZ(-34deg) translateZ(0); }
.plate--2 { transform: rotateX(62deg) rotateZ(-34deg) translateZ(var(--gap)); }
.plate--3 { transform: rotateX(62deg) rotateZ(-34deg) translateZ(calc(var(--gap) * 2)); }
.plates { --gap: 2.2rem; }

/* ---------------------------------------------------------------------------------------------- reports */

.reports { overflow: clip; }
.reports::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(40% 55% at 26% 50%, rgba(20, 130, 230, 0.14), transparent 70%);
  pointer-events: none;
}
.reports { isolation: isolate; }
.paper { position: relative; width: 100%; max-width: 34rem; margin: 0 auto; }
.paper__stack { position: relative; aspect-ratio: 0.903; perspective: 1600px; }
.paper__sheet {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 11%;
  width: 78%;
  border-radius: 0.4rem;
  background: #fff;
  box-shadow: 0 2.5rem 4rem -1.5rem rgba(0, 0, 0, 0.8);
  overflow: hidden;
}
.paper__sheet--3 { transform: translate(-21%, 3.5%) rotate(-5deg); }
.paper__sheet--2 { transform: translate(21%, 2%) rotate(4.5deg); }
/* On a phone the fan is tighter, so the side sheets are not cut off by the screen edge. */
@media (max-width: 40rem) {
  .paper__sheet--3 { transform: translate(-13%, 3%) rotate(-4deg); }
  .paper__sheet--2 { transform: translate(13%, 2%) rotate(3.5deg); }
}
.paper .shot { background: #fff; }
/* z-index 3 puts the dimming over the page picture (z-index 2) as well as the blank paper, so a side sheet is one even tone, not a bright picture over a darker strip. */
.paper__sheet::after { content: ""; position: absolute; inset: 0; z-index: 3; background: rgba(9, 22, 40, 0.18); pointer-events: none; }
.paper__sheet--1::after { display: none; }
/* Each page is cut out of the report screen's own picture. The cover is a whole page (655 by 930 of 1600 by 1168); the other two run off the
   bottom of the screen, so they show their top 82 % and the rest of the sheet stays blank paper. */
.paper .still--page { inset: auto; left: -106.87%; top: -20.75%; width: 244.27%; height: auto; max-width: none; object-fit: fill; }
.paper__crop { position: absolute; left: 0; right: 0; top: 0; height: 82.2%; overflow: hidden; -webkit-mask-image: linear-gradient(#000 86%, transparent); mask-image: linear-gradient(#000 86%, transparent); }
.paper .still--p2 { inset: auto; left: -82.2%; top: -28.2%; width: 205.9%; height: auto; max-width: none; object-fit: fill; }
.paper figcaption { margin-top: 3rem; }
.ph--paper { display: grid; align-content: start; gap: 0.7rem; padding: 12% 10%; background: #fff; }
.ph--paper i { display: block; height: 0.55rem; border-radius: 0.3rem; background: #c5d1de; }
.ph--paper i:nth-child(1) { width: 38%; height: 1.3rem; background: #0d2038; }
.ph--paper i:nth-child(2) { width: 62%; }
.ph--paper i:nth-child(3) { width: 100%; height: 38%; background: #dbe4ee; margin-block: 0.6rem; }
.ph--paper i:nth-child(4) { width: 90%; }
.ph--paper i:nth-child(5) { width: 74%; }

.ticks { display: grid; gap: 0.8rem; margin: 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 2rem; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.38em;
  width: 0.95rem;
  height: 0.5rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------------------------------------------------------------------------------------------- your own devices */

.devices { overflow: clip; }

/* ---------------------------------------------------------------------------------------------- private by design */

.private { isolation: isolate; }
.private__grid { display: grid; gap: clamp(2rem, 6vw, 4rem); align-items: center; }
@media (min-width: 56rem) { .private__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.private__art { width: min(100%, 20rem); margin-inline: auto; }
.private__art svg { display: block; width: 100%; height: auto; overflow: visible; }
.orbit { fill: none; stroke: var(--accent); stroke-opacity: 0.55; stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; transform-box: fill-box; transform-origin: center; }
.orbit--in { stroke-opacity: 0.28; stroke-dasharray: 1 9; }
.safe { fill: rgba(20, 199, 247, 0.06); stroke: #7fb4e6; stroke-width: 2; }
.lock { fill: none; stroke: var(--text); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.rules { display: grid; gap: 1.6rem; margin: 2.25rem 0 1.75rem; padding: 0; list-style: none; }
.rules li { padding-left: 1.4rem; border-left: 2px solid rgba(20, 199, 247, 0.55); }
.rules p { margin-top: 0.4rem; color: var(--muted); max-width: 38rem; }

/* ---------------------------------------------------------------------------------------------- join the beta and questions */

.beta { padding-bottom: clamp(3rem, 6vw, 5rem); }
.beta__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4rem);
  border: 1px solid rgba(20, 199, 247, 0.35);
  border-radius: clamp(1.5rem, 3vw, 2.5rem);
  background: linear-gradient(180deg, rgba(14, 40, 72, 0.7), rgba(6, 16, 30, 0.8));
  text-align: center;
}
.beta__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 70% at 50% 0, rgba(20, 150, 235, 0.3), transparent 70%);
}
.beta__tile { display: block; width: 6rem; height: 6rem; margin: 0 auto 1.75rem; border-radius: 1.4rem; box-shadow: 0 0 0 1px rgba(20, 199, 247, 0.25), 0 1.5rem 4rem -0.5rem rgba(20, 150, 235, 0.6); }
.beta__panel h2 { font-size: clamp(2.2rem, 1.2rem + 3.8vw, 4rem); }
.beta__panel .lede { margin-inline: auto; }
.beta__panel .cta { margin-top: 2rem; }
.beta__panel .fineprint { margin: 1.25rem auto 0; max-width: 34rem; }

.faq { display: grid; gap: 1.5rem 3rem; margin-top: clamp(4rem, 8vw, 7rem); }
@media (min-width: 56rem) { .faq { grid-template-columns: minmax(0, 3.4fr) minmax(0, 8fr); } }
.faq__title { font-size: clamp(1.7rem, 1.1rem + 1.8vw, 2.4rem); }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 3.5rem;
  padding: 1rem 0.25rem;
  font-size: 1.12rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.25s var(--ease), background 0.2s;
}
.qa summary:hover::after { background: rgba(20, 199, 247, 0.1); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { max-width: 42rem; margin: 0 0.25rem 1.4rem; color: var(--muted); }

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

.site-footer { margin-top: 3rem; padding-block: 2.5rem 2.25rem; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 0.95rem; }
.site-footer .wrap { display: grid; gap: 0.25rem; }
.site-footer p { margin: 0; }
.site-footer__credit { color: var(--text); }
.site-footer__legal { margin-top: 0.9rem; max-width: 48rem; font-size: 0.8125rem; line-height: 1.5; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 0.15rem 1.5rem; margin: 0.75rem 0 0; padding: 0; list-style: none; }
.site-footer a { display: inline-block; padding-block: 0.7rem; overflow-wrap: anywhere; }
.page-home .site-footer { margin-top: 0; }

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

@media (prefers-reduced-motion: no-preference) {

  /* The logo builds, like the app's opening: the A inside the tile, the tile settles, E V O R drawn stroke by stroke. */
  .lockup .lk-tile, .lockup .lk-ll, .lockup .lk-rl, .lockup .lk-head, .lockup .lk-seam,
  .lockup .lk-e1, .lockup .lk-e2, .lockup .lk-e3, .lockup .lk-v1, .lockup .lk-v2, .lockup .lk-r,
  .lockup .lk-o-line, .lockup .lk-o-fill { transform-box: fill-box; }
  .lockup .lk-tile { transform-origin: center; animation: lk-tile 0.9s var(--ease) both; }
  .lockup .lk-ll { animation: lk-up 0.6s 0.12s var(--ease) both; }
  .lockup .lk-seam { opacity: 0; animation: lk-seam 0.7s 0.3s ease-out both; }
  .lockup .lk-rl { animation: lk-down 0.55s 0.42s var(--ease) both; }
  .lockup .lk-head { transform-origin: 50% 77%; animation: lk-head 0.5s 0.82s var(--pop) both; }
  .lockup .lk-glow { animation: lk-breath 1.6s 1s ease-in-out infinite alternate; }
  .lockup .lk-e1 { animation: lk-right 0.36s 1.1s var(--ease) both; }
  .lockup .lk-e2 { animation: lk-right 0.36s 1.22s var(--ease) both; }
  .lockup .lk-e3 { animation: lk-right 0.36s 1.34s var(--ease) both; }
  .lockup .lk-v1 { animation: lk-down 0.34s 1.5s var(--ease) both; }
  .lockup .lk-v2 { animation: lk-up 0.34s 1.66s var(--ease) both; }
  .lockup .lk-o-line { opacity: 0; stroke-dasharray: 1; animation: lk-o 0.55s 1.8s var(--ease) both; }
  .lockup .lk-o-fill { animation: lk-fade 0.25s 2.3s ease-out both; }
  .lockup .lk-r { animation: lk-right 0.5s 2.05s var(--ease) both; }
  .tagline { animation: tag 1.1s 2.5s var(--ease) both; }

  @keyframes lk-tile { 0% { opacity: 0; scale: 0.88; } 35% { opacity: 1; } 100% { opacity: 1; scale: 1; } }
  @keyframes lk-up { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
  @keyframes lk-down { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
  @keyframes lk-right { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
  @keyframes lk-seam { 0% { opacity: 0; } 35% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes lk-head { 0% { opacity: 0; scale: 0.15; } 55% { opacity: 1; scale: 1.1; } 100% { opacity: 1; scale: 1; } }
  @keyframes lk-breath { from { opacity: 0.33; } to { opacity: 0.45; } }
  @keyframes lk-o { 0% { opacity: 1; stroke-dashoffset: 1; } 88% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: 0; } }
  @keyframes lk-fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes tag { from { opacity: 0; letter-spacing: 0.4em; transform: translateY(0.5rem); } to { opacity: 1; letter-spacing: 0.22em; transform: none; } }

  /* The hero copy arrives while the logo is still building, so nothing waits on it. */
  .hero__title { animation: up 1s 0.9s var(--ease) both; }
  .hero__lede { animation: up 1s 1.05s var(--ease) both; }
  .hero__cta { animation: up 1s 1.2s var(--ease) both; }
  .hero__meta { animation: up 1s 1.35s var(--ease) both; }
  .hero__device { animation: device-in 1.6s 0.5s var(--ease) both; }
  @keyframes up { from { opacity: 0; transform: translateY(1.25rem); } to { opacity: 1; transform: none; } }
  @keyframes device-in { from { opacity: 0; transform: translateX(4rem) scale(0.96); } to { opacity: 1; transform: none; } }

  /* The sample plan draws itself behind the hero: walls, devices landing, links, radio rings. */
  .plan .w, .plan .door { stroke-dasharray: 1; animation: draw 1.8s var(--ease) both; }
  .plan .w1 { animation-delay: 0.3s; animation-duration: 2.6s; }
  .plan .w2 { animation-delay: 1.6s; }
  .plan .w3 { animation-delay: 1.9s; }
  .plan .w4 { animation-delay: 2.1s; }
  .plan .w5 { animation-delay: 2.5s; animation-duration: 1.1s; }
  .plan .door { animation-delay: 3s; animation-duration: 0.8s; }
  .plan .cone { animation: fade-in 1.2s 4s ease-out both; }
  .plan .dev { animation: pop 0.7s var(--pop) both; }
  .plan .hub { animation-delay: 2.6s; }
  .plan .d1 { animation-delay: 3s; } .plan .d2 { animation-delay: 3.1s; } .plan .d3 { animation-delay: 3.2s; } .plan .d4 { animation-delay: 3.3s; }
  .plan .d5 { animation-delay: 3.4s; } .plan .d6 { animation-delay: 3.5s; } .plan .d7 { animation-delay: 3.6s; }
  .plan .link { animation: fade-in 0.8s ease-out both, flow 1.8s linear infinite; }
  .plan .l1 { animation-delay: 3.2s, 3.2s; } .plan .l2 { animation-delay: 3.3s, 3.3s; } .plan .l3 { animation-delay: 3.4s, 3.4s; } .plan .l4 { animation-delay: 3.5s, 3.5s; }
  .plan .l5 { animation-delay: 3.6s, 3.6s; } .plan .l6 { animation-delay: 3.7s, 3.7s; } .plan .l7 { animation-delay: 3.8s, 3.8s; }
  .plan .ring { animation: pulse 7s ease-out infinite; }
  .plan .r1 { animation-delay: 3.4s; } .plan .r2 { animation-delay: 5.7s; } .plan .r3 { animation-delay: 8s; }
  @keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes pop { 0% { opacity: 0; scale: 0.2; } 60% { opacity: 1; scale: 1.25; } 100% { opacity: 1; scale: 1; } }
  @keyframes fade-in { from { opacity: 0; } }
  @keyframes flow { to { stroke-dashoffset: -30; } }
  @keyframes pulse { 0% { transform: scale(0.1); opacity: 0; } 10% { opacity: 0.6; } 100% { transform: scale(1); opacity: 0; } }

  /* Small things that never stop, and stop when they are off screen (site.js adds .is-off). */
  .float { animation: bob 8s ease-in-out infinite alternate; }
  @keyframes bob { from { transform: translateY(0.4rem); } to { transform: translateY(-0.6rem); } }
  .rr { animation: pulse 12s ease-out infinite; }
  .rr1 { animation-delay: 0s; } .rr2 { animation-delay: 3s; } .rr3 { animation-delay: 6s; } .rr4 { animation-delay: 9s; }
  .orbit { animation: spin 90s linear infinite; }
  .orbit--in { animation-direction: reverse; animation-duration: 70s; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .is-off .float, .is-off .plan *, .is-off .rr, .is-off .lk-glow { animation-play-state: paused; }

  /* Reveal on scroll, where the browser can drive an animation from scrolling. */
  @supports (animation-timeline: view()) {
    .rv { animation: reveal linear both; animation-timeline: view(); animation-range: entry 4% entry 52%; }
    @keyframes reveal { from { opacity: 0; transform: translateY(2.25rem); } to { opacity: 1; transform: none; } }

    .tilt .ipad { animation: tilt-in linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    @keyframes tilt-in { from { transform: perspective(1800px) rotateX(11deg) rotateY(-9deg) translateY(2.5rem) scale(0.93); } to { transform: none; } }

    .rfcard.rv { animation: reveal linear both, drift linear both; animation-timeline: view(), view(); animation-range: entry 4% entry 52%, cover; }
    .legend.rv { animation: reveal linear both, drift-up linear both; animation-timeline: view(), view(); animation-range: entry 4% entry 52%, cover; }
    @keyframes drift { from { translate: 0 2.5rem; } to { translate: 0 -2.5rem; } }
    @keyframes drift-up { from { translate: 0 -1.5rem; } to { translate: 0 1.75rem; } }

    .plates.rv { animation: reveal linear both, spread linear both; animation-timeline: view(), view(); animation-range: entry 4% entry 52%, entry 10% cover 50%; }
    @keyframes spread { from { --gap: 0.3rem; } to { --gap: 2.6rem; } }

    .paper__sheet--1 { animation: sheet-in linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    @keyframes sheet-in { from { transform: rotateY(14deg) rotateX(6deg) translateY(1.5rem); } to { transform: none; } }
  }
  @supports (animation-timeline: scroll()) {
    .hero__bg .plan { animation: plan-out linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    @keyframes plan-out { to { translate: 0 7rem; } }
    .hero .float { animation: bob 8s ease-in-out infinite alternate, hero-par linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 100vh; }
    @keyframes hero-par { to { translate: 0 -4.5rem; rotate: 0.8deg; } }
    .hero__lockup { animation: lockup-out linear both; animation-timeline: scroll(root); animation-range: 0 70vh; }
    @keyframes lockup-out { to { translate: 0 -1.5rem; opacity: 0.35; } }
    html.pin .story__track { animation: story-p linear both; animation-timeline: view(); animation-range: cover 15.5% cover 83.33%; }
    @keyframes story-p { from { --p: 0; } to { --p: 1; } }
  }

  /* Where the browser cannot drive animations from scrolling: site.js adds html.nosda and .in as things come into view. */
  .nosda .rv { opacity: 0; transform: translateY(2rem); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
  .nosda .rv.in { opacity: 1; transform: none; }
  .nosda .cards .rv:nth-child(2), .nosda .feats .rv:nth-child(2) { transition-delay: 0.08s; }
  .nosda .cards .rv:nth-child(3), .nosda .feats .rv:nth-child(3) { transition-delay: 0.16s; }
  .nosda .cards .rv:nth-child(4), .nosda .feats .rv:nth-child(4) { transition-delay: 0.24s; }
  .nosda .tilt .ipad { transition: transform 1.3s var(--ease); }
  .nosda .tilt:not(.in) .ipad { transform: perspective(1800px) rotateX(9deg) rotateY(-8deg) translateY(2rem) scale(0.95); }
  .nosda .plates { --gap: 0.3rem; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), --gap 1.4s var(--ease); }
  .nosda .plates.in { --gap: 2.6rem; }
  .nosda .float { translate: 0 calc(var(--py, 0) * -0.05px); }
  .nosda .hero__bg .plan { translate: 0 calc(var(--py, 0) * 0.1px); }
}

/* ---------------------------------------------------------------------------------------------- the plain pages: privacy, support, 404 */

.page { padding-block: clamp(2.5rem, 6vw, 4.5rem) 1rem; }
.page :is(h1, h2, h3, p, ul, ol, dl, .toc) { max-width: 42rem; }
.page h1 { margin: 0 0 1rem; font-size: clamp(2rem, 3vw + 1.25rem, 3.2rem); line-height: 1.12; }
.page h2 { margin: 2.75rem 0 0.75rem; font-size: 1.5rem; font-weight: 400; line-height: 1.3; }
.page h3 { margin: 2rem 0 0.5rem; font-size: 1.15rem; line-height: 1.3; }
.page p { margin: 0 0 1rem; }
.page ul, .page ol { margin: 0 0 1rem; padding-inline-start: 1.4rem; }
.page li + li { margin-top: 0.4rem; }
.page .lede-doc { font-size: 1.15rem; color: var(--text); }
.page .meta { color: var(--muted); font-size: 0.95rem; }
.page h2[id], .page section[id] { scroll-margin-top: calc(var(--hh) + 1rem); }
.page, .page p, .page li, .contact-list dd, .site-footer { overflow-wrap: anywhere; }

.toc { margin: 2rem 0; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--raised); }
.toc h2 { margin: 0 0 0.5rem; font-size: 1rem; }
.toc ol { margin: 0; columns: 15rem; column-gap: 2rem; }
.toc li { break-inside: avoid; }

.contact-list { display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 1.25rem; margin: 0 0 1rem; }
.contact-list dt { color: var(--muted); }
.contact-list dd { margin: 0; min-width: 0; }
@media (max-width: 30rem) {
  .contact-list { grid-template-columns: 1fr; gap: 0; }
  .contact-list dd { margin-bottom: 0.75rem; }
}

.table-wrap { margin: 1.5rem 0; }
.flows { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.5; }
.flows th, .flows td { text-align: left; vertical-align: top; padding: 0.8rem 0.9rem; border-bottom: 1px solid var(--border); overflow-wrap: normal; }
.flows thead th { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.flows tbody th { font-weight: 600; }
.flows tbody tr:nth-child(even) { background: var(--raised); }
@media (max-width: 55.99rem) {
  .flows, .flows tbody, .flows tr, .flows th, .flows td { display: block; }
  .flows thead { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .flows tbody tr, .flows tbody tr:nth-child(even) { margin: 0 0 1rem; padding: 1rem 1.1rem; background: var(--raised); border: 1px solid var(--border); border-radius: 0.9rem; }
  .flows th, .flows td { padding: 0; border: 0; overflow-wrap: anywhere; }
  .flows tbody th { margin-bottom: 0.5rem; font-size: 1.05rem; }
  .flows td { margin-top: 0.6rem; }
  .flows td::before { content: attr(data-label); display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
}

/* ---------------------------------------------------------------------------------------------- settings that change how this must look */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hush-btn { display: none !important; }
}

/* "Pause animations" on the home page (site.js sets html.hush): the same finished, still page the system setting gives, for visitors who
   have not set it. Endless motion and the looping clips are what WCAG 2.2.2 asks to be stoppable. */
html.hush { scroll-behavior: auto; }
html.hush *, html.hush *::before, html.hush *::after { animation: none !important; transition: none !important; }
.hush-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.3rem 1rem 0.3rem 0.85rem;
  border: 1px solid #5d7fa8;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}
.hush-btn:hover { color: var(--text); border-color: var(--accent); }
.hush-btn::before { content: ""; flex: none; box-sizing: border-box; width: 0.8rem; height: 0.8rem; border-left: 0.22rem solid currentColor; border-right: 0.22rem solid currentColor; }
html.hush .hush-btn::before { width: 0; height: 0; border: 0.45rem solid transparent; border-left: 0.75rem solid currentColor; border-right: 0; }
/* Without script the button cannot work, so it is not shown; it keeps its place so that nothing moves when script starts. */
html:not(.js) .hush-btn { visibility: hidden; }

@media (forced-colors: active) {
  .btn, .chip, .card, .legend, .qa summary::after { border: 1px solid CanvasText; }
  .chip__dot { background: CanvasText; }
  .sw { forced-color-adjust: none; }
}

@media (max-width: 22rem) {
  .btn, .cta { width: 100%; }
}

@media print {
  body { background: #fff; color: #000; }
  .skip, .site-header, .site-footer ul, .hero__bg, .rf__rings, .sprite, .hush-btn { display: none; }
  /* A printed page has no scrolling to drive the reveals, so show everything as finished. */
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1 !important; transform: none !important; }
  a { color: #000; }
  .toc, .flows tbody tr, .flows tbody tr:nth-child(even) { background: none; }
}

/* The plain pages share the home page's ground: a faint blueprint glow under the header. */
.page-doc main { background: radial-gradient(55% 28rem at 50% 0, rgba(20, 130, 230, 0.13), transparent 70%); }
