/*
  perrumiq.com — the public stylesheet (Spec C S5a, redesign 23 Nov 2026).
  Brand: plan/design/2026-11-brand-guidelines/README.md (palette P16 "Night Pine and Mint").
  Direction (Emanuel, 23 Nov): bold, colour first — night pine carries the header and the hero,
  mint carries the form card and one full-width band, white and wash sit between them.
  Every colour literal lives in :root; mint is a text colour only on night pine.
  Fonts are self-hosted (the CSP allows no font CDN): Geist for everything, Geist Mono for figures.
*/

:root {
  --np: #0B2A1E;          /* night pine — header, hero, footer */
  --np-raised: #133B2B;   /* a step lighter, for edges on night pine */
  --white: #FFFFFF;
  --mint: #5BE3A4;        /* accent — the form card, one band, buttons */
  --mint-deep: #3FD18F;   /* mint hover */
  --wash: #E3F7EC;        /* light blocks */
  --pine: #0F6B45;        /* links on white */
  --ink: #111114;         /* text on light grounds */
  --cloud: #F3F3F5;       /* cards */
  --graphite: #5C5C66;    /* secondary text */
  --error: #C23A2B;
  --on-dark: rgba(255, 255, 255, 0.08);
  --on-dark-line: rgba(255, 255, 255, 0.16);
  --on-dark-muted: rgba(255, 255, 255, 0.74);
  --np-deep: #071C14;     /* the hero's lower edge, the device frame */
  --line: rgba(17, 17, 20, 0.10);
  --map-dot: #143A2A;     /* a dot of the hero's world map, quiet on night pine */
  --mask-soft: rgba(0, 0, 0, 0.6);
  --sea-dot: rgba(0, 0, 0, 0.08);     /* the sea's dots: darker than night pine, barely there */
  --dot-lit: rgba(91, 227, 164, 0.34); /* a dot of How it works as the check passes over it */
  --glow-mint: rgba(91, 227, 164, 0.10);
  --mask-full: #000;     /* an opaque mask stop */
  --mint-veil: rgba(255, 255, 255, 0.45); /* a light card on mint */
  --strike: rgba(11, 42, 30, 0.5);        /* the line through what PerrumIQ is not */
  --field-line: rgba(17, 17, 20, 0.18);   /* the border of a form field */
  --focus-ring: rgba(15, 107, 69, 0.22);  /* around a focused field */
  --error-wash: rgba(194, 58, 43, 0.08);  /* behind the form's summary of problems */
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='9' viewBox='0 0 12 9'%3E%3Cpath d='M1 4.5l3.5 3.5L11 1.5' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%23111114' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --np-glow: #164A35;    /* the large, soft light in the middle of How PerrumIQ works */
  --mint-ring: rgba(91, 227, 164, 0.55);
  --mint-ring-out: rgba(91, 227, 164, 0);
  --shadow-card: 0 2px 4px rgba(11, 42, 30, 0.06), 0 28px 56px -16px rgba(11, 42, 30, 0.28);
  --shadow-deep: 0 48px 96px -24px rgba(0, 0, 0, 0.6);
  --shadow-paper: 0 1px 2px rgba(17, 17, 20, 0.08), 0 30px 60px -20px rgba(17, 17, 20, 0.30);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);

  --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --container: 1240px;
  --gutter: 24px;
  --header-h: 80px;
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Geist-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Geist-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/GeistMono-Medium.woff2") format("woff2");
}

/* ---- base ---- */
/* hidden means hidden, whatever display a component class sets (the form toggles it on buttons and rows) */
[hidden] { display: none !important; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body.site {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 28px;
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--pine); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 16px; }
h1, h2, h3 { margin: 0; font-weight: 600; }
:focus-visible { outline: 3px solid var(--np); outline-offset: 3px; border-radius: 6px; }

.site-skip { position: absolute; left: 16px; top: -64px; z-index: 50; padding: 10px 16px; background: var(--white); color: var(--ink); border-radius: var(--radius); }
.site-skip:focus { top: 12px; }

/* ---- type scale ---- */
.site-display { font-size: clamp(44px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 600; text-wrap: balance; margin-bottom: 20px; }
.site-heading { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 600; text-wrap: balance; }
.site-subheading { font-size: 22px; line-height: 30px; letter-spacing: -0.01em; font-weight: 600; }
.site-body { font-size: 18px; line-height: 28px; }
.site-lead { font-size: 22px; line-height: 32px; color: var(--graphite); }
.site-label { display: inline-block; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--pine); margin-bottom: 12px; }
.site-muted { color: var(--graphite); }

/* ---- buttons ---- */
.site-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px; border-radius: var(--radius-pill);
  font: inherit; font-weight: 600; font-size: 17px; line-height: 1;
  text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; box-sizing: border-box;
}
.site-btn:hover { text-decoration: none; }
.site-btn-lg { height: 60px; padding: 0 32px; font-size: 18px; }
.site-btn-mint { background: var(--mint); color: var(--np); }
.site-btn-mint:hover { background: var(--mint-deep); }
.site-btn-dark { background: var(--np); color: var(--white); }
.site-btn-dark:hover { background: var(--np-raised); }
.site-btn-cloud { background: var(--cloud); color: var(--ink); }
.site-btn-white { background: var(--white); color: var(--np); }
.site-btn-white:hover { background: var(--wash); }

/* ---- surfaces (inner pages) ---- */
.site-card { background: var(--cloud); border-radius: var(--radius-lg); padding: 28px; }
.site-block-dark { background: var(--np); color: var(--white); border-radius: var(--radius-lg); }
.site-block-dark a { color: var(--mint); }
.site-block-wash { background: var(--wash); border-radius: var(--radius-lg); }
.site-pill { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: var(--radius-pill); background: var(--mint); color: var(--np); font-size: 14px; font-weight: 600; }

/* ---- layout ---- */
.site-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--np); color: var(--white); border-bottom: 1px solid var(--on-dark); }
.site-header .site-container { display: flex; align-items: center; gap: 32px; min-height: var(--header-h); }
.site-header :focus-visible { outline-color: var(--mint); }
.site-brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.site-brand svg { width: 30px; height: 30px; display: block; }
.site-wordmark { font-size: 23px; font-weight: 600; letter-spacing: -0.01em; line-height: 1; }
.site-nav { display: flex; gap: 32px; margin-left: auto; }
.site-nav a { color: var(--on-dark-muted); text-decoration: none; font-size: 17px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--white); }
.site-main { flex: 1; display: flex; flex-direction: column; }
.site-main > * { flex: none; }
/* A short page whose one section has its own background fills the window to the footer (25 Nov:
   a white strip under the result card). */
.site-main > .result:only-child, .site-main > .pay:only-child { flex: 1 0 auto; }
.site-section { padding-top: 80px; padding-bottom: 80px; }
.site-section-tight { padding-top: 40px; padding-bottom: 40px; }

/* ---- home: hero ---- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center;
  min-height: min(calc(100svh - var(--header-h)), 920px);
  background: var(--np); color: var(--white);
  padding-top: 48px; padding-bottom: 64px; box-sizing: border-box;
}
.hero > .site-container { position: relative; z-index: 1; }
.hero :focus-visible { outline-color: var(--mint); }
.hero-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.hero-title { font-size: clamp(52px, 7.4vw, 112px); line-height: 0.93; letter-spacing: -0.055em; font-weight: 600; text-wrap: balance; max-width: 11.5em; margin: 0; }
.hero-lead { font-size: 22px; line-height: 34px; color: var(--on-dark-muted); max-width: 38em; text-wrap: balance; margin: 0; }
.hero-hook { width: 100%; margin-top: 24px; text-align: left; }

/* the world: a dotted map filling the hero top to bottom (sea dots too), quieter behind the words;
   a few cities light up */
