/* dEssence landing, Swiss grid redesign, round 6 (polish).
   System: docs/04-design-system.md. One family, two weights, five sizes. Eight colors: navy, sky and cobalt
   from the brand plus five neutrals. 12 / 8 / 4 column grid with fixed gutters, spacing on an 8 px scale,
   line heights on a 4 px baseline. Rounded blocks: five radii, colored sections are inset slabs.
   Round 3: a smaller scale, so that every section fits one screen under the header.
   Round 6: one padding for every section, tracking by size, one primary and one secondary button, one text link. */

@font-face {
  font-family: "TikTok Sans";
  src: url("assets/fonts/TikTokSans.woff2") format("woff2");
  font-weight: 300 900;
  font-stretch: 75% 150%;
  font-display: swap;
}

:root {
  /* Color: three brand colors and five neutrals */
  --navy: #152438;
  --sky: #BEE4FC;
  --cobalt: #2D5BFF;
  --paper: #FFFFFF;
  --mist: #EDF7FE;
  --line: #D3E3F0;
  --haze: #ADB8CB;
  --slate: #57647B;

  /* Grid */
  --cols: 12;
  --gutter: 24px;
  --margin: 40px;
  --max: 1296px;
  --inset: 16px;

  /* Vertical spacing roles (all on the 8 px scale): one padding above and below every section, a smaller one for
     the logo band, one distance from a heading to its lead and one from a heading or lead to the content. */
  --hd: 112px;
  --sec: 40px;
  --band: 24px;
  --lead-gap: 16px;
  --head-gap: 32px;
  /* The longest line of running text: 52 ch of the page font holds about 72 characters. */
  --measure: 52ch;

  /* Shape */
  --r-xl: 40px;
  --r-lg: 32px;
  --r: 24px;
  --r-sm: 16px;
  --r-xs: 8px;
  --lift: 0 1px 2px rgb(21 36 56 / .06), 0 4px 16px rgb(21 36 56 / .06);

  /* Type: five sizes */
  --fs-display: 80px;  --lh-display: 80px;
  --fs-h2: 40px;       --lh-h2: 48px;
  --fs-h3: 24px;       --lh-h3: 32px;
  --fs-lead: 20px;     --lh-lead: 28px;
  --fs-body: 16px;     --lh-body: 24px;
  /* The wordmark of the header: the h2 size, and the phone's h2 size where the bar has 8 or 4 columns. */
  --fs-brand: 40px;    --lh-brand: 48px;
  /* Tracking belongs to the size, not to the element: the three large sizes are tightened, 20 and 16 px are not. */
  --ls-display: -0.02em;
  --ls-h2: -0.02em;
  --ls-h3: -0.01em;

  --w-text: 500;
  --w-bold: 700;

  /* The cabinet's colors, read on stage on 2026-11-18. Round 23 (Liza's word): the demo window keeps its own
     design and takes from the cabinet only its colors and the look of its task card. Used only inside `.demo`. */
  --cab-ink: #16161A;
  --cab-ink2: #5E5E66;
  --cab-line: #E8E8EB;
  --cab-line2: #D9D9DE;
  --cab-bubble: #F1F1F4;
  --cab-accent: #2D5BE3;
  --cab-accent-deep: #1E3FB0;
  --cab-pink: #D6307E;
  --cab-peach: #FFD0B8;

  /* Round 25 (local only, not published): depth and motion. Two deeper steps of the one shadow and two curves. */
  --lift-2: 0 2px 4px rgb(21 36 56 / .06), 0 12px 32px -8px rgb(21 36 56 / .2);
  --lift-3: 0 4px 8px rgb(21 36 56 / .08), 0 24px 48px -12px rgb(21 36 56 / .32);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pop: cubic-bezier(.3, 1.4, .5, 1);
}
@media (min-width: 1376px) { :root { --fs-display: 96px; --lh-display: 96px; } }
@media (max-width: 1199px) {
  :root {
    --cols: 8; --margin: 32px;
    --fs-display: 64px; --lh-display: 64px;
    --fs-brand: 32px; --lh-brand: 40px;
  }
}
@media (max-width: 767px) {
  :root {
    --cols: 4; --gutter: 16px; --margin: 24px; --inset: 0px;
    --hd: 72px; --head-gap: 24px; --chat-h: 480px;
    --r-xl: 32px; --r-lg: 24px;
    --fs-display: 48px; --lh-display: 48px;
    --fs-h2: 32px; --lh-h2: 40px;
  }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "TikTok Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--w-text);
  font-optical-sizing: auto; font-synthesis: none; font-variant-numeric: tabular-nums;
  color: var(--navy); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; }
b, strong { font-weight: var(--w-bold); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-weight: var(--w-bold); text-wrap: balance; }
/* No single word alone on a last line. */
p, li, dt, dd, blockquote, summary, figcaption { text-wrap: pretty; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.on-navy :focus-visible, .on-cobalt :focus-visible { outline-color: var(--paper); }
::selection { background: var(--cobalt); color: var(--paper); }
/* A link to a section lands with the whole section under the header */
section[id] { scroll-margin-top: var(--hd); }
section[id].sec--slab { scroll-margin-top: calc(var(--hd) + var(--inset)); }

/* Type roles */
.t-display { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); font-weight: var(--w-bold); }
.t-h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); font-weight: var(--w-bold); }
.t-h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--ls-h3); }
.t-lead { font-size: var(--fs-lead); line-height: var(--lh-lead); text-wrap: balance; }
.accent { color: var(--cobalt); }

/* Themes: a section picks its field colors, components read the variables */
.sec, .ft, .plan, .consent { --bg: var(--paper); --fg: var(--navy); --fg2: var(--slate); --rule: var(--line); --field: var(--mist); --link: var(--cobalt); }
.on-mist { --bg: var(--mist); --field: var(--paper); }
.on-sky { --bg: var(--sky); --fg2: var(--navy); --rule: var(--paper); --field: var(--paper); --link: var(--navy); }
.on-navy { --bg: var(--navy); --fg: var(--paper); --fg2: var(--haze); --rule: var(--slate); --field: var(--paper); --link: var(--paper); }
.on-cobalt { --bg: var(--cobalt); --fg: var(--paper); --fg2: var(--paper); --rule: var(--paper); --link: var(--paper); }

/* A link in running text is the same everywhere: bold and underlined, cobalt on paper and mist,
   the text color on colored fields. On hover the line doubles. */
.hd__link, .demo__own a, .keep__t a, .consent__text a, .said__t a, .privacy__links a {
  color: var(--link); font-weight: var(--w-bold);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.hd__link:hover, .demo__own a:hover, .keep__t a:hover, .consent__text a:hover, .said__t a:hover, .privacy__links a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
/* A link inside a sentence is one piece, so that it can be pressed like any control. */
.demo__own a, .keep__t a, .consent__text a, .said__t a { display: inline-block; }
/* States, one logic for everything you can press: on hover a filled control changes its fill, an underlined link doubles
   its line and a plain link (wordmark, footer) fades to haze; keyboard focus is a 2 px outline; pressed, it moves down one pixel. */
a:active, button:active, summary:active { translate: 0 1px; }

/* Grid */
.wrap {
  width: min(100% - 2 * var(--margin), var(--max)); margin-inline: auto;
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gutter);
}
.wrap > * { grid-column: 1 / -1; }
.sec { background: var(--bg); color: var(--fg); padding-block: var(--sec); }
/* Slab: a colored section is a rounded block set in from the window edge. Its grid stays the page grid. */
.sec--slab { margin-inline: var(--inset); border-radius: var(--r-xl); }
.sec--slab > .wrap, .consent > .wrap { width: min(100% - 2 * (var(--margin) - var(--inset)), var(--max)); }
.sec--slab + .sec--slab, main > .sec--slab:first-child { margin-top: var(--inset); }
main { padding-bottom: var(--inset); }
.sec__head { display: grid; grid-template-columns: subgrid; }
.sec__head > * { grid-column: 1 / 11; }
/* A label above a block: bold, in the secondary color of its field. */
.eyebrow { font-weight: var(--w-bold); color: var(--fg2); margin-bottom: 8px; }

/* Buttons: one primary (cobalt) and one secondary (a white pill with a navy hairline), the same on every field.
   Hover takes the fill one step darker: cobalt goes navy, white goes navy with a white label. On navy, where navy
   cannot show, the primary goes white. The radius is half the height, so a wrapped label stays a rounded block. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 8px 32px; border: 0; border-radius: var(--r); cursor: pointer; text-decoration: none;
  font-weight: var(--w-bold); background: none; color: inherit;
  transition: background-color .15s ease-out, color .15s ease-out, box-shadow .15s ease-out;
}
.btn--primary { background: var(--cobalt); color: var(--paper); }
.btn--primary:hover { background: var(--navy); }
.on-navy .btn--primary:hover { background: var(--paper); color: var(--navy); }
.btn--secondary { background: var(--paper); color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.btn--secondary:hover { background: var(--navy); color: var(--paper); }
.btn--sm { padding-inline: 16px; }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { background: var(--mist); color: var(--slate); font-weight: var(--w-text); cursor: not-allowed; }

/* Header, navy. The wordmark stands on column 1 at the h2 size, the largest thing in the bar. The two links follow
   it at the one gap of the bar, at the body size (round 18: right beside the wordmark, no longer on column 4).
   The language and the button close the row on the right with the same gap, the button with a label at the lead
   size (round 14: the logo and the sign-up stay large, the other texts do not).
   The wordmark and the navigation share the one row of the page grid. The navigation spans it whole and opens
   with an unseen copy of the wordmark, which keeps the links one gap after the real one at any font and size. */
