/* Public landing in the original Pocketly identity (ADR-011). Server-rendered; works without JS. */
.is-landing main { max-width: var(--wide); margin: 0 auto; }
.lp-center { text-align: center; margin-left: auto; margin-right: auto; justify-content: center; }
p.eyebrow.lp-center { display: flex; }
.lp-display { font: 700 var(--text-display-l)/var(--lead-display) var(--font-display); letter-spacing: -.02em; word-spacing: .04em; margin: 0 0 var(--space-5); font-variation-settings: "opsz" 144; }
.lp-display span { display: block; color: var(--color-plan); }
.lp-final .lp-display span { color: var(--color-text-muted); } /* cycle 361 (R4): "you'd keep." muted, not blue: colour only where it says something (C339) */
.lp-title { font: 700 var(--text-display-m)/var(--lead-title) var(--font-display); letter-spacing: -.02em; font-variation-settings: "opsz" 96; margin: 0 0 var(--space-4); }
.lp-title strong { font-weight: 800; }
.lp-lede { font-size: var(--text-lg); line-height: 1.55; letter-spacing: -.006em; color: var(--color-text-muted); max-width: 33rem; margin: 0 0 var(--space-5); }
.lp-sub { color: var(--color-text-muted); font-size: var(--text-step); line-height: 1.65; max-width: 40rem; }
.lp-cta { min-height: 52px; padding: 0 28px; font-size: var(--text-step); }
.lp-bounds { list-style: none; padding: 0; margin: var(--space-5) 0 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); font: 500 var(--text-sm)/1.5 var(--font-text); color: var(--color-text-muted); }
.lp-bounds li { display: inline-flex; align-items: center; gap: var(--space-2); }
.lp-bounds li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--color-plan-mark); flex: none; }
.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: end; margin-bottom: var(--space-5); }
.lp-sec.lp-split { align-items: start; }

/* hero */
.lp-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--space-7); align-items: center; padding-block: var(--space-7) var(--space-6); }

.route { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; align-items: center; margin: 0 0 var(--space-2) !important; }

/* trust and final */
.lp-final .lp-display { font-size: var(--text-display-l); max-width: 20ch; margin-left: auto; margin-right: auto; }

@media (max-width: 900px) {
  .lp-hero, .lp-split { grid-template-columns: 1fr; }
  .lp-split { gap: var(--space-3); }
  .lp-hero { gap: var(--space-6); padding-top: var(--space-5); }

  .route { justify-content: flex-start; }
}

/* ---------- ADR-014: structure and motion pass ---------- */
/* Bank details: fine print at the end of the page, each under its bank's name (FPO art. 22). */

/* ---------- cycle 21: one rhythm for the page ---------- */
/* "Two tests" and "Plan and timing" read as one band: how Pocketly works. */

/* The closing call to action sits in its own lit panel, like the cash story. */
.lp-final { border-radius: var(--radius-xl); border: 1px solid var(--hairline); box-shadow: var(--shadow-1);
  background: radial-gradient(700px 360px at 50% 0%, color-mix(in srgb, var(--color-plan) 12%, transparent), transparent 70%), linear-gradient(180deg, var(--color-surface-1), var(--color-bg)); }

/* ---------- cycle 25 ---------- */
.lp-final .lp-display { font-size: var(--text-display-m); }

/* Short laptop screens (owner's 1280 × 640): the hero fits. */
@media (min-width: 901px) and (max-height: 820px) { .lp-hero { padding-block: var(--space-5) var(--space-5); } .lp-display { font-size: var(--text-display-l); } }

/* ---------- cycle 38: the landing, rebuilt from a measured mockup test (reports/design/2026-11-01-landing.md) ---------- */
/* The plan section continues the hero's example; its call to action asks for your own. */

.lp-plan > .lp-center:last-child { margin-top: var(--space-5); }

/* One section, two views: the plan, and the questions it answers. */
.lp-views { display: flex; justify-content: center; margin: var(--space-5) 0 0; }
.lp-plan-go { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-3) var(--space-5); margin-top: var(--space-5); }

/* ---------- cycle 125: the landing, in order (V3.1–V3.10) ----------
   Phones tell the figure's story in order: the figure and whose it is (an example, V3.3), the payments it's made of, one
   line on what Pocketly does, then the two questions. Wide screens keep one action beside the copy: a text link. */
/* V3.8: one rhythm between sections: 56 px on wide screens, 36 on phones. */
.lp-sec { padding-block: var(--space-7) 0; }
.lp-final { margin-top: var(--space-7); padding: var(--space-6) var(--space-5); }
@media (max-width: 900px) { .lp-sec { padding-block: var(--space-6) 0; } .lp-final { margin-top: var(--space-6); padding: var(--space-5) var(--space-4); } }
/* V3.7: the closing band is a line and the button. */
.lp-final .lp-sub { margin-block: var(--space-3) var(--space-4); }

/* ---------- 8 Nov 2026: the answer sheet (owner: real worries, few words, “raw honesty”; 9 Nov: its presentation) ----------
   Five worries people have before a switch, in one quiet list on the heading's own left edge: the worry, its answer in
   large type (a word or two that is true on its own), and a + at the row's end that says the row opens. The two read as
   a pair, about two to one, and every row is the height of the tallest, so the list keeps one rhythm. On a laptop a
   hover, keyboard focus or click (enhance.js) opens a row in place: the worry lifts and shrinks to a small label, its
   reason comes up under it, the + turns to ×, and nothing on the page moves. On a phone a tap opens the reason under the
   answer, the familiar way. The only colour is each answer's full stop. Where motion is allowed (enhance.js adds
   .is-waiting) each answer is written in left to right through a soft-edged mask as its row comes into view, a fine
   rule drawing under it, one row after another. Without scripts (no .early from motion.js, which runs in the head, so
   the reasons start closed on the first paint rather than closing as the page loads) every reason is shown (C383). */
.tq-head { max-width: 46rem; }
.tq-head .lp-sub { margin-top: var(--space-3); }
.tq-end { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-4) var(--space-6); margin-top: var(--space-5); }
.tq-note { margin: 0; max-width: 34rem; font-size: var(--text-xs); color: var(--color-text-muted); }
.tq-go { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); margin: 0; }

/* ---------- 9 Nov 2026: three sections, three grounds (owner: the answer sheet “blends in too much with the first and
   the third section”) ----------
   The answer sheet sits on a band of its own, edge to edge: a lifted surface, the plan's light falling from above its
   heading, a hairline at each edge. Not a second card like the closing one, which stays the page's one card and its
   end: a band separates without boxing, so the list keeps the page's left edge. */