.world {
  position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: radial-gradient(ellipse 52% 46% at 50% 50%, var(--mask-soft), black 100%);
  mask-image: radial-gradient(ellipse 52% 46% at 50% 50%, var(--mask-soft), black 100%);
}
.world-land { fill: none; stroke: var(--map-dot); stroke-width: 0.56; stroke-linecap: round; }
/* the lights never show behind the headline, the sentence or the bar: their layer is clear in the middle */
.world-lit {
  -webkit-mask-image: linear-gradient(90deg, black 13%, transparent 16%, transparent 84%, black 87%), linear-gradient(180deg, black 21%, transparent 24%, transparent 76%, black 79%);
  mask-image: linear-gradient(90deg, black 13%, transparent 16%, transparent 84%, black 87%), linear-gradient(180deg, black 21%, transparent 24%, transparent 76%, black 79%);
  -webkit-mask-composite: source-over; mask-composite: add;
}
.world-sea-dot { fill: var(--sea-dot); }
/* a light is one of the map's dots turning mint: same place, same size */
.light { fill: var(--mint); opacity: 0; }

/* the hook: one question, three answers */
.hook { background: var(--mint); color: var(--np); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-deep); }
.hook-title { font-size: 26px; line-height: 1.15; letter-spacing: -0.025em; margin: 4px 4px 6px; }
.hook-sub { font-size: 15px; line-height: 21px; margin: 0 4px 16px; }
.hook-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hook-option {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 14px 14px 20px; border-radius: 18px;
  background: var(--white); color: var(--ink); text-decoration: none;
  transition: transform 0.25s var(--ease-out), background-color 0.25s;
}
.hook-option:hover { background: var(--wash); transform: translateX(4px); text-decoration: none; }
.hook-option:focus-visible { outline: 3px solid var(--np); outline-offset: 2px; }
.hook-option-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.hook-option-text strong { font-size: 18px; line-height: 24px; font-weight: 600; }
.hook-option-text span { font-size: 15px; line-height: 21px; color: var(--graphite); }
.hook-arrow { flex: none; position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--np); transition: transform 0.25s var(--ease-out); }
.hook-arrow::after {
  content: ""; position: absolute; left: 13px; top: 14px; width: 9px; height: 9px;
  border-top: 2.5px solid var(--white); border-right: 2.5px solid var(--white); transform: rotate(45deg);
}
.hook-option:hover .hook-arrow { transform: translateX(2px); }
/* the hero's version: a compact white bar with the three answers, and the question on a dark tab
   centred above it, tucked under the bar and flowing into its edge (plan/design/2026-11-hero-question) */
.hook-wide {
  position: relative; isolation: isolate; width: max-content; max-width: 100%; box-sizing: border-box;
  margin: 34px auto 0; padding: 8px; display: flex; color: var(--np); border-radius: var(--radius-pill);
}
.hook-wide::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; background: var(--white); box-shadow: var(--shadow-deep); }
.hook-wide .hook-title {
  position: absolute; z-index: -1; left: 50%; top: -34px; transform: translateX(-50%);
  height: 52px; box-sizing: border-box; padding: 0 24px 18px; display: flex; align-items: center;
  margin: 0; white-space: nowrap; border-radius: 18px 18px 0 0;
  background: var(--np-deep); color: var(--white); font-size: 15px; line-height: 20px; letter-spacing: 0;
}
.hook-wide .hook-title::before, .hook-wide .hook-title::after { content: ""; position: absolute; bottom: 18px; width: 18px; height: 18px; }
.hook-wide .hook-title::before { left: -18px; background: radial-gradient(circle at 0 0, transparent 17.5px, var(--np-deep) 18px); }
.hook-wide .hook-title::after { right: -18px; background: radial-gradient(circle at 100% 0, transparent 17.5px, var(--np-deep) 18px); }
.hook-wide .hook-list { position: relative; z-index: 1; min-width: 0; display: flex; flex-direction: row; gap: 6px; }
.hook-wide .hook-list li { flex: 0 1 auto; min-width: 0; display: flex; }
.hook-wide .hook-option {
  flex: 1; min-width: 0; height: 60px; box-sizing: border-box; justify-content: space-between; gap: 10px;
  padding: 0 10px 0 20px; border-radius: var(--radius-pill); background: var(--cloud); color: var(--ink);
  transition: background-color 0.25s, color 0.25s;
}
.hook-wide .hook-option:hover { transform: none; background: var(--np); color: var(--white); }
.hook-wide .hook-option:focus-visible { background: var(--np); color: var(--white); outline: 3px solid var(--mint); outline-offset: 3px; }
.hook-wide .hook-option-text strong { font-size: 16px; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hook-wide .hook-arrow { width: 36px; height: 36px; transition: background-color 0.25s, transform 0.3s var(--ease-out); }
.hook-wide .hook-arrow::after { left: 11px; top: 13px; width: 8px; height: 8px; }
.hook-wide .hook-option:hover .hook-arrow, .hook-wide .hook-option:focus-visible .hook-arrow { background: var(--mint); transform: translateX(2px); }
.hook-wide .hook-option:hover .hook-arrow::after, .hook-wide .hook-option:focus-visible .hook-arrow::after { border-color: var(--np); }
.hook-note { font-size: 15px; line-height: 22px; margin: 16px 4px 2px; }

/* screens shown in How it works */
.screen-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; font-size: 17px; margin: 2px 4px 14px; }
.screen-step { font-family: var(--font-mono); font-weight: 500; font-size: 14px; color: var(--graphite); }
.screen-progress { height: 6px; border-radius: 3px; background: var(--cloud); overflow: hidden; margin-bottom: 18px; }
.screen-progress-bar { display: block; height: 100%; border-radius: 3px; background: var(--np); }
.screen-progress-40 { width: 40%; }

.match { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; background: var(--cloud); }
.match + .match { margin-top: 10px; }
.match-logo { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--np); }
.match-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.match-name { display: block; width: 62%; height: 12px; border-radius: 6px; background: var(--line); margin-top: 4px; }
.match-type { font-size: 15px; line-height: 20px; font-weight: 600; }
.match-meta { font-size: 13px; line-height: 18px; color: var(--graphite); }
.match-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.match-presence { font-size: 12px; line-height: 16px; padding: 4px 9px; border-radius: var(--radius-pill); background: var(--white); color: var(--graphite); }
.match-apply { flex: none; font-size: 13px; line-height: 1; font-weight: 600; padding: 8px 14px; border-radius: var(--radius-pill); background: var(--np); color: var(--white); }

.field-mock { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); margin-bottom: 10px; }
.field-mock-label { font-size: 13px; line-height: 18px; color: var(--graphite); }
.field-mock-value { font-size: 16px; line-height: 22px; font-weight: 600; }
.choice-mock { display: flex; gap: 6px; }
.choice-mock span { padding: 6px 16px; border-radius: var(--radius-pill); background: var(--cloud); font-size: 14px; font-weight: 600; }
.choice-mock .is-on { background: var(--np); color: var(--white); }

.tick { position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--np); }
.tick::after { content: ""; position: absolute; left: 9px; top: 6px; width: 6px; height: 11px; border-right: 2.5px solid var(--mint); border-bottom: 2.5px solid var(--mint); transform: rotate(45deg); }

