/* Form5500 Data. "Morning" (picked by Kyle on 2026-11-16; mock-ups in review/premium_mockups/morning/): white and
   deep green fields, a serif for headlines (the system's own: New York on Apple devices), Public Sans for reading,
   brass for what matters. No hairline rules, no tiny letter-spaced labels, no italics.
   Everything is served from this site (strict CSP: no inline style, so delays and bar heights are classes or set
   by home.js). Chapters set colour roles (--bg, --fg ...), so a block can sit on any chapter's colour. */

@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #ffffff; --stone: #f2f4f0; --stone2: #e4e8e2; --stone3: #d3d9d1;
  --ink: #0d1813; --ink-soft: #3c4943; --ink-muted: #5c6962;
  --vault: #0f2a23; --vault2: #0b211b; --vault3: #06150f;
  --on: #f5f3ee; --on-soft: #c6d1cb; --on-muted: #8fa298;
  --brass: #d2b06d; --brass-hi: #e8cf9a; --brass-lo: #a8843f;
  --green: #0b5d45; --green-hi: #14805f;
  --paper: #ffffff;
  --serif: ui-serif, "New York", "Iowan Old Style", Charter, "Bitstream Charter", Georgia, serif;
  --sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --edge: max(48px, (100vw - 1440px) / 2);
  --col: min(1440px, 100% - 96px);
}