.lp-plan { position: relative; isolation: isolate; margin-top: var(--space-6); padding-block: var(--space-7); }
.lp-plan::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(50% - 50vw); border-block: 1px solid var(--hairline);
  background: radial-gradient(64rem 28rem at 25% 0%, color-mix(in srgb, var(--color-plan) 6%, transparent), transparent 70%), linear-gradient(180deg, color-mix(in srgb, var(--color-surface-1) 70%, var(--color-bg)), color-mix(in srgb, var(--color-surface-1) 30%, var(--color-bg))); }
:root[data-theme="light"] .lp-plan::before { background: radial-gradient(64rem 28rem at 25% 0%, color-mix(in srgb, var(--color-plan) 5%, transparent), transparent 70%), var(--color-surface-1); }

/* ---------- 9 Nov 2026: the offers as tiles (owner: the section “seems a bit underwhelming”) ----------
   The biggest everyday offers, each a tile lit by its bank's own colour from the corner its mark sits in (the plan
   cards' --pc-glow): the bank and product, the amount in the page's money type, everything it asks for, and the day a
   person last read its terms. The whole tile opens the offer: it lifts under a pointer and gives on a press. Four
   across on a laptop, two by two on a tablet, and on a phone a shelf you swipe, the next tile showing at the edge. */
.lo-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); margin: var(--space-6) 0 var(--space-5); padding: 0; }
.lo-item { display: flex; }
.lo-card { position: relative; isolation: isolate; overflow: hidden; flex: 1; display: flex; flex-direction: column; padding: var(--space-5); border: 1px solid var(--hairline); border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--color-surface-1), var(--color-bg)); box-shadow: var(--shadow-1); color: inherit; text-decoration: none;
  transition: transform 420ms var(--ease-settle), box-shadow 420ms var(--ease-settle), border-color 200ms ease-out; }
.lo-card::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(20rem 15rem at 0% 0%, color-mix(in srgb, var(--pc-glow, var(--color-plan)) 24%, transparent), transparent 70%); }
.lo-head { display: grid; gap: var(--space-5); }
.lo-name { display: grid; gap: var(--space-1); }
.lo-bank { font: 600 var(--text-lg)/1.25 var(--font-text); color: var(--color-heading); }
.lo-prod { font-size: var(--text-sm); color: var(--color-text-muted); }
.lo-amt { margin-top: var(--space-5); font: 600 var(--text-display-m)/1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: lining-nums tabular-nums; color: var(--color-money); }
.lo-extra { margin-top: var(--space-2); font-size: var(--text-sm); color: var(--color-text-muted); }
.lo-needs { list-style: none; display: grid; gap: var(--space-2); margin: var(--space-5) 0 0; padding: var(--space-4) 0 0; border-top: 1px solid var(--hairline); }
.lo-needs li { position: relative; padding-left: var(--space-4); font-size: var(--text-sm); line-height: 1.45; color: var(--color-text); }
.lo-needs li::before { content: ""; position: absolute; left: 0; top: .6em; width: .3125rem; height: .3125rem; border-radius: 50%; background: var(--color-text-muted); }
/* C339 (owner, 9 Nov: colour only where it says something): a monthly fee is a cost, so its dot is amber; an offer
   whose reading may be out of date says "Check before applying" in amber with a dot, inline so the line can wrap. */
.lo-needs li.is-cost::before { background: var(--color-attention); }
.lo-stale { color: var(--color-attention); }
.lo-stale::before { content: ""; display: inline-block; width: .4375rem; height: .4375rem; margin-right: var(--space-2); vertical-align: .1em; border-radius: 50%; background: currentColor; }
.lo-foot { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); margin-top: auto; padding-top: var(--space-5); font-size: var(--text-sm); color: var(--color-text-muted); }
.lo-go { display: flex; color: var(--color-plan); transition: transform 420ms var(--ease-settle); } /* C368: the chevron, centred on the line (was "→") */
.lo-card:focus-visible { outline: 2px solid var(--color-focus); outline-offset: var(--space-1); }
@media (hover: hover) and (pointer: fine) { .lo-card:hover { border-color: var(--hairline-strong); } .lo-card:hover .lo-go { transform: translateX(.25rem); } /* cycle 366 (N9): no lift, no new shadow; the bank glow (C339) and the arrow carry it */ }
.lo-card:active { transform: scale(.98); transition-duration: 120ms; }
:root[data-theme="light"] .lo-card { background: var(--color-surface-1); box-shadow: var(--shadow-2); }
:root[data-theme="light"] .lo-card::before { opacity: .6; }
@media (max-width: 999px) { .lo-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .lp-plan { margin-top: var(--space-5); padding-block: var(--space-6); }
  .tq-end { flex-direction: column-reverse; align-items: flex-start; }
  .lo-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78%, 18rem); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))) calc(-1 * max(16px, env(safe-area-inset-right, 0px)));
    padding: var(--space-1) max(16px, env(safe-area-inset-right, 0px)) var(--space-4) max(16px, env(safe-area-inset-left, 0px)); scroll-padding-inline: max(16px, env(safe-area-inset-left, 0px)); } /* C370: bleeds exactly to the page's own gutter, at any text size */
  .lo-list::-webkit-scrollbar { display: none; }
  .lo-item { scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) { .lo-card, .lo-go { transition: box-shadow 200ms ease-out, border-color 200ms ease-out; } .lo-card:hover, .lo-card:active, .lo-card:hover .lo-go { transform: none; } }
@media (forced-colors: active) { .lo-card { border-color: CanvasText; } .lo-stale::before { forced-color-adjust: none; background: CanvasText; } }

/* ---------- 9 Nov 2026: the whole landing, audited (owner: “audit the entire landing page for visual design”) ----------
   The hero says one thing: the card's second row of bank marks waits until the first answer (it is the card's live
   answer, dimming the offers that drop out, not a second list of banks); on a phone the banks are one row you swipe; the
   reward cards line up. One name per action (See my plan, Build my plan) and two orange buttons, the hero's and the
   closing card's. The page's story ends on the closing card: the banks' details are the footer's first block. */
/* Tiles below 1000 px: the mark beside the bank's name, not above it. */
@media (max-width: 999px) { .lo-head { display: flex; align-items: center; gap: var(--space-3); } .lo-card .bm.bm-lg { --bm: 40px; } }
/* The page's notes, then the banks' details, on the footer's ground (C368: the notes come first, as Apple's footnotes open
   its footer; the register keeps its hairline under them, and the band's padding ends it). */