/* Round 26 (Liza: "make the header nicer, prettier, more creative"). The header is a slab like the colored
   sections: set in from the window edge by the same 16 px, with their radius, floating over the page with a
   light of its own. The place it takes is unchanged, `--hd` (112 px, 72 on phone) from the top of the window to
   its lower edge, so the bar itself is `--hd` less the inset. On phone, where slabs run edge to edge, it is a
   bar with rounded lower corners. A white strip above it keeps the page from showing over its top edge. */
.hd {
  position: sticky; top: var(--inset); z-index: 20; margin: var(--inset) var(--inset) 0; border-radius: var(--r-xl); color: var(--paper);
  background: radial-gradient(36% 220% at 8% 0, color-mix(in srgb, var(--cobalt) 55%, transparent), transparent 70%), radial-gradient(28% 200% at 68% 120%, color-mix(in srgb, var(--cobalt) 40%, transparent), transparent 70%), var(--navy);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), 0 24px 48px -32px rgb(21 36 56 / .4);
}
.hd::before { content: ""; position: absolute; left: calc(-1 * var(--inset)); right: calc(-1 * var(--inset)); bottom: 100%; height: var(--inset); background: var(--paper); }
.hd > .wrap { width: min(100% - 2 * (var(--margin) - var(--inset)), var(--max)); height: calc(var(--hd) - var(--inset)); align-items: center; }
/* How far down the page you are: a line along the lower edge, cobalt into sky. The script scales it. */
.hd__bar { position: absolute; left: var(--r-xl); right: var(--r-xl); bottom: 0; height: 2px; border-radius: var(--r-xs); background: linear-gradient(90deg, var(--cobalt), var(--sky)); transform-origin: 0 50%; transform: scaleX(0); will-change: transform; pointer-events: none; }
.hd .wrap > .hd__brand { grid-column: 1 / -1; grid-row: 1; z-index: 1; justify-self: start; display: flex; align-items: center; min-height: 48px; font-size: var(--fs-brand); line-height: var(--lh-brand); font-weight: var(--w-bold); letter-spacing: var(--ls-h2); text-decoration: none; }
.hd__brand:hover { color: var(--haze); }
.hd .wrap > .hd__menu { display: none; }
/* The links and the language are pills without a fill: the fill comes on hover, and stays on the link whose
   section is on screen (the script marks it). Their words stand where they stood, 32 px from the wordmark and
   from each other: 16 px of gap or margin and 16 px of the pill's own padding. */
.hd .wrap > .hd__nav { grid-column: 1 / -1; grid-row: 1; display: flex; align-items: center; }
.hd__nav::before { content: "dEssence"; flex: none; visibility: hidden; margin-right: 16px; font-size: var(--fs-brand); line-height: var(--lh-brand); font-weight: var(--w-bold); letter-spacing: var(--ls-h2); }
.hd__link { min-height: 48px; display: flex; align-items: center; padding: 0 16px; border-radius: var(--r); text-decoration: none; white-space: nowrap; transition: background-color .15s ease-out; }
.hd__link:hover, .lang summary:hover { background: rgb(255 255 255 / .1); text-decoration: none; }
.hd__link.is-here, .lang[open] summary { background: rgb(255 255 255 / .16); }
.hd__nav > .lang { margin-left: auto; }
/* Log in stands where the live page has it, left of the language: it takes the push to the right, the language follows it */
.hd__nav > .hd__login { margin-left: auto; }
.hd__nav > .hd__login + .lang { margin-left: 0; }
/* A tablet held upright (768 to 899 px) has no room for five things at full padding: the links stand 8 px in, on one line */
@media (min-width: 768px) and (max-width: 899px) { .hd__link { padding: 0 8px; } }
.hd__nav > .hd__cta { margin-left: 16px; }
/* The button keeps the last two columns of the page grid. */
.hd__nav > .hd__cta { flex: none; width: calc((100% - (var(--cols) - 1) * var(--gutter)) / var(--cols) * 2 + var(--gutter)); padding-inline: 16px; font-size: var(--fs-lead); line-height: var(--lh-lead); }
.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: var(--r); cursor: pointer; font-weight: var(--w-bold); white-space: nowrap; transition: background-color .15s ease-out; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { fill: currentColor; flex: none; }
.lang ul { position: absolute; top: 56px; left: 0; z-index: 5; min-width: 240px; background: var(--paper); color: var(--navy); border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--navy), var(--lift-3); padding: 8px; }
.lang li a { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: var(--r-xs); text-decoration: none; white-space: nowrap; }
.lang li a:hover { background: var(--mist); }
.lang li a[aria-current] { font-weight: var(--w-bold); }
.lang ul :focus-visible { outline-color: var(--cobalt); }

/* 1. Hero, sky slab: headline, lead and buttons stack on the left with the regular gaps.
   The five channels stand beside them as a hub around Tracy, their caption centered above. */
.hero .wrap > .hero__title { grid-column: 1 / 9; grid-row: 1; }
.hero .wrap > .hero__lead { grid-column: 1 / 8; grid-row: 2; margin-top: var(--head-gap); }
.hero .wrap > .hero__side { grid-column: 9 / 13; grid-row: 1 / 3; display: flex; flex-direction: column; }
.hero__text { text-wrap: balance; max-width: var(--measure); }
.hero__text + .hero__text { margin-top: 8px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: var(--head-gap); }
/* The channels as a hub, after her mock: Tracy in the middle, the five ways to reach her on a regular pentagon
   around her, a dotted line to each, a disc and a ring behind. --R is the distance from Tracy to a channel:
   176 where the side column is 416 wide, 144 below that, and there the plate holds her name alone, so that the
   names of the side channels do not run into it. The disc ends 8 px under the name of the top channel.
   A channel is a white disc with the brand logo and its name under it. A link lifts under the pointer.
   iMessage has no address on the live page, so it is not a link and does not react. */
.hero__find { margin: 0; text-align: center; }
.hub { --R: 176px; --cy: calc(var(--R) + 28px); position: relative; flex: none; height: 408px; margin-top: 16px; }
.hub::before, .chans::before { content: ""; position: absolute; left: 50%; top: var(--cy); translate: -50% -50%; border-radius: 50%; }
.hub::before { width: calc(var(--R) * 2 - 128px); height: calc(var(--R) * 2 - 128px); background: var(--mist); }
.chans::before { left: 0; top: 0; width: calc(var(--R) * 2 - 208px); height: calc(var(--R) * 2 - 208px); box-shadow: inset 0 0 0 1px var(--sky); }
.hub__tracy { position: absolute; z-index: 1; left: 50%; top: var(--cy); translate: -50% -50%; display: flex; align-items: center; gap: 8px; padding: 8px 16px 8px 8px; border-radius: var(--r-xl); background: var(--paper); box-shadow: var(--lift); white-space: nowrap; }
.hub__tracy img { width: 40px; height: 40px; flex: none; border-radius: 50%; object-fit: cover; }
.hub__tracy > span { display: flex; flex-direction: column; }
.hub__tracy span span { color: var(--slate); }
.chans { position: absolute; left: 50%; top: var(--cy); }
.chans li { position: absolute; left: 0; top: 0; }
.chans li::before { content: ""; position: absolute; left: 0; top: -1px; width: var(--R); height: 2px; transform-origin: 0 50%; rotate: var(--a); background: radial-gradient(circle closest-side, var(--cobalt) 98%, transparent) 0 0 / 8px 2px repeat-x; animation: flow 1.2s linear infinite; }
/* The dots of a line run from the channel to Tracy, as what you send does. One turn moves the pattern by one step
   of 8 px, so the loop has no seam. A line starts at Tracy, so a step to the left is a step toward her. */
@keyframes flow { to { background-position: -8px 0; } }
.chans a, .chans .chan { position: absolute; left: 0; top: 0; width: max-content; translate: calc(cos(var(--a)) * var(--R) - 50%) calc(sin(var(--a)) * var(--R) - 28px); display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; font-weight: var(--w-bold); }
.chans i { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--paper); box-shadow: var(--lift); transition: translate .15s ease-out; }
.chans img { width: 32px; height: 32px; }
.chans a:hover i { translate: 0 -4px; }
.chans a:active i { translate: 0 1px; }
@media (max-width: 1375px) {
  .hub { --R: 144px; height: 352px; }
  .hub__tracy { padding-right: 24px; }
  .hub__tracy span span { display: none; }
}

/* 2. Demo: the heading and the two examples on the left, one product window on the right (chat and time line).
   The window is as high as the first exchange needs: what you sent, Tracy's answer and the two choices. */
.try > .wrap { grid-template-rows: auto 1fr; }
.wrap > .try__side { grid-column: 1 / 5; grid-row: 1; }
.wrap > .demo { grid-column: 5 / 13; grid-row: 1 / 3; }
.wrap > .demo__own { grid-column: 1 / 5; grid-row: 2; align-self: end; padding-top: 24px; color: var(--fg2); }
.try__sub { margin-top: var(--lead-gap); color: var(--fg2); }
/* Round 23: the window is the landing's own (rounds 21 and 22 are rolled back), in the cabinet's colors. Its rules
   name the landing's colors, so the window gives those names the cabinet's values: ink for navy, the second ink
   for slate, the grey hairlines for line and haze, the cabinet's blue for cobalt, the grey of "your message" for
   mist. Nothing outside the window is touched. */
