/* Regulars. Sky and cobalt, the ribbed glass, and one yellow for buttons and small accents.
   Copied to assets/site.css by tools/site_creators.py, and linked from every page. One painted theme.

   Rules this file lives by:
   - The signature is the glass, alone. Headlines stay plain and confident, with nothing behind the words.
   - Yellow is for buttons and small accents, never a whole surface. Yellow text only on ink or cobalt.
   - No white text on sky, ever (1.87:1). Text on sky is ink.
   - Text inside product screens is 14px or more.
   - No filter and no blend modes, the build refuses both. backdrop-filter only on glass panes over the art.
   - Nothing is tied to the scroll. Steps are plain numbers, not a device.
   - Nothing is hidden by default. Anything hidden sits behind html.js. */

:root {
  color-scheme: light;

  --ink: #0B1222;       /* the one near-black */
  --ink-1: #17233D;     /* raised on ink: app panels */
  --ink-1b: #243355;    /* raised twice on ink: selected rows */
  --ink-2: #33415C;     /* secondary text on light */
  --on-ink: #B9C6DE;    /* secondary text on ink */
  --sky: #6CC8F6;
  --sky-pale: #BFEAFC;  /* secondary text on cobalt */
  --mist: #DCEFFA;
  --white: #FFFFFF;
  --cobalt: #0F3FB5;
  --cobalt-deep: #082C84;
  --yellow: #E9FF2B;
  --edge: #6B7A96;      /* field outlines on white, 4.33:1 */
  --edge-ink: #7183A8;  /* control edges on ink-1 */

  --reeds: repeating-linear-gradient(90deg,
    rgba(255,255,255,.20) 0 1px,
    rgba(255,255,255,0) 1px 11px,
    rgba(11,18,34,.10) 11px 12px,
    rgba(255,255,255,0) 12px 14px);
  
  --lift: 0 0 0 1px rgba(11,18,34,.04), 0 1px 2px rgba(11,18,34,.07), 0 10px 20px -10px rgba(11,18,34,.2), 0 44px 72px -34px rgba(8,44,132,.5);
  --lift-high: 0 0 0 1px rgba(11,18,34,.05), 0 2px 4px rgba(11,18,34,.08), 0 22px 34px -18px rgba(11,18,34,.42), 0 70px 100px -40px rgba(4,20,74,.8);
  --lift-dark: 0 1px 0 rgba(255,255,255,.06) inset, 0 40px 80px -40px rgba(0,0,0,.75);
  --r-card: 22px;
  --r-window: 18px;
  --r-band: 32px;
  --r-field: 14px;

  --serif: "Hedvig Letters Serif", Georgia, "Times New Roman", serif;
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, "Segoe UI", sans-serif;

  --gut: max(clamp(16px, 4.4vw, 64px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --max: 1312px;
  --sec: clamp(72px, 9.5vw, 136px);
  --info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 1a9 9 0 1 0 0 18 9 9 0 0 0 0-18zM8.900 4.800h2.200v2.300H8.900zM8.900 8.700h2.200v6.500H8.900z'/%3E%3C/svg%3E");
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.6l4 4 8-9.4' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --focus: var(--ink);
}

@media (min-width: 1600px) { :root { --max: 1560px; } }

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; font-synthesis: none; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
input, select, option, textarea, button { font-family: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
b, strong { font-weight: 700; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.band-cobalt, .band-ink, .foot, .side-ink { --focus: var(--yellow); }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 50;
  padding: 10px 16px; border-radius: 10px;
  background: var(--ink); color: #fff;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }

/* type */
h1, h2, .display { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(3rem, 7.2vw, 6.5rem); line-height: 1.02; letter-spacing: -.016em; text-wrap: balance; }
h2 { font-size: clamp(2.5rem, 5.4vw, 4.75rem); line-height: 1.04; letter-spacing: -.012em; text-wrap: balance; }
h3 { font-size: 1.375rem; font-weight: 700; line-height: 1.25; }
.lede { font-size: clamp(1.1875rem, 1.7vw, 1.4375rem); line-height: 1.42; color: var(--ink-2); text-wrap: pretty; }
.band-cobalt .lede { color: var(--sky-pale); }
.band-ink .lede { color: var(--on-ink); }
.band-glass .lede { color: var(--ink); }

/* the honest label is a brand element, not an apology */
.tag {
  display: inline-block; padding: 3px 10px 4px;
  background: var(--yellow); color: var(--ink);
  border-radius: 7px 11px 8px 12px;
  font-size: .9375rem; font-weight: 700; line-height: 1.25; white-space: nowrap;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 58px; padding: 0 30px;
  border: 0; border-radius: 999px;
  font-family: inherit; font-weight: 600; font-size: 1.125rem; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .16s ease-out, box-shadow .16s ease-out;
}
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 1rem; }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 -1px 0 rgba(11,18,34,.08) inset, 0 12px 24px -12px rgba(11,18,34,.5); }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 12px 24px -12px rgba(11,18,34,.6); }
.btn-white { background: var(--white); color: var(--ink); box-shadow: 0 12px 24px -12px rgba(11,18,34,.42); }
.btn:active { transform: translateY(0) scale(.98); }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }

.tlink {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px;
}
.tlink::after {
  content: ""; flex: none; width: 15px; height: 11px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 11'%3E%3Cpath d='M9 1l4.5 4.5L9 10M13 5.5H1' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 11'%3E%3Cpath d='M9 1l4.5 4.5L9 10M13 5.5H1' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .16s ease-out;
}
@media (hover: hover) { .tlink:hover::after { transform: translateX(3px); } }

/* the logo: Cameron's option 3, as drawn. CSS only ever sets its size. No radius, shadow, color or filter */
.logo { flex: none; display: block; width: auto; max-width: none; height: 36px; }
.mark { flex: none; display: block; }

/* nav: a thin floating pill on its own plane */
.nav {
  position: fixed; z-index: 30;
  top: 14px; left: 50%;
  width: min(calc(100% - 2 * var(--gut)), var(--max));
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 6px 7px 6px 12px;
  background: var(--white); color: var(--ink);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(11,18,34,.05), 0 1px 2px rgba(11,18,34,.08), 0 14px 34px -16px rgba(11,18,34,.42);
  --focus: var(--cobalt);
}
.nav-logo { flex: none; display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.nav-links { display: flex; gap: clamp(10px, 1.7vw, 28px); }
.nav-links a, .nav-quiet {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 2px;
  text-decoration: none; font-weight: 500; font-size: 1.0625rem; white-space: nowrap;
}
.nav-links a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; border-radius: 2px; background: var(--cobalt); }
.nav-links a { isolation: isolate; }
.nav-links a:hover, .nav-quiet:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.nav-acts { display: flex; align-items: center; gap: 18px; }

.nav-menu { display: none; position: relative; }
.nav-menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary span, .nav-menu summary span::before, .nav-menu summary span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .16s ease-out;
}
.nav-menu summary span { position: relative; }
.nav-menu summary span::before, .nav-menu summary span::after { content: ""; position: absolute; left: 0; }
.nav-menu summary span::before { top: -6px; }
.nav-menu summary span::after { top: 6px; }
.nav-menu[open] summary span { background: transparent; }
.nav-menu[open] summary span::before { transform: translateY(6px) rotate(45deg); }
.nav-menu[open] summary span::after { transform: translateY(-6px) rotate(-45deg); }
.nav-menu ul {
  position: absolute; right: 0; top: calc(100% + 14px);
  width: min(270px, calc(100vw - 2 * var(--gut)));
  max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px); overflow-y: auto;
  background: var(--white); color: var(--ink);
  border-radius: 22px; padding: 8px;
  box-shadow: 0 1px 2px rgba(11,18,34,.08), 0 30px 54px -24px rgba(11,18,34,.55);
}
.nav-menu li a { display: flex; align-items: center; min-height: 46px; padding: 0 14px; border-radius: 14px; text-decoration: none; font-weight: 500; }
.nav-menu li a:hover { background: var(--mist); }
.nav-menu li.menu-sep { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--mist); }

/* the glass */
.art { position: absolute; inset: 0; z-index: -1; overflow: hidden; display: block; pointer-events: none; }
.art img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 100%; }
canvas.glass { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .9s ease; pointer-events: none; }
canvas.glass.on { opacity: 1; }
.glass-pause {
  position: absolute; right: var(--gut); bottom: 18px; z-index: 2;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.82); color: var(--ink);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 8px 18px -10px rgba(11,18,34,.5);
  --focus: #fff;
}
.glass-pause svg { display: block; fill: currentColor; }
.glass-pause .i-play { display: none; }
.glass-pause.is-paused .i-play { display: block; }
.glass-pause.is-paused .i-pause { display: none; }