/* ---------- chapters: one colour field each ---------- */
:root, .ch--white { --bg: var(--white); --fg: var(--ink); --fg2: var(--ink-soft); --fg3: var(--ink-muted);
  --hi: var(--vault); --hi-fg: #fff; --accent: var(--green); --panel: var(--stone); --bar: #dfe4dd;
  --num: var(--vault); --btn: var(--vault); --btn-fg: #fff; --band: #f2f4f0; --panel-solid: #f2f4f0; }
.ch--stone { --bg: var(--stone); --fg: var(--ink); --fg2: var(--ink-soft); --fg3: var(--ink-muted);
  --hi: var(--vault); --hi-fg: #fff; --accent: var(--green); --panel: var(--white); --bar: #d9dfd7;
  --num: var(--vault); --btn: var(--vault); --btn-fg: #fff; --band: #e8ece6; --panel-solid: #fff; }
.ch--vault, .notice, .figs, .cover__side, .cover__limits, .testmode {
  --bg: var(--vault); --fg: var(--on); --fg2: var(--on-soft); --fg3: var(--on-muted);
  --hi: var(--brass); --hi-fg: var(--vault3); --accent: var(--brass-hi); --panel: rgba(255, 255, 255, .045);
  --bar: rgba(255, 255, 255, .11); --num: var(--brass-hi);
  --btn: var(--brass); --btn-fg: var(--vault3); --band: rgba(255, 255, 255, .05); --panel-solid: #1a342d; }
.ch--deep, .foot { --bg: var(--vault2); --fg: var(--on); --fg2: var(--on-soft); --fg3: var(--on-muted);
  --hi: var(--brass); --hi-fg: var(--vault3); --accent: var(--brass-hi); --panel: rgba(255, 255, 255, .04);
  --bar: rgba(255, 255, 255, .1); --num: var(--brass-hi);
  --btn: var(--brass); --btn-fg: var(--vault3); --band: rgba(255, 255, 255, .045); --panel-solid: #152b25; }
.ch { background: var(--bg); color: var(--fg); position: relative; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.5 var(--sans); color: var(--ink); background: var(--white); overflow-x: clip;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
b, strong { font-weight: 650; }
em { font-style: normal; }
img { display: block; max-width: 100%; }
svg { display: block; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.ch--vault :focus-visible, .ch--deep :focus-visible, .cover__side :focus-visible, .notice :focus-visible { outline-color: var(--brass-hi); }
code, pre, kbd { font: inherit; }
sup { font-size: .7em; line-height: 0; }
.wrap { width: min(1440px, 100% - 96px); margin-inline: auto; }
.copy-scratch { position: fixed; top: 0; left: 0; opacity: 0; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- type ---------- */
.h1 { font-family: var(--serif); font-weight: 500; letter-spacing: -.034em; line-height: .98; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 4.1vw, 78px); line-height: 1.02; letter-spacing: -.03em; }
.h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 2.1vw, 40px); line-height: 1.1; letter-spacing: -.02em; }
.sub { margin-top: 26px; font-size: clamp(18px, 1.15vw, 21px); line-height: 1.55; color: var(--fg2); max-width: 31em; }
.fine { font-size: 15px; line-height: 1.5; color: var(--fg3); }
.sec { padding: clamp(96px, 8vw, 160px) 0; }
.h1, .h2, .h3 { text-wrap: balance; }
.sub, .panel p { text-wrap: pretty; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 30px; border: 0; border-radius: 999px;
  background: var(--btn); color: var(--btn-fg); font: 650 17.5px/1.1 var(--sans); letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  transition: transform .4s var(--ease), filter .2s; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn .arr { display: inline-block; transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn--big, .act .btn { min-height: 64px; padding: 0 34px; font-size: 18.5px; }
.btn--s { min-height: 48px; padding: 0 22px; font-size: 16px; }
.btn--line { background: var(--stone); color: var(--ink); }
.linkbtn { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-decoration: underline;
  text-decoration-thickness: .08em; text-underline-offset: .2em; }
.linkbtn:hover { text-decoration-thickness: .14em; }
.go { display: inline-block; margin-top: 22px; font-weight: 650; color: var(--fg); }
.go::after { content: " \2192"; }

/* ---------- strips above the page ---------- */
.resume { background: var(--brass-hi); color: var(--vault3); }
.resume__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 14px; }
.resume p { font-family: var(--serif); font-size: clamp(20px, 1.5vw, 26px); letter-spacing: -.015em; }
.resume .btn { background: var(--vault); color: #fff; }
.testmode { margin: 0; padding: 11px max(24px, (100% - 1440px) / 2); background: var(--vault3); color: var(--on-soft); font-size: 14.5px; }
.testmode b { margin-right: .4em; color: var(--brass-hi); }
.testmode span { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--on); }

/* ---------- top bar and footer ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1440px, 100% - 96px); min-height: 100px; margin-inline: auto; position: relative; z-index: 2; }
.wordmark, .foot__mark { display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: -.015em; text-decoration: none; color: var(--vault); white-space: nowrap; }
/* The logo, Fold F (picked by Kyle on 2026-11-29; the family and its rules are in review/logo/). Beside the wordmark:
   the bare mark, green on white, white and brass on the dark green. Where a picture stands in for Claude's own icon
   (the walk-through), the green tile. */
.logo { display: inline-block; width: 22px; height: 24px; flex: none; background: url(logo.svg) center / contain no-repeat; }
.foot__mark .logo, .cover__side .logo { background-image: url(logo-on-dark.svg); }
.top__nav { display: flex; align-items: center; gap: 36px; font-size: 16.5px; }
.top__nav a:not(.btn), .top__nav span { color: var(--ink-soft); text-decoration: none; transition: color .2s; }
.top__nav a:not(.btn):hover { color: var(--ink); }
.top__nav [aria-current] { color: var(--ink); font-weight: 650; }
.top__nav .btn { margin-left: 4px; }
.foot { padding: 72px 0 56px; background: var(--bg); color: var(--fg); }
.foot__row { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; }
.foot__mark { color: var(--on); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 16px; }
.foot__nav a { color: var(--fg2); text-decoration: none; overflow-wrap: anywhere; }
.foot__nav a:hover { color: var(--fg); text-decoration: underline; }
.foot__fine { margin-top: 40px; max-width: 60em; font-size: 15px; line-height: 1.5; color: var(--fg3); }

/* ---------- motion: words rise, blocks fade up as they reach the screen (home.js adds .js) ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; }
.js .w > span { transform: translateY(110%); transition: transform 1.25s var(--ease); transition-delay: calc(var(--i, 0) * 70ms + 100ms); }
.js .ready .w > span { transform: none; }
.js [data-r] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-r].in { opacity: 1; transform: none; }

/* =============================== the home page =============================== */

/* ---------- the example answer, on paper ---------- */
.paper { position: relative; background: var(--paper); color: var(--ink); border-radius: 12px; padding: 34px 40px 30px;
  box-shadow: 0 60px 120px rgba(2, 12, 8, .48), 0 14px 32px rgba(2, 12, 8, .24); }
.paper::after { content: ""; position: absolute; left: 26px; right: 26px; bottom: -12px; height: 12px; border-radius: 0 0 12px 12px; background: rgba(252, 252, 250, .16); z-index: -1; }
.paper__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; color: var(--ink-muted); }
.conn { display: inline-flex; align-items: center; gap: 9px; color: var(--green); font-weight: 600; }
.conn i { width: 8px; height: 8px; border-radius: 50%; background: var(--green-hi); animation: pulse 2.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(20, 128, 95, .45); } 70%, 100% { box-shadow: 0 0 0 10px rgba(20, 128, 95, 0); } }
.ask { margin-top: 22px; }
.ask__who { display: block; font-size: 14.5px; color: var(--ink-muted); }
.ask__q { display: block; margin-top: 6px; font-family: var(--serif); font-weight: 500; font-size: 27px; line-height: 1.24; letter-spacing: -.012em; }
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 3px; vertical-align: -.14em; background: var(--green); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.tool { margin-top: 20px; display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--ink-muted); background: var(--stone); padding: 11px 16px; border-radius: 12px; }
.tool b { color: var(--ink); font-weight: 600; }
.tool__bar { flex: 1; min-width: 40px; height: 4px; border-radius: 4px; background: var(--stone2); overflow: hidden; }
.tool__bar i { display: block; height: 100%; background: var(--green); transform-origin: left; }
.js .tool__bar i { transform: scaleX(0); }
.js .tool.on .tool__bar i { transform: scaleX(1); transition: transform 1.1s var(--ease-io); }
.tool__price { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }
.reply { margin-top: 20px; }
.reply__a { font-size: 18.5px; line-height: 1.5; color: var(--ink-soft); }
.reply__a strong { color: var(--ink); font-weight: 650; }
.reply__note { margin-top: 12px; font-size: 14.5px; line-height: 1.45; color: var(--ink-muted); }
.t { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 18px; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.t th { font-weight: 500; font-size: 13.5px; color: var(--ink-muted); text-align: right; padding: 0 12px 10px; white-space: nowrap; }
.t td { text-align: right; padding: 12px; color: var(--ink); white-space: nowrap; }
.t .l { text-align: left; }
.t tbody tr:nth-child(odd) td { background: #f0f2ee; }
.t tbody td:first-child { border-radius: 8px 0 0 8px; }
.t tbody td:last-child { border-radius: 0 8px 8px 0; }
.t tr.sum td { font-weight: 650; }
.chip { display: inline-block; margin-left: 8px; padding: 3px 10px; border-radius: 999px; background: var(--vault); color: var(--brass-hi); font-size: 12.5px; font-weight: 600; vertical-align: 1px; }
.paper__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 18px; font-size: 13.5px; line-height: 1.5; color: var(--ink-muted); }
.paper__foot b { color: var(--ink); font-weight: 650; white-space: nowrap; font-size: 15px; }
.js .reply__a, .js .t td, .js .t th, .js .reply__note { opacity: 0; transform: translateY(8px); transition: opacity .55s var(--ease), transform .7s var(--ease); }
.js .t td { transition-delay: calc(var(--k, 0) * 110ms + 220ms); }
.js .reply__note { transition-delay: 820ms; }
.js .t th { transition-delay: 120ms; }
.js .reply.on .reply__a, .js .reply.on .t td, .js .reply.on .t th, .js .reply.on .reply__note { opacity: 1; transform: none; }
.paper .ask__q, .paper .tool, .paper .reply { transition: opacity .35s; }
.paper.swap .ask__q, .paper.swap .tool, .paper.swap .reply { opacity: 0; }
.dots { display: flex; gap: 8px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #cfd6cf; transition: background .4s, width .4s var(--ease); }
.dots i.on { width: 22px; border-radius: 4px; background: var(--green); }

/* the filing as filed, tilted behind the clean answer; a light passes over it while Claude looks the answer up */
.stack { position: relative; }
.stack .paper { position: relative; z-index: 1; }
.filing { position: absolute; left: -34px; right: 56px; top: -54px; margin: 0; border-radius: 6px; overflow: hidden; transform: rotate(-2.4deg);
  box-shadow: 0 30px 70px rgba(2, 12, 8, .38); }
.filing img { display: block; width: 100%; height: auto; filter: grayscale(1) contrast(1.04); }
.filing .scan { position: absolute; inset: 0; pointer-events: none; opacity: 0; mix-blend-mode: multiply;
  background: linear-gradient(100deg, transparent 30%, rgba(210, 176, 109, .85) 50%, transparent 70%); transform: translateX(-80%); }
.stack.reading .filing .scan { animation: scan 1.9s var(--ease-io) both; }
@keyframes scan { 0% { opacity: 0; transform: translateX(-80%); } 15%, 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(80%); } }
.js .filing { opacity: 0; transform: translate(-14px, 26px) rotate(-6deg); transition: opacity 1s var(--ease), transform 1.5s var(--ease); transition-delay: 120ms; }
.js .in .filing { opacity: 1; transform: rotate(-2.4deg); }
.js .stack .paper { transition: transform 1.3s var(--ease); transition-delay: 380ms; transform: translateY(34px); }
.js .in .stack .paper { transform: none; }

/* a slow light that drifts behind the card */
.glow { position: absolute; inset: -35%; pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side, rgba(210, 176, 109, .17), rgba(210, 176, 109, .05) 55%, transparent 75%);
  animation: drift 24s var(--ease-io) infinite alternate; }
@keyframes drift { from { transform: translate(-16%, -10%) scale(1); } to { transform: translate(14%, 12%) scale(1.18); } }

/* ---------- the first screen: the headline across the page, the green field running off the right ---------- */
.hero__h { font-size: clamp(54px, 6.3vw, 124px); max-width: 12.4em; padding-top: 32px; color: var(--vault); }
.hero__under { display: grid; grid-template-columns: 5fr 7fr; gap: 88px; margin-top: 72px; align-items: start; }
.hero__copy { padding-top: 8px; }
.hero__copy .sub { margin-top: 0; font-size: clamp(19px, 1.25vw, 23px); }
.hero__field { position: relative; isolation: isolate; overflow: hidden; background: var(--vault); border-radius: 36px 0 0 0;
  margin-right: calc(var(--edge) * -1); padding: 112px var(--edge) 72px 88px; }
.hero__field .paper { max-width: 780px; }
.act { margin-top: 44px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.act p { font-size: 15.5px; line-height: 1.5; color: var(--fg3); }
.act p a { color: var(--fg2); }

.asks { display: grid; gap: 6px; max-width: 34em; }
.asks__lead { margin-top: 64px; font-size: 15.5px; color: var(--fg3); }
.asks__lead + .asks, .asks__lead + .firms { margin-top: 14px; }
.asks button { all: unset; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: baseline; width: 100%; cursor: pointer;
  padding: 16px 20px 18px; border-radius: 16px; font-family: var(--serif); font-size: clamp(19px, 1.2vw, 22px); line-height: 1.3; letter-spacing: -.01em; color: var(--fg3); transition: color .4s, background .4s; }
.asks button span { font-family: var(--sans); font-size: 15px; font-weight: 600; }
.asks button:hover { color: var(--fg); }
.asks button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.asks li.on button { color: var(--fg); background: var(--panel); }
/* a progress line under whichever item is playing (questions, firms, steps) */
.prog { display: block; height: 3px; border-radius: 3px; overflow: hidden; }
.prog i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
li:not(.on) > .prog i { transform: scaleX(0) !important; transition: none !important; }
.asks .prog { margin: -8px 20px 0; }
.asks__lead { display: none; }   /* "Click a question": only true with the script */
.js .asks__lead { display: block; }
html:not(.js) .asks { margin-top: 64px; }

/* ---------- three figures ---------- */
.bigfigs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; padding: 64px 0 72px; }
.bigfigs b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 4.5vw, 86px); line-height: 1; letter-spacing: -.035em; color: var(--num); font-variant-numeric: lining-nums tabular-nums; }
.bigfigs span { display: block; margin-top: 16px; font-size: 18px; color: var(--fg2); }