.lp-fine { position: relative; isolation: isolate; margin-top: var(--space-8); padding-block: var(--space-6) var(--space-2); }
.lp-fine > :first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.lp-fine .about-banks { padding-bottom: 0; }
.lp-fine::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(50% - 50vw); background: var(--color-bg-deep); border-top: 1px solid var(--hairline); }
body.is-landing .foot { margin-top: 0; border-top: 0; }

/* ---------- 9 Nov 2026: balance (owner: “the second section feels too dominant and the first section feels a bit too
   short”) ----------
   Measured at 1440 × 900: the hero was 709 px and the answer sheet 873 px, and 79 px of the sheet's band already showed
   in the first view (259 px at 1920 × 1080), so the hero ended before the screen did. On laptops the hero now fills the
   first view (up to 56rem), its content centred in it; the sheet steps back: a quieter band with less padding, the
   worries and answers a size smaller (about 20 and 32 px), slimmer rows, and its intro on one line. */
@media (min-width: 901px) { .lp-hero { min-height: min(calc(100svh - 4.75rem), 56rem); align-content: center; row-gap: var(--space-6); } .lp-plan { padding-block: var(--space-6); } }
.tq-head { max-width: 52rem; } .tq-head .lp-sub { max-width: 48rem; }
.lp-sec .lp-title { text-wrap: balance; }

/* ---------- 9 Nov 2026: Q, the cards behind the number (owner: “build Q”, chosen from four sets of mockups) ----------
   One figure at poster size; behind its top edge, wallet-style, the reward cards of the banks that make it, in each
   bank's own colour and in the order to switch, each saying when its money is due; one sentence saying whose it is; the
   quick check's first two questions in one bar. Centred, one column. The deck keeps a band clear above the figure for
   the cards (--qch), so they never reach the sentence, and the figure covers their feet. Each card's place in the fan
   is set here, so it holds without script; enhance.js only moves them (a re-deal when the bar changes, a card you can
   grab and throw, which springs back). The bank colours are darkened where white text needs it (4.5:1). */
/* C317 (owner, 9 Nov, apple-design): the cards rest above the figure with a clear gap (they no longer touch it), about
   11% smaller, tilted 3 to 5 degrees (placed, not thrown) and a shade deeper, so the figure is the brightest thing. */
@property --qe { syntax: "<number>"; inherits: false; initial-value: 1; }
.lp-q { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: var(--space-4); }
.lp-q > .lp-display, .lp-q > .lp-lede { margin: 0; }
.lp-q::before { inset: -6% 12% 20% 12%; }
:root[data-theme="light"] .lp-q::before { display: none; } /* the glow is navy in light: a grey haze */
.lp-q > .eyebrow { margin: 0; }
.qd { --qcw: clamp(12.5rem, 22vw, 16.5rem); --qch: calc(var(--qcw) / 1.586); position: relative; container-type: inline-size; width: min(100%, 54rem); padding-top: calc(var(--qch) * 1.2 + var(--space-4)); display: grid; justify-items: center; }
.qh { position: relative; z-index: 2; margin: 0; display: grid; justify-items: center; gap: var(--space-3); pointer-events: none; }
/* Optical size 48, as before: at 144 the "4" diagonals turn to hairlines and the "£" bar runs into them. */
.lp-q .qh .qn { display: block; font: 800 min(var(--text-poster-xl), 33cqi)/.84 var(--font-display); letter-spacing: -.045em; font-variation-settings: "opsz" 48; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; color: var(--color-money); text-shadow: 0 .05em .3em color-mix(in srgb, var(--color-bg) 70%, transparent); }
.lp-q .qh .qs { display: block; max-width: 30ch; font: 650 var(--text-display-s)/1.2 var(--font-display); letter-spacing: var(--track-title); font-variation-settings: "opsz" 48; color: var(--color-text); text-wrap: balance; }
.qd-cards { position: absolute; inset: 0 0 auto; height: 0; margin: 0; padding: 0; list-style: none; } /* no layer of its own: a card turned over comes in front of the figure */
.qc { --qc-c: var(--color-surface-2); --qx: 0cqi; --qy: 0px; --qr: 0deg; --qe: 1; --qdx: 0px; --qdy: 0px; --qdr: 0; --ql: 0; --qf: 0; --qly: calc(var(--qch) * .12); --qls: 1.12;
  position: absolute; z-index: 1; left: 50%; top: 0; width: var(--qcw); aspect-ratio: 1.586; perspective: 1100px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  /* its place in the fan, then dealt (--qe), held (--qdx/--qdy) and, turned over, lifted to the front and straightened (--ql) */
  transform: translateX(-50%) translate(calc((var(--qx) + var(--qdx)) * (1 - var(--ql))), calc((var(--qy) + var(--qdy) + (1 - var(--qe)) * 130%) * (1 - var(--ql)) + var(--qly) * var(--ql)))
    rotate(calc((var(--qr) + var(--qdr) * 1deg + (1 - var(--qe)) * var(--qspin, 18deg)) * (1 - var(--ql)))) scale(calc(1 + (var(--qls) - 1) * var(--ql)));
  /* in the fan it turns about its centre; lifted, it grows from its top edge down over the figure, never up into the
     line above (--qls, the lift, is set by enhance.js so a turned card always reads at one size) */
  transform-origin: 50% calc(50% * (1 - var(--ql)));
  opacity: min(1, calc(var(--qe) * 1.6)); }
.qc-in { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(calc(var(--qtx, 0) * 1deg)) rotateY(calc((var(--qf) + var(--qty, 0)) * 1deg)); transition: opacity .25s var(--ease-settle); }
.qc-face { position: absolute; inset: 0; box-sizing: border-box; padding: var(--space-4); border-radius: var(--radius-xl); overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; text-align: left; color: var(--mark-ink);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  background: linear-gradient(140deg, var(--qc-hi, var(--qc-c)), var(--qc-c) 50%, color-mix(in oklab, var(--qc-c), black 45%));
  box-shadow: inset 0 1px 0 var(--mark-ring-strong), inset 0 var(--qc-foot, 0) 0 var(--qc-line, transparent), var(--shadow-2); }
.qc-face::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, var(--mark-ring), transparent 40%); pointer-events: none; }
/* C316 (owner, 8 Nov: "the metallic look is not that good, the sheen is good … more premium apple-like"; apple-design):
   the face is one smooth, luminous field of the bank's colour, as Apple Card is in Wallet: the colour lifts towards the
   top-left, turns a little in hue across the card (a neighbouring hue where the browser can mix one) and deepens to the
   bottom-right; a hairline rim and a lit top edge; a soft shadow well below it. No texture, no bands. The sheen (C315)
   stays: a band of light set by the card's place in the fan that slides as it's dragged (--qdx, enhance.js). */