/* ---- home: bands ---- */
.band { padding-top: 120px; padding-bottom: 120px; }
.band-white { background: var(--white); }
.band-wash { background: var(--wash); }
.band-mint { background: var(--mint); color: var(--np); }
.band-title { font-size: clamp(38px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.04em; max-width: 15em; text-wrap: balance; margin-bottom: 20px; }
.band-lead { font-size: 22px; line-height: 33px; color: var(--graphite); max-width: 34em; margin-bottom: 48px; }

/* the refusal (25 Nov): the letter hides its reasons under black bars, the cards beside it uncover them */
.refusal-head { text-align: center; }
.refusal-head .band-title, .refusal-head .band-lead { margin-left: auto; margin-right: auto; }
.refusal-head .band-lead { margin-bottom: 64px; }
.refusal-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.letter { margin: 0; padding: 0 8px; }
.letter-paper { background: var(--white); border-radius: 8px; padding: 44px 44px 48px; box-shadow: var(--shadow-paper); font-size: 17px; line-height: 27px; transform: rotate(-1.2deg); }
.letter-paper p { margin: 0 0 14px; }
.letter-paper .letter-from { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--graphite); margin-bottom: 22px; }
.letter-logo { width: 28px; height: 28px; border-radius: 7px; background: var(--np); flex: none; }
.letter-paper .letter-label { font-size: 14px; color: var(--graphite); margin: 24px 0 10px; }
.letter-redacted { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.letter-redacted span { display: block; height: 20px; border-radius: 3px; background: var(--ink); }
.letter-redacted span:nth-child(1) { width: 86%; }
.letter-redacted span:nth-child(2) { width: 64%; }
.letter-redacted span:nth-child(3) { width: 78%; }
.letter-redacted span:nth-child(4) { width: 58%; }
.letter-paper .letter-sign { color: var(--graphite); margin: 0; }
.letter-caption { margin-top: 36px; font-size: 16px; color: var(--graphite); text-align: center; }

.reasons { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.reason { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; padding: 22px 24px; border-radius: var(--radius); background: var(--wash); }
.reason-bar { display: block; height: 14px; border-radius: 3px; background: var(--mint); margin-top: 6px; }
.reason p { color: var(--graphite); margin: 0; font-size: 16px; line-height: 24px; }
.reason-title { font-size: 20px; line-height: 26px; letter-spacing: -0.015em; margin: 0 0 4px; }

/* how it works (25 Nov): three steps on a field of dots, every step always in full; the middle step
   is part of the background and keeps moving gently (the sweep, the tags drifting, the ticks pinging). */
.how { position: relative; overflow: clip; color: var(--white); background-color: var(--np);
  background-image: radial-gradient(ellipse 70% 55% at 50% 42%, var(--np-glow), transparent 72%), radial-gradient(ellipse 120% 70% at 50% 110%, var(--np-deep), transparent 65%), radial-gradient(ellipse 120% 60% at 50% -12%, var(--np-deep), transparent 60%); }
.how-dots { position: absolute; inset: 0; overflow: hidden; background-image: radial-gradient(circle, var(--map-dot) 0.75px, transparent 1.1px); background-size: 14px 14px; }
.how-lit { position: absolute; inset: 0; background-image: radial-gradient(circle, var(--dot-lit) 0.75px, transparent 1.1px); background-size: 14px 14px; opacity: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0 42%, var(--mask-full) 50%, transparent 58% 100%); mask-image: linear-gradient(90deg, transparent 0 42%, var(--mask-full) 50%, transparent 58% 100%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
.how-pin { position: relative; padding-top: 144px; padding-bottom: 152px; }
.how-head, .how-lead { text-align: center; margin-left: auto; margin-right: auto; }
.how-lead { color: var(--on-dark-muted); text-wrap: balance; margin-bottom: 88px; }
.how-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: 96px; }
.how-col { position: relative; display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 36px; }
.screen { background: var(--white); color: var(--ink); border-radius: 24px; padding: 20px; box-shadow: var(--shadow-deep); }
.how-screen { padding: 22px; }
.how-col:not(:last-child) > :first-child::before { content: ""; position: absolute; top: 50%; right: -74px; width: 52px; height: 2px; border-radius: 1px; background-color: var(--on-dark-line);
  background-image: linear-gradient(90deg, transparent 0 35%, var(--mint) 50%, transparent 65% 100%); background-size: 300% 100%; background-repeat: no-repeat; background-position: 100% 0; }
.how-col:not(:last-child) > :first-child::after { content: ""; position: absolute; top: calc(50% - 4px); right: -74px; width: 8px; height: 8px; border-top: 2px solid var(--mint); border-right: 2px solid var(--mint); transform: rotate(45deg); }
.how-check { position: relative; min-height: 320px; }
.how-col > :first-child { position: relative; }
.how-tags::before { content: ""; position: absolute; z-index: -1; inset: -48px -64px; background: radial-gradient(closest-side, var(--glow-mint), transparent); }
.how-tags { position: relative; isolation: isolate; list-style: none; margin: 0; padding: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.how-tag { position: relative; display: inline-flex; align-items: center; gap: 0.6em; padding: 0.5em 1.05em 0.5em 0.5em; border-radius: var(--radius-pill); background: var(--np); border: 1px solid var(--on-dark-line); font-size: 15px; line-height: 1.2; font-weight: 600; white-space: nowrap; }
.how-tag .tick { width: 1.6em; height: 1.6em; background: var(--mint); }
.how-tag .tick::after { left: 0.56em; top: 0.34em; width: 0.38em; height: 0.72em; border-width: 0 0.15em 0.15em 0; border-color: var(--np); }
.how-tag-1 { left: -22px; font-size: 20px; }
.how-tag-2 { left: 34px; font-size: 14px; border-color: var(--mint); }
.how-tag-3 { left: -8px; font-size: 17px; }
.how-tag-4 { left: 40px; font-size: 13px; }
.how-tag-5 { left: -18px; font-size: 16px; }
.how-cap { display: flex; gap: 14px; align-items: flex-start; transition: opacity 0.5s; }
.how-num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--mint); color: var(--np); font-size: 16px; font-weight: 600; }
.how-title { font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; margin: 4px 0 8px; }
.how-cap p { color: var(--on-dark-muted); margin: 0; font-size: 16px; line-height: 24px; }

/* hover (Emanuel, 25 Nov): the step under the pointer stays, the other two step back */
.how-col { transition: filter 0.35s; }
@media (hover: hover) {
  .how-row:has(.how-col:hover) .how-col:not(:hover),
  .how-row:has(.how-col:focus-within) .how-col:not(:focus-within) { filter: brightness(0.42) saturate(0.7); }
}

/* independent (25 Nov): what PerrumIQ is, beside what it is not */
.indep-title { font-size: clamp(44px, 6.2vw, 88px); line-height: 0.95; letter-spacing: -0.05em; text-align: center; text-wrap: balance; margin: 0 0 56px; }
.indep-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.indep-card { border-radius: var(--radius-lg); padding: 40px; }
.indep-is { background: var(--np); color: var(--white); }
.indep-not { background: var(--mint-veil); color: var(--np); }
.indep-label { font-size: 18px; line-height: 24px; margin: 0 0 20px; }
.indep-is .indep-label { color: var(--mint); }
.indep-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }
.indep-not .indep-list li { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--strike); }
.indep-cta { text-align: center; margin-top: 40px; }
/* who it is for (25 Nov): the two sides PerrumIQ connects */
.who-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; }
.who-side { border-radius: var(--radius-lg); padding: 40px; }
.who-label { font-size: 16px; line-height: 22px; margin: 0 0 20px; }
.who-clients { background: var(--wash); }
.who-clients .who-label { color: var(--pine); }
.who-row { position: relative; display: flex; align-items: center; gap: 24px; margin: 0 -16px; padding: 24px 16px; border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: background-color 0.25s; }
.who-row::before { content: ""; position: absolute; top: 0; left: 16px; right: 16px; height: 1.5px; background: var(--line); transition: opacity 0.25s; }
.who-row:hover { background: var(--white); text-decoration: none; }
.who-row:hover::before, .who-row:hover + .who-row::before { opacity: 0; }
.who-row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.who-title { font-size: 28px; line-height: 1.1; letter-spacing: -0.025em; font-weight: 600; }
.who-text { font-size: 17px; line-height: 26px; color: var(--graphite); }
.who-arrow { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--np); transition: transform 0.25s var(--ease-out); }
.who-arrow::after { content: ""; position: absolute; left: 15px; top: 16px; width: 9px; height: 9px; border-top: 2.5px solid var(--white); border-right: 2.5px solid var(--white); transform: rotate(45deg); }
.who-row:hover .who-arrow { transform: translateX(4px); }
.who-ins { display: flex; flex-direction: column; align-items: flex-start; background: var(--np); color: var(--white); }
.who-ins .who-label { color: var(--mint); }
.who-ins-title { font-size: 36px; line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; margin: 0 0 14px; }
.who-ins-text { font-size: 18px; line-height: 28px; color: var(--on-dark-muted); margin: 0 0 32px; }
.who-ins .site-btn { margin-top: auto; }
.who-ins :focus-visible { outline-color: var(--mint); }