/* ---------- the data: plans by year, then two charts side by side ---------- */
.data { display: grid; grid-template-columns: 6fr 7fr; gap: 96px; align-items: end; }
.data .h2 { font-size: clamp(40px, 3.6vw, 68px); }
.big { display: flex; gap: 64px; margin-top: 56px; }
.big b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 2.8vw, 52px); letter-spacing: -.03em; color: var(--num); font-variant-numeric: lining-nums tabular-nums; }
.big span { display: block; margin-top: 6px; font-size: 16px; color: var(--fg3); }
.bars { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.4vw, 24px); height: 460px; align-items: end; }
.bar { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-width: 0; }
.bar b { font-size: clamp(16px, 1.25vw, 23px); font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-bottom: 14px; white-space: nowrap; }
.bar i { display: block; height: calc(var(--h, 1) * 84%); border-radius: 16px 16px 5px 5px; background: var(--bar); transform-origin: bottom; }
.bar.hi i { background: var(--hi); }
.bar.part i { background: repeating-linear-gradient(135deg, var(--bar) 0 10px, transparent 10px 20px); box-shadow: inset 0 0 0 2px var(--bar); }
.bar span { margin-top: 14px; min-height: 2.75em; font-size: 16px; color: var(--fg3); }
.bar span em { display: block; font-size: 14px; }
.js .bar i { transform: scaleY(0); transition: transform 1.6s var(--ease); transition-delay: calc(var(--k, 0) * 120ms + 150ms); }
.js .in .bar i, .js .bars.in i { transform: none; }
.js .bar b { opacity: 0; transition: opacity .8s; transition-delay: calc(var(--k, 0) * 120ms + 500ms); }
.js .bars.in b { opacity: 1; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 96px; }
.panel { background: var(--panel); border-radius: 28px; padding: clamp(32px, 3vw, 56px); display: flex; flex-direction: column; }
.panel .h3 + p { margin-top: 16px; font-size: 17.5px; line-height: 1.55; color: var(--fg2); max-width: 32em; }
.panel__fig { margin-top: auto; padding-top: 44px; }
.waffle-row { display: flex; gap: 44px; align-items: flex-end; }
.waffle { display: grid; grid-template-columns: repeat(10, 1fr); gap: 7px; width: min(360px, 100%); flex: none; }
.waffle i { aspect-ratio: 1; border-radius: 6px; background: var(--bar); }
.waffle i.lg { background: var(--hi); }
.js .waffle i { opacity: 0; transform: scale(.3); transition: opacity .5s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--w, 0) * 26ms + 100ms); }
.js .in .waffle i { opacity: 1; transform: none; }
.key { display: grid; gap: 22px; font-size: 16px; color: var(--fg2); }
.key b { display: block; font-family: var(--serif); font-weight: 500; font-size: 34px; letter-spacing: -.03em; color: var(--fg); font-variant-numeric: lining-nums tabular-nums; }
.key i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; background: var(--bar); vertical-align: 0; }
.key i.lg { background: var(--hi); }
.line { width: 100%; height: auto; overflow: visible; }
.line .band { fill: var(--band); }
.line .lbl { fill: var(--fg3); font: 500 17px var(--sans); }
.line .val { fill: var(--fg); font: 650 19px var(--sans); }
.line .yr { fill: var(--fg3); font: 500 18px var(--sans); }
.line .draw { fill: none; stroke: var(--hi); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.line .later { fill: none; stroke: var(--hi); stroke-width: 4; stroke-dasharray: 2 10; stroke-linecap: round; }
.line circle { fill: var(--panel-solid); stroke: var(--hi); stroke-width: 4; }
.js .line .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.9s var(--ease-io) .2s; }
.js .in .line .draw { stroke-dashoffset: 0; }
.js .line .pt, .js .line .later { opacity: 0; transition: opacity .6s; transition-delay: calc(var(--k, 0) * 380ms + 350ms); }
.js .in .line .pt, .js .in .line .later { opacity: 1; }

/* a section's headline on the left, its sentence on the right */
.head { display: grid; grid-template-columns: 7fr 5fr; gap: 96px; align-items: end; }
.head .sub { margin-top: 0; padding-bottom: .4em; }
.cap { margin-top: 22px; font-size: 15px; color: var(--fg3); }

/* ---------- names as filed: a line from every name into the firm behind it, firm by firm ---------- */
.tangle-top { display: flex; align-items: center; gap: 22px; margin-top: 72px; flex-wrap: wrap; }
.tangle-top .asks__lead { display: block; margin: 0; }
.firms { display: flex; gap: 10px; flex-wrap: wrap; }
.firms li { position: relative; }
.firms button { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 24px;
  border-radius: 999px; background: var(--panel); color: var(--fg2); font-size: 16.5px; font-weight: 600; transition: background .4s, color .4s; }
.firms button span { font-weight: 500; color: var(--fg3); font-variant-numeric: tabular-nums; transition: color .4s; }
.firms button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.firms li.on button { background: var(--hi); color: var(--hi-fg); }
.firms li.on button span { color: inherit; opacity: .72; }
.firms .prog { position: absolute; left: 24px; right: 24px; bottom: 9px; height: 2px; }
.firms .prog i { background: var(--brass-hi); }
.tangle { display: grid; grid-template-columns: minmax(0, 440px) minmax(100px, 1fr) minmax(280px, 380px); align-items: center; margin-top: 44px; }
.tangle__names { display: grid; gap: 10px; }
.tangle__names li { height: 50px; display: flex; align-items: center; padding: 0 20px; border-radius: 12px; background: var(--panel);
  font-size: 15.5px; font-weight: 500; letter-spacing: .01em; color: var(--fg2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tangle__names li:empty { visibility: hidden; }
.js .tangle__names li { opacity: 0; transform: translateX(-14px); transition: opacity .3s, transform .3s; }
.js .tangle.lit .tangle__names li { opacity: 1; transform: none; transition: opacity .6s var(--ease) calc(var(--k, 0) * 70ms), transform .8s var(--ease) calc(var(--k, 0) * 70ms); }
.tangle__lines { align-self: stretch; width: 100%; height: 100%; overflow: visible; }
.tangle__lines path { fill: none; stroke: var(--hi); stroke-width: 2.5; stroke-linecap: round; opacity: .5; }
.js .tangle__lines path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .3s; }
.js .tangle.lit .tangle__lines path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease-io) calc(var(--k, 0) * 90ms + 300ms); }
.tangle__to { background: var(--hi); color: var(--hi-fg); border-radius: 28px; padding: 40px 40px 36px; }
.tangle__to b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 2.8vw, 52px); letter-spacing: -.025em; line-height: 1.02; }
.tangle__to > span:last-child { display: block; margin-top: 12px; font-size: 17px; opacity: .78; font-variant-numeric: tabular-nums; }
.tangle__arrow { display: none; }
.js .tangle__to b, .js .tangle__to > span:last-child { transition: opacity .3s; }
.js .tangle:not(.lit) .tangle__to b, .js .tangle:not(.lit) .tangle__to > span:last-child { opacity: 0; }
.js .tangle.lit .tangle__to b, .js .tangle.lit .tangle__to > span:last-child { opacity: 1; transition: opacity .7s 900ms; }
.js .tangle.lit .tangle__to { animation: land 1s var(--ease) 1.2s both; }
@keyframes land { 0% { transform: none; } 30% { transform: scale(1.04); } 100% { transform: none; } }