.qc { --qc-alt: var(--qc-hi, var(--qc-c)); }
/* C319 (owner, 9 Nov: "Lets go with vivid", chosen from four studies; apple-design): Apple Card in Wallet. A richer mesh
   of the bank's own colours (a lit corner, a neighbouring hue at the top right, depth below), the bank's name small at the
   top with the i beside it, the reward as the card's headline, both dates on one line under it. */
@supports (color: oklch(from red l c h)) { .qc { --qc-alt: oklch(from var(--qc-c) calc(l + .05) c calc(h + 26)); } }
/* C328 (owner, 9 Nov: "pure aurora but make the card background color a tiny bit less intense", from the hero card
   studies; apple-design). Aurora: the bank's colour blended softly with its neighbouring hues (a lighter one top-left, a
   turned one top-right, a deeper one bottom-right), matte, with a fine grain, and no sheen. A thin veil of shade over
   it all takes the intensity down a touch and keeps white text clear on the lit corner. */
.qc { --qa1: color-mix(in oklab, var(--qc-hi, var(--qc-c)), white 12%); --qa2: color-mix(in oklab, var(--qc-c), black 34%); --qa3: var(--qc-alt); --qa-veil: color-mix(in srgb, var(--mask-solid) 12%, transparent); }
@supports (color: oklch(from red l c h)) { .qc { --qa1: oklch(from var(--qc-c) calc(l + .1) calc(c * .9) calc(h - 22)); --qa2: oklch(from var(--qc-c) calc(l - .1) c calc(h + 24)); --qa3: oklch(from var(--qc-c) calc(l + .06) calc(c * .9) calc(h + 40)); } }
.qc-front {
  background:
    linear-gradient(var(--qa-veil), var(--qa-veil)),
    radial-gradient(95% 125% at 0% 0%, color-mix(in oklab, var(--qa1) 80%, transparent), transparent 60%),
    radial-gradient(95% 125% at 100% 100%, var(--qa2), transparent 62%),
    radial-gradient(75% 95% at 92% 8%, color-mix(in oklab, var(--qa3) 75%, transparent), transparent 60%),
    var(--qc-c);
  box-shadow: inset 0 1px 0 color-mix(in oklab, white 45%, transparent), inset 0 0 0 1px color-mix(in oklab, white 14%, transparent),
    inset 0 var(--qc-foot, 0) 0 var(--qc-line, transparent),
    0 1px 1px color-mix(in srgb, var(--mask-solid) 25%, transparent), 0 26px 50px -22px color-mix(in srgb, var(--mask-solid) 65%, transparent),
    0 18px 60px -16px color-mix(in oklab, var(--qc-c) 65%, transparent); }
/* C318 (owner, 9 Nov: "quite bland", apple-design): richness from light, not louder colour. A little more light on the
   corner and the hue turn, a brighter rim, each card's own colour glowing faintly on the ground under it, and under a
   mouse the card turns a few degrees towards the pointer (enhance.js, --qtx/--qty) with its sheen moving to match. */