.demo { --navy: var(--cab-ink); --slate: var(--cab-ink2); --line: var(--cab-line); --haze: var(--cab-line2); --cobalt: var(--cab-accent); --mist: var(--cab-bubble); --link: var(--cab-accent); }
/* The cabinet's two buttons: the blue one goes one step deeper on hover, the white one has a grey ring that darkens. */
.demo .btn--primary:hover, .demo button.composer:hover .composer__go { background: var(--cab-accent-deep); }
.demo .btn--secondary, .demo .btn--secondary:hover { background: var(--paper); color: var(--cab-ink); box-shadow: inset 0 0 0 1px var(--cab-line2); }
.demo .btn--secondary:hover { box-shadow: inset 0 0 0 1px var(--cab-ink2); }
.demo { display: grid; grid-template-columns: subgrid; grid-template-rows: minmax(0, 1fr) auto; height: 432px; background: var(--paper); color: var(--navy); border-radius: var(--r-lg); overflow: hidden; }
/* Under 1376 px the offer at the end takes two lines, so the window is one step taller to keep Tracy's card whole. */
@media (max-width: 1375px) { .demo { height: 456px; } }
.demo__chat { position: relative; grid-column: 1 / 7; min-width: 0; min-height: 0; display: flex; flex-direction: column; box-shadow: inset -1px 0 0 var(--line); }
.demo__panel { grid-column: 7 / 9; min-width: 0; padding: 16px 16px 24px 0; }
/* Icons: filled, in the color of the text they stand with. 20 px beside text, 24 px in a tile. */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; flex: none; fill: currentColor; }
.pick { display: flex; flex-direction: column; gap: 8px; margin-top: var(--head-gap); }
.opt { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 64px; padding: 8px 16px 8px 8px; border: 0; border-radius: var(--r-sm); background: var(--paper); text-align: left; cursor: pointer; transition: box-shadow .15s ease-out; }
.opt:hover { box-shadow: inset 0 0 0 1px var(--navy); }
.opt[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--navy); }
.opt__tile { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--mist); color: var(--navy); }
.opt__tile .ic { width: 24px; height: 24px; }
.opt[aria-pressed="true"] .opt__tile { background: var(--sky); }
.opt__t { display: flex; flex-direction: column; }
.opt__t b { font-weight: var(--w-bold); }
.opt__t span { color: var(--slate); }
.stops li { position: relative; padding: 0 0 16px 24px; }
.stops li:last-child { padding-bottom: 0; }
.stops li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--haze); }
.stops li::after { content: ""; position: absolute; left: 3.5px; top: 20px; bottom: -4px; width: 1px; background: var(--line); }
.stops li:last-child::after { content: none; }
.stops li.is-on::before { background: var(--cobalt); }
.stops b, .stops span { display: block; }
.stops span { color: var(--slate); }
.demo__again { margin-top: 16px; }
.demo__again:empty { display: none; }
.demo__again .btn { width: 100%; gap: 8px; }
/* From 1200 to 1279 the time line is two narrow columns and its lines wrap: tighter gaps keep Replay clear of the offer. */
@media (min-width: 1200px) and (max-width: 1279px) { .stops li { padding-bottom: 8px; } }
.chat__head { flex: none; display: flex; align-items: center; gap: 16px; height: 56px; padding: 0 24px; box-shadow: inset 0 -1px 0 var(--line); }
.chat__head img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.chat__head p { display: flex; flex-direction: column; }
.chat__head span { color: var(--slate); }
.chat__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 16px; padding: 16px 24px 8px; scrollbar-width: thin; }
.chat__body > * { flex: none; animation: rise .2s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
/* The dock is the mockup's message field: a plate with a round send button. Here the plate is the one action of the step. */
.demo__dock { flex: none; padding: 8px 24px 16px; }
.composer { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 48px; padding: 4px 4px 4px 24px; border: 0; border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), var(--lift); color: var(--navy); font: inherit; text-align: left; }
button.composer { cursor: pointer; }
.composer__t { flex: 1; font-weight: var(--w-bold); }
.composer__go { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--paper); transition: background-color .15s ease-out; }
.composer.is-off .composer__t { color: var(--slate); font-weight: var(--w-text); }
.composer.is-off .composer__go { background: var(--mist); color: var(--haze); }
.composer--go { box-shadow: inset 0 0 0 2px var(--cobalt), var(--lift); }
.composer--go .composer__go { background: var(--cobalt); }
button.composer:hover .composer__go { background: var(--navy); }
/* The skip in time takes the pink the cabinet gives its activity line. */
.day { align-self: center; color: var(--cab-pink); text-align: center; }
/* What you sent, in the cabinet's colors: your message is the grey bubble on the right, and the file in it is a
   white card with a hairline. Its first line says what it is: a screenshot or a link. Until round 20 it was a sky
   plate. The card keeps its 360 px, the bubble adds 8 px around it. */
.sent { align-self: flex-end; width: min(100%, 376px); padding: 8px; border-radius: var(--r); background: var(--cab-bubble); }
.sentcard { padding: 16px; border-radius: var(--r-sm); background: var(--paper); box-shadow: inset 0 0 0 1px var(--cab-line); }
.sentcard__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; }
.sentcard__tag { display: flex; align-items: center; gap: 8px; font-weight: var(--w-bold); white-space: nowrap; }
.sentnote { flex: none; display: flex; align-items: center; gap: 8px; }
.sentcard__route { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.sentcard__route b { font-size: var(--fs-lead); line-height: var(--lh-lead); }
.sentcard__route i { flex: 1; display: grid; place-items: center; background: linear-gradient(var(--cab-line2), var(--cab-line2)) center / 100% 1px no-repeat; }
.sentcard__route i .ic { box-sizing: content-box; padding: 0 8px; background: var(--paper); }
.sentcard__meta { margin-top: 8px; }
.sentcard--product { display: flex; gap: 16px; align-items: flex-start; padding: 8px 16px 8px 8px; }
.sentcard--product img { width: 72px; height: 72px; flex: none; border-radius: var(--r-xs); object-fit: cover; }
.sentcard--product p { flex: 1; min-width: 0; display: flex; flex-direction: column; }
/* Tracy writes plain text. Your own words sit in a soft bubble on the right. */
.msg { max-width: min(100%, 480px); align-self: flex-start; }
.msg__bit { white-space: nowrap; }
/* One detail never breaks inside, and its dot stays with it at the end of a line. */
/* Tracy's "done" line wraps on a phone since it carries an emoji: its bold fact ("check-in") stays in one piece. */
.msg__done b { white-space: nowrap; }
.msg--me { align-self: flex-end; padding: 8px 16px; border-radius: var(--r); background: var(--mist); }
/* Tracy comes back with a card that looks as a task does in the cabinet: a white card with a grey hairline, a peach
   head with the bell and the label, then the title, the text and the actions with 16 px around them. The type,
   the icon and the buttons are the landing's own. */
.msg--back { border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px var(--cab-line); overflow: hidden; }
.msg__label { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; background: var(--cab-peach); }
.msg__in { padding: 16px; }
.msg__title { font-weight: var(--w-bold); margin-bottom: 8px; }
.msg__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; }
.chips .btn[aria-pressed="true"] { background: var(--navy); color: var(--paper); box-shadow: none; }
/* The message that drops over the head of the chat when a button of the demo has nothing behind it. */
.toast { position: absolute; z-index: 2; top: 8px; left: 8px; right: 8px; min-height: 40px; display: flex; align-items: center; justify-content: center; padding: 8px 16px; border-radius: var(--r); background: var(--navy); color: var(--paper); font-weight: var(--w-bold); text-align: center; box-shadow: var(--lift); opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .2s ease-out, transform .2s ease-out, visibility 0s .2s; pointer-events: none; }
.toast.is-on { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.toast--page { position: fixed; z-index: 15; top: calc(var(--hd) + 8px); left: 16px; right: 16px; max-width: 448px; margin-inline: auto; }
/* A reminder is a row with a grey hairline, its bell on the peach the cabinet gives its reminders. */
.reminds { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 8px; }
.reminds li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 16px 4px 4px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.reminds .ic { box-sizing: content-box; width: 16px; height: 16px; padding: 8px; border-radius: 50%; background: var(--cab-peach); }
/* When the story has played, the offer to keep going is the last row of the window, across the chat and the
   time line, so it is in view without scrolling. Replay stands under the time line. The row is white with a
   hairline above, like the head of the chat: on mist it would melt into the slab and the window would look cut. */
.keep { grid-column: 1 / -1; box-shadow: inset 0 1px 0 var(--line); padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; }
.keep__t { flex: 1; min-width: 0; }
.keep__t b { display: block; font-size: var(--fs-lead); line-height: var(--lh-lead); }
.keep__t span { color: var(--slate); }
.keep__free { white-space: nowrap; }
.keep__btns { flex: none; display: flex; gap: 8px; }
.g { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--navy); margin-right: 8px; font-style: normal; }

/* Tracy's message: her face and a sky bubble. Use cases, FAQ answers and the FAQ picture share it. */
.said { display: flex; align-items: flex-end; gap: 8px; }
.said img { width: 40px; height: 40px; flex: none; border-radius: 50%; object-fit: cover; }
.said__t { --link: var(--navy); padding: 16px 24px; border-radius: var(--r) var(--r) var(--r) var(--r-xs); background: var(--sky); color: var(--navy); }

/* 3. Platforms: one band. The label stays, the logos drift slowly in their own colors, each set to the same optical size.
   The script doubles the list and switches the motion on. Without it the row can be scrolled by hand. */