/* bands: painted sheets, each one lapping over the last on a rounded edge */
.band {
  position: relative; z-index: 1; isolation: isolate;
  padding-block: var(--sec) calc(var(--sec) + var(--r-band));
  margin-top: calc(-1 * var(--r-band));
  border-radius: var(--r-band) var(--r-band) 0 0;
}
.band-white { background: var(--white); }
.band-mist { background: var(--mist); }
.band-cobalt { background: var(--cobalt); color: #fff; }
.band-ink { background: var(--ink); color: #fff; }
.band-glass { background: var(--sky); color: var(--ink); overflow: hidden; }
.band-glass .art { border-radius: inherit; }
/* depth: each sheet casts a shadow on the one it laps over, and the reeds from the hero carry faintly down the painted ground */
.band, .foot { box-shadow: 0 -14px 44px -20px rgba(6,24,76,.2); }
.band-mist { background: radial-gradient(64% 100% at 92% 0%, #F2FAFF 0%, rgba(242,250,255,0) 70%), linear-gradient(180deg, #DFF1FB 0%, #CFE8F8 100%); }
.band-mist::before, .band-white::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.62) 0 1px, rgba(255,255,255,0) 1px 13px, rgba(15,63,181,.05) 13px 14px);
  -webkit-mask: radial-gradient(56% 90% at 100% 0%, #000 0%, transparent 76%); mask: radial-gradient(56% 90% at 100% 0%, #000 0%, transparent 76%);
}
.band-white::before { background: repeating-linear-gradient(90deg, rgba(15,63,181,.045) 0 1px, rgba(15,63,181,0) 1px 14px); }

/* HOME 1. The hero: a full-bleed poster that scrolls away with the page */
.hero {
  position: relative; z-index: 0; isolation: isolate;
  height: 100vh; height: 100svh;
  display: grid;
  background: var(--sky); color: var(--ink);
  overflow: hidden;
}
.hero-in {
  width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin-inline: auto;
  padding: 84px var(--gut) clamp(24px, 5svh, 56px);
  display: flex; flex-direction: column; justify-content: center;
}
.hero h1 { font-size: min(9.9vw, 20svh, calc(var(--max) / 9.16)); }
.hero h1 .h-last { display: block; width: max-content; }
.hero-line { margin-top: clamp(20px, 3.8svh, 36px); font-size: clamp(1.125rem, 1.67vw, 1.5rem); font-weight: 500; line-height: 1.32; text-wrap: balance; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-cta .btn:focus-visible, .door:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }

/* HOME 2. The glass carries on.
   The hero's glass has no bottom edge any more. Its deep rises out of the foot of the hero the way the disc does, and that deep is the ground of this
   section, all the way down to ink. The prices run along one pane of fluted sky glass, with the terms on white sheets set into it.

   The live disc wanders 200px along the hero's last row, so nothing here tries to line up with it. The hero dissolves instead, under its words and its
   pause button, and hero and section are painted by the same gradients from the same origin, so they meet on one identical row of pixels.

   The seam is straight on purpose. The old section had a rounded top and sat flush on the hero with no overlap, so each curve showed the page's white
   body, in both corners, even under the cobalt side of the hero. There are no corners here, and the band overlaps the hero by 1px so a fractional hero
   height can't open a white hairline either. The build refuses a rounded top or a lifted deal coming back.

   Nothing here is tied to the scroll. No filter, no blend mode. */
:root {
  /* the ribs below run on from the ribs above. glass.js sets the exact width from the hero's aspect, and these follow its table for when it isn't running */
  --rib: 17px;
  /* short on purpose: sky meets sky and navy meets navy, so only the rim needs dissolving, and a long veil turns the lime to olive */
  --veil: clamp(48px, 9vh, 110px);
  --ramp: linear-gradient(180deg, transparent 0, rgba(0,0,0,.06) 22%, rgba(0,0,0,.22) 44%, rgba(0,0,0,.54) 66%, rgba(0,0,0,.88) 84%, #000 96%);  /* solid before the last row, or the glass still shows through at the join */

  /* the limb of the deep: its top edge crosses the join near where the disc does and leaves the left edge a little lower */
  --cx: 92vw; --cy: 28.6vw; --rx: 110vw; --ry: 32vw; --wedge: 11vw;
  --limb: #000 0, #000 90%, rgba(0,0,0,.86) 95%, transparent 100%;
  /* the same shape slid left and down, under the limb: a crescent of azure, thick at the sky and gone by the disc, the way the disc's own lit rim behaves.
     Down is what stops it leaking through the limb's soft edge on the right, where it read as a light band across the disc just above the join */
  --glow-x: calc(var(--cx) - 14vw); --glow-y: calc(var(--cy) + 2.2vw);
  --glow: #3585F0 0, #3585F0 86%, rgba(53,133,240,.6) 94%, rgba(100,178,246,0) 100%;

  /* opaque, so hero and section agree on every pixel of the join */
  --ground: linear-gradient(90deg, #B4E6FB 0, #B4E6FB 34vw, #7FC2F2 42vw, #2F78E6 50vw, #1250C4 60vw, #0C3AA2 78vw);
  /* inside the limb: bright where it meets the sky, the disc's own navy on the right. Across only, so it reads the same in both boxes */
  --paint: linear-gradient(90deg, #1B5FD9 0, #1550CA 30vw, #0F44B4 52vw, #0C3AA2 72vw);

  /* white highlights and blue grooves look after themselves: on sky the grooves show, on the deep the highlights show */
  --flutes: repeating-linear-gradient(90deg,
    rgba(30,90,190,.13) 0,
    rgba(255,255,255,.02) calc(var(--rib) * .14),
    rgba(255,255,255,.1) calc(var(--rib) * .32),
    rgba(255,255,255,.02) calc(var(--rib) * .56),
    rgba(30,90,190,.04) calc(var(--rib) * .82),
    rgba(30,90,190,.13) var(--rib));
}
@media (max-aspect-ratio: 3/2) { :root { --rib: 16px; } }
@media (max-aspect-ratio: 4/3) { :root { --rib: 15px; } }
@media (max-aspect-ratio: 1/1) { :root { --rib: 14.5px; } }
@media (max-aspect-ratio: 3/4) { :root { --rib: 14px; } }
@media (max-aspect-ratio: 5/8) { :root { --rib: 13px; } }
@media (max-aspect-ratio: 1/2) { :root { --rib: 12px; } }
@media (max-aspect-ratio: 6/13) { :root { --rib: 11px; } }

/* the dissolve: two strips at the foot of the hero, under its words and its pause button, over its glass.
   First the sky and the crescent, then the deep inside the limb. The section starts 1px up the hero, so the shapes here sit 1px up too and the two copies land on the same rows */
.hero-in::after, .hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--veil); z-index: -1; pointer-events: none;
}
.hero-in::after {
  background:
    var(--flutes),
    radial-gradient(var(--rx) var(--ry) at var(--glow-x) calc(100% + var(--glow-y) - 1px), var(--glow)),
    var(--ground);
  -webkit-mask: var(--ramp);
  mask: var(--ramp);
}
/* the two masks multiply. Safari before 15.4 only knows the -webkit- form, and it has to come after the shorthands, which reset it */
.hero::after {
  background: var(--flutes), var(--paint);
  -webkit-mask: var(--ramp), radial-gradient(var(--rx) var(--ry) at var(--cx) calc(100% + var(--cy) - 1px), var(--limb));
  mask: var(--ramp), radial-gradient(var(--rx) var(--ry) at var(--cx) calc(100% + var(--cy) - 1px), var(--limb));
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.deep {
  color: #fff; --focus: var(--yellow);
  margin-top: -1px; border-radius: 0; box-shadow: none;
  padding-block: clamp(128px, 17vw, 300px) calc(var(--sec) + var(--r-band));
  background:
    radial-gradient(var(--rx) var(--ry) at var(--glow-x) var(--glow-y), var(--glow)),
    /* the sky starts deepening the moment it leaves the hero, so nothing pale reaches the left edge */
    linear-gradient(180deg, rgba(70,160,242,0) 0, rgba(70,160,242,.5) calc(var(--wedge) * .45), rgba(58,142,240,.9) var(--wedge)),
    var(--ground);
  background-repeat: no-repeat;
}
/* the deep: painted inside the limb, so none of it can fall on the sky. Below the limb's centre it's solid, and it sinks to ink */
.deep::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,44,134,0) 0, rgba(10,44,134,0) 10vw, rgba(11,52,154,.72) 30vw, #0A2C86 clamp(500px, 56vw, 900px), #0A2672 66%, #0B1B4C 88%, var(--ink) 100%),
    var(--paint);
  background-repeat: no-repeat;  /* a tile that repeats wraps its ink foot round to the top row at a fractional density, which is a dark hairline at the join */
  -webkit-mask: radial-gradient(var(--rx) var(--ry) at var(--cx) var(--cy), var(--limb)), linear-gradient(180deg, transparent var(--cy), #000 var(--cy));
  mask: radial-gradient(var(--rx) var(--ry) at var(--cx) var(--cy), var(--limb)), linear-gradient(180deg, transparent var(--cy), #000 var(--cy));
}
.deep::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--flutes);
  -webkit-mask: linear-gradient(180deg, #000 0, #000 34%, rgba(0,0,0,.62) 70%, rgba(0,0,0,.22) 92%, rgba(0,0,0,.12) 100%);
  mask: linear-gradient(180deg, #000 0, #000 34%, rgba(0,0,0,.62) 70%, rgba(0,0,0,.22) 92%, rgba(0,0,0,.12) 100%);
}
.deep .lede { color: var(--sky-pale); }
/* the plain form, if a browser can't multiply masks: a straight dissolve to the deep and no sky below it, so there's no hard edge and no seam */
@supports not ((mask-composite: intersect) or (-webkit-mask-composite: source-in)) {
  .hero::after { -webkit-mask: var(--ramp); mask: var(--ramp); }
  .deep { background: var(--paint); }
}

.deep-head { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: 18px clamp(32px, 4vw, 72px); align-items: end; }
.deep-head h2 { font-size: clamp(2.625rem, 5.4vw, 6rem); line-height: 1.03; text-wrap: balance; }
.deep-head .lede { padding-bottom: .3em; }

/* the board: one pane of fluted sky glass. The prices run along its top rail, the terms are white sheets set into it.
   One grid: every row is shared across the three deals, so the tops, the prices, the terms and the feet can only ever sit in a straight line */
.gb {
  --pad: clamp(10px, 1.05vw, 16px);
  --inset: clamp(16px, 1.5vw, 22px);
  --pane:
    repeating-linear-gradient(90deg, rgba(255,255,255,.26) 0, rgba(255,255,255,.03) calc(var(--rib) * .36), rgba(11,60,140,.02) calc(var(--rib) * .66), rgba(11,60,140,.11) var(--rib)),
    radial-gradient(70% 90% at 12% 0%, #E2F6FE 0%, rgba(226,246,254,0) 72%),
    linear-gradient(112deg, #BDE9FC 0%, #8FD6F9 40%, #6CC8F6 70%, #45B4F2 100%);
  --pane-edge: inset 0 1px 0 rgba(255,255,255,.75), inset 0 0 0 1px rgba(255,255,255,.22);
  position: relative;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(6, auto) auto;
  column-gap: var(--pad);
  margin-top: clamp(40px, 4.6vw, 68px); padding: var(--pad);
  color: var(--ink); --focus: var(--cobalt);
  border-radius: 30px;
  background: var(--pane);
  box-shadow: var(--pane-edge), 0 2px 6px rgba(3,12,44,.3), 0 40px 90px -30px rgba(2,8,34,.85);
}
.gb-deal { grid-row: span 6; display: grid; grid-template-rows: subgrid; row-gap: 0; min-width: 0; }
.gb-rail { padding: clamp(12px, 1.2vw, 18px) var(--inset) clamp(10px, 1vw, 14px); }
.gb-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gb-kind { display: inline-block; padding: 3px 11px 4px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .9375rem; font-weight: 700; line-height: 1.25; }
.gb-kind-gift { background: var(--white); color: var(--ink); }
.gb-brand { margin-top: clamp(14px, 1.5vw, 22px); font-size: 1.1875rem; font-weight: 700; line-height: 1.25; }
.gb-price { display: flex; flex-direction: column; margin-top: clamp(14px, 1.5vw, 22px); }
.gb-label { font-weight: 600; font-size: 1rem; line-height: 1.3; color: var(--ink); }
.gb-fig { font-family: var(--serif); font-weight: 400; font-size: clamp(4.25rem, 7.1vw, 7.25rem); line-height: 1; letter-spacing: -.024em; font-variant-numeric: tabular-nums; margin-top: 2px; }

.gb-sheet {
  grid-row: 2 / span 5; display: grid; grid-template-rows: subgrid; row-gap: 0;
  padding: 4px var(--inset) 0;
  background: var(--white); border-radius: 18px;
  box-shadow: 0 1px 2px rgba(8,44,132,.2), 0 10px 24px -14px rgba(8,44,132,.45);
  font-size: 1rem; line-height: 1.4;
}
.gb-terms { grid-row: span 4; display: grid; grid-template-rows: subgrid; row-gap: 0; }
.gb-terms div { display: grid; grid-template-columns: 6.9em minmax(0, 1fr); gap: 2px 12px; align-content: start; padding-block: 12px; border-bottom: 1px solid rgba(11,18,34,.11); }
.gb-terms dt { font-weight: 600; color: var(--ink-2); }
.gb-foot { padding-block: 14px; font-weight: 700; text-wrap: balance; }

.gb-end { grid-column: 1 / -1; grid-row: 7; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 24px; padding: 10px var(--inset) 2px; }
.gb-end .note { margin: 0; color: var(--ink); font-weight: 500; }

/* three narrow columns: the label goes over the words, so the words get the width */
@media (min-width: 901px) and (max-width: 1180px) {
  .gb-terms div { grid-template-columns: minmax(0, 1fr); }
  .gb-terms dt { font-size: .9375rem; }
}

/* the plain form for a browser with no subgrid, like Safari before 16: each deal lays itself out, so the term rows can differ, and every deal keeps one top, one price line and one foot */
@supports not (grid-template-rows: subgrid) {
  @media (min-width: 901px) {
    .gb-deal { display: flex; flex-direction: column; }
    .gb-sheet { flex: 1; display: flex; flex-direction: column; }
    .gb-terms { display: block; flex: 1; }
  }
}

/* a phone. The curve leaves the left edge above the join, so the whole join is deep and no sky reaches the section: pale against the edge of a phone is what he kept seeing.
   It's sized from the strip, so all of it stays inside the strip at any height, under the words, and it stays low enough to leave the lime its colour.
   The biggest iPhones held sideways are 926 to 956 wide, past the 900 line below, so a short touch screen counts too. hover: none keeps a short desktop window out of it */
@media (max-width: 900px), (hover: none) and (max-height: 560px) {
  :root {
    --veil: min(34vw, 24vh);
    --cx: 95vw; --rx: 120vw; --ry: calc(var(--veil) * .7); --cy: calc(var(--veil) * .12);
    --limb: #000 0, #000 84%, rgba(0,0,0,.8) 92%, transparent 100%;
    --ground: linear-gradient(90deg, transparent, transparent);
  }
  .deep { padding-top: clamp(72px, 20vw, 140px); background: var(--paint); }
  .deep::before { -webkit-mask: none; mask: none; }  /* the ground here is the paint it would cut to, so a mask the height of the section does nothing a phone should pay for */
}

/* one column. The board comes apart into three panes, and the note drops onto the deep */
@media (max-width: 900px) {
  .deep-head { grid-template-columns: minmax(0, 1fr); }
  .gb { display: flex; flex-direction: column; gap: 14px; padding: 0; background: none; box-shadow: none; border-radius: 0; color: inherit; }
  .gb-deal { display: block; padding: 10px; border-radius: 26px; background: var(--pane); box-shadow: var(--pane-edge), 0 30px 60px -30px rgba(2,8,34,.85); color: var(--ink); }
  .gb-sheet, .gb-terms { display: block; }
  .gb-end { padding-inline: 0; color: #fff; --focus: var(--yellow); }
  .gb-end .note { color: var(--sky-pale); }
}

/* a tablet: the price on the left, the terms on the right, so the prices still run in one straight line */
@media (min-width: 601px) and (max-width: 900px) {
  .gb-deal { display: grid; grid-template-columns: minmax(216px, 1fr) minmax(0, 2.3fr); grid-template-rows: auto; }
  .gb-sheet { grid-row: auto; }
  .gb-rail { display: flex; flex-direction: column; padding: 8px 10px; }
  .gb-price { margin-top: auto; padding-top: 18px; }
  .gb-fig { font-size: clamp(4.25rem, 11vw, 5.75rem); }
}

/* the smallest phones: the headline keeps its three lines, and the label goes over the words so a value isn't squeezed into a sliver */
@media (max-width: 374px) {
  .deep-head h2 { font-size: 2.375rem; }
  .gb-terms div { grid-template-columns: minmax(0, 1fr); }
  .gb-terms dt { font-size: .9375rem; }
}

@media (forced-colors: active) { .gb, .gb-deal { background: Canvas; } }

.deal {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 22px 22px 20px;
  background: var(--white); color: var(--ink);
  border-radius: var(--r-card);
  box-shadow: var(--lift);
  font-size: 1rem; line-height: 1.4;
  --focus: var(--cobalt);
}
.deal-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.deal-kind { font-size: .9375rem; font-weight: 700; text-align: right; line-height: 1.2; }
.deal-brand { margin-top: 18px; font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.deal-price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; margin-top: 2px; }
.deal-label { font-weight: 700; font-size: 1rem; }
.deal-fig { font-family: var(--serif); font-weight: 400; font-size: 3.75rem; line-height: 1.06; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.deal-fig-word { font-size: 2rem; letter-spacing: -.01em; }
.deal-after { flex-basis: 100%; font-weight: 600; }
.deal-terms { margin-top: 14px; border-top: 1px solid rgba(11,18,34,.16); }
.deal-terms div { display: grid; grid-template-columns: 6.6em minmax(0, 1fr); gap: 2px 12px; padding-block: 9px; border-bottom: 1px solid rgba(11,18,34,.1); }
.deal-terms dt { font-weight: 600; color: var(--ink-2); }
.deal-pay { margin-top: auto; padding-top: 12px; font-weight: 700; }
.deal-mini { padding: 22px 18px 14px; font-size: .9375rem; box-shadow: var(--lift); }
.deal-mini .deal-brand { margin-top: 12px; font-size: 1rem; }
.deal-mini .deal-fig { font-size: 2.5rem; }
.deal-mini .deal-terms { margin-top: 8px; }
.deal-mini .deal-terms div { padding-block: 6px; }
.deal-mini .deal-pay { padding-top: 8px; }

.note { margin-top: 22px; font-size: 1rem; color: inherit; }

/* The real deals, from OWN_BOARD. They only reach a page when OWN_DEALS_LIVE is on, under the samples on the home page and at the top of For creators.
   One pane with one deal to a row, so a deal that fills leaves no hole and the prices stay in one straight line. On a phone it comes apart like the samples above it */
.rd {
  --inset: clamp(16px, 1.6vw, 24px);
  --pane:
    repeating-linear-gradient(90deg, rgba(255,255,255,.26) 0, rgba(255,255,255,.03) calc(var(--rib) * .36), rgba(11,60,140,.02) calc(var(--rib) * .66), rgba(11,60,140,.11) var(--rib)),
    radial-gradient(70% 90% at 12% 0%, #E2F6FE 0%, rgba(226,246,254,0) 72%),
    linear-gradient(112deg, #BDE9FC 0%, #8FD6F9 40%, #6CC8F6 70%, #45B4F2 100%);
  --pane-edge: inset 0 1px 0 rgba(255,255,255,.75), inset 0 0 0 1px rgba(255,255,255,.22);
  --sheet-lift: 0 1px 2px rgba(8,44,132,.2), 0 10px 24px -14px rgba(8,44,132,.45);
  display: grid; gap: 10px;
  margin-top: clamp(28px, 3.6vw, 52px); padding: clamp(10px, 1.05vw, 16px);
  color: var(--ink); --focus: var(--cobalt);
  border-radius: 30px;
  background: var(--pane);
  box-shadow: var(--pane-edge), 0 2px 6px rgba(8,44,132,.18), 0 40px 70px -40px rgba(8,44,132,.6);
}
.rd-deal { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); min-width: 0; }
.rd-rail { min-width: 0; padding: clamp(12px, 1.2vw, 18px) var(--inset) 14px; }
.rd-name { margin-top: 14px; font-size: 1.1875rem; font-weight: 700; line-height: 1.25; }
.rd-price { display: flex; flex-direction: column; margin-top: 14px; }
.rd-fig { margin-top: 2px; font-family: var(--serif); font-weight: 400; font-size: clamp(3.75rem, 5.6vw, 5.5rem); line-height: 1; letter-spacing: -.024em; font-variant-numeric: tabular-nums; }
.rd-facts { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; margin-top: 10px; font-size: 1rem; font-weight: 500; }
.rd-sheet {
  display: flex; flex-direction: column; min-width: 0;
  padding: 4px var(--inset) 0;
  background: var(--white); border-radius: 18px; box-shadow: var(--sheet-lift);
  font-size: 1rem; line-height: 1.4;
}
.rd-terms div { display: grid; grid-template-columns: 6.9em minmax(0, 1fr); gap: 2px 12px; padding-block: 12px; border-bottom: 1px solid rgba(11,18,34,.11); }
.rd-terms dt { font-weight: 600; color: var(--ink-2); }
.rd-foot { margin-top: auto; padding-block: 14px; text-wrap: pretty; }
.rd-pay { padding-top: 12px; color: var(--ink-2); text-wrap: pretty; }
.rd-rows { padding: 2px var(--inset); background: var(--white); border-radius: 18px; box-shadow: var(--sheet-lift); font-size: 1rem; line-height: 1.4; }
.rd-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 2px 24px; align-items: baseline; padding-block: 13px; }
.rd-rows li + li { border-top: 1px solid rgba(11,18,34,.11); }
.rd-filled { font-weight: 700; }
.rd-rows .rd-next { grid-template-columns: minmax(0, 1fr); }
.rd-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding: 8px var(--inset) 6px; }
.rd-end .note { flex: 1 1 26em; min-width: 0; margin: 0; max-width: 44em; color: var(--ink); font-weight: 500; text-wrap: pretty; }
.rd-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
@media (max-width: 900px) {
  .rd { display: flex; flex-direction: column; gap: 14px; padding: 0; background: none; box-shadow: none; border-radius: 0; }
  .rd-deal { padding: 10px; border-radius: 26px; background: var(--pane); box-shadow: var(--pane-edge), 0 24px 44px -30px rgba(8,44,132,.7); }
  .rd-end { padding: 4px 0 0; }
}
@media (max-width: 600px) {
  .rd-deal { display: block; }
  .rd-rail { padding: 8px 10px 16px; }
  .rd-rows li { grid-template-columns: minmax(0, 1fr) auto; }
  .rd-rows li b { grid-column: 1 / -1; }
}
@media (max-width: 374px) {
  .rd-terms div { grid-template-columns: minmax(0, 1fr); }
  .rd-terms dt { font-size: .9375rem; }
}
@media (forced-colors: active) { .rd, .rd-deal { background: Canvas; } }

/* HOME 3. Who it's for: the two doors */
.sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 56px); }
.side {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  padding: clamp(26px, 3.2vw, 44px);
  border-radius: 28px;
}
.side-head h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 5.2vw, 4.75rem); line-height: 1; letter-spacing: -.012em; }
.side-head p { margin-top: 8px; font-size: clamp(1.1875rem, 1.7vw, 1.4375rem); font-weight: 500; line-height: 1.3; }
.ticks { margin-top: 26px; }
.ticks li { position: relative; padding: 9px 0 9px 34px; line-height: 1.38; }
.ticks li + li { border-top: 1px solid rgba(11,18,34,.16); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 21px; height: 21px; background: currentColor;
  -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat;
}
.limit { margin-top: auto; padding-top: 22px; font-size: 1rem; line-height: 1.45; text-wrap: pretty; }
.side-cta { padding-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.side-glass { background: var(--sky); color: var(--ink); box-shadow: 0 34px 60px -40px rgba(8,44,132,.7); }
.side-glass .art img { object-position: 0 0; }
.side-glass::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0) 40%); pointer-events: none; }
.side-ink {
  color: #fff;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.055) 0 1px, rgba(255,255,255,0) 1px 14px),
    radial-gradient(90% 70% at 100% 0%, rgba(47,120,232,.75) 0%, rgba(15,63,181,.32) 42%, rgba(15,63,181,0) 74%),
    var(--ink);
  box-shadow: 0 34px 60px -36px rgba(11,18,34,.85);
}
.side-ink .ticks li + li { border-color: rgba(255,255,255,.2); }
.side-ink .ticks li::before { background: var(--yellow); }
.side-ink .limit { color: var(--on-ink); }

/* HOME 4. How a paid deal works: eight steps in order. A plain number, who does it, one or two lines */
.how-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 48px; align-items: end; }
.how-promises { text-align: right; }
.promise { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.12; }
.promise-2 { margin-top: 10px; font-weight: 600; }
.run { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 16px); margin-top: clamp(36px, 4.4vw, 60px); }
.run-step { display: flex; flex-direction: column; min-width: 0; padding: 10px 10px 22px; background: var(--white); border-radius: 26px; box-shadow: var(--lift); }
.run-art {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; justify-content: center; align-items: flex-start;
  height: 216px; padding: 20px 16px 0;
  border-radius: 18px;
  background: var(--sky) url("../img/glass-wide.webp") 8% 0 / 1500px auto no-repeat;
}
.run-art-2 { background-position: 34% 0; }
.run-art-3 { background-position: 58% 100%; }
.run-art-4 { background-position: 80% 100%; }
.run-art-5 { background-position: 100% 100%; }
.run-art-6 { background-position: 22% 100%; }
.run-art-7 { background-position: 46% 100%; }
.run-art-8 { background-position: 68% 0; }
.run-art > * { flex: none; width: min(100%, 290px); box-shadow: var(--lift-high); }
.run-art .obj-checked, .run-art .phone-mini { box-shadow: none; }
.run-art .deal-mini { padding-bottom: 14px; }
.run-art .deal-mini .deal-pay { margin-top: 10px; padding-top: 8px; border-top: 1px solid rgba(11,18,34,.14); }
.run-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 12px 0; }
.step-n { flex: none; font-family: var(--serif); font-size: 2.25rem; line-height: 1; letter-spacing: -.01em; color: var(--cobalt); font-variant-numeric: lining-nums; }
.run-step > h3 { margin: 8px 12px 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 1.95vw, 1.75rem); line-height: 1.12; letter-spacing: -.006em; text-wrap: balance; }
.run-step > p { margin: 8px 12px 0; font-size: 1.0625rem; line-height: 1.42; color: var(--ink-2); text-wrap: pretty; }