/* the question again, at the end */
.closing { background: var(--white); padding-top: 24px; padding-bottom: 120px; }
.closing-card { position: relative; overflow: hidden; border-radius: 40px; padding: 104px 64px 112px; color: var(--white); text-align: center;
  background-color: var(--np); background-image: radial-gradient(ellipse 60% 80% at 50% 40%, var(--np-glow), transparent 72%); }
.closing-dots { position: absolute; inset: 0; background-image: radial-gradient(circle, var(--map-dot) 0.75px, transparent 1.1px); background-size: 14px 14px; }
.closing-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.closing-title { font-size: clamp(44px, 6.4vw, 92px); line-height: 0.96; letter-spacing: -0.05em; text-wrap: balance; margin: 0 0 20px; }
.closing-lead { font-size: 22px; line-height: 33px; color: var(--on-dark-muted); margin: 0 0 24px; }
.closing-hook { width: 100%; text-align: left; }
.closing :focus-visible { outline-color: var(--mint); }
@media (max-width: 1200px) { .closing-card { padding-left: 24px; padding-right: 24px; } }

/* motion: one sequence on load in the hero, the check list ticking when its screen is shown */
@media (prefers-reduced-motion: no-preference) {
  .world-land { animation: map-in 2.4s ease both; }
  .light { animation: light 12s ease-in-out infinite; }
  .l0 { animation-delay: 0.6s; }
  .l1 { animation-delay: 2.1s; }
  .l2 { animation-delay: 3.6s; }
  .l3 { animation-delay: 5.1s; }
  .l4 { animation-delay: 6.6s; }
  .l5 { animation-delay: 8.1s; }
  .l6 { animation-delay: 9.6s; }
  .l7 { animation-delay: 11.1s; }
  .how-lit { opacity: 1; animation: how-sweep 7s linear infinite; }
  .how-col:not(:last-child) > :first-child::before, .how-col:not(:last-child)::before { animation: how-pulse 1.8s linear infinite; }
  .how-tag { animation: how-float 7s ease-in-out infinite; }
  /* the entrance: screen, caption, screen, caption … left to right, once, when the steps are well in view
     (site.js adds .is-in to the three columns together on a wide screen, to each column on its own when stacked) */
  html.js .how-col > * { transition: opacity 0.4s ease-out, transform 0.55s var(--ease-out); }
  html.js .how-col:not(.is-in) > * { opacity: 0; transform: translateY(32px); }
  html.js .how-col:not(.is-in) > :first-child { transform: translateY(40px) scale(0.96); }
  html.js .how .how-col-form > .how-cap { transition-delay: 0.15s; }
  html.js .how .how-col-check > :first-child { transition-delay: 0.3s; }
  html.js .how .how-col-check > .how-cap { transition-delay: 0.45s; }
  html.js .how .how-col-result > :first-child { transition-delay: 0.6s; }
  html.js .how .how-col-result > .how-cap { transition-delay: 0.75s; }
  .how-tag-2 { animation-duration: 8.5s; animation-delay: -2s; }
  .how-tag-3 { animation-duration: 6.5s; animation-delay: -4s; }
  .how-tag-4 { animation-duration: 9s; animation-delay: -1s; }
  .how-tag-5 { animation-duration: 7.5s; animation-delay: -5s; }
  .how-tag .tick { animation: how-ping 7s ease-out infinite; }
  .how-tag-2 .tick { animation-delay: 1.4s; }
  .how-tag-3 .tick { animation-delay: 2.8s; }
  .how-tag-4 .tick { animation-delay: 4.2s; }
  .how-tag-5 .tick { animation-delay: 5.6s; }
}
@media (prefers-reduced-motion: reduce) {
  .light.l0 { opacity: 0.55; }
  .hook-option, .hook-arrow, .who-row, .who-arrow { transition: none; }
  .how-lit { opacity: 0.6; -webkit-mask-image: none; mask-image: none; }
}
@keyframes map-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes light { 0%, 100% { opacity: 0; } 8%, 22% { opacity: 0.55; } 32% { opacity: 0; } }
@keyframes how-sweep { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@keyframes how-pulse { from { background-position: 100% 100%; } to { background-position: 0 0; } }
@keyframes how-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes how-ping { 0% { box-shadow: 0 0 0 0 var(--mint-ring); } 10% { box-shadow: 0 0 0 9px var(--mint-ring-out); } 11%, 100% { box-shadow: 0 0 0 0 var(--mint-ring-out); } }


/* ---- the form (S5b, 25 Nov, second design): a place of its own. Night pine on the left with the
   steps, the question on white on the right; one step at a time. ---- */
.site-header-focus .site-container { justify-content: space-between; }
.site-focus-note { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; color: var(--on-dark-muted); }
.site-focus-lock { position: relative; width: 12px; height: 9px; border-radius: 2px; background: var(--mint); margin-top: 5px; }
.site-focus-lock::before { content: ""; position: absolute; left: 2px; top: -7px; width: 8px; height: 8px; box-sizing: border-box; border: 2px solid var(--mint); border-bottom: 0; border-radius: 5px 5px 0 0; }
@media (min-width: 901px) { .site-focus-short { display: none; } }
.site-footer-focus { border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: 15px; color: var(--graphite); }
.site-footer-focus .site-container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer-focus p { margin: 0; }
.site-footer-focus a { color: var(--pine); }
.site-footer-focus-legal { display: flex; gap: 20px; }
.apply { background: var(--white); padding: 48px 0 120px; }
.apply-shell { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 72px; align-items: start; }
.apply-side { position: sticky; top: calc(var(--header-h) + 24px); overflow: hidden; border-radius: var(--radius-lg); color: var(--white); background-color: var(--np);
  background-image: radial-gradient(ellipse 90% 60% at 30% 35%, var(--np-glow), transparent 72%); }
.apply-side-dots { position: absolute; inset: 0; background-image: radial-gradient(circle, var(--map-dot) 0.75px, transparent 1.1px); background-size: 14px 14px; }
.apply-side-inner { position: relative; display: flex; flex-direction: column; gap: 32px; padding: 40px 36px 36px; }
.apply-title { font-size: 38px; line-height: 1.02; letter-spacing: -0.04em; margin: 0 0 12px; }
.apply-lead { font-size: 17px; line-height: 26px; color: var(--on-dark-muted); margin: 0; }
.apply-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.apply-steps-item { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 0 0 24px; color: var(--on-dark-muted); }
.apply-steps-item:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; border-radius: 1px; background: var(--on-dark-line); }
.apply-steps-item.is-done:not(:last-child)::before { background: var(--mint); }
.apply-steps-item.is-done { cursor: pointer; }
.apply-steps-num { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; box-sizing: border-box; border-radius: 50%; border: 2px solid var(--on-dark-line); font-size: 14px; font-weight: 600; color: var(--on-dark-muted); }
.apply-steps-item.is-done .apply-steps-num { background: var(--mint); border-color: var(--mint); color: var(--np); }
.apply-steps-item.is-current .apply-steps-num { background: var(--white); border-color: var(--white); color: var(--np); box-shadow: 0 0 0 6px var(--on-dark); }
.apply-steps-text { display: flex; flex-direction: column; gap: 2px; padding-top: 4px; }
.apply-steps-label { font-size: 17px; line-height: 22px; font-weight: 600; }
.apply-steps-hint { font-size: 14px; line-height: 20px; }
.apply-steps-item.is-current, .apply-steps-item.is-done { color: var(--white); }
.apply-steps-item.is-current .apply-steps-hint, .apply-steps-item.is-done .apply-steps-hint { color: var(--on-dark-muted); }
.apply-promise { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--on-dark-line); display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--on-dark-muted); }
.apply-promise li { position: relative; padding-left: 26px; }
.apply-promise li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 6px; height: 11px; border-right: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(45deg); }
.apply-main { min-width: 0; padding-top: 16px; }
.apply-progress { display: none; }
.apply-form { position: relative; max-width: 720px; }
.apply-preview-label { margin: 56px 0 24px; padding: 10px 16px; border-radius: var(--radius); background: var(--cloud); font-size: 15px; font-weight: 600; color: var(--graphite); }
.apply-preview-label:first-of-type { margin-top: 0; }
.apply-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.apply-step-title { float: left; width: 100%; padding: 0; font-size: 40px; line-height: 1.08; letter-spacing: -0.035em; font-weight: 600; margin: 0 0 12px; }
.apply-step-title + * { clear: both; }
.apply-step-lead { font-size: 18px; line-height: 28px; color: var(--graphite); max-width: 34em; margin: 0 0 40px; }
.apply-summary { margin: 0 0 28px; padding: 14px 18px; border-radius: var(--radius); background: var(--error-wash); color: var(--error); font-size: 16px; line-height: 24px; font-weight: 600; }
.apply-noscript { margin: 0 0 24px; padding: 14px 18px; border-radius: var(--radius); background: var(--cloud); }
.apply-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.apply-nav { display: flex; align-items: center; gap: 16px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.apply-back { border: 0; background: none; padding: 12px 4px; font: inherit; font-size: 17px; font-weight: 600; color: var(--np); cursor: pointer; }
.apply-back:hover { text-decoration: underline; }
.apply-count { flex: 1; font-size: 15px; color: var(--graphite); }
.apply-back[hidden] + .apply-count { padding-left: 0; }
.apply-next { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.apply-next:disabled { opacity: 0.6; cursor: progress; }

.f { margin: 0 0 26px; min-width: 0; }
.f-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.f-row-gap { margin-top: 12px; }
.f-label { display: block; font-size: 16px; line-height: 22px; font-weight: 600; margin: 0 0 10px; }
.f-opt { margin-left: 6px; font-size: 13px; font-weight: 400; color: var(--graphite); }
.f-hint { font-size: 14px; line-height: 20px; color: var(--graphite); margin: 6px 0 0; }
.f-input { display: block; width: 100%; box-sizing: border-box; height: 58px; padding: 0 18px; border: 2px solid transparent; border-radius: 16px; background: var(--cloud); color: var(--ink); font: inherit; font-size: 18px; transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s; }
.f-input:hover { border-color: var(--field-line); }
.f-input::placeholder { color: var(--graphite); opacity: 0.6; }
.f-input:focus { outline: none; background: var(--white); border-color: var(--pine); box-shadow: 0 0 0 4px var(--focus-ring); }
select.f-input { appearance: none; -webkit-appearance: none; padding-right: 44px; text-overflow: ellipsis; }
/* The chevron sits on a wrapper, not on the field: a browser's autofill repaints the field's own
   background and took the arrow with it ("Country of registration has no arrow", 25 Nov). */
.f-select, .f-combo { position: relative; display: block; }
.f-select::after, .f-combo::after { content: ""; position: absolute; right: 18px; top: 29px; width: 14px; height: 9px; margin-top: -4px; background: var(--chevron) no-repeat; pointer-events: none; }
/* Autofilled fields keep the form's own colours instead of the browser's pale blue. */
.f-input:-webkit-autofill, .f-input:-webkit-autofill:hover { -webkit-box-shadow: 0 0 0 100px var(--cloud) inset; -webkit-text-fill-color: var(--ink); caret-color: var(--ink); transition: background-color 600000s 0s; }
.f-input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 100px var(--white) inset, 0 0 0 4px var(--focus-ring); }
/* On a wash panel (an opened follow-up) fields and tags are white, never grey on green. */
.f-reveal .f-input, .f-reveal .f-tag, .f-reveal .f-yesno input:not(:checked) + span { background: var(--white); }
.f-reveal .f-input:-webkit-autofill { -webkit-box-shadow: 0 0 0 100px var(--white) inset; }
.f-textarea { height: auto; min-height: 96px; padding: 12px 16px; line-height: 26px; resize: vertical; }
.f-combo-input { padding-right: 44px; text-overflow: ellipsis; }
.f-combo-list { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 6px); max-height: 320px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-card), 0 0 0 1px var(--line); }
.f-combo-group { padding: 10px 12px 4px; font-size: 13px; font-weight: 600; color: var(--graphite); }
.f-combo-option { padding: 10px 12px; border-radius: 10px; font-size: 16px; line-height: 22px; cursor: pointer; }
.f-combo-option.is-active { background: var(--wash); }
.f-combo-option[aria-selected="true"] { font-weight: 600; }
.f-combo-none { padding: 10px 12px; font-size: 15px; color: var(--graphite); }
/* Multi pickers: one list with a tick per item that stays open while you choose (site.js renderMulti). */
.f-mpanel { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 6px); display: flex; flex-direction: column; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-card), 0 0 0 1px var(--line); overflow: hidden; }
.f-mlist { margin: 0; padding: 6px; list-style: none; max-height: 300px; overflow-y: auto; }
.f-moption { position: relative; padding: 10px 12px 10px 44px; border-radius: 10px; font-size: 16px; line-height: 22px; cursor: pointer; }
.f-moption::before { content: ""; position: absolute; left: 12px; top: 11px; width: 20px; height: 20px; box-sizing: border-box; border: 1.5px solid var(--field-line); border-radius: 6px; background: var(--white); }
.f-moption[aria-selected="true"]::before { border-color: var(--np); background: var(--np) var(--tick) no-repeat center / 12px 9px; }
.f-moption.is-active { background: var(--wash); }
.f-moption.is-off { color: var(--graphite); cursor: default; }
.f-moption.is-off::before { opacity: 0.4; }
.f-mshortcut { font-weight: 600; margin-bottom: 4px; }
.f-mshortcut::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -3px; height: 1px; background: var(--line); }
.f-mfoot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 18px; border-top: 1px solid var(--line); }
.f-mcount { font-size: 14px; color: var(--graphite); }
.f-mdone { height: 40px; padding: 0 20px; border: 0; border-radius: var(--radius-pill); background: var(--np); color: var(--white); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.f-mdone:hover { background: var(--np-raised); }
.f-native { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.f-more { border: 0; background: none; padding: 8px 4px; font: inherit; font-size: 15px; font-weight: 600; color: var(--pine); cursor: pointer; }
.f-more:hover { text-decoration: underline; }
.f-suffix { position: relative; }
.f-suffix .f-input { padding-right: 40px; }
.f-suffix span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--graphite); font-weight: 600; }
.f-error { margin: 8px 0 0; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--error); }
.is-invalid > .f-input, .is-invalid .f-input, .is-invalid > .f-yesno span, .is-invalid > .f-cards .f-card { border-color: var(--error); }
.f-reveal { margin: -4px 0 22px; padding: 22px 22px 0; border-radius: var(--radius); background: var(--wash); }
.f-reveal:not(:has(.f)) { padding: 0; background: none; }
.f-field-plain { margin: 0; }