.strip { padding-block: var(--band); }
.strip > .wrap { align-items: center; }
.wrap > .strip__label { grid-column: 1 / 5; font-size: var(--fs-lead); line-height: var(--lh-lead); }
.wrap > .strip__view { grid-column: 5 / 13; overflow-x: auto; scrollbar-width: none; }
.strip__view::-webkit-scrollbar { display: none; }
.strip__track { display: flex; width: max-content; }
.strip__list { flex: none; display: flex; align-items: center; gap: 48px; height: 48px; padding-right: 48px; }
.strip__list li { flex: none; display: flex; align-items: center; gap: 8px; font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: var(--w-bold); white-space: nowrap; }
.strip__list img { width: auto; }
/* This one logo is drawn in white for dark pages, so on paper it is shown in black. */
.strip__list img[src*="good-ai-tools"] { filter: brightness(0); }
.strip--on .strip__view { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
.strip--on .strip__track { animation: drift 64s linear infinite; }
.strip--on .strip__view:hover .strip__track { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }

/* Footer logo list */
/* Featured and listed on, after the live page (Liza's screenshot, round 14): the caption on its own line, the marks
   in centered rows without cells, in the colors the live footer gives them (white word marks, Fazier's blue, the
   icons of Altern and DANG! as they are). Every mark is still set to one height of capital letter: --h in index.html
   is the image height that gives a 10 px capital, --logo-k scales it to 12 px, 10 on a phone. */
.logos { --logo-k: 1.2; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 32px; max-width: 960px; margin-inline: auto; }
.logo a { display: flex; align-items: center; gap: 8px; min-height: 48px; text-decoration: none; font-weight: var(--w-bold); transition: opacity .15s ease-out; }
.logo a:hover { opacity: .72; }
.logo img { width: auto; height: calc(var(--h, 20) * var(--logo-k, 1) * 1px); filter: brightness(0) invert(1); }
.logo img[src*="good-ai-tools"], .logo img[src*="altern"], .logo img[src*="dang"] { filter: none; }
.logo img[src*="fazier"] { filter: brightness(1.8) saturate(.65); }
.logo img[src*="huzzler"] { filter: invert(1); }
@media (max-width: 767px) { .logos { --logo-k: 1; column-gap: 24px; } }

/* 4. Use cases: what you hand off, and what Tracy sends back. Nothing else on the card. */
.tabs { display: grid; grid-template-columns: subgrid; row-gap: 8px; margin-top: var(--head-gap); }
.tab { grid-column: span 3; min-height: 48px; padding: 8px 24px; border: 0; border-radius: var(--r); cursor: pointer; text-align: center; font-weight: var(--w-bold); background: var(--field); color: var(--fg); transition: background-color .15s ease-out, color .15s ease-out, box-shadow .15s ease-out; }
.tab:hover { box-shadow: inset 0 0 0 1px var(--navy); }
.tab[aria-selected="true"] { background: var(--navy); color: var(--paper); }
.cards { display: grid; grid-template-columns: subgrid; row-gap: var(--gutter); margin-top: var(--gutter); }
.card { grid-column: span 3; display: flex; flex-direction: column; gap: 16px; padding: 16px; border-radius: var(--r); background: var(--sky); color: var(--navy); }
.card__pic { width: 100%; height: 192px; object-fit: cover; border-radius: var(--r-sm); }
.card__title { font-size: var(--fs-lead); line-height: var(--lh-lead); text-wrap: balance; }
/* A sticker sits on the photo and says the one thing the card is about: a price that dropped, a size that is back, the first steps of a list. */
.card__fig { position: relative; container-type: inline-size; }
.sticker { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); border-radius: var(--r-xs); background: var(--paper); color: var(--navy); box-shadow: var(--lift); }
.sticker--pill { display: flex; align-items: center; min-height: 32px; padding: 4px 16px; font-weight: var(--w-bold); }
.sticker--pill::before { content: ""; width: 8px; height: 8px; flex: none; margin-right: 8px; border-radius: 50%; background: var(--cobalt); }
.sticker--pill span + span::before { content: "\00B7"; margin: 0 8px; }
/* The price: the old one stands where the line starts, the new one where it ends. The line is smooth and
   stretches between the two, its last point is a dot drawn here so that it stays round. */