/* C328: the grain, fine and still (a fractal noise, over the colour, under the words); the sheen is gone. */
.qc-face::after { opacity: .18; mix-blend-mode: overlay; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E"); }
.qc-face > :not(.qc-top), .qc-top > * { position: relative; z-index: 1; } /* the words over the grain */
/* C330 (owner, 9 Nov: turned over, "a lot of text overlay"): each face is drawn only while it faces you. The turn's
   angle (--qf, 0 to 180, enhance.js) switches them at 90 degrees, so the other side's words can never show through,
   whatever a browser does with backface-visibility on text with its own layer (Safari draws such text through a turned
   face). */
.qc-front { opacity: clamp(0, (90 - var(--qf)) * 1000, 1); }
.qc-back { opacity: clamp(0, (var(--qf) - 90) * 1000, 1); }
/* The back: the same aurora, deeper, so its lines read easily. */
.qc-back { transform: rotateY(180deg); --qa-veil: color-mix(in srgb, var(--mask-solid) 30%, transparent);
  background: linear-gradient(var(--qa-veil), var(--qa-veil)), radial-gradient(95% 125% at 0% 0%, color-mix(in oklab, var(--qa1) 70%, transparent), transparent 60%),
    radial-gradient(95% 125% at 100% 100%, var(--qa2), transparent 62%), radial-gradient(75% 95% at 92% 8%, color-mix(in oklab, var(--qa3) 65%, transparent), transparent 60%), var(--qc-c); }
/* 8 Nov 2026 (owner's review of the turned card): the back is one drawing that scales with its card, type and spacing
   alike (cqi: a share of the card's width), so it fits a laptop's smaller card exactly as it fits a large screen's;
   lifted, the card grows to one reading size (enhance.js), so the words end up the same size everywhere. Hidden at
   rest, it is only ever read lifted: its lines at 13.5 px (12.3 on a 360 px phone). */
.qc .qc-back { font-size: 5cqi; padding: .9em 1em; gap: .45em; }
.qc.is-held { z-index: 3; cursor: grabbing; }
.qc.is-up { z-index: 4; cursor: pointer; }
.qc.is-gone { pointer-events: none; }
/* While one card is read, the rest step back, the figure too (apple-design: dim to focus): the card in front is the one
   bright thing, so where it covers the figure it reads as in front of it, not run into it. */
.qd.is-reading .qc:not(.is-up) .qc-in { opacity: .2; }
.lp-q .qh .qn { transition: opacity .35s var(--ease-settle); }
.qd.is-reading .qh .qn { opacity: .2; }
/* A card whose button has keyboard focus comes to the front, so its focus ring is never under another card (phones). */
.qc:not(.is-up):has(> .qc-turn:focus-visible) { z-index: 3; }
.qc-bh { display: flex; align-items: center; gap: var(--space-2); font: 650 .875em/1.2 var(--font-text); }
.qc-bh .bm { --bm: 7cqi; }
.qc-rows { display: grid; align-content: center; gap: .2em; }
.qc-row { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 1em; padding-left: 1.35em; font: 500 .75em/1.3 var(--font-text); }
/* C328: each step a dot on one line, as on the front; the payment's dot is green, ringed in white. */
.qc-row::before { content: ""; position: absolute; left: .2em; top: .42em; width: .6em; height: .6em; border-radius: 50%; background: var(--mark-ink); }
.qc-row:not(:last-child)::after { content: ""; position: absolute; left: .47em; top: 1.05em; bottom: -.55em; width: 1px; background: color-mix(in srgb, var(--mark-ink) 45%, transparent); }
.qc-row.qc-pay::before { background: var(--film-green); box-shadow: 0 0 0 .15em var(--mark-ink); }
.qc-row time { flex: none; font-weight: 650; font-variant-numeric: tabular-nums; }
/* The payout is what the steps above it earn: set off under a hairline, in the weight of a total. */
.qc-row.qc-pay { font-weight: 700; }
.qc-row.qc-pay time { font-weight: 700; }
.qc-src { padding-right: 15cqi; font: 500 .75em/1.35 var(--font-text); }
.qc-src a { color: inherit; font-weight: 650; text-decoration: underline; text-underline-offset: .15em; white-space: nowrap; }
.qc-src a:focus-visible { outline: 2px solid var(--mark-ink); outline-offset: 2px; border-radius: var(--radius-xs); }
.qc-src .go-chev > svg { width: 1.2em; height: 1.2em; } /* C368: the chevron scales with the card's words, as they do */
/* The turn, as on a Wallet pass: a small i in the corner; turned over it closes. Hidden without script (it needs it). */
.qc-turn { position: absolute; right: 4cqi; top: 4cqi; z-index: 2; display: grid; place-items: center; width: max(24px, 9.5cqi); height: max(24px, 9.5cqi); min-height: 0; padding: 0; margin: 0; border: 0; border-radius: 50%; background: color-mix(in oklab, white 16%, transparent); box-shadow: inset 0 1px 0 color-mix(in oklab, white 35%, transparent), inset 0 0 0 1px color-mix(in oklab, white 18%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--mark-ink); font: italic 700 var(--text-sm)/1 var(--font-display); cursor: pointer; }
.qc-turn[hidden] { display: none; }
.qc-turn::before { content: "i"; }
.qc-turn[aria-expanded="true"]::before { content: "×"; font: 400 var(--text-lg)/1 var(--font-text); }
.qc-turn:focus-visible { outline: 2px solid var(--mark-ink); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .qc-turn:hover { background: color-mix(in srgb, var(--mark-ink) 34%, transparent); } }
@media (prefers-reduced-motion: reduce) {
  .qc-in, .qc-back { transform: none; }
  .qc-face { transition: opacity .2s ease-out; }
  .qc-back, .qc.is-flipped .qc-front { opacity: 0; }
  .qc.is-flipped .qc-back { opacity: 1; }
}
/* C328: Pocketly's mark and the bank's name; the reward; then a line from the day you switch to the day it pays, with
   the days between, ending on a green dot (Switch to paid's layout). */
.qc-front { grid-template-rows: auto auto 1fr auto; }
.qc-top { display: contents; }
.qc .bm { --bm: 24px; color: var(--mark-ink); background: color-mix(in srgb, var(--mask-solid) 22%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mark-ink) 40%, transparent); }
.qc-who { display: flex; align-items: center; gap: var(--space-2); min-width: 0; padding-right: 10cqi; }
.qc-who b { font: 600 var(--text-sm)/1.2 var(--font-text); letter-spacing: -.005em; overflow-wrap: anywhere; }
.qc-amt { grid-row: 2; margin-top: var(--space-2); font: 700 var(--text-3xl)/1 var(--font-display); font-variation-settings: "opsz" 36; letter-spacing: -.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.qc-tl { grid-row: 4; position: relative; display: flex; justify-content: space-between; align-items: flex-end; padding-top: var(--space-3); }
.qc-tl::before { content: ""; position: absolute; left: .3em; right: .3em; top: .2em; height: 2px; border-radius: var(--radius-pill); background: linear-gradient(90deg, color-mix(in srgb, var(--mark-ink) 80%, transparent), color-mix(in srgb, var(--mark-ink) 45%, transparent)); }
.qc-days { position: absolute; left: 50%; top: .75em; translate: -50% 0; font: 600 var(--text-xs)/1 var(--font-mono); color: color-mix(in oklab, var(--mark-ink) 78%, transparent); white-space: nowrap; }
.qc-f { position: relative; display: grid; white-space: nowrap; }
.qc-f + .qc-f { text-align: right; }
.qc-f::before { content: ""; position: absolute; top: -.85em; left: 0; width: .65em; height: .65em; border-radius: 50%; background: var(--mark-ink); }
.qc-f + .qc-f::before { left: auto; right: 0; background: var(--film-green); box-shadow: 0 0 0 .14em var(--mark-ink); }
.qc-f small { font: 500 var(--text-xs)/1.2 var(--font-text); color: color-mix(in oklab, var(--mark-ink) 80%, transparent); }
.qc-f b { font: 700 var(--text-xs)/1.2 var(--font-text); white-space: nowrap; }
/* A date never breaks between its day and its month. */
.qc-date { white-space: nowrap; }
/* The card itself decides how tight its top row is (tablets, phones): a narrow card's mark and amount step down a size
   so the bank's name always has its own room and the amount never prints over it. */
.qc { container: qc / inline-size; }
@container qc (max-width: 16rem) { .qc .bm { --bm: 22px; } .qc-amt { font-size: var(--text-2xl); } }
@container qc (max-width: 13.5rem) { .qc-front { padding-inline: var(--space-3); } } /* the smallest cards */
/* C370 (owner, 11 Nov: on phones the cards' words were cluttered and some ran out of the card; apple-design, simplicity
   over shrinking): a small card says less, as a card in Wallet's stack shows its name and its one number. Under 14 rem
   (every phone, and any card when the text is large) the face keeps the bank, the reward and the day it's paid, on one
   line under the track; the day you switch and the days between stay for screen readers, and are on the back. Each size
   is a share of the card's own width (cqi), so the face fits its card at any size, as the print on a real card does; the
   bank's name and the paid line never go below 12 px. */
@container qc (max-width: 14rem) {
  .qc .qc-front { padding: 6cqi 7cqi; }
  .qc .qc-front .bm { --bm: 12cqi; }
  .qc-front .qc-who { gap: 3.5cqi; padding-right: calc(max(24px, 9.5cqi) - 1cqi); } /* clear of the turn-over button */
  .qc-front .qc-who b { font-size: max(var(--text-floor), 7.5cqi); }
  .qc-front .qc-amt { margin-top: 3cqi; font-size: 17cqi; }
  .qc-front .qc-tl { justify-content: flex-end; padding-top: 5cqi; }
  .qc-front .qc-tl::before { top: 1.2cqi; left: 1.8cqi; right: 1.8cqi; }
  .qc-front .qc-tl::after { content: ""; position: absolute; left: 0; top: calc(1px - .6cqi); width: 3.6cqi; height: 3.6cqi; border-radius: 50%; background: var(--mark-ink); }
  .qc-front :is(.qc-days, .qc-days + .qc-f) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .qc-front .qc-f + .qc-f { display: flex; align-items: baseline; gap: .3em; font-size: max(var(--text-floor), 6.2cqi); }
  .qc-front .qc-f + .qc-f::before { top: calc(1px - 5.6cqi); width: 3.6cqi; height: 3.6cqi; }
  .qc-front .qc-f :is(small, b) { font-size: inherit; line-height: 1.2; }
  .qc .qc-turn { font-size: max(var(--text-floor), 7.5cqi); }
}
.qc-natwest { --qc-c: var(--bank-natwest); --qc-hi: var(--glow-natwest); }
.qc-rbs { --qc-c: var(--bank-rbs); --qc-hi: var(--glow-rbs); }
.qc-santander { --qc-c: color-mix(in oklab, var(--bank-santander), black 16%); --qc-hi: var(--bank-santander); }
.qc-lloyds { --qc-c: var(--bank-lloyds); }
.qc-nationwide { --qc-c: color-mix(in oklab, var(--bank-nationwide), var(--bank-halifax) 55%); --qc-hi: color-mix(in oklab, var(--bank-halifax), white 18%); --qc-alt: var(--bank-nationwide-red); } /* C328: its navy leans to a brighter blue, its red in the corner */
.qc-first-direct { --qc-c: color-mix(in oklab, var(--bank-first-direct), white 16%); --qc-hi: var(--glow-first-direct); } /* graphite */
.qc-barclays { --qc-c: color-mix(in oklab, var(--bank-barclays), black 40%); }
.qc-hsbc { --qc-c: color-mix(in oklab, var(--bank-hsbc), black 14%); --qc-hi: var(--bank-hsbc); }
.qc-halifax { --qc-c: var(--bank-halifax); }
/* The fan: the first card left and higher, the next right and lower, a lone card just off centre. On a phone they fan
   one above the other, so each card's name and date stay readable. */
.qd-0 { --qx: -19cqi; --qy: 0px; --qr: -5deg; --qspin: -18deg; }
.qd-1 { --qx: 19cqi; --qy: calc(var(--qch) * .06); --qr: 4.5deg; --qi: 1; }
.qd-2 { --qx: 0cqi; --qy: 0px; --qr: 1.5deg; --qi: 2; z-index: 0; }
.qd-only { --qx: 6cqi; --qy: calc(var(--qch) * .04); --qr: -3deg; }
@media (max-width: 600px) {
  .qd { --qcw: min(13.25rem, 48vw); padding-top: calc(var(--qch) * 1.62 + var(--space-4)); }
  .qc { --qly: calc(var(--qch) * .07); }
  .qc-face { padding: var(--space-3) var(--space-4); border-radius: var(--radius-lg); }
  .qc .bm { --bm: 26px; }
  .qc-amt { font-size: var(--text-2xl); }
}
@container (max-width: 559px) {
  .qd-0 { --qx: -19cqi; --qy: 0px; --qr: -4deg; }
  .qd-1 { --qx: 19cqi; --qy: calc(var(--qch) * .5); --qr: 3.5deg; } /* C319: wide enough apart that the reward on the card behind shows */
  .qd-2 { --qx: 0cqi; --qy: calc(var(--qch) * .2); }
  .qd-only { --qx: 0cqi; --qy: calc(var(--qch) * .26); --qr: -3deg; }
}
/* The bar: the quick check's first two questions, glass over the page, and the button that takes them to /check. */
.qb { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-1); margin-top: var(--space-2); padding: var(--space-1); border-radius: var(--radius-xl); background: color-mix(in srgb, var(--color-surface-2) 72%, transparent); border: 1px solid var(--hairline-strong); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: var(--shadow-2); }
.qb-f { display: grid; gap: 2px; min-width: 10rem; margin: 0; padding: var(--space-2) var(--space-4); text-align: left; cursor: pointer; }
.qb-f + .qb-f { border-left: 1px solid var(--hairline); }
.qb-f > span { font: 600 var(--text-xs)/1.2 var(--font-text); letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-muted); }
/* The two questions are the site's own selects (app.css: the customisable select, its list a floating surface that
   opens from its field, rounded, with the current choice ticked). In the bar they lose their box; the list becomes glass
   over the page with each bank's mark beside its name, and the whole field opens it (enhance.js). Where the customisable
   select isn't supported (Safari and Firefox today) the list is the system's own, its rows in the page's colours where
   the system allows. The placeholder reads quieter than an answer. */
