/*
 * The landing page, from the v5 design.
 *
 * The design arrives as one HTML file with every rule inline on the element —
 * that is how a design canvas works, and it is not how a page should ship: the
 * same twenty declarations repeated on seven cards is weight on every request
 * and nothing to edit in one place. So the design's values are here as rules,
 * unchanged, and the markup carries class names.
 *
 * Sizing follows the design's own approach: container queries on the root, so
 * the page reacts to its own width rather than the window's, and `clamp()` for
 * type. The one thing the design did in JavaScript — a width switch at 1100px
 * for the centre navigation and a few layout swaps — is a media query here.
 * A layout that needs JavaScript to exist is a layout that flashes wrong.
 */

:root {
  --bg: #070a16;
  --bg-deep: #04060e;
  --text: #eef1fa;
  --muted: #a7aec2;
  --dim: #959db3;

  --accent: #3d63f0;
  --accent-light: #7d97ff;
  --accent-pale: #9fb6ff;
  --link: #9fb3ff;

  --card: rgba(255, 255, 255, 0.03);
  --card-line: rgba(255, 255, 255, 0.08);

  --radius-card: 22px;
  --gutter: clamp(20px, 4cqi, 64px);
  --mono: ui-monospace, Menlo, Consolas, monospace;
  /* One curve for everything that moves, so nothing arrives out of step. */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Onest', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/*
 * No clipping here, and that is the point.
 *
 * It started as `overflow: hidden` to contain the hero's star flare, which
 * made the whole page scroll inside this element — `scrollY` stuck at zero,
 * the fixed header never learning that anything had moved. `clip` fixed that
 * and introduced a subtler one: a `position: fixed` descendant is clipped by
 * an ancestor with `clip`, so the header was being painted against a box it
 * does not belong to. That is the pale rectangle that kept appearing over the
 * logo.
 *
 * Nothing needs clipping at this level: the hero and the privacy panel each
 * clip their own overflow, which is where the only two elements that stick
 * out live.
 */
.page { container-type: inline-size; position: relative; }

/* One pixel, just below where the bar ends, watched by an observer. */
.top-sentinel { position: absolute; top: 24px; left: 0; width: 1px; height: 1px; pointer-events: none; }

a { color: var(--link); text-decoration: none; }
a:hover { color: #d6ddff; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-weight: 500; letter-spacing: -0.04em; margin: 0; }
/*
 * Sized by the window's height as well as its width.
 *
 * The design sets this from width alone, and at 1440×900 that gives 89px — a
 * heading of six lines, 536px tall, which is most of a screen before the lead
 * paragraph has started. Width tells you how long a line may be; it says
 * nothing about how many lines fit. `svh` is the missing half.
 */
h1 { font-size: clamp(36px, min(6.2cqi, 7.6svh), 94px); line-height: 1; letter-spacing: -0.045em; }
h2 { font-size: clamp(34px, 4.6cqi, 64px); line-height: 1; }
h3 { font-size: 22px; letter-spacing: -0.02em; }

.mono { font-family: var(--mono); }
.kicker { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; }
.hint { font-family: var(--mono); font-size: 12px; color: var(--dim); }

.wrap { max-width: 1280px; margin: 0 auto; }
section { padding: clamp(88px, 11cqi, 150px) var(--gutter) 0; }

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

/*
 * Fixed, so the way back is always one click away rather than one scroll to
 * the top and then a click.
 *
 * Transparent over the hero, which is what the design draws, and given a
 * surface as soon as the page moves — otherwise white text on a white plan
 * card scrolls underneath it and neither can be read. The class is added by
 * script; without it the bar simply stays transparent, which is only a
 * problem for a page that is also not scrolling.
 */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  padding: 22px var(--gutter);
  display: flex; align-items: center; gap: 8px;
}
/*
 * The surface is a layer that fades in, not properties that switch on.
 *
 * Two reasons. Changing the bar's own padding when it sticks moves every item
 * in it, and a transition on padding is a reflow every frame — which is the
 * jump. And `backdrop-filter` appearing and disappearing on a fixed element
 * makes Chrome build and throw away a compositing layer; the cost of that
 * shows as a flash of the layer's own bounds, which is a rectangle in the
 * corner where the layer starts.
 *
 * So the blur lives on a pseudo-element that is always there and only changes
 * opacity. Nothing reflows, and the layer is never created or destroyed.
 */
.bar::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  /*
   * Solid, not frosted.
   *
   * The blur was worth very little here — a dark bar at 0.72 over a dark page
   * looks almost the same solid — and it cost a compositing layer on a fixed
   * element, which is the usual company a stray rectangle in the corner keeps.
   * Fewer layers, same bar.
   */
  background: rgba(7, 10, 22, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  /*
   * `visibility`, not opacity alone.
   *
   * A `backdrop-filter` element establishes a backdrop root even at zero
   * opacity, and Chrome paints the bounds of that root — which is the pale
   * rectangle that kept appearing in the top left corner over the logo. At
   * `visibility: hidden` the layer is not painted and no root is established.
   * Zero delay on the way in, the full duration on the way out, so the fade
   * is still visible in both directions.
   */
  visibility: hidden;
  transition: opacity .35s ease, visibility 0s linear .35s;
}
.bar.stuck::before {
  opacity: 1;
  visibility: visible;
  transition: opacity .35s ease, visibility 0s;
}
/* The pill keeps its own surface; against a solid bar it only needs to be
   quieter. */
.bar.stuck .sections { background: rgba(255, 255, 255, 0.05); backdrop-filter: none; }
.brand {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 600; font-size: 18px; letter-spacing: -0.02em;
  min-height: 44px; margin-right: auto;
}
.brand img { display: block; width: 32px; height: 32px; border-radius: 8px; }

/* The centre pill. Hidden narrow, where it would collide with the language
   switch and the call to action rather than shrink gracefully. */
.sections {
  display: none;
  position: absolute; left: 50%; transform: translateX(-50%);
  gap: 2px; padding: 5px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}
.sections a {
  color: #fff; font-size: 16px; padding: 0 16px; min-height: 42px;
  display: flex; align-items: center; border-radius: 11px;
}
.sections a:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }

