/* Shared styles for the v2 prototype pages: Home, What we test, Packages and the blog. */
:root {
  color-scheme: light;
  --font: "Schibsted Grotesk", system-ui, sans-serif;
  --mono: "Fragment Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(20px, 4.5vw, 72px);
  --space: clamp(56px, 7vw, 104px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* the request grid's tones, from paper to night, used as whole section fields */
  --paper: #FAFAF7;
  --canvas: #F2F3EF;
  --idle: #E6E9E2;
  --tint: #E6F4EA;
  --pass-1: #D6EEDD;
  --pass-3: #8ECFA6;
  --night: #16191D;
  --night-2: #1F2328;
  --night-line: #343B43;

  --ink: #1C2024;
  --ink-2: #434C55;
  --muted: #5E6873;
  --line: #D9DEE3;
  --line-soft: #E9EDF0;
  --on-night: #F1F3F5;
  --on-night-2: #B3BCC5;
  --link: #3F6FD8;

  --green: #1A7A40;
  --green-deep: #156535;
  --green-ink: #14632F;
  --green-mark: #BFE5CB;
  --red: #C2302E;
  --red-ink: #A62A28;
  --red-tint: #FCECEB;
  --red-mark: #F5C6C3;

  --l-web-bg: #DCE9FF;  --l-web: #1D4C9E;

  --platinum-sheen: repeating-linear-gradient(120deg, #7F93E6 0, #B78BE8 56px, #E58FBF 112px, #F2C17A 168px, #6FCDB8 224px, #7F93E6 280px);
  --shadow: 0 2px 6px rgba(22, 25, 29, 0.06), 0 18px 48px rgba(22, 25, 29, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
::selection { background: var(--green-mark); color: var(--ink); }
input { caret-color: var(--green); }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
p, ol, ul, figure, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
.wrap { width: 100%; max-width: 90rem; margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.band { padding-block: var(--space); }
/* the first section after a hero sits closer to it; the family rows carry their own padding */
.hero + .band { padding-top: clamp(40px, 4.5vw, 64px); }
.hero + .band.tight-top { padding-top: clamp(8px, 1.5vw, 20px); }
.tone-paper { background: var(--paper); }
.tone-canvas { background: var(--canvas); }
.tone-idle { background: var(--idle); }
.tone-pass { background: var(--pass-1); }
.tone-night { background: var(--night); color: var(--on-night); }
.h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.02; letter-spacing: -0.035em; }
.lead { margin-top: 16px; font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.45; color: var(--ink-2); max-width: 32rem; }
.fineprint { font-size: 0.875rem; color: var(--muted); }

.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; font-size: 0.9375rem; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; }
.pill:hover { text-decoration: none; background: #FFFFFF; }
.pill-green { background: var(--green); border-color: var(--green-deep); color: #FFFFFF; }
.pill-green:hover { background: var(--green-deep); }
.pill-lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }

.label { display: inline-flex; align-items: center; font-size: 0.75rem; font-weight: 600; line-height: 1; padding: 5px 9px; border-radius: 999px; background: var(--lb, var(--canvas)); color: var(--lc, var(--ink-2)); white-space: nowrap; }
.l-done { --lb: var(--green); --lc: #FFFFFF; }
.l-silver { --lb: #E5EAEF; --lc: #46515C; box-shadow: inset 0 0 0 1px #A3ACB5; }
.l-gold { --lb: #FBEDC1; --lc: #735400; box-shadow: inset 0 0 0 1px #D4AF37; }
.l-platinum { --lc: #4B3F7A; background: linear-gradient(120deg, #E3E8FF, #F1E3FF, #FFE3F0, #E3FFF6); box-shadow: inset 0 0 0 1px #B78BE8; }

/* ---------- navigation: one floating bar, with the offer in its menus ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 40; padding-inline: var(--gutter); pointer-events: none; }
.nav-bar { pointer-events: auto; position: relative; max-width: calc(90rem - 2 * var(--gutter)); margin-inline: auto; display: flex; align-items: center; gap: 8px; min-height: 64px; padding: 8px 8px 8px 18px; border-radius: 20px; background: rgba(250, 250, 247, 0.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 2px rgba(22, 25, 29, 0.06), 0 10px 30px rgba(22, 25, 29, 0.12); }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: 18px; text-decoration: none; }
.brand svg { width: 44px; height: 24px; }
.wordmark { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.wordmark b { color: #2FA97A; font-weight: 700; }
.menu { display: flex; align-items: center; gap: 2px; }
.menu-btn, .menu-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 12px; background: none; font: inherit; font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); text-decoration: none; cursor: pointer; }
.menu-btn:hover, .menu-link:hover, .menu-item.open > .menu-btn { color: var(--ink); background: var(--canvas); text-decoration: none; }
.menu-btn .icon { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.menu-item.open > .menu-btn .icon { transform: rotate(180deg); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--canvas); color: var(--ink); cursor: pointer; place-items: center; }
.burger .icon { width: 22px; height: 22px; }

.panel { position: absolute; top: calc(100% + 10px); left: 0; width: min(46rem, 100%); padding: 22px; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.18s ease, transform 0.25s var(--ease), visibility 0s linear 0.2s; }
.panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.menu-item.open > .panel { opacity: 1; visibility: visible; transform: none; transition: opacity 0.18s ease, transform 0.25s var(--ease); }
@media (min-width: 961px) { html:not(.js) .menu-item:hover > .panel, html:not(.js) .menu-item:focus-within > .panel { opacity: 1; visibility: visible; transform: none; } }
.panel-sm { width: min(25rem, 100%); }
.panel-md { width: min(35rem, 100%); }
.fams { display: grid; gap: 2px; }
.fam { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; font-size: 0.9375rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.fam:hover { background: var(--canvas); text-decoration: none; }
.panel-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 0.875rem; color: var(--muted); }
.panel-foot a { font-weight: 600; color: var(--ink); }
.panel-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.offers { display: grid; gap: 4px; }
.offer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: center; padding: 12px 14px; border-radius: 12px; color: inherit; text-decoration: none; }
.offer:hover { background: var(--canvas); text-decoration: none; }
.offer b { font-size: 0.9375rem; font-weight: 600; }
.offer > span:not(.label) { grid-column: 1; font-size: 0.8125rem; color: var(--muted); }
.offer .label { grid-row: 1 / span 2; grid-column: 2; }
.offer.free { background: var(--tint); }
.offer.free:hover { background: var(--pass-1); }

@media (max-width: 960px) {
  .nav-bar { flex-wrap: wrap; padding: 8px 8px 8px 16px; }
  .burger { display: grid; }
  .nav-end .pill { min-height: 46px; padding: 0 16px; }
  .menu { order: 3; flex-basis: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100svh - 120px); overflow-y: auto; padding: 8px 0 6px; border-top: 1px solid var(--line-soft); margin-top: 8px; }
  .nav.is-open .menu { display: flex; }
  .menu-btn, .menu-link { justify-content: space-between; width: 100%; min-height: 52px; font-size: 1.0625rem; }
  .panel { position: static; width: auto !important; display: none; padding: 4px 0 10px; box-shadow: none; background: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .menu-item.open > .panel { display: block; }
  }
@media (max-width: 480px) { .brand { margin-right: 0; } .nav .brand .wordmark { display: none; } }

/* ---------- hero: the agent's routes through the request grid ---------- */
.hero { position: relative; min-height: max(620px, 92svh); display: flex; flex-direction: column; justify-content: flex-end; background: var(--night); color: var(--on-night); overflow: hidden; }
.field { position: absolute; inset: 0; }
.field canvas { display: block; width: 100%; height: 100%; }
.field::after { content: ""; position: absolute; inset: auto 0 0; height: 22%; background: linear-gradient(to top, var(--night) 20%, rgba(22, 25, 29, 0)); pointer-events: none; }
.node { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--night-2); border: 1px solid var(--night-line); color: var(--on-night); font-size: 0.875rem; font-weight: 600; white-space: nowrap; transform: translate(0, -50%); transition: border-color 0.5s ease, background-color 0.5s ease; }
.node svg { width: 14px; height: 18px; fill: #3FCB94; }
.node-api { flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 16px; }
.node-api code { font-family: var(--mono); font-size: 0.75rem; font-weight: 400; color: var(--on-night-2); }
.node-api.is-done { border-color: var(--pass-3); background: #1E3227; }
/* ScrutifAI on the successful route: a paper badge the green line runs through */
.node-scrutifai { gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--paper); border-color: transparent; transform: translate(-50%, -50%) scale(0.85); opacity: 0; transition: opacity 0.35s ease, transform 0.45s var(--ease); }
.node-scrutifai.on { opacity: 1; transform: translate(-50%, -50%); }
.node-scrutifai svg { width: 32px; height: 18px; fill: initial; }
.node-scrutifai .wordmark { font-size: 0.875rem; }
.route-label { position: absolute; z-index: 2; padding: 4px 8px; border-radius: 6px; background: rgba(22, 25, 29, 0.88); border: 1px solid rgba(194, 48, 46, 0.55); color: var(--red-mark); font-family: var(--mono); font-size: 0.75rem; line-height: 1.4; white-space: nowrap; opacity: 0; transition: opacity 0.4s ease; }
.route-label.ok { border-color: rgba(142, 207, 166, 0.6); color: var(--green-mark); }
.route-label.on { opacity: 1; }
/* what the failures cost: two bars that climb with every red route */
.meter { position: absolute; z-index: 2; right: max(var(--gutter), calc((100% - 90rem) / 2 + var(--gutter))); display: grid; justify-items: center; gap: 8px; width: 112px; transform: translateY(calc(-50% - 48px)); }
.meter-title { font-size: 0.6875rem; font-weight: 600; color: var(--on-night-2); text-align: center; }
.gauges { display: flex; gap: 18px; }
.gauge { display: grid; justify-items: center; gap: 6px; }
.gauge b { font-size: 0.8125rem; font-weight: 600; color: #FFFFFF; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gauge > span:last-child { font-size: 0.6875rem; color: var(--on-night-2); }
.track { position: relative; width: 6px; height: 132px; border-radius: 3px; background: #2A2F35; overflow: hidden; }
.track i { position: absolute; inset: 0; border-radius: 3px; background: linear-gradient(to top, #A62A28, #E5534B); transform: scaleY(var(--fill, 0)); transform-origin: 50% 100%; transition: transform 0.7s var(--ease); }
.gauge.bump .track { animation: bump 0.6s var(--ease); }
.gauge.bump b { animation: bump-text 0.6s var(--ease); }
@keyframes bump { 30% { box-shadow: 0 0 0 3px rgba(229, 83, 75, 0.28); transform: scaleX(1.4); } }
@keyframes bump-text { 30% { color: #F5C6C3; transform: scale(1.08); } }
.meter-note { font-size: 0.625rem; color: #8C959F; }
@media (max-width: 700px) {
  .meter { width: 88px; gap: 6px; transform: translateY(calc(-50% - 16px)); }
  .meter-title, .meter-note { display: none; }
  .gauges { gap: 14px; }
  .gauge b { font-size: 0.75rem; }
  .track { height: 78px; width: 5px; }
}
.hero-copy { position: relative; z-index: 3; width: 100%; max-width: 90rem; margin-inline: auto; padding: 120px var(--gutter) clamp(44px, 8vh, 88px); pointer-events: none; }
.hero h1 { max-width: 13ch; font-size: clamp(2.5rem, 4.4vw, 4.25rem); line-height: 1.02; letter-spacing: -0.035em; color: #FFFFFF; }
/* on Home the headline sits mid-screen, with the routes above it and beside it */
@media (min-width: 701px) { .hero:not(.hero-sub) { justify-content: center; } .hero:not(.hero-sub) .hero-copy { padding-block: 150px 64px; } }
.hero-copy a, .hero-copy button { pointer-events: auto; }
.hero-sub { min-height: max(580px, 78svh); }
.hero-sub h1 { max-width: 17ch; font-size: clamp(2.5rem, 4.8vw, 4.5rem); }
@media (min-width: 701px) { .hero-sub .hero-copy { padding-top: 300px; } }
.hero-lead { margin-top: 20px; max-width: 36rem; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.5; color: var(--on-night-2); }
.hero-copy .pill { margin-top: 28px; }
@media (max-width: 700px) {
  .hero { min-height: 0; }
  .field { position: relative; height: max(380px, 52svh); }
  .field::after { height: 30%; }
  .node-api code { display: none; }
  .hero-copy { padding-top: 0; margin-top: -12px; padding-bottom: 56px; }
}

/* ---------- why now ---------- */
.why { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .why { grid-template-columns: minmax(0, 1fr); } }
.figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
@media (max-width: 520px) { .figs { grid-template-columns: minmax(0, 1fr); } }
.fig { display: grid; gap: 6px; align-content: start; padding: 20px 20px 22px 0; border-bottom: 1px solid var(--line); }
.fig b { font-size: clamp(2.5rem, 4.4vw, 3.5rem); line-height: 1; letter-spacing: -0.045em; font-weight: 600; font-variant-numeric: tabular-nums; }
.fig b small { font-size: 1.125rem; letter-spacing: 0; margin-right: 6px; color: var(--muted); }
.fig.risk b { color: var(--red-ink); }
.fig span { font-size: 0.9375rem; color: var(--ink-2); }
.fig a { font-weight: 600; font-size: 0.875rem; color: var(--ink); white-space: nowrap; }

/* ---------- example: an optional click-through, never pinned ---------- */
.example { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 900px) { .example { grid-template-columns: minmax(0, 1fr); } }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.tabs button { min-height: 40px; padding: 0 16px; border: 1px solid rgba(28, 32, 36, 0.14); border-radius: 999px; background: transparent; font: inherit; font-size: 0.9375rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.tabs button:hover { background: rgba(250, 250, 247, 0.6); }
.tabs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.steps { margin-top: 20px; display: grid; gap: 2px; counter-reset: step; }
.steps button { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 0; border: 0; background: none; font: inherit; font-size: 1rem; font-weight: 500; color: var(--muted); text-align: left; cursor: pointer; }
.steps button::before { counter-increment: step; content: counter(step); display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid rgba(28, 32, 36, 0.2); font-size: 0.8125rem; font-weight: 600; }
.steps button:hover { color: var(--ink); }
.steps button.done { color: var(--ink-2); }
.steps button.done::before { border-color: var(--green); color: var(--green); }
.steps button[aria-current="step"] { color: var(--ink); }
.steps button[aria-current="step"]::before { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.steps li:last-child button[aria-current="step"]::before { background: var(--red); border-color: var(--red); }
.steps .timer { position: absolute; left: 40px; right: 0; bottom: 2px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: 0 0; }
.example .fineprint { margin-top: 20px; }
.ch-task { margin-bottom: 12px; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }
.ch-task small { display: block; font-size: 0.875rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.screen { display: grid; }
.chapter { grid-area: 1 / 1; display: grid; }
.scene { background: #FFFFFF; border-radius: 16px; border: 1px solid rgba(28, 32, 36, 0.1); overflow: hidden; }
.scene + .scene { margin-top: 12px; }
.chapter + .chapter { display: none; }
.is-live .chapter + .chapter { display: grid; }
.is-live .chapter { opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease); }
.is-live .chapter.on { opacity: 1; pointer-events: auto; }
.is-live .chapter .scene { grid-area: 2 / 1; margin: 0; opacity: 0; transform: translateY(10px); transition: opacity 0.35s var(--ease), transform 0.45s var(--ease); }
.is-live .chapter .scene.on { opacity: 1; transform: none; }
.bar { display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-bottom: 1px solid var(--line-soft); background: var(--canvas); font-family: var(--mono); font-size: 0.8125rem; color: var(--ink-2); }
.bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.bar span { margin-left: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.docs { display: grid; grid-template-columns: 10rem minmax(0, 1fr); min-height: 250px; }
.docs nav { padding: 16px; border-right: 1px solid var(--line-soft); display: grid; gap: 4px; align-content: start; font-size: 0.875rem; color: var(--muted); }
.docs nav span { padding: 5px 10px; border-radius: 8px; }
.docs nav .here { background: var(--tint); color: var(--green-ink); font-weight: 600; }
.docs nav .gone { background: var(--red-tint); color: var(--red-ink); font-weight: 600; }
.docs article { padding: 20px 22px; display: grid; gap: 10px; align-content: start; font-size: 0.9375rem; color: var(--ink-2); }
.docs .page-title { font-size: 1.1875rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.docs .read { background: var(--pass-1); padding: 6px 10px; border-radius: 6px; color: var(--ink); }
.docs .gone-page { color: var(--red-ink); }
.docs code { font-family: var(--mono); font-size: 0.8125rem; }
@media (max-width: 560px) { .docs { grid-template-columns: minmax(0, 1fr); } .docs nav { display: none; } }
.code { font-family: var(--mono); font-size: 0.875rem; line-height: 1.8; padding: 14px 0; min-height: 250px; }
.ln { display: grid; grid-template-columns: 3rem minmax(0, 1fr); }
.ln .n { text-align: right; padding-right: 16px; color: #8C959F; user-select: none; }
.ln .c { white-space: pre-wrap; word-break: break-word; padding-right: 16px; }
.key { color: #5B33B8; }
.str { color: var(--l-web); }
.ln.ok .c { color: var(--green-ink); font-weight: 600; }
.ln.flag { background: var(--red-tint); }
.ln.flag .n { color: var(--red-ink); font-weight: 600; }
.ln.flag mark { background: var(--red-mark); color: var(--red-ink); border-radius: 3px; padding: 0 3px; }
.finding { padding: 20px 22px 22px; display: grid; gap: 12px; min-height: 250px; align-content: start; }
.finding-head { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; color: var(--muted); }
.finding-head b { color: var(--ink); }
.avatar { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: #FFFFFF; display: grid; place-items: center; flex: none; }
.avatar svg { width: 22px; height: 12px; }
.finding strong { font-size: clamp(1.1875rem, 1.8vw, 1.5rem); line-height: 1.2; letter-spacing: -0.02em; color: var(--red-ink); font-weight: 600; }
.finding p { color: var(--ink-2); }
.fix { border: 1px solid var(--green-mark); background: var(--tint); border-radius: 10px; padding: 11px 14px; color: var(--ink); }
.fix b { color: var(--green-ink); }

/* ---------- free preview ---------- */
.preview { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px clamp(40px, 6vw, 96px); align-items: center; }
@media (max-width: 960px) { .preview { grid-template-columns: minmax(0, 1fr); } }
.gets { margin-top: 24px; display: grid; gap: 14px; }
.gets li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; color: var(--ink-2); }
.gets .icon { margin-top: 3px; width: 20px; height: 20px; color: var(--green); stroke-width: 2; }
.preview .pill { margin-top: 28px; }
.timeline { margin-top: 18px; font-size: 0.9375rem; color: var(--ink-2); }
.timeline b { color: var(--ink); font-weight: 600; }
.sheet { background: #FFFFFF; color: #0C1420; padding: 24px 26px 18px; border-radius: 8px; box-shadow: 0 2px 4px rgba(28, 32, 36, 0.06), 0 18px 44px rgba(28, 32, 36, 0.16); font-size: 0.875rem; line-height: 1.45; }
.sheet-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-bottom: 1.5px solid var(--ink); padding-bottom: 8px; font-size: 0.8125rem; color: var(--muted); }
.sheet-top .wm { font-size: 1rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.sheet-top .wm b { color: #2FA97A; }
.sheet-h { font-size: 0.8125rem; font-weight: 700; color: var(--ink-2); margin: 16px 0 8px; }
.pb { display: grid; grid-template-columns: 1.8rem minmax(0, 1fr); gap: 0 8px; }
.pb + .pb { margin-top: 10px; }
.pb-n { font-size: 1.125rem; font-weight: 700; color: var(--red); line-height: 1.25; font-variant-numeric: tabular-nums; }
.pb-t { font-weight: 700; font-size: 0.9375rem; }
.ex { grid-column: 2; display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 4px 10px; margin: 8px 0 0; background: var(--canvas); border-radius: 6px; padding: 10px 12px; font-size: 0.8125rem; }
.ex dt { font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.ex dt.bad { color: var(--red-ink); }
.fx { grid-column: 2; margin-top: 8px; font-size: 0.8125rem; }
.fx b { background: var(--green); color: #FFFFFF; font-size: 0.75rem; padding: 1px 7px; border-radius: 4px; margin-right: 6px; }
.locked { position: relative; margin-top: 4px; }
.locked .pb { filter: blur(4.5px); user-select: none; pointer-events: none; }
.lock-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.lock-label span { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #FFFFFF; font-size: 0.8125rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.lock-label .icon { width: 15px; height: 15px; }
.sheet-foot { margin-top: 16px; border-top: 1px solid var(--line-soft); padding-top: 8px; font-size: 0.75rem; color: var(--muted); }

/* ---------- questions ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .faq { grid-template-columns: minmax(0, 1fr); } }
.qa { border-top: 1px solid rgba(28, 32, 36, 0.16); }
.qa details { border-bottom: 1px solid rgba(28, 32, 36, 0.16); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; cursor: pointer; font-size: 1.125rem; font-weight: 500; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .icon { width: 20px; height: 20px; transition: transform 0.25s var(--ease); }
.qa details[open] summary .icon { transform: rotate(45deg); }
.qa details.is-closing summary .icon { transform: none; }
.qa .ans { padding: 0 40px 20px 0; color: var(--ink-2); }

/* ---------- close ---------- */
/* the closing band carries the same field, all green: the agent gets it first time */
.close { position: relative; overflow: hidden; min-height: max(700px, 94svh); display: flex; flex-direction: column; justify-content: flex-end; }
.close-copy { position: relative; z-index: 3; width: 100%; max-width: 90rem; margin-inline: auto; padding: 260px var(--gutter) clamp(40px, 7vh, 72px); }
@media (max-width: 700px) { .close { min-height: 0; } .close .field { height: 320px; } .close-copy { padding-top: 0; margin-top: -8px; } }
.close h2 { max-width: 16ch; font-size: clamp(2.5rem, 5.6vw, 5rem); line-height: 1; letter-spacing: -0.045em; color: #FFFFFF; }
.close-act { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.close-act p { font-size: 0.9375rem; color: var(--on-night-2); }
.promises { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 12px 36px; padding-top: 22px; border-top: 1px solid var(--night-line); color: var(--on-night-2); font-size: 0.9375rem; }
.promises li { display: flex; align-items: center; gap: 10px; }
.promises .icon { color: var(--pass-3); stroke-width: 2; }

footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; padding-block: 28px; font-size: 0.9375rem; color: var(--muted); }
footer .brand { margin-right: auto; }
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- inner pages: What we test, Packages ---------- */
/* what we test: one row per family, opened from the menu by its anchor */
.families { display: grid; }
.family { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 0.9fr) minmax(0, 1.3fr); gap: 16px clamp(24px, 4vw, 56px); padding: 32px 24px; margin-inline: -24px; border-top: 1px solid var(--line); border-radius: 16px; transition: background-color 0.6s ease; }
.family:first-child { border-top: 0; }
.family:target { background: var(--tint); }
@media (max-width: 960px) { .family { grid-template-columns: minmax(0, 1fr); } }
.family-name { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; align-content: start; }
.family-name h2 { font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.1; letter-spacing: -0.025em; }
.cats { display: grid; gap: 6px; font-size: 0.9375rem; color: var(--ink-2); align-content: start; }
.cats li { padding-left: 14px; position: relative; }
.cats li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.family-task { display: grid; gap: 12px; align-content: start; }
.task { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
.checks { display: grid; gap: 6px; }
.checks li { display: flex; gap: 10px; font-size: 0.9375rem; color: var(--ink-2); }
.checks .icon { width: 16px; height: 16px; margin-top: 4px; color: var(--muted); }
.unlisted { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 16px; padding: 24px 28px; border-radius: 16px; background: var(--tint); }
.unlisted b { color: var(--ink); }
.unlisted p { color: var(--ink-2); max-width: 44rem; }

/* packages: the journey, the tier table and the three packages side by side */
.journey { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
@media (max-width: 960px) { .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .journey { grid-template-columns: minmax(0, 1fr); } }
.journey li { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 2px solid var(--green); }
.journey .when { font-size: 0.8125rem; font-weight: 600; color: var(--green-ink); font-variant-numeric: tabular-nums; }
.journey h3 { font-size: 1.25rem; line-height: 1.15; letter-spacing: -0.02em; }
.journey p { font-size: 0.9375rem; color: var(--ink-2); }

.matrix-wrap { margin-top: clamp(28px, 3.5vw, 44px); border-radius: 16px; background: #FFFFFF; overflow-x: auto; }
.matrix { width: 100%; border-collapse: collapse; min-width: 34rem; table-layout: fixed; --shine: -40%; }
.matrix col.c-label { width: 26%; }
.matrix th, .matrix td { padding: 15px 16px; border-bottom: 1px solid var(--line-soft); text-align: center; vertical-align: middle; }
.matrix thead th { background: var(--paper); border-bottom: 1px solid var(--line); }
.matrix thead th:first-child, .matrix tbody th { text-align: left; }
.matrix .tier-h { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.matrix .tier-h span:last-child { font-size: 0.875rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.matrix tbody th { font-weight: 600; }
.matrix .yes { color: var(--green); }
.matrix .no { color: #A3ACB5; }
.matrix .icon { width: 20px; height: 20px; }
.matrix tfoot td, .matrix tfoot th { border-bottom: 0; font-size: 0.875rem; color: var(--muted); font-weight: 500; }
.matrix tfoot th { text-align: left; color: var(--ink); font-weight: 600; }
/* each tier column outlined in its metal. --shine places a highlight in the metal; at its resting
   -40% it is off the page, and site.js sweeps it across once. */
.matrix tr > :nth-child(2) { --tier: #A3ACB5; --tier-hi: #F4F6F8; }
.matrix tr > :nth-child(3) { --tier: #D4AF37; --tier-hi: #FFF4CC; }
.matrix tr > :nth-child(4) { --tier: transparent; }
.matrix thead th:nth-child(n+2), .matrix tbody td { position: relative; }
.matrix thead th:nth-child(n+2)::before, .matrix tbody td::before { content: ""; position: absolute; inset: -1px 6px; border: 0 solid transparent; border-inline-width: 2px; pointer-events: none;
  background: linear-gradient(115deg, var(--tier) calc(var(--shine) - 14%), var(--tier-hi) var(--shine), var(--tier) calc(var(--shine) + 14%)) fixed;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); }
.matrix thead th:nth-child(n+2)::before { top: 6px; border-top-width: 2px; border-radius: 10px 10px 0 0; }
.matrix tbody tr:last-child td::before { bottom: 6px; border-bottom-width: 2px; border-radius: 0 0 10px 10px; }
.matrix tr > :nth-child(4):is(th, td)::before { border-inline-width: 3px; background: linear-gradient(115deg, transparent calc(var(--shine) - 14%), rgba(255, 255, 255, 0.85) var(--shine), transparent calc(var(--shine) + 14%)) fixed, var(--platinum-sheen) fixed; }
.matrix thead th:nth-child(4)::before { border-top-width: 3px; }
.matrix tbody tr:last-child td:nth-child(4)::before { border-bottom-width: 3px; }
.matrix .buy-row td { padding-bottom: 22px; }
.matrix .buy-row .pill { width: 100%; max-width: 11rem; min-height: 42px; gap: 0.3em; }
@media (max-width: 600px) { .matrix { min-width: 0; } .matrix col.c-label { width: 34%; } .matrix .tier-h span:last-child { display: none; } .matrix th, .matrix td { padding: 10px 8px; } .matrix thead th:nth-child(n+2)::before, .matrix tbody td::before { inset-inline: 3px; } .matrix .buy-row .pill { padding-inline: 6px; } .matrix .buy-tier { display: none; } .matrix .label { font-size: 0.6875rem; padding: 4px 5px; } }

.packs { margin-top: clamp(28px, 3.5vw, 44px); display: grid; gap: 20px; }
.pack { --shine: -40%; border-radius: 16px; border: 2px solid transparent; overflow: hidden; background: linear-gradient(#FFFFFF, #FFFFFF) padding-box, linear-gradient(115deg, var(--tier) calc(var(--shine) - 14%), var(--tier-hi) var(--shine), var(--tier) calc(var(--shine) + 14%)) border-box; }
.pack.silver { --tier: #A3ACB5; --tier-hi: #F4F6F8; }
.pack.gold { --tier: #D4AF37; --tier-hi: #FFF4CC; }
.pack.platinum { border-width: 3px; background: linear-gradient(#FFFFFF, #FFFFFF) padding-box, linear-gradient(115deg, transparent calc(var(--shine) - 14%), rgba(255, 255, 255, 0.85) var(--shine), transparent calc(var(--shine) + 14%)) border-box, var(--platinum-sheen) fixed border-box; }
.pack-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; padding: clamp(20px, 2.4vw, 28px); background: var(--canvas); border-bottom: 1px solid var(--line); }
.pack-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.pack h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.05; letter-spacing: -0.03em; }
.pack-lede { margin-top: 8px; max-width: 46rem; color: var(--ink-2); }
.items li { display: grid; grid-template-columns: 15rem minmax(0, 1fr); border-bottom: 1px solid var(--line-soft); }
.items li:last-child { border-bottom: 0; }
.items strong { padding: 13px clamp(20px, 2.4vw, 28px); font-weight: 600; border-right: 1px solid var(--line-soft); }
.items span { padding: 13px clamp(20px, 2.4vw, 28px); color: var(--ink-2); }
@media (max-width: 640px) { .items li { grid-template-columns: minmax(0, 1fr); } .items strong { border-right: 0; padding-bottom: 0; } .items span { padding-top: 4px; } }

.rules-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .rules-split { grid-template-columns: minmax(0, 1fr); } }
.rules { border-top: 1px solid rgba(28, 32, 36, 0.14); }
.rule { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 14px; padding: 20px 0; border-bottom: 1px solid rgba(28, 32, 36, 0.14); }
.rule .icon { width: 22px; height: 22px; margin-top: 3px; color: var(--green); }
.rule h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.rule p { grid-column: 2; color: var(--ink-2); }

/* ---------- blog: the post list, the article page and the newsletter sign-up ---------- */
/* every page here is written by blog/build.mjs from the files in blog/posts */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.blog-top { padding-block: 118px clamp(48px, 6vw, 80px); }
.blog-head { display: grid; gap: 18px; margin-bottom: 28px; }
.blog-head h1 { font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.05; letter-spacing: -0.035em; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9375rem; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.filters a:hover { background: #FFFFFF; color: var(--ink); }
.filters a[aria-current="page"] { background: var(--tint); border-color: var(--green-mark); color: var(--green-ink); }

/* the newest post large on the left, the next two beside it, then the rest three to a row */
.lead-row { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 20px clamp(20px, 3vw, 40px); align-items: start; }
.side, .post-grid { display: grid; gap: 20px; }
.post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lead-row + .post-grid { margin-top: 20px; }
@media (max-width: 960px) { .lead-row { grid-template-columns: minmax(0, 1fr); } .side, .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .side, .post-grid { grid-template-columns: minmax(0, 1fr); } }
/* the title is the link; its ::after stretches over the card so the whole card clicks */
.post-card { position: relative; display: grid; gap: 8px; align-content: start; border-radius: 18px; }
.side .post-card, .post-grid .post-card { padding: 14px 14px 18px; border: 1px solid var(--line); background: #FFFFFF; }
.side .post-card:hover, .post-grid .post-card:hover { border-color: #B9C1C9; }
.post-card:has(a:focus-visible) { outline: 2px solid var(--link); outline-offset: 3px; }
.post-title a { color: inherit; text-decoration: none; }
.post-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.post-title a:focus-visible { outline: none; }
.post-cover { position: relative; display: block; aspect-ratio: 16 / 9; margin-bottom: 6px; border-radius: 12px; overflow: hidden; background: var(--canvas); container-type: inline-size; }
.feature .post-cover { aspect-ratio: 2 / 1; margin-bottom: 12px; border-radius: 18px; }
.post-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-title { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.015em; }
.feature .post-title { font-size: clamp(1.625rem, 2.6vw, 2.25rem); line-height: 1.1; letter-spacing: -0.03em; }
.post-card:hover .post-title a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post-sum { display: none; }
.feature .post-sum { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font-size: 1.0625rem; color: var(--ink-2); }
.post-meta { font-size: 0.875rem; color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--muted); }
.pager a { font-weight: 600; color: var(--ink); }
.empty { padding: 28px 0; border-top: 1px solid var(--line); color: var(--ink-2); }

/* a post with no image gets a plain cover in its category's tone, on the site's grid */
.cover-ph { position: absolute; inset: 0; display: grid; align-content: space-between; padding: 6cqi 6.5cqi; background-color: var(--cv-bg); color: var(--cv-ink);
  background-image: linear-gradient(var(--cv-line) 1px, transparent 1px), linear-gradient(90deg, var(--cv-line) 1px, transparent 1px); background-size: 24px 24px; background-position: -1px -1px; }
.cover-ph b { display: flex; align-items: center; gap: 2.4cqi; font-size: max(0.75rem, 4.2cqi); font-weight: 600; }
.cover-ph b svg { width: 9cqi; height: 5cqi; }
.cover-ph span { font-size: 10cqi; font-weight: 600; line-height: 1; letter-spacing: -0.045em; }
.cv-articles { --cv-bg: var(--canvas); --cv-ink: var(--ink); --cv-line: rgba(28, 32, 36, 0.06); }
.cv-top-10 { --cv-bg: #FBEDC1; --cv-ink: #735400; --cv-line: rgba(115, 84, 0, 0.09); }
.cv-daily { --cv-bg: var(--tint); --cv-ink: var(--green-ink); --cv-line: rgba(26, 122, 64, 0.09); }
.cv-weekly { --cv-bg: var(--idle); --cv-ink: var(--ink); --cv-line: rgba(28, 32, 36, 0.07); }

/* article: "On this page" on the left, the post centred, an empty column on the right to balance it */
.post-page { padding-block: 112px clamp(48px, 6vw, 88px); }
.post-layout { display: grid; grid-template-columns: 13rem minmax(0, 46rem) 13rem; justify-content: center; gap: clamp(32px, 4vw, 64px); align-items: start; }
.post { grid-column: 2; grid-row: 1; min-width: 0; }
.toc { grid-column: 1; grid-row: 1; position: sticky; top: 112px; margin-top: 56px; font-size: 0.9375rem; }
.toc p { margin: 0 0 10px 10px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.toc a { display: block; padding: 6px 10px; border-radius: 8px; line-height: 1.35; color: var(--ink-2); text-decoration: none; }
.toc a:hover { background: var(--canvas); color: var(--ink); }
@media (max-width: 1279px) { .post-layout { grid-template-columns: 12rem minmax(0, 46rem); } }
@media (max-width: 960px) { .post-layout { grid-template-columns: minmax(0, 46rem); } .post { grid-column: 1; } .toc { display: none; } }
.crumbs { display: flex; gap: 8px; min-width: 0; font-size: 0.9375rem; color: var(--muted); white-space: nowrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.post-head { margin-block: 28px; text-align: center; }
.post-head h1 { font-size: clamp(2.125rem, 4.2vw, 3.25rem); line-height: 1.06; letter-spacing: -0.035em; }
.post-by { margin-top: 16px; font-size: 0.9375rem; color: var(--muted); }
.post-hero { margin-bottom: 36px; aspect-ratio: 2 / 1; border-radius: 18px; }

.prose { font-size: 1.125rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: clamp(1.5rem, 2.4vw, 1.875rem); line-height: 1.15; letter-spacing: -0.025em; }
.prose h3 { margin-top: 1.6em; font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.015em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose strong { font-weight: 600; }
.prose ul { list-style: disc; padding-left: 1.4em; }
.prose ol { list-style: decimal; padding-left: 1.4em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--muted); }
.prose blockquote { margin-inline: 0; padding: 2px 0 2px 20px; border-left: 3px solid var(--green); color: var(--ink-2); }
.prose code { padding: 2px 6px; border-radius: 5px; background: var(--canvas); font-family: var(--mono); font-size: 0.85em; }
.prose pre { padding: 16px 18px; border-radius: 12px; background: var(--night); color: var(--on-night); font-size: 0.875rem; line-height: 1.6; overflow-x: auto; }
.prose pre code { padding: 0; background: none; color: inherit; font-size: inherit; }
.prose img { display: block; max-width: 100%; height: auto; border-radius: 12px; }
.prose figcaption { margin-top: 8px; font-size: 0.875rem; color: var(--muted); }
.prose hr { margin-block: 2em; border: 0; border-top: 1px solid var(--line); }
.prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 0.9375rem; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-weight: 600; }

/* newsletter sign-up: below the post list, and at the end of every article */
.signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px clamp(32px, 5vw, 72px); align-items: center; padding: clamp(24px, 3vw, 36px); border-radius: 20px; background: var(--tint); }
.blog-top .signup { margin-top: clamp(40px, 5vw, 64px); }
.post .signup { grid-template-columns: minmax(0, 1fr); margin-top: 56px; }
@media (max-width: 900px) { .signup { grid-template-columns: minmax(0, 1fr); } }
.signup h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; letter-spacing: -0.03em; }
.signup-copy p { margin-top: 10px; color: var(--ink-2); }
.signup-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.signup-pick legend { margin-bottom: 8px; padding: 0; font-size: 0.9375rem; font-weight: 600; }
.pick { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #FFFFFF; cursor: pointer; }
.pick:has(:checked) { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.pick input { width: 16px; height: 16px; margin: 4px 0 0; accent-color: var(--green); }
.pick b { display: block; font-size: 0.9375rem; font-weight: 600; }
.pick small { display: block; font-size: 0.8125rem; line-height: 1.4; color: var(--muted); }
.signup-row { display: flex; gap: 8px; margin-top: 12px; }
.signup-row input { flex: 1; min-width: 0; min-height: 46px; padding: 0 18px; border: 1px solid #9AA4AE; border-radius: 999px; background: #FFFFFF; font: inherit; color: var(--ink); }
.signup-row input:focus-visible { outline: 2px solid var(--link); outline-offset: 1px; border-color: var(--link); }
@media (max-width: 420px) { .signup-pick { grid-template-columns: minmax(0, 1fr); } .signup-row { flex-direction: column; } }
.signup .pill[disabled] { opacity: 0.7; cursor: progress; }
.signup-error { margin-top: 10px; font-size: 0.9375rem; color: var(--red-ink); }
.signup-note { margin-top: 10px; font-size: 0.8125rem; color: var(--muted); }
.signup-done h2 { font-size: 1.375rem; }
.signup-done p { margin-top: 8px; color: var(--ink-2); }
.signup [hidden] { display: none; }

/* ---------- free-preview request popup ---------- */
html:has(.ask[open]) { overflow: hidden; }
.ask { width: min(460px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 20px; background: var(--paper); color: var(--ink); box-shadow: 0 2px 4px rgba(28, 32, 36, 0.06), 0 24px 64px rgba(22, 25, 29, 0.28); }
.ask::backdrop { background: rgba(22, 25, 29, 0.6); }
.ask-body { position: relative; padding: 32px 28px 28px; }
.ask h2 { font-size: 1.625rem; line-height: 1.15; letter-spacing: -0.02em; padding-right: 36px; }
.ask-lede { margin-top: 10px; color: var(--ink-2); }
.ask-field { display: block; margin-top: 18px; }
.ask-field span { display: block; font-size: 0.9375rem; font-weight: 600; margin-bottom: 6px; }
.ask-field input { width: 100%; font: inherit; color: var(--ink); background: #FFFFFF; padding: 12px 14px; border: 1px solid #9AA4AE; border-radius: 10px; }
.ask-field span i { font-style: normal; font-weight: 400; color: var(--muted); }
.ask-field small { display: block; margin-top: 6px; font-size: 0.8125rem; color: var(--muted); }
.ask-field input:focus-visible { outline: 2px solid var(--link); outline-offset: 1px; border-color: var(--link); }
.ask-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ask-error { margin-top: 14px; font-size: 0.9375rem; color: var(--red-ink); }
.ask .pill-green { width: 100%; margin-top: 22px; }
.ask .pill[disabled] { opacity: 0.7; cursor: progress; }
.ask-note { margin-top: 12px; font-size: 0.875rem; color: var(--muted); text-align: center; }
.ask-done .pill { margin-top: 22px; }
.ask-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.ask-close:hover { background: var(--canvas); color: var(--ink); }
.ask-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.ask [hidden] { display: none; }

/* ---------- motion ---------- */
.motion-pending .hero-copy > * { visibility: hidden; }
.hl-mask { padding-bottom: 0.12em; margin-bottom: -0.12em; }
@media (prefers-reduced-motion: no-preference) {
  .pill { transition: background-color 0.15s ease, transform 0.15s var(--ease); }
  .pill:hover { transform: translateY(-1px); }
  .pill:active { transform: scale(0.98); transition-duration: 0.06s; }
  .menu-btn, .menu-link, .fam, .offer, .tabs button, .steps button, .filters a, .toc a { transition: color 0.15s ease, background-color 0.15s ease; }
  .post-cover img { transition: transform 0.5s var(--ease); }
  .post-card:hover .post-cover img { transform: scale(1.02); }
  @view-transition { navigation: auto; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