.f-yesno { display: flex; flex-wrap: wrap; gap: 8px; }
.f-yesno label, .f-chip, .f-card { position: relative; cursor: pointer; }
.f-yesno input, .f-chip input, .f-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.f-yesno span { display: inline-flex; align-items: center; min-width: 64px; justify-content: center; height: 46px; padding: 0 22px; box-sizing: border-box; border: 1.5px solid var(--field-line); border-radius: var(--radius-pill); font-size: 16px; font-weight: 600; transition: background-color 0.15s, color 0.15s, border-color 0.15s; }
.f-yesno label:hover span, .f-chip:hover span { border-color: var(--np); }
.f-yesno input:checked + span, .f-chip input:checked + span { background: var(--np); border-color: var(--np); color: var(--white); }
.f-yesno input:focus-visible + span, .f-chip input:focus-visible + span, .f-card input:focus-visible ~ .f-card-name { outline: 3px solid var(--pine); outline-offset: 2px; }
.f-yesno-sm span { height: 40px; padding: 0 16px; font-size: 15px; }
.f-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.f-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; box-sizing: border-box; border: 1.5px solid var(--field-line); border-radius: var(--radius-pill); font-size: 15px; line-height: 20px; }
.f-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.f-card { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1.5px solid var(--field-line); border-radius: var(--radius); transition: border-color 0.15s, background-color 0.15s; }
.f-card:hover { border-color: var(--np); }
.f-card:has(input:checked) { border-color: var(--np); background: var(--wash); box-shadow: inset 0 0 0 1px var(--np); }
.f-card-name { font-size: 16px; line-height: 22px; font-weight: 600; }
.f-card-hint { font-size: 13px; line-height: 18px; color: var(--graphite); }
.f-card-desc { font-size: 14px; line-height: 20px; color: var(--graphite); margin-top: 4px; }
/* Company type: a custom listbox over the radio cards (site.js makePick). Closed, it is a field
   like the others; open, names on the left and what the highlighted one means on the right. */