.obj-form { display: block; padding: 14px 16px; background: var(--white); border-radius: var(--r-card); position: relative; overflow: hidden; }
.fk { display: block; margin-top: 8px; font-size: .9375rem; font-weight: 600; }
.fk i { display: flex; align-items: center; height: 38px; margin-top: 3px; padding: 0 12px; border: 1.5px solid var(--edge); border-radius: 12px; background: #fff; font-style: normal; font-weight: 500; }
.fk-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.fchip { display: inline-flex; align-items: center; min-height: 30px; padding: 2px 12px; border: 1.5px solid var(--edge); border-radius: 999px; font-size: .9375rem; font-weight: 500; }
.fchip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

.obj-checked { position: relative; }
.obj-checked .deal { box-shadow: var(--lift-high); }
.stamp {
  position: absolute; right: 10px; top: -16px; z-index: 2;
  padding: 6px 12px 7px; border: 3px solid var(--cobalt); border-radius: 10px;
  color: var(--cobalt); background: rgba(255,255,255,.88);
  font-weight: 700; font-size: 1.0625rem; line-height: 1; letter-spacing: .02em;
  transform: rotate(-9deg);
}

.minirow { position: relative; overflow: hidden; padding: 20px 16px 14px; background: var(--white); border-radius: var(--r-card); box-shadow: var(--lift); font-size: .9375rem; line-height: 1.35; }
.minirow-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.minirow-in { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.minirow-who { min-width: 0; flex: 1; }
@media (max-width: 360px) { .minirow-in .mono { display: none; } }
.minirow-who b, .minirow-who span { display: block; }
.minirow-who span { color: var(--ink-2); }
.minirow-sum { margin-top: 10px; }
.minirow-sum div { display: flex; justify-content: space-between; gap: 12px; padding-block: 6px; border-top: 1px dotted rgba(11,18,34,.34); }
.minirow-sum dd { font-weight: 600; }
.minirow-sum .you { font-weight: 700; align-items: baseline; }
.minirow-sum .you dt { white-space: nowrap; }
.minirow-sum .you dd { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1; }
.minirow .ap-k { margin-top: 8px; }
.tile-low .tile { aspect-ratio: 16 / 11; }
.minirow-vid { margin-top: 10px; }
.minirow-vid .tile-lg { aspect-ratio: auto; height: 74px; }
.minirow .fake-row { margin-top: 8px; flex-wrap: nowrap; gap: 6px; }
.minirow .fake-row .fake-btn { flex: 1 1 auto; min-width: 0; min-height: 34px; padding: 0 8px; font-size: 14px; white-space: nowrap; }

.memo { position: relative; overflow: hidden; padding: 30px clamp(20px, 3vw, 40px) 26px; background: var(--white); border-radius: 8px; box-shadow: var(--lift); font-size: 1rem; line-height: 1.4; }
.memo-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.memo-brand { display: inline-flex; align-items: center; }
.memo-brand .logo { height: 28px; }
.memo-h { margin-top: 16px; font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.05; }
.memo dl { margin-top: 12px; }
.memo dl div { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 4px 16px; padding-block: 9px; border-top: 1px solid rgba(11,18,34,.14); }
.memo dt { font-weight: 700; }
.memo-sign { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.memo-sign li { padding-top: 8px; border-top: 1.5px solid var(--ink); font-weight: 600; font-size: .9375rem; }
.memo-crop { padding-bottom: 8px; max-height: 352px; }
.memo-crop::after { content: ""; position: absolute; inset: auto 0 0 0; height: 104px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff 82%); }

.run-art .phone-mini { width: 132px; }
.phone-mini {
  position: relative; display: block; width: 148px; height: 268px; padding: 8px;
  border-radius: 30px; background: var(--ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, var(--lift);
}
.phone-mini::before { content: ""; position: absolute; inset: 8px; border-radius: 23px; background: var(--reeds), linear-gradient(170deg, #BFEAFC 0%, #6CC8F6 46%, #0F3FB5 100%); background-size: 14px 100%, auto; }
.phone-rec { position: absolute; left: 50%; bottom: 24px; width: 52px; height: 52px; margin-left: -26px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 5px rgba(255,255,255,.55), 0 12px 18px -8px rgba(11,18,34,.6); }
.phone-time { position: absolute; left: 0; right: 0; top: 24px; text-align: center; font-weight: 700; font-size: 1rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.how-more { margin-top: 26px; text-align: center; }

/* HOME 5. What it costs: receipts on the living glass */
.cost { padding-bottom: calc(clamp(56px, 6vw, 88px) + var(--r-band)); }
.cost .art img { object-position: 100% 100%; }
.cost-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 40px; }
.cost .lede { font-weight: 500; }
.terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(26px, 3.6vw, 44px); border-block: 1.5px solid rgba(11,18,34,.72); }
.terms li { padding: 16px 20px 16px 0; }
.terms li + li { padding-left: 20px; border-left: 1px solid rgba(11,18,34,.42); }
.terms b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1; letter-spacing: -.015em; }
.terms span { display: block; margin-top: 6px; font-weight: 600; line-height: 1.25; }
.receipts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin-top: clamp(32px, 4.4vw, 60px); align-items: start; }
.rc-wrap { position: relative; }
.rc-wrap::before { content: ""; position: absolute; inset: 14px 10px 6px; border-radius: 22px; box-shadow: 0 8px 18px -6px rgba(11,18,34,.28), 0 44px 70px -24px rgba(8,44,132,.62); }
.receipt {
  position: relative; padding: 34px clamp(22px, 2.6vw, 36px) 44px;
  background: var(--white); color: var(--ink);
  font-size: 1.0625rem; line-height: 1.4;
  border-radius: 22px 22px 0 0;
  /* the scalloped tear along the bottom edge */
  -webkit-mask: radial-gradient(11px at 50% 100%, transparent 96%, #000) 50% 100% / 26px 100% repeat-x;
  mask: radial-gradient(11px at 50% 100%, transparent 96%, #000) 50% 100% / 26px 100% repeat-x;
}
.rc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rc-top h3 { font-size: 1.25rem; }
.rc-big { margin-top: 12px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); font-family: var(--serif); font-size: clamp(2.25rem, 3.4vw, 3.125rem); line-height: 1.04; letter-spacing: -.012em; text-wrap: balance; }
.rc-rows div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2px 16px; padding-block: 10px; border-bottom: 1.5px dotted rgba(11,18,34,.36); }
.rc-rows dt { font-weight: 600; }
.rc-rows dd::first-letter { text-transform: uppercase; }
.rc-box { margin-top: 18px; padding: 14px 16px; background: var(--mist); border-radius: 14px; font-size: 1rem; line-height: 1.42; }
.cost-more { margin-top: 30px; }
.cost-more .tlink { padding-inline: 20px 18px; background: var(--white); border-radius: 999px; text-decoration: none; box-shadow: 0 12px 24px -14px rgba(11,18,34,.5); }
.band-glass .tlink { color: var(--ink); }

/* HOME 6. What your account looks like: lit windows on the darkest ground on the site */
.acct { background: var(--ink); overflow: clip; }
.acct::after {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 34% at 50% 26%, rgba(47,120,232,.62) 0%, rgba(15,63,181,.26) 50%, rgba(15,63,181,0) 78%),
    radial-gradient(60% 34% at 50% 74%, rgba(47,120,232,.5) 0%, rgba(15,63,181,.2) 50%, rgba(15,63,181,0) 78%);
}
.acct .wrap::before {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(108,200,246,.16) 0 1px, rgba(108,200,246,0) 1px 14px);
  -webkit-mask: radial-gradient(70% 70% at 50% 50%, #000 0%, transparent 78%); mask: radial-gradient(70% 70% at 50% 50%, #000 0%, transparent 78%);
}
.acct-head { text-align: center; max-width: 880px; margin-inline: auto; }
.acct-head h2 { text-wrap: balance; }
.acct-head .lede { margin: 18px auto 0; max-width: 34em; }

/* a clear switch between screens. It only exists where it can work: with no JS every screen shows, one after the other */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; width: fit-content; max-width: 100%; margin: clamp(28px, 3.4vw, 44px) auto 0; padding: 6px; border-radius: 30px; background: var(--ink-1); box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 18px 34px -18px rgba(0,0,0,.8); }
html:not(.js) .tabs { display: none; }
.tabs [role="tab"] { min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: none; color: var(--on-ink); font: inherit; font-weight: 600; line-height: 1.2; cursor: pointer; transition: background-color .16s ease-out, color .16s ease-out; }
.tabs [role="tab"]:hover { color: #fff; }
.tabs [aria-selected="true"], .tabs [aria-selected="true"]:hover { background: var(--white); color: var(--ink); }
.tabs [role="tab"]:focus-visible { outline-offset: 2px; }
@media (max-width: 640px) {
  .tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; border-radius: 26px; }
  html:not(.js) .tabs { display: none; }
  .tabs [role="tab"] { padding-inline: 10px; }
  .tabs [role="tab"]:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: no-preference) {
  html.js [role="tabpanel"] { animation: panel-in .2s ease-out; }
  @keyframes panel-in { from { opacity: 0; } }
}
.acct-stack { display: grid; gap: clamp(32px, 4vw, 56px); max-width: 1160px; margin: clamp(18px, 2.4vw, 28px) auto 0; }
.acct-item { min-width: 0; }
.acct-who { max-width: 100%; margin: 0 auto 16px; color: #D3DDEE; font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); line-height: 1.35; text-align: center; }
.acct-who b { color: #fff; }
.acct-cap { margin-top: 30px; text-align: center; color: #fff; font-size: 1rem; }
.acct-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; margin-top: 6px; }

/* the window: every account screen sits in this frame, and the frame carries the Sample data tag */
.win {
  container-type: inline-size;
  position: relative; overflow: hidden;
  background: var(--white); color: var(--ink);
  border-radius: var(--r-window);
  box-shadow: var(--lift-dark);
  font-size: 14px; line-height: 1.4;
}
.band-ink .win { outline: 1px solid rgba(255,255,255,.1); outline-offset: 0; }
.win-bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px;
  min-height: 44px; padding: 6px 10px 6px 12px;
  background: var(--reeds), var(--ink-1); background-size: 14px 100%, auto;
  color: #fff;
}
.win-title { font-weight: 600; font-size: 14px; white-space: nowrap; }
.win-big { font-size: 15px; box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 0 0 10px rgba(191,234,252,.09), 0 0 0 11px rgba(255,255,255,.1), 0 40px 90px -30px rgba(0,0,0,.8), 0 0 140px -24px rgba(47,120,232,.62); }
.win-big .tag { font-size: 14px; }

.dash { display: grid; gap: 12px; }
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dash-h { font-family: var(--serif); font-size: 2rem; line-height: 1.1; letter-spacing: -.01em; }
.dash-sub { color: var(--ink-2); }
.dash-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 16px 18px; border-radius: 14px; color: #fff; background: radial-gradient(70% 180% at 100% 0%, #1F5BD0 0%, rgba(31,91,208,0) 72%), var(--cobalt); }
.dash-next > div > * { display: block; }
.dash-k { font-size: 14px; font-weight: 700; color: #fff; }
.dash-next b { font-family: var(--serif); font-weight: 400; font-size: 1.625rem; line-height: 1.15; }
.dash-next div span:last-child { color: #fff; }
.dash-next .fake-btn { flex: none; min-height: 42px; padding: 0 20px; background: var(--yellow); color: var(--ink); }
.dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dash-wide { grid-column: 1 / -1; }
.dash-card { min-width: 0; padding: 14px 16px; border-radius: 14px; background: #F3F8FC; box-shadow: inset 0 0 0 1px #D8E6F1; }
.dash-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dash-note { color: var(--ink-2); }
.dash-money { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #D8E6F1; }
.dash-money dt { color: var(--ink-2); }
.dash-money dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.dash-money .you dd { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.1; }
.dash-list { margin-top: 6px; }
.dash-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-block: 8px; border-top: 1px solid #D8E6F1; }
.dash-list li:first-child { border-top: 0; }
.dash-list div { min-width: 0; }
.dash-list b, .dash-list div span { display: block; }
.dash-list div span { color: var(--ink-2); }
.dash-faces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.dash-faces li { display: flex; flex-direction: column; min-width: 0; }
.dash-faces .ap-who { margin-top: 0; }
.dash-faces .tile { aspect-ratio: 1 / 1; }
.dash-faces .fake-btn { width: 100%; margin-top: auto; }
.dash-one { margin-top: 4px; }
.dash-browse { width: 100%; margin-top: 8px; }
.dash-grid-b { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); }
.dash-grid-b .dash-wide { grid-column: auto; }
.dash-stack { display: grid; gap: 12px; align-content: start; min-width: 0; }
.dash-plan { margin-top: 2px; }
.dash-plan b { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.1; }
@container (max-width: 619px) {
  .dash-grid, .dash-grid-b { grid-template-columns: minmax(0, 1fr); }
  .dash-faces { grid-template-columns: minmax(0, 1fr); }
  .dash-next .fake-btn { width: 100%; }
  .dash-row { flex-wrap: wrap; }
  .dash-list .st { white-space: normal; text-align: right; border-radius: 10px; }
  .dash-faces li { padding-bottom: 12px; border-bottom: 1px solid #D8E6F1; }
  .dash-faces li:last-child { padding-bottom: 0; border-bottom: 0; }
  .dash-faces .tile { aspect-ratio: 4 / 3; }
}
@container (max-width: 880px) {
  .dash-grid-b { grid-template-columns: minmax(0, 1fr); }
  .dash-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 619px) { .dash-stack { grid-template-columns: minmax(0, 1fr); } }
@container (max-width: 400px) { .dash-money { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .dash-money .you { grid-column: 1 / -1; } }
.win-bar .tag { justify-self: end; padding: 2px 8px 3px; font-size: 14px; }
.win-body { display: block; }
.win-rail { display: flex; gap: 2px; padding: 8px 10px; background: #F3F8FC; border-bottom: 1px solid #D8E6F1; overflow: hidden; flex-wrap: wrap; }
.win-rail li { display: flex; align-items: center; gap: 7px; padding: 5px 9px; border-radius: 9px; color: var(--ink-2); font-weight: 500; white-space: nowrap; }
.win-rail li::before { content: ""; flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--ri) center / contain no-repeat; mask: var(--ri) center / contain no-repeat; }
.win-rail li.on { background: var(--ink); color: #fff; font-weight: 600; }
html.js .win-rail [data-go], html.js .fake-btn[data-go] { cursor: pointer; }
@media (hover: hover) {
  html.js .win-rail li[data-go]:not(.on):hover { background: #DCEBF7; color: var(--ink); }
}
html.js .win-rail li.on { cursor: default; }
/* on a phone the tabs above a sample already are this menu, so it would only say it twice */
@container (max-width: 759px) { html.js .win-item .win-rail { display: none; } }
.ri-home { --ri: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.500 11 12 4l8.500 7v9.500h-6v-6h-5v6h-6z'/%3E%3C/svg%3E"); }
.ri-user { --ri: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20.500c1-4.300 4-6.300 8-6.300s7 2 8 6.300'/%3E%3C/svg%3E"); }
.ri-list { --ri: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M9 6h11.500M9 12h11.500M9 18h11.500M4 6h.01M4 12h.01M4 18h.01'/%3E%3C/svg%3E"); }
.ri-send { --ri: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.500 3.500 3.500 10.500l7 3 3 7z'/%3E%3C/svg%3E"); }
.ri-money { --ri: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2'%3E%3Crect x='3' y='6' width='18' height='12' rx='2.500'/%3E%3Ccircle cx='12' cy='12' r='2.600'/%3E%3C/svg%3E"); }
.ri-users { --ri: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8.500' r='3.500'/%3E%3Cpath d='M2.500 20c.8-3.500 3.200-5.300 6.500-5.300s5.700 1.800 6.500 5.300M16 5.300a3.500 3.500 0 0 1 0 6.400M18.300 14.900c1.700.8 2.800 2.400 3.200 5.100'/%3E%3C/svg%3E"); }
.ri-search { --ri: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20.500 20.500-4.500-4.500'/%3E%3C/svg%3E"); }
.ri-check { --ri: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 12.500 5 5 11-11'/%3E%3C/svg%3E"); }
.ri-doc { --ri: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l4 4v14H6zM9.500 12.500h6M9.500 16.500h6'/%3E%3C/svg%3E"); }
.win-main { padding: 14px; min-width: 0; }
@container (min-width: 760px) {
  .win-body { display: grid; grid-template-columns: 168px minmax(0, 1fr); min-height: 100%; }
  .win-rail { display: block; padding: 12px 8px; border-bottom: 0; border-right: 1px solid #D8E6F1; }
  .win-rail li { padding: 9px 10px; }
  .win-rail li + li { margin-top: 2px; }
  .win-main { padding: 16px; }
}

.mono { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 14px; background: var(--reeds), var(--cobalt); background-size: 14px 100%, auto; }
.tile { position: relative; flex: none; overflow: hidden; display: grid; place-items: center; width: 56px; aspect-ratio: 9 / 12; border-radius: 10px; background: #2F7FE0 url("../img/glass-wide.webp") 70% 100% / 900px auto no-repeat; }
.t2 { background-position: 92% 100%; }
.t3 { background-position: 100% 62%; }
.t4 { background-position: 60% 100%; }
.tile-cap { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 66px); padding: 2px 7px 3px; border-radius: 6px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; line-height: 1.25; }
.tile-lg { width: 100%; aspect-ratio: 16 / 10; }
.tile-xl { width: 100%; aspect-ratio: 4 / 5; }
.tile .play { fill: #fff; }
.tile .play { background: var(--ink); border-radius: 50%; padding: 4px; width: 28px; height: 28px; }
.tile-len { position: absolute; right: 6px; bottom: 6px; padding: 1px 6px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; }
.tile-row { display: flex; gap: 8px; }
.tile-row .tile { flex: 1; width: auto; }

.st { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--mist); color: var(--ink); font-weight: 600; white-space: nowrap; }
.st-go { background: var(--ink); color: #fff; }
.st-no { background: #EEF1F6; color: var(--ink-2); }
.fake-btn { cursor: default; display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; }
.fake-quiet { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--edge); }
.fake-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ws-h { font-weight: 700; }
.ws-head { margin-bottom: 12px; }
.ws-foot { margin-top: 12px; color: var(--ink-2); }
.ws-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.ws-chips .fchip { font-size: 14px; }

.ws-open { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@container (min-width: 620px) { .ws-open { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.od-list { display: grid; gap: 8px; align-content: start; }
.od { padding: 10px 12px; border-radius: 12px; background: #F3F8FC; box-shadow: inset 0 0 0 1px #D8E6F1; }
.od-on { background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.od-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.od-top .tag { padding: 1px 7px 2px; font-size: 14px; }
.od-pay { margin-top: 4px; font-weight: 700; }
.od-use, .od-left { color: var(--ink-2); }
.od-left { margin-top: 2px; font-weight: 600; }
.od-card { align-self: start; padding: 14px; border-radius: 14px; background: var(--mist); }
.od-k { margin-top: 4px; color: var(--ink-2); font-weight: 500; }
.od-fig { font-family: var(--serif); font-size: 3rem; line-height: 1.05; letter-spacing: -.02em; }
.od-card ul { margin-top: 6px; }
.od-card li { padding-block: 6px; border-top: 1px solid rgba(11,18,34,.16); }
.od-card .fake-btn { width: 100%; margin-top: 10px; background: var(--yellow); color: var(--ink); }

.ap-list { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
@container (min-width: 620px) { .ap-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ap { display: flex; flex-direction: column; padding: 10px; border-radius: 12px; background: #F3F8FC; box-shadow: inset 0 0 0 1px #D8E6F1; }
.ap-who { display: flex; align-items: center; gap: 8px; }
.ap .tile { aspect-ratio: 1 / 1; }
.ap-k { margin-top: 10px; margin-bottom: 4px; font-weight: 700; }
.ap-who b, .ap-who div span { display: block; }
.ap-who div span { color: var(--ink-2); }
.ap-worlds { margin-top: 6px; color: var(--ink-2); }
.ap-idea { margin-bottom: 10px; font-weight: 500; }
.ws-deal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 14px; margin-bottom: 10px; padding: 10px 12px; border-radius: 12px; background: var(--mist); }
.ws-deal dt { color: var(--ink-2); font-weight: 500; }
.ws-deal dd { font-weight: 700; }
@container (max-width: 619px) { .ws-deal { grid-template-columns: minmax(0, 1fr); } }
.ap .fake-btn { margin-top: auto; }

.wt { width: 100%; border-collapse: collapse; }
.wt th { padding: 6px 8px; text-align: left; font-weight: 700; color: var(--ink-2); border-bottom: 1.5px solid var(--ink); }
.wt td { padding: 10px 8px; border-bottom: 1px solid #D8E6F1; vertical-align: top; }
.wt td:first-child { font-weight: 600; }
.wt-money td:not(:first-child):not(:last-child) { font-variant-numeric: tabular-nums; }
@container (max-width: 619px) {
  .wt thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .wt, .wt tbody, .wt tr, .wt td { display: block; }
  .wt tr { padding-block: 8px; border-bottom: 1px solid #D8E6F1; }
  .wt td { display: flex; justify-content: space-between; gap: 14px; padding: 2px 0; border: 0; text-align: right; }
  .wt td::before { content: attr(data-th); flex: none; max-width: 50%; color: var(--ink-2); font-weight: 500; text-align: left; }
  .wt td:first-child { display: block; text-align: left; font-weight: 700; }
  .wt td:first-child::before { content: none; }
}
.ws-track { margin-top: 14px; }
.ws-track ol { display: flex; flex-wrap: wrap; gap: 6px 4px; margin-top: 8px; }
.ws-track li { flex: 1 1 auto; position: relative; padding-top: 12px; color: var(--ink-2); white-space: nowrap; }
.ws-track li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 6px; background: #D8E6F1; }
.ws-track li.done { color: var(--ink); }
.ws-track li.done::before { background: var(--cobalt); }
.ws-track li.now { color: var(--ink); font-weight: 700; }
.ws-track li.now::before { background: var(--yellow); height: 8px; top: -1px; box-shadow: 0 0 0 1px rgba(11,18,34,.42); }

.ws-plan { display: flex; flex-wrap: wrap; gap: 8px 36px; align-items: end; margin-bottom: 12px; padding: 10px 12px; border-radius: 12px; background: var(--mist); }
.ws-plan p span:first-child { display: block; color: var(--ink-2); font-weight: 500; }
.ws-plan b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }

.ws-who { display: flex; align-items: center; gap: 10px; }
.ws-who > div { flex: 1; min-width: 0; }
.ws-who b, .ws-who div span { display: block; }
.ws-who div span { color: var(--ink-2); }
.ws-facts { margin-top: 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.ws-facts dt { color: var(--ink-2); font-weight: 500; }
.ws-facts dd { font-weight: 600; }
.ws-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.ws-media .ws-h { margin-bottom: 6px; }
.ws-note { margin-top: 12px; padding: 8px 12px; border-radius: 12px; background: var(--mist); }
.ws-note b { display: block; }
.ws-approve { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@container (min-width: 620px) { .ws-approve { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); } }
.ws-vid { display: grid; gap: 8px; justify-items: start; }
.ws-days b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.ws-check .ws-h { margin-top: 12px; }
.ws-ticks li { position: relative; padding: 3px 0 3px 22px; }
.ws-ticks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; background: var(--cobalt); -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat; }
.ws-lic { margin-top: 8px; }

/* HOME 7. The rules: a signed document */
.trust-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; }
.trust-grid {
  display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); gap: clamp(20px, 2.6vw, 40px); align-items: start;
  margin-top: clamp(32px, 4vw, 56px); padding: clamp(14px, 2.4vw, 36px);
  background: var(--mist); border-radius: var(--r-band);
}
.rules-sheet {
  position: relative; overflow: hidden;
  padding: clamp(30px, 3.4vw, 44px) clamp(22px, 3.2vw, 44px) clamp(20px, 2.4vw, 28px);
  background: var(--white); border-radius: 14px;
  box-shadow: 7px 7px 0 -1px #fff, 7px 7px 0 0 rgba(11,18,34,.1), 14px 14px 0 -1px #fff, 14px 14px 0 0 rgba(11,18,34,.08), var(--lift);
}
.sheet-sign { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 14px; border-top: 2px solid var(--ink); }
.sheet-sign .logo { height: 28px; }
.sheet-h { padding-bottom: 12px; border-bottom: 2px solid var(--ink); font-weight: 700; font-size: 1.125rem; }
.rules { columns: 2; column-gap: clamp(24px, 3vw, 44px); counter-reset: r; margin-top: 8px; font-size: 1rem; line-height: 1.42; }
.rules li { position: relative; break-inside: avoid; counter-increment: r; padding: 12px 0 12px 42px; color: var(--ink-2); }
.rules li b { display: block; color: var(--ink); font-size: 1.0625rem; }
.rules li::before { content: counter(r); position: absolute; left: 0; top: 7px; width: 30px; font-family: var(--serif); font-size: 2rem; line-height: 1.1; color: var(--cobalt); }
.trust-side { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 18px; height: 100%; }
.whois { padding: clamp(10px, 1.4vw, 18px) clamp(8px, 1vw, 12px) 2px; }
.whois h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.08; }
.whois p { margin-top: 10px; font-size: 1.0625rem; }
.whois-links { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 6px !important; }
.founder-note {
  position: relative; overflow: hidden;
  padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-card);
  display: flex; flex-direction: column; justify-content: space-between;
  color: #fff;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.055) 0 1px, rgba(255,255,255,0) 1px 14px),
    radial-gradient(110% 70% at 100% 100%, rgba(47,120,232,.6) 0%, rgba(15,63,181,.22) 46%, rgba(15,63,181,0) 74%),
    var(--ink);
  box-shadow: 0 30px 50px -34px rgba(11,18,34,.8);
  --focus: var(--yellow);
}
.founder-note blockquote { font-family: var(--serif); font-size: clamp(1.75rem, 2.7vw, 2.375rem); line-height: 1.14; letter-spacing: -.008em; }
.founder-note figcaption { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.founder-note img { width: 72px; height: 72px; border-radius: 14px; }
.founder-note figcaption b, .founder-note figcaption span span { display: block; }
.founder-note figcaption span span { color: var(--on-ink); }
.founder-more { margin-top: 6px; }

/* HOME 8. Guides: covers from the brand system */
.guides-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 32px; }
.guides-head h2 { max-width: 13em; }
.shelf { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; margin-top: clamp(28px, 3.6vw, 48px); }
.gcard { display: block; height: 100%; text-decoration: none; transition: transform .16s ease-out; }
@media (hover: hover) { .gcard:hover { transform: translateY(-3px); } .deal:hover { translate: 0 -3px; } }
.cover {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 300px; padding: 20px 22px;
  border-radius: var(--r-card);
  background-size: 14px 100%, auto;
  box-shadow: var(--lift);
}
.cover b { font-family: var(--serif); font-weight: 400; font-size: clamp(3.5rem, 8vw, 7.5rem); line-height: .96; letter-spacing: -.02em; }
.cover span { margin-top: 8px; font-weight: 600; }
.shelf li:not(.shelf-wide) .cover b { font-size: clamp(3.25rem, 5vw, 4.75rem); }
.cover-cobalt { color: #fff; background-image: var(--reeds), radial-gradient(80% 90% at 90% 0%, #2F78E8 0%, rgba(47,120,232,0) 70%); background-color: var(--cobalt); }
.cover-cobalt span { color: #fff; }
.cover-sky { color: var(--ink); background-image: var(--reeds), linear-gradient(180deg, #8DD6F8, #6CC8F6); background-color: var(--sky); }
.cover-ink { color: #fff; background-image: var(--reeds), radial-gradient(90% 80% at 0% 100%, rgba(47,120,232,.55) 0%, rgba(47,120,232,0) 70%); background-color: var(--ink); }
.cover-pale { color: var(--ink); background-image: var(--reeds), linear-gradient(180deg, #D6F2FE, var(--sky-pale)); background-color: var(--sky-pale); }
.cover .mark { position: absolute; left: 20px; top: 20px; width: 30px; height: 30px; }
.gcard-t { display: block; padding: 14px 4px 0; font-weight: 700; font-size: 1.1875rem; line-height: 1.3; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; }
.gcard-m { display: block; padding: 2px 4px 0; color: var(--ink-2); font-size: 1rem; }
.gcard:hover .gcard-t { text-decoration-color: currentColor; }

/* HOME 9. The poster comes back */
.closing { padding-block: clamp(96px, 13vw, 190px) calc(clamp(96px, 13vw, 190px) + var(--r-band)); }
.closing-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(340px, 31vw, 440px); gap: clamp(32px, 4vw, 64px); align-items: end; }
.closing h2 { font-size: clamp(3rem, 7.6vw, 7.5rem); line-height: 1.02; max-width: 8.4em; }
.closing-copy p { font-size: 1.1875rem; font-weight: 500; }
.closing-copy h2 + p { margin-top: 22px; }
.closing-copy a { font-weight: 600; text-underline-offset: 4px; overflow-wrap: anywhere; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.closing-doors { display: grid; gap: 12px; }
.door {
  position: relative; overflow: hidden;
  display: block; padding: 22px 26px 22px;
  background: var(--white); color: var(--ink);
  border-radius: 18px; text-decoration: none;
  box-shadow: 0 24px 40px -24px rgba(8,44,132,.7);
  transition: transform .16s ease-out;
}
.door span { display: block; font-weight: 600; font-size: 1.0625rem; }
.door b { display: block; margin-top: 2px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.875rem, 2.7vw, 2.375rem); line-height: 1.1; }
@media (hover: hover) { .door:hover { transform: translateY(-3px); } }
.door small { display: block; margin-top: 4px; color: var(--ink-2); font-size: 1rem; font-weight: 500; }

/* footer: the signature */
.foot { position: relative; z-index: 1; overflow: hidden; margin-top: calc(-1 * var(--r-band)); padding-block: 62px 0; background: var(--ink); color: #fff; border-radius: var(--r-band) var(--r-band) 0 0; font-size: 1.0625rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 32px clamp(20px, 3vw, 44px); }
.foot-brand .nav-logo { display: inline-flex; }
.foot-brand .logo { height: 40px; }
.foot-brand p { margin-top: 10px; font-family: var(--serif); font-size: 1.5rem; line-height: 1.16; max-width: 13em; }
.foot-col h2 { font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; color: var(--on-ink); }
.foot-col ul { margin-top: 6px; }
.foot-col a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; line-height: 1.2; text-decoration: none; }
.foot-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-legal { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 32px; margin-top: 40px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); font-size: 1rem; color: var(--on-ink); }
.foot-word {
  display: block; margin-top: 18px; text-align: center; user-select: none;
  font-family: var(--sans); font-weight: 700; font-size: min(23.6vw, 520px); line-height: .9; letter-spacing: -.02em;
  color: var(--ink-1); white-space: nowrap;
  height: .56em; overflow: hidden; pointer-events: none;
}

/* KIT. The parts every inner page is built from. See the note at the top of tools/site_creators_parts.py */

/* the poster: the top band of an inner page. Live glass, ink text. The object rises from its bottom edge and crosses the seam.
   No isolation here on purpose: the object has to stack above the next band. */
.poster {
  position: relative;
  min-height: max(62svh, 460px);
  display: grid; align-items: end;
  padding-block: 132px clamp(84px, 8vw, 112px);
  background: var(--sky); color: var(--ink);
}
.poster > .art, .poster > canvas.glass { z-index: 0; }
.poster-in { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.poster-short .poster-in { grid-template-columns: minmax(0, 1fr); }
.poster .lede { margin-top: 18px; color: var(--ink); font-weight: 500; max-width: 31em; }
.poster-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.poster-obj { position: relative; z-index: 3; margin-bottom: calc(-64px - clamp(84px, 8vw, 112px)); }

/* a band's opening: heading left, lede beside it or under it */
.head { max-width: 46rem; }
.head .lede { margin-top: 14px; }
.head-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 48px; align-items: end; }

/* a sheet: paper on a painted ground. Never white on white */
.paper {
  position: relative; overflow: hidden;
  padding: clamp(26px, 3vw, 40px) clamp(20px, 3vw, 40px) clamp(20px, 2.4vw, 32px);
  background: var(--white); color: var(--ink);
  border-radius: var(--r-card); box-shadow: var(--lift);
}

/* a ledger: big serif figure, plain line */
.ledger div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4px 24px; align-items: baseline; padding-block: 18px; border-top: 1px solid rgba(11,18,34,.16); }
.ledger div:first-child { border-top: 0; }
.ledger dt { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.05; letter-spacing: -.012em; }

/* questions */
.ask-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.faq details { border-top: 1px solid rgba(11,18,34,.14); }
.faq details:first-child { border-top: 0; }
.faq summary { position: relative; cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-weight: 600; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: transform .18s ease-out;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 18px 0; color: var(--ink-2); text-wrap: pretty; }

/* big serif word, plain definition */
.words > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 6px 32px; align-items: baseline; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.18); }
.words dt { font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 3.75rem); line-height: 1.04; letter-spacing: -.012em; color: #fff; }
.words dd { color: var(--on-ink); }

/* the failure cases, on cobalt-deep or on a sheet */
.wrong > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 32px; padding-block: 18px; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 22%, transparent); }
.wrong > div:first-child { border-top: 0; }
.wrong dt { font-family: var(--serif); font-size: 1.5rem; line-height: 1.16; }
.band-cobalt .wrong { padding: clamp(14px, 2.4vw, 32px) clamp(20px, 3vw, 40px); border-radius: var(--r-card); background: var(--cobalt-deep); box-shadow: var(--lift-dark); }

/* windows on an ink band: one screen at a time behind a clear switch. With no JS they all show, Home first */
.win-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(20px, 2.4vw, 36px); margin-top: clamp(36px, 4.4vw, 64px); }
.win-wide { grid-column: 1 / -1; }
html.js .win-grid { display: block; margin-top: clamp(18px, 2.4vw, 28px); }
html.js .win-item > h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html.js .win-item > p { margin-block: 0 16px; text-align: center; }
html.js .win-item .win { max-width: 1120px; margin-inline: auto; }
.win-item h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.625rem, 2.5vw, 2.125rem); line-height: 1.1; }
.win-item > p { margin-block: 4px 12px; color: var(--on-ink); }

/* MOTION. The glass moves, and buttons answer a hover. Nothing is tied to the scroll */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* the two form pages: the poster holds still on one side, each group of the form sits on its own sheet */
.fp { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 100vh; min-height: 100svh; background: var(--mist); }
.fp-side { background: var(--sky); color: var(--ink); }
.fp-stick { position: sticky; top: 0; isolation: isolate; min-height: 100vh; min-height: 100svh; padding: 112px clamp(24px, 4vw, 64px) 48px var(--gut); overflow: hidden; }
.fp-stick .art img { object-position: 100% 100%; }
.fp-side h1 { font-size: clamp(3rem, 5.4vw, 5rem); line-height: 1.03; max-width: 7.4em; }
.fp-side p { margin-top: 18px; font-size: clamp(1.125rem, 1.5vw, 1.25rem); line-height: 1.45; max-width: 26em; text-wrap: pretty; }
/* a white card, so the steps read the same wherever the glass sits behind them */
.fp-next { margin-top: 22px; padding: 14px 18px 8px; max-width: 26em; background: var(--white); border-radius: 18px; box-shadow: var(--lift); }
.fp-next h2 { font-family: var(--sans); font-size: 1.125rem; font-weight: 700; letter-spacing: 0; }
.fp-next ol { counter-reset: n; margin-top: 8px; }
.fp-next li { counter-increment: n; display: grid; grid-template-columns: 30px minmax(0, 1fr); padding-block: 6px; line-height: 1.35; border-top: 1px solid rgba(11,18,34,.14); }
.fp-next li::before { content: counter(n); font-family: var(--serif); font-size: 1.375rem; line-height: 1.1; color: var(--cobalt); }
.fp-main { padding: 104px var(--gut) var(--sec) clamp(24px, 4vw, 64px); min-width: 0; }
.fp-start { display: none; }

.form { max-width: 700px; }
.form fieldset { margin: 22px 0 0; padding: 0; border: 0; min-width: 0; }
.fgroup { position: relative; overflow: hidden; padding: 30px clamp(18px, 3vw, 32px) 28px; background: var(--white); border-radius: var(--r-card); box-shadow: var(--lift); }
.fgroup + .fgroup { margin-top: 16px; }
.fgroup > h2 { font-family: var(--serif); font-size: clamp(1.75rem, 2.8vw, 2.25rem); letter-spacing: -.006em; line-height: 1.1; }
.field { display: block; margin-top: 22px; }
.field-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.flabel, .form legend { display: block; padding: 0; font-weight: 600; line-height: 1.35; }
.opt { font-weight: 400; color: var(--ink-2); }
.help { display: block; margin-top: 4px; font-size: 1rem; line-height: 1.4; color: var(--ink-2); }
.form input:not([type="checkbox"]):not([type="radio"]), .form select, .form textarea {
  display: block; width: 100%; margin-top: 8px;
  min-height: 54px; padding: 12px 16px;
  font: inherit; color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--edge); border-radius: var(--r-field);
}
.form select { appearance: auto; }
.form ::placeholder { color: var(--ink-2); opacity: .75; }
.form textarea { min-height: 130px; resize: vertical; }
/* two fields with help text of different lengths: the labels stay level at the top and the boxes stay level at the bottom */
.field-2-low .field { display: flex; flex-direction: column; }
.field-2-low .help { padding-bottom: 8px; }
.form .field-2-low .field input, .form .field-2-low .field select { margin-top: auto; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--cobalt); outline-offset: 1px; border-color: transparent; }
.form input[type="number"]::-webkit-inner-spin-button { opacity: .5; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 18px; border: 1.5px solid var(--edge); border-radius: 999px; font-weight: 500; line-height: 1.2; transition: transform .14s ease-out; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:disabled { cursor: not-allowed; }
.chip input:disabled + span { opacity: .45; }
.chip input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.chip input:active + span { transform: scale(.97); }
.tick { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; padding-block: 10px; line-height: 1.42; }
.fgroup > h2 + .tick, .field + .tick { margin-top: 6px; }
.tick input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--ink); cursor: pointer; }
.tick a { color: var(--cobalt); font-weight: 600; text-underline-offset: 3px; }
.form-note { margin-top: 14px; padding: 12px 16px; background: var(--mist); border-radius: 12px; font-size: 1rem; line-height: 1.42; }
.form-send { margin-top: 20px; }
.form-send .btn { width: 100%; max-width: 340px; }
.hp { display: none; }
/* the account forms: errors sit beside the field, and with no JS the form is hidden, because it can only work through backend.js */
html:not(.js) form[data-backend] { display: none; }
.nojs-line { padding: 22px clamp(18px, 3vw, 32px); background: var(--white); border-radius: var(--r-card); box-shadow: var(--lift); font-size: 1.1875rem; line-height: 1.42; }
.ferr { margin-top: 6px; color: #8C1D14; font-size: 1rem; font-weight: 600; line-height: 1.35; }
.form-err { margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: #FDECEA; color: #7A1C14; font-size: 1rem; font-weight: 600; line-height: 1.4; box-shadow: inset 0 0 0 1px #F2C4BE; }
.form-err a { color: inherit; }
.form-reload .btn { display: block; margin-top: 10px; }
.app-typed { display: block; margin-top: 4px; font-size: 1rem; line-height: 1.4; color: var(--ink-2); }
.app-typed-over { color: #8C1D14; font-weight: 600; }
.paid-notice { max-width: 34em; }
.form-ok { margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: var(--mist); font-size: 1rem; line-height: 1.42; }
/* a deal's progress in one thin line, on the rows of Home */
.app-mini-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; max-width: 340px; margin-top: 8px; }
.app-mini-track i { display: block; height: 6px; border-radius: 3px; background: #D8E6F1; }
.app-mini-track i.done { background: var(--cobalt); }
.app-mini-track i.now { background: var(--yellow); box-shadow: inset 0 0 0 1px rgba(11,18,34,.35); }
/* the email can land in spam, so the screens that wait for it say so plainly */
.spam-note { display: grid; gap: 4px; margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #FFF6D6; box-shadow: inset 0 0 0 1px #E6D58F; color: var(--ink); font-size: 1.0625rem; line-height: 1.4; overflow-wrap: anywhere; }
.spam-note b { font-size: 1.1875rem; font-weight: 700; }
.form-panel p { margin-top: 12px; }
.form-line { font-family: var(--serif); font-size: clamp(1.75rem, 2.8vw, 2.25rem); line-height: 1.1; letter-spacing: -.006em; }
.form-links { display: grid; justify-items: start; margin-top: 16px; padding: 0 clamp(18px, 3vw, 32px); }
.form-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-underline-offset: 4px; }
.form-change { margin: 0 0 16px; }
.form input[aria-invalid="true"], .form select[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: #8C1D14; }
.form .btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
[hidden] { display: none !important; }

/* document pages: agreements, privacy, terms */
.doc-top { position: relative; isolation: isolate; overflow: hidden; background: var(--sky); color: var(--ink); padding-block: 116px clamp(36px, 5vw, 60px); }
.doc-top .art img { object-position: 0 0; }
.doc-top h1 { font-size: clamp(2.75rem, 6vw, 5rem); max-width: 12em; }
.doc-date { margin-top: 12px; font-weight: 500; }
.doc-band { padding-top: clamp(48px, 6vw, 80px); }
.doc { position: relative; overflow: hidden; max-width: 820px; margin-inline: auto; padding: clamp(36px, 4.6vw, 64px) clamp(20px, 5.4vw, 76px) clamp(26px, 3.6vw, 48px); background: var(--white); border-radius: var(--r-card); box-shadow: var(--lift); }
.doc > :first-child { margin-top: 0; }
.doc .sheet-sign { margin-top: 28px; }
.doc-lead { font-size: clamp(1.1875rem, 1.7vw, 1.3125rem); line-height: 1.45; }
.doc h2 { margin-top: 44px; font-size: clamp(1.625rem, 2.6vw, 2rem); line-height: 1.15; }
.doc p { margin-top: 10px; }
.doc ul { margin-top: 10px; }
.doc li { position: relative; margin-top: 8px; padding-left: 20px; }
.doc li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.doc a { color: var(--cobalt); text-underline-offset: 3px; }
.doc-box { margin-top: 40px; padding: 18px 22px; background: var(--mist); border-radius: 14px; }

/* the small pages: thanks, not found, moved */
.small { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 104px var(--gut) calc(48px + var(--r-band)); background: var(--sky); color: var(--ink); }
.small-in { position: relative; overflow: hidden; max-width: 560px; padding: clamp(28px, 4vw, 44px); background: var(--white); border-radius: var(--r-card); box-shadow: var(--lift); }
.small h1 { font-size: clamp(2.5rem, 6vw, 3.75rem); line-height: 1.04; }
.small p { margin-top: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.small p a:not(.btn) { color: var(--cobalt); }
.small .btn { margin-top: 22px; padding-inline: 22px; line-height: 1.2; white-space: normal; text-align: center; }

/* the nav folds into its menu before it can crowd: with six links it needs 1220px */
@media (max-width: 1219px) {
  .nav-links, .nav-quiet { display: none; }
  .nav-acts { gap: 4px; }
  .nav-menu { display: block; }
}
@media (max-width: 479px) { .nav-acts .btn { display: none; } }

/* below 1220 four columns cut the step pictures, so the steps go to two. Just above it the pictures get a little more room */
@media (max-width: 1219px) {
  .run { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1220px) and (max-width: 1379px) {
  /* Log in, or the longer Your account, has to fit beside the six links right down to the fold */
  .nav { gap: 10px; }
  .nav .logo { height: 30px; }
  .nav-links { gap: 13px; }
  .nav-links a, .nav-quiet { font-size: 1rem; }
  .nav-acts { gap: 12px; }
  .nav-acts .btn-sm { padding-inline: 16px; }
  .run-art { padding-inline: 10px; }
  .minirow { padding-inline: 12px; }
  .minirow-sum div { gap: 8px; }
  .minirow-sum .you dd { font-size: 1.25rem; }
}

/* tablet and phone: one column, the page reads top to bottom */
@media (max-width: 1000px) {
  body { font-size: 1.0625rem; }

  .sides { grid-template-columns: minmax(0, 1fr); }
  .side { min-height: 0; }

  .how-head { grid-template-columns: minmax(0, 1fr); }
  .how-promises { text-align: left; }

  .poster { min-height: 0; padding-bottom: 64px; }
  .poster-in, .head-row, .ask-grid { grid-template-columns: minmax(0, 1fr); }
  .poster-obj { margin-bottom: 0; }
  .win-grid { grid-template-columns: minmax(0, 1fr); }
  .words > div, .wrong > div { grid-template-columns: minmax(0, 1fr); }

  .trust-head { grid-template-columns: minmax(0, 1fr); }
  .trust-grid { grid-template-columns: minmax(0, 1fr); }

  .closing-grid { grid-template-columns: minmax(0, 1fr); }

  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }

  .fp { display: block; min-height: 0; }
  .fp-stick { position: relative; min-height: 0; padding: 96px var(--gut) 92px; }
  .fp-main { padding: 28px var(--gut) var(--sec); scroll-margin-top: 84px; }
  .fp-side .fp-start { display: block; margin-top: 18px; }
  .form { max-width: none; }
}

@media (max-width: 760px) {
  .run { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .run-art { display: none; }
  .run-step { padding: 8px 8px 18px; border-radius: 22px; }
  .receipts { grid-template-columns: minmax(0, 1fr); }
  .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .terms li:nth-child(3) { padding-left: 0; border-left: 0; }
  .terms li:nth-child(n+3) { border-top: 1px solid rgba(11,18,34,.42); }

  .rules { columns: 1; }
  .rules-sheet { box-shadow: 5px 5px 0 -1px #fff, 5px 5px 0 0 rgba(11,18,34,.1), var(--lift); }
  .trust-grid { padding: 10px 14px 14px 10px; border-radius: 24px; }
  .shelf { grid-template-columns: minmax(0, 1fr); }
  .cover { min-height: 220px; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 13.6vw; }
  .hero h1 span { display: block; }
  .hero-line { max-width: 22em; }
  .hero-cta .btn { padding-inline: 20px; }
  .door b { font-size: 1.75rem; }
  .field-2 { grid-template-columns: minmax(0, 1fr); }
  .fp-side h1 { font-size: clamp(2.75rem, 12vw, 3.5rem); }
  .form-send .btn { max-width: none; }
  .memo dl div { grid-template-columns: minmax(0, 1fr); }
  .rc-rows div { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { gap: 24px 16px; }
  .foot-legal { display: block; }
}

@media (max-width: 374px) {
  .hero-cta { display: grid; }
  .hero-cta .btn { width: 100%; }
  .side-cta .btn { width: 100%; }
}

/* a phone held sideways: the poster can't stick, so it scrolls like everything else */
@media (max-height: 560px) {
  .hero { position: relative; height: auto; min-height: 100vh; min-height: 100svh; }
  .hero-in { padding-top: 92px; padding-bottom: 92px; }
}

/* INNER PAGES. Everything below is built from the kit above: each page gets one object nothing else on the site has. */

.nb { white-space: nowrap; }
.h-line { display: block; text-wrap: balance; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* first use of a word on a page: the word stays plain and a small info button sits after it. It opens the definition on the spot,
   and with no JS it's a link to the same words on Help. The ::before is the 44px target, so a tap can't miss */
/* a link inside a sentence stays in the line and still gets a 44px tap area */
main p a:not([class]), label a:not([class]) { position: relative; }
main p a:not([class])::before, label a:not([class])::before { content: ""; position: absolute; inset: -12px -2px; }
.term { position: relative; text-decoration: none; white-space: nowrap; }
.term::after { content: ""; display: inline-block; width: .92em; height: .92em; margin-left: .24em; vertical-align: -.1em; background: currentColor; -webkit-mask: var(--info) center / contain no-repeat; mask: var(--info) center / contain no-repeat; }
.term::before { content: ""; position: absolute; inset: -12px -4px; }
@media (hover: hover) { .term:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; } }
.tip { position: absolute; z-index: 40; width: min(340px, calc(100vw - 32px)); padding: 16px 18px 8px; background: var(--white); color: var(--ink); border-radius: 18px; font-size: 1rem; line-height: 1.45; box-shadow: 0 0 0 1px rgba(11,18,34,.1), 0 22px 44px -18px rgba(11,18,34,.6); --focus: var(--cobalt); }
.tip:focus { outline: 0; }
.tip b::first-letter { text-transform: uppercase; }
.tip b { display: block; padding-right: 36px; font-family: var(--serif); font-weight: 400; font-size: 1.625rem; line-height: 1.1; }
.tip p { margin-top: 6px; color: var(--ink-2); text-wrap: pretty; }
.tip a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cobalt); font-weight: 600; text-underline-offset: 3px; }
.tip-x { position: absolute; right: 4px; top: 4px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.tip-x::before, .tip-x::after { content: ""; position: absolute; left: 14px; right: 14px; top: 21px; height: 2px; border-radius: 2px; background: var(--ink); }
.tip-x::before { transform: rotate(45deg); }
.tip-x::after { transform: rotate(-45deg); }

/* a tray: the mist surface that keeps white paper off a white band */
.tray { position: relative; padding: clamp(14px, 2.6vw, 40px); background: var(--mist); border-radius: var(--r-band); }

/* a number on an annotated object */
.pin { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--yellow); font-family: var(--serif); font-size: 16px; font-style: normal; font-weight: 400; line-height: 1; }

/* posters: the object rises across the seam, and the pause button gets out of its way */
@media (min-width: 1001px) {
  .poster:not(.poster-short) .poster-in { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); }
  .poster:not(.poster-short) h1 { font-size: clamp(3rem, 6.5vw, 5.875rem); text-wrap: wrap; }
  .poster:has(.memo) .poster-in { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); }
  .poster:has(.memo) h1 { font-size: clamp(3rem, 5.6vw, 5.25rem); }
}
.poster .glass-pause, .doc-top .glass-pause { bottom: calc(var(--r-band) + 14px); }
@media (min-width: 1001px) { .hero .glass-pause, .poster .glass-pause, .doc-top .glass-pause { top: 92px; bottom: auto; } }
.fp-stick .glass-pause { right: 18px; bottom: 18px; }
@media (min-width: 1001px) { .fp-stick .glass-pause { bottom: calc(var(--r-band) + 14px); } } /* the footer's rounded edge slides over this corner on a short page */
.small > .glass-pause { bottom: calc(var(--r-band) + 14px); }
.small .btn-white { box-shadow: inset 0 0 0 1.5px var(--edge); }
.poster + .band { padding-top: calc(var(--sec) + 32px); }
@media (min-width: 1001px) { .poster:has(.apcard) + .band { padding-top: calc(var(--sec) + 108px); } }
.poster-obj > * { margin-left: auto; max-width: 440px; }
.poster-obj .deal { box-shadow: var(--lift-high); }
.poster-obj .memo { max-width: 560px; box-shadow: var(--lift-high); }
.poster-obj .apcard { max-width: 400px; box-shadow: var(--lift-high); }
.apcard-price { margin-top: 8px; padding: 8px 12px; background: var(--mist); border-radius: 10px; }
.apcard .ap-who { margin-top: 12px; }
.apcard .ap-k { margin-top: 12px; }
.apcard .tile { aspect-ratio: 4 / 3; }
.apcard .fake-btn { width: 100%; margin-top: 2px; }
.ask-side { position: sticky; top: 104px; }
.faq-h { margin-bottom: 4px; font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }
.faq + .faq-h { margin-top: 26px; padding-top: 22px; border-top: 1.5px solid var(--ink); }
.ask-side .tlink { margin-top: 10px; }
.closing .door-small a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-underline-offset: 4px; }
.win-cap { margin-top: clamp(24px, 3vw, 40px); font-size: 1rem; color: #fff; }
.band-ink > .wrap > h2 { max-width: 12em; }

/* a status pill wraps before it can run past the edge of a narrow window */
@container (max-width: 340px) { .wt .st { white-space: normal; border-radius: 10px; } }

/* FOR CREATORS. Two phones */
.work-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4.4vw, 72px); align-items: center; }
.work-copy .lede { margin-top: 18px; }
.phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 40px); align-items: end; }
.ph-fig figcaption { margin-top: 20px; }
.ph-fig h3 { margin-top: 10px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 1.875rem); line-height: 1.1; }
.ph-fig p { margin-top: 6px; color: var(--ink-2); font-size: 1rem; line-height: 1.42; text-wrap: pretty; }
.ph {
  position: relative; display: block; overflow: hidden;
  width: min(100%, 226px); aspect-ratio: 9 / 19; margin-inline: auto;
  border: 8px solid var(--ink); border-radius: 36px;
  background: #2F7FE0 url("../img/glass-tall.webp") 50% 100% / cover no-repeat;
  box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, var(--lift-high);
}
.ph::before { content: ""; position: absolute; left: 50%; top: 8px; z-index: 1; width: 62px; height: 14px; margin-left: -31px; border-radius: 10px; background: var(--ink); }
.ph-short { width: min(100%, 204px); aspect-ratio: 9 / 16.6; }
.ph-rail { position: absolute; right: 8px; bottom: 92px; display: grid; gap: 8px; }
.ph-rail i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(11,18,34,.62); }
.ph-rail svg { display: block; fill: #fff; }
.ph-cap { position: absolute; left: 10px; right: 10px; top: 24%; color: var(--ink); font-size: 1rem; font-weight: 700; line-height: 1.62; text-align: center; }
.ph-cap span { padding: 3px 8px; background: #fff; border-radius: 7px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ph-over { position: absolute; left: 10px; right: 10px; bottom: 18px; display: grid; gap: 6px; justify-items: start; font-size: 14px; line-height: 1.2; }
.ph-over b { padding: 4px 9px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 700; }
.ph-label { padding: 4px 9px; border-radius: 8px; background: #fff; color: var(--ink); font-weight: 600; }
.ph-bar { position: absolute; left: 10px; right: 10px; bottom: 8px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.5); }
.ph-bar::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 38%; border-radius: 3px; background: #fff; }

/* How to read a deal: the rows of the card and the notes share one grid, so every line lands on its own row */
.read-band { background: radial-gradient(60% 60% at 50% 46%, rgba(62,136,244,.62) 0%, rgba(62,136,244,0) 74%), linear-gradient(180deg, var(--cobalt) 0%, #0B3399 100%); }
.read-band h2 { text-align: center; }
.read { --gap: clamp(36px, 4.4vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px) minmax(0, 1fr); grid-template-rows: repeat(7, auto); column-gap: var(--gap); margin-top: clamp(36px, 4.6vw, 64px); }
.read-card { grid-column: 2; grid-row: 1 / -1; display: grid; grid-template-rows: subgrid; padding: 34px 32px 22px; font-size: 1.125rem; box-shadow: 0 1px 1px rgba(11,18,34,.08), 0 24px 34px -18px rgba(4,20,74,.6), 0 70px 100px -40px rgba(4,20,74,.85); }
.read-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0; padding-block: 15px; border-top: 1px solid rgba(11,18,34,.14); }
.read-card .read-row:first-child { padding-top: 2px; border-top: 0; }
.read-row:nth-child(2) { display: block; }
.read-pair { display: inline-flex; align-items: center; gap: 8px; }
.read-card .deal-brand { margin-top: 0; font-size: 1.1875rem; }
.read-card .deal-price { align-items: center; margin-top: 4px; }
.read-card .deal-fig { font-size: clamp(4.5rem, 7vw, 6.25rem); line-height: 1; }
.read-card .deal-price .pin { margin-left: auto; }
.read-card .deal-pay { padding-top: 15px; }
.read-notes { display: contents; }
.read-notes li { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; align-self: start; padding-block: 12px 24px; color: var(--sky-pale); line-height: 1.42; }
.read-notes .pin { grid-row: 1; background: var(--sky-pale); color: var(--ink); }
.read-notes h3 { grid-column: 2; font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 1.875rem); line-height: 1.1; color: #fff; }
.read-notes p { grid-column: 2; text-wrap: pretty; }
.read-notes li::after { content: ""; position: absolute; top: 25px; height: 1px; width: var(--gap); background: var(--sky-pale); }
.read-notes li:nth-child(odd) { grid-column: 1; grid-template-columns: minmax(0, 1fr) auto; text-align: right; }
.read-notes li:nth-child(odd) .pin { grid-column: 2; }
.read-notes li:nth-child(odd) h3, .read-notes li:nth-child(odd) p { grid-column: 1; }
.read-notes li:nth-child(odd)::after { left: 100%; }
.read-notes li:nth-child(even) { grid-column: 3; }
.read-notes li:nth-child(even)::after { right: 100%; }
.read-notes li:nth-child(1), .read-notes li:nth-child(2) { grid-row: 1; }
.read-notes li:nth-child(3) { grid-row: 2; }
.read-notes li:nth-child(4) { grid-row: 3; }
.read-notes li:nth-child(5) { grid-row: 4; }
.read-notes li:nth-child(6) { grid-row: 5; }
.read-notes li:nth-child(7) { grid-row: 6; }
.read-note { margin-top: 26px; text-align: center; color: var(--sky-pale); }

/* Your 30-second video: the instruction lives on the thing you film it on */
.vid-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5.4vw, 88px); align-items: center; }
.vid-stage { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; padding: clamp(28px, 4vw, 52px) 16px; background: var(--sky); border-radius: var(--r-band); box-shadow: 0 34px 60px -40px rgba(8,44,132,.7); }
.ph-big { width: min(100%, 322px); aspect-ratio: 9 / 18.6; display: flex; flex-direction: column; padding: 72px 12px 22px; border-width: 10px; border-radius: 46px; box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 50px 70px -36px rgba(4,20,74,.85); }
.ph-time { position: absolute; left: 50%; top: 30px; transform: translateX(-50%); padding: 1px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums; }
.ph-prompt { display: grid; gap: 7px; }
.ph-prompt li { padding: 12px 14px; background: #fff; border-radius: 15px; color: var(--ink); font-size: 1.0625rem; font-weight: 500; line-height: 1.3; }
.ph-rec { margin: auto auto 0; width: 70px; height: 70px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 6px rgba(255,255,255,.6), 0 16px 24px -8px rgba(4,20,74,.7); }
.vid-h { margin-top: 22px; }
.vid-copy .ticks { margin-top: 8px; }
.vid-reply { margin-top: 16px; color: var(--ink-2); text-wrap: pretty; }
.vid-copy .btn { margin-top: 24px; }

/* How you get paid: plain steps, in order. The numbers are labels, not buttons, and nothing moves */
.path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(32px, 4vw, 56px); counter-reset: p; }
.path li { padding: 18px clamp(16px, 1.7vw, 24px) 22px; background: var(--mist); border-radius: var(--r-card); counter-increment: p; }
.path li::before { content: counter(p); display: block; font-family: var(--serif); font-size: 2.25rem; line-height: 1; color: var(--cobalt); }
.path h3 { margin-top: 10px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2vw, 1.75rem); line-height: 1.12; text-wrap: balance; }
.path p { margin-top: 8px; font-size: 1.0625rem; line-height: 1.42; color: var(--ink-2); text-wrap: pretty; }
.sum-sheet { margin-top: 16px; padding: clamp(20px, 2.8vw, 40px); background: var(--mist); border-radius: var(--r-band); }
.sum-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.sum-top p { font-size: 1rem; color: var(--ink-2); }
.sum { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr); margin-top: 16px; }
.sum div + div { padding-left: clamp(16px, 2.4vw, 36px); border-left: 1px solid rgba(11,18,34,.2); }
.sum dt { font-weight: 600; }
.sum dd { font-family: var(--serif); font-size: clamp(2.5rem, 4.6vw, 4.25rem); line-height: 1.04; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.sum-you dd { font-size: clamp(3rem, 6.6vw, 6rem); }
.paid-tax { margin-top: 18px; max-width: 46rem; color: var(--ink-2); }

/* Who can join */
.who-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; margin-top: clamp(28px, 3.6vw, 48px); }
.who-grid .ticks { margin-top: 0; }
.who-grid .ticks li { padding-block: 13px; }
.pane-sky { display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; padding: clamp(26px, 3vw, 40px); color: var(--ink); background: var(--reeds), linear-gradient(165deg, #BFEAFC 0%, #8DD6F8 44%, #6CC8F6 100%); background-size: 14px 100%, auto; border-radius: var(--r-card); box-shadow: 0 30px 50px -36px rgba(8,44,132,.7); }
.pane-sky h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.25rem, 3.6vw, 3.25rem); line-height: 1.05; letter-spacing: -.01em; }
.pane-sky p { margin-top: 12px; font-weight: 500; line-height: 1.45; text-wrap: pretty; }
/* Founding Creators: the line beside its pane, on For creators */
.founding-grid { margin-top: 0; align-items: center; gap: clamp(24px, 4vw, 64px); }
.founding-grid .lede { margin-top: 14px; }
.founding-more { margin-top: 14px; color: var(--ink-2); line-height: 1.45; text-wrap: pretty; }

/* What we can't promise: the quietest moment on the page, on purpose */
.quiet-in { max-width: calc(860px + 2 * var(--gut)); }
.quiet h2 { font-family: var(--sans); font-size: 1.125rem; font-weight: 700; letter-spacing: 0; line-height: 1.4; }
.quiet-big { margin-top: 14px; font-family: var(--serif); font-size: clamp(1.75rem, 3.1vw, 2.75rem); line-height: 1.22; letter-spacing: -.008em; text-wrap: pretty; }

/* FOR BRANDS. The ledger: one sheet, two surfaces */
.split { position: relative; overflow: hidden; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto repeat(5, auto); margin-top: clamp(32px, 4vw, 56px); background: var(--white); border-radius: var(--r-card); box-shadow: 0 0 0 1px rgba(11,18,34,.07), var(--lift); }
.split-col { display: grid; grid-row: 1 / -1; grid-template-rows: subgrid; }
.split-us { background: var(--mist); }
.split h3 { padding: 34px clamp(20px, 3vw, 40px) 12px; font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 4vw, 3.5rem); line-height: 1; }
.split ol { display: contents; }
.split li { padding: 16px clamp(20px, 3vw, 40px); border-top: 1px solid rgba(11,18,34,.14); font-size: 1.1875rem; font-weight: 500; line-height: 1.35; }

/* What a creator profile looks like. Her photos sit in a plain frame: no filter, no overlay, no crop, nothing on top */
.profile { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(32px, 4vw, 56px); padding: clamp(28px, 3.4vw, 48px) clamp(16px, 3.4vw, 48px); background: var(--white); border-radius: var(--r-band); box-shadow: var(--lift); }
.profile-pics img { width: 100%; height: auto; }
.profile-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.profile-info h3 { margin-top: 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(3.5rem, 7vw, 6rem); line-height: 1; letter-spacing: -.016em; }
.profile-line { margin-top: 10px; font-size: clamp(1.1875rem, 1.7vw, 1.4375rem); line-height: 1.38; text-wrap: pretty; }
.stats { margin-top: 22px; }
.stats div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2px 20px; align-items: baseline; padding-block: 14px; border-top: 1px solid rgba(11,18,34,.16); }
.stats dt { font-family: var(--serif); font-size: clamp(2.5rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.profile-src { padding-top: 14px; border-top: 1px solid rgba(11,18,34,.16); font-size: 1rem; color: var(--ink-2); }
.profile-info .tlink { margin-top: 6px; }

/* Who owns the video: the license is a small document */
.own-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4.4vw, 72px); align-items: center; }
.own-grid .lede { margin-top: 16px; }
.own-grid .tlink { margin-top: 12px; }
.lic { position: relative; overflow: hidden; padding: 28px clamp(20px, 2.6vw, 32px) 18px; background: var(--white); border-radius: 12px; box-shadow: var(--lift); }
.lic-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lic-top p { font-family: var(--serif); font-size: 2rem; line-height: 1.1; }
.lic dl { margin-top: 12px; }
.lic dl div { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 2px 12px; padding-block: 11px; border-top: 1px solid rgba(11,18,34,.14); }
.lic dt { font-weight: 700; }
.lic dd::first-letter { text-transform: uppercase; }

.wrong-wrap { margin-top: clamp(28px, 3.6vw, 48px); }
.wrong-tray { margin-top: clamp(28px, 3.6vw, 48px); padding-block: clamp(6px, 1.4vw, 16px); }

/* What we don't take */
.nope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px clamp(28px, 4.6vw, 72px); margin-top: clamp(28px, 3.6vw, 48px); padding: clamp(24px, 3.4vw, 48px); }
.nope h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.875rem, 2.8vw, 2.5rem); line-height: 1.08; }
.nope p { margin-top: 8px; color: var(--ink-2); text-wrap: pretty; }
.nope p + h3 { margin-top: 26px; }
.nope-col:first-child p { font-size: clamp(1.1875rem, 1.7vw, 1.4375rem); line-height: 1.38; color: var(--ink); }

/* HOW IT WORKS. Type this size is a statement, not a text box */
.biglines { font-size: clamp(2.5rem, 6.15vw, 5.625rem); line-height: 1.08; letter-spacing: -.016em; max-width: none; text-wrap: wrap; }
.biglines > span { display: block; }
.two-col { margin-top: clamp(28px, 3.4vw, 44px); max-width: 44rem; font-size: clamp(1.1875rem, 1.7vw, 1.4375rem); line-height: 1.42; color: var(--ink-2); text-wrap: pretty; }

/* Every step: one plain row for each of the eight steps */
.phases { position: relative; overflow: clip; margin-top: clamp(32px, 4vw, 56px); background: var(--white); border-radius: var(--r-card); box-shadow: var(--lift); }
.phase { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 8px clamp(24px, 3.4vw, 56px); padding: clamp(20px, 2.4vw, 30px) clamp(20px, 3.2vw, 44px) clamp(12px, 1.4vw, 18px); }
.phase + .phase { border-top: 1px solid rgba(11,18,34,.26); }
.phase h3 { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: baseline; font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 2.7vw, 2.5rem); line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
.steps li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 4px 16px; padding-block: 14px; border-top: 1px solid rgba(11,18,34,.14); }
.steps li:first-child { padding-top: 6px; border-top: 0; }
.steps p { line-height: 1.45; text-wrap: pretty; }
.own { justify-self: start; align-self: start; margin-top: 1px; padding: 2px 10px 3px; border-radius: 7px 11px 8px 12px; font-size: .9375rem; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.own-b { background: var(--cobalt); color: #fff; }
.own-r { background: var(--ink); color: #fff; }
.own-c { background: var(--sky); color: var(--ink); }
.own-2 { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }

/* The deal memo: a real-looking document on a desk. Memo rows and margin notes share one grid, so each line lands on its row */
.memo-tray { margin-top: clamp(32px, 4vw, 56px); padding: clamp(18px, 5vw, 72px); }
.memo-desk { --gap: clamp(40px, 5.4vw, 88px); display: grid; grid-template-columns: minmax(0, 680px) minmax(0, 1fr); grid-template-rows: auto auto repeat(12, minmax(0, 1fr)) auto; column-gap: var(--gap); }
.memo-full { grid-column: 1; grid-row: 1 / -1; display: grid; grid-template-rows: subgrid; padding: 38px 44px 34px; box-shadow: var(--lift-high); }
.memo-full .memo-h { margin-top: 18px; margin-bottom: 8px; font-size: clamp(2.5rem, 4vw, 3.25rem); }
.memo-full dl { display: contents; }
.memo-full dl div { align-items: center; padding-block: 8px; }
.memo-full dd { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.memo-full .memo-sign { margin-top: 26px; padding-top: 34px; border-top: 1px solid rgba(11,18,34,.14); }
.memo-notes { display: contents; }
.memo-notes li { position: relative; grid-column: 2; display: flex; align-items: center; gap: 12px; align-self: center; font-weight: 500; line-height: 1.32; }
.memo-notes li::before { content: ""; position: absolute; right: 100%; top: 50%; width: var(--gap); height: 1px; background: var(--cobalt); }
.memo-notes li:nth-child(1) { grid-row: 6; }
.memo-notes li:nth-child(2) { grid-row: 7; }
.memo-notes li:nth-child(3) { grid-row: 8; }
.memo-notes li:nth-child(4) { grid-row: 10; }
.memo-notes li:nth-child(5) { grid-row: 12; }
.memo-note { position: relative; margin-top: 26px; font-size: 1rem; color: var(--ink); }

/* Where the money goes: a small yellow line, and its thickness is the money */
.money { background: radial-gradient(70% 70% at 50% 62%, rgba(62,136,244,.5) 0%, rgba(62,136,244,0) 74%), linear-gradient(180deg, var(--cobalt) 0%, #0B3399 100%); }
.flow-tag { margin-top: clamp(28px, 3.4vw, 44px); }
.flow { display: grid; grid-template-columns: minmax(0, 1fr) clamp(96px, 10.4vw, 140px) minmax(0, 1.1fr) clamp(96px, 10.4vw, 140px) minmax(0, 1fr); margin-top: 14px; }
.flow-pane { position: relative; min-height: 320px; padding: 26px clamp(18px, 2.2vw, 30px); border-radius: 28px; color: #fff; background: var(--reeds), linear-gradient(170deg, #0A359E, var(--cobalt-deep)); background-size: 14px 100%, auto; box-shadow: var(--lift-dark); }
.flow-pane h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 2.8vw, 2.5rem); line-height: 1.06; }
.flow-pane p { margin-top: 10px; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.34; }
.flow-link { position: relative; z-index: 1; display: grid; place-items: center; align-self: end; height: 48px; margin-bottom: 88px; }
.flow-link::before { content: ""; position: absolute; left: -44px; right: -44px; top: 50%; height: var(--th); margin-top: calc(var(--th) / -2); background: var(--yellow); border-radius: 99px; }
.flow-link span { position: relative; padding: 5px 14px 6px; border-radius: 999px; background: var(--ink); color: var(--yellow); font-family: var(--serif); font-size: clamp(1.375rem, 2.1vw, 1.75rem); line-height: 1; font-variant-numeric: tabular-nums; }
.flow-mid::before, .flow-mid::after { content: ""; position: absolute; left: 0; right: 50%; bottom: 104px; height: 16px; background: var(--yellow); }
.flow-mid::after { left: 50%; right: 0; bottom: calc(112px - 6.8px); height: 13.6px; }
.flow-keep { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 4px 13px 5px; border-radius: 999px; background: var(--ink); color: var(--yellow); font-family: var(--serif); font-size: 1.375rem; line-height: 1; font-variant-numeric: tabular-nums; }
.flow-keep::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 2.4px; height: 44px; margin-left: -1.2px; background: var(--yellow); }
.flow-lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px clamp(28px, 4vw, 64px); margin-top: clamp(28px, 3.4vw, 44px); padding-top: 22px; border-top: 1px solid rgba(191,234,252,.42); font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 1.875rem); line-height: 1.2; }
.flow-note { color: var(--sky-pale); }

/* Gifted deals */
.gift-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.gift-deal .deal { max-width: 400px; margin-inline: auto; box-shadow: var(--lift-high); }
.gift-deal .note { position: relative; max-width: 400px; margin: 26px auto 0; color: var(--ink); }
.gift-grid .lede { margin-top: 12px; }
.diffs { margin-top: 18px; }
.diffs li { padding-block: 12px; border-top: 1px solid rgba(11,18,34,.18); line-height: 1.42; text-wrap: pretty; }
.words-wrap { margin-top: clamp(24px, 3vw, 40px); }
.words-more { margin-top: 12px; }

/* PRICING. The receipts sit across the seam of two bands */
.poster-pricing { padding-bottom: calc(clamp(84px, 8vw, 112px) + 64px); }
.poster + .prices { padding-top: 0; }
.receipts-big { position: relative; z-index: 2; margin-top: -64px; align-items: stretch; }
.receipts-big .rc-wrap { display: grid; }
.receipts-big .receipt { display: flex; flex-direction: column; }
/* the creators' receipt is shorter, so its rows share the spare height and neither card ends in a blank */
.receipts-big .receipt-creators .rc-rows { flex: 1; display: grid; grid-auto-rows: 1fr; }
.receipts-big .receipt-creators .rc-rows div { align-items: center; }
@media (max-width: 1000px) { .receipts-big .rc-rows div { grid-template-columns: minmax(0, 1fr); align-content: center; } }
.receipts-big .rc-wrap::before { inset: 6px 6px 8px; box-shadow: 0 0 0 1px rgba(11,18,34,.1), 0 8px 18px -6px rgba(11,18,34,.28), 0 44px 70px -24px rgba(8,44,132,.62); }
.receipts-big .receipt-creators { background: var(--sky-pale); }
.receipts-big .receipt-creators .rc-box { background: var(--white); }
.receipts-big .receipt-brands .rc-top { margin: -34px calc(-1 * clamp(22px, 2.6vw, 36px)) 0; padding: 26px clamp(22px, 2.6vw, 36px) 16px; background: var(--ink); color: #fff; }
.rc-last { margin-top: 16px; font-weight: 600; }

/* Fee math: a working tool, not a picture of one. With no JS the tool is gone and the table stands in */
.calc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px clamp(20px, 3.4vw, 56px); margin-top: clamp(26px, 3.2vw, 44px); align-items: stretch; }
html:not(.js) .calc { display: none; }
html.js .calc-static { display: none; }
.calc-in label { display: block; font-weight: 600; font-size: 1.1875rem; }
.calc-field { display: flex; align-items: center; gap: 4px; margin-top: 10px; padding: 0 22px; min-height: 104px; background: var(--white); color: var(--ink); border-radius: var(--r-card); box-shadow: 0 24px 40px -24px rgba(4,20,74,.9); }
.calc-field span, .calc-field input { font-family: var(--serif); font-size: clamp(2.75rem, 4.8vw, 4rem); line-height: 1; }
.calc-field input { flex: 1; min-width: 0; min-height: 60px; padding: 0; border: 0; background: none; color: var(--ink); outline: 0; appearance: textfield; -moz-appearance: textfield; font-variant-numeric: tabular-nums; }
.calc-field input::-webkit-inner-spin-button, .calc-field input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.calc-field:focus-within { outline: 3px solid var(--yellow); outline-offset: 3px; }
.calc-warn { min-height: 1.6em; margin-top: 10px; font-weight: 600; color: var(--yellow); }
.calc-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.calc-pane { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 180px; padding: 20px clamp(16px, 1.8vw, 24px); border-radius: var(--r-card); background: var(--reeds), var(--cobalt-deep); background-size: 14px 100%, auto; box-shadow: var(--lift-dark); }
.calc-pane span { font-weight: 600; }
.calc-pane output { font-family: var(--serif); font-size: clamp(2.5rem, 4.6vw, 4.25rem); line-height: 1; letter-spacing: -.015em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.calc-you { background: var(--reeds), var(--ink); background-size: 14px 100%, auto; }
.calc-you output { color: var(--yellow); }
.calc-static { width: 100%; margin-top: 26px; border-collapse: collapse; border-radius: var(--r-card); overflow: hidden; background: var(--cobalt-deep); font-variant-numeric: tabular-nums; }
.calc-static th { padding: 14px 20px 8px; text-align: left; font-weight: 600; color: var(--sky-pale); }
.calc-static td { padding: 10px 20px; border-top: 1px solid rgba(191,234,252,.26); font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.1; }
.calc-note { color: var(--sky-pale); }

/* three equal cards. Subgrid holds each row level across the cards, so the prices and the buttons line up whatever the words do. Never a highlighted plan */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); margin-top: clamp(28px, 3.6vw, 52px); }
.plan { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; padding: clamp(22px, 2.6vw, 36px); background: var(--white); border-radius: var(--r-card); box-shadow: var(--lift); }
.plan h3 { font-size: 1.25rem; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 10px; margin-top: 10px; }
.plan-price b { font-family: var(--serif); font-weight: 400; font-size: clamp(3.5rem, 6.6vw, 6rem); line-height: 1; letter-spacing: -.02em; }
.plan-price span { font-size: 1.125rem; font-weight: 500; color: var(--ink-2); }
@media (min-width: 761px) and (max-width: 1180px) { .plan-price { display: block; } .plan-price span { display: block; margin-top: 2px; } }
.plan-cap { margin-top: 18px; padding-top: 16px; border-top: 2px solid var(--ink); font-size: 1.1875rem; font-weight: 700; line-height: 1.3; }
.plan-for { margin-top: 4px; color: var(--ink-2); line-height: 1.4; text-wrap: pretty; }
.plan .btn { align-self: end; width: 100%; margin-top: 24px; padding-inline: 16px; }
.plan-note { max-width: 46rem; margin: 22px auto 0; color: var(--ink-2); line-height: 1.45; text-align: center; text-wrap: balance; }

.plan-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4.4vw, 72px); align-items: center; margin-top: clamp(40px, 5vw, 72px); }
.plan-grid .lede { margin-top: 14px; }
.plan-h { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.06; letter-spacing: -.01em; text-wrap: balance; }
.plan-rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px clamp(16px, 2vw, 28px); margin-top: 16px; }
.plan-rules div { padding-top: 12px; border-top: 2px solid var(--ink); }
.plan-rules dt { font-weight: 700; }
.plan-rules dd { margin-top: 2px; color: var(--ink-2); line-height: 1.42; text-wrap: pretty; }
.ticks-big { margin-top: 0; }
.ticks-big li { padding-block: 15px; font-size: clamp(1.1875rem, 1.7vw, 1.3125rem); font-weight: 500; }
.ticks-big li::before { top: 17px; color: var(--cobalt); }

.ledger-big { margin-top: clamp(24px, 3vw, 40px); }
.ledger-big div { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding-block: 22px; border-top: 1px solid rgba(11,18,34,.2); }
.ledger-big div:first-child { border-top: 2px solid var(--ink); }
.ledger-big dt { font-size: clamp(2.5rem, 5.6vw, 5rem); line-height: 1; }
.ledger-big dd { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.38; text-wrap: pretty; }

/* GUIDES. A shelf, like a real publication */
.shelf-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; gap: 28px 16px; }
.shelf-2 .shelf-wide { grid-column: 1 / -1; }
.shelf-2 .cover { min-height: 340px; }
.shelf-2 li:not(.shelf-wide) .cover b { font-size: clamp(3.5rem, 7vw, 6.5rem); }
.shelf-2 .shelf-wide .gcard { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: clamp(20px, 3vw, 44px); align-content: end; }
.shelf-2 .shelf-wide .gcard .cover { grid-row: 1 / span 5; }
.shelf-2 .shelf-wide .cover b { font-size: clamp(5rem, 15vw, 13rem); }
.shelf-2 .shelf-wide .gcard-who { align-self: end; }
.shelf-2 .shelf-wide .gcard-t { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.06; }
.gcard-who { display: block; justify-self: start; width: fit-content; margin: 14px 0 0 4px; padding: 2px 10px 3px; background: var(--white); border-radius: 7px 11px 8px 12px; font-size: .9375rem; font-weight: 700; }
.gcard-who + .gcard-t { padding-top: 8px; }
.gcard-l { display: block; padding: 4px 4px 0; color: var(--ink-2); line-height: 1.4; text-wrap: pretty; }
.shelf-note { margin-top: 30px; color: var(--ink-2); font-size: 1rem; }

/* one guide: a cover, then a reading column with a sticky contents list */
.gp { position: relative; isolation: isolate; overflow: hidden; padding-block: 124px clamp(84px, 8vw, 112px); background-size: 14px 100%, auto; }
.gp-cobalt { color: #fff; background-image: var(--reeds), radial-gradient(46% 110% at 100% 100%, #2F78E8 0%, rgba(47,120,232,0) 72%); background-color: var(--cobalt); --focus: var(--yellow); }
.gp-sky { color: var(--ink); background-image: var(--reeds), linear-gradient(180deg, #8DD6F8, #6CC8F6); background-color: var(--sky); }
.gp-ink { color: #fff; background-image: var(--reeds), radial-gradient(60% 90% at 100% 100%, rgba(47,120,232,.55) 0%, rgba(47,120,232,0) 72%); background-color: var(--ink); --focus: var(--yellow); }
.gp-pale { color: var(--ink); background-image: var(--reeds), linear-gradient(180deg, #D6F2FE, var(--sky-pale)); background-color: var(--sky-pale); }
.gp-in { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(20px, 3vw, 48px); align-items: end; }
.gp h1 { font-size: clamp(2.75rem, 6.2vw, 5.75rem); }
.gp .lede { margin-top: 16px; color: inherit; max-width: 34em; font-weight: 500; }
.gp-cobalt .lede, .gp-ink .lede { color: #fff; }
.gp-meta { margin-top: 18px; font-size: 1rem; font-weight: 600; }
.gp-fig { font-family: var(--serif); font-size: clamp(5rem, 12vw, 11rem); line-height: .94; letter-spacing: -.024em; text-align: right; }
.gp-fig-2 { font-size: clamp(4rem, 8.6vw, 7.75rem); line-height: .98; }

.guide { padding-top: clamp(56px, 6vw, 84px); }
.toc { display: none; }
.prose { max-width: 700px; margin-inline: auto; font-size: 1.125rem; line-height: 1.6; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 56px; font-size: clamp(1.875rem, 3.2vw, 2.5rem); line-height: 1.1; text-wrap: balance; }
.prose h3 { font-size: 1.1875rem; }
.prose p { margin-top: 12px; text-wrap: pretty; }
.prose a:not(.btn):not(.next-g):not(.term) { color: var(--cobalt); text-underline-offset: 3px; }
.prose-lead { font-size: clamp(1.1875rem, 1.9vw, 1.375rem); line-height: 1.46; }
.first-read { padding: 16px 20px; background: var(--mist); border-radius: 16px; }
.first-read b { display: inline-block; margin-right: 6px; padding: 0 9px 1px; background: var(--yellow); border-radius: 7px 11px 8px 12px; }
.figs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: 10px; margin-top: 16px; }
.figs div { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 16px 18px; background: var(--mist); border-radius: 18px; }
.figs dt { font-weight: 700; font-size: 1rem; }
.figs dd { font-family: var(--serif); font-size: clamp(2.25rem, 4.6vw, 3.25rem); line-height: 1; letter-spacing: -.012em; }
.figs .figs-mid { color: #fff; background: var(--reeds), var(--cobalt); background-size: 14px 100%, auto; }
.figs-mid dd { font-size: clamp(3.25rem, 7vw, 5rem); }
.sheet-t { margin-top: 16px; padding: 4px clamp(14px, 2vw, 22px) 8px; background: var(--mist); border-radius: 18px; }
.gt { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.4; }
.gt thead th { padding: 12px 10px 8px 0; text-align: left; font-weight: 700; border-bottom: 2px solid var(--ink); }
.gt tbody th { padding: 11px 10px 11px 0; text-align: left; font-weight: 700; vertical-align: top; }
.gt td { padding: 11px 10px 11px 0; vertical-align: top; }
.gt tbody tr + tr > * { border-top: 1px solid rgba(11,18,34,.16); }
.t-note { font-size: 1rem; color: var(--ink-2); }
.num { counter-reset: n; margin-top: 8px; }
.num li { position: relative; counter-increment: n; padding: 12px 0 12px 44px; border-top: 1px solid rgba(11,18,34,.14); text-wrap: pretty; }
.num li:first-child { border-top: 0; }
.num li::before { content: counter(n); position: absolute; left: 0; top: 7px; font-family: var(--serif); font-size: 1.875rem; line-height: 1.2; color: var(--cobalt); }
.dots li { position: relative; margin-top: 10px; padding-left: 20px; }
.dots li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 8px; height: 8px; border-radius: 50%; background: var(--cobalt); }
.flags { margin-top: 12px; }
.flags li { position: relative; padding: 10px 0 10px 34px; border-top: 1px solid rgba(11,18,34,.14); text-wrap: pretty; }
.flags li:first-child { border-top: 0; }
.flags li::before, .flags li::after { content: ""; position: absolute; left: 3px; top: 1.2em; width: 18px; height: 2.5px; border-radius: 2px; background: var(--cobalt); }
.flags li::before { transform: rotate(45deg); }
.flags li::after { transform: rotate(-45deg); }
.clear-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.clear-grid > div { padding: 16px 20px 14px; border-radius: 18px; }
.clear-yes { background: var(--mist); }
.clear-no { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--edge); }
.clear-grid li { padding-block: 7px; border-top: 1px solid rgba(11,18,34,.16); font-weight: 500; line-height: 1.35; }
.clear-grid h3 { margin-bottom: 8px; }
.on-reg { position: relative; overflow: hidden; margin-top: 52px; padding: 30px clamp(20px, 3vw, 32px) 26px; background: var(--white); border-radius: var(--r-card); box-shadow: 0 0 0 1px rgba(11,18,34,.06), var(--lift); }
.on-reg-h { margin: 0 !important; font-family: var(--serif); font-size: 1.875rem; line-height: 1.1; }
.on-reg .btn { margin-top: 18px; }
.sources { margin-top: 10px; font-size: 1rem; line-height: 1.4; }
.sources li { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; min-height: 44px; padding-block: 6px; border-top: 1px solid rgba(11,18,34,.14); }
.sources li:first-child { border-top: 0; }
.sources a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.sources span { color: var(--ink-2); }
.next-g { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 44px; padding: 12px; background: var(--mist); border-radius: var(--r-card); text-decoration: none; transition: transform .16s ease-out; }
@media (hover: hover) { .next-g:hover { transform: translateY(-3px); } }
.next-g .cover { min-height: 140px; padding: 10px 12px; box-shadow: none; border-radius: 14px; }
.next-g .cover b { font-size: 2rem; line-height: 1; letter-spacing: -.01em; }
.next-g .cover .mark { left: 10px; top: 10px; width: 22px; height: 22px; }
.next-t span { display: block; padding: 0; font-size: 1rem; font-weight: 600; }
.next-t b { display: block; margin-block: 2px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.8vw, 2.125rem); line-height: 1.1; }
.g-end { margin-top: 20px !important; font-size: 1rem; color: var(--ink-2); }
.ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; align-items: start; }
.ba-before { padding: 22px 20px; background: var(--mist); border-radius: var(--r-card); }
.ba-before blockquote { margin-top: 14px; font-family: var(--serif); font-size: 1.5rem; line-height: 1.22; }
.ba-before p, .ba-after > p { margin-top: 14px; font-size: 1rem; line-height: 1.42; color: var(--ink-2); }
.tpl { position: relative; overflow: hidden; margin-top: 16px; padding: 28px clamp(18px, 3vw, 28px) 20px; background: var(--ink); color: #fff; border-radius: var(--r-card); --focus: var(--yellow); }
.tpl pre { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.62; white-space: pre-wrap; overflow-wrap: anywhere; }
.tpl-copy { margin-top: 16px; }
.closing-sm { padding-block: clamp(64px, 8vw, 112px) calc(clamp(64px, 8vw, 112px) + var(--r-band)); }
.closing-sm h2 { font-size: clamp(2.5rem, 5.6vw, 5.25rem); }
.closing-one { padding-block: clamp(84px, 10vw, 148px) calc(clamp(84px, 10vw, 148px) + var(--r-band)); }

/* the order of a paid deal: eight short steps, one source, read left to right */
.order-h { margin-top: clamp(32px, 4vw, 48px); font-family: var(--serif); font-weight: 400; font-size: clamp(1.625rem, 2.6vw, 2.25rem); line-height: 1.1; }
.order-p { margin-top: 8px; max-width: 46rem; color: var(--ink-2); text-wrap: pretty; }
.costs-p { margin-top: 14px; }
.costs-p .tlink { display: block; width: fit-content; margin-top: 6px; color: var(--ink); }
.order { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 28px); margin-top: 14px; counter-reset: o; }
.order li { counter-increment: o; display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: baseline; padding-block: 11px; border-top: 1px solid rgba(11,18,34,.22); font-weight: 600; line-height: 1.3; }
.order li::before { content: counter(o); font-family: var(--serif); font-size: 1.375rem; font-weight: 400; line-height: 1; color: var(--cobalt); }
.doc-order { counter-reset: o; margin-top: 10px; }
.doc .doc-order li { counter-increment: o; padding-left: 30px; }
.doc .doc-order li::before { content: counter(o) "."; left: 0; top: 0; width: auto; height: auto; border-radius: 0; background: none; font-weight: 700; }

/* two ways: post a deal, or browse and invite */
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: clamp(24px, 3vw, 36px); }
.way { padding: 24px clamp(20px, 2.4vw, 32px) 26px; background: var(--white); border-radius: var(--r-card); box-shadow: var(--lift); }
.way h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 2.8vw, 2.25rem); line-height: 1.08; text-wrap: balance; }
.way p { margin-top: 8px; color: var(--ink-2); text-wrap: pretty; }
.ways-h { margin-top: clamp(36px, 4.4vw, 60px); font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.1; }
.ways-tray { margin-top: 14px; padding: clamp(12px, 1.8vw, 24px); background: var(--mist); border-radius: var(--r-band); }
.head-next { margin-top: clamp(40px, 5vw, 64px); }
.head-h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.8vw, 3.25rem); line-height: 1.06; letter-spacing: -.01em; }
.head-next + .profile { margin-top: clamp(18px, 2.4vw, 28px); }

/* the contents list: guides and documents */
@media (min-width: 1100px) {
  .guide-grid, .doc-grid { display: grid; grid-template-columns: 236px minmax(0, 700px); gap: clamp(40px, 6vw, 96px); justify-content: center; align-items: start; }
  .doc-grid { grid-template-columns: 260px minmax(0, 820px); gap: clamp(28px, 3.4vw, 56px); }
  .toc { display: block; position: sticky; top: 104px; max-height: calc(100vh - 124px); overflow-y: auto; font-size: 1rem; line-height: 1.25; }
  .toc p { margin-bottom: 6px; font-weight: 700; }
  .toc ol { counter-reset: t; }
  .toc li { counter-increment: t; }
  .toc a { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; min-height: 44px; padding-block: 4px; color: var(--ink-2); text-decoration: none; }
  .toc a::before { content: counter(t); font-family: var(--serif); font-size: 1.125rem; color: var(--ink-2); }
  .toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
  .toc a[aria-current] { color: var(--ink); font-weight: 700; }
  .toc a[aria-current]::after { content: ""; position: absolute; left: 26px; right: 34%; bottom: 3px; height: 2px; border-radius: 2px; background: var(--cobalt); }
}

/* ABOUT */
.big-para { max-width: 23em; font-family: var(--serif); font-size: clamp(1.875rem, 3.7vw, 3.375rem); line-height: 1.17; letter-spacing: -.012em; text-wrap: pretty; }
.why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.define { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end; min-height: 460px; padding: clamp(16px, 2.2vw, 28px); background: var(--sky); border-radius: var(--r-band); box-shadow: var(--lift); }
.define .art img { object-position: 100% 100%; }
.define-card { padding: clamp(22px, 2.6vw, 32px); background: var(--white); color: var(--ink); border-radius: var(--r-card); box-shadow: var(--lift-high); }
.define-word { font-family: var(--serif); font-size: clamp(2.75rem, 4.8vw, 4.25rem); line-height: 1; letter-spacing: -.012em; }
.define-pos { margin-top: 8px; color: var(--ink-2); font-weight: 600; }
.define-text { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(11,18,34,.16); font-size: clamp(1.1875rem, 1.7vw, 1.4375rem); line-height: 1.35; font-weight: 500; }
.why-copy .lede { margin-top: 16px; }
.believe { background: linear-gradient(180deg, var(--cobalt) 0%, #0B3399 100%); }
.beliefs { counter-reset: b; margin-top: clamp(24px, 3vw, 44px); }
.beliefs li { counter-increment: b; display: grid; grid-template-columns: clamp(52px, 9vw, 132px) minmax(0, 1fr); padding-block: clamp(20px, 2.6vw, 36px); border-top: 1px solid rgba(191,234,252,.42); }
.beliefs li::before { content: counter(b); grid-row: 1 / span 2; font-family: var(--serif); font-size: clamp(2.5rem, 6.2vw, 5.5rem); line-height: 1.02; color: var(--sky-pale); }
.beliefs h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 6.2vw, 5.5rem); line-height: 1.04; letter-spacing: -.014em; text-wrap: balance; }
.beliefs p { margin-top: 8px; color: var(--sky-pale); font-size: clamp(1.125rem, 1.6vw, 1.3125rem); }

/* the founder note: a print resting on a sheet of paper, the only hand-placed thing on the site. Uncropped, no filter, no overlay */
.letter-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
.print { position: relative; z-index: 2; margin-right: -56px; overflow: hidden; border-radius: var(--r-card); box-shadow: var(--lift-high); }
.print img { width: 100%; height: auto; }
.letter { position: relative; overflow: hidden; padding: clamp(32px, 4.4vw, 64px) clamp(22px, 5vw, 72px) clamp(26px, 3.4vw, 44px) clamp(22px, 7.6vw, 112px); background: var(--white); border-radius: var(--r-card); box-shadow: var(--lift); }
.letter p { margin-top: 16px; font-size: clamp(1.125rem, 1.5vw, 1.25rem); line-height: 1.55; text-wrap: pretty; }
.letter a { color: var(--cobalt); text-underline-offset: 3px; overflow-wrap: anywhere; }
.letter-sign { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 16px; border-top: 2px solid var(--ink); }
.letter-sign p { margin: 0; line-height: 1.3; }
.letter-sign b, .letter-sign p span { display: block; }
.letter-logo { display: inline-flex; align-items: center; }
.letter-logo .logo { height: 28px; }
.company-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px clamp(24px, 4.4vw, 72px); align-items: start; }
.company { padding: 6px clamp(20px, 2.8vw, 36px); background: var(--mist); border-radius: var(--r-card); }
.company div { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); padding-block: 14px; }
.company dt { font-family: var(--sans); font-size: 1.0625rem; font-weight: 700; line-height: 1.4; letter-spacing: 0; }
.company a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; color: var(--cobalt); text-underline-offset: 3px; overflow-wrap: anywhere; }