/* one column per plan year (showcase.MAX_COLS): .c2 .. .c10 */
.bars.c2, .deals__years.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bars.c3, .deals__years.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bars.c4, .deals__years.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bars.c5, .deals__years.c5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bars.c6, .deals__years.c6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.bars.c7, .deals__years.c7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.bars.c8, .deals__years.c8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.bars.c9, .deals__years.c9 { grid-template-columns: repeat(9, minmax(0, 1fr)); }
.bars.c10, .deals__years.c10 { grid-template-columns: repeat(10, minmax(0, 1fr)); }

/* ---------- recordkeeper sales: a timeline, each sale arriving in its year ---------- */
.deals { margin-top: 80px; }
.deals__years { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.dyr__n { position: relative; padding-bottom: 34px; font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 2.8vw, 54px);
  letter-spacing: -.03em; line-height: 1; color: var(--fg3); font-variant-numeric: lining-nums; transition: color .5s; }
.dyr__n em { font: 500 15px/1 var(--sans); letter-spacing: 0; margin-left: 12px; white-space: nowrap; vertical-align: .5em; }
.dyr__n::before, .dyr__n::after { content: ""; position: absolute; left: 0; right: -20px; bottom: 9px; height: 4px; border-radius: 2px; background: var(--bar); }
.dyr:last-child .dyr__n::before, .dyr:last-child .dyr__n::after { right: 0; }
.dyr__n::after { background: var(--brass); transform-origin: left; }
.dyr__dot { position: absolute; z-index: 1; left: 0; bottom: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--brass); box-shadow: inset 0 0 0 4px var(--brass), 0 0 0 6px rgba(210, 176, 109, .25); transition: background .4s, box-shadow .4s; }
.dyr ul { display: grid; gap: 12px; margin-top: 30px; }
.deal { border-radius: 20px; padding: 22px 24px 24px; background: var(--panel-solid); box-shadow: 0 18px 40px rgba(13, 24, 19, .06); }
.deal__from { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 1.55vw, 29px); line-height: 1.15; letter-spacing: -.015em; }
.deal__to { display: flex; align-items: baseline; gap: 9px; margin-top: 10px; font-size: 16.5px; font-weight: 600; color: var(--accent); }
.deal__to i { font-style: normal; color: var(--brass-lo); }
.dyr__n { color: var(--fg); }
.js .dyr__n { color: var(--fg3); }
.js .dyr:not(.on) .dyr__dot { background: var(--bg); box-shadow: inset 0 0 0 4px var(--bar); }
.js .dyr.on .dyr__n { color: var(--fg); }
.js .dyr__n::after { transform: scaleX(0); transition: transform .4s var(--ease-io); }
.js .dyr.on .dyr__n::after { transform: scaleX(1); transition: transform 1.1s var(--ease-io) .1s; }
.js .deal { opacity: 0; transform: translateY(18px); transition: opacity .35s, transform .35s; }
.js .dyr.on .deal { opacity: 1; transform: none; animation: arrive 1.6s var(--ease) both; animation-delay: calc(var(--j, 0) * 160ms + 250ms);
  transition: opacity .6s var(--ease) calc(var(--j, 0) * 160ms + 250ms), transform .9s var(--ease) calc(var(--j, 0) * 160ms + 250ms); }
@keyframes arrive { from { background: rgba(210, 176, 109, .38); } to { background: var(--panel-solid); } }
/* six or more years: tighter cards on wide screens, so a one-word seller (MassMutual) fits its column; */
/* below that, four years to a row (the phone layout below 701px is unchanged) */
@media (min-width: 1181px) {
  .deals__years.c6 .deal, .deals__years.c7 .deal, .deals__years.c8 .deal, .deals__years.c9 .deal, .deals__years.c10 .deal { padding: 18px 16px 20px; }
  .deals__years.c6 .deal__from, .deals__years.c7 .deal__from, .deals__years.c8 .deal__from, .deals__years.c9 .deal__from, .deals__years.c10 .deal__from { font-size: clamp(19px, 1.35vw, 25px); }
}
@media (min-width: 701px) and (max-width: 1180px) {
  .deals__years.c6, .deals__years.c7, .deals__years.c8, .deals__years.c9, .deals__years.c10 { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 44px; }
  .deals__years.c6 .dyr:nth-child(4n) .dyr__n::before, .deals__years.c6 .dyr:nth-child(4n) .dyr__n::after, .deals__years.c7 .dyr:nth-child(4n) .dyr__n::before, .deals__years.c7 .dyr:nth-child(4n) .dyr__n::after, .deals__years.c8 .dyr:nth-child(4n) .dyr__n::before, .deals__years.c8 .dyr:nth-child(4n) .dyr__n::after, .deals__years.c9 .dyr:nth-child(4n) .dyr__n::before, .deals__years.c9 .dyr:nth-child(4n) .dyr__n::after, .deals__years.c10 .dyr:nth-child(4n) .dyr__n::before, .deals__years.c10 .dyr:nth-child(4n) .dyr__n::after { right: 0; }
}
.js .deals.reset .deal { opacity: 0; transition: opacity .5s; }
.deals__foot { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 80px; align-items: end; margin-top: 76px; }
.tally b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 3.6vw, 68px); line-height: 1; letter-spacing: -.035em; color: var(--num); font-variant-numeric: lining-nums tabular-nums; }
.tally span { display: block; margin-top: 10px; font-size: 16.5px; color: var(--fg2); }
.deals__foot .fine { justify-self: end; max-width: 34em; }
.deals__foot > .fine:only-child { grid-column: 1 / -1; justify-self: start; }

/* ---------- how you connect: one screen walks through it ---------- */
.walk { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; margin-top: 80px; align-items: center; }
.walk__steps { display: grid; gap: 6px; }
.walk__steps button { all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; padding: 22px 26px 24px; border-radius: 22px; transition: background .4s; }
.walk__steps button:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.walk__steps strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 1.9vw, 34px); letter-spacing: -.02em; line-height: 1.1; color: var(--fg); transition: color .4s; }
.walk__steps button span { display: block; margin-top: 8px; font-size: 17px; line-height: 1.5; color: var(--fg2); transition: color .4s; }
.js .walk__steps strong, .js .walk__steps button span { color: var(--fg3); }
.walk__steps li.on button { background: var(--panel); }
.js .walk__steps li.on strong { color: var(--fg); }
.js .walk__steps li.on button span { color: var(--fg2); }
.walk__steps .prog { margin: -10px 26px 0; }
.screen { position: relative; background: var(--paper); color: var(--ink); border-radius: 22px; overflow: hidden;
  box-shadow: 0 60px 120px rgba(2, 12, 8, .48), 0 14px 32px rgba(2, 12, 8, .24); }
.screen__bar { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 24px; font-size: 15px; color: var(--ink-muted); }
.screen__bar .logo { width: 18px; height: 18px; background-image: url(logo-tile.svg); }
.screen__body { position: relative; height: 480px; background: var(--stone); }
.scene { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 40px; opacity: 0; transform: translateY(16px) scale(.985);
  transition: opacity .5s, transform .8s var(--ease); pointer-events: none; }