.f-pick { position: relative; }
.f-pick-btn { display: flex; align-items: baseline; gap: 10px; width: 100%; box-sizing: border-box; min-height: 58px; padding: 0 44px 0 18px; border: 2px solid transparent; border-radius: 16px; background: var(--cloud); color: var(--ink); font: inherit; font-size: 18px; text-align: left; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s; }
.f-pick-btn::after { content: ""; position: absolute; right: 18px; top: 29px; width: 14px; height: 9px; margin-top: -4px; background: var(--chevron) no-repeat; pointer-events: none; }
.f-pick-btn:hover { border-color: var(--field-line); }
.f-pick-btn:focus-visible, .f-pick.is-open .f-pick-btn { outline: none; background: var(--white); border-color: var(--pine); box-shadow: 0 0 0 4px var(--focus-ring); }
.f-pick-value { align-self: center; flex: 0 1 auto; min-width: 0; padding: 17px 0; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-pick-btn.is-empty .f-pick-value { color: var(--graphite); }
.f-pick-hint { align-self: center; flex: 1 1 0; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; color: var(--graphite); }
.is-invalid .f-pick-btn { border-color: var(--error); }
.f-pick-panel { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 6px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-card), 0 0 0 1px var(--line); overflow: hidden; }
.f-pick-list { margin: 0; padding: 6px; list-style: none; max-height: 360px; overflow-y: auto; outline: none; }
.f-pick-option { position: relative; padding: 11px 12px 11px 36px; border-radius: 10px; font-size: 16px; line-height: 22px; cursor: pointer; }
.f-pick-option.is-active { background: var(--wash); }
.f-pick-list:focus-visible .f-pick-option.is-active { box-shadow: inset 0 0 0 2px var(--pine); }
.f-pick-option[aria-selected="true"] { font-weight: 600; }
.f-pick-option[aria-selected="true"]::before { content: ""; position: absolute; left: 14px; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: var(--np); }
.f-pick-name { display: block; }
.f-pick-desc { display: none; }
.f-pick-info { padding: 22px 24px; background: var(--cloud); }
.f-pick-info p { margin: 0; }
.f-pick-info-name { font-size: 18px; line-height: 24px; font-weight: 600; margin-bottom: 8px; }
.f-pick-info-desc { font-size: 16px; line-height: 24px; }
.f-pick-info-eg { margin-top: 14px; font-size: 14px; line-height: 20px; color: var(--graphite); }
@media (max-width: 640px) {
  .f-pick-panel { grid-template-columns: minmax(0, 1fr); }
  .f-pick-info, .f-pick-hint { display: none; }
  .f-pick-list { max-height: 60vh; }
  .f-pick-desc { display: block; margin-top: 4px; font-size: 14px; line-height: 20px; font-weight: 400; color: var(--graphite); }
}
.f-check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 24px; cursor: pointer; margin: 0 0 12px; }
.f-check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--np); }
.f-check a { color: var(--pine); }
.f-tags { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.f-tag { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 6px 0 16px; border-radius: var(--radius-pill); background: var(--wash); color: var(--np); font-size: 15px; font-weight: 600; }
.f-tag-remove { position: relative; width: 28px; height: 28px; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.f-tag-remove::before, .f-tag-remove::after { content: ""; position: absolute; left: 8px; top: 13px; width: 12px; height: 2px; border-radius: 1px; background: var(--np); transform: rotate(45deg); }
.f-tag-remove::after { transform: rotate(-45deg); }
.f-tag-remove:hover { background: var(--white); }
.f-questions { margin-top: 8px; }
.f-question { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 0; margin: 0; border-top: 1px solid var(--line); }
.f-question .f-label { margin: 0; flex: 1 1 280px; font-weight: 400; font-size: 16px; line-height: 24px; }
.f-question .f-error { flex-basis: 100%; margin: 0; }
.f-consent { margin: 28px 0 0; padding: 18px 20px 6px; border-radius: var(--radius); background: var(--wash); }

/* the ownership tree */
.tree { display: flex; flex-direction: column; gap: 12px; }
.party { padding: 20px 20px 4px; border: 1.5px solid var(--field-line); border-radius: 20px; background: var(--white); }
.party-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.party-kind { font-size: 14px; font-weight: 600; color: var(--pine); }
.party-remove { border: 0; background: none; padding: 4px 0; font: inherit; font-size: 14px; color: var(--graphite); cursor: pointer; }
.party-remove:hover { color: var(--error); text-decoration: underline; }
.party-type { margin-bottom: 16px; }
.party-type.is-invalid span { border-color: var(--error); }
.party-more { margin: 0 0 16px; }
.party-more summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--np); margin-bottom: 12px; }
.party-children { display: flex; flex-direction: column; gap: 10px; margin: 0 0 16px; padding-left: 16px; border-left: 2px solid var(--wash); }
.party-children:empty { display: none; }
.party-children .party { background: var(--cloud); border-color: transparent; }
/* Inside an owner's grey card, fields and the shares total are white, never grey on grey. */
.party-children .party .f-input, .party-children .party-children .tree-total:not(.is-ok) { background: var(--white); }
.party-children .f-input:-webkit-autofill { -webkit-box-shadow: 0 0 0 100px var(--white) inset; }
.tree-total { padding: 18px 20px; border-radius: var(--radius); background: var(--cloud); }
.tree-total-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tree-total-label { font-size: 15px; font-weight: 600; }
.tree-total-figure { font-size: 15px; color: var(--graphite); }
.tree-total-figure b { font-size: 28px; line-height: 32px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.tree-total-bar { display: flex; height: 12px; margin: 12px 0 10px; border-radius: var(--radius-pill); background: var(--white); box-shadow: inset 0 0 0 1px var(--field-line); overflow: hidden; }
.tree-total-seg { height: 100%; box-shadow: inset -2px 0 0 var(--white); transition: width 0.2s; }
.tree-total-seg-0 { background: var(--np); }
.tree-total-seg-1 { background: var(--pine); }
.tree-total-seg-2 { background: var(--mint-deep); }
.tree-total-note { margin: 0; font-size: 15px; line-height: 21px; color: var(--graphite); }
.tree-total.is-ok { background: var(--wash); }
.tree-total.is-ok .tree-total-note { color: var(--pine); font-weight: 600; }
.tree-total.is-over .tree-total-seg { background: var(--error); }
.tree-total.is-over .tree-total-note, .tree-total.is-invalid .tree-total-note { color: var(--error); font-weight: 600; }
.tree-total.is-invalid { box-shadow: inset 0 0 0 2px var(--error); }
/* The company's own total rides along at the foot of the screen while its owners are filled in. */
.tree > .tree-total { position: sticky; bottom: 16px; z-index: 2; box-shadow: var(--shadow-card), 0 0 0 1px var(--line); }
.tree > .tree-total.is-invalid { box-shadow: var(--shadow-card), inset 0 0 0 2px var(--error); }
@media (prefers-reduced-motion: reduce) { .tree-total-seg { transition: none; } }
.tree-add { align-self: flex-start; border: 0; background: none; padding: 4px 0; font: inherit; font-size: 15px; font-weight: 600; color: var(--pine); cursor: pointer; }
.tree-add:hover { text-decoration: underline; }
.tree-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.tree-actions .site-btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; }