.qb .qb-f select { width: 100%; min-height: 28px; height: auto; margin: 0; padding: 0; border: 0; border-radius: var(--radius-xs); box-shadow: none; background-color: transparent; font: 600 var(--text-md)/1.4 var(--font-text); color: var(--color-text); cursor: pointer; }
.qb .qb-f select:has(option[value=""]:checked) { color: var(--color-text-muted); }
.qb .qb-f select:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }
@supports not (appearance: base-select) {
  .qb .qb-f select { padding-right: var(--space-5);
    background: linear-gradient(45deg, transparent 50%, var(--color-text-muted) 50%) calc(100% - 7px) 55% / 5px 5px no-repeat, linear-gradient(135deg, var(--color-text-muted) 50%, transparent 50%) calc(100% - 2px) 55% / 5px 5px no-repeat; }
  .qb .qb-f select option { background-color: var(--color-surface-1); color: var(--color-text); }
}
@supports (appearance: base-select) {
  .qb .qb-f select::picker(select) { min-width: 15rem; max-height: min(28rem, 72vh); background: color-mix(in srgb, var(--color-surface-2) 84%, transparent); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); }
  /* Each list opens from its whole field (anchored to it, not to the word), clear of the bar's edge either way up. */
  .qb-f:first-child { anchor-name: --qb-bank; } .qb-f:nth-child(2) { anchor-name: --qb-cash; }
  .qb .qb-f:first-child select::picker(select) { position-anchor: --qb-bank; } .qb .qb-f:nth-child(2) select::picker(select) { position-anchor: --qb-cash; }
  .qb .qb-f select::picker(select) { margin-block: var(--space-3); }
  .qb .qb-f select option { gap: var(--space-3); font-weight: 550; }
  .qb .qb-f select option[data-mark]::before { content: attr(data-mark); display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: var(--radius-chip); background: var(--qo-c, var(--color-surface-2)); color: var(--qo-ink, var(--mark-ink)); box-shadow: inset 0 0 0 1px var(--mark-ring); font: 800 .7em/1 var(--font-text); letter-spacing: -.02em; }
  .qb .qb-f select[name="bank"] option:not([data-mark])::before { content: ""; flex: none; width: 26px; height: 26px; }
  .qb .qb-f select option[value=""] { display: none; }
}
@media (prefers-reduced-transparency: reduce) { .qb .qb-f select::picker(select) { background: var(--color-surface-2); backdrop-filter: none; -webkit-backdrop-filter: none; } }
.qo-barclays { --qo-c: var(--bank-barclays); --qo-ink: var(--bank-barclays-ink); } .qo-hsbc { --qo-c: var(--bank-hsbc); } .qo-lloyds { --qo-c: var(--bank-lloyds); }
.qo-natwest { --qo-c: var(--bank-natwest); } .qo-santander { --qo-c: var(--bank-santander); } .qo-nationwide { --qo-c: var(--bank-nationwide); }
.qo-halifax { --qo-c: var(--bank-halifax); } .qo-monzo { --qo-c: var(--bank-monzo); --qo-ink: var(--bank-monzo-ink); }
.qb-go { border-radius: var(--radius-lg); }
.qf { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-2) var(--space-3); }
.qf-t { margin: 0; font-size: var(--text-sm); color: var(--color-text-muted); font-variant-numeric: tabular-nums; }
.lp-q .lp-bounds { justify-content: center; margin: 0; }
@media (max-width: 600px) {
  .qb { flex-direction: column; align-items: stretch; width: 100%; }
  .qb-f + .qb-f { border-left: 0; border-top: 1px solid var(--hairline); }
  .qb .qb-f select { min-height: var(--target-min); }
  .qb-go { justify-content: center; }
}
@media (forced-colors: active) { .qc-face { border: 1px solid CanvasText; } }
/* 10 Nov 2026 (owner's re-audit of the first section): on short laptops (720 to 800 px tall) the cards are a size
   smaller and the gaps tighter, so the line under the bar (what you'd keep, the example) is on the first screen with the
   figure at full size; above 1600 px the figure, the cards and the sentence take one more step, so the composition fills
   a large screen as it does a laptop's. */