.scene.on { opacity: 1; transform: none; }
.dlg, .conns, .pay, .chat__a { background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(2, 12, 8, .14); }
.dlg { width: min(540px, 100%); padding: 30px 32px; }
.dlg__t { font-weight: 650; font-size: 19px; }
.fld { margin-top: 16px; }
.fld small { display: block; font-size: 13.5px; color: var(--ink-muted); }
.fld span { display: block; margin-top: 6px; padding: 12px 14px; border-radius: 10px; background: var(--stone); font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fld span.fill { animation: fill 1.1s var(--ease); }
@keyframes fill { from { background: rgba(210, 176, 109, .45); } to { background: var(--stone); } }
.dlg__btns { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.b1, .b2 { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.b1 { background: var(--vault); color: #fff; }
.b2 { background: var(--stone); color: var(--ink-soft); }
.b1--wide { width: 100%; height: 52px; margin-top: 20px; }
[data-hit].hit { animation: press 1s var(--ease); }
@keyframes press { 0% { transform: none; } 18% { transform: scale(.88); } 40% { transform: none; box-shadow: 0 0 0 7px rgba(15, 42, 35, .14); } 100% { transform: none; box-shadow: 0 0 0 0 rgba(15, 42, 35, 0); } }
.conns { width: min(560px, 100%); padding: 28px 30px; }
.conn-row { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 18px 20px; border-radius: 14px; background: var(--stone); }
.conn-row .logo { width: 36px; height: 36px; background-image: url(logo-tile.svg); }
.conn-row div { flex: 1; min-width: 0; }
.conn-row b { display: block; font-size: 17px; }
.conn-row small { display: block; margin-top: 3px; color: var(--ink-muted); font-size: 14px; }
.pay { width: min(440px, 100%); padding: 30px 32px; }
.pay__mark { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-family: var(--serif); font-size: 21px; }
.pay__mark .logo { width: 18px; height: 20px; }
.pay__tiles { display: flex; gap: 10px; margin-top: 14px; }
.pay__tiles span { flex: 1; text-align: center; padding: 16px 0; border-radius: 12px; background: var(--stone); font-family: var(--serif); font-size: 25px; transition: background .4s, color .4s; }
.pay__tiles span.picked { background: var(--vault); color: var(--brass-hi); }
.pay small { display: block; margin-top: 14px; font-size: 13.5px; line-height: 1.45; color: var(--ink-muted); }
.chat { width: min(580px, 100%); display: grid; gap: 16px; }
.bubble { margin-left: auto; width: fit-content; max-width: 92%; background: #fff; font-size: 17px; line-height: 1.4; padding: 14px 18px; border-radius: 18px 18px 6px 18px; box-shadow: 0 14px 34px rgba(2, 12, 8, .08); }
.chat__a { padding: 22px 24px; }
.chat__a p { font-size: 17px; line-height: 1.5; color: var(--ink-soft); }
.chat__a p b { color: var(--ink); }
.chat__t { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--stone); font-size: 15.5px; font-variant-numeric: tabular-nums; }
.chat__a small { display: block; margin-top: 14px; font-size: 13.5px; color: var(--ink-muted); }
.js .scene [data-bubble], .js .scene [data-answer] { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.js .scene .show[data-bubble], .js .scene .show[data-answer] { opacity: 1; transform: none; }
.cursor { position: absolute; left: 0; top: 0; z-index: 5; width: 24px; height: 30px; fill: #fff; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .25)); transform: translate(70%, 380px); transition: transform .95s var(--ease-io), opacity .4s; pointer-events: none; opacity: 0; }
.walk.playing .cursor { opacity: 1; }

/* ---------- prices: the list, and an example session printed as a receipt ---------- */
.prices { display: grid; grid-template-columns: 6fr 6fr; gap: 88px; align-items: start; margin-top: 80px; }
.plist { display: grid; gap: 12px; }
.plist li { display: grid; grid-template-columns: minmax(0, 1fr) 84px; align-items: center; gap: 28px; padding: 20px 26px; border-radius: 18px; background: var(--panel); }
.plist strong { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.plist small { display: block; margin-top: 4px; font-size: 14.5px; color: var(--fg3); }
.plist b { text-align: right; font-family: var(--serif); font-weight: 500; font-size: 34px; letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.packs-line { margin-top: 30px; font-size: 17.5px; line-height: 1.6; color: var(--fg2); max-width: 34em; }
.packs-line b { color: var(--fg); font-weight: 650; }
.packs-line a { display: block; margin-top: 12px; font-weight: 600; color: var(--fg); }
.packs-line a::after { content: " \2192"; }
.cant { display: grid; grid-template-columns: 6fr 6fr; gap: 20px 88px; margin-top: 32px; background: var(--panel); border-radius: 28px; padding: 48px 56px 50px; }
.cant p { font-size: 17.5px; line-height: 1.55; color: var(--fg2); max-width: 36em; }
.cant p + p { margin-top: 14px; }
.cant a { display: inline-block; margin-top: 20px; font-weight: 600; color: var(--fg); }
.cant a::after { content: " \2192"; }
.rfield { position: relative; isolation: isolate; overflow: hidden; border-radius: 32px; background: var(--vault); padding: 64px 56px 72px; min-height: 820px; display: flex; justify-content: center; align-items: flex-start; }
.rfield .glow { inset: -30%; }
.rc { position: relative; width: min(500px, 100%); filter: drop-shadow(0 34px 50px rgba(2, 12, 8, .5)); }
.rc__slot { position: relative; z-index: 2; height: 20px; margin: 0 -20px; border-radius: 10px; background: var(--vault3); box-shadow: inset 0 3px 7px rgba(0, 0, 0, .5); }
.rc__paper { position: relative; margin-top: -10px; padding: 38px 34px 44px; background: var(--paper); color: var(--ink); transition: opacity .6s, transform .8s var(--ease);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 11px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 22px 11px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 11px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 22px 11px repeat-x; }
.rc__paper.tear { opacity: 0; transform: translateY(-24px); }
.rc__head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; font-size: 14.5px; color: var(--ink-muted); }
.rc__head b { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }
.rc__row { display: grid; grid-template-rows: 1fr; }
.rc__row > div { overflow: hidden; }
.js .rc__row { transition: grid-template-rows .65s var(--ease), opacity .5s; }
.js .rc__row:not(.on) { grid-template-rows: 0fr; opacity: 0; }
.rc__in { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 13px 0; }
.rc__in strong { display: block; font-size: 16.5px; font-weight: 600; letter-spacing: -.005em; }
.rc__in small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--ink-muted); }
.rc__in b { font-weight: 650; font-size: 16.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rc__row[data-c="0"] .rc__in b { color: var(--green); }
.rc__total { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding: 14px 18px; border-radius: 12px; background: var(--stone); font-size: 16px; font-weight: 600; }
.rc__total b { font-family: var(--serif); font-weight: 500; font-size: 32px; letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.rc__fine { margin-top: 16px; font-size: 13.5px; line-height: 1.45; color: var(--ink-muted); }

/* ---------- the close ---------- */
.close__h { font-size: clamp(56px, 6vw, 118px); }
.close__grid { display: grid; grid-template-columns: 5fr 6fr; gap: 104px; margin-top: 64px; align-items: start; }
.close__grid .act { margin-top: 0; }
.byhand p { font-size: 17.5px; line-height: 1.6; color: var(--fg2); }
.byhand b { color: var(--fg); font-weight: 600; }
.byhand__addr { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 10px 10px 10px 22px; border-radius: 999px; background: var(--panel); }
.addr { flex: 1; font-size: 17px; overflow-wrap: anywhere; user-select: all; }
.byhand__addr .btn { min-height: 46px; padding: 0 22px; font-size: 15.5px; }
.copy { display: none; }
.js .copy { display: inline-flex; }

/* the bar heights of the plans-by-year chart: h0 to h100 (no inline style is allowed) */
.h0{--h:0}.h1{--h:.01}.h2{--h:.02}.h3{--h:.03}.h4{--h:.04}.h5{--h:.05}.h6{--h:.06}.h7{--h:.07}.h8{--h:.08}.h9{--h:.09}
.h10{--h:.1}.h11{--h:.11}.h12{--h:.12}.h13{--h:.13}.h14{--h:.14}.h15{--h:.15}.h16{--h:.16}.h17{--h:.17}.h18{--h:.18}.h19{--h:.19}
.h20{--h:.2}.h21{--h:.21}.h22{--h:.22}.h23{--h:.23}.h24{--h:.24}.h25{--h:.25}.h26{--h:.26}.h27{--h:.27}.h28{--h:.28}.h29{--h:.29}
.h30{--h:.3}.h31{--h:.31}.h32{--h:.32}.h33{--h:.33}.h34{--h:.34}.h35{--h:.35}.h36{--h:.36}.h37{--h:.37}.h38{--h:.38}.h39{--h:.39}
.h40{--h:.4}.h41{--h:.41}.h42{--h:.42}.h43{--h:.43}.h44{--h:.44}.h45{--h:.45}.h46{--h:.46}.h47{--h:.47}.h48{--h:.48}.h49{--h:.49}
.h50{--h:.5}.h51{--h:.51}.h52{--h:.52}.h53{--h:.53}.h54{--h:.54}.h55{--h:.55}.h56{--h:.56}.h57{--h:.57}.h58{--h:.58}.h59{--h:.59}
.h60{--h:.6}.h61{--h:.61}.h62{--h:.62}.h63{--h:.63}.h64{--h:.64}.h65{--h:.65}.h66{--h:.66}.h67{--h:.67}.h68{--h:.68}.h69{--h:.69}
.h70{--h:.7}.h71{--h:.71}.h72{--h:.72}.h73{--h:.73}.h74{--h:.74}.h75{--h:.75}.h76{--h:.76}.h77{--h:.77}.h78{--h:.78}.h79{--h:.79}
.h80{--h:.8}.h81{--h:.81}.h82{--h:.82}.h83{--h:.83}.h84{--h:.84}.h85{--h:.85}.h86{--h:.86}.h87{--h:.87}.h88{--h:.88}.h89{--h:.89}
.h90{--h:.9}.h91{--h:.91}.h92{--h:.92}.h93{--h:.93}.h94{--h:.94}.h95{--h:.95}.h96{--h:.96}.h97{--h:.97}.h98{--h:.98}.h99{--h:.99}
.h100{--h:1}

/* =============================== the other public pages =============================== */
.page { padding-bottom: clamp(96px, 8vw, 160px); }
.page__head { width: var(--col); margin-inline: auto; padding: clamp(48px, 5vw, 96px) 0 clamp(40px, 4vw, 72px); }
.page__head h1 { max-width: 14em; font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 5vw, 96px); line-height: 1; letter-spacing: -.034em; color: var(--vault); text-wrap: balance; }
.page__deck { max-width: 34em; margin-top: 28px; font-size: clamp(19px, 1.25vw, 23px); line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; }
.page__status { margin-top: 18px; font-weight: 650; color: var(--green); }
.page__head .fine { margin-top: 16px; }
.page__act { margin-top: 36px; }
.notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px;
  width: var(--col); margin: 32px auto 0; padding: 32px 40px; border-radius: 28px; background: var(--bg); color: var(--fg); }
.notice h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2vw, 36px); letter-spacing: -.02em; line-height: 1.1; }
.notice p { margin-top: 6px; color: var(--fg2); }
.sect { display: grid; grid-template-columns: 4fr 7fr; gap: 24px 88px; width: var(--col); margin-inline: auto; padding: clamp(40px, 4vw, 64px) 0; }
.sect + .sect { padding-top: 0; }
.sect__head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 2.4vw, 44px); letter-spacing: -.025em; line-height: 1.08; color: var(--vault); }
.sect__head p { margin-top: 12px; max-width: 24em; color: var(--ink-soft); }
.sect__body { min-width: 0; font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.sect__body > p { max-width: 40em; }
.sect__body > * + p, .sect__body > p + * { margin-top: 16px; }
.sect__body b { color: var(--ink); }
.sect__body .fine { margin-top: 16px; font-size: 15px; color: var(--ink-muted); }
.code, .keybox { display: block; margin: 0 0 12px; padding: 18px 22px; border-radius: 16px; background: var(--vault); color: var(--on);
  font: 500 16px/1.5 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.keybox { font-size: 19px; color: var(--brass-hi); user-select: all; }
code { font-weight: 650; color: var(--ink); overflow-wrap: anywhere; }
.files { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 20px; }
.files a, .files code { color: var(--ink); }
.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding: 56px max(48px, (100% - 1440px) / 2) 64px; background: var(--bg); color: var(--fg); }
.figs li { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 12px; }
.figs b { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 3.8vw, 72px); line-height: 1; letter-spacing: -.035em; color: var(--num); font-variant-numeric: lining-nums tabular-nums; }
.figs .label { font-size: 17px; font-weight: 500; color: var(--fg2); }
.label { font-weight: 650; color: var(--ink); }
.sheet { overflow-x: auto; }
.ledger { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 17px; font-variant-numeric: tabular-nums; line-height: 1.35; }
.ledger th, .ledger td { padding: 14px 16px; text-align: right; vertical-align: top; font-weight: 400; color: var(--ink); }
.ledger thead th { padding-top: 0; font-size: 15px; font-weight: 500; color: var(--ink-muted); white-space: nowrap; }
.ledger tbody tr:nth-child(odd) > * { background: var(--stone); }
.ledger tbody tr > :first-child { border-radius: 12px 0 0 12px; }
.ledger tbody tr > :last-child { border-radius: 0 12px 12px 0; }
.ledger .yr, .ledger .txt { text-align: left; }
.ledger .txt { white-space: nowrap; }
.ledger tbody .yr { font-weight: 650; }
.ledger .mono { font-family: var(--mono); font-size: 15.5px; font-weight: 500; }
.ledger tfoot td { padding: 10px 16px 0; text-align: left; font-size: 15px; color: var(--ink-muted); }
.lrows { display: grid; gap: 6px; }
.lrows li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); gap: 24px; padding: 16px 20px; border-radius: 14px; }
.lrows li:nth-child(odd) { background: var(--stone); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; }
.facts dt { color: var(--ink-muted); }
.facts dd { font-weight: 650; color: var(--ink); overflow-wrap: anywhere; }
.alert { margin: 18px 0; padding: 16px 20px; border-radius: 14px; background: #f6ecd6; color: var(--vault3); font-weight: 600; }
.prose { color: var(--ink-soft); }
.prose h1, .prose h2 { margin: 28px 0 10px; font-family: var(--serif); font-weight: 500; font-size: 26px; letter-spacing: -.015em; line-height: 1.2; color: var(--ink); }
.prose p, .prose ul { max-width: 44em; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 12px; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose li ul { margin-top: 6px; }
.plain-steps { display: grid; gap: 14px; max-width: 40em; padding-left: 1.3em; list-style: decimal; }
.plain-steps li { padding-left: .3em; }
.mono { font-family: var(--mono); font-weight: 500; overflow-wrap: anywhere; }

/* ---------- forms ---------- */
.input { width: 100%; min-height: 56px; padding: 10px 16px; border: 2px solid var(--stone3); border-radius: 14px; background: var(--white); color: var(--ink); font: inherit; font-size: 17px; }
.input:focus { outline: none; border-color: var(--green); }
.form, .field { display: grid; gap: 16px; max-width: 30em; }
.form label, .field label { display: grid; gap: 8px; }
.form .btn, .field .btn { justify-self: start; }
.amounts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 14px; align-items: stretch; }
.amount { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 230px; padding: 0; border: 0; border-radius: 22px;
  background: var(--stone); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: transform .4s var(--ease), background .3s, box-shadow .3s; }
.amount:hover { transform: translateY(-4px); background: var(--white); box-shadow: 0 24px 50px rgba(13, 24, 19, .12), inset 0 0 0 2px var(--stone2); }
.amount:active { transform: translateY(0); }
.amount:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.amount__top { display: block; padding: 26px 26px 0; }
.amount__sum { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(48px, 4vw, 68px); line-height: 1; letter-spacing: -.035em; color: var(--vault); font-variant-numeric: lining-nums; }
.amount__sum small { font-size: .6em; vertical-align: .55em; margin-right: .04em; }
.amount__note { display: block; margin-top: 12px; font-size: 16px; color: var(--ink-soft); }
.amount__go { display: flex; align-items: center; justify-content: center; min-height: 52px; margin: 0 16px 16px; padding: 8px 18px; border-radius: 999px; background: var(--vault); color: #fff; font-weight: 650; text-align: center; }
.amount:hover .amount__go { background: var(--brass); color: var(--vault3); }
.amounts--rows { grid-auto-flow: row; }
.amounts--rows .amount { min-height: 0; flex-direction: row; align-items: center; }
.amounts--rows .amount__top { flex: 1; padding: 18px 22px; }
.amounts--rows .amount__sum { font-size: 40px; }
.amounts--rows .amount__go { margin: 0 14px 0 0; }
.pricelist { display: grid; gap: 4px; }
.pricelist > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 14px; border-radius: 10px; }
.pricelist > div:nth-child(odd) { background: var(--white); }
.pricelist dd { font-weight: 650; font-variant-numeric: tabular-nums; }

/* =============================== sign-in and payment pages (no script, no links away) =============================== */
.cover-page { display: flex; flex-direction: column; min-height: 100svh; background: var(--vault); }
.cover { flex: 1; display: grid; grid-template-columns: minmax(320px, 40%) minmax(0, 1fr); grid-template-rows: 1fr auto; }
.cover__side { grid-column: 1; grid-row: 1; position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(40px, 6vw, 104px);
  padding: 36px clamp(28px, 4vw, 72px) 32px; background: var(--bg); color: var(--fg); }
.cover__side .wordmark { color: var(--on); min-height: 40px; }
.cover__title { font-family: var(--serif); font-weight: 500; font-size: clamp(52px, 6.4vw, 124px); line-height: .95; letter-spacing: -.035em; overflow-wrap: anywhere; }
.cover__title span { display: block; }
.cover__title span:first-child { color: var(--brass-hi); }
.cover__title--long { font-size: clamp(36px, 3.8vw, 72px); line-height: 1.02; }
.cover__title--brand { font-size: clamp(34px, 3.1vw, 58px); }
.cover__what { max-width: 24em; font-size: clamp(18px, 1.3vw, 22px); line-height: 1.5; color: var(--fg2); }
.cover__limits { grid-column: 1; grid-row: 2; padding: 0 clamp(28px, 4vw, 72px) 40px; background: var(--bg); color: var(--fg3); font-size: 15px; line-height: 1.55; }
.cover__limits h2 { margin-bottom: 8px; font-size: 15px; font-weight: 650; color: var(--fg2); }
.cover__limits p { max-width: 34em; }
.cover__limits p + p { margin-top: 8px; }
.cover__main { grid-column: 2; grid-row: 1 / span 2; display: flex; padding: clamp(32px, 5vw, 96px) clamp(20px, 5vw, 96px); background: var(--white); border-radius: 36px 0 0 0; }
.cover__in { display: flex; flex-direction: column; width: 100%; max-width: 760px; }
.cover__in h1 { margin-bottom: clamp(24px, 2.6vw, 40px); font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 2.9vw, 54px); line-height: 1.08; letter-spacing: -.025em; color: var(--vault); text-wrap: balance; }
.trail { display: flex; flex-wrap: wrap; gap: 4px 0; margin-bottom: clamp(24px, 3vw, 44px); font-size: 15.5px; color: var(--ink-muted); }
.trail li + li::before { content: "\203A"; margin: 0 .7em; color: var(--stone3); }
.trail [aria-current] { color: var(--green); font-weight: 650; }
.cover__status { margin: -12px 0 20px; font-weight: 650; color: var(--ink); }
.cover__why { max-width: 36em; margin: -10px 0 28px; font-size: clamp(18px, 1.3vw, 21px); line-height: 1.5; color: var(--ink-soft); }
.cover__after { max-width: 40em; margin-top: 22px; color: var(--ink-soft); }
.balance { display: flex; align-items: baseline; gap: 16px; margin-bottom: 26px; color: var(--ink-muted); }
.balance__fig { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 3.6vw, 64px); letter-spacing: -.03em; line-height: 1; color: var(--vault); font-variant-numeric: lining-nums tabular-nums; }
.add { display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 100%; min-height: 100px; padding: 18px 32px; border: 0; border-radius: 24px;
  background: var(--vault); color: var(--on); font: inherit; text-align: left; text-decoration: none; cursor: pointer; transition: transform .4s var(--ease), filter .2s; }