@media (max-width: 900px) {
  .apply { padding: 24px 0 72px; }
  .apply-shell { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .apply-side { position: relative; top: auto; }
  .apply-side-inner { padding: 24px 20px; gap: 18px; }
  .apply-title { font-size: 32px; margin-bottom: 8px; }
  .apply-lead { font-size: 16px; line-height: 24px; }
  .apply-steps { flex-direction: row; gap: 6px; }
  .apply-steps-item { padding: 0; }
  .apply-steps-item::before { display: none; }
  .apply-steps-text, .apply-promise { display: none; }
  .apply-steps-item.is-current .apply-steps-text { display: flex; padding-top: 5px; }
  .apply-steps-item.is-current .apply-steps-hint { display: none; }
  .apply-main { padding-top: 0; }
  .site-focus-long { display: none; }
  .apply-step-title { font-size: 28px; }
  .apply-step-lead { font-size: 17px; line-height: 26px; margin-bottom: 28px; }
  .f-row, .f-cards { grid-template-columns: minmax(0, 1fr); }
  .apply-nav { flex-wrap: wrap; }
  .apply-count { order: -1; flex-basis: 100%; }
  .apply-next { margin-left: auto; }
  .party { padding: 16px 16px 2px; }
  .tree-actions .site-btn { width: 100%; white-space: normal; height: auto; min-height: 48px; padding-top: 12px; padding-bottom: 12px; text-align: center; }
}

/* ---- the result (S5b): a table of the banks that may say yes, or one card for every other state ---- */
.result { background: var(--wash); padding: 64px 0 120px; }
.result-wrap { max-width: 1040px; }
.result-head { margin-bottom: 32px; }
.result-for { font-size: 15px; font-weight: 600; color: var(--pine); margin: 0 0 12px; }
.result-title { font-size: clamp(38px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.04em; margin: 0 0 14px; }
.result-lead { font-size: 20px; line-height: 30px; color: var(--graphite); max-width: 34em; margin: 0; }
.result-lead a { color: var(--pine); }
.result-card { max-width: 720px; margin: 0 auto; padding: 56px 48px; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-card); }
.result-check { position: relative; display: block; width: 56px; height: 56px; border-radius: 50%; background: var(--np); margin-bottom: 24px; }
.result-check::after { content: ""; position: absolute; left: 21px; top: 15px; width: 11px; height: 20px; border-right: 3px solid var(--mint); border-bottom: 3px solid var(--mint); transform: rotate(45deg); }
.result-card .result-note { margin-top: 28px; }
.result-note { font-size: 15px; line-height: 22px; color: var(--graphite); margin: 24px 0 0; }
.result-table { border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-card); overflow: hidden; }
.result-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) 132px; gap: 20px; align-items: center; padding: 20px 28px; border-top: 1px solid var(--line); }
.result-row-head { border-top: 0; padding-top: 18px; padding-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--graphite); background: var(--cloud); }
.result-name { display: flex; align-items: center; gap: 16px; min-width: 0; }
.result-name strong { display: block; font-size: 18px; line-height: 24px; }
.result-mark { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--np); color: var(--white); font-weight: 600; font-size: 18px; }
.result-type { display: block; font-size: 14px; color: var(--graphite); }
.result-cell { font-size: 16px; }
.result-cell-label { display: none; }
.result-pill { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--radius-pill); background: var(--cloud); font-size: 14px; font-weight: 600; }
.result-pill-ok { background: var(--wash); color: var(--np); }
.result-quiet { font-size: 15px; color: var(--graphite); }
.result-action { text-align: right; }
/* Every action button is the same width, whatever its word (25 Nov). */
.result-action .site-btn { width: 100%; }
.result-found { display: inline-flex; align-items: center; justify-content: center; min-width: 1.15em; height: 1.15em; padding: 0 0.12em; margin: 0 0.04em; border-radius: 0.3em; background: var(--mint); color: var(--np); font-size: 0.92em; line-height: 1; vertical-align: 0.04em; }
.result-pay .result-lead { margin-bottom: 24px; }
.result-gets { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 17px; }
.result-gets li { position: relative; padding-left: 30px; }
.result-gets li::before { content: ""; position: absolute; left: 6px; top: 4px; width: 7px; height: 13px; border-right: 2.5px solid var(--pine); border-bottom: 2.5px solid var(--pine); transform: rotate(45deg); }
.result-paybox { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 28px; border-radius: var(--radius-lg); background: var(--np); color: var(--white); }
.result-price { margin: 0; font-size: 36px; line-height: 1; letter-spacing: -0.03em; font-weight: 600; }
.result-price-note { margin: 6px 0 0; font-size: 15px; color: var(--on-dark-muted); }
.result-paybox .site-btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.result-paybox :focus-visible { outline-color: var(--mint); }
.result-preview-state { margin-bottom: 72px; }
.result-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@media (max-width: 720px) {
  .result { padding: 32px 0 72px; }
  .result-card { padding: 36px 24px; }
  .result-row-head { display: none; }
  .result-row { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 20px; }
  .result-cell { display: flex; justify-content: space-between; gap: 12px; }
  .result-cell-label { display: inline; color: var(--graphite); font-size: 14px; }
  .result-action { text-align: left; }
  .result-action .site-btn { width: 100%; }
  .result-paybox { padding: 24px 20px; }
  .result-paybox .site-btn { width: 100%; }
}

/* your result, remembered: the header link and the private-link box */
.site-result-link { position: relative; display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-size: 16px; font-weight: 600; text-decoration: none; padding: 10px 16px; border-radius: var(--radius-pill); border: 1px solid var(--on-dark-line); }
.site-result-link:hover { text-decoration: none; background: var(--on-dark); }
.site-result-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); }
.result-keep { margin-top: 28px; padding: 20px; border-radius: var(--radius); background: var(--cloud); }
.result-keep-text { margin: 0 0 12px; font-size: 15px; line-height: 22px; color: var(--graphite); }
.result-keep-text strong { color: var(--ink); }
.result-keep-row { display: flex; gap: 8px; }
.result-keep-url { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1.5px solid var(--field-line); border-radius: var(--radius-pill); background: var(--white); font: inherit; font-size: 14px; color: var(--graphite); }
.result-keep .site-btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.result-table + .result-keep { background: var(--white); }
.apply-known { margin: 0 0 24px; padding: 14px 18px; border-radius: var(--radius); background: var(--wash); font-size: 16px; line-height: 24px; }
.apply-known a { color: var(--pine); font-weight: 600; }
@media (max-width: 720px) { .result-keep-row { flex-direction: column; } .site-result-link { padding: 8px 12px; font-size: 14px; } }

/* ---- the payment page (25 Nov): a test page until a provider is chosen (S6) ---- */
.pay { background: var(--wash); padding: 48px 0 120px; }
.pay-wrap { max-width: 1040px; }
.pay-back { display: inline-block; margin-bottom: 28px; font-size: 16px; font-weight: 600; color: var(--pine); }
.pay-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.pay-main { padding: 48px; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-card); }
.pay-title { font-size: clamp(34px, 4vw, 48px); line-height: 1.04; letter-spacing: -0.035em; margin: 0 0 12px; }
.pay-lead { font-size: 18px; line-height: 28px; color: var(--graphite); margin: 0 0 28px; }
.pay-test { margin: 0 0 28px; padding: 16px 20px; border-radius: var(--radius); background: var(--cloud); font-size: 15px; line-height: 22px; color: var(--graphite); }
.pay-test p { margin: 0; }
.pay-test .pay-test-title { margin-bottom: 4px; font-weight: 600; color: var(--ink); }
.pay-button { width: 100%; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.pay-summary { padding: 32px; border-radius: var(--radius-lg); background: var(--np); color: var(--white); }
.pay-summary-title { font-size: 20px; margin: 0 0 20px; }
.pay-lines { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.pay-lines div { display: flex; justify-content: space-between; gap: 16px; font-size: 16px; }
.pay-lines dt { color: var(--on-dark-muted); }
.pay-lines dd { margin: 0; font-weight: 600; text-align: right; }
.pay-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--on-dark-line); }
.pay-total strong { font-size: 30px; letter-spacing: -0.02em; }
.pay-summary-note { margin: 16px 0 0; font-size: 14px; line-height: 20px; color: var(--on-dark-muted); }
@media (max-width: 900px) {
  .pay { padding: 24px 0 72px; }
  .pay-grid { grid-template-columns: minmax(0, 1fr); }
  .pay-summary { order: -1; }
  .pay-main { padding: 28px 20px; }
}