.sticker--price { right: 8px; display: flex; align-items: center; gap: 8px; padding: 8px 16px; }
.sticker__was { align-self: flex-start; color: var(--slate); }
.sticker--price b { align-self: flex-end; font-size: var(--fs-lead); line-height: var(--lh-lead); }
.sticker__chart { position: relative; flex: 1; min-width: 0; height: 32px; margin-right: 8px; }
.sticker__chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.sticker__area { fill: var(--mist); }
.sticker__line { fill: none; stroke: var(--cobalt); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.sticker__chart::after { content: ""; position: absolute; right: -4px; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--cobalt); }
.sticker--list { right: 8px; display: flex; flex-direction: column; padding: 8px 16px 8px 8px; }
.sticker--list li { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; }
.sticker--list li::before, .agenda li::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--haze); }
.sticker--list li.is-done::before, .agenda li.is-done::before { box-shadow: none; background: var(--cobalt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-4.9'/%3E%3C/svg%3E") center / 16px no-repeat; }
@container (max-width: 191px) { .sticker--list, .sticker__chart { display: none; } .sticker--price { right: auto; } .sticker--price > * { align-self: center; } }
/* The digest card changes its theme: three photos and three names in one place, one shown at a time. */
.card__fig .card__pic + .card__pic { position: absolute; inset: 0; height: 100%; }
[data-rotate] .card__pic { opacity: 0; transition: opacity .6s ease-out; }
[data-rotate] .card__pic.is-on { opacity: 1; }
/* Boards: the picture changes as the digest's does, and a picture may bring a label of what the board holds:
   a checklist, a reminder, a price watch or a note from Tracy (sky, her color). One slide shows at a time and
   the dots in the top corner mark its place. With reduced motion each board keeps the slide it starts with. */
.card__slide { opacity: 0; transition: opacity .6s ease-out; }
.card__slide + .card__slide { position: absolute; inset: 0; }
.card__slide + .card__slide .card__pic { height: 100%; }
.card__slide.is-on { opacity: 1; }
.sticker--bell { display: flex; align-items: center; gap: 8px; padding: 8px 16px; }
.sticker--bell .ic { color: var(--cobalt); }
.sticker--bell > span { display: flex; flex-direction: column; min-width: 0; }
.sticker--note { padding: 8px 16px; background: var(--sky); text-wrap: balance; }
.card__title--swap { display: grid; }
.card__title--swap span { grid-area: 1 / 1; opacity: 0; transition: opacity .3s ease-out; }
.card__title--swap span.is-on { opacity: 1; }
.dots { position: absolute; left: 8px; bottom: 8px; display: flex; gap: 4px; padding: 8px; border-radius: var(--r-xs); background: var(--paper); box-shadow: var(--lift); }
.dots b { width: 8px; height: 8px; border-radius: var(--r-xs); background: var(--haze); transition: width .3s ease-out, background-color .3s ease-out; }
.dots b.is-on { width: 24px; background: var(--cobalt); }
/* On a board the labels own the lower edge, so the dots go to the top corner. */
.dots--top { top: 8px; bottom: auto; }
/* Reminders are a list: a small photo, the name and what Tracy keeps for it. */
.cards--rows .card { grid-column: span 4; }
.card--row { flex-direction: row; align-items: flex-start; }
.card--row .card__pic { width: clamp(96px, 8vw, 128px); height: 128px; flex: none; }
.card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.card__body .card__title { margin-bottom: 4px; }
/* The daily plan is a checklist: the tick of the list labels, a line may wrap on a narrow phone. */
.agenda li { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.agenda li::before { margin-top: 4px; }
.agenda li:not(.is-done)::before { box-shadow: inset 0 0 0 2px var(--slate); }
.card__pair span + span::before { content: "\00B7"; margin: 0 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tags li { display: flex; align-items: center; min-height: 32px; padding: 0 16px; border-radius: var(--r-sm); background: var(--paper); font-weight: var(--w-bold); }
.tags--days li { padding: 0 8px; }
.tags li.is-last, .tags--turn li.is-on { background: var(--cobalt); color: var(--paper); }
.tags--turn li { transition: background-color .3s ease-out, color .3s ease-out; }
/* Renewals: the marks of the services take turns on a white plate, as the photos of the digest do. */
.card__marks { display: grid; place-items: center; background: var(--paper); }
.card__marks img { grid-area: 1 / 1; width: 56px; height: 56px; opacity: 0; transition: opacity .3s ease-out; }
.card__marks img.is-on { opacity: 1; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.thumbs img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); }

/* 5. Offers, navy slab */
.offers { display: grid; grid-template-columns: subgrid; margin-top: var(--head-gap); }
.offer { grid-column: span 3; grid-row: span 4; display: grid; grid-template-rows: subgrid; row-gap: 0; }
.offer__n { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--w-bold); letter-spacing: var(--ls-h3); color: var(--sky); }
.offer h3 { margin-top: 8px; }
.offer__text { margin-top: 8px; color: var(--fg2); }
.offer__text strong { color: var(--fg); }
/* Every picture under a column starts on the column edge and takes its full width. */
.offer__fig { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.offer__week { font-weight: var(--w-bold); color: var(--fg2); }
.chip { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 24px; border-radius: var(--r); font-weight: var(--w-bold); }
.chip img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; margin-left: -16px; }
.chip--thing { background: var(--paper); color: var(--navy); border-bottom-right-radius: var(--r-xs); }
.chip--tracy { background: var(--sky); color: var(--navy); border-bottom-left-radius: var(--r-xs); }
.chip--quiet { background: var(--paper); }
.note { width: 100%; background: var(--paper); color: var(--navy); padding: 16px; border-radius: var(--r-sm); }
.note__h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.note__h i { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--cobalt); color: var(--paper); font-style: normal; font-weight: var(--w-bold); }
.note__h span { color: var(--slate); }
.board { width: 100%; background: var(--paper); color: var(--navy); padding: 16px; border-radius: var(--r-sm); }
.board__h { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 8px; }
.board__h span { background: var(--cobalt); color: var(--paper); padding: 0 16px; border-radius: var(--r-sm); font-weight: var(--w-bold); }
.board .thumbs img { aspect-ratio: auto; height: 88px; border-radius: var(--r-xs); }

/* 6. Proof: four figures on four fields (sky, navy, cobalt, mist), each takes its theme in index.html.
   The two quotes under them are on mist. */
.stats { display: grid; grid-template-columns: subgrid; row-gap: var(--gutter); margin-top: var(--head-gap); }
.stat { grid-column: span 3; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; padding: 24px; border-radius: var(--r); background: var(--bg); color: var(--fg); }
/* Plain wrapping for the label: Safari's reading of `pretty` broke "times Tracy reached out first" into three lines
   on a phone where two fit. */
.stat dt { order: 2; text-wrap: wrap; }
/* A figure rolls in once, when it is in full view: every digit is a wheel that turns and stops on its number,
   the tens first (app.js sets --steps and --time). The number stays in the page as text for a screen reader
   and comes back as plain text when the wheels have stopped. No wheels without scripts or with reduced motion. */
.roll { user-select: none; }
.roll__say { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* The digits fade in and out at the edges of the line, as the logos do at the edges of their strip. */
.roll__cell { display: inline-block; height: var(--lh-h2); overflow: hidden; vertical-align: top; -webkit-mask-image: linear-gradient(transparent, #000 8px, #000 calc(100% - 8px), transparent); mask-image: linear-gradient(transparent, #000 8px, #000 calc(100% - 8px), transparent); }
.roll__wheel { display: block; transition: translate var(--time) ease-out; }
.roll__wheel span { display: block; }
.is-rolled .roll__wheel { translate: 0 calc(var(--steps) * -1 * var(--lh-h2)); }
.quotes { display: grid; grid-template-columns: subgrid; row-gap: var(--gutter); margin-top: var(--gutter); }
.quote { grid-column: span 6; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 32px; border-radius: var(--r-lg); background: var(--field); }
.quote blockquote { text-wrap: pretty; }
.quote figcaption { display: flex; align-items: center; gap: 16px; }
.quote i { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--paper); font-style: normal; font-weight: var(--w-bold); }
.quote p { color: var(--fg2); }
.quote p b { color: var(--fg); }

/* 7. Privacy, navy slab. Round 26 (Liza: everything from this heading down "is poor, make it better, add style and
   creativity"): the intro runs across the top, heading and text on the left, the two links on the right over the
   third plate. The three promises are three plates of glass in a row, each with its icon, and a light drifts
   under them. Glass here is a white veil and a lit edge, without a blur behind it: a blur is drawn again on every
   frame that something moves under it. Below 1200 px the plates are rows, the icon beside the text. */
.wrap > .privacy__intro { display: grid; grid-template-columns: subgrid; }
.privacy__intro > .t-h2 { grid-column: 1 / 9; }
.privacy__intro > .t-lead { grid-column: 1 / 8; margin-top: var(--lead-gap); color: var(--fg2); max-width: var(--measure); }
.privacy__links { grid-column: 9 / 13; grid-row: 1 / 3; align-self: end; display: flex; flex-direction: column; align-items: flex-start; }
.privacy__links a { min-height: 48px; display: flex; align-items: center; }
.wrap > .privacy__list { margin-top: var(--head-gap); display: grid; grid-template-columns: subgrid; }
/* "What we promise" is the subheading of the list (24/32, sky), the three promises under it step down to 20/28 bold. */
.promises__title { grid-column: 1 / -1; margin-bottom: 16px; color: var(--sky); }
.promises { grid-column: 1 / -1; position: relative; isolation: isolate; display: grid; grid-template-columns: subgrid; row-gap: 16px; }
.promises li {
  grid-column: span 4; display: flex; flex-direction: column; align-items: flex-start; padding: 24px; border-radius: var(--r-lg);
  background-image: linear-gradient(160deg, rgb(255 255 255 / .14), rgb(255 255 255 / .04));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .32), inset 0 0 0 1px rgb(255 255 255 / .1), var(--lift-3);
}
.promise__ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 50%; background: var(--sky); color: var(--navy); box-shadow: 0 8px 24px -4px color-mix(in srgb, var(--cobalt) 80%, transparent); }
.promise__ic .ic { width: 24px; height: 24px; }
.promise__name { font-size: var(--fs-lead); line-height: var(--lh-lead); }
/* White, not the grey of secondary text: with the light under the glass grey would fall under 4.5:1. */
.promises p { margin-top: 8px; }
/* The light under the plates: two pools of cobalt, moved as finished layers (see the motion block). The slab cuts
   what runs over its edge. */
#privacy { overflow: hidden; overflow: clip; }
.promises::before, .promises::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, color-mix(in srgb, var(--cobalt) 72%, transparent), transparent); }
.promises::before { left: 2%; top: -24%; width: 44%; height: 150%; }
.promises::after { right: 4%; bottom: -40%; width: 36%; height: 130%; }

/* The drawn pictures (FAQ, pricing, final call) are four layers each, a div with one svg, see `tools/blobs.py`.
   The layers lie on each other and are moved whole, so nothing is drawn again while they drift. What moves a
   layer must be its own `transform` or `translate`: a custom property set above it reaches every path inside,
   and the browser then paints the whole picture again (measured with `tools/perf.mjs`). */
/* These two rules stand before the sections that place a picture, which may position it themselves. */
.art { position: relative; pointer-events: none; }
.art__l { position: absolute; inset: 0; }
.art__l > svg { display: block; width: 100%; height: 100%; overflow: visible; }

/* 8. Pricing, sky slab, as it was before round 6 (Liza's word in round 8): the title in columns 1 to 4 with a
   picture of blots under it in what was an empty field, the two plans in columns 5 to 8 and 9 to 12, the price
   at the display size. The parts of both plans share their rows, so prices, lists and buttons stand level. */
.wrap > .pricing__intro { grid-column: 9 / 13; grid-row: 1; display: flex; flex-direction: column; }
/* The picture takes the room that is left under the title and never makes the section taller. */
.pricing__art { flex: 1 1 0; width: 100%; height: 0; min-height: 0; margin-top: var(--head-gap); }
.wrap > .plans { grid-column: 1 / 9; grid-row: 1; display: grid; grid-template-columns: subgrid; }
.plan { grid-column: span 4; grid-row: span 6; display: grid; grid-template-rows: subgrid; row-gap: 0; background: var(--paper); color: var(--fg); padding: 24px; border-radius: var(--r-lg); }
.plan--pro { background: var(--navy); }
/* Round 26: the Pro plan glows. A pool of cobalt light stands in its upper right corner, which is empty, and
   drifts a little there. It stays clear of the grey words ("a month", "Everything in Free, plus:"). */
.plan--pro { position: relative; isolation: isolate; overflow: hidden; }
.plan--pro::before { content: ""; position: absolute; z-index: -1; right: -45%; top: -36%; width: 100%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, color-mix(in srgb, var(--cobalt) 90%, transparent), transparent); }
/* The light of the pointer on the Pro plan is a soft disc of its own that the script moves under the pointer.
   Painted into the plan's background it had the whole plan drawn again at every move of the mouse. It exists
   only where there is a mouse (see the tilt block). */
.plan__glare { display: none; position: absolute; z-index: -1; left: -160px; top: -160px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 255 255 / .16), transparent); opacity: 0; transition: opacity .3s ease-out; pointer-events: none; will-change: transform; }
.plan__name { font-size: var(--fs-lead); line-height: var(--lh-lead); }
.plan__price { display: flex; align-items: baseline; gap: 8px; }
.plan__price span { color: var(--fg2); }
.plan__plus { min-height: 24px; font-weight: var(--w-bold); color: var(--fg2); }
.plan__list { margin-top: 8px; }
.plan__list li { display: flex; align-items: center; min-height: 40px; padding-block: 8px; box-shadow: inset 0 1px 0 var(--rule); }
.plan .btn { margin-top: 16px; align-self: end; }
.plan__note { min-height: 24px; margin-top: 8px; text-align: center; color: var(--fg2); }
/* The plate has 24 px on every side: with more at the sides the longest list line breaks in two and the section
   no longer fits one screen under the 96 px header. */

/* 9. FAQ as a chat. Round 26: the questions are chips, the one you pick turns into your message (cobalt, with
   the tail corner) and Tracy answers. Until then every question was a cobalt bubble on the right, seven in a row. */