.add:hover { transform: translateY(-2px); filter: brightness(1.12); }
.add__t { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 2.2vw, 38px); letter-spacing: -.02em; line-height: 1.1; color: var(--brass-hi); }
.add__s { color: var(--on-soft); }
.acct { margin-top: 16px; font-size: 15px; color: var(--ink-muted); }
.quiet { display: grid; gap: 10px; margin-top: clamp(32px, 4vw, 52px); }
.quiet details { border-radius: 18px; background: var(--stone); }
.quiet summary { padding: 18px 22px; border-radius: 18px; font-weight: 650; color: var(--ink); cursor: pointer; }
.quiet summary:hover { background: var(--stone2); }
.quiet__body { display: grid; gap: 14px; padding: 4px 22px 22px; color: var(--ink-soft); }
.cover__foot { margin-top: auto; padding-top: clamp(32px, 4vw, 52px); font-size: 15px; color: var(--ink-muted); }
.cover__foot > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.cover__foot .linkbtn { color: var(--ink-soft); }

/* =============================== reduced motion: everything in its final place =============================== */
@media (prefers-reduced-motion: reduce) {
  .js .w > span, .js [data-r], .js .bar i, .js .bar b, .js .waffle i, .js .line .draw, .js .line .pt, .js .line .later,
  .js .filing, .js .stack .paper, .js .reply__a, .js .t td, .js .t th, .js .reply__note,
  .js .tangle__names li, .js .rc__row, .js .scene [data-bubble], .js .scene [data-answer], .js .deal {
    transition: none !important; transform: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important; animation: none !important; }
  .js .filing { transform: rotate(-2.4deg) !important; }
  .glow, .conn i, .caret, .stack.reading .filing .scan, .tangle__to, .btn, .amount, .add { animation: none !important; transition: none !important; }
  .js .tangle__lines path { stroke-dashoffset: 0 !important; transition: none !important; }
  .js .rc__row { grid-template-rows: 1fr !important; }
  .js .tangle__to b, .js .tangle__to > span:last-child { opacity: 1 !important; }
  .js .dyr__n::after { transform: none !important; transition: none !important; }
}