.langs {
  display: flex; align-items: center; font-size: 15px;
  padding: 3px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.langs a { color: #fff; padding: 0 10px; min-height: 38px; display: flex; align-items: center; border-radius: 10px; }
.langs a[aria-current] { color: #1c2f96; background: #fff; font-weight: 600; }

.cta-top {
  background: #fff; color: #0f1428; font-weight: 500; font-size: 15px;
  padding: 0 14px; min-height: 46px; border-radius: 14px;
  display: flex; align-items: center; white-space: nowrap;
}
.cta-top:hover { background: #e8edff; color: #0f1428; }
.cta-top .long { display: none; }

@container (min-width: 1100px) {
  .bar { gap: 16px; }
  .brand { font-size: 21px; }
  .sections { display: flex; }
  .cta-top { padding: 0 18px; }
  .cta-top .long { display: inline; }
  .cta-top .short { display: none; }
}

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

/*
 * A screen tall, and no shorter.
 *
 * `min-height` rather than `height`: on a 13-inch laptop the heading, the
 * stage and the five steps come to more than the viewport, and a fixed height
 * would put the scroll inside the section or cut the steps off. `svh` rather
 * than `vh` so a phone's toolbars cannot push the bottom of it out of reach.
 */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 0;
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(90% 80% at 68% 30%, #2a43b8 0%, #1c3094 24%, #132270 48%, #0c1548 76%, #070a16 100%);
}
/* Vertical rule texture, masked to the middle so it never reaches an edge. */
.hero-lines {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 2px, rgba(255,255,255,0) 2px 16px);
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 55%, #000 75%, transparent 95%);
  mask-image: linear-gradient(90deg, transparent 30%, #000 55%, #000 75%, transparent 95%);
}
/* The registration star: the mark in the logo, drawn as light. */
.star { position: absolute; left: 78%; top: 120px; width: 0; height: 0; pointer-events: none; }
.star i { position: absolute; display: block; }
.star .h { left: -900px; top: -3px; width: 1800px; height: 6px;
  background: radial-gradient(closest-side, rgba(228,235,255,.6), rgba(170,190,255,.35) 40%, transparent); }
.star .v { left: -3px; top: -900px; width: 6px; height: 1800px;
  background: radial-gradient(closest-side, rgba(228,235,255,.6), rgba(170,190,255,.35) 40%, transparent); }
.star .gh { left: -260px; top: -60px; width: 520px; height: 120px; border-radius: 50%; filter: blur(6px);
  background: radial-gradient(closest-side, rgba(205,218,255,.35), transparent); }
.star .gv { left: -60px; top: -260px; width: 120px; height: 520px; border-radius: 50%; filter: blur(6px);
  background: radial-gradient(closest-side, rgba(205,218,255,.35), transparent); }
.star .core { left: -160px; top: -160px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(232,238,255,.45), rgba(140,165,255,.25) 50%, transparent); }
.star .ring { left: -110px; top: -110px; width: 220px; height: 220px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.45); }

.hero-inner {
  position: relative; z-index: 2; width: 100%;
  padding: calc(84px + clamp(12px, 2.4svh, 40px)) var(--gutter) clamp(16px, 2.4svh, 40px);
}
.hero-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
  gap: 40px 56px; align-items: end;
}
.hero-copy { display: grid; gap: clamp(14px, 2.4svh, 26px); align-self: end; padding-bottom: 8px; }
/* 15ch, not 13: a shorter measure means more lines, and lines are what the
   screen is short of. */
.hero h1 { max-width: 15ch; text-wrap: balance; text-shadow: 0 2px 30px rgba(10, 20, 90, .25); }
.hero-lead { margin: 0; max-width: 560px; font-size: 17px; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; }
.hero-note { margin: 0; color: #fff; font-size: 15px; opacity: .95; }

.btn-white {
  background: #fff; color: #0f1428; font-weight: 500; font-size: 17px;
  padding: 0 26px; min-height: 54px; border-radius: 999px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 12px 40px -10px rgba(10, 20, 90, .5);
}
.btn-white:hover { background: #e8edff; color: #0f1428; }
.btn-plain { color: #fff; font-weight: 500; font-size: 17px; min-height: 54px; display: flex; align-items: center; gap: 8px; }
.btn-plain:hover { color: #dfe6ff; }

@container (min-width: 1100px) {
  /* No minimum height any more: the section is a screen tall and the grid
     takes what is left of it, rather than insisting on 640px of its own. */
  .star { left: 62%; top: 300px; }
}

/* ------------------------------------------------------------------- stage */

.stage {
  align-self: start; border-radius: 26px; padding: 14px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px -30px rgba(10, 20, 90, .55);
}
.stage-grip { display: flex; justify-content: center; padding: 2px 0 12px; }
.stage-grip span { width: 60px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.85); }
.stage-chips { display: flex; align-items: center; gap: 8px; padding: 0 4px 12px; font-size: 13px; flex-wrap: wrap; }
.chip { padding: 6px 10px; border-radius: 9px; background: rgba(255,255,255,.12); }
.chip-screen { background: rgba(255,255,255,.2); color: #fff; transition: all .3s var(--ease); }
.chip-screen.lit { background: #fff; color: #1c2f96; }
.chip-export {
  margin-left: auto; display: flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 9px;
  background: rgba(255,255,255,.06); color: #c3cbe2; transition: all .3s var(--ease);
}
.chip-export.lit { background: rgba(255,255,255,.18); color: #fff; }
.chip-export i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.3); transition: background .3s var(--ease); }
.chip-export.lit i { background: #7ee2a8; }

/*
 * A checkerboard under the animation, barely there.
 *
 * It is the same pattern the application draws behind artwork, built the same
 * way, and it means the same thing in both places: nothing is printed here.
 * That is the honest ground for this animation, because what floats above it
 * is seven transparent films — on a flat fill they would look like slides on a
 * light table, which is the one thing they are not.
 *
 * The squares are darker than the ground, not lighter. A checkerboard built
 * from light squares lifts the whole panel and pulls the eye into the
 * background; built from dark ones it recedes, which is what scenery behind a
 * moving picture should do.
 */
.stage-view {
  position: relative; aspect-ratio: .9; border-radius: 16px;
  perspective: 1800px; overflow: hidden;
  background-color: #0a1030;
  background-image:
    linear-gradient(45deg, rgba(0, 0, 0, .28) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, .28) 75%),
    linear-gradient(45deg, rgba(0, 0, 0, .28) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, .28) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
}
@container (min-width: 600px) { .stage-view { aspect-ratio: 1.25; } }

/*
 * On a wide screen the stage takes what the viewport has left rather than
 * whatever its aspect ratio asks for.
 *
 * The section is meant to be exactly one screen. Everything else in it is a
 * fixed cost — the bar, the heading, the five steps, the padding — and the
 * stage is the one part that can give, so it is sized from what remains. The
 * clamp is the honest part: below about 700px of window there is nothing left
 * to take, and the hero grows instead of cropping the steps off the bottom.
 */
@container (min-width: 1100px) {
  .stage-view { aspect-ratio: auto; height: clamp(190px, calc(100svh - 515px), 560px); }
}

/*
 * One easing for the whole sequence, and time enough to read it.
 *
 * The phases were timed separately - .6s here, .9s there, 1.1s on the plates -
 * so a change that touches three of them at once arrives in three instalments
 * and reads as a stutter rather than a move.
 *
 * Quick, and still one curve. Smooth and slow are not the same property: what
 * made the sequence feel heavy was the length of each move, not its easing, so
 * the durations came down by about a third and the easing stayed exactly where
 * it was. The staggers came down with them — a delay that is a third of the
 * move it delays reads as deliberate; one that is half of it reads as a queue.
 */
.art { position: absolute; top: 6%; height: 88%; left: 0; right: 0; margin: 0 auto; aspect-ratio: .973; transition: opacity .55s var(--ease); }
.art > img.comp { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 4px; transition: opacity .55s var(--ease); }
.plate {
  position: absolute; inset: 0; border-radius: 4px; overflow: hidden;
  background: rgba(40, 60, 160, .12); border: 1px solid rgba(200, 215, 255, .3);
  opacity: 0;
  transition: transform .85s var(--ease), opacity .5s var(--ease);
}
.plate > div { position: absolute; inset: -45%; -webkit-mask-size: 6px 6px; mask-size: 6px 6px; }
.plate img { position: absolute; left: 23.684%; top: 23.684%; width: 52.632%; height: 52.632%; }
.scan {
  position: absolute; left: 0; right: 0; height: 2px; top: 4%; opacity: 0;
  background: linear-gradient(90deg, transparent, #cfe0ff, transparent);
  box-shadow: 0 0 24px 4px rgba(150, 180, 255, .6);
  transition: top 1.7s linear, opacity .3s var(--ease);
}

.files {
  position: absolute; inset: 0; padding: 6% 7%;
  display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 14px;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .5s var(--ease) .12s, transform .5s var(--ease) .12s;
}
.files-head { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.files-head span {
  display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px;
  background: rgba(255,255,255,.1); font-family: var(--mono);
}
.files-head i { width: 14px; height: 11px; border-radius: 2px 4px 2px 2px; background: #5aa9f0; }
.files-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: center;
  gap: clamp(12px, 2.4cqi, 32px) 10px; min-height: 0;
}
.file { display: grid; grid-template-rows: auto auto; align-content: center; justify-items: center; gap: 8px; text-align: center; }
.file-icon { position: relative; height: clamp(50px, 7.5cqi, 96px); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.file-name { font-size: 12px; line-height: 1.25; color: #fff; overflow-wrap: anywhere; }
.file-note { font-size: 11px; color: var(--muted); }

.ic-folder { position: relative; width: 92%; height: 70%; margin-top: 8%; }
.ic-folder .tab { position: absolute; left: 0; top: -12%; width: 42%; height: 24%; border-radius: 4px 6px 0 0; background: #3f8fe0; }
.ic-folder .body { position: absolute; inset: 0; border-radius: 3px 6px 6px 6px; background: linear-gradient(180deg, #6cc0ff, #3f9ef0); }
.ic-thumb { position: relative; height: 88%; aspect-ratio: .973; border: 3px solid #fff; background: url(./assets/myimage-preview.webp) center/cover; box-shadow: 0 4px 12px rgba(0,0,0,.4); }
.ic-page {
  position: relative; height: 92%; aspect-ratio: .78;
  clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%);
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
}
.ic-page .fold { position: absolute; right: 0; top: 0; width: 28%; height: 22%; background: rgba(255,255,255,.55); clip-path: polygon(0 0, 100% 100%, 0 100%); }
.ic-page .tag { position: absolute; left: 0; right: 0; bottom: 12%; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.ic-sheet { width: 92%; aspect-ratio: 1.26; background: #fff url(./assets/palette-thumb.webp) center/92% auto no-repeat; box-shadow: 0 4px 12px rgba(0,0,0,.4); }

.inks { margin-top: 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px; }
.ink {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 11px;
  font-size: 13px; background: rgba(255,255,255,.14);
  opacity: 0; transform: translateY(6px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), background .35s var(--ease);
}
.ink.up { opacity: 1; transform: none; }
.ink.hot { background: rgba(255,255,255,.26); }
.ink .sw { width: 14px; height: 14px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(255,255,255,.5) inset; flex: none; }
.ink .nm { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ink .pc { font-variant-numeric: tabular-nums; }

/* The five phases, as a control rather than a caption. */
.steps {
  position: relative;
  list-style: none; margin: clamp(40px, 5cqi, 72px) 0 0; padding: 0 0 28px;
  /*
   * Always five columns, one per phase.
   *
   * `auto-fit` with a 160px minimum broke the row into two and then three as
   * the window narrowed, and a progress bar that runs across a strip which is
   * sometimes two rows tall is not a progress bar. Five columns hold at every
   * width; the labels wrap on a tablet and are dropped on a phone, where the
   * step that is running is spelled out underneath instead.
   */
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.35);
}
/*
 * One bar across the whole strip, not five that each fill their own cell.
 *
 * The segmented version restarted at every boundary, so the eye read five
 * short animations rather than one job running from the first step to the
 * last. As a single fill it says where the sequence has got to — and, because
 * the width is driven by the phase timer, how much of it is left.
 *
 * The script sets both properties: how far, and how long to take getting there.
 */
.steps::after {
  content: ''; position: absolute; left: 0; top: -1px; height: 2px;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, rgba(255, 255, 255, .55), #fff);
  transition: width var(--progress-ms, 400ms) linear;
}
.steps li { display: flex; position: relative; }
.steps button {
  all: unset; box-sizing: border-box; cursor: pointer; flex: 1; min-height: 56px;
  padding: 18px 12px 4px 0; color: #fff; opacity: .78; font-size: 15px; line-height: 1.3;
  display: grid; gap: 8px; align-content: start; transition: opacity .3s;
}
.steps li[data-on] button { opacity: 1; }
.steps .n { font-family: var(--mono); font-size: 12px; }
/* The current step, spelled out once. Phone only — see the end of the file. */
.steps-current { display: none; }

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

.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.ramp { display: flex; height: 6px; width: 200px; border-radius: 3px; overflow: hidden; }
.ramp span { flex: 1; }

.cards { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 14px; }
.card {
  padding: 28px 26px 30px; border-radius: var(--radius-card);
  background: var(--card); border: 1px solid var(--card-line);
  display: grid; gap: 14px; align-content: start;
}
.card-top { display: flex; align-items: center; gap: 10px; }
.card-dot { width: 12px; height: 12px; border-radius: 50%; }
.card-n { font-family: var(--mono); font-size: 13px; color: var(--dim); }
.card p { margin: 0; color: var(--muted); }

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

.privacy {
  position: relative; margin: clamp(96px, 12cqi, 160px) clamp(12px, 2cqi, 28px) 0;
  border-radius: 32px; overflow: hidden; color: #fff; padding: 0;
  background: radial-gradient(80% 90% at 85% 20%, #2a43b8 0%, #1a2d8c 30%, #111f66 58%, #0a1238 94%);
}
.privacy-lines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 2px, rgba(255,255,255,0) 2px 16px);
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 70%, transparent);
  mask-image: linear-gradient(90deg, transparent 40%, #000 70%, transparent);
}
.privacy-inner {
  position: relative; max-width: 1280px; margin: 0 auto;
  padding: clamp(56px, 8cqi, 120px) var(--gutter);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 48px 72px; align-items: center;
}
.privacy h2 { margin: 16px 0 0; font-size: clamp(36px, 5.4cqi, 76px); letter-spacing: -0.045em; text-wrap: balance; }
.privacy p { margin: 26px 0 0; max-width: 520px; color: rgba(255,255,255,.88); }

.mock { display: grid; justify-items: stretch; max-width: 520px; width: 100%; justify-self: center; }
.mock-window {
  border-radius: 22px; overflow: hidden; background: rgba(6, 10, 32, .72);
  border: 1px solid rgba(255,255,255,.16); box-shadow: 0 30px 80px -30px rgba(0,0,0,.7);
  backdrop-filter: blur(16px);
}
.mock-bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px;
  padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 13px;
}
.mock-bar img { display: block; border-radius: 5px; }
.mock-url { padding: 6px 14px; border-radius: 8px; background: rgba(255,255,255,.06); font-family: var(--mono); color: #c3cbe2; white-space: nowrap; }
.mock-live { justify-self: end; display: flex; align-items: center; gap: 6px; color: #fff; white-space: nowrap; }
.mock-live i { width: 7px; height: 7px; border-radius: 50%; background: #7ee2a8; box-shadow: 0 0 10px #7ee2a8; }
.mock-body { padding: 16px; display: grid; gap: 12px; }
.mock-shot {
  aspect-ratio: 2.4; border-radius: 12px; border: 1px solid rgba(255,255,255,.12);
  background-image: url(./assets/app-screenshot.jpg); background-size: 142% auto; background-position: 13% 42%;
  display: flex; align-items: flex-end; justify-content: center; padding: 10px;
}
.mock-shot span { padding: 4px 10px; border-radius: 6px; background: rgba(6,10,32,.8); font-family: var(--mono); font-size: 11px; }
.mock-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 8px; }
.mock-steps li {
  display: grid; justify-items: center; gap: 8px; padding: 14px 8px; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); text-align: center;
}
.tick { width: 22px; height: 22px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.tick i { width: 8px; height: 4px; border-left: 2px solid #1a2d8c; border-bottom: 2px solid #1a2d8c; transform: translateY(-1px) rotate(-45deg); }
.mock-steps .what { font-size: 14px; line-height: 1.25; }
.mock-steps .where { font-family: var(--mono); font-size: 11px; color: #c3cbe2; }

.wire { position: relative; height: 76px; display: flex; justify-content: center; align-items: center; }
.wire i {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px;
  background: linear-gradient(180deg, rgba(255,255,255,.1), #fff, rgba(255,255,255,.1));
  background-size: 100% 200%; animation: flow-v 1.8s linear infinite;
}
.wire span { position: relative; padding: 6px 12px; border-radius: 999px; background: #fff; color: #0a1238; font-family: var(--mono); font-size: 12px; white-space: nowrap; }

.server { border-radius: 18px; padding: 16px; border: 1px dashed rgba(255,255,255,.4); background: rgba(6,10,32,.45); display: grid; gap: 12px; text-align: center; }
.server-name { font-size: 14px; color: #c3cbe2; }
.server-row { display: grid; grid-template-columns: 1fr; gap: 8px; }
.server-row span { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 8px; border-radius: 10px; font-size: 14px; }
.server-has { background: rgba(255,255,255,.1); }
.server-has i { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.server-not { border: 1px solid rgba(255,255,255,.14); color: #c3cbe2; }
.server-not i { width: 10px; height: 2px; background: #c3cbe2; }

@container (min-width: 480px) {
  .mock-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .server-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------------- how */

.how-list {
  list-style: none; margin: 48px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 0 40px; border-top: 1px solid rgba(255,255,255,.12);
}
.how-list li { position: relative; padding: 30px 0 20px; display: grid; gap: 14px; align-content: start; }
.how-list li::before { content: ''; position: absolute; left: 0; top: -1px; width: 64px; height: 2px; background: var(--accent); }
.how-n { font-size: 64px; font-weight: 500; line-height: 1; letter-spacing: -0.05em; color: var(--accent-light); }
.how-list h3 { margin: 10px 0 0; }
.how-list p { margin: 0; color: var(--muted); }

/* ----------------------------------------------------------------- formats */

.pipe {
  margin-top: 48px; position: relative; border-radius: 28px;
  border: 1px solid var(--card-line);
  background: radial-gradient(60% 90% at 50% 50%, rgba(61,99,240,.16), rgba(61,99,240,0) 70%), rgba(255,255,255,.015);
  padding: clamp(20px, 3cqi, 36px);
  display: flex; flex-direction: column; align-items: stretch; gap: 20px;
}
.pipe-col { flex: 1 1 0; min-width: 0; display: grid; gap: 10px; }
.pipe-col h3 { margin: 0 0 4px; font-size: 13px; font-family: var(--mono); font-weight: 500; letter-spacing: .08em; color: var(--muted); }
.in-file { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid var(--card-line); }
.in-file .doc {
  position: relative; width: 44px; height: 54px; border-radius: 6px 14px 6px 6px;
  background: linear-gradient(160deg, #1b2340, #10152a); border: 1px solid rgba(255,255,255,.14);
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 7px;
  font-family: var(--mono); font-size: 11px; font-weight: 600; color: #cfd8ff;
}
.in-file .txt { display: grid; gap: 2px; }
.in-file .txt b { font-weight: 500; }
.in-file .txt span { font-size: 13px; color: var(--dim); }

.conn {
  align-self: center; flex: 0 0 auto; width: 2px; height: 32px; border-radius: 2px;
  background: linear-gradient(180deg, rgba(125,151,255,.1), var(--accent-light), rgba(125,151,255,.1));
  background-size: 100% 200%; animation: flow-v 2.4s linear infinite;
}
.pipe-core {
  flex: 0 0 auto; align-self: center; display: grid; justify-items: center; gap: 12px;
  padding: 22px 26px; border-radius: 22px;
  background: linear-gradient(180deg, #1a2d8c, #0e1850);
  border: 1px solid rgba(140,165,255,.5); box-shadow: 0 0 60px -10px rgba(61,99,240,.8);
}
.pipe-core img { display: block; border-radius: 12px; }
.pipe-core b { font-weight: 600; font-size: 16px; }
.pipe-core span { font-family: var(--mono); font-size: 12px; color: #c3cbe2; }
.out-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.out-list li {
  display: grid; gap: 10px; align-content: space-between; min-height: 108px; padding: 16px;
  border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
}
.out-list li.lit { background: linear-gradient(160deg, rgba(61,99,240,.35), rgba(61,99,240,.1)); border-color: rgba(140,165,255,.5); }
.out-list b { font-family: var(--mono); font-size: 22px; font-weight: 600; letter-spacing: .02em; color: #fff; }
.out-list b.small { font-size: 15px; }
/*
 * `.rule`, and never `.bar` again.
 *
 * This little underline was `.bar`, which is also the page header — so six of
 * them inherited `position: fixed; top: 0; left: 0` and painted a #7D97FF
 * rectangle over the logo. It is the third collision in this stylesheet after
 * `.plate` twice, and the pattern is always the same: a generic word for a
 * small decorative part, and the same word for a large structural one.
 */
.out-list .rule { height: 3px; width: 36px; border-radius: 2px; background: var(--accent-light); }
/*
 * Five swatches at 12px with 4px between them need 76px, and the tile has 67.
 * A flex row cannot shrink below its content, so it pushed past the padding on
 * the right and the tile looked lopsided — which it was, by nine pixels.
 */
.out-list li > * { min-width: 0; }
.out-list .swatches { display: flex; gap: 3px; flex-wrap: wrap; }
.out-list .swatches span { width: 10px; height: 10px; border-radius: 3px; flex: none; }

@container (min-width: 1100px) {
  .pipe { flex-direction: row; align-items: center; }
  .pipe-out { flex: 1.6 1 0; }
  .conn { flex: 0 1 80px; width: auto; height: 2px; background-image: linear-gradient(90deg, rgba(125,151,255,.1), var(--accent-light), rgba(125,151,255,.1)); background-size: 200% 100%; animation-name: flow-h; }
}

/* ----------------------------------------------------------------- pricing */

.pricing { position: relative; margin-top: clamp(88px, 11cqi, 150px); padding: clamp(56px, 6cqi, 88px) var(--gutter); }
.pricing-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(160,180,255,.16) 1px, transparent 1.6px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 45%, #000, transparent);
  mask-image: radial-gradient(70% 60% at 50% 45%, #000, transparent);
}
.plans { margin-top: 52px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; align-items: stretch; }
.plan {
  position: relative; overflow: hidden; border-radius: var(--radius-card);
  padding: 30px 30px 34px; display: flex; flex-direction: column;
  border: 1px solid var(--card-line); background: linear-gradient(180deg, #10131f, #0b0e19);
}
.plan.best {
  border-color: rgba(140,165,255,.55);
  background: linear-gradient(180deg, #0d1330 0%, #101c52 45%, #1a2d8c 100%);
  box-shadow: 0 40px 100px -40px rgba(61,99,240,.6);
}
/* The stack of screens in the corner: one plate per export, in isometric. */
.plan-stack { position: absolute; top: 6px; right: 6px; width: 170px; height: 140px; pointer-events: none; }
.plan-stack .anchor { position: absolute; left: 50%; top: 0; width: 0; height: 0; }
/* `.screen-plate`, not `.plate`: the hero's films already own that name and
   set `opacity: 0` on it, which drew these in full and made every one of them
   invisible. Two meanings for one class is a bug waiting for a stylesheet to
   get long enough. */
.plan-stack .screen-plate {
  position: absolute; left: -46px; width: 92px; height: 92px;
  border-radius: 10px; transform: rotateX(60deg) rotateZ(-45deg);
}
.plan-stack .mark { position: absolute; left: -46px; width: 92px; height: 92px; transform: rotateX(60deg) rotateZ(-45deg); display: flex; align-items: center; justify-content: center; }
.plan-stack .mark div { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 2px solid; transform: rotate(45deg); }
.plan-stack .mark div span { position: absolute; left: 50%; top: 50%; background: currentColor; }
.plan-stack .mark .v { width: 2px; height: 42px; margin: -21px 0 0 -1px; }
.plan-stack .mark .h { width: 42px; height: 2px; margin: -1px 0 0 -21px; }

.plan-tag { min-height: 24px; max-width: calc(100% - 170px); font-family: var(--mono); font-size: 13px; line-height: 1.5; letter-spacing: .06em; color: #aebdff; }
.plan h3 { margin: 92px 0 0; font-size: 26px; color: #fff; }
.plan-blurb { margin: 14px 0 0; max-width: 300px; color: var(--muted); }
.plan-price { margin-top: 26px; min-height: 62px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan-price b { font-size: 54px; font-weight: 500; letter-spacing: -0.045em; line-height: 1.1; font-variant-numeric: tabular-nums; color: #fff; }
.plan-price span { font-size: 18px; color: #c3cbe2; }
.plan-price.loading b, .plan-price.loading span { visibility: hidden; }
.plan-price.loading::after {
  content: ''; align-self: center; height: 44px; width: 150px; border-radius: 8px;
  background: rgba(255,255,255,.1); animation: pulse 1.4s ease-in-out infinite;
}
.plan-includes { margin: 30px 0 0; border-top: 1px solid rgba(255,255,255,.1); padding-top: 26px; font-size: 15px; color: var(--muted); }
.plan ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.plan li { display: flex; gap: 12px; align-items: baseline; font-size: 16px; color: var(--text); }
.plan li i { flex: none; width: 14px; height: 8px; border-left: 2px solid #aebdff; border-bottom: 2px solid #aebdff; transform: translateY(-3px) rotate(-45deg); }
.plans-note { margin: 26px auto 0; font-size: 15px; color: var(--muted); max-width: 760px; }

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

.faq { display: flex; flex-wrap: wrap; gap: 28px 72px; align-items: flex-start; padding-bottom: clamp(88px, 11cqi, 150px); }
.faq h2 { flex: 1 1 280px; }
.faq-list { flex: 2 1 320px; min-width: 0; display: grid; gap: 8px; }
.faq details { border-radius: 18px; border: 1px solid var(--card-line); background: var(--card); padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; padding: 18px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 18px; line-height: 1.35; letter-spacing: 0; }
.faq summary i {
  flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center; color: #c9d3ff; font-style: normal;
}
.faq summary i { transition: transform .3s var(--ease), background .3s var(--ease); }
.faq summary:hover i { background: rgba(255, 255, 255, .14); }
/* The plus becomes a cross by turning, which says "this closes what that
   opened" in one gesture and costs nothing to draw. */
.faq details[open] summary i { transform: rotate(45deg); }
/* Height is animated on this, never on `details`: a closed `details` hides
   its children outright, so there is nothing left to collapse by the time a
   transition could run. The script opens the element first and animates the
   wrapper, and closes it only once the wrapper has finished. */
.faq .answer { overflow: hidden; }
.faq p { margin: 0 0 22px; max-width: 640px; color: var(--muted); }

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

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

/*
 * The page ends rather than stops.
 *
 * Links in columns at the top, a horizon along the bottom, nothing on top of
 * anything. An earlier attempt put a halftone behind the whole footer: faint
 * enough to leave the text alone meant too faint to see, and visible enough to
 * see meant links on a dotted carpet.
 */
footer {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--bg-deep);
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: #d6dcef;
  /* The bottom padding is the horizon's room. */
  padding: 72px var(--gutter) 400px;
}

.foot-main {
  display: grid; gap: 48px 72px;
  grid-template-columns: minmax(260px, 1fr) 1.9fr;
  align-items: start;
}
.foot-brand .brand { font-size: 18px; gap: 10px; }
.foot-brand .brand img { width: 28px; height: 28px; border-radius: 8px; }
.foot-brand p {
  margin: 18px 0 18px;
  font-size: 14px; line-height: 1.6; color: var(--dim);
}
/* The address lives here rather than in a column: at a column's width it broke
   mid-word, and it is a way to reach a person, not a section of the site. */
.foot-brand .mail {
  display: inline-flex; min-height: 34px; align-items: center;
  margin-bottom: 14px; font-size: 14px; color: var(--link);
}
.foot-brand .mail:hover { color: #fff; }
footer .langs { display: flex; gap: 4px; background: none; border: 0; padding: 0; }
footer .langs a { min-height: 34px; padding: 0 10px; color: var(--muted); }
/* `background: none` is load-bearing: the header's switch paints the current
   language white, and overriding only the colour left a white pill here. */
footer .langs a[aria-current] { color: #fff; background: none; font-weight: 600; }

.foot-cols {
  display: grid; gap: 36px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.foot-col { display: grid; align-content: start; gap: 2px; min-width: 0; }
.foot-col h3 {
  margin: 0 0 8px;
  font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--dim);
}
.foot-col a {
  min-height: 32px; display: flex; align-items: center;
  font-size: 14px; color: #d6dcef;
}
.foot-col a:hover { color: #fff; }

.foot-legal {
  display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: baseline;
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: 13px; color: var(--dim);
}
/* What the picture below actually is. A claim the reader can check is worth
   more than one they cannot. */
.foot-caption { font-size: 12px; color: var(--muted); opacity: .75; }

/*
 * The horizon: one ridge per ink, screened at 22.5° by the engine that writes
 * the films — `site/assets/make-strata.mjs`.
 *
 * Behind the content by z-index and below it on the page. `cover` because it
 * has to fill any viewport; anchored to the bottom, so what a narrow window
 * loses is sky. The fade at the top is short — the picture has its own empty
 * sky, and a long fade ate the far ridges along with it.
 */
.foot-scene {
  position: absolute; inset: auto 0 0 0; z-index: -1;
  height: 380px;
  background: url('/assets/strata.png') bottom center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%);
  mask-image: linear-gradient(to bottom, transparent, #000 18%);
  pointer-events: none;
}

@media (max-width: 720px) {
  footer { padding: 52px var(--gutter) 260px; }
  .foot-main { grid-template-columns: 1fr; gap: 36px; }
  .foot-scene { height: 250px; }
}

/* ------------------------------------------------------------ text pages */

/*
 * The pages that are mostly words.
 *
 * One column, and a measure rather than a width: about 70 characters is where
 * the eye stops having to hunt for the start of the next line. The page is
 * dark like the rest of the site, so the body text is a step down from white
 * — full white on this background is glare at paragraph length.
 */
.doc { padding: calc(90px + clamp(28px, 5svh, 64px)) var(--gutter) 0; max-width: 860px; margin: 0 auto; }

.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--dim); margin-bottom: 22px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }

.doc-head { display: grid; gap: 22px; padding-bottom: clamp(32px, 5cqi, 56px); border-bottom: 1px solid var(--card-line); }
.doc-head h1 { font-size: clamp(32px, 4.6cqi, 56px); line-height: 1.04; max-width: 20ch; }
.doc-lead { margin: 0; font-size: clamp(17px, 1.6cqi, 20px); color: var(--muted); max-width: 62ch; }
.doc-actions { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; }
.doc-actions .btn-plain { color: var(--text); }

.prose { padding: clamp(32px, 5cqi, 56px) 0 0; }
.prose-section { margin-bottom: clamp(36px, 5cqi, 64px); }
.prose-section h2 { font-size: clamp(24px, 2.8cqi, 34px); line-height: 1.12; margin-bottom: 18px; }
.prose-section h3 { font-size: 19px; margin: 28px 0 12px; }
.prose p { margin: 0 0 16px; color: var(--muted); max-width: 70ch; }
.prose p:last-child { margin-bottom: 0; }

/* A note is an aside, not a paragraph: it earns the rule beside it. */
.prose-note {
  border-left: 2px solid var(--accent);
  padding: 2px 0 2px 16px;
  color: var(--text) !important;
}

.prose-list { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 70ch; }
.prose-list li { position: relative; padding-left: 20px; color: var(--muted); }
.prose-list li::before {
  content: ''; position: absolute; left: 2px; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent-light);
}
.prose-list b { color: var(--text); font-weight: 500; }

.prose-steps { margin: 0 0 16px; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 14px; max-width: 70ch; }
.prose-steps li { display: grid; gap: 4px; padding-left: 38px; position: relative; color: var(--muted); }
.prose-steps li::before {
  counter-increment: step; content: '0' counter(step);
  position: absolute; left: 0; top: 1px;
  font-family: var(--mono); font-size: 12px; color: var(--accent-light);
}
.prose-steps b { color: var(--text); font-weight: 500; }

/* The cluster: where to go from here, as links rather than a sentence. */
.related-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.related-list a {
  display: grid; gap: 3px; padding: 16px 18px;
  border-radius: var(--radius-card);
  background: var(--card); border: 1px solid var(--card-line);
  color: var(--text);
}
.related-list a:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.related-name { font-weight: 500; }
.related-note { font-size: 14px; color: var(--dim); }

.doc-cta {
  margin: clamp(32px, 5cqi, 56px) 0 clamp(72px, 10cqi, 120px);
  padding: clamp(28px, 4cqi, 44px);
  border-radius: 28px;
  background: radial-gradient(80% 120% at 20% 0%, #1a2d8c 0%, #111f66 45%, #0a1238 100%);
  border: 1px solid rgba(140, 165, 255, .35);
  display: grid; gap: 14px; justify-items: start;
}
.doc-cta h2 { font-size: clamp(22px, 2.6cqi, 30px); color: #fff; }
.doc-cta p { margin: 0; color: rgba(255, 255, 255, .8); max-width: 60ch; }

/* The FAQ block is shared with the home page; on a text page it is one column. */
.doc .faq-list { display: grid; gap: 8px; }
.doc .faq-list details { border-radius: 18px; border: 1px solid var(--card-line); background: var(--card); padding: 0 22px; }
.doc .faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; padding: 18px 0; }
.doc .faq-list summary::-webkit-details-marker { display: none; }
.doc .faq-list summary h3 { margin: 0; font-size: 18px; line-height: 1.35; letter-spacing: 0; }
.doc .faq-list summary i {
  flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .07);
  display: flex; align-items: center; justify-content: center; color: #c9d3ff; font-style: normal;
  transition: transform .3s var(--ease);
}
.doc .faq-list details[open] summary i { transform: rotate(45deg); }
.doc .faq-list .answer { overflow: hidden; }
.doc .faq-list p { margin: 0 0 22px; }

/* ------------------------------------------------------------- animation */

@keyframes pulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes flow-h { from { background-position: 200% 0; } to { background-position: 0 0; } }
@keyframes flow-v { from { background-position: 0 200%; } to { background-position: 0 0; } }

/* Reveal on scroll is added by script, so the page reads with JavaScript off. */
[data-reveal].ready { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
[data-reveal].seen { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .plate, .scan, .files, .ink, .steps::after, [data-reveal].ready { transition: none !important; }
  .wire i, .conn, .plan-price.loading::after { animation: none !important; }
}

/*
 * The phone.
 *
 * The same page with less of it drawn, not a second design. What goes are the
 * things that cost a third of a screen each and say what something else on
 * screen already says.
 *
 * At the end of the file on purpose: a container query adds no specificity, so
 * a block like this only wins over the rules it narrows if it comes after them.
 */
@container (max-width: 640px) {
  /*
   * Five labels do not fit beside each other, and stacked they took 228px —
   * a quarter of the screen to caption an animation. The numbers stay, since
   * they are the control; the step actually running is spelled out below.
   */
  .steps { padding-bottom: 10px; }
  .steps button { min-height: 44px; padding: 12px 0 0; }
  .steps .label { display: none; }
  .steps-current {
    display: flex; gap: 10px; align-items: baseline;
    margin: 0 0 24px; font-size: 15px; color: #fff;
  }
  .steps-current .n { font-family: var(--mono); font-size: 12px; opacity: .7; }

  /* Three things happening locally read as three things in a row. Stacked,
     they were most of 786px of padding. */
  .mock-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mock-steps li { padding: 12px 6px; gap: 6px; }
  .mock-steps .what { font-size: 12px; }
  .mock-steps .where { font-size: 10px; }
  .server-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .server-row span { font-size: 12px; padding: 10px 6px; }

  /* The stack of screens is decoration, and it was reserving 92px of empty
     card above every price. */
  .plan { padding: 24px 22px 28px; }
  .plan-stack { width: 120px; height: 100px; transform: scale(.72); transform-origin: top right; }
  .plan h3 { margin-top: 64px; }
  .plan-tag { max-width: calc(100% - 110px); font-size: 12px; }
  .plan-price b { font-size: 44px; }

  /* Tiles that were taller than the word on them. */
  .out-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .out-list li { min-height: 84px; padding: 12px; }
  .out-list b { font-size: 18px; }
  .out-list b.small { font-size: 13px; }

  .pipe { padding: 18px; gap: 14px; }
  .in-file { padding: 12px; gap: 12px; }
  .in-file .doc { width: 38px; height: 46px; }
}