/* HELP. It behaves like a real help center */
.help-search input { display: block; width: min(100%, 560px); min-height: 58px; margin-top: 22px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--white); color: var(--ink); font: inherit; box-shadow: 0 16px 30px -16px rgba(11,18,34,.5); }
.help-search input::placeholder { color: var(--ink-2); opacity: 1; }
.help-search input:focus { outline: 3px solid var(--ink); outline-offset: 3px; }
.help-grid { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: clamp(24px, 4.4vw, 72px); align-items: start; }
.help-index { position: sticky; top: 104px; }
.help-index a { display: flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }
.help-index a:hover { text-decoration: underline; text-underline-offset: 4px; }
.help-sheets { display: grid; gap: 16px; min-width: 0; }
.help-sheet h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); margin-bottom: 8px; }
.help-sheet details a { color: var(--cobalt); text-underline-offset: 3px; }
.help-none { padding: 26px 28px; background: var(--white); border-radius: var(--r-card); box-shadow: var(--lift); }
.help-none a { color: var(--cobalt); overflow-wrap: anywhere; }
.words > div:target { margin-inline: -14px; padding-inline: 14px; background: var(--ink-1); border-radius: 14px; }

/* CONTACT. The address is the page */
.mail-big { font-family: var(--serif); font-size: clamp(1.75rem, 6.9vw, 6.25rem); line-height: 1.06; letter-spacing: -.016em; }
.mail-big a { display: inline-block; min-height: 44px; color: var(--ink); text-decoration: none; }
.mail-big a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .12em; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(26px, 3.4vw, 44px); padding: clamp(12px, 1.8vw, 24px); }
.three-card { position: relative; overflow: hidden; padding: 28px 22px 24px; background: var(--white); border-radius: var(--r-card); box-shadow: var(--lift); }
.three-card h2 { font-size: clamp(1.75rem, 2.8vw, 2.25rem); line-height: 1.08; }
.three-card p { margin-top: 8px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.contact-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 40px; margin-top: 22px; }
.contact-warn { font-weight: 600; max-width: 44rem; }