/* =============================== narrower screens =============================== */
@media (max-width: 1100px) {
  .hero__under, .data, .prices, .close__grid, .head, .walk, .cant { grid-template-columns: 1fr; gap: 56px; }
  .cant { gap: 20px; }
  .head, .walk { gap: 40px; }
  .duo { grid-template-columns: 1fr; }
  .hero__field { border-radius: 28px 0 0 0; padding: 48px 48px 56px 48px; margin-right: -48px; }
  .tangle { grid-template-columns: minmax(0, 1fr) 110px minmax(220px, 300px); }
  .deals__years { gap: 12px; }
  .dyr__n::before, .dyr__n::after { right: -12px; }
  .deal { padding: 16px 16px 18px; border-radius: 16px; }
  .deal__from { font-size: 20px; }
  .deal__to { font-size: 15px; }
  .dyr__n em { display: block; margin: 8px 0 0; vertical-align: 0; }
  .deals__foot { grid-template-columns: auto auto; gap: 40px 64px; }
  .deals__foot .fine { grid-column: 1 / -1; justify-self: start; }
  .sect { grid-template-columns: 1fr; gap: 20px; }
  .top__nav { gap: 24px; }
}
@media (max-width: 760px) {
  .cover { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .cover__side, .cover__main, .cover__limits { grid-column: 1; grid-row: auto; }
  .cover__side { gap: 22px; padding: 20px 16px 28px; }
  .cover__main { padding: 32px 16px 40px; border-radius: 24px 24px 0 0; }
  .cover__limits { order: 3; padding: 28px 16px 32px; }
  .cover__title { font-size: 52px; }
  .cover__title--long { font-size: 36px; }
  .trail { font-size: 14px; }
  .trail li + li::before { margin: 0 .4em; }
  .amounts { grid-auto-flow: row; }
  .amount { min-height: 0; flex-direction: row; align-items: center; }
  .amount__top { flex: 1; padding: 18px 18px; }
  .amount__sum { font-size: 40px; }
  .amount__go { margin: 0 12px 0 0; min-width: 44%; }
}
@media (max-width: 700px) {
  :root { --edge: 16px; --col: calc(100% - 32px); }
  .wrap, .top { width: calc(100% - 32px); }
  .top { min-height: 76px; }
  .wordmark, .foot__mark { font-size: 21px; gap: 10px; }
  .logo { width: 18px; height: 20px; }
  .top__nav { gap: 18px; font-size: 15.5px; }
  .home .top__nav a:not(.btn), .home .top__nav span { display: none; }
  .btn { min-height: 52px; padding: 0 24px; font-size: 16.5px; }
  .btn--big, .act .btn { min-height: 56px; padding: 0 26px; font-size: 17px; }
  .btn--s { min-height: 42px; padding: 0 18px; font-size: 15px; }
  .act .btn { width: 100%; }
  .hero__h { padding-top: 16px; font-size: 46px; }
  .close__h { font-size: 50px; }
  .tool__price { display: none; }
  .asks button { padding: 14px 14px 16px; font-size: 18px; }
  .hero__under { margin-top: 36px; gap: 44px; }
  .hero__field { margin-right: -16px; padding: 64px 16px 40px 16px; border-radius: 24px 0 0 0; }
  .filing { left: -6px; right: 20px; top: -34px; }
  .paper { padding: 22px 18px 20px; border-radius: 10px; }
  .ask__q { font-size: 21px; }
  .tool { flex-wrap: wrap; gap: 8px 12px; font-size: 13.5px; }
  .tool__bar { order: 3; flex-basis: 100%; }
  .reply__a { font-size: 16px; }
  .t { font-size: 13.5px; }
  .t th { font-size: 13px; padding: 0 6px 8px; }
  .t td { padding: 10px 6px; }
  .t .opt { display: none; }
  .chip { margin-left: 4px; padding: 2px 7px; font-size: 13px; }
  .paper__foot { flex-direction: column; align-items: flex-start; gap: 10px; }
  .bigfigs { grid-template-columns: 1fr; gap: 36px; padding: 48px 0 56px; }
  .bars { height: 320px; gap: 8px; }
  .bar b { font-size: 13px; letter-spacing: -.035em; }
  .bar span { font-size: 14px; }
  .bar span em { font-size: 13px; }
  .bar i { border-radius: 10px 10px 4px 4px; }
  .big { gap: 32px; flex-wrap: wrap; }
  .duo { margin-top: 56px; gap: 20px; }
  .panel { border-radius: 22px; }
  .waffle-row { flex-direction: column; align-items: flex-start; gap: 28px; }
  .head { gap: 22px; }
  .head .sub { padding-bottom: 0; }
  .tangle-top { margin-top: 40px; gap: 12px; }
  .firms button { height: 46px; padding: 0 16px; font-size: 15px; gap: 8px; }
  .firms .prog { left: 16px; right: 16px; bottom: 7px; }
  .tangle { grid-template-columns: 1fr; margin-top: 24px; }
  .tangle__lines { display: none; }
  .tangle__names li { height: 42px; padding: 0 14px; font-size: 13.5px; }
  .tangle__to { margin-top: 14px; padding: 22px 24px 24px; border-radius: 22px; }
  .tangle__arrow { display: block; font-family: var(--sans); font-size: 20px; opacity: .7; margin-bottom: 6px; }
  .deals { margin-top: 44px; }
  .deals .deals__years { grid-template-columns: 1fr; gap: 26px; }   /* beats .deals__years.cN */
  .dyr__n { padding: 0 0 0 30px; font-size: 34px; }
  .dyr__n::before, .dyr__n::after { display: none; }
  .dyr__dot { bottom: auto; top: 50%; margin-top: -8px; }
  .dyr__n em { display: inline; margin-left: 10px; vertical-align: .3em; }
  .dyr ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
  .deal { padding: 14px 16px 15px; }
  .deal__from { font-size: 19px; }
  .deal__to { margin-top: 6px; font-size: 14.5px; }
  .deals__foot { grid-template-columns: 1fr 1fr; gap: 28px 20px; margin-top: 44px; }
  .tally b { font-size: 40px; }
  .tally span { font-size: 15px; }
  .walk { margin-top: 44px; gap: 28px; }
  .walk__steps button { padding: 14px 16px 16px; }
  .walk__steps .prog { margin: -8px 16px 0; }
  .walk__steps button span { font-size: 15.5px; }
  .screen { border-radius: 16px; }
  .screen__bar { height: 46px; padding: 0 16px; font-size: 13.5px; }
  .screen__body { height: 400px; }
  .scene { padding: 16px; }
  .dlg, .conns, .pay { padding: 20px; }
  .plist li { padding: 16px 18px; grid-template-columns: minmax(0, 1fr) 64px; gap: 12px; }
  .plist strong { font-size: 16.5px; }
  .plist b { font-size: 26px; }
  .cant { padding: 32px 24px; border-radius: 22px; }
  .rfield { padding: 40px 16px 52px; border-radius: 24px; min-height: 0; }
  .rc__slot { margin: 0 -8px; }
  .rc__paper { padding: 28px 20px 36px; }
  .rc__in strong, .rc__in b { font-size: 15px; }
  .byhand__addr { border-radius: 18px; flex-direction: column; align-items: stretch; padding: 16px; }
  .byhand__addr .btn { justify-content: center; }
  .foot__row { flex-direction: column; align-items: flex-start; }
  .foot__nav { gap: 14px 24px; }
  .page__head h1 { font-size: 42px; }
  .notice { padding: 24px 20px; border-radius: 22px; }
  .notice .btn { width: 100%; }
  .figs { grid-template-columns: 1fr; gap: 28px; padding: 40px 16px 44px; }
  .lrows li { grid-template-columns: 1fr; gap: 4px; }
  .ledger { font-size: 15px; }
  .ledger th, .ledger td { padding: 10px 8px; }
  .ledger thead th { white-space: normal; }
  .ledger .txt { white-space: normal; }
  .code, .keybox { font-size: 14px; padding: 14px 16px; }
  .files { font-size: 17px; }
}

@media (max-width: 359px) {
  .t td .chip { display: block; width: max-content; margin: 4px 0 0 auto; }   /* under the name, so the column fits */
  .t td.l .chip { margin-left: 0; }
  .t td.l, .t th { white-space: normal; }   /* names and column titles may wrap on the smallest phones */
  .t th, .t td { padding-left: 5px; padding-right: 5px; }
}

/* ---------- a plan's public page (src/api/plan_pages.py): long filed names, a provider's name as a figure ---------- */
.page--plan .page__head h1 { max-width: 22em; font-size: clamp(38px, 3.6vw, 68px); line-height: 1.04; overflow-wrap: anywhere; }
.page--plan .figs b { font-size: clamp(32px, 2.9vw, 56px); overflow-wrap: anywhere; }
.page--plan .lrows b { color: var(--green); font-weight: 650; white-space: nowrap; }
@media (max-width: 700px) { .page--plan .figs { grid-template-columns: minmax(0, 1fr); } }

/* ---------- the list page (src/api/lists.py) ---------- */
.form--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; gap: 18px 22px; }
.form--grid .form__wide, .form--grid .btn { grid-column: 1 / -1; }
.listres { margin-top: 36px; padding: 32px 34px; border-radius: 24px; background: var(--vault); color: var(--on); }
.listres p { max-width: 36em; color: var(--on-soft); }
.listres__n { font-family: var(--serif); font-size: clamp(30px, 2.6vw, 46px); line-height: 1.1; letter-spacing: -.02em; color: var(--on); }
.listres__n b { font-weight: 500; color: var(--brass-hi); font-variant-numeric: lining-nums tabular-nums; }
.listres__p { margin-top: 10px; font-size: 18px; }
.listres__p b { color: var(--on); }
.listres form { margin-top: 24px; }
.listres .btn { background: var(--brass); color: var(--vault3); }
.listres .fine { color: var(--on-muted); }
.listres code { overflow-wrap: anywhere; }
@media (max-width: 700px) { .form--grid { grid-template-columns: minmax(0, 1fr); } .listres { padding: 26px 22px; } .listres .btn { width: 100%; } }
/* three links in the top bar don't fit a phone: Developers stays in the footer there */
@media (max-width: 460px) { .top__nav a[href="/developers"] { display: none; } }