.wrap > .faq__intro { grid-column: 1 / 6; }
.wrap > .faq__list { grid-column: 7 / 13; }
/* The picture beside the questions: blots in the colors of the page. */
.faq__art { aspect-ratio: 528 / 352; margin-top: var(--head-gap); }
.qa + .qa { margin-top: 8px; }
.qa summary { list-style: none; display: flex; align-items: center; gap: 16px; width: fit-content; max-width: 100%; min-height: 48px; padding: 8px 24px; border-radius: var(--r); background: var(--field); color: var(--fg); font-weight: var(--w-bold); cursor: pointer; transition: background-color .15s ease-out; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { background: var(--sky); }
.qa[open] summary { border-radius: var(--r) var(--r) var(--r-xs) var(--r); background: var(--cobalt); color: var(--paper); }
.qa[open] summary:hover { background: var(--navy); }
.qa summary svg { flex: none; fill: currentColor; transition: transform .15s ease-out; }
.qa[open] summary svg { transform: rotate(180deg); }
.qa .said { margin-block: 8px 16px; max-width: 560px; animation: rise .2s ease-out both; }
.qa:last-child .said { margin-bottom: 0; }

/* From 1200 px up the chips stand on the left and Tracy answers on a stage on the right, in front of the picture.
   The stage is as tall as the list, so the section keeps one height whichever answer is open. On tablet and
   phone the answer opens under its question. */
@media (min-width: 1200px) {
  .wrap > .faq__intro { grid-column: 1 / -1; grid-row: 1 / 3; display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; }
  .faq__intro > .t-h2 { grid-column: 1 / 9; grid-row: 1; }
  .faq__art { grid-column: 7 / 13; grid-row: 2; aspect-ratio: auto; margin-top: calc(var(--head-gap) + 96px); }
  .wrap > .faq__list { grid-column: 1 / 7; grid-row: 2; position: relative; margin-top: var(--head-gap); }
  .qa summary svg { display: none; }
  .faq__list .qa .said { position: absolute; left: calc(100% + var(--gutter)); top: 0; width: 100%; max-width: none; margin: 0; transform-origin: 0 100%; }
  .faq__list .said__t { padding: 24px 32px; font-size: var(--fs-lead); line-height: var(--lh-lead); box-shadow: var(--lift-2); }
}

/* 10. Final call, cobalt slab. Round 26: a drawn picture stands in its right corner and runs off its edges, where
   the slab was empty. The slab cuts it. Below 1200 px the heading fills the slab and there is no picture. */
.final { position: relative; overflow: hidden; overflow: clip; }
.final > .wrap { position: relative; }
.final__lead, .final__main { display: block; }
.final__lead { color: var(--navy); }
.final__cta { margin-top: var(--head-gap); }
.final__art { display: none; }
@media (min-width: 1200px) { .final__art { display: block; position: absolute; inset: 0 0 0 auto; aspect-ratio: 480 / 448; } }

/* Footer. The design is round 1's, kept by Liza's word: its own display size, only the gaps are tighter on desktop. */
.ft { --fs-display: 104px; --lh-display: 104px; background: var(--navy); color: var(--paper); padding-block: 48px 32px; }
@media (min-width: 1376px) { .ft { --fs-display: 128px; --lh-display: 120px; } }
.ft .wrap > .ft__brand { grid-column: 1 / 9; }
.ft .wrap > .ft__tagline { grid-column: 9 / 13; align-self: end; padding-bottom: 16px; }
.ft__listed { margin-top: 24px; box-shadow: inset 0 1px 0 var(--rule); padding-top: 24px; }
.ft__listed > .eyebrow { margin-bottom: 8px; }
.ft__nav { display: grid; grid-template-columns: subgrid; margin-top: 32px; box-shadow: inset 0 1px 0 var(--rule); padding-top: 24px; }
.ft__nav a { grid-column: span 2; min-width: 48px; min-height: 48px; display: flex; align-items: center; text-decoration: none; font-weight: var(--w-bold); justify-self: start; }
.ft__nav a:hover { color: var(--haze); }
/* Two rows of five, as on the live page. The sixth link starts the second row. */
.ft__nav a:nth-of-type(6) { grid-column: 1 / span 2; }
.ft__copy { grid-column: 1 / -1; margin-top: 24px; color: var(--fg2); }

/* Consent: a floating rounded card on the page grid */
.consent { position: fixed; left: var(--inset); right: var(--inset); bottom: var(--inset); z-index: 30; background: var(--paper); color: var(--navy); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--navy); padding-block: 24px; }
.consent .wrap { align-items: center; row-gap: 16px; }
.consent .wrap > .consent__text { grid-column: 1 / 7; }
.consent .wrap > .consent__yes { grid-column: 7 / 10; }
.consent .wrap > .consent__no { grid-column: 10 / 13; }
.consent__text .eyebrow { margin-bottom: 0; }
.consent__text p:last-child { color: var(--slate); }
.consent .btn { padding-inline: 16px; }

/* Grid overlay: press G or open with ?grid to check alignment */
.gridlines { position: fixed; inset: 0; z-index: 100; pointer-events: none; display: none; }
.show-grid .gridlines { display: block; }
.gridlines .wrap { height: 100%; }
.gridlines .wrap > i { grid-column: span 1; background: rgba(45, 91, 255, .07); box-shadow: inset 1px 0 0 rgba(45, 91, 255, .4), inset -1px 0 0 rgba(45, 91, 255, .4); }

.br-l { display: inline; }