@media (min-width: 901px) and (max-height: 800px) { .qd { --qcw: clamp(12.5rem, 17vw, 13.5rem); } .lp-q { gap: var(--space-3); } .lp-hero.lp-q { padding-top: var(--space-3); } }
@media (min-width: 1600px) { .qd { --qcw: clamp(16.5rem, 14vw, 18.5rem); width: min(100%, 62rem); } .lp-q .qh .qn { font-size: min(var(--text-poster-wide), 33cqi); } .lp-q .qh .qs { font-size: var(--text-display-m); } }
/* Cycle 352: on a phone the tab bar takes the bottom of the first screen, so the hero tightens a little (cards a size
   smaller, less air above and between) and the plan's button still sits above the bar on a 390 x 844 screen. */
@media (max-width: 560px) {
  body.has-tabbar .lp-hero.lp-q { padding-top: var(--space-3); gap: var(--space-3); }
  body.has-tabbar .qd { --qcw: 12.25rem; }
  /* Cycle 359: the two questions side by side and the button under them (it was three rows), so the button and the line
     under it sit above the tab bar on the first screen of a 390 x 844 phone (they were under it). */
  .qb { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .qb-f { min-width: 0; padding: var(--space-2) var(--space-3); }
  .qb-f + .qb-f { border-top: 0; border-left: 1px solid var(--hairline); }
  .qb-go { grid-column: 1 / -1; }
  /* The two cards a size smaller and fanned a little wider, so the card in front no longer hides the "Paid by" date of
     the one behind (research, 11 Nov), and the first screen gains the room for the line under the bar. */
  body.has-tabbar .qd { --qcw: min(11.25rem, 48vw); } /* C370: two side by side always fit the screen, whatever the text size */
  body.has-tabbar .qd-0 { --qx: calc(var(--qcw) * -.5); }
  body.has-tabbar .qd-1 { --qx: calc(var(--qcw) * .5); } /* C370: edge to edge at any text size, so neither covers the other's paid line */
}
/* Cycle 367 (review VC-03): on a short phone (375 x 667, 320 x 700) the same hero, a size smaller again, so the plan's
   button still sits above the tab bar (it was behind the glass). The design is unchanged; only its scale. */
@media (max-width: 560px) and (max-height: 720px) { body.has-tabbar .qd { --qcw: min(9rem, 48vw); } body.has-tabbar .lp-q .qh .qn { font-size: min(var(--text-hero), 33cqi); } }
/* C370 (owner, 11 Nov: the phone header and the first section with large text): the hero measures itself in rem, so the
   bar's two questions stack (the divider turning from a side rule to a top rule) when large text needs the width; at
   default sizes nothing changes. On the narrowest screens (a 320 px phone zoomed to 200%) the two cards are one above
   the other at a readable size instead of two side by side too small to read. */
.lp-q { container: lpq / inline-size; }
@container lpq (max-width: 16rem) {
  .qb { grid-template-columns: minmax(0, 1fr); }
  .qb-f + .qb-f { border-left: 0; border-top: 1px solid var(--hairline); }
}
@media (max-width: 260px) {
  body.has-tabbar .qd { --qcw: 80vw; padding-top: calc(var(--qch) * 2.25 + var(--space-4)); }
  body.has-tabbar .qd-0 { --qx: 0px; --qy: 0px; --qr: -2deg; }
  body.has-tabbar .qd-1 { --qx: 0px; --qy: calc(var(--qch) * 1.12); --qr: 2deg; }
}
/* C385 (owner, 12 Nov: "I pick the C · Worry selector", from four studies; apple-design): the worries as a list beside
   one answer at a time, as Apple's "Take a closer look" pairs a list with a large panel. The chosen worry is a raised row
   on the list; its answer is the panel's headline, its reason under it, and under a hairline a small drawing of the
   figures in that sentence. Every panel shares one grid cell, so the panel is always the tallest answer's height and
   nothing below moves as you choose. A choice crossfades with a short rise (a fade alone with reduced motion). On a phone
   the list is a row of chips you swipe, over the panel. Without scripts the list goes and every answer shows, each with
   its worry above it. */
.wq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-4) var(--space-7); align-items: start; margin-top: var(--space-6); }
.wq-list { display: grid; gap: var(--space-1); }
.wq-tab { all: unset; box-sizing: border-box; display: block; width: 100%; padding: var(--space-3) var(--space-4); border-radius: var(--radius-lg); cursor: pointer; font: 500 var(--text-md)/1.4 var(--font-text); letter-spacing: -.01em; color: var(--color-text-muted); text-wrap: pretty; -webkit-tap-highlight-color: transparent; transition: background-color 240ms ease-out, color 240ms ease-out, box-shadow 240ms ease-out; }
.wq-tab[aria-selected="true"] { background: var(--color-surface-1); color: var(--color-heading); font-weight: 600; box-shadow: var(--shadow-1), 0 0 0 1px var(--hairline); }
@media (hover: hover) and (pointer: fine) { .wq-tab[aria-selected="false"]:hover { color: var(--color-text); background: var(--fill); } }
.wq-tab:active { background: var(--fill-strong); }
.wq-tab:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.wq-panels { display: grid; padding: var(--space-6); border: 1px solid var(--hairline); border-radius: var(--radius-xl); background: var(--color-surface-1); box-shadow: var(--shadow-2); }
.wq-panel { grid-area: 1 / 1; display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.early .wq-panel:not(.is-on) { visibility: hidden; opacity: 0; }
.early .wq-panel.is-on { animation: wq-in 520ms var(--ease-settle) both; }
@keyframes wq-in { from { opacity: 0; translate: 0 .5rem; } }
.wq-q { display: none; margin: 0; font: 600 var(--text-sm)/1.4 var(--font-text); color: var(--color-text-muted); }
.wq-a { margin: 0; font: 600 var(--text-display-m)/1.02 var(--font-display); letter-spacing: var(--track-display); color: var(--color-heading); text-wrap: balance; }
.wq-dot { font-style: normal; color: var(--color-plan-mark); }
.wq-r { margin: 0; max-width: 34rem; font-size: var(--text-lg); line-height: 1.5; color: var(--color-text-muted); text-wrap: pretty; overflow-wrap: anywhere; }
.wq-r b { font-weight: 600; color: var(--color-text); }
.wq-vis { margin-top: auto; padding-top: var(--space-4); border-top: 1px solid var(--hairline); font-size: var(--text-sm); color: var(--color-text-muted); }
.wq-cap { margin: 0; font-size: var(--text-sm); line-height: 1.4; }
/* The drawings: dots for the offers, a line from one day to another, a bar for your money, a sum. */
.wq-dots { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-2); }
.wq-dots i { width: .875rem; height: .875rem; border-radius: 50%; background: var(--color-plan); }
.wq-dots i.is-salary { background: none; box-shadow: inset 0 0 0 1.5px var(--hairline-strong); }
.wq-line { position: relative; display: flex; justify-content: space-between; gap: var(--space-3); padding-top: var(--space-5); }
.wq-line::before { content: ""; position: absolute; left: .375rem; right: .375rem; top: .4375rem; height: 2px; border-radius: var(--radius-xs); background: linear-gradient(90deg, var(--color-plan), var(--color-done)); }
.wq-pt { position: relative; display: grid; gap: 2px; min-width: 0; }
.wq-pt::before { content: ""; position: absolute; top: calc(-1 * var(--space-5)); left: 0; width: .875rem; height: .875rem; border-radius: 50%; background: var(--color-plan); box-shadow: 0 0 0 3px var(--color-surface-1); }
.wq-pt b { font-weight: 600; color: var(--color-text); }
.wq-end { text-align: right; }
.wq-end::before { left: auto; right: 0; background: var(--color-done); }
.wq-gap { position: absolute; left: 50%; top: 0; translate: -50% 0; padding-inline: var(--space-2); background: var(--color-surface-1); font-weight: 600; font-size: var(--text-xs); line-height: 1.2; white-space: nowrap; }
.wq-bar { display: flex; height: .75rem; margin-bottom: var(--space-2); border-radius: var(--radius-pill); overflow: hidden; background: var(--fill); }
.wq-bar i { width: 34%; background: repeating-linear-gradient(135deg, var(--hairline-strong) 0 2px, transparent 2px 6px); }
.wq-bar u { flex: 1; background: var(--color-plan); }
.wq-keys { display: flex; justify-content: space-between; gap: var(--space-3); }
.wq-keys span:last-child { text-align: right; }
.wq-sum { display: grid; margin: 0; }
.wq-sum div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); padding-block: var(--space-1); }
.wq-sum div + div { border-top: 1px solid var(--hairline); }
.wq-sum dt { min-width: 0; }
.wq-sum dd { margin: 0; flex: none; font-weight: 650; color: var(--color-text); font-variant-numeric: tabular-nums; }
.wq-sum .is-cost dd { color: var(--color-attention); }
.lp-plan#how .tq-end { margin-top: var(--space-6); }
@media (min-width: 761px) and (max-width: 1100px) { .wq { gap: var(--space-4) var(--space-5); } .wq-panels { padding: var(--space-5); } }
@media (max-width: 760px) {
  .wq { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); margin-top: var(--space-5); }
  .wq-list { display: flex; gap: var(--space-2); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none;
    margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))) calc(-1 * max(16px, env(safe-area-inset-right, 0px)));
    padding: 2px max(16px, env(safe-area-inset-right, 0px)) var(--space-1) max(16px, env(safe-area-inset-left, 0px)); scroll-padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
  .wq-list::-webkit-scrollbar { display: none; }
  .wq-tab { flex: none; width: auto; max-width: min(17rem, 78vw); min-height: 44px; padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill); font-size: var(--text-sm); background: var(--fill); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; scroll-snap-align: start; }
  .wq-tab[aria-selected="true"] { background: var(--color-heading); color: var(--color-bg); box-shadow: none; }
  .wq-panels { padding: var(--space-5) min(var(--space-5), 5vw); }
  .wq-a { font-size: var(--text-display-s); }
  .wq-r { font-size: var(--text-md); }
  .lp-plan#how .tq-end { flex-direction: column; align-items: flex-start; gap: var(--space-2); margin-top: var(--space-4); }
}
/* Without scripts: every answer, each under its worry. */
:root:not(.early) .wq { grid-template-columns: minmax(0, 1fr); }
:root:not(.early) .wq-list { display: none; }
:root:not(.early) .wq-panels { gap: var(--space-6); }
:root:not(.early) .wq-panel { grid-area: auto; }
:root:not(.early) .wq-q { display: block; }
@media (prefers-reduced-motion: reduce) { .early .wq-panel.is-on { animation: wq-fade 200ms ease-out both; } .wq-tab { transition: none; } }
@keyframes wq-fade { from { opacity: 0; } }
@media (forced-colors: active) { .wq-tab[aria-selected="true"] { outline: 2px solid CanvasText; } .wq-panels { border-color: CanvasText; } .wq-dots i, .wq-bar u, .wq-pt::before { forced-color-adjust: none; background: CanvasText; } }