/* the responsive rules for everything above */
@media (max-width: 1100px) {
  .path, .order { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
  .read { display: block; }
  .read-card { display: flex; max-width: 500px; margin-inline: auto; }
  .read-notes { display: block; max-width: 620px; margin: 28px auto 0; }
  .read-notes li, .read-notes li:nth-child(odd) { display: grid; grid-template-columns: auto minmax(0, 1fr); text-align: left; padding-block: 12px; border-top: 1px solid rgba(191,234,252,.4); }
  .read-notes li:nth-child(odd) .pin { grid-column: 1; }
  .read-notes li:nth-child(odd) h3, .read-notes li:nth-child(odd) p { grid-column: 2; }
  .read-notes li::after { content: none; }
  .read-note { text-align: left; max-width: 620px; margin-inline: auto; }
  .read-band h2 { text-align: left; max-width: 620px; margin-inline: auto; }
  .read-band { background: linear-gradient(180deg, var(--cobalt) 0%, #0B3399 100%); }
  .memo-desk { display: block; max-width: 760px; margin-inline: auto; }
  .memo-full { display: block; padding: 30px clamp(16px, 4vw, 40px) 26px; }
  .memo-full dl { display: block; }
  .memo-notes { display: block; margin-top: 18px; }
  .memo-notes li { padding-block: 10px; border-top: 1px solid rgba(11,18,34,.18); }
  .memo-notes li:first-child { border-top: 0; }
  .memo-notes li::before { content: none; }
  .memo-note { max-width: 760px; margin-inline: auto; }
}
@media (max-width: 1000px) {
  .poster { padding-bottom: 104px; }
  .poster .glass-pause { bottom: calc(var(--r-band) + 10px); }
  .poster-pricing .glass-pause { bottom: 106px; }
  .poster-pricing { padding-bottom: 168px; }
  .poster-obj > * { margin-inline: auto; max-width: 480px; }
  .poster-obj .memo { max-width: none; }
  .ask-side { position: static; }
  .work-grid, .vid-grid, .who-grid, .own-grid, .gift-grid, .plan-grid, .why-grid, .company-grid, .help-grid { grid-template-columns: minmax(0, 1fr); }
  .plan-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pane-sky { min-height: 300px; }
  .profile { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow-pane { min-height: 0; padding-bottom: 24px; }
  .flow-link { align-self: auto; height: 76px; margin: 0; }
  .flow-link::before { left: 50%; right: auto; top: 0; bottom: 0; width: var(--th); height: auto; margin: 0 0 0 calc(var(--th) / -2); }
  .flow-mid::before, .flow-mid::after { content: none; }
  .flow-keep { position: static; display: inline-block; margin-top: 14px; transform: none; }
  .flow-keep::before { content: none; }
  .flow-lines { grid-template-columns: minmax(0, 1fr); }
  .gift-deal { order: 2; }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .gp-in { grid-template-columns: minmax(0, 1fr); }
  .gp-fig { display: none; }
  .gp { padding-bottom: 76px; }
  .help-index ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .help-index { position: static; }
  .help-index a { padding: 0 16px; background: var(--white); border-radius: 999px; box-shadow: 0 8px 16px -10px rgba(8,44,132,.4); }
  .define { min-height: 340px; }
  .letter-wrap { display: block; }
  .print { width: min(78%, 340px); margin: 0 auto -32px; }
  .letter { padding: 60px clamp(20px, 5vw, 44px) 26px; }
  .phase { grid-template-columns: minmax(0, 1fr); }
  .three { grid-template-columns: minmax(0, 1fr); }
  .shelf-2 .shelf-wide .gcard { display: block; }
}
@media (max-width: 760px) {
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan { display: block; grid-row: auto; }
  .plan .btn { margin-top: 20px; }
  .path { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ways, .order { grid-template-columns: minmax(0, 1fr); }
  .path li { display: grid; grid-template-columns: 40px minmax(0, 1fr); padding-block: 16px 18px; }
  .path li::before { grid-row: 1 / span 2; font-size: 2rem; line-height: 1.1; }
  .path h3 { margin-top: 0; }
  .sum { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 0; }
  .sum-you { grid-column: 1 / -1; padding: 12px 0 0 !important; border-left: 0 !important; border-top: 1px solid rgba(11,18,34,.2); }
  .split { display: block; }
  .split-col { display: block; }
  .nope { grid-template-columns: minmax(0, 1fr); }
  .two-col { columns: 1; }
  .calc-out { grid-template-columns: minmax(0, 1fr); }
  .calc-pane { min-height: 0; flex-direction: row; align-items: baseline; }
  .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figs-mid { grid-column: 1 / -1; grid-row: 1; }
  .ba, .clear-grid { grid-template-columns: minmax(0, 1fr); }
  .shelf-2 { grid-template-columns: minmax(0, 1fr); }
  .shelf-2 .cover { min-height: 240px; }
  .ledger-big div { grid-template-columns: minmax(0, 1fr); }
  .phones { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ph { width: min(100%, 190px); }
  .ph-short { width: min(100%, 176px); }
  .ph-big { width: min(100%, 322px); }
  .gt-5 thead, .gt-3 thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .gt-5, .gt-5 tbody, .gt-5 tr, .gt-5 tbody th, .gt-5 td, .gt-3, .gt-3 tbody, .gt-3 tr, .gt-3 tbody th, .gt-3 td { display: block; }
  .gt-5 tr, .gt-3 tr { padding-block: 10px; }
  .gt-5 tbody tr + tr, .gt-3 tbody tr + tr { border-top: 1px solid rgba(11,18,34,.2); }
  .gt-5 tbody tr + tr > *, .gt-3 tbody tr + tr > * { border-top: 0; }
  .gt-5 tbody th, .gt-3 tbody th { padding: 0 0 4px; }
  .gt-5 td, .gt-3 td { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px; padding: 3px 0; }
  .gt-5 td::before, .gt-3 td::before { content: attr(data-th); color: var(--ink-2); font-weight: 500; }
}
@media (max-width: 560px) {
  .read-card { padding: 28px 18px 18px; }
  .mail-big { font-size: 9.55vw; }
  .stats div { grid-template-columns: minmax(0, 1fr); }
  .next-g { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .next-g .cover { min-height: 104px; }
  .next-g .cover b { font-size: 1.375rem; }
  .next-g .cover .mark { display: none; }
  .company div { grid-template-columns: minmax(0, 1fr); }
  .steps li { grid-template-columns: minmax(0, 1fr); }
}


@media print {
  .nav, .art, canvas.glass, .glass-pause { display: none; }
  .hero, .fp-side, .doc-top { background: none; }
  .hero-in::after, .hero::after, .deep::before, .deep::after { display: none; }
  .deep { background: none; color: var(--ink); }
  .deep .lede, .gb-end, .gb-end .note { color: var(--ink); }
}