/* Tablet: 8 columns */
@media (max-width: 1199px) {
  .gridlines .wrap > i:nth-child(n + 9) { display: none; }
  .sec__head > * { grid-column: 1 / -1; }
  /* The channels stand in a row under the note. */
  .hero .wrap > .hero__title, .hero .wrap > .hero__lead, .hero .wrap > .hero__side { grid-column: 1 / -1; grid-row: auto; }
  .hero .wrap > .hero__side { margin-top: var(--head-gap); }
  .hero__find { text-align: left; }
  .hub { height: auto; }
  .hub::before, .chans::before, .chans li::before, .hub__tracy { display: none; }
  .chans { position: static; display: flex; flex-wrap: wrap; gap: 16px 24px; }
  .chans li { position: static; }
  .chans a, .chans .chan { position: static; translate: none; }
  .try > .wrap { grid-template-rows: none; }
  .wrap > .try__side, .wrap > .demo, .wrap > .demo__own { grid-column: 1 / -1; grid-row: auto; }
  .wrap > .demo { margin-top: 24px; }
  .wrap > .demo__own { padding-top: 24px; }
  .pick { flex-direction: row; gap: var(--gutter); }
  .opt { flex: 1; }
  .demo { height: 552px; }
  .demo__chat { grid-column: 1 / 6; }
  .demo__panel { grid-column: 6 / 9; padding-right: 24px; }
  .wrap > .strip__label { grid-column: 1 / 4; }
  .wrap > .strip__view { grid-column: 4 / 9; }
  .tab { grid-column: span 2; padding-inline: 16px; }
  .card { grid-column: span 4; }
  .offer { grid-column: span 4; padding-bottom: 48px; }
  .offer:nth-last-child(-n + 2) { padding-bottom: 0; }
  .stat { grid-column: span 4; }
  .quote { grid-column: span 4; padding: 24px; }
  .wrap > .privacy__intro, .wrap > .privacy__list, .wrap > .faq__intro, .wrap > .faq__list, .wrap > .pricing__intro, .wrap > .plans { grid-column: 1 / -1; }
  .wrap > .privacy__list, .wrap > .faq__list { margin-top: 48px; }
  .privacy__intro > .t-h2, .privacy__intro > .t-lead, .privacy__links { grid-column: 1 / -1; grid-row: auto; }
  .privacy__links { margin-top: 16px; }
  .promises li { grid-column: 1 / -1; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .promise__ic { grid-row: span 2; margin-bottom: 0; }
  /* The list is a tall column here, so the pools of light are round and stand in two of its corners. */
  .promises::before, .promises::after { width: 80%; height: auto; aspect-ratio: 1; }
  .promises::before { left: -16%; top: -8%; }
  .promises::after { right: -24%; bottom: -8%; }
  .wrap > .pricing__intro, .wrap > .plans { grid-row: auto; }
  .wrap > .plans { margin-top: var(--head-gap); }
  .pricing__art { display: none; }
  .plan__price, .plan__plus { margin-top: 8px; }
  .faq__art { max-width: 432px; }
  .ft { --fs-display: 72px; --lh-display: 72px; padding-block: 64px 48px; }
  .ft__listed { margin-top: 64px; }
  .ft__nav { margin-top: 48px; }
  .ft .wrap > .ft__brand, .ft .wrap > .ft__tagline { grid-column: 1 / -1; }
  .ft .wrap > .ft__tagline { padding-bottom: 0; margin-top: 16px; }
  .ft__nav a:nth-of-type(6) { grid-column: span 2; }
  .consent .wrap > .consent__text { grid-column: 1 / -1; }
  .consent .wrap > .consent__yes { grid-column: 1 / 5; }
  .consent .wrap > .consent__no { grid-column: 5 / 9; }
}

/* Phone: 4 columns, everything stacks, buttons take the full column, slabs run edge to edge */
@media (max-width: 767px) {
  .gridlines .wrap > i:nth-child(n + 5) { display: none; }
  .br-l { display: none; }
  .sec--slab + .sec--slab, main > .sec--slab:first-child { margin-top: 8px; }
  main { padding-bottom: 8px; }
  .btn { display: flex; width: 100%; padding-inline: 24px; }
  .hd .wrap > .hd__brand { grid-column: 1 / 4; }
  .hd .wrap > .hd__menu { grid-column: 4 / 5; justify-self: end; display: grid; place-items: center; width: 48px; height: 48px; margin-right: -12px; border: 0; background: none; cursor: pointer; }
  .hd__menu svg { fill: currentColor; }
  .hd .wrap > .hd__menu { border-radius: 50%; transition: background-color .15s ease-out; }
  .hd .wrap > .hd__menu:hover { background: rgb(255 255 255 / .1); }
  .hd__menu .i-close, .hd__menu[aria-expanded="true"] .i-open { display: none; }
  .hd__menu[aria-expanded="true"] .i-close { display: block; }
  .hd .wrap > .hd__nav { display: none; }
  .hd__nav::before { display: none; }
  .hd .wrap > .hd__nav[data-open="true"] { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: var(--hd); left: 0; right: 0; background: var(--navy); padding: 0 var(--margin) 24px; border-radius: 0 0 var(--r) var(--r); max-height: calc(100dvh - var(--hd)); overflow-y: auto; }
  /* On phone the bar touches the top of the screen: no lit upper edge there, it would read as a stray line. */
  .hd { border-radius: 0 0 var(--r) var(--r); box-shadow: 0 24px 48px -32px rgb(21 36 56 / .4); }
  .hd:has(.hd__nav[data-open="true"]) { border-radius: 0; }
  .hd__bar { left: var(--r); right: var(--r); }
  .hd__nav .hd__link, .hd__nav .lang summary { min-height: 56px; padding: 0; border-radius: 0; background: none; box-shadow: inset 0 1px 0 var(--slate); justify-self: stretch; }
  .hd__nav .hd__link { text-decoration: none; }
  .hd__nav > .lang, .hd__nav > .hd__login { margin-left: 0; }
  .lang ul { position: static; background: none; color: inherit; box-shadow: none; padding: 0 0 8px; min-width: 0; }
  .lang li a { padding: 0; }
  .lang li a:hover { background: none; color: var(--sky); }
  .lang ul :focus-visible { outline-color: var(--paper); }
  .hd__nav > .hd__cta { width: auto; margin: 16px 0 0; }
  .hero__cta { flex-direction: column; gap: 8px; }
  .chans { gap: 8px; }
  .chans i { width: 48px; height: 48px; }
  .chans a > span, .chans .chan > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .pick { flex-direction: column; gap: 8px; }
  .wrap > .demo { margin-top: 16px; }
  .wrap > .demo__own { padding-top: 16px; }
  /* The window is a chat of one height, as on desktop: a step changes what is in it, the newest reply is brought
     to its top, and the page neither grows nor has to be scrolled to find what happened. The time line is left
     out on phone: the chat says the time itself (the skip button and the line "Skipped to"). Replay and the offer
     come under the chat when the story has played. */
  .demo { height: auto; grid-template-rows: none; }
  .demo__chat, .demo__panel { grid-column: 1 / -1; }
  .demo__chat { height: var(--chat-h); box-shadow: none; }
  .chat__head { padding: 0 16px; }
  .chat__body { padding: 16px; overscroll-behavior: auto; }
  .demo__dock { padding: 8px 16px 16px; }
  .demo__panel { padding: 0; }
  .stops { display: none; }
  .demo__again { margin-top: 0; padding: 16px; box-shadow: inset 0 1px 0 var(--line); }
  /* Two buttons share a row when both fit, and each takes the whole row when they do not. */
  .msg__btns .btn, .keep__btns .btn { width: auto; flex: 1 1 auto; }
  .chips .btn { width: auto; }
  .keep { padding: 16px; }
  .keep { flex-wrap: wrap; }
  .keep__t { flex: 1 1 100%; }
  .keep__btns { width: 100%; flex-wrap: wrap; }
  .wrap > .strip__label, .wrap > .strip__view { grid-column: 1 / -1; }
  .wrap > .strip__view { margin-top: 8px; }
  .tab { grid-column: span 2; padding-inline: 16px; }
  /* The cards of a tab stand in one row that is swiped sideways, so the section stays near one screen instead of
     a column of photos. A card is the text column minus one margin wide: the next one always shows 32 px of itself,
     which is the sign that there is more. The row runs to the edges of the screen and starts on the text column.
     Reminders are small, so they stand two to a column. */
  .cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc(100% - var(--margin)); gap: var(--gutter); margin-top: var(--gutter); margin-inline: calc(-1 * var(--margin)); padding-inline: var(--margin); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--margin); scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .cards .card { grid-column: auto; scroll-snap-align: start; }
  .cards--rows { grid-template-rows: repeat(2, auto); }
  .card__pic { height: 120px; }
  .cards--stickers .card__pic { height: 168px; }
  /* 64 px leaves the text of a reminder its full line: at 96 the longest items broke in two. */
  .card--row .card__pic { width: 64px; height: 64px; }
  .card__marks img { width: 40px; height: 40px; }
  /* The number stands beside its heading, not on a line of its own. */
  .offer { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; padding-bottom: 32px; }
  .offer > * { grid-column: 1 / -1; }
  .offer > .offer__n { grid-column: 1; grid-row: 1; }
  .offer > h3 { grid-column: 2; grid-row: 1; margin-top: 0; }
  .offer:nth-last-child(-n + 2) { padding-bottom: 32px; }
  .offer:last-child { padding-bottom: 0; }
  /* Tiles stand as far apart down as across. */
  .tabs, .stats, .quotes, .plans { row-gap: var(--gutter); }
  .quotes { margin-top: var(--gutter); }
  /* Four tiles of one height, the label right under its number. A label takes one to three lines by the phone,
     so rows of their own height stood uneven and the number hung far from a short label. */
  .stats { grid-auto-rows: 1fr; }
  .stat { grid-column: span 2; justify-content: flex-start; padding: 16px; }
  /* A quote is read as text here: the body size, where the narrow card gives the lead size some 26 characters a line. */
  .quote { grid-column: 1 / -1; gap: 16px; padding: 24px; }
  .quote blockquote { font-size: var(--fs-body); line-height: var(--lh-body); }
  .wrap > .privacy__list, .wrap > .faq__list { margin-top: 32px; }
  .promises { row-gap: 8px; }
  .promises li { padding: 16px; }
  .plan { display: block; padding: 24px; }
  .plan__note:empty, .plan__plus:empty { display: none; }
  /* The picture stood between the heading and the questions. On phone the questions come first, as the plans do in pricing. */
  .faq__art { display: none; }
  .ft { --fs-display: 48px; --lh-display: 48px; padding-block: 48px 32px; }
  .ft__listed { margin-top: 48px; }
  .ft__nav { margin-top: 32px; }
  .consent { padding-block: 16px; border-radius: var(--r) var(--r) 0 0; box-shadow: inset 0 1px 0 var(--navy); }
  .consent .wrap > .consent__yes, .consent .wrap > .consent__no { grid-column: 1 / -1; }
  .consent .wrap { row-gap: 8px; }
  .consent__text { margin-bottom: 8px; }
}

/* ---- Round 25 (2026-11-18): motion and depth. Local only, not published. --------------------------------------
   Liza asked for "more animation and volume" on the local copy. This block, the four tokens in :root and the last
   function of app.js are the whole round: without them the page is round 24. No size, color token, radius or
   layout changes here. Depth is shadow, light and tilt. Motion is opacity and the transform properties only
   (`translate` and `scale` for what comes and goes, `transform` for tilt and for the hub that follows the pointer),
   so nothing is laid out again while it moves. What moves on its own sits under `no-preference`, and the rule at
   the end of the file stops all of it with reduced motion. */

/* Depth at rest. Light falls from above: a slab has a soft glow in one corner, a hairline of light on its top edge
   and a shadow under it. What lies on a slab is raised from it, and a block you can press casts its own color. */
.sec--slab { box-shadow: inset 0 1px 0 rgb(255 255 255 / .4), 0 24px 48px -32px rgb(21 36 56 / .4); }
.sec--slab.on-sky { background-image: radial-gradient(80% 120% at 0 0, rgb(255 255 255 / .5), transparent 60%); }
/* Mist is one step from white, so its light pools inside the slab and the corners keep their color. */
.sec--slab.on-mist { background-image: radial-gradient(45% 70% at 22% 35%, var(--paper), transparent 70%); }
.sec--slab.on-navy { background-image: radial-gradient(60% 110% at 100% 0, color-mix(in srgb, var(--cobalt) 36%, transparent), transparent 60%); }
.demo, .plan, .hub__tracy, .chans i, .tab[aria-selected="true"] { box-shadow: var(--lift-2); }
.card, .stat, .quote { box-shadow: var(--lift); }
.btn--primary, .qa[open] summary { box-shadow: 0 8px 16px -8px color-mix(in srgb, var(--cobalt) 70%, transparent); }
.btn--primary:hover, .qa[open] summary:hover { box-shadow: 0 12px 24px -8px rgb(21 36 56 / .5); }
.btn--secondary { box-shadow: inset 0 0 0 1px var(--navy), var(--lift); }
.btn, .qa summary { transition: background-color .15s ease-out, color .15s ease-out, box-shadow .15s ease-out, translate .1s ease-out; }
.btn:active, .qa summary:active { translate: 0 1px; }
.quote { transition: box-shadow .3s ease-out; }
.quote:hover { box-shadow: var(--lift-2); }
/* The header casts a shadow on the page once the page is scrolled under it. */
.hd { transition: box-shadow .3s ease-out; }
.hd.is-scrolled { box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), 0 16px 32px -12px rgb(21 36 56 / .55); }
@media (max-width: 767px) { .hd.is-scrolled { box-shadow: 0 16px 32px -12px rgb(21 36 56 / .55); } }
/* The disc under Tracy reads as a dome: lit from the top left, with a shadow. `isolation` keeps the ring that
   spreads from it (below) between the slab and the hub. */