/* ---- the styleguide (25 Nov): the public site's screens with sample data, behind a code ---- */
.sg-bar { background: var(--cloud); border-bottom: 1px solid var(--line); font-size: 15px; }
.sg-bar .site-container { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; min-height: 48px; }
.sg-bar a { color: var(--pine); font-weight: 600; }
.sg-bar-label { color: var(--graphite); }
.sg-bar-pager { margin-left: auto; display: flex; gap: 20px; }
.sg, .sg-access { padding: 64px 0 120px; }
.sg-title { font-size: clamp(40px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.04em; margin: 0 0 12px; }
.sg-lead { font-size: 19px; line-height: 29px; color: var(--graphite); max-width: 36em; margin: 0 0 40px; }
.sg-heading { font-size: 24px; letter-spacing: -0.02em; margin: 40px 0 16px; }
.sg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sg-card { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 16px 20px; box-sizing: border-box; border-radius: var(--radius); background: var(--wash); color: var(--np); text-decoration: none; font-weight: 600; transition: background-color 0.2s; }
.sg-card:hover { background: var(--mint); text-decoration: none; }
.sg-card-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--np); color: var(--white); font-size: 14px; }
.sg-card-all { background: var(--cloud); }
.sg-access-card { max-width: 520px; margin: 0 auto; padding: 48px; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-card); }
.sg-access-card .sg-lead { font-size: 17px; line-height: 26px; margin-bottom: 28px; }
.sg-open { width: 100%; }
@media (max-width: 900px) { .sg-grid { grid-template-columns: minmax(0, 1fr); } .sg-access-card { padding: 28px 20px; } }

/* ---- the temporary gate (26 Nov): the wordmark on night pine, a small Login at the bottom ---- */
body.gate { min-height: 100vh; position: relative; overflow: hidden; background: var(--np); color: var(--white);
  background-image: radial-gradient(ellipse 60% 55% at 50% 45%, var(--np-glow), transparent 72%); }
.gate-dots { position: absolute; inset: 0; background-image: radial-gradient(circle, var(--map-dot) 0.75px, transparent 1.1px); background-size: 14px 14px; }
.gate-main { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; padding: 24px; }
.gate-brand { margin: 0; }
.gate-brand .site-brand { gap: 18px; }
.gate-brand .site-brand svg { width: 64px; height: 64px; }
.gate-brand .site-wordmark { font-size: 52px; letter-spacing: -0.03em; }
.gate-login { position: relative; align-self: center; margin: 0 0 32px; font-size: 14px; color: var(--on-dark-muted); text-decoration: none; }
.gate-login:hover { color: var(--white); text-decoration: underline; }
.gate-form { width: 100%; max-width: 360px; }
.gate-label { display: block; margin: 0 0 8px; font-size: 14px; color: var(--on-dark-muted); }
.gate-row { display: flex; gap: 8px; }
.gate-input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid var(--on-dark-line); border-radius: var(--radius-pill); background: var(--on-dark); color: var(--white); font: inherit; font-size: 16px; }
.gate-input:focus { outline: none; border-color: var(--mint); }
.gate-row .site-btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.gate-error { margin: 10px 0 0; font-size: 14px; color: var(--mint); }
@media (max-width: 720px) { .gate-brand .site-brand svg { width: 44px; height: 44px; } .gate-brand .site-wordmark { font-size: 36px; } }

/* ---- inner-page blocks kept from the first pass ---- */
.site-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-step { display: flex; flex-direction: column; gap: 8px; }
.site-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.site-trust { padding: 48px; display: flex; flex-direction: column; gap: 24px; }
.site-prose { max-width: 720px; }
.site-prose h2 { margin-top: 40px; margin-bottom: 12px; }
.site-prose h2:first-child { margin-top: 0; }
.site-prose ul { padding-left: 20px; margin: 0 0 16px; }
.site-errors { padding: 12px 16px; color: var(--error); background: var(--cloud); border-radius: var(--radius); }
.site-centre { text-align: center; }

/* ---- footer ---- */
.site-footer { background: var(--np); color: var(--white); padding: 72px 0 36px; }
.site-footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.site-footer-title { font-size: 15px; line-height: 20px; font-weight: 600; color: var(--mint); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--mint); }
.site-footer-tagline { color: var(--on-dark-muted); margin-top: 14px; }
.site-footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--on-dark-line); color: var(--on-dark-muted); font-size: 15px; line-height: 24px; }

@media (max-width: 1000px) {
  .how-row { grid-template-columns: minmax(0, 1fr); row-gap: 72px; max-width: 520px; margin: 0 auto; }
  html.js .how .how-col > :first-child { transition-delay: 0s; }
  html.js .how .how-col > .how-cap { transition-delay: 0.15s; }
  .how-col:not(:last-child) > :first-child::before, .how-col:not(:last-child) > :first-child::after { content: none; }
  .how-col:not(:last-child)::before { content: ""; position: absolute; border-radius: 1px; background-color: var(--on-dark-line); background-repeat: no-repeat; background-position: 100% 0; bottom: -58px; left: 50%; width: 2px; height: 40px; background-image: linear-gradient(180deg, transparent 0 35%, var(--mint) 50%, transparent 65% 100%); background-size: 100% 300%; }
  .how-col:not(:last-child)::after { content: ""; position: absolute; bottom: -58px; left: calc(50% - 4px); width: 8px; height: 8px; border-top: 2px solid var(--mint); border-right: 2px solid var(--mint); transform: rotate(135deg); }
}

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-inner { align-items: stretch; text-align: left; }
  .hero-lead { order: 3; }
  .hook-wide { width: 100%; border-radius: var(--radius-lg); }
  .hook-wide .hook-list { flex-direction: column; width: 100%; }
  .hook-wide .hook-option { height: auto; min-height: 56px; padding: 8px 10px 8px 20px; }
  .hook-wide .hook-option-text strong { white-space: normal; }
  .hero-hook { margin-top: 12px; }
  .refusal-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .indep-cols { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .who-grid, .site-steps { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 124px; }
  .site-header .site-container { flex-wrap: wrap; gap: 10px 20px; padding-top: 12px; padding-bottom: 12px; min-height: 0; }
  .site-nav { order: 3; width: 100%; margin-left: 0; gap: 20px; flex-wrap: wrap; }
  .site-header .site-btn { margin-left: auto; height: 40px; padding: 0 18px; font-size: 15px; }
  .hero { padding-top: 32px; padding-bottom: 64px; }
  .hero-lead { font-size: 18px; line-height: 28px; }
  .hook:not(.hook-wide) { padding: 18px; }
  .hook-title { font-size: 22px; margin-bottom: 14px; }
  .hook-option { padding: 14px 12px 14px 16px; }
  .band, .how-pin { padding-top: 72px; padding-bottom: 72px; }
  .band-lead { font-size: 19px; line-height: 29px; margin-bottom: 32px; }
  .letter-paper { padding: 28px 24px 32px; font-size: 16px; line-height: 25px; }
  .refusal-head { text-align: left; }
  .refusal-head .band-lead { margin-bottom: 40px; }
  .reason { grid-template-columns: 32px minmax(0, 1fr); gap: 14px; padding: 20px; }
  .indep-card { padding: 28px; }
  .indep-list { font-size: 21px; }
  .indep-title { margin-bottom: 36px; }
  .who-side { padding: 28px; }
  .who-row { gap: 16px; }
  .who-title { font-size: 23px; }
  .who-ins-title { font-size: 30px; }
  .closing { padding-top: 8px; padding-bottom: 72px; }
  .closing-card { padding: 64px 20px 24px; border-radius: var(--radius-lg); }
  .closing-lead { font-size: 18px; line-height: 28px; }
  .site-grid-2, .site-footer-grid { grid-template-columns: minmax(0, 1fr); }
  .site-section { padding-top: 48px; padding-bottom: 48px; }
  .site-trust { padding: 28px; }
}