.hub { isolation: isolate; }
.hub::before { background: radial-gradient(circle at 32% 28%, var(--paper), var(--mist) 70%); box-shadow: var(--lift-2); }
/* A photo is cut by its frame, so it can come closer under the pointer without leaving the frame. */
.card__fig { overflow: hidden; border-radius: var(--r-sm); }
/* On a phone the cards are a row that scrolls sideways and would cut their shadows. */
@media (max-width: 767px) { .card { box-shadow: none; } }

/* Tilt. Under a mouse a card and a figure lean away from the pointer, come a little closer and catch the light
   where the pointer is. A plan is a list to read, and text read through a tilt goes soft, so a plan stays level
   and only deepens its shadow, and the Pro plan catches the light (`.plan__glare`). The script gives the angles and
   the place of the light, without it the blocks only come closer. The four values are registered so that a change repaints the block
   alone, not everything inside it. The light is weaker on navy, where grey text has less contrast to spare. */
@property --rx { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --ry { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --gx { syntax: "<percentage>"; inherits: false; initial-value: 50%; }
@property --gy { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .card, .plan, .stat, .promises li { --glare: rgb(255 255 255 / .4); transition: transform .5s var(--ease), box-shadow .3s ease-out; }
  .stat.on-navy, .promises li { --glare: rgb(255 255 255 / .16); }
  .card:hover, .stat:hover, .promises li:hover { position: relative; z-index: 1; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) scale(1.02); transition-duration: .15s, .3s; }
  /* A plate of glass keeps its veil under the light of the pointer. */
  .promises li:hover { background-image: radial-gradient(circle at var(--gx) var(--gy), var(--glare), transparent 45%), linear-gradient(160deg, rgb(255 255 255 / .14), rgb(255 255 255 / .04)); }
  .card:hover, .plan:hover, .stat:hover { box-shadow: var(--lift-3); }
  .card:hover, .stat:not(.on-cobalt):hover { background-image: radial-gradient(circle at var(--gx) var(--gy), var(--glare), transparent 45%); }
  .plan__glare { display: block; }
  .plan--pro:hover .plan__glare { opacity: 1; }
  .card .card__pic { transition: opacity .6s ease-out, scale .8s var(--ease); }
  .card:hover .card__fig .card__pic { scale: 1.06; }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes rise-in { from { opacity: 0; translate: 0 24px; } }
  @keyframes pop-up { from { opacity: 0; translate: 0 12px; scale: .92; } }
  @keyframes pop-in { from { opacity: 0; scale: .6; } }
  @keyframes fade-in { from { opacity: 0; } }
  @keyframes bob { 50% { transform: translateY(-6px); } }
  @keyframes pulse { 0% { opacity: 0; scale: .7; } 30% { opacity: .9; } 100% { opacity: 0; scale: 1.5; } }
  @keyframes float-a { to { translate: 10px -6px; } }
  @keyframes float-b { to { translate: -8px 8px; } }
  @keyframes float-c { to { translate: 4px 6px; } }
  @keyframes float-d { to { translate: -6px -10px; } }
  @keyframes float-e { to { translate: 12px -14px; } }

  /* The first screen comes in when the page opens: the heading, the text, then the hub piece by piece. Plain CSS,
     so it needs no script and never leaves the first screen empty. All of it is over in a second and a half. */
  /* The header comes down into place, then a light runs once across its button, and again on hover. */
  @keyframes drop-in { from { opacity: 0; translate: 0 -24px; } }
  @keyframes sheen { from { transform: translateX(-160%) skewX(-20deg); } to { transform: translateX(420%) skewX(-20deg); } }
  .hd { animation: drop-in .7s var(--ease) backwards; }
  .hd__cta { position: relative; overflow: hidden; }
  .hd__cta::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; background: linear-gradient(90deg, transparent, rgb(255 255 255 / .4), transparent); transform: translateX(-160%) skewX(-20deg); animation: sheen .9s ease-in-out 1.2s backwards; pointer-events: none; }
  .hd__cta:hover::after { animation: sheen-again .9s ease-in-out; }
  @keyframes sheen-again { from { transform: translateX(-160%) skewX(-20deg); } to { transform: translateX(420%) skewX(-20deg); } }
  .hero__title { animation: rise-in .8s var(--ease) backwards; }
  .hero__lead { animation: rise-in .8s var(--ease) .12s backwards; }
  .hero__find { animation: fade-in .6s ease-out .3s backwards; }
  .chans li:nth-child(2) { --k: 1; } .chans li:nth-child(3) { --k: 2; } .chans li:nth-child(4) { --k: 3; } .chans li:nth-child(5) { --k: 4; }
  .hub::before { animation: pop-in .7s var(--ease) .25s backwards; }
  .chans::before { animation: fade-in .6s ease-out .4s backwards; }
  .hub__tracy { animation: pop-in .6s var(--pop) .45s backwards; }
  .chans a, .chans .chan { animation: pop-in .5s var(--pop) backwards; animation-delay: calc(.6s + var(--k, 0) * 80ms); }
  .chans li::before { animation: flow 1.2s linear infinite, fade-in .5s ease-out 1s backwards; }

  /* Then the hub lives: each disc floats a little at its own moment, and a ring spreads from under the dome
     toward the channels, as Tracy reaches out first. */
  .chans i { animation: bob 5.6s ease-in-out infinite; animation-delay: calc(var(--k, 0) * -1.3s); }
  .hub::after { content: ""; position: absolute; z-index: -1; left: 50%; top: var(--cy); width: calc(var(--R) * 2 - 128px); height: calc(var(--R) * 2 - 128px); translate: -50% -50%; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--paper); pointer-events: none; animation: pulse 4.8s ease-out 1.4s infinite backwards; }

  /* A block the script has marked waits out of sight and rises the first time it is scrolled to. The waiting state
     is the first frame of the animation, so wherever animations are off (the capture tool, reduced motion) the
     block is simply there. `rise--pop` is the small bounce of a message. */
  .rise { animation: rise-in .7s var(--ease) backwards paused; }
  .rise--pop { animation-name: pop-up; animation-duration: .5s; animation-timing-function: var(--pop); }
  .rise.is-in { animation-play-state: running; }

  /* The cards of a tab come in one after another every time the tab opens, and wait for the section the first time. */
  .cards > .card { animation: rise-in .6s var(--ease) backwards; animation-delay: calc(var(--n, 0) * 70ms); }
  .cards > .card:nth-child(2) { --n: 1; } .cards > .card:nth-child(3) { --n: 2; } .cards > .card:nth-child(4) { --n: 3; }
  .cards > .card:nth-child(5) { --n: 4; } .cards > .card:nth-child(6) { --n: 5; }
  .rise-wait .cards > .card { animation-play-state: paused; }

  /* The drawn pictures drift, layer against layer: what is far and out of focus moves slowly, the glass floats on
     its own, the sharp dots in front move the most. Round 26: a layer is a whole svg (see "The drawn pictures"
     above), moved by the compositor. Until then the parts moved inside one svg, which drew every blur again on
     every frame, in view or not: that was the stutter in pricing. */
  .art__l { animation: float-a 13s ease-in-out infinite alternate; }
  .art__l:nth-child(2) { animation-name: float-c; animation-duration: 15s; }
  .art__l:nth-child(3) { animation-name: float-d; animation-duration: 9s; }
  .art__l:nth-child(4) { animation-name: float-e; animation-duration: 7s; }
  /* The light under the promises and in the Pro plan drifts the same way: a layer moved whole. */
  @keyframes pool-a { to { transform: translate(16%, 10%) scale(1.12); } }
  @keyframes pool-b { to { transform: translate(-20%, -8%) scale(.9); } }
  @keyframes pool-c { to { transform: translate(6%, -6%) scale(1.14); } }
  .promises::before { animation: pool-a 14s ease-in-out infinite alternate; }
  .promises::after { animation: pool-b 17s ease-in-out infinite alternate; }
  .plan--pro::before { animation: pool-c 11s ease-in-out infinite alternate; }
  /* Tracy's answer pops out of her corner when a question is picked on the stage. */
  @media (min-width: 1200px) { .faq__list .qa .said { animation: pop-up .4s var(--pop) backwards; } }
  /* What the script marks as out of view stands still: the pictures, the pools of light, the hub of the first
     screen. `!important` because an `animation` shorthand further down a cascade would start it again. */
  .is-away, .is-away::before, .is-away::after, .is-away *, .is-away *::before, .is-away *::after { animation-play-state: paused !important; }
}

/* The hub follows the pointer: the script gives `--px` and `--py` from -1 to 1, and the nearer a part is, the
   further it goes (the dome 4 px, the ring 7, Tracy 10, the channels 18). Only where the hub is a hub. */
@media (min-width: 1200px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hub::before, .chans::before, .hub__tracy, .chans a, .chans .chan { transition: transform .6s var(--ease); }
  .hub::before { transform: translate(calc(var(--px, 0) * 4px), calc(var(--py, 0) * 4px)); }
  .chans::before { transform: translate(calc(var(--px, 0) * 7px), calc(var(--py, 0) * 7px)); }
  .hub__tracy { transform: translate(calc(var(--px, 0) * 10px), calc(var(--py, 0) * 10px)); }
  .chans a, .chans .chan { transform: translate(calc(var(--px, 0) * 18px), calc(var(--py, 0) * 18px)); }
  /* The pictures do the same, by depth: 4 px for what is far, 9 for the aurora, 16 for the glass, 26 for the dots.
     The script writes the `transform` of each layer itself (see "The drawn pictures" for why not a variable). */
  .art__l { transition: transform .6s var(--ease); will-change: transform; }
}
@media (max-width: 1199px) { .hub::after { display: none; } }

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