/* SettleLink — "Folded Daylight" visual concept.
   Isolated design concept. Not wired to any backend. Tokens map 1:1 to the handoff table. */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;

  /* reference palette (owner-supplied, unchanged) */
  --sl-white: #ffffff;
  --sl-ice: #eaf5fc;
  --sl-ink: #26343c;
  --sl-body: #475963;
  --sl-blue: #0876db;
  --sl-green: #78cf25;
  --sl-line: #d1dfe7;

  /* added steps */
  --sl-mist: #f5fafd;        /* lightest panel, between white and ice */
  --sl-ice-deep: #d9edf9;
  --sl-muted: #5e7684;       /* meta text, 4.77:1 on white */
  --sl-control: #7b8f9a;     /* input & control borders, 3.37:1 on white */
  --sl-blue-press: #0663b8;
  --sl-green-press: #68bb18;
  --sl-thread: linear-gradient(90deg, #78cf25 0%, #3fae7a 45%, #0876db 100%);

  /* semantic */
  --surface: var(--sl-white);
  --surface-raised: var(--sl-white);
  --surface-tint: var(--sl-mist);
  --text: var(--sl-ink);
  --text-2: var(--sl-body);
  --text-3: var(--sl-muted);
  --accent: var(--sl-blue);
  --action: var(--sl-green);
  --focus: var(--sl-blue);

  /* depth */
  --lift-1: 0 1px 2px rgba(38, 52, 60, .06), 0 8px 20px -12px rgba(8, 92, 170, .22);
  --lift-2: 0 2px 6px rgba(38, 52, 60, .05), 0 34px 70px -34px rgba(8, 92, 170, .38);

  /* shape */
  --r-control: 12px;
  --r-button: 14px;
  --r-card: 24px;
  --r-photo: 28px;
  --fold: 72px;

  /* rhythm */
  --gutter: clamp(16px, 4.4vw, 64px);
  --content: 1312px;
  --section: clamp(80px, 9vw, 136px);

  /* motion */
  --ease-out: cubic-bezier(.22, .8, .24, 1);
  --ease-io: cubic-bezier(.6, 0, .25, 1);

  font-family: "Plus Jakarta Sans", "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--surface);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; min-width: 320px; background: var(--surface); font-size: 1.0625rem; line-height: 1.6; overflow-x: clip; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--sl-blue-press); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 50; top: 12px; left: 12px; padding: 12px 16px; background: var(--action); color: var(--text); border-radius: 10px; font-weight: 700; }

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

h1, h2 { font-weight: 780; letter-spacing: -.035em; color: var(--text); text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.4rem); line-height: 1.04; }
h3 { font-size: 1.0625rem; line-height: 1.35; font-weight: 720; letter-spacing: -.01em; }
.money, .tnum { font-variant-numeric: tabular-nums; }

/* ---------- concept flag ---------- */
.concept-flag { padding: 8px var(--gutter); background: var(--sl-mist); border-bottom: 1px solid var(--sl-line); color: var(--text); font-size: .8125rem; line-height: 1.45; text-align: center; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid transparent; transition: border-color 200ms ease, box-shadow 200ms ease; }
.site-header.is-scrolled { border-bottom-color: var(--sl-line); box-shadow: 0 10px 30px -24px rgba(8, 92, 170, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: calc(1440px); margin: 0 auto; padding: 0 var(--gutter); min-height: 76px; }
.brand { display: inline-flex; flex: none; }
/* The supplied PNG is opaque RGB with white padding (64px of 450px on the left). Keep it on pure white and offset optically, never crop or recolour it. */
.brand img { --logo-w: clamp(136px, 13vw, 176px); width: var(--logo-w); height: auto; margin-left: calc(var(--logo-w) * -0.1422); }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.desktop-nav a, .mobile-nav nav a { color: var(--text); font-size: .9375rem; font-weight: 620; text-decoration: none; }
.desktop-nav a:not(.nav-join):hover { color: var(--accent); }
.nav-join { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-control); background: var(--action); color: var(--text) !important; font-weight: 720 !important; transition: background-color 160ms ease; }
.nav-join:hover { background: var(--sl-green-press); }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid var(--sl-control); border-radius: var(--r-control); font-size: .9375rem; font-weight: 650; cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.menu-mark { display: grid; gap: 5px; width: 18px; }
.menu-mark i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform 200ms var(--ease-out); }
.mobile-nav[open] .menu-mark i:first-child { transform: translateY(3.5px) rotate(45deg); }
.mobile-nav[open] .menu-mark i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav nav { position: absolute; right: 0; top: calc(100% + 10px); display: grid; gap: 4px; width: min(300px, calc(100vw - 32px)); padding: 10px; background: var(--surface-raised); border: 1px solid var(--sl-line); border-radius: var(--r-card); box-shadow: var(--lift-2); }
.mobile-nav nav a:not(.nav-join) { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 10px; }
.mobile-nav nav a:not(.nav-join):hover { background: var(--sl-mist); }
.mobile-nav nav .nav-join { justify-content: center; min-height: 52px; margin-top: 6px; }

/* ---------- buttons ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 0; border-radius: var(--r-button); font-size: 1rem; font-weight: 720; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color 160ms ease, box-shadow 160ms ease, transform 120ms ease; }
.button svg { transition: transform 180ms var(--ease-out); }
.button:active { transform: translateY(1px); }
.button--primary { background: var(--action); color: var(--text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 18px -12px rgba(74, 140, 10, .9); }
.button--primary:hover { background: var(--sl-green-press); color: var(--text); }
.button--blue { background: var(--accent); color: #fff; }
.button--blue:hover { background: var(--sl-blue-press); color: #fff; }
.button--quiet { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--sl-control); }
.button--quiet:hover { background: var(--sl-mist); }
.button:disabled { cursor: not-allowed; color: var(--text-3); background: var(--sl-mist); box-shadow: inset 0 0 0 1.5px var(--sl-line); }
.button--block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .button:hover svg { transform: translateX(3px); }
}
.text-link { font-weight: 700; }

/* ---------- fold motif (from the logo's cut ribbon ends) ---------- */
.fold { position: relative; overflow: hidden; border-radius: var(--r-photo); clip-path: polygon(0 0, calc(100% - var(--fold)) 0, 100% calc(var(--fold) * .62), 100% 100%, 0 100%); }
.fold img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  grid-template-areas: "copy visual" "form visual";
  grid-template-rows: auto 1fr;
  column-gap: 0;
  min-height: min(940px, calc(100svh - 76px));
  padding-left: max(var(--gutter), calc((100vw - 1440px) / 2 + var(--gutter)));
}
.hero-copy { grid-area: copy; position: relative; z-index: 3; padding: clamp(36px, 5vh, 64px) 32px 26px 0; }
.status-chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border: 1px solid var(--sl-line); border-radius: 999px; background: var(--surface); color: var(--text); font-size: .8125rem; font-weight: 650; line-height: 1.3; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--action); box-shadow: 0 0 0 3px rgba(120, 207, 37, .25); flex: none; }
.hero h1 { margin-top: 22px; font-size: clamp(2.4rem, 1.1rem + 3.3vw, 4.15rem); line-height: .98; letter-spacing: -.045em; max-width: 12ch; }
.hero-lead { margin-top: 20px; max-width: 34ch; color: var(--text-2); font-size: clamp(1.125rem, 1rem + .35vw, 1.3rem); line-height: 1.5; }
.hero-fine { margin-top: 14px; max-width: 46ch; color: var(--text-2); font-size: .875rem; line-height: 1.55; }
.hero-fine strong { color: var(--text); font-weight: 700; }

.hero-visual { grid-area: visual; grid-row: 1 / span 2; align-self: start; position: relative; z-index: 1; height: clamp(640px, calc(100svh - 120px), 800px); margin-left: -120px; }
.hero-photo-window { position: absolute; inset: 0; overflow: hidden; background: var(--sl-ice); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 40%); opacity: 0; transform: scale(1.035); transition: opacity 480ms var(--ease-out), transform 1100ms var(--ease-out); user-select: none; }
.hero-slide.is-active { opacity: 1; transform: scale(1); }

.story-bar { position: absolute; z-index: 2; right: var(--gutter); bottom: 28px; width: min(540px, calc(100% - 2 * var(--gutter) - 120px)); display: grid; gap: 14px; padding: 18px 18px 14px 22px; border-radius: var(--r-card); background: rgba(255, 255, 255, .9); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border: 1px solid rgba(255, 255, 255, .8); box-shadow: var(--lift-2); }
.story-copy { display: grid; grid-template-columns: 1fr auto; column-gap: 18px; align-items: end; }
.story-title { grid-column: 1; font-size: .875rem; font-weight: 750; color: var(--text); }
.story-text { grid-column: 1; color: var(--text-2); font-size: .9375rem; line-height: 1.45; }
.story-link { grid-column: 2; grid-row: 1 / span 2; font-size: .9375rem; font-weight: 700; white-space: nowrap; }
.story-copy.is-changing { animation: storyIn 260ms var(--ease-out); }
@keyframes storyIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.story-controls { display: flex; align-items: center; gap: 6px; padding-top: 12px; border-top: 1px solid var(--sl-line); }
.round-control { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--sl-control); cursor: pointer; transition: background-color 160ms ease, box-shadow 160ms ease; }
.round-control:hover { background: var(--sl-mist); box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); }
.story-selectors { display: flex; gap: 2px; }
.story-selector { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--text); }
.story-selector span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: .875rem; font-weight: 700; font-variant-numeric: tabular-nums; transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease; }
.story-selector:hover span { background: var(--sl-mist); box-shadow: inset 0 0 0 1.5px var(--sl-line); }
.story-selector[aria-current="true"] span { background: var(--accent); color: #fff; box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px rgba(120, 207, 37, .9); }
.story-status { margin-left: auto; color: var(--text-3); font-size: .8125rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* signup card */
.signup-card { grid-area: form; position: relative; z-index: 4; align-self: start; margin: 0 -96px clamp(40px, 6vh, 72px) 0; padding: 30px 30px 24px; border: 1px solid var(--sl-line); border-radius: var(--r-card); background: var(--surface-raised); box-shadow: var(--lift-2); }
.thread { position: absolute; top: -1px; left: 30px; right: 30px; height: 3px; border-radius: 0 0 3px 3px; background: var(--sl-thread); }
.signup-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 18px; }
.signup-head h2 { font-size: 1.375rem; letter-spacing: -.02em; line-height: 1.2; }
.signup-head p { color: var(--text-2); font-size: .9375rem; }
.existing-app-link { margin: -6px 0 18px; color: var(--text-2); font-size: .875rem; line-height: 1.45; }
.existing-app-link a { color: var(--accent); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.existing-app-link a:hover { color: var(--text); }

.audience-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 54px; margin: 0 0 18px; padding: 5px; border: 1px solid var(--sl-line); border-radius: 16px; background: var(--sl-ice); min-inline-size: 0; }
.audience-indicator { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 12px; background: var(--surface); box-shadow: 0 1px 2px rgba(38, 52, 60, .12), 0 6px 16px -8px rgba(8, 92, 170, .45), inset 0 0 0 1.5px var(--accent); transition: transform 240ms var(--ease-out); }
.audience-switch[data-audience="construction-company"] .audience-indicator { transform: translateX(100%); }
.audience-option { position: relative; z-index: 1; display: grid; place-items: center; min-height: 44px; padding: 6px 8px; border-radius: 12px; color: var(--text-2); font-size: .9375rem; font-weight: 620; line-height: 1.2; text-align: center; cursor: pointer; transition: color 200ms ease; }
.audience-option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.audience-option.is-selected, .audience-option:has(input:checked) { color: var(--text); font-weight: 760; }
.audience-option:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }

.supplier-opportunity { margin: 0 0 20px; padding: 17px 18px 17px 20px; border-left: 3px solid var(--action); border-radius: 0 14px 14px 0; background: var(--sl-ice); }
.supplier-opportunity h3 { margin: 0 0 7px; font-size: 1.0625rem; font-weight: 760; line-height: 1.35; letter-spacing: -.02em; }
.supplier-opportunity p { margin: 0; color: var(--text-2); font-size: .875rem; line-height: 1.6; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 700; color: var(--text); }
.field input, .field select { width: 100%; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--sl-control); border-radius: var(--r-control); background: var(--surface); color: var(--text); font-size: 1rem; transition: border-color 160ms ease, box-shadow 160ms ease; }
.field input::placeholder { color: var(--text-3); }
.field input:hover, .field select:hover { border-color: var(--text-2); }
.field input:focus-visible, .field select:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--accent); }
.field input:user-invalid, .field select:user-invalid { border-color: #b3261e; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 44px; cursor: pointer; }
.select-wrap::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.audience-field.is-entering { animation: fieldIn 220ms var(--ease-out); }
@keyframes fieldIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.consent { display: flex; align-items: flex-start; gap: 12px; margin: 18px 0; color: var(--text-2); font-size: .9063rem; line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }

.preview-note { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: var(--text-2); font-size: .875rem; line-height: 1.45; }
.preview-tag { flex: none; padding: 3px 9px; border-radius: 999px; background: var(--sl-ice); color: var(--text); font-size: .75rem; font-weight: 750; letter-spacing: .02em; }
.signup-status { margin-top: 8px; color: var(--text); font-size: .9375rem; font-weight: 650; line-height: 1.45; }
.signup-status:empty { display: none; }
.signup-status:focus { outline: none; }

/* ---------- HOW ---------- */
.how { padding: var(--section) 0; background: linear-gradient(180deg, var(--surface) 0, var(--sl-mist) 100%); }
.how-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 72px; align-items: end; margin-bottom: 48px; }
.how-head h2 { max-width: 18ch; }
.how-intro { display: grid; gap: 14px; justify-items: start; color: var(--text-2); }
.tag-planned { padding: 5px 12px; border: 1px solid var(--sl-control); border-radius: 999px; color: var(--text); font-size: .8125rem; font-weight: 700; }
.how-stage { position: relative; }
.how-photo { aspect-ratio: 2.35 / 1; }
.how-photo img { object-position: 50% 52%; }
.route { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: -104px 40px 0; padding: 30px 8px 32px; list-style: none; border-radius: var(--r-card); background: var(--surface-raised); box-shadow: var(--lift-2); border: 1px solid var(--sl-line); }
.route::before { content: ""; position: absolute; top: 47px; left: 48px; right: 48px; height: 2px; border-radius: 2px; background: var(--sl-thread); }
.route li { position: relative; padding: 0 24px; }
.route li + li { border-left: 1px solid var(--sl-line); }
.node { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 5px var(--surface); color: var(--text); font-size: .875rem; font-weight: 760; font-variant-numeric: tabular-nums; }
.route h3 { margin-top: 18px; }
.route p { margin-top: 6px; color: var(--text-2); font-size: .9375rem; line-height: 1.5; }

/* ---------- CHECK YOUR PROJECT ---------- */
.fit, .project-fit-section { padding: var(--section) 0; background-color: var(--sl-mist); background-image: linear-gradient(rgba(8, 118, 219, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(8, 118, 219, .055) 1px, transparent 1px); background-size: 32px 32px; background-position: -1px -1px; }
.fit-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-radius: 32px; background: var(--surface-raised); border: 1px solid var(--sl-line); box-shadow: var(--lift-2); overflow: clip; }
.fit-photo { position: relative; min-height: 520px; margin: 12px; --fold: 64px; border-radius: 22px; }
.fit-photo img { position: absolute; inset: 0; object-position: 35% 50%; }
.fit-card[data-state="open"] .fit-photo { position: sticky; top: 92px; align-self: start; height: min(620px, calc(100svh - 120px)); min-height: 0; }
.fit-body { padding: clamp(32px, 4.4vw, 64px) clamp(28px, 4.4vw, 64px) clamp(28px, 3.6vw, 48px); min-width: 0; }
.fit-body h2 { max-width: 14ch; }
.fit-lead { margin-top: 18px; max-width: 46ch; color: var(--text-2); }
.fit-facts { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 22px 0 28px; padding: 0; list-style: none; color: var(--text); font-size: .875rem; font-weight: 650; }
.fit-facts li { display: inline-flex; align-items: center; }
.fit-facts li + li::before { content: ""; width: 4px; height: 4px; margin: 0 14px; border-radius: 50%; background: var(--sl-control); }

.question-preview-toggle { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 56px; padding: 0 20px 0 24px; border: 0; border-radius: var(--r-button); background: var(--accent); color: #fff; font-size: 1.0625rem; font-weight: 720; cursor: pointer; transition: background-color 160ms ease, border-radius 200ms ease; }
.question-preview-toggle:hover { background: var(--sl-blue-press); }
.question-preview-toggle svg { width: 20px; height: 20px; transition: transform 240ms var(--ease-out); }
.question-preview-toggle[aria-expanded="true"] { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--sl-control); }
.question-preview-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.question-deck { margin-top: 24px; }
.deck-inner { opacity: 0; transform: translateY(-8px); transition: opacity 240ms var(--ease-out), transform 280ms var(--ease-out); }
.question-deck.is-open .deck-inner { opacity: 1; transform: none; }

.deck-rail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding: 0; list-style: none; }
.rail-step { display: grid; gap: 6px; width: 100%; min-height: 64px; padding: 0 6px 6px 0; border: 0; background: none; text-align: left; cursor: pointer; border-radius: 8px; }
.rail-bar { display: block; height: 4px; border-radius: 4px; background: var(--sl-line); transition: background-color 200ms ease; }
.rail-label { display: flex; align-items: baseline; gap: 6px; color: var(--text-2); font-size: .8125rem; font-weight: 650; line-height: 1.25; }
.rail-num { font-variant-numeric: tabular-nums; color: var(--text-3); }
.rail-answer { overflow: hidden; color: var(--text-3); font-size: .75rem; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.rail-step.is-answered .rail-bar { background: var(--sl-thread); }
.rail-step.is-answered .rail-answer { color: var(--text); font-weight: 600; }
.rail-step[aria-current="step"] .rail-bar { background: var(--accent); box-shadow: 0 0 0 2px rgba(8, 118, 219, .18); }
.rail-step[aria-current="step"] .rail-label { color: var(--text); font-weight: 760; }
.rail-step:hover .rail-label { color: var(--accent); }

.deck-stage { margin-top: 26px; }
.deck-count { color: var(--text-3); font-size: .8125rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.deck-q { margin: 8px 0 0; padding: 0; border: 0; min-width: 0; }
.deck-q.is-entering { animation: qIn 260ms var(--ease-out); }
.deck-q.is-entering-back { animation: qInBack 260ms var(--ease-out); }
@keyframes qIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes qInBack { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.deck-q legend { padding: 0; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 760; letter-spacing: -.02em; line-height: 1.25; color: var(--text); }
.deck-q legend:focus { outline: none; }
.deck-q legend:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.choices { display: grid; gap: 10px; margin-top: 20px; }
.choice { position: relative; display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 12px 18px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--sl-line); color: var(--text); font-size: 1rem; line-height: 1.4; cursor: pointer; transition: box-shadow 160ms ease, background-color 160ms ease; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice .dot { position: relative; width: 22px; height: 22px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--sl-control); transition: box-shadow 160ms ease; }
.choice .dot::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform 180ms var(--ease-out); }
.choice:hover { box-shadow: inset 0 0 0 1.5px var(--sl-control); background: var(--sl-mist); }
.choice:has(input:checked) { box-shadow: inset 0 0 0 2px var(--accent); background: var(--sl-mist); font-weight: 650; }
.choice:has(input:checked) .dot { box-shadow: inset 0 0 0 2px var(--accent); }
.choice:has(input:checked) .dot::after { transform: scale(1); }
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.choice--unsure { margin-top: 6px; }

.deck-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--sl-line); }
.deck-end { margin-top: 6px; padding: 26px 26px 24px; border-radius: 18px; background: var(--sl-mist); box-shadow: inset 0 0 0 1px var(--sl-line); }
.deck-end:focus { outline: none; }
.deck-end h3 { font-size: 1.3125rem; letter-spacing: -.02em; }
.deck-end p { margin-top: 10px; color: var(--text-2); max-width: 56ch; }
.deck-end p strong { color: var(--text); }
.deck-end-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 20px; }

.fit-availability { position: relative; margin-top: 22px; padding-left: 16px; color: var(--text-2); font-size: .875rem; line-height: 1.5; }
.fit-availability::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px; border-radius: 3px; background: var(--sl-thread); }

/* ---------- ABOUT ---------- */
.about, .story-section.about-section { padding: var(--section) 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-photo { aspect-ratio: 1.12 / 1; }
.about-photo img { object-position: 58% 50%; }
.about-copy h2 { max-width: 12ch; }
.about-copy .lead { margin-top: 20px; color: var(--text-2); font-size: 1.125rem; }
.facts { margin-top: 32px; border-bottom: 1px solid var(--sl-line); }
.facts div { display: grid; grid-template-columns: 128px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--sl-line); }
.facts dt { color: var(--text); font-size: .875rem; font-weight: 760; line-height: 1.6; }
.facts dd { color: var(--text-2); font-size: 1rem; }
.note { margin-top: 18px; color: var(--text-3); font-size: .875rem; }

/* ---------- EARN ---------- */
.earn { position: relative; overflow: hidden; background: var(--sl-ice); }
.earn-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34%); mask-image: linear-gradient(90deg, transparent 0, #000 34%); }
.earn-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 40%; }
.earn-grid { position: relative; z-index: 1; padding-top: var(--section); padding-bottom: var(--section); }
.earn-copy { max-width: 540px; }
.earn-copy h2 { max-width: 13ch; }
.earn-headline { margin-top: 18px; font-size: clamp(1.25rem, 1.05rem + .6vw, 1.5rem); font-weight: 700; letter-spacing: -.015em; color: var(--text); }
.meter { margin-top: 26px; }
.meter-scale { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 8px; color: var(--text-3); font-size: .75rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.meter-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.seg { position: relative; display: grid; gap: 2px; padding: 16px 16px 14px; border-radius: 14px; background: var(--surface); box-shadow: var(--lift-1); overflow: hidden; }
.seg::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--sl-thread); background-size: 300% 100%; }
.seg:nth-child(1)::before { background-position: 0 0; }
.seg:nth-child(2)::before { background-position: 50% 0; }
.seg:nth-child(3)::before { background-position: 100% 0; }
.seg b { font-size: 1.625rem; font-weight: 780; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--text); line-height: 1.1; }
.seg small { color: var(--text-2); font-size: .8125rem; font-weight: 600; }
.terms { display: grid; gap: 10px; margin: 26px 0 30px; padding: 0; list-style: none; }
.terms li { position: relative; padding-left: 22px; color: var(--text); font-size: 1rem; line-height: 1.5; }
.terms li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 2px; border-radius: 2px; background: var(--accent); }

/* ---------- FINAL ---------- */
.final { padding: var(--section) 0; background: var(--surface); }
.final-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.final-copy h2 { max-width: 13ch; }
.final-copy p { margin: 18px 0 30px; max-width: 40ch; color: var(--text-2); font-size: 1.125rem; }
.final-steps { position: relative; display: grid; gap: 28px; padding: 32px 32px 32px 28px; list-style: none; border-radius: var(--r-card); background: var(--sl-mist); border: 1px solid var(--sl-line); }
.final-steps::before { content: ""; position: absolute; left: 44px; top: 50px; bottom: 50px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, #78cf25, #0876db); }
.final-steps li { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 18px; align-items: start; }
.final-steps .node { box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 5px var(--sl-mist); }
.final-steps p { margin-top: 4px; color: var(--text-2); font-size: .9375rem; }

/* ---------- FOOTER ---------- */
.site-footer { border-top: 1px solid var(--sl-line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 32px; padding-bottom: 40px; }
.brand--footer img { --logo-w: 132px; width: 132px; }
.site-footer p { color: var(--text-2); font-size: .9375rem; }
.site-footer a:not(.brand) { font-weight: 700; }

/* =================== RESPONSIVE =================== */
@media (max-width: 1180px) {
  .hero { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); }
  .signup-card { margin-right: -64px; }
  .story-bar { width: min(500px, calc(100% - 2 * var(--gutter) - 80px)); }
  .route { margin-inline: 20px; }
  .route li { padding: 0 18px; }
}

/* tablet: stack hero, keep photo cinematic */
@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "visual" "form"; grid-template-rows: auto; min-height: 0; padding: 0 var(--gutter); }
  .hero-copy { padding: 40px 0 28px; }
  .hero h1 { max-width: 13ch; }
  .hero-lead { max-width: 40ch; }
  .hero-visual { grid-row: auto; height: auto; margin: 0; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-photo-window { position: relative; inset: auto; aspect-ratio: 16 / 10; -webkit-mask-image: none; mask-image: none; border-radius: var(--r-photo); clip-path: polygon(0 0, calc(100% - var(--fold)) 0, 100% calc(var(--fold) * .62), 100% 100%, 0 100%); }
  .hero-slide { object-position: var(--pos-m, var(--pos, 50% 40%)); }
  .story-bar { position: relative; right: auto; bottom: auto; width: auto; margin: -56px 16px 0; }
  .signup-card { margin: 24px 0 64px; }
  .how-head { grid-template-columns: 1fr; gap: 20px; }
  .how-photo { aspect-ratio: 16 / 9; }
  .route { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; margin: -64px 16px 0; padding: 28px 4px; }
  .route::before { display: none; }
  .route li:nth-child(3) { border-left: 0; }
  .fit-card { grid-template-columns: 1fr; }
  .fit-photo { min-height: 0; aspect-ratio: 16 / 9; }
  .fit-photo img { position: absolute; }
  .fit-card[data-state="open"] .fit-photo { position: relative; top: auto; height: auto; aspect-ratio: 16 / 7; }
  .fit-body h2 { max-width: 18ch; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { aspect-ratio: 16 / 10; }
  .about-copy h2 { max-width: 16ch; }
  .earn-photo { position: relative; width: 100%; height: auto; aspect-ratio: 16 / 9; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
  .earn-grid { padding-top: 8px; }
  .earn-copy { max-width: 620px; }
  .final-grid { grid-template-columns: 1fr; }
}

/* phone */
@media (max-width: 640px) {
  :root { --fold: 44px; --r-photo: 22px; --r-card: 20px; }
  body { font-size: 1rem; }
  .concept-flag { text-align: left; }
  .header-inner { min-height: 64px; }
  html { scroll-padding-top: 80px; }
  .hero-copy { padding: 28px 0 22px; }
  .hero h1 { margin-top: 16px; font-size: clamp(2.25rem, 1.4rem + 4.4vw, 2.75rem); letter-spacing: -.04em; }
  .hero-lead { margin-top: 14px; }
  .status-chip { font-size: .75rem; }
  .hero-photo-window { aspect-ratio: 5 / 4; }
  .story-bar { margin: -28px 10px 0; padding: 14px 12px 10px 16px; gap: 10px; }
  .story-copy { grid-template-columns: 1fr; }
  .story-link { grid-column: 1; grid-row: auto; margin-top: 4px; }
  .story-controls { justify-content: space-between; gap: 0; padding-top: 10px; }
  .story-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .signup-card { padding: 24px 18px 20px; margin-bottom: 48px; }
  .thread { left: 18px; right: 18px; }
  .fields { grid-template-columns: 1fr; }
  .audience-option { font-size: .875rem; }
  .route { grid-template-columns: 1fr; margin: -40px 10px 0; padding: 24px 20px; row-gap: 22px; }
  .route li { display: grid; grid-template-columns: 34px 1fr; column-gap: 16px; padding: 0; }
  .route li + li { border-left: 0; }
  .route li .node { grid-row: 1 / span 2; }
  .route h3 { margin-top: 5px; }
  .route::before { display: block; top: 40px; bottom: 40px; left: 36px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, #78cf25, #0876db); }
  .fit-card { border-radius: 24px; }
  .fit-photo { margin: 8px; aspect-ratio: 4 / 3; border-radius: 18px; }
  .fit-card[data-state="open"] .fit-photo { aspect-ratio: 16 / 6; }
  .fit-body { padding: 22px 18px 24px; }
  .fit-facts { flex-direction: column; gap: 6px; }
  .fit-facts li::before, .fit-facts li + li::before { content: ""; width: 6px; height: 6px; margin: 0 10px 0 0; border-radius: 50%; background: var(--accent); }
  .question-preview-toggle { width: 100%; }
  .deck-rail { gap: 4px; }
  .rail-step { min-height: 44px; padding: 0 0 4px; }
  .rail-label { font-size: 0; gap: 0; }
  .rail-num { font-size: .8125rem; }
  .rail-answer { display: none; }
  .deck-stage { margin-top: 18px; }
  .choice { min-height: 56px; padding: 12px 14px; font-size: .9688rem; }
  .deck-nav .button { padding: 0 16px; }
  .deck-nav [data-deck-next] { flex: 1; }
  .deck-end { padding: 20px 18px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .meter-scale, .meter-track { gap: 4px; }
  .seg { padding: 14px 10px 12px; }
  .seg b { font-size: 1.375rem; }
  .final-steps { padding: 24px 20px; }
  .final-steps::before { left: 36px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .story-selector { width: 40px; }
  .story-selector span { width: 32px; height: 32px; }
}
@media (max-width: 360px) {
  .story-bar { margin: -20px 0 0; padding: 12px 12px 8px; }
  .story-selector { width: 34px; }
  .story-selector span { width: 28px; height: 28px; font-size: .8125rem; }
  .round-control { width: 40px; height: 40px; }
  .audience-option { font-size: .8125rem; }
}

/* =================== REDUCED MOTION =================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-slide { transform: none; }
  .deck-inner { opacity: 1; transform: none; }
}

/* Production hooks and server-rendered message states layered onto Folded Daylight. */
.section-eyebrow { margin-bottom: 12px; color: var(--text-3); font-size: .8125rem; font-weight: 760; letter-spacing: .09em; line-height: 1.35; text-transform: uppercase; }
.supplier-details { grid-column: 1 / -1; margin-top: 16px; padding: 16px; border: 1px solid var(--sl-line); border-radius: 16px; background: var(--sl-mist); }
.supplier-details summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; min-height: 44px; color: var(--text); font-weight: 740; cursor: pointer; }
.supplier-details summary::marker { color: var(--accent); }
.supplier-details summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.details-hint, .optional { color: var(--text-3); font-size: .8125rem; font-weight: 600; }
.supplier-fields { margin-top: 16px; }
.field-help { color: var(--text-2); font-size: .8125rem; line-height: 1.45; }
.consent { display: flex; align-items: flex-start; gap: 12px; margin: 18px 0; color: var(--text-2); font-size: .9063rem; line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.privacy-note { margin: 14px 0; color: var(--text-3); font-size: .8125rem; line-height: 1.5; }
.no-script-fields { display: grid; gap: 14px; margin: 18px 0; padding: 16px; border: 1px solid var(--sl-line); border-radius: 16px; background: var(--sl-mist); }
.no-script-fields > p { color: var(--text-2); font-size: .875rem; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.preview-note { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: var(--text-2); font-size: .875rem; line-height: 1.45; }
.preview-tag { flex: none; padding: 3px 9px; border-radius: 999px; background: var(--sl-ice); color: var(--text); font-size: .75rem; font-weight: 750; letter-spacing: .02em; }
.signup-submit { margin-top: 10px; }
.signup-status { margin-top: 8px; color: var(--text); font-size: .9375rem; font-weight: 650; line-height: 1.45; }
.signup-status:empty { display: none; }
.signup-status:focus { outline: none; }

/* Keep the reviewed checker renderer and result components styled independently from the draft preview deck. */
.fit-progress { margin-top: 14px; color: var(--text-3); font-size: .8125rem; font-weight: 650; }
.fit-navigation { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--sl-line); }
.fit-questions { margin-top: 16px; }
.fit-question { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.fit-question legend { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; color: var(--text); font-size: 1.125rem; font-weight: 740; line-height: 1.35; }
.fit-number { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--sl-ice); color: var(--text); font-size: .8125rem; }
.fit-options { display: grid; gap: 10px; }
.fit-option { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px; border: 1px solid var(--sl-line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.fit-option input { width: 20px; height: 20px; flex: none; accent-color: var(--accent); }
.fit-option:has(input:checked) { border-color: var(--accent); background: var(--sl-mist); }
.fit-note { margin-top: 12px; padding-left: 14px; border-left: 3px solid var(--accent); color: var(--text-2); font-size: .875rem; }
.fit-attach-consent { display: flex; gap: 10px; margin-top: 18px; color: var(--text-2); font-size: .875rem; }
.fit-attach-consent input { width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.fit-attach-guidance { margin: 8px 0 0 28px; color: var(--text-3); font-size: .8125rem; }
.fit-light { position: relative; width: min(100%, 420px); height: 54px; margin: 22px 0; }
.fit-light-bands { display: grid; grid-template-columns: repeat(3, 1fr); height: 14px; overflow: hidden; border-radius: 999px; }
.fit-light-bands span { overflow: hidden; color: transparent; }
.fit-light-bands span:nth-child(1) { background: #3b8e53; }
.fit-light-bands span:nth-child(2) { background: #e4aa37; }
.fit-light-bands span:nth-child(3) { background: #ba4c47; }
.fit-light-marker { position: absolute; top: 20px; left: 0; display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--text); color: #fff; font-size: .75rem; font-weight: 700; }
.fit-light[data-state="green"] .fit-light-marker { left: 0; }
.fit-light[data-state="amber"] .fit-light-marker { left: 50%; transform: translateX(-50%); }
.fit-light[data-state="red"] .fit-light-marker { left: auto; right: 0; }
.fit-result { margin-top: 20px; padding: 20px; border: 1px solid var(--sl-line); border-radius: 18px; background: var(--sl-mist); }
.fit-result[data-state="green"] { border-color: #5a9d6b; }
.fit-result[data-state="amber"] { border-color: #c28e29; }
.fit-result[data-state="red"] { border-color: #b54a43; }
.fit-result h3 { font-size: 1.25rem; }
.fit-result p { margin-top: 10px; color: var(--text-2); }
.fit-result .fit-result-caveat { color: var(--text-3); font-size: .8125rem; }

/* Folded Daylight preview deck uses the existing service's fit-option hooks. */
.question-preview-panel { margin-top: 24px; }
.question-preview-panel.is-open .deck-inner { opacity: 1; transform: none; }
.question-preview-choice { min-height: 58px; padding: 12px 18px; border: 0; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--sl-line); color: var(--text); font-size: 1rem; line-height: 1.4; transition: box-shadow 160ms ease, background-color 160ms ease; }
.question-preview-choice > input[type="radio"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.question-preview-choice > .dot { position: relative; width: 22px; height: 22px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--sl-control); transition: box-shadow 160ms ease; }
.question-preview-choice > .dot::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform 180ms var(--ease-out); }
.question-preview-choice:hover { background: var(--sl-mist); box-shadow: inset 0 0 0 1.5px var(--sl-control); }
.question-preview-choice:has(input:checked), .question-preview-choice.is-selected { background: var(--sl-mist); box-shadow: inset 0 0 0 2px var(--accent); font-weight: 650; }
.question-preview-choice:has(input:checked) > .dot, .question-preview-choice.is-selected > .dot { box-shadow: inset 0 0 0 2px var(--accent); }
.question-preview-choice:has(input:checked) > .dot::after, .question-preview-choice.is-selected > .dot::after { transform: scale(1); }
.question-preview-choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.button--secondary { background: var(--accent); color: #fff; }
.button--secondary:hover:not(:disabled) { background: var(--sl-blue-press); color: #fff; }

/* Server response pages keep the same type, palette and focus treatment. */
.message-page { min-height: 100vh; background: var(--sl-mist); }
.message-shell { width: min(100% - 2.4rem, 760px); margin: 0 auto; padding: 2rem 0 4rem; }
.message-shell > .brand img { width: 190px; }
.message-panel { margin-top: 2rem; padding: clamp(1.5rem, 5vw, 3rem); border-top: 4px solid var(--accent); border-radius: 0 0 20px 20px; background: var(--surface-raised); box-shadow: var(--lift-1); }
.message-panel h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.04em; line-height: 1.1; }
.message-panel > p { margin: 1rem 0 0; color: var(--text-2); font-size: 1.08rem; }
.message-back { display: inline-block; margin-top: 1.25rem; font-weight: 700; }
.message-panel .signup-card { margin: 24px 0 0; padding: 24px 0 0; border: 0; border-top: 1px solid var(--sl-line); border-radius: 0; box-shadow: none; }
.message-panel .thread { display: none; }

@media (max-width: 640px) {
  .supplier-details { padding: 12px; }
  .supplier-details summary { align-items: flex-start; }
  .message-shell { width: min(100% - 2rem, 760px); }
  .message-panel { padding: 1.25rem; }
}

/* Supplier enquiries use the same crossfading gallery, with their own selected story. */
@media (min-width: 981px) {
  .hero:has(.audience-switch[data-audience="supplier"]) .hero-visual {
    --supplier-photo-lead: clamp(640px, calc(100svh - 120px), 800px);
    align-self: stretch;
    height: auto;
    min-height: var(--supplier-photo-lead);
  }
  .hero:has(.audience-switch[data-audience="supplier"]) .hero-photo-window {
    inset: 0;
    height: auto;
  }
  .hero:has(.audience-switch[data-audience="supplier"]) .story-bar {
    top: auto;
    bottom: 28px;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .hero:has(.audience-switch[data-audience="supplier"]) .signup-card { margin-right: 0; }
}

@media (max-width: 980px) {
  .hero:has(.audience-switch[data-audience="supplier"]) .hero-photo-window { display: block; }
  .hero:has(.audience-switch[data-audience="supplier"]) .story-bar { display: grid; }
}

/* =================== 2026-10-16 refinements ===================
   Bug fixes from the rendered-page audit, plus the "Changing the building game forever" treatment.
   Everything below layers on the tokens above; no new colours, fonts or runtimes. */

/* Hero: one engineered peak. The link thread draws once under "forever." (static under reduced motion). */
.hero h1 { max-width: 11.5ch; }
.title-accent { position: relative; display: inline-block; max-width: 100%; white-space: normal; text-wrap: balance; }
.title-accent::after { content: ""; position: absolute; left: .02em; right: .2em; bottom: -.04em; height: .1em; border-radius: .1em; background: var(--sl-thread); transform-origin: left center; animation: threadDraw 900ms 300ms var(--ease-out) both; }
@keyframes threadDraw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-kicker { margin-top: 26px; max-width: 24ch; color: var(--text); font-size: clamp(1.25rem, 1.05rem + .7vw, 1.625rem); font-weight: 720; letter-spacing: -.02em; line-height: 1.25; text-wrap: balance; }
.hero-kicker + .hero-lead { margin-top: 10px; }

/* Desktop construction-company view: let the photo run the full height of the hero so no dead white block sits beside the form. */
@media (min-width: 981px) {
  .hero:not(:has(.audience-switch[data-audience="supplier"])) .hero-visual { align-self: stretch; height: auto; min-height: clamp(640px, calc(100svh - 120px), 800px); }
}

/* Manifesto band: the ambition, stated plainly, with the real audiences from the signup form. */
.manifesto { padding: clamp(72px, 8vw, 128px) 0 clamp(40px, 5vw, 72px); background: var(--surface); }
.manifesto-grid { display: grid; gap: clamp(32px, 4vw, 56px); }
.manifesto-text { max-width: 28ch; color: var(--text); font-size: clamp(1.625rem, 1rem + 2.4vw, 3rem); font-weight: 740; letter-spacing: -.035em; line-height: 1.1; }
.manifesto-lead { color: var(--sl-muted); }
.manifesto-roles { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px 28px; padding-top: 24px; border-top: 1px solid var(--sl-line); }
.roles-label { flex: none; color: var(--text-3); font-size: .8125rem; font-weight: 760; letter-spacing: .09em; text-transform: uppercase; }
.role-list { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 0; padding: 0; list-style: none; }
.role-list li { display: inline-flex; align-items: center; color: var(--text); font-size: clamp(1rem, .95rem + .25vw, 1.1875rem); font-weight: 680; letter-spacing: -.01em; }
.role-list li + li::before { content: ""; width: 6px; height: 6px; margin: 0 14px; border-radius: 50%; background: var(--sl-thread); }
.how { padding-top: clamp(56px, 6vw, 96px); }

/* Checker toggle: show that it expands (drawn in CSS so the tested button markup stays unchanged). */
.question-preview-toggle::after { content: ""; width: 8px; height: 8px; margin: -4px 2px 0 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 240ms var(--ease-out), margin 240ms var(--ease-out); }
.question-preview-toggle[aria-expanded="true"]::after { margin-top: 4px; transform: rotate(-135deg); }

/* Earn: spacing between the reward tiles and the rule; short tile labels that never wrap; full-bleed photo keeps square outer corners. */
.earn-photo { border-radius: 0; }
.meter { margin-top: 24px; }
.seg small { white-space: nowrap; }
.earn-rule { margin-top: 20px; color: var(--text); }
.earn-copy .terms { margin-top: 14px; }

/* Final: the eyebrow was inheriting the lead paragraph's size and margins. */
.final-copy .section-eyebrow { margin: 0 0 12px; max-width: none; color: var(--text-3); font-size: .8125rem; }
.final-copy .final-lead { margin: 18px 0 30px; }
/* Final steps: connect node to node instead of running past the last one. */
.final-steps::before { display: none; }
.final-steps li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 40px; bottom: -22px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, #78cf25, #0876db); }

@media (max-width: 980px) {
  .role-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 20px; width: 100%; }
  .role-list li::before, .role-list li + li::before { content: ""; flex: none; width: 6px; height: 6px; margin: 0 10px 0 0; border-radius: 50%; background: var(--sl-thread); }
}
@media (max-width: 640px) {
  .role-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-kicker { margin-top: 18px; }
  .manifesto-text { max-width: none; }
  .manifesto-roles { flex-direction: column; gap: 10px; }
}
@media (max-width: 420px) {
  .audience-option { padding: 6px 4px; font-size: .8125rem; letter-spacing: -.01em; }
}

/* Hero opens directly on the headline now that the status chip is removed. */
.hero h1 { margin-top: 0; }

/* =================== 2026-10-16 (evening): motion + project-manager flow =================== */

/* Hero entrance: one orchestrated moment on load. */
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes photoIn { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
.hero h1 { animation: riseIn 800ms 60ms var(--ease-out) both; }
.hero-kicker { animation: riseIn 700ms 220ms var(--ease-out) both; }
.hero-lead, .hero-fine { animation: riseIn 700ms 320ms var(--ease-out) both; }
.hero .signup-card { animation: riseIn 800ms 420ms var(--ease-out) both; }
.hero-photo-window { animation: photoIn 1200ms 100ms var(--ease-out) both; }
.story-bar { animation: riseIn 700ms 600ms var(--ease-out) both; }

/* Scroll reveals: only once JS confirms motion is welcome, so nothing is ever hidden without it. */
.motion-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); }
.motion-ready .reveal.is-in { opacity: 1; transform: none; }
.motion-ready .route::before { transform: scaleX(0); transform-origin: left; transition: transform 1200ms 250ms var(--ease-out); }
.motion-ready .how-stage.is-in .route::before { transform: scaleX(1); }
.manifesto-roles { position: relative; }
.manifesto-roles::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: var(--sl-thread); transform-origin: left; }
.motion-ready .manifesto-roles::before { transform: scaleX(0); transition: transform 1400ms 200ms var(--ease-out); }
.motion-ready .manifesto-roles.is-in::before { transform: scaleX(1); }

/* Primary buttons: a single light sweep on hover (fine pointers only). */
.button--primary, .nav-join { position: relative; overflow: hidden; isolation: isolate; }
@media (hover: hover) and (pointer: fine) {
  .button--primary::after, .nav-join::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform 700ms var(--ease-out); }
  .button--primary:hover::after, .nav-join:hover::after { transform: translateX(120%); }
}

/* ---------- PROJECT MANAGERS ---------- */
.pm { position: relative; padding: var(--section) 0; background-color: var(--sl-ice); background-image: radial-gradient(rgba(8, 118, 219, .12) 1px, transparent 1.2px); background-size: 22px 22px; overflow: hidden; }
.pm-head { max-width: 760px; }
.pm-head h2 { max-width: 16ch; }
.pm-lead { margin-top: 18px; max-width: 54ch; color: var(--text); font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.55; }
.pm-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: 48px; }
.pm-steps { position: relative; display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pm-step { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 18px; padding: 16px 18px; border-radius: 18px; transition: background-color 400ms var(--ease-out), box-shadow 400ms var(--ease-out); }
.pm-step:not(:last-child)::after { content: ""; position: absolute; left: 34px; top: 54px; bottom: -12px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, #78cf25, #0876db); opacity: .5; }
.pm-step h3 { font-size: 1.0625rem; }
.pm-step p { margin-top: 4px; color: var(--text-2); font-size: .9688rem; line-height: 1.5; }
.pm-step .node { transition: background-color 300ms ease, color 300ms ease, box-shadow 300ms ease; }
.pm-step.is-active { background: var(--surface); box-shadow: var(--lift-1); }
.pm-step.is-active .node { background: var(--accent); color: #fff; box-shadow: 0 0 0 5px rgba(8, 118, 219, .16); }

.pm-flow { margin: 0; }
.pm-card { position: relative; padding: 24px 24px 22px; border-radius: 28px; background: var(--surface); border: 1px solid var(--sl-line); box-shadow: var(--lift-2); }
.pm-card::before { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--sl-thread); }
.pm-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-bottom: 16px; border-bottom: 1px solid var(--sl-line); }
.pm-card-title { font-size: 1.0625rem; font-weight: 760; letter-spacing: -.01em; }
.pm-stage { display: grid; gap: 3px; }
.pm-stage b { font-size: 1.75rem; line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pm-stage small { color: var(--text-3); font-size: .75rem; }
.pm-trades-total { display: flex; justify-content: space-between; gap: 12px; padding: 0 4px 12px; color: var(--text-2); font-size: .875rem; }
.pm-manager { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; padding: 14px 16px; border: 1px solid #b9e38f; border-radius: 14px; background: #f2f9ea; }
.pm-manager span { display: block; color: #315321; font-size: .875rem; font-weight: 700; }
.pm-manager small { display: block; margin-top: 4px; color: var(--text-2); font-size: .75rem; }
.pm-manager b { flex-shrink: 0; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.pm-status { padding: 5px 12px; border-radius: 999px; background: var(--sl-mist); box-shadow: inset 0 0 0 1px var(--sl-line); color: var(--text-2); font-size: .8125rem; font-weight: 700; transition: background-color 400ms ease, color 400ms ease, box-shadow 400ms ease; }
.pm-flow.is-returned .pm-status { background: #eaf8dc; box-shadow: inset 0 0 0 1px #9fd86a; color: #2f5d0c; }
.pm-rows { display: grid; gap: 8px; margin: 16px 0; padding: 0; list-style: none; }
.pm-row { display: grid; grid-template-columns: 1fr auto 32px; align-items: center; gap: 14px; min-height: 54px; padding: 8px 10px 8px 16px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--sl-line); transition: background-color 400ms var(--ease-out), box-shadow 400ms var(--ease-out); }
.pm-trade { font-weight: 650; }
.pm-amount { font-weight: 760; font-variant-numeric: tabular-nums; }
.pm-edit-hint { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--sl-blue-press); font-size: .8125rem; font-weight: 700; }
.pm-edit-hint svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.pm-edit-hint + .pm-rows { margin-top: 10px; }
.pm-trade { cursor: text; }
.pm-amount--edit { display: inline-flex; align-items: center; gap: 2px; padding: 0 10px; min-height: 40px; border-radius: 10px; background: var(--sl-white); box-shadow: inset 0 0 0 1.5px var(--sl-control); cursor: text; transition: box-shadow 150ms ease; }
.pm-amount--edit:focus-within { box-shadow: inset 0 0 0 2px var(--sl-blue), 0 0 0 3px rgba(8, 118, 219, .18); }
.pm-amount--edit > span { color: var(--text-2); font-weight: 700; }
.pm-amount-input { width: 7.5ch; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--text); font: inherit; font-weight: 760; font-variant-numeric: tabular-nums; text-align: right; outline: none; }
.pm-amount-input[aria-invalid="true"] { color: #b3261e; }
.pm-amount--edit:has([aria-invalid="true"]) { box-shadow: inset 0 0 0 2px #b3261e; }
.pm-error { margin: -6px 0 14px; color: #b3261e; font-size: .8125rem; font-weight: 700; }
.pm-locked { display: inline-flex; align-items: center; gap: 6px; }
.pm-locked svg { width: 14px; height: 14px; flex-shrink: 0; fill: none; stroke: var(--text-3); stroke-width: 1.8; }
.pm-card-foot { display: flex; justify-content: flex-end; }
.pm-reset { margin-top: 6px; padding: 6px 4px; border: 0; background: none; color: var(--sl-blue-press); font: inherit; font-size: .8125rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pm-reset:focus-visible { outline: 2px solid var(--sl-blue); outline-offset: 2px; border-radius: 4px; }
.pm-check { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--sl-control); transition: background-color 300ms ease, box-shadow 300ms ease; }
.pm-check svg { width: 16px; height: 16px; stroke: #fff; stroke-width: 2.6; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset 400ms 120ms var(--ease-out); }
.pm-row.is-confirmed { background: var(--sl-mist); box-shadow: inset 0 0 0 1.5px #b9e38f; }
.pm-row.is-confirmed .pm-check { background: #4fae16; box-shadow: none; }
.pm-row.is-confirmed .pm-check svg { stroke-dashoffset: 0; }
.pm-total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 16px 4px; border-top: 1px dashed var(--sl-line); }
.pm-total span { color: var(--text-2); font-weight: 650; }
.pm-total-note { display: block; margin-top: 3px; color: var(--text-3); font-size: .75rem; font-weight: 400; }
.pm-total b { font-size: 1.75rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pm-send { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 14px; border-radius: var(--r-button); background: var(--sl-mist); color: var(--text-3); font-weight: 720; box-shadow: inset 0 0 0 1.5px var(--sl-line); transition: background-color 500ms var(--ease-out), color 500ms ease, box-shadow 500ms ease, transform 500ms var(--ease-out); }
.pm-flow.is-complete .pm-send { background: var(--action); color: var(--text); box-shadow: 0 10px 22px -14px rgba(74, 140, 10, .9); transform: translateY(-2px); }
.pm-flow figcaption { margin-top: 12px; color: var(--text-3); font-size: .8125rem; text-align: right; }
.pm-why { position: relative; max-width: 860px; margin-top: 48px; padding: 24px 28px 24px 32px; border-radius: 20px; background: var(--surface); box-shadow: var(--lift-1); }
.pm-why::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--sl-thread); }
.pm-why h3 { font-size: 1.125rem; }
.pm-why p { margin-top: 8px; color: var(--text); line-height: 1.6; }

@media (max-width: 980px) {
  .pm-grid { grid-template-columns: 1fr; }
  .pm-flow { order: -1; }
}
@media (max-width: 640px) {
  .pm-card { padding: 20px 16px 18px; border-radius: 22px; }
  .pm-row { padding-left: 12px; gap: 10px; }
  .pm-total b { font-size: 1.5rem; }
  .pm-step { padding: 14px 10px; gap: 14px; }
  .pm-step:not(:last-child)::after { left: 26px; }
  .pm-why { padding: 20px 18px 20px 24px; }
}

/* Desktop nav: tighten gaps between 981 and 1180px. */
@media (min-width: 981px) and (max-width: 1180px) {
  .desktop-nav { gap: 16px; }
  .desktop-nav a { font-size: .875rem; }
}

/* =================== 2026-10-16 (comments round) =================== */

/* White tick boxes when unticked; brand blue with a white tick when ticked. */
.consent input[type="checkbox"], .fit-attach-consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; display: inline-grid; place-items: center;
  width: 22px; height: 22px; margin: 1px 0 0; border-radius: 6px; background: #ffffff;
  box-shadow: inset 0 0 0 2px var(--sl-control); cursor: pointer; transition: background-color 160ms ease, box-shadow 160ms ease;
}
.consent input[type="checkbox"]::after, .fit-attach-consent input[type="checkbox"]::after {
  content: ""; width: 6px; height: 11px; margin-top: -2px; border-right: 2.5px solid #ffffff; border-bottom: 2.5px solid #ffffff; transform: rotate(45deg) scale(0); transition: transform 160ms var(--ease-out);
}
.consent input[type="checkbox"]:checked, .fit-attach-consent input[type="checkbox"]:checked { background: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.consent input[type="checkbox"]:checked::after, .fit-attach-consent input[type="checkbox"]:checked::after { transform: rotate(45deg) scale(1); }
.consent input[type="checkbox"]:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.consent input[type="checkbox"]:disabled { background: #ffffff; opacity: .55; cursor: not-allowed; }

/* Founder story band. */
.manifesto-grid { gap: 22px; }
.manifesto .section-eyebrow { margin: 0; }
.manifesto-text { max-width: 22ch; }
.manifesto-story { max-width: 62ch; color: var(--text-2); font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem); line-height: 1.55; }
.manifesto-roles { margin-top: 18px; }

/* How it works now carries the project-manager flow. */
.how.pm { padding: var(--section) 0; }
.how.pm .how-head { margin-bottom: 0; }
.how.pm .how-head h2 { max-width: 15ch; }
.how-intro .pm-lead { margin-top: 0; color: var(--text); font-size: 1.125rem; }
.how-note { color: var(--text-3); font-size: .875rem; }

/* Savings estimate. */
.project-estimate { margin-top: 20px; padding: 22px; border-radius: 18px; background: #ffffff; box-shadow: inset 0 0 0 1px var(--sl-line), var(--lift-1); }
.project-estimate-intro h4 { margin-top: 5px; font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem); line-height: 1.35; }
.project-estimate-intro > p:last-child { margin-top: 8px; color: var(--text-2); line-height: 1.55; }
.est-inputs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.est-field { display: grid; align-content: start; gap: 7px; min-width: 0; }
.est-field label { color: var(--text); font-size: .8125rem; font-weight: 650; line-height: 1.4; }
.est-field input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--sl-line); border-radius: 11px; background: #ffffff; color: var(--text); font: inherit; font-variant-numeric: tabular-nums; }
.est-field input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.est-field input[aria-invalid="true"] { border-color: #b54a43; box-shadow: inset 0 0 0 1px #b54a43; }
.est-input-hint { margin-top: 9px; color: var(--text-3); font-size: .8125rem; line-height: 1.5; }
.est-error { margin-top: 10px; padding: 10px 12px; border-left: 3px solid #b54a43; color: #8e302b; background: #fff5f4; font-size: .875rem; }
.est-error:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.est-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.est-result { margin-top: 18px; }
.est-result h5 { margin-top: 6px; font-size: 1.125rem; line-height: 1.4; }
.est-evidence { margin-top: 16px; }
.est-result { padding: 28px 28px 24px; background: #ffffff; box-shadow: inset 0 0 0 1px var(--sl-line), var(--lift-1); }
.est-fit { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #e6f7d6; box-shadow: inset 0 0 0 1.5px #93d35a; color: #2e5c0c; font-size: .8125rem; font-weight: 760; }
.est-fit::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4fae16; }
.est-result h3 { margin-top: 14px; font-size: clamp(1.25rem, 1.05rem + .6vw, 1.5rem); line-height: 1.3; letter-spacing: -.02em; }
.est-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0 0; }
.project-estimate .est-figures { grid-template-columns: minmax(0, 1fr); }
.project-estimate .est-figures > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-width: 0; box-sizing: border-box; }
.est-figures div { padding: 14px 16px; border-radius: 14px; background: var(--sl-mist); box-shadow: inset 0 0 0 1px var(--sl-line); }
.est-figures div:first-child { background: #eef7ff; box-shadow: inset 0 0 0 1.5px #9cc8f0; }
.est-figures dt { color: var(--text-2); font-size: .8125rem; font-weight: 650; line-height: 1.35; }
.project-estimate .est-figures dt { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.est-figures dd { margin: 6px 0 0; color: var(--text); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.project-estimate .est-figures dd { flex: 0 0 auto; margin: 0; font-size: clamp(.9375rem, 2.8vw, 1.125rem); white-space: nowrap; text-align: right; }
.est-bar { position: relative; height: 18px; margin: 22px 0 30px; border-radius: 999px; background: var(--sl-mist); box-shadow: inset 0 0 0 1px var(--sl-line); }
.est-bar-mine, .est-bar-direct { position: absolute; top: 0; bottom: 0; border-radius: 999px; transition: width 700ms var(--ease-out), left 700ms var(--ease-out); }
.est-bar-mine { left: 0; background: var(--accent); }
.est-bar-direct { background: repeating-linear-gradient(135deg, #b9e38f 0 6px, #e6f7d6 6px 12px); }
.est-threshold { position: absolute; top: -6px; bottom: -6px; width: 2px; background: var(--text); }
.est-threshold i { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); color: var(--text); font-size: .75rem; font-style: normal; font-weight: 700; white-space: nowrap; }
.est-line { margin-top: 10px; color: var(--text); line-height: 1.55; }
.est-evidence { margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: var(--sl-mist); box-shadow: inset 0 0 0 1px var(--sl-line); }
.est-evidence-title { color: var(--text-3); font-size: .75rem; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.est-evidence ul { display: grid; gap: 6px; margin: 8px 0 0; padding-left: 18px; color: var(--text-2); font-size: .875rem; }
.est-evidence li span { color: var(--text-3); }
.est-caveat { margin-top: 10px; color: var(--text-3); font-size: .8125rem; line-height: 1.5; }
.est-result .deck-end-actions .button--primary { min-height: 52px; }
@media (max-width: 640px) {
  .project-estimate { padding: 18px 14px; }
  .est-inputs { grid-template-columns: 1fr; }
  .est-result { padding: 20px 16px; }
  .est-figures { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero-kicker, .hero-lead, .hero-fine, .hero .signup-card, .hero-photo-window, .story-bar { animation: none !important; }
  .pm-check svg { stroke-dashoffset: 0; }
}

/* ── 17 Oct: Everyone wins + explainer video ── */
.wins { margin-top: 40px; }
.wins-title { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.wins-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.win { position: relative; padding: 22px 20px 20px; border: 1px solid var(--sl-line); border-radius: 20px; background: var(--surface); overflow: hidden; }
.win::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--sl-thread); }
.win b { display: block; font-size: 1.0625rem; color: var(--text); }
.win p { margin-top: 6px; color: var(--sl-body); line-height: 1.55; font-size: .9375rem; }
@media (max-width: 980px) { .wins-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .wins-list { grid-template-columns: 1fr; } }

.est-wins { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--sl-ice); color: var(--text); line-height: 1.55; }
.est-wins b { color: var(--sl-blue-press); }

.video-section { padding: var(--section) 0; background: var(--sl-mist); }
.video-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.video-copy .lead { margin-top: 16px; }
.video-frame { margin: 0; }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--r-photo); background: var(--sl-ice); box-shadow: 0 1px 2px rgba(38,52,60,.06), 0 18px 48px -18px rgba(8,118,219,.28); }
.video-frame figcaption { margin-top: 12px; color: var(--sl-muted); font-size: .875rem; }
@media (max-width: 980px) { .video-grid { grid-template-columns: 1fr; } }

/* ── Confirmation / preference action screens (routes.js fallbackActionPage) ── */
.action-panel { position: relative; }
.action-state { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 12px 6px 10px; border: 1px solid var(--sl-line); border-radius: 999px; background: var(--sl-mist); color: var(--text); font-size: .875rem; font-weight: 700; line-height: 1.2; }
.action-dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--sl-control); }
.action-panel.is-pending .action-dot { background: transparent; border: 2px solid var(--sl-blue); }
.action-panel.is-next .action-dot { background: var(--sl-blue); }
.action-panel.is-done { border-top-color: var(--sl-green); }
.action-panel.is-done .action-state { border-color: #a9dc77; background: #f1fae8; }
.action-panel.is-done .action-dot { background: var(--sl-green-press); }
.action-panel.is-failed { border-top-color: #b3261e; }
.action-panel.is-failed .action-state { border-color: #e6b7b3; background: #fdf3f2; color: #8c1d18; }
.action-panel.is-failed .action-dot { background: #b3261e; }
.action-form { margin-top: 24px; }
.action-form .button { min-width: 220px; }
.action-note { margin: 12px 0 0; color: var(--sl-muted); font-size: .9375rem; }
@media (max-width: 520px) { .action-form .button { width: 100%; min-width: 0; } }

/* ── 17 Oct (2): step numbers light up on hover, matching the animated active state ── */
@media (hover: hover) {
  .pm-step { cursor: default; }
  .pm-step:hover { background: var(--surface); box-shadow: var(--lift-1); }
  .pm-step:hover .node { background: var(--accent); color: #fff; box-shadow: 0 0 0 5px rgba(8, 118, 219, .16); }
}

/* ── Brand wordmark in copy: logo colours, deepened slightly for legible text ── */
.wordmark { white-space: nowrap; font-weight: inherit; }
.wordmark-settle { color: #468a0e; }
.wordmark-link { color: #2f6fe4; }

/* ── 17 Oct (2): live turnover estimator, restyled to match the page ── */
.deck-end .project-estimate p { max-width: none; }
.project-estimate { margin-top: 22px; padding: clamp(18px, 3vw, 28px); border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--sl-line), 0 1px 2px rgba(38,52,60,.05), 0 24px 48px -28px rgba(8,92,170,.35); }
.project-estimate .est-head h4 { margin-top: 10px; font-size: clamp(1.25rem, 1.05rem + .7vw, 1.625rem); line-height: 1.25; letter-spacing: -.025em; }
.project-estimate .est-tag { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 5px 12px; border-radius: 999px; background: var(--sl-ice); color: var(--sl-blue-press); font-size: .8125rem; font-weight: 720; }
.project-estimate .est-tag span { width: 7px; height: 7px; border-radius: 50%; background: var(--sl-thread); }

.project-estimate .est-result { margin-top: 18px; padding: 0; background: none; box-shadow: none; transition: opacity 200ms ease; }
.project-estimate .est-result.is-invalid { opacity: .35; }
.est-compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: stretch; }
.est-figure { display: grid; align-content: space-between; gap: 10px; min-width: 0; padding: 16px 18px; border-radius: 18px; background: var(--sl-mist); box-shadow: inset 0 0 0 1px var(--sl-line); }
.est-figure span { color: var(--text-2); font-size: .8125rem; font-weight: 650; line-height: 1.35; }
.est-figure b { color: var(--text); font-size: clamp(1.375rem, 1rem + 1.4vw, 2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.est-figure.is-with { background: linear-gradient(180deg, #f2f8ff, #e8f3fd); box-shadow: inset 0 0 0 1.5px #9cc8f0; }
.est-figure.is-with b { color: var(--sl-blue-press); }
.est-drop { display: grid; align-content: center; justify-items: center; gap: 4px; min-width: 132px; padding: 14px 16px; border-radius: 18px; background: #f1fae8; box-shadow: inset 0 0 0 1.5px #a9dc77; text-align: center; }
.est-drop b { color: #3a7d0c; font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.est-drop span { color: #3a7d0c; font-size: .8125rem; font-weight: 700; }

.est-split { display: flex; height: 14px; margin-top: 18px; overflow: hidden; border-radius: 999px; background: var(--sl-mist); box-shadow: inset 0 0 0 1px var(--sl-line); }
.est-split i { display: block; height: 100%; transition: flex-basis 500ms var(--ease-out); }
.est-split .is-labour { flex: 0 0 var(--labour); background: var(--sl-blue); }
.est-split .is-materials { flex: 0 0 var(--materials); background: var(--sl-green); }
.est-split .is-yours { flex: 0 0 var(--yours); background: repeating-linear-gradient(135deg, #c9d8e1 0 5px, #e3edf3 5px 10px); }
.est-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.est-legend li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; align-items: center; gap: 8px; color: var(--text-2); font-size: .8125rem; line-height: 1.35; }
.est-legend i { width: 12px; height: 12px; border-radius: 4px; }
.est-legend .is-labour { background: var(--sl-blue); }
.est-legend .is-materials { background: var(--sl-green); }
.est-legend .is-yours { background: repeating-linear-gradient(135deg, #c9d8e1 0 3px, #e3edf3 3px 6px); box-shadow: inset 0 0 0 1px #c9d8e1; }
.est-legend b { color: var(--text); font-size: .9375rem; font-variant-numeric: tabular-nums; }
.deck-end .project-estimate .est-client { margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: var(--sl-ice); color: var(--text); font-size: .9375rem; line-height: 1.5; }
.est-client b { color: var(--sl-blue-press); }

.project-estimate .est-inputs { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--sl-line); }
.est-money { position: relative; }
.est-money span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-2); font-weight: 700; pointer-events: none; }
.project-estimate .est-money input { padding-left: 30px; border-color: var(--sl-control); font-weight: 650; }
.project-estimate .est-money input:hover { border-color: var(--text-2); }
.project-estimate .est-actions { margin-top: 12px; }
.est-how { margin-top: 16px; border-radius: 14px; background: var(--sl-mist); box-shadow: inset 0 0 0 1px var(--sl-line); }
.est-how summary { padding: 12px 16px; color: var(--text); font-size: .875rem; font-weight: 700; cursor: pointer; }
.est-how summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 14px; }
.est-how ul { display: grid; gap: 6px; margin: 0; padding: 0 18px 16px 34px; color: var(--text-2); font-size: .8438rem; line-height: 1.5; }

@media (max-width: 760px) {
  .est-compare { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .est-drop { grid-column: 1 / -1; grid-auto-flow: column; justify-content: center; gap: 10px; min-width: 0; }
  .est-legend { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
@media (max-width: 420px) { .est-compare { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .est-split i, .project-estimate .est-result { transition: none; } }

/* ── Reviews strip above the footer ── */
.reviews { padding: clamp(64px, 8vw, 112px) 0; overflow: hidden; background: linear-gradient(180deg, #fff, var(--sl-mist)); }
.reviews-title { max-width: 22ch; font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); letter-spacing: -.035em; line-height: 1.08; }
.reviews-note { margin-top: 10px; color: #8c1d18; font-size: .875rem; font-weight: 700; }
.reviews-viewport { margin-top: 32px; padding: 6px var(--gutter) 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.reviews-viewport:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.reviews-track { display: flex; gap: 18px; width: max-content; margin: 0; padding: 0; list-style: none; will-change: transform; }
.review { width: min(360px, 78vw); scroll-snap-align: start; }
.review figure { display: grid; height: 100%; margin: 0; padding: 24px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--sl-line), var(--lift-1); }
.review blockquote { margin: 0; }
.review blockquote p { position: relative; color: var(--text); font-size: 1.0625rem; line-height: 1.55; }
.review blockquote p::before { content: "“"; display: block; height: 28px; color: var(--sl-blue); font-size: 3rem; font-weight: 800; line-height: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; margin-top: 20px; align-self: end; }
.review-photo { width: 48px; height: 48px; flex: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--sl-ice-deep); }
.review-photo.is-initials { display: grid; place-items: center; background: var(--sl-thread); color: #fff; font-size: .9375rem; font-weight: 800; }
.review figcaption b { display: block; color: var(--text); font-size: .9688rem; }
.review figcaption small { display: block; color: var(--sl-muted); font-size: .8125rem; }
.review.is-placeholder figure { background: repeating-linear-gradient(135deg, #fff 0 14px, var(--sl-mist) 14px 28px); box-shadow: inset 0 0 0 2px var(--sl-line); }
.review.is-placeholder blockquote p { color: var(--text-2); font-style: italic; }
.reviews.is-sliding .reviews-viewport { overflow: visible; scroll-snap-type: none; }

/* The hero photo's entrance scale briefly overhung the viewport, adding a sideways scrollbar. */
.hero { overflow-x: clip; }
@media (max-width: 760px) { .est-drop { align-items: baseline; } }

/* Estimate figures: lay out by the estimator's own width (the question deck is
   much narrower than the viewport beside its rail) and never break a number. */
.project-estimate { container-type: inline-size; }
.est-figure b, .est-drop b { overflow-wrap: normal; white-space: nowrap; }
.est-figure b { font-size: clamp(1.25rem, 6.4cqi, 2rem); }
.est-drop b { font-size: clamp(1.125rem, 5.4cqi, 1.625rem); }
@container (max-width: 640px) {
  .est-compare { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .est-drop { grid-column: 1 / -1; grid-auto-flow: column; justify-content: center; align-items: baseline; gap: 10px; min-width: 0; }
  .est-figure b { font-size: clamp(1.25rem, 8.5cqi, 2rem); }
  .est-legend { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .project-estimate .est-inputs { grid-template-columns: minmax(0, 1fr); }
}
@container (max-width: 340px) {
  .est-compare { grid-template-columns: minmax(0, 1fr); }
  .est-figure b { font-size: clamp(1.25rem, 11cqi, 2rem); }
}
.est-figure b[data-long] { font-size: clamp(1.0625rem, 5.6cqi, 1.625rem); }
.est-drop b[data-long] { font-size: clamp(1.0625rem, 4.6cqi, 1.5rem); }

/* Amount boxes: one row of three when there's room, with every input on the same
   line however many lines its label takes (subgrid shares the label row height). */
.project-estimate .est-inputs { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; row-gap: 14px; }
.project-estimate .est-field { grid-template-rows: auto auto; }
@container (min-width: 440px) {
  .project-estimate .est-inputs { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: 12px; row-gap: 7px; }
  .project-estimate .est-field { grid-row: span 2; grid-template-rows: subgrid; gap: 0; }
  .project-estimate .est-field label { align-self: end; padding-bottom: 7px; }
}

/* ── Reviews (17 Oct, round 4): manual slider + one-time staggered entrance ── */
.reviews { overflow: visible; }
.reviews .reviews-roles { margin: 0 0 32px; padding-top: 22px; }
.reviews-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px 24px; }
.reviews-head .reviews-note { grid-column: 1; }
.reviews-nav { display: flex; gap: 10px; grid-column: 2; grid-row: 1; }
.reviews-nav[hidden] { display: none; }
.reviews-nav .round-control:disabled { opacity: .35; cursor: default; }
.reviews .reviews-viewport { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; padding: 8px var(--gutter) 24px; }
.reviews .reviews-viewport::-webkit-scrollbar { display: none; }
.reviews .reviews-track { will-change: auto; transform: none !important; }
.reviews .review { width: min(380px, 82vw); }
.review figure { transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out); }
@media (hover: hover) { .review figure:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px #b9d6ea, 0 1px 2px rgba(38,52,60,.06), 0 22px 40px -22px rgba(8,92,170,.4); } }
.review-photo { width: 52px; height: 52px; }
.motion-ready .review.reveal { opacity: 0; transform: translateX(28px); transition: opacity 600ms var(--ease-out) var(--stagger, 0ms), transform 700ms var(--ease-out) var(--stagger, 0ms); }
.motion-ready .review.reveal.is-in { opacity: 1; transform: none; }
@media (max-width: 560px) { .reviews-head { grid-template-columns: minmax(0, 1fr); } .reviews-nav { grid-column: 1; grid-row: auto; } }
@media (prefers-reduced-motion: reduce) { .review figure { transition: none; } }

/* ── 17 Oct (round 5) ── */
/* "How this is worked out": chevron that turns as the panel opens */
.est-how summary { display: flex; align-items: center; gap: 10px; list-style: none; }
.est-how summary::-webkit-details-marker { display: none; }
.est-how summary::before { content: ""; width: 8px; height: 8px; flex: none; border-right: 2px solid var(--sl-blue); border-bottom: 2px solid var(--sl-blue); transform: rotate(-45deg); transition: transform 280ms var(--ease-out); }
.est-how[open] summary::before { transform: rotate(45deg) translate(-2px, -2px); }
.est-how summary:hover { color: var(--sl-blue-press); }

/* Buttons at the end of the questions: gentle lift, colour shift and press */
.deck-end-actions .button, .est-actions .button { position: relative; transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), background-color 220ms ease, color 220ms ease; }
@media (hover: hover) {
  .deck-end-actions .button:hover, .est-actions .button:hover { transform: translateY(-2px); }
  .deck-end-actions .button--quiet:hover, .est-actions .button--quiet:hover { background: #fff; color: var(--sl-blue-press); box-shadow: inset 0 0 0 1.5px var(--sl-blue), 0 10px 22px -14px rgba(8, 92, 170, .55); }
  .deck-end-actions .button--primary:hover { box-shadow: 0 12px 24px -14px rgba(74, 150, 16, .75); }
}
.deck-end-actions .button:active, .est-actions .button:active { transform: translateY(0) scale(.97); transition-duration: 90ms; }
.deck-end-actions .button:focus-visible, .est-actions .button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
/* the end-of-questions buttons settle in one after another when the results appear */
.motion-ready .deck-end:not([hidden]) .deck-end-actions > * { animation: endButtonIn 420ms var(--ease-out) backwards; }
.motion-ready .deck-end:not([hidden]) .deck-end-actions > :nth-child(2) { animation-delay: 70ms; }
.motion-ready .deck-end:not([hidden]) .deck-end-actions > :nth-child(3) { animation-delay: 140ms; }
@keyframes endButtonIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .deck-end-actions .button, .est-actions .button, .est-how summary::before { transition: none; }
  .motion-ready .deck-end:not([hidden]) .deck-end-actions > * { animation: none; }
}

/* ── 17 Oct (round 6): landing-page principles ── */
/* 1. Above the fold: outcome headline, benefit sub-headline, two kinds of proof */
.hero-tagline { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--sl-ice); color: var(--sl-blue-press); font-size: .8125rem; font-weight: 740; letter-spacing: .01em; animation: riseIn 600ms 0ms var(--ease-out) both; }
.hero-tagline::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sl-thread); }
.hero h1 { max-width: 14ch; font-size: clamp(2.25rem, 1rem + 2.9vw, 3.6rem); line-height: 1.02; }
.hero-kicker { max-width: 36ch; margin-top: 18px; color: var(--text-2); font-size: clamp(1.0625rem, .98rem + .35vw, 1.25rem); font-weight: 520; letter-spacing: -.005em; line-height: 1.5; }
.hl { padding: .02em .06em; border-radius: .25em; background: linear-gradient(180deg, transparent 8%, #e2f4cf 8%, #e2f4cf 92%, transparent 92%); color: var(--text); font-weight: 680; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero-proof { display: grid; gap: 10px; margin-top: 20px; max-width: 46ch; animation: riseIn 700ms 320ms var(--ease-out) both; }
.hero-reviews { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--sl-line), var(--lift-1); color: var(--text); text-decoration: none; transition: box-shadow 200ms ease, transform 200ms var(--ease-out); }
.hero-reviews:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px #9cc8f0, 0 12px 24px -16px rgba(8,92,170,.5); }
.hero-reviews:focus-visible, .hero-built:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.hero-faces { display: flex; flex: none; }
.hero-faces img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff; }
.hero-faces img + img { margin-left: -10px; }
.hero-proof-text { display: grid; gap: 2px; min-width: 0; font-size: .8438rem; line-height: 1.4; }
.hero-proof-text q { color: var(--text); font-weight: 600; quotes: "“" "”"; }
.hero-proof-name { color: var(--sl-muted); }
.hero-proof-link { color: var(--sl-blue-press); font-weight: 700; }
.hero-built { display: inline-flex; align-items: center; gap: 8px; justify-self: start; color: var(--text); font-size: .8438rem; font-weight: 650; text-decoration: none; }
.hero-built span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #e2f4cf; color: #3a7d0c; font-size: .75rem; font-weight: 900; }
.hero-built:hover { color: var(--sl-blue-press); }
.hero-fine { margin-top: 14px; }

/* 2. Problem → agitate → solve */
.problem { padding: var(--section) 0; background: var(--sl-mist); }
.problem-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.problem-copy h2 { max-width: 20ch; margin-top: 10px; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); letter-spacing: -.035em; line-height: 1.08; }
.problem-list { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.problem-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.problem-list p { color: var(--text-2); font-size: 1.0313rem; line-height: 1.55; }
.problem-list strong { color: var(--text); }
.problem-mark { position: relative; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: #fdf3f2; box-shadow: inset 0 0 0 1.5px #e6b7b3; }
.problem-mark::before, .problem-mark::after { content: ""; position: absolute; left: 6px; top: 10px; width: 10px; height: 2px; border-radius: 2px; background: #b3261e; transform: rotate(45deg); }
.problem-mark::after { transform: rotate(-45deg); }
.problem-list-title { margin-top: 28px; color: #b3261e; font-size: .9375rem; font-weight: 800; letter-spacing: -.005em; line-height: 1.35; }
.problem-list-title + .problem-list { margin-top: 14px; }
.problem-list-title.is-positive { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--sl-line); color: #2f7d0e; }
.problem-mark--good { background: #f0f9e6; box-shadow: inset 0 0 0 1.5px #a9da78; }
.problem-mark--good::before, .problem-mark--good::after { content: none; }
.problem-mark--good::before { content: ""; left: 50%; top: 50%; width: 5px; height: 9px; border-radius: 0; background: none; border: solid #2f7d0e; border-width: 0 2.2px 2.2px 0; transform: translate(-50%, -62%) rotate(45deg); }
.problem-agitate { margin-top: 22px; padding-left: 14px; border-left: 3px solid #b3261e; color: var(--text); font-size: 1.0625rem; font-weight: 700; line-height: 1.5; }
.problem-solve { position: relative; padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--sl-line), 0 30px 60px -36px rgba(8,92,170,.45); overflow: hidden; }
.problem-solve::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--sl-thread); }
.problem-solve h3 { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.625rem); letter-spacing: -.025em; line-height: 1.25; }
.problem-solve p { margin-top: 12px; color: var(--text-2); font-size: 1.0313rem; line-height: 1.6; }
.problem-solve .button { margin-top: 22px; }
@media (max-width: 980px) { .problem-grid { grid-template-columns: minmax(0, 1fr); } }

/* 3. Scannable "why" panel */
.pm-why strong { color: var(--text); }

/* 4. Reviews answer a specific doubt */
.review-topic { margin: 0 0 12px; color: var(--sl-blue-press); font-size: .8125rem; font-weight: 760; letter-spacing: .02em; text-transform: uppercase; }
.review blockquote p::before { height: 22px; font-size: 2.5rem; }

@media (prefers-reduced-motion: reduce) { .hero-tagline, .hero-proof { animation: none !important; } .hero-reviews { transition: none; } }

/* Optional, consent-first heatmap panel. Rendered only for a configured public project. */
.analytics-consent-panel { position: fixed; right: 20px; bottom: 20px; z-index: 100; width: min(420px, calc(100vw - 40px)); padding: 16px; border: 1px solid var(--sl-line); border-radius: 18px; background: var(--surface); color: var(--text); box-shadow: 0 12px 40px rgb(28 55 65 / 14%); }
.analytics-consent-panel:not([open]) { width: auto; }
.analytics-consent-panel summary { cursor: pointer; font-weight: 700; }
.analytics-consent-panel p { margin: 12px 0; font-size: .875rem; line-height: 1.5; }
.analytics-consent-panel .deck-end-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.analytics-consent-panel .button { min-height: 42px; padding: 10px 14px; font-size: .875rem; }

/* ════════════════════════════════════════════════════════════════════════
   v13 art direction — Claude UI review, 18 Oct 2026 (UI-only layer)
   Theme: "the link" — a single precise blue→green thread drawn through a
   light blueprint. Hairlines and measured spacing instead of glowing cards.
   ════════════════════════════════════════════════════════════════════════ */
:root {
  --bp-line: rgba(8, 118, 219, .07);          /* blueprint grid hairline */
  --bp-line-strong: rgba(8, 118, 219, .16);
  --thread-w: .09em;                           /* headline underline weight */
  --space-section: clamp(72px, 8vw, 128px);
}

/* Crop positions formerly in blocked inline styles (CSP style-src 'self'). */
.hero-slide[data-slide-index="0"] { --pos: 62% 40%; --pos-m: 58% 30%; }
.hero-slide[data-slide-index="1"] { --pos: 55% 45%; --pos-m: 50% 40%; }
.hero-slide[data-slide-index="2"] { --pos: 60% 50%; --pos-m: 62% 50%; }
.hero-slide[data-slide-index="3"] { --pos: 48% 40%; --pos-m: 50% 35%; }
.hero-slide[data-slide-index="4"] { --pos: 52% 40%; --pos-m: 50% 35%; }
.hero-slide[data-slide-index="5"] { --pos: 50% 38%; --pos-m: 50% 22%; }
.est-split { --labour: 40%; --materials: 30%; --yours: 30%; }

/* ── 1. Headline underline: drawn on the inline words, so every wrapped line
   gets its own underline that ends exactly where its text ends. ── */
.hero h1 .title-accent {
  display: inline; position: static; max-width: none; white-space: normal;
  padding-bottom: .02em;
  background-image: var(--sl-thread);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% var(--thread-w);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  animation: threadWords 900ms 320ms var(--ease-out) both;
}
.hero h1 .title-accent::after { content: none; display: none; }
@keyframes threadWords { from { background-size: 0% var(--thread-w); } to { background-size: 100% var(--thread-w); } }

/* ── 2. Hero copy: outcome, benefit, adjacent condition, audiences ── */
.hero-tagline { background: #fff; box-shadow: inset 0 0 0 1px var(--bp-line-strong); }
.hero-kicker { max-width: 34ch; margin-top: 18px; color: var(--text); font-size: clamp(1.0625rem, .98rem + .4vw, 1.3125rem); font-weight: 560; letter-spacing: -.01em; line-height: 1.45; text-wrap: pretty; }
.hero-kicker .hl { font-weight: 760; }
.hero-condition { position: relative; max-width: 46ch; margin-top: 12px; padding-left: 14px; color: var(--text-2); font-size: .875rem; line-height: 1.55; animation: riseIn 700ms 280ms var(--ease-out) both; }
.hero-condition::before { content: ""; position: absolute; left: 0; top: .3em; bottom: .3em; width: 2px; border-radius: 2px; background: var(--sl-thread); }
.hero-audiences { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 18px; animation: riseIn 700ms 340ms var(--ease-out) both; }
.hero-audiences-label { color: var(--text-3); font-size: .75rem; font-weight: 760; letter-spacing: .09em; text-transform: uppercase; }
.hero-audiences ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.hero-audiences a { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--sl-line); color: var(--text); font-size: .8438rem; font-weight: 650; text-decoration: none; transition: box-shadow 180ms ease, color 180ms ease, transform 180ms var(--ease-out); }
.hero-audiences a:hover { color: var(--sl-blue-press); box-shadow: inset 0 0 0 1.5px var(--accent); transform: translateY(-1px); }
.hero-audiences a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.hero-proof { margin-top: 16px; }

/* ── 3. Signup audience switch: labels never crowd their pill ── */
.audience-option span { padding: 0 4px; overflow-wrap: anywhere; }
@media (max-width: 420px) { .audience-option { font-size: .875rem; padding: 6px 4px; letter-spacing: -.01em; } }
@media (max-width: 340px) { .audience-option { font-size: .8125rem; } }

/* ── 5. Who it's for: editorial index, not a card grid ── */
.who { padding: var(--space-section) 0; background:
    linear-gradient(90deg, var(--bp-line) 1px, transparent 1px) 0 0 / 96px 100%, #fff; }
.who-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 12px 48px; align-items: end; }
.who-intro .section-eyebrow { grid-column: 1 / -1; margin: 0; }
.who-intro h2 { max-width: 18ch; font-size: clamp(1.875rem, 1.2rem + 2.3vw, 3rem); letter-spacing: -.04em; line-height: 1.04; }
.who-lead { color: var(--text-2); font-size: 1rem; line-height: 1.55; }
.who-list { margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--sl-line); counter-reset: who; }
.who-row { position: relative; display: grid; grid-template-columns: 64px minmax(0, 4fr) minmax(0, 6fr) auto; gap: 8px 32px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--sl-line); scroll-margin-top: 110px; }
.who-row::before { content: ""; position: absolute; left: 0; bottom: -1px; width: 0; height: 2px; background: var(--sl-thread); transition: width 700ms var(--ease-out); }
.who-row:hover::before, .who-row:focus-within::before, .who-row:target::before { width: 100%; }
.who-index { color: var(--sl-blue); font-size: .875rem; font-weight: 800; letter-spacing: .04em; font-variant-numeric: tabular-nums; padding-top: 4px; }
.who-tag { margin: 0 0 6px; color: var(--text-3); font-size: .75rem; font-weight: 760; letter-spacing: .09em; text-transform: uppercase; }
.who-head h3 { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.5rem); letter-spacing: -.025em; line-height: 1.2; }
.who-hook { color: var(--text); font-size: 1rem; line-height: 1.55; }
.who-boundary { margin-top: 8px; color: var(--sl-muted); font-size: .8438rem; line-height: 1.5; }
.who-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; color: var(--sl-blue-press); font-size: .9375rem; font-weight: 740; text-decoration: none; white-space: nowrap; }
.who-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--ease-out); }
.who-cta:hover svg { transform: translateX(3px); }
.who-cta:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
@media (max-width: 980px) {
  .who-intro { grid-template-columns: minmax(0, 1fr); }
  .who-row { grid-template-columns: 44px minmax(0, 1fr); gap: 6px 16px; }
  .who-body, .who-cta { grid-column: 2; }
  .who-cta { justify-self: start; }
}
.motion-ready .who-row.reveal { transition-delay: calc(var(--stagger-i, 0) * 80ms); }

/* ── 6. Problem → solution: tighter, blueprint backdrop ── */
.problem { background:
    linear-gradient(var(--bp-line) 1px, transparent 1px) 0 0 / 100% 32px,
    linear-gradient(90deg, var(--bp-line) 1px, transparent 1px) 0 0 / 32px 100%,
    var(--sl-mist); }
.problem-solve { box-shadow: inset 0 0 0 1px var(--sl-line), 0 24px 48px -36px rgba(8,92,170,.4); }

/* ── 7. Confirmation & withdrawal screens (routes.js action markup) ── */
.message-page { background: linear-gradient(180deg, #fff 0, #fff 96px, var(--sl-mist) 96px); }
.message-shell > .brand { display: inline-block; padding: 6px 0; }
.action-panel h1 { text-wrap: balance; }
.action-panel > p + p { margin-top: .6rem; }
.action-form .button { min-height: 52px; }
@media (max-width: 520px) { .message-page { background: linear-gradient(180deg, #fff 0, #fff 84px, var(--sl-mist) 84px); } .message-panel h1 { font-size: clamp(1.75rem, 8vw, 2.25rem); } }

@media (prefers-reduced-motion: reduce) {
  .hero h1 .title-accent { animation: none; background-size: 100% var(--thread-w); }
  .hero-condition, .hero-audiences { animation: none !important; }
  .who-row::before { transition: none; }
}
@media print { .motion-ready .reveal { opacity: 1 !important; transform: none !important; } }
/* Logo optical offset never pushes the image past the page edge on narrow screens. */
.brand img { margin-left: max(calc(var(--logo-w) * -0.1422), calc(var(--gutter) * -1)); }
/* who rows: fixed action column so text columns align on every row */
@media (min-width: 981px) {
  .who-row { grid-template-columns: 64px minmax(0, 4fr) minmax(0, 6fr) 210px; }
  .who-cta { justify-self: end; }
}
/* Action screens: white page so the logo PNG never shows as a box; ice frames the panel instead. */
.message-page, .message-page.action-page { background: #fff; }
@media (max-width: 520px) { .message-page { background: #fff; } }
.message-panel { box-shadow: inset 0 0 0 1px var(--sl-line), 0 18px 40px -30px rgba(8, 92, 170, .35); background: linear-gradient(180deg, #fff, var(--sl-mist)); }
/* Audience switch: one line per label down to 341px. */
@media (max-width: 420px) { .audience-option { min-width: 0; font-size: .8125rem; padding: 6px 2px; } .audience-option span { white-space: normal; overflow-wrap: normal; text-wrap: balance; padding: 0; } }
@media (max-width: 340px) { .audience-option span { white-space: normal; } }
.action-panel .action-state + h1 { margin-top: 6px; }

/* ════ v13.1 — reviews restored (owner direction, 18 Oct 2026) ════ */
/* Hero snippet: faces + quote + link to the reviews, beside "Built by builders". */
.hero-proof { display: grid; gap: 10px; margin-top: 18px; max-width: 46ch; animation: riseIn 700ms 380ms var(--ease-out) both; }
.hero-reviews { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--sl-line), var(--lift-1); color: var(--text); text-decoration: none; transition: box-shadow 220ms ease, transform 220ms var(--ease-out); }
.hero-reviews:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px #9cc8f0, 0 14px 28px -18px rgba(8,92,170,.55); }
.hero-reviews:focus-visible, .hero-built:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.hero-faces { display: flex; flex: none; }
.hero-faces img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff; animation: faceIn 520ms var(--ease-out) both; }
.hero-faces img + img { margin-left: -10px; }
.hero-faces img:nth-child(1) { animation-delay: 520ms; } .hero-faces img:nth-child(2) { animation-delay: 600ms; }
.hero-faces img:nth-child(3) { animation-delay: 680ms; } .hero-faces img:nth-child(4) { animation-delay: 760ms; }
@keyframes faceIn { from { opacity: 0; transform: translateX(-6px) scale(.7); } to { opacity: 1; transform: none; } }
.hero-proof-text { display: grid; gap: 2px; min-width: 0; font-size: .8438rem; line-height: 1.4; }
.hero-proof-text q { color: var(--text); font-weight: 600; quotes: "“" "”"; }
.hero-proof-name { color: var(--sl-muted); }
.hero-proof-link { color: var(--sl-blue-press); font-weight: 700; }
.hero-proof-link::after { content: " →"; display: inline-block; transition: transform 200ms var(--ease-out); }
.hero-reviews:hover .hero-proof-link::after { transform: translateX(3px); }
.hero-built { display: inline-flex; align-items: center; gap: 8px; justify-self: start; color: var(--text); font-size: .8438rem; font-weight: 650; text-decoration: none; }
.hero-built span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #e2f4cf; color: #3a7d0c; font-size: .75rem; font-weight: 900; }
.hero-built:hover { color: var(--sl-blue-press); }

/* Bottom reviews strip: blueprint backdrop, thread under the heading, one-time staggered entrance. */
.reviews { scroll-margin-top: 96px; background:
    linear-gradient(90deg, var(--bp-line) 1px, transparent 1px) 0 0 / 96px 100%,
    linear-gradient(180deg, #fff, var(--sl-mist)); }
.reviews-title { position: relative; padding-bottom: 14px; }
.reviews-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 120px; height: 3px; border-radius: 3px; background: var(--sl-thread); transform-origin: left; }
.motion-ready .reviews-title.reveal::after { transform: scaleX(0); transition: transform 900ms 250ms var(--ease-out); }
.motion-ready .reviews-title.reveal.is-in::after { transform: scaleX(1); }
.review-topic { margin: 0 0 12px; color: var(--sl-blue-press); font-size: .75rem; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
.review figure { position: relative; overflow: hidden; }
.review figure::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--sl-thread); transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--ease-out); }
.review:hover figure::before, .review:focus-within figure::before { transform: scaleX(1); }
.motion-ready .review.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out) var(--stagger, 0ms), transform 700ms var(--ease-out) var(--stagger, 0ms); }
.motion-ready .review.reveal.is-in { opacity: 1; transform: none; }
.reviews > .reviews-note { margin-top: 4px; color: var(--sl-muted); font-size: .8125rem; }
@media (prefers-reduced-motion: reduce) {
  .hero-proof, .hero-faces img { animation: none !important; }
  .review figure, .review figure::before, .hero-reviews, .hero-proof-link::after { transition: none !important; }
}
/* Review cards: topic and quote sit together at the top; reviewer stays at the bottom. */
.review figure { display: flex; flex-direction: column; }
.review figcaption { margin-top: auto; padding-top: 20px; }
.review blockquote p::before { height: 24px; }
.review figcaption { align-self: flex-start; }

/* ── Earn: how to start earning + existing-account shortcut ── */
.earn-start { margin-top: 4px; padding: 22px 22px 24px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--sl-line), var(--lift-1); }
.earn-start h3 { font-size: 1.125rem; letter-spacing: -.015em; }
.earn-steps { display: grid; gap: 10px; margin: 14px 0 20px; padding: 0; list-style: none; }
.earn-steps li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; }
.earn-steps p { color: var(--text-2); font-size: .9688rem; line-height: 1.5; }
.earn-steps strong { color: var(--text); }
.earn-step-num { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sl-ice); color: var(--sl-blue-press); font-size: .8125rem; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ── Check your project: two-question VAT comparison ── */
.vat-check { margin-top: 26px; }
.vat-questions { display: grid; gap: 22px; }
.vat-q { display: grid; gap: 8px; min-width: 0; }
.vat-q-label { display: flex; align-items: flex-start; gap: 12px; color: var(--text); font-size: 1.0625rem; font-weight: 740; line-height: 1.35; }
.vat-q-help { margin-left: 40px; color: var(--text-3); font-size: .8125rem; line-height: 1.45; }
.vat-q-input { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; margin-left: 40px; }
.vat-range { width: 100%; min-width: 0; height: 28px; accent-color: var(--accent); cursor: pointer; }
.vat-pct, .vat-money { display: inline-flex; align-items: center; gap: 2px; min-height: 48px; padding: 0 12px; border: 1px solid var(--sl-control); border-radius: 11px; background: #ffffff; font-weight: 760; }
.vat-pct:focus-within, .vat-money:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.vat-pct input, .vat-money input { min-width: 0; padding: 0; border: 0; background: transparent; color: var(--text); font: inherit; font-variant-numeric: tabular-nums; outline: none; }
.vat-pct input { width: 3.2ch; text-align: right; }
.vat-pct > span, .vat-money > span { color: var(--text-2); }
.vat-pct:has([aria-invalid="true"]), .vat-money:has([aria-invalid="true"]) { border-color: #b54a43; box-shadow: inset 0 0 0 1px #b54a43; }
.vat-yours { margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: var(--sl-mist); box-shadow: inset 0 0 0 1px var(--sl-line); color: var(--text-2); font-size: .9375rem; }
.vat-yours b { color: var(--text); font-variant-numeric: tabular-nums; }
.vat-value { display: grid; gap: 7px; margin-top: 18px; max-width: 280px; }
.vat-value label { color: var(--text); font-size: .8125rem; font-weight: 650; }
.vat-money input { width: 100%; }
.vat-result { display: grid; gap: 14px; margin-top: 22px; padding: 22px; border-radius: 20px; background: #ffffff; box-shadow: inset 0 0 0 1px var(--sl-line), var(--lift-1); transition: opacity 200ms ease; }
.vat-result.is-invalid { opacity: .45; }
.vat-row-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.vat-row-title { color: var(--text); font-weight: 740; }
.vat-row-vat { color: var(--text-2); font-size: .9375rem; }
.vat-row-vat b { color: var(--text); font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.vat-bar { height: 12px; margin-top: 8px; border-radius: 999px; background: var(--sl-mist); box-shadow: inset 0 0 0 1px var(--sl-line); overflow: hidden; }
.vat-bar i { display: block; width: var(--w, 100%); height: 100%; border-radius: inherit; transition: width 400ms var(--ease-out); }
.is-contractor .vat-bar i { --w: 100%; background: #d4675f; }
.is-manager .vat-bar i { --w: 30%; background: #4fae16; }
.vat-row-note { margin-top: 6px; color: var(--text-2); font-size: .8125rem; line-height: 1.45; }
.vat-row-note b { color: var(--text); font-variant-numeric: tabular-nums; }
.vat-saving { display: grid; gap: 2px; padding: 16px 18px; border-radius: 14px; background: #f0f9e6; box-shadow: inset 0 0 0 1.5px #a9da78; }
.vat-saving span { color: #2f5d0c; font-size: .875rem; font-weight: 700; }
.vat-saving b { color: var(--text); font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.vat-saving small { color: var(--text-2); font-size: .8125rem; }
.vat-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.vat-note { margin-top: 16px; color: var(--text-3); font-size: .8125rem; line-height: 1.5; }
@media (max-width: 560px) {
  .vat-q-help, .vat-q-input { margin-left: 0; }
  .vat-result { padding: 18px 16px; }
}
@media (prefers-reduced-motion: reduce) { .vat-bar i, .vat-result { transition: none; } }
.pm-manager small span { display: inline; margin: 0; color: inherit; font-size: inherit; font-weight: 700; }

/* ════════════════════════════════════════════════════════════════════════
   2026-10 refresh: performance fixes + sleeker surfaces and motion.
   Visual only; no copy changes. Remove this block to roll back.
   ════════════════════════════════════════════════════════════════════════ */

/* ── P1. Entrance animations release their GPU layers once they finish.
   "both" kept every hero element promoted for the life of the page. ── */
.hero h1, .hero-kicker, .hero-lead, .hero-fine, .hero .signup-card, .hero-photo-window, .story-bar,
.hero-tagline, .hero-proof, .hero-condition, .hero-audiences, .hero-faces img { animation-fill-mode: backwards; }
.hero h1 .title-accent { animation-fill-mode: backwards; }

/* ── P2. No live blur behind the photo caption (expensive on phones). ── */
.story-bar { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; border: 1px solid var(--sl-line); box-shadow: var(--lift-1); }

/* ── P3. Flat section grounds: no tiled grid or dot textures to paint. ── */
:root {
  --lift-1: 0 1px 2px rgba(16, 40, 56, .05), 0 6px 14px -8px rgba(16, 40, 56, .14);
  --lift-2: 0 1px 2px rgba(16, 40, 56, .05), 0 18px 36px -22px rgba(8, 60, 120, .32);
  --r-card: 20px;
  --r-button: 12px;
  --edge: linear-gradient(135deg, rgba(120, 207, 37, .7), rgba(209, 223, 231, .95) 30%, rgba(209, 223, 231, .95) 70%, rgba(8, 118, 219, .7));
}
.problem { background: var(--sl-mist); }
.who { background: #fff; }
.how.pm, .pm { background: #f3f8fc; background-image: none; }
.project-fit-section { background: #fff; background-image: none; }
.reviews { background: var(--sl-mist); }

/* ── D1. Hero: a quiet brand aurora behind the copy (static, painted once). ── */
.hero { background:
    radial-gradient(55% 45% at 0% 0%, rgba(120, 207, 37, .11), transparent 70%),
    radial-gradient(45% 40% at 30% 100%, rgba(8, 118, 219, .08), transparent 70%),
    #fff; }

/* ── D2. Cards: one crisp edge treatment. A hairline that runs green to blue
   replaces the mix of thick top strips and deep soft shadows. ── */
.signup-card, .pm-card, .fit-card, .problem-solve, .vat-result, .earn-start, .pm-why {
  border: 1px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--edge) border-box;
  box-shadow: var(--lift-2);
}
.pm-why, .earn-start, .vat-result { box-shadow: var(--lift-1); }
.signup-card > .thread, .pm-card::before, .problem-solve::before, .pm-why::before { display: none; }
.pm-why { padding-left: 28px; }

/* ── D3. Header: lighter, with a thread hairline once you scroll. ── */
.site-header { background: rgba(255, 255, 255, .96); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--sl-thread); opacity: 0; transition: opacity 240ms ease; }
.site-header.is-scrolled { border-bottom-color: transparent; box-shadow: 0 8px 24px -20px rgba(8, 60, 120, .45); }
.site-header.is-scrolled::after { opacity: .9; }

/* ── D4. Section labels: a short thread dash that draws in with the section. ── */
.section-eyebrow::before { content: ""; display: inline-block; width: 18px; height: 2px; margin-right: 10px; border-radius: 2px; vertical-align: .3em; background: var(--sl-thread); transform-origin: left center; }
.motion-ready .reveal .section-eyebrow::before { transform: scaleX(0); transition: transform 700ms 180ms var(--ease-out); }
.motion-ready .reveal.is-in .section-eyebrow::before { transform: scaleX(1); }

/* ── D5. Buttons: tighter, with a small lift and arrow nudge on hover. ── */
.button { letter-spacing: -.005em; }
.button--blue { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 8px 18px -12px rgba(8, 92, 170, .8); }
@media (hover: hover) and (pointer: fine) {
  .button:not(:disabled):hover { transform: translateY(-1px); }
  .button:not(:disabled):hover svg { transform: translateX(3px); }
  .button:not(:disabled):active { transform: translateY(0) scale(.985); }
}

/* ── D6. "Who it's for": a thread marker slides in on the row you point at. ── */
.who-row { position: relative; }
.who-row::before { content: ""; position: absolute; left: -16px; top: 22px; bottom: 22px; width: 2px; border-radius: 2px; background: var(--sl-thread); transform: scaleY(0); transform-origin: top; transition: transform 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .who-row:hover::before, .who-row:focus-within::before { transform: scaleY(1); }
  .who-row:hover .who-cta svg { transform: translateX(3px); }
}
.who-cta svg { transition: transform 180ms var(--ease-out); }
@media (max-width: 760px) { .who-row::before { display: none; } }

/* ── D7. Reveals: shorter travel, quicker settle, staggered lists. ── */
.motion-ready .reveal { transform: translateY(14px); transition: opacity 560ms var(--ease-out), transform 640ms var(--ease-out); }
.motion-ready .stagger-item.reveal { transition-delay: calc(var(--stagger-i, 0) * 70ms); }
.motion-ready .problem-list li.reveal .problem-mark { transform: scale(.55); opacity: 0; transition: transform 420ms var(--ease-out), opacity 300ms ease; transition-delay: calc(var(--stagger-i, 0) * 70ms + 160ms); }
.motion-ready .problem-list li.reveal.is-in .problem-mark { transform: none; opacity: 1; }

/* ── D8. Hero photo controls fit at phone width. ── */
@media (max-width: 560px) {
  .story-controls { flex-wrap: wrap; row-gap: 6px; }
  .story-selector { width: 30px; }
  .story-selector span { width: 28px; height: 28px; font-size: .8125rem; }
  .story-controls .round-control { width: 40px; height: 40px; }
  .story-status { flex-basis: 100%; text-align: right; }
}

/* ── D9. Tighter vertical rhythm on phones (page was ~17 screens long). ── */
@media (max-width: 640px) {
  :root { --section: 64px; --space-section: 64px; }
  .manifesto { padding: 56px 0 32px; }
  .reviews { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .section-eyebrow::before, .who-row::before, .problem-mark { transform: none !important; opacity: 1 !important; transition: none !important; }
}

/* ── P4. The hero photo and headline are visible from the first frame (they
   are the largest paint); they settle with motion only, no fade from zero. ── */
@keyframes photoSettle { from { transform: scale(1.035); } to { transform: none; } }
@keyframes headSettle { from { transform: translateY(10px); } to { transform: none; } }
.hero-photo-window { animation: photoSettle 1200ms 0ms var(--ease-out) backwards; }
.hero h1 { animation: headSettle 700ms 0ms var(--ease-out) backwards; }
.hero-kicker { animation: headSettle 700ms 80ms var(--ease-out) backwards; }
@media (prefers-reduced-motion: reduce) { .hero-photo-window, .hero h1, .hero-kicker { animation: none !important; } }

/* ════════════════════════════════════════════════════════════════════════
   Opening logo animation (≈1.2s, once per session, skippable).
   The mark lands first, then the name unfolds beside it as the payment
   thread draws underneath; the overlay then lifts away. Pure CSS: shown only
   when intro.js adds .intro-play before first paint.
   ════════════════════════════════════════════════════════════════════════ */
.intro { display: none; }
.intro-play .intro {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background:
    radial-gradient(50% 40% at 30% 35%, rgba(120, 207, 37, .10), transparent 70%),
    radial-gradient(45% 40% at 70% 65%, rgba(8, 118, 219, .09), transparent 70%),
    #fff;
  animation: introOut 1250ms var(--ease-io) forwards;
  cursor: pointer;
}
.intro-logo { position: relative; width: min(340px, 64vw); animation: introLift 1250ms var(--ease-io) forwards; }
.intro-logo img { display: block; width: 100%; height: auto; animation: introMark 900ms var(--ease-out) both; }
.intro-thread { position: absolute; left: 37%; right: 11%; bottom: 2%; height: 3px; border-radius: 3px; background: var(--sl-thread); transform: scaleX(0); transform-origin: left center; animation: introThread 520ms 430ms var(--ease-out) forwards; }
.intro.is-skipping { animation: none; opacity: 0; transition: opacity 160ms ease; }
@keyframes introMark {
  0%   { opacity: 0; transform: translateX(27%) scale(.82); clip-path: inset(0 66% 0 12%); }
  32%  { opacity: 1; transform: translateX(27%) scale(1); clip-path: inset(0 66% 0 12%); }
  100% { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}
@keyframes introThread { to { transform: scaleX(1); } }
@keyframes introLift { 0%, 74% { transform: none; } 100% { transform: translateY(-12px) scale(.97); } }
@keyframes introOut { 0%, 74% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; } }

/* The hero's own entrance starts as the overlay lifts, not underneath it. */
.intro-play .hero-tagline { animation-delay: 700ms; }
.intro-play .hero h1, .intro-play .hero-photo-window { animation-delay: 760ms; }
.intro-play .hero-kicker { animation-delay: 840ms; }
.intro-play .hero h1 .title-accent { animation-delay: 1000ms; }
.intro-play .hero-condition { animation-delay: 960ms; }
.intro-play .hero-fine { animation-delay: 1000ms; }
.intro-play .hero-audiences { animation-delay: 1020ms; }
.intro-play .hero-proof { animation-delay: 1060ms; }
.intro-play .hero .signup-card { animation-delay: 1100ms; }
.intro-play .story-bar { animation-delay: 1240ms; }
@media (prefers-reduced-motion: reduce) { .intro-play .intro { display: none; } }

/* ════════════════════════════════════════════════════════════════════════
   Referral pop-up: dark glass-free card with a glowing thread edge.
   Non-modal, never steals focus; Escape or "No" dismisses it.
   ════════════════════════════════════════════════════════════════════════ */
.ref-pop {
  /* Light by default; the dark-theme values are in the hand-written dark block. */
  --rp-bg: linear-gradient(160deg, #ffffff, #f2f8fc 70%);
  --rp-edge: linear-gradient(135deg, rgba(120, 207, 37, .8), rgba(209, 223, 231, .95) 40%, rgba(209, 223, 231, .95) 60%, rgba(8, 118, 219, .8));
  --rp-shadow: 0 24px 48px -24px rgba(8, 60, 120, .38), 0 0 0 1px rgba(16, 40, 56, .04);
  --rp-text: #e8f1f6;
  --rp-title: #16242c;
  --rp-sub: #5e7684;
  --rp-amount: #3a870b;
  --rp-settle: #468a0e;
  --rp-link: #2f6fe4;
  --rp-no-bg: #eef5fa;
  --rp-no-hover: #e2edf5;
  --rp-no-fg: #16242c;
  --rp-no-ring: rgba(16, 40, 56, .16);
  --rp-sheen: rgba(8, 118, 219, .07);
  --rp-focus: #0876db;
  position: fixed; z-index: 120;
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: calc(max(20px, env(safe-area-inset-bottom, 0px)) + var(--ref-pop-lift, 0px));
  width: min(360px, calc(100vw - 32px));
  padding: 22px 22px 20px;
  border: 1px solid transparent; border-radius: 20px;
  background: var(--rp-bg) padding-box, var(--rp-edge) border-box;
  box-shadow: var(--rp-shadow);
  color: var(--rp-title); overflow: hidden; isolation: isolate;
  opacity: 0; transform: translateY(18px) scale(.98);
  transition: opacity 300ms ease-out, transform 420ms var(--ease-out);
}
.ref-pop.is-open { opacity: 1; transform: none; }
.ref-pop.is-closing { opacity: 0; transform: translateY(8px) scale(.99); transition-duration: 200ms; }
.ref-pop-edge { position: absolute; left: 22px; right: 22px; top: 0; height: 2px; border-radius: 0 0 2px 2px; background: var(--sl-thread); box-shadow: 0 0 14px rgba(120, 207, 37, .55), 0 0 22px rgba(8, 118, 219, .35); transform: scaleX(0); transform-origin: left center; transition: transform 700ms 160ms var(--ease-out); }
.ref-pop.is-open .ref-pop-edge { transform: scaleX(1); }
.ref-pop::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 35%, var(--rp-sheen) 50%, transparent 65%); transform: translateX(-110%); }
.ref-pop.is-open::after { transform: translateX(110%); transition: transform 1100ms 250ms var(--ease-out); }
.ref-pop-title { color: var(--rp-title); font-size: 1.0625rem; font-weight: 650; line-height: 1.4; letter-spacing: -.01em; text-wrap: pretty; }
.ref-pop-amount { color: var(--rp-amount); font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ref-pop .wordmark-settle { color: var(--rp-settle); }
.ref-pop .wordmark-link { color: var(--rp-link); }
.ref-pop-question { margin-top: 8px; color: var(--rp-sub); font-size: .9375rem; }
.ref-pop-actions { display: flex; gap: 10px; margin-top: 16px; }
.ref-pop-actions .button { flex: 1 1 0; min-height: 46px; }
.ref-pop-no { background: var(--rp-no-bg); color: var(--rp-no-fg); box-shadow: inset 0 0 0 1px var(--rp-no-ring); }
.ref-pop-no:hover { background: var(--rp-no-hover); }
.ref-pop .button:focus-visible { outline: 2px solid var(--rp-focus); outline-offset: 2px; }
@media (max-width: 560px) {
  .ref-pop { left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); width: auto; bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + var(--ref-pop-lift, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .ref-pop, .ref-pop-edge, .ref-pop::after { transition: none !important; }
  .ref-pop { transform: none; }
  .ref-pop-edge { transform: none; }
}

/* ════════════════════════════════════════════════════════════════════════
   Appearance: header control (top left) and first-visit light/dark prompt.
   ════════════════════════════════════════════════════════════════════════ */
.header-start { display: flex; align-items: center; gap: 14px; min-width: 0; }
.theme-toggle { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 10px; border: 1px solid var(--sl-line); border-radius: 999px; background: var(--surface); color: var(--text); font: inherit; font-size: .875rem; font-weight: 680; cursor: pointer; transition: border-color 160ms ease, background-color 160ms ease; }
.theme-toggle:hover { border-color: var(--sl-control); background: var(--sl-mist); }
.theme-toggle:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.theme-toggle-icon { position: relative; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sl-ice); overflow: hidden; }
.theme-toggle-icon svg { position: absolute; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: transform 360ms var(--ease-out), opacity 240ms ease; }
.theme-toggle .icon-moon { transform: translateY(120%) rotate(-40deg); opacity: 0; }
html[data-sl-theme="dark"] .theme-toggle .icon-sun { transform: translateY(-120%) rotate(40deg); opacity: 0; }
html[data-sl-theme="dark"] .theme-toggle .icon-moon { transform: none; opacity: 1; }
@media (max-width: 560px) {
  .header-start { gap: 8px; }
  .theme-toggle { width: 40px; padding: 0; justify-content: center; }
  .theme-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

.theme-pop { position: fixed; z-index: 140; top: var(--pop-top, calc(env(safe-area-inset-top, 0px) + 86px)); left: var(--pop-left, max(20px, env(safe-area-inset-left, 0px))); width: min(340px, calc(100vw - 32px)); padding: 18px 18px 16px; border: 1px solid transparent; border-radius: 18px; background: linear-gradient(var(--surface-raised), var(--surface-raised)) padding-box, var(--edge) border-box; box-shadow: var(--lift-2); opacity: 0; transform: translateY(-10px) scale(.98); transform-origin: 28px 0; transition: opacity 260ms ease-out, transform 360ms var(--ease-out); }
.theme-pop::before { content: ""; position: absolute; top: -7px; left: var(--arrow-x, 30px); width: 12px; height: 12px; border-radius: 3px 0 0 0; background: var(--surface-raised); box-shadow: -1px -1px 0 var(--sl-line); transform: rotate(45deg); }
.theme-pop.is-open { opacity: 1; transform: none; }
.theme-pop.is-closing { opacity: 0; transform: translateY(-6px) scale(.99); transition-duration: 180ms; }
.theme-pop-title { color: var(--text); font-size: 1rem; font-weight: 720; letter-spacing: -.01em; line-height: 1.35; }
.theme-pop-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.theme-choice { display: grid; justify-items: start; gap: 10px; padding: 10px; border: 1.5px solid var(--sl-line); border-radius: 14px; background: var(--surface); color: var(--text); font: inherit; font-size: .9375rem; font-weight: 700; text-align: left; cursor: pointer; transition: border-color 160ms ease, transform 160ms ease; }
.theme-choice:hover { border-color: var(--accent); }
.theme-choice:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.theme-choice[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(8, 118, 219, .18); }
.theme-swatch { display: block; width: 100%; height: 54px; border-radius: 9px; box-shadow: inset 0 0 0 1px rgba(16, 40, 56, .12); }
.theme-swatch.is-light { background: linear-gradient(#fff 0 32%, transparent 32%) 8px 9px / 58% 34% no-repeat, linear-gradient(90deg, #78cf25, #0876db) 8px 34px / 40% 5px no-repeat, #eef5fa; }
.theme-swatch.is-dark { background: linear-gradient(#1a2a34 0 32%, transparent 32%) 8px 9px / 58% 34% no-repeat, linear-gradient(90deg, #78cf25, #2e8cf0) 8px 34px / 40% 5px no-repeat, #0c151b; }
.theme-pop-note { margin-top: 12px; color: var(--text-3); font-size: .8125rem; line-height: 1.45; }
@media (max-width: 560px) {
  .theme-pop { top: var(--pop-top, calc(env(safe-area-inset-top, 0px) + 74px)); left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); width: auto; }
}
/* Theme switches crossfade once via the View Transitions API (overlays.js). */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; animation-timing-function: ease-out; }
@media (prefers-reduced-motion: reduce) {
  .theme-pop, .theme-toggle-icon svg { transition: none !important; }
  .theme-pop { transform: none; }
}

/* ════════════════════════════════════════════════════════════════════════
   Stage payment card, modern pass (25 Oct): a clean list with trade icons,
   a split bar showing each share, a bolder total and a pill send button.
   ════════════════════════════════════════════════════════════════════════ */
.pm-c0 { --c: #4f9e14; } .pm-c1 { --c: #17917a; } .pm-c2 { --c: #1b86c8; } .pm-c3 { --c: #2a5fd6; }
.pm-cpm { --c: var(--sl-ink); }
.pm-card { padding: 26px 26px 22px; border-radius: 26px; }
.pm-card-head { align-items: flex-start; padding-bottom: 0; border-bottom: 0; }
.pm-card-title { color: var(--text-3); font-size: .8125rem; font-weight: 700; letter-spacing: .01em; }
.pm-stage { gap: 2px; }
.pm-stage b { font-size: clamp(2rem, 1.55rem + 1.3vw, 2.5rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.05; }
.pm-status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 10px; font-size: .75rem; letter-spacing: .01em; }
.pm-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sl-control); transition: background-color 300ms ease, box-shadow 300ms ease; }
.pm-flow.is-returned .pm-status::before { background: #4fae16; box-shadow: 0 0 0 3px rgba(79, 174, 22, .2); }
.pm-split { display: flex; gap: 3px; height: 10px; margin: 18px 0 2px; }
.pm-split i { flex: 1 1 0; min-width: 6px; border-radius: 999px; background: var(--c); transition: flex-grow 420ms var(--ease-out); }
.pm-split .pm-cpm { background: var(--sl-thread); }
.pm-edit-hint { margin-top: 14px; }
.pm-rows { gap: 0; margin: 6px 0 4px; }
.pm-row { grid-template-columns: 34px minmax(0, 1fr) auto 22px; gap: 12px; min-height: 60px; padding: 10px 2px; border-radius: 0; background: transparent; box-shadow: none; border-bottom: 1px solid var(--sl-line); }
.pm-row:last-child { border-bottom: 0; }
.pm-row.is-confirmed { background: transparent; box-shadow: none; }
.pm-trade { font-weight: 680; letter-spacing: -.01em; }
.pm-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 11px; background: color-mix(in srgb, var(--c) 13%, transparent); color: var(--c); }
.pm-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pm-manager .pm-icon.pm-cpm { display: grid; background: var(--sl-thread); color: #fff; }
.pm-amount--edit { min-height: 40px; padding: 0 12px; border-radius: 12px; background: var(--sl-mist); box-shadow: inset 0 0 0 1px var(--sl-line); }
@media (hover: hover) and (pointer: fine) { .pm-amount--edit:hover { box-shadow: inset 0 0 0 1px var(--sl-control); } }
.pm-amount--edit:focus-within { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px rgba(8, 118, 219, .14); }
.pm-amount-input { font-size: 1rem; }
.pm-check { width: 22px; height: 22px; box-shadow: inset 0 0 0 1.5px var(--sl-line); }
.pm-check svg { width: 12px; height: 12px; }
.pm-trades-total { padding: 12px 2px; border-top: 1px solid var(--sl-line); font-size: .875rem; }
.pm-trades-total b { color: var(--text); font-variant-numeric: tabular-nums; }
.pm-manager { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-bottom: 14px; padding: 12px 14px; border: 0; border-radius: 16px; background: linear-gradient(135deg, rgba(120, 207, 37, .12), rgba(8, 118, 219, .07)); box-shadow: inset 0 0 0 1px rgba(120, 207, 37, .38); }
.pm-manager > div > span { color: var(--text); }
.pm-total { align-items: center; padding: 14px 2px 2px; border-top: 0; }
.pm-total span { color: var(--text); font-weight: 700; }
.pm-total b { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.125rem); letter-spacing: -.04em; }
.pm-send { gap: 8px; min-height: 50px; border-radius: 999px; letter-spacing: -.005em; }
.pm-send svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.pm-flow figcaption { margin-top: 14px; }
@media (max-width: 560px) {
  .pm-card { padding: 20px 16px 18px; }
  .pm-row { grid-template-columns: 30px minmax(0, 1fr) auto 20px; gap: 10px; }
  .pm-icon { width: 30px; height: 30px; border-radius: 10px; }
  .pm-manager { grid-template-columns: 30px minmax(0, 1fr) auto; padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { .pm-split i { transition: none; } }

/* "Check your project": photo-free card (26 Oct). On desktop the questions sit
   on the left and the live result on the right. */
.fit-card.is-photo-free { grid-template-columns: minmax(0, 1fr); }
.fit-card.is-photo-free .fit-body { padding: clamp(28px, 4vw, 56px); }
.fit-card.is-photo-free .fit-intro { max-width: 760px; }
.fit-card.is-photo-free .fit-body h2 { max-width: 22ch; }
@media (min-width: 981px) {
  .fit-card.is-photo-free .vat-check { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 4vw, 64px); align-items: start; }
  .fit-card.is-photo-free .vat-check > * { grid-column: 1; }
  .fit-card.is-photo-free .vat-result { grid-column: 2; grid-row: 1 / span 6; margin-top: 0; position: sticky; top: 96px; }
}

/* Mobile and tablet header: logo left, Appearance centred, Menu right. */
@media (max-width: 980px) {
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .header-start { display: contents; }
  .header-start .brand { grid-column: 1; justify-self: start; }
  .header-start .theme-toggle { grid-column: 2; justify-self: center; }
  .mobile-nav { grid-column: 3; justify-self: end; }
}

/* ════════════════════════════════════════════════════════════════════════
   How it works → Paying suppliers: the project e-wallet (26 Oct).
   ════════════════════════════════════════════════════════════════════════ */
.wallet { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; margin-top: clamp(48px, 6vw, 80px); padding: clamp(24px, 3.4vw, 44px); border: 1px solid transparent; border-radius: 26px; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--edge) border-box; box-shadow: var(--lift-1); }
.wallet h3 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); letter-spacing: -.03em; line-height: 1.15; text-wrap: balance; }
.wallet-lead { margin-top: 10px; max-width: 52ch; color: var(--text-2); font-size: 1.0313rem; line-height: 1.55; }
.wallet-steps { display: grid; gap: 14px; margin: 22px 0 0; padding: 0; list-style: none; }
.wallet-step { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: start; }
.wallet-step h4 { margin: 0; padding-top: 6px; font-size: 1rem; letter-spacing: -.01em; }
.wallet-step p { margin-top: 3px; color: var(--text-2); font-size: .9375rem; line-height: 1.5; }
.wallet-callout { margin-top: 22px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, rgba(120, 207, 37, .12), rgba(8, 118, 219, .07)); box-shadow: inset 0 0 0 1px rgba(120, 207, 37, .38); color: var(--text-2); line-height: 1.5; }
.wallet-callout strong { color: var(--text); }
.wallet-note { margin-top: 10px; color: var(--text-3); font-size: .8125rem; line-height: 1.5; }
.wallet-card { margin: 0; justify-self: center; width: min(100%, 360px); padding: 20px; border-radius: 24px; background: linear-gradient(180deg, #ffffff, #f4f8fb); color: #16242c; box-shadow: 0 28px 50px -30px rgba(8, 40, 70, .38), inset 0 0 0 1px rgba(22, 36, 44, .09); }
.wallet-card-head { display: flex; align-items: center; gap: 10px; }
.wallet-card-label { font-weight: 740; letter-spacing: -.01em; }
.wallet-card-tag { margin-left: auto; padding: 3px 9px; border-radius: 999px; background: rgba(22, 36, 44, .06); color: #475963; font-size: .75rem; font-weight: 700; }
.wallet-card .pm-icon.pm-cpm { background: var(--sl-thread); color: #fff; }
.wallet-balance { display: grid; gap: 2px; margin-top: 18px; }
.wallet-balance span { color: #5e7684; font-size: .8125rem; font-weight: 650; }
.wallet-balance b { font-size: 2.25rem; font-weight: 800; letter-spacing: -.045em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.wallet-spends { display: grid; gap: 0; margin: 16px 0 0; padding: 0; list-style: none; }
.wallet-spends li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 46px; border-top: 1px solid rgba(22, 36, 44, .08); }
.wallet-spends span:not(.wallet-spend-icon) { color: #2a3b44; font-size: .9375rem; }
.wallet-spends b { font-variant-numeric: tabular-nums; }
.wallet-spend-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: rgba(8, 118, 219, .08); color: #0b5fb0; }
.wallet-spend-icon svg, .wallet-card-head svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wallet-left { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(22, 36, 44, .14); }
.wallet-left span { color: #5e7684; font-size: .875rem; font-weight: 650; }
.wallet-left b { font-size: 1.375rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.wallet-books { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 9px 12px; border-radius: 12px; background: rgba(120, 207, 37, .16); color: #2f6a0b; font-size: .8125rem; font-weight: 700; }
.wallet-books svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) {
  .wallet { grid-template-columns: minmax(0, 1fr); }
  .wallet-card { justify-self: stretch; width: auto; }
}
@media (max-width: 560px) { .wallet { padding: 20px 16px; border-radius: 22px; } }

/* E-wallet protections and card notes (26 Oct). */
.wallet-protect { margin-top: 18px; }
.wallet-protect h4 { margin: 0; font-size: .9375rem; letter-spacing: -.01em; }
.wallet-protect ul { display: grid; gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.wallet-protect li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; }
.wallet-protect p { color: var(--text-2); font-size: .9375rem; line-height: 1.5; }
.wallet-protect strong { color: var(--text); }
.wallet-protect-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: color-mix(in srgb, var(--sl-blue) 12%, transparent); color: var(--sl-blue-press); }
.wallet-protect-icon svg, .wallet-return svg, .wallet-mcc svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wallet-mcc { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 4px 10px 4px 8px; border-radius: 999px; background: rgba(8, 118, 219, .1); color: #0b5fb0; font-size: .75rem; font-weight: 700; }
.wallet-return { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: #475963; font-size: .8125rem; font-weight: 650; }
.wallet-return span, .wallet-mcc span { display: inline-grid; }

/* Example "client notified" alert on the e-wallet card. */
.wallet-notify { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-top: 14px; padding: 10px 12px; border-radius: 14px; background: #ffffff; color: #16242c; box-shadow: 0 12px 26px -16px rgba(8, 40, 70, .45), inset 0 0 0 1px rgba(22, 36, 44, .08); }
.wallet-notify-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--sl-thread); color: #fff; }
.wallet-notify-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wallet-notify b { display: block; font-size: .8125rem; }
.wallet-notify div span { display: block; color: #475963; font-size: .8125rem; }
.wallet-notify time { align-self: start; color: #5e7684; font-size: .75rem; font-weight: 650; white-space: nowrap; }

/* ── GENERATED dark theme: start (scripts/landing/build-dark-theme.js) ── */
html[data-sl-theme="dark"] body { background: var(--surface); }
html[data-sl-theme="dark"] button, html[data-sl-theme="dark"] input, html[data-sl-theme="dark"] select { color: inherit; }
html[data-sl-theme="dark"] a { color: var(--accent); }
html[data-sl-theme="dark"] a:hover { color: var(--sl-blue-press); }
html[data-sl-theme="dark"] :focus-visible { outline-color: var(--focus); }
html[data-sl-theme="dark"] svg { fill: none; stroke: currentColor; }
html[data-sl-theme="dark"] .skip-link:focus { background: var(--action); color: var(--text); }
html[data-sl-theme="dark"] h1, html[data-sl-theme="dark"] h2 { color: var(--text); }
html[data-sl-theme="dark"] .concept-flag { background: var(--sl-mist); border-bottom-color: var(--sl-line); color: var(--text); }
html[data-sl-theme="dark"] .site-header { background: #121719; border-bottom-color: transparent; }
html[data-sl-theme="dark"] .site-header.is-scrolled { border-bottom-color: var(--sl-line); box-shadow: 0 10px 30px -24px rgba(0, 0, 0, 0.75); }
html[data-sl-theme="dark"] .desktop-nav a, html[data-sl-theme="dark"] .mobile-nav nav a { color: var(--text); }
html[data-sl-theme="dark"] .desktop-nav a:not(.nav-join):hover { color: var(--accent); }
html[data-sl-theme="dark"] .nav-join { background: var(--action); color: var(--text) !important; }
html[data-sl-theme="dark"] .nav-join:hover { background: var(--sl-green-press); }
html[data-sl-theme="dark"] .mobile-nav summary { border-color: var(--sl-control); }
html[data-sl-theme="dark"] .menu-mark i { background: currentColor; }
html[data-sl-theme="dark"] .mobile-nav nav { background: var(--surface-raised); border-color: var(--sl-line); box-shadow: var(--lift-2); }
html[data-sl-theme="dark"] .mobile-nav nav a:not(.nav-join):hover { background: var(--sl-mist); }
html[data-sl-theme="dark"] .button--primary { background: var(--action); color: var(--text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.122), 0 8px 18px -12px rgba(0, 0, 0, 0.75); }
html[data-sl-theme="dark"] .button--primary:hover { background: var(--sl-green-press); color: var(--text); }
html[data-sl-theme="dark"] .button--blue { background: var(--accent); color: #ffffff; }
html[data-sl-theme="dark"] .button--blue:hover { background: var(--sl-blue-press); color: #ffffff; }
html[data-sl-theme="dark"] .button--quiet { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--sl-control); }
html[data-sl-theme="dark"] .button--quiet:hover { background: var(--sl-mist); }
html[data-sl-theme="dark"] .button:disabled { color: var(--text-3); background: var(--sl-mist); box-shadow: inset 0 0 0 1.5px var(--sl-line); }
html[data-sl-theme="dark"] .status-chip { border-color: var(--sl-line); background: var(--surface); color: var(--text); }
html[data-sl-theme="dark"] .status-dot { background: var(--action); box-shadow: 0 0 0 3px rgba(120, 207, 37, 0.25); }
html[data-sl-theme="dark"] .hero-lead { color: var(--text-2); }
html[data-sl-theme="dark"] .hero-fine { color: var(--text-2); }
html[data-sl-theme="dark"] .hero-fine strong { color: var(--text); }
html[data-sl-theme="dark"] .hero-photo-window { background: var(--sl-ice); }
html[data-sl-theme="dark"] .story-bar { background: rgba(18, 23, 25, 0.9); border-color: rgba(41, 53, 61, 0.8); box-shadow: var(--lift-2); }
html[data-sl-theme="dark"] .story-title { color: var(--text); }
html[data-sl-theme="dark"] .story-text { color: var(--text-2); }
html[data-sl-theme="dark"] .story-controls { border-top-color: var(--sl-line); }
html[data-sl-theme="dark"] .round-control { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--sl-control); }
html[data-sl-theme="dark"] .round-control:hover { background: var(--sl-mist); box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); }
html[data-sl-theme="dark"] .story-selector { background: none; color: var(--text); }
html[data-sl-theme="dark"] .story-selector:hover span { background: var(--sl-mist); box-shadow: inset 0 0 0 1.5px var(--sl-line); }
html[data-sl-theme="dark"] .story-selector[aria-current="true"] span { background: var(--accent); color: #ffffff; box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px rgba(120, 207, 37, 0.9); }
html[data-sl-theme="dark"] .story-status { color: var(--text-3); }
html[data-sl-theme="dark"] .signup-card { border-color: var(--sl-line); background: var(--surface-raised); box-shadow: var(--lift-2); }
html[data-sl-theme="dark"] .thread { background: var(--sl-thread); }
html[data-sl-theme="dark"] .signup-head p { color: var(--text-2); }
html[data-sl-theme="dark"] .existing-app-link { color: var(--text-2); }
html[data-sl-theme="dark"] .existing-app-link a { color: var(--accent); }
html[data-sl-theme="dark"] .existing-app-link a:hover { color: var(--text); }
html[data-sl-theme="dark"] .audience-switch { border-color: var(--sl-line); background: var(--sl-ice); }
html[data-sl-theme="dark"] .audience-indicator { background: var(--surface); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.204), 0 6px 16px -8px rgba(0, 0, 0, 0.75), inset 0 0 0 1.5px var(--accent); }
html[data-sl-theme="dark"] .audience-option { color: var(--text-2); }
html[data-sl-theme="dark"] .audience-option.is-selected, html[data-sl-theme="dark"] .audience-option:has(input:checked) { color: var(--text); }
html[data-sl-theme="dark"] .audience-option:has(input:focus-visible) { outline-color: var(--focus); }
html[data-sl-theme="dark"] .supplier-opportunity { border-left-color: var(--action); background: var(--sl-ice); }
html[data-sl-theme="dark"] .supplier-opportunity p { color: var(--text-2); }
html[data-sl-theme="dark"] .field label { color: var(--text); }
html[data-sl-theme="dark"] .field input, html[data-sl-theme="dark"] .field select { border-color: var(--sl-control); background: var(--surface); color: var(--text); }
html[data-sl-theme="dark"] .field input::placeholder { color: var(--text-3); }
html[data-sl-theme="dark"] .field input:hover, html[data-sl-theme="dark"] .field select:hover { border-color: var(--text-2); }
html[data-sl-theme="dark"] .field input:focus-visible, html[data-sl-theme="dark"] .field select:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--accent); }
html[data-sl-theme="dark"] .field input:user-invalid, html[data-sl-theme="dark"] .field select:user-invalid { border-color: #d92e24; }
html[data-sl-theme="dark"] .select-wrap::after { border-right-color: var(--text); border-bottom-color: var(--text); }
html[data-sl-theme="dark"] .consent { color: var(--text-2); }
html[data-sl-theme="dark"] .preview-note { color: var(--text-2); }
html[data-sl-theme="dark"] .preview-tag { background: var(--sl-ice); color: var(--text); }
html[data-sl-theme="dark"] .signup-status { color: var(--text); }
html[data-sl-theme="dark"] .how { background: linear-gradient(180deg, var(--surface) 0, var(--sl-mist) 100%); }
html[data-sl-theme="dark"] .how-intro { color: var(--text-2); }
html[data-sl-theme="dark"] .tag-planned { border-color: var(--sl-control); color: var(--text); }
html[data-sl-theme="dark"] .route { background: var(--surface-raised); box-shadow: var(--lift-2); border-color: var(--sl-line); }
html[data-sl-theme="dark"] .route::before { background: var(--sl-thread); }
html[data-sl-theme="dark"] .route li + li { border-left-color: var(--sl-line); }
html[data-sl-theme="dark"] .node { background: var(--surface); box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 5px var(--surface); color: var(--text); }
html[data-sl-theme="dark"] .route p { color: var(--text-2); }
html[data-sl-theme="dark"] .fit, html[data-sl-theme="dark"] .project-fit-section { background-color: var(--sl-mist); background-image: linear-gradient(rgba(8, 118, 219, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(8, 118, 219, 0.055) 1px, transparent 1px); background-size: 32px 32px; background-position: -1px -1px; }
html[data-sl-theme="dark"] .fit-card { background: var(--surface-raised); border-color: var(--sl-line); box-shadow: var(--lift-2); }
html[data-sl-theme="dark"] .fit-lead { color: var(--text-2); }
html[data-sl-theme="dark"] .fit-facts { color: var(--text); }
html[data-sl-theme="dark"] .fit-facts li + li::before { background: var(--sl-control); }
html[data-sl-theme="dark"] .question-preview-toggle { background: var(--accent); color: #ffffff; }
html[data-sl-theme="dark"] .question-preview-toggle:hover { background: var(--sl-blue-press); }
html[data-sl-theme="dark"] .question-preview-toggle[aria-expanded="true"] { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--sl-control); }
html[data-sl-theme="dark"] .rail-step { background: none; }
html[data-sl-theme="dark"] .rail-bar { background: var(--sl-line); }
html[data-sl-theme="dark"] .rail-label { color: var(--text-2); }
html[data-sl-theme="dark"] .rail-num { color: var(--text-3); }
html[data-sl-theme="dark"] .rail-answer { color: var(--text-3); }
html[data-sl-theme="dark"] .rail-step.is-answered .rail-bar { background: var(--sl-thread); }
html[data-sl-theme="dark"] .rail-step.is-answered .rail-answer { color: var(--text); }
html[data-sl-theme="dark"] .rail-step[aria-current="step"] .rail-bar { background: var(--accent); box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.306); }
html[data-sl-theme="dark"] .rail-step[aria-current="step"] .rail-label { color: var(--text); }
html[data-sl-theme="dark"] .rail-step:hover .rail-label { color: var(--accent); }
html[data-sl-theme="dark"] .deck-count { color: var(--text-3); }
html[data-sl-theme="dark"] .deck-q legend { color: var(--text); }
html[data-sl-theme="dark"] .deck-q legend:focus-visible { outline-color: var(--focus); }
html[data-sl-theme="dark"] .choice { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--sl-line); color: var(--text); }
html[data-sl-theme="dark"] .choice .dot { box-shadow: inset 0 0 0 2px var(--sl-control); }
html[data-sl-theme="dark"] .choice .dot::after { background: var(--accent); }
html[data-sl-theme="dark"] .choice:hover { box-shadow: inset 0 0 0 1.5px var(--sl-control); background: var(--sl-mist); }
html[data-sl-theme="dark"] .choice:has(input:checked) { box-shadow: inset 0 0 0 2px var(--accent); background: var(--sl-mist); }
html[data-sl-theme="dark"] .choice:has(input:checked) .dot { box-shadow: inset 0 0 0 2px var(--accent); }
html[data-sl-theme="dark"] .choice:has(input:focus-visible) { outline-color: var(--focus); }
html[data-sl-theme="dark"] .deck-nav { border-top-color: var(--sl-line); }
html[data-sl-theme="dark"] .deck-end { background: var(--sl-mist); box-shadow: inset 0 0 0 1px var(--sl-line); }
html[data-sl-theme="dark"] .deck-end p { color: var(--text-2); }
html[data-sl-theme="dark"] .deck-end p strong { color: var(--text); }
html[data-sl-theme="dark"] .fit-availability { color: var(--text-2); }
html[data-sl-theme="dark"] .fit-availability::before { background: var(--sl-thread); }
html[data-sl-theme="dark"] .about-copy .lead { color: var(--text-2); }
html[data-sl-theme="dark"] .facts { border-bottom-color: var(--sl-line); }
html[data-sl-theme="dark"] .facts div { border-top-color: var(--sl-line); }
html[data-sl-theme="dark"] .facts dt { color: var(--text); }
html[data-sl-theme="dark"] .facts dd { color: var(--text-2); }
html[data-sl-theme="dark"] .note { color: var(--text-3); }
html[data-sl-theme="dark"] .earn { background: var(--sl-ice); }
html[data-sl-theme="dark"] .earn-headline { color: var(--text); }
html[data-sl-theme="dark"] .meter-scale { color: var(--text-3); }
html[data-sl-theme="dark"] .seg { background: var(--surface); box-shadow: var(--lift-1); }
html[data-sl-theme="dark"] .seg::before { background: var(--sl-thread); background-size: 300% 100%; }
html[data-sl-theme="dark"] .seg:nth-child(1)::before { background-position: 0 0; }
html[data-sl-theme="dark"] .seg:nth-child(2)::before { background-position: 50% 0; }
html[data-sl-theme="dark"] .seg:nth-child(3)::before { background-position: 100% 0; }
html[data-sl-theme="dark"] .seg b { color: var(--text); }
html[data-sl-theme="dark"] .seg small { color: var(--text-2); }
html[data-sl-theme="dark"] .terms li { color: var(--text); }
html[data-sl-theme="dark"] .terms li::before { background: var(--accent); }
html[data-sl-theme="dark"] .final { background: var(--surface); }
html[data-sl-theme="dark"] .final-copy p { color: var(--text-2); }
html[data-sl-theme="dark"] .final-steps { background: var(--sl-mist); border-color: var(--sl-line); }
html[data-sl-theme="dark"] .final-steps::before { background: linear-gradient(180deg, #78cf25, #0876db); }
html[data-sl-theme="dark"] .final-steps .node { box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 5px var(--sl-mist); }
html[data-sl-theme="dark"] .final-steps p { color: var(--text-2); }
html[data-sl-theme="dark"] .site-footer { border-top-color: var(--sl-line); }
html[data-sl-theme="dark"] .site-footer p { color: var(--text-2); }
@media (max-width: 640px) {
  html[data-sl-theme="dark"] .route::before { background: linear-gradient(180deg, #78cf25, #0876db); }
  html[data-sl-theme="dark"] .fit-facts li::before, html[data-sl-theme="dark"] .fit-facts li + li::before { background: var(--accent); }
}
html[data-sl-theme="dark"] .section-eyebrow { color: var(--text-3); }
html[data-sl-theme="dark"] .supplier-details { border-color: var(--sl-line); background: var(--sl-mist); }
html[data-sl-theme="dark"] .supplier-details summary { color: var(--text); }
html[data-sl-theme="dark"] .supplier-details summary::marker { color: var(--accent); }
html[data-sl-theme="dark"] .supplier-details summary:focus-visible { outline-color: var(--focus); }
html[data-sl-theme="dark"] .details-hint, html[data-sl-theme="dark"] .optional { color: var(--text-3); }
html[data-sl-theme="dark"] .field-help { color: var(--text-2); }
html[data-sl-theme="dark"] .consent { color: var(--text-2); }
html[data-sl-theme="dark"] .privacy-note { color: var(--text-3); }
html[data-sl-theme="dark"] .no-script-fields { border-color: var(--sl-line); background: var(--sl-mist); }
html[data-sl-theme="dark"] .no-script-fields > p { color: var(--text-2); }
html[data-sl-theme="dark"] .preview-note { color: var(--text-2); }
html[data-sl-theme="dark"] .preview-tag { background: var(--sl-ice); color: var(--text); }
html[data-sl-theme="dark"] .signup-status { color: var(--text); }
html[data-sl-theme="dark"] .fit-progress { color: var(--text-3); }
html[data-sl-theme="dark"] .fit-navigation { border-top-color: var(--sl-line); }
html[data-sl-theme="dark"] .fit-question legend { color: var(--text); }
html[data-sl-theme="dark"] .fit-number { background: var(--sl-ice); color: var(--text); }
html[data-sl-theme="dark"] .fit-option { border-color: var(--sl-line); background: var(--surface); }
html[data-sl-theme="dark"] .fit-option:has(input:checked) { border-color: var(--accent); background: var(--sl-mist); }
html[data-sl-theme="dark"] .fit-note { border-left-color: var(--accent); color: var(--text-2); }
html[data-sl-theme="dark"] .fit-attach-consent { color: var(--text-2); }
html[data-sl-theme="dark"] .fit-attach-guidance { color: var(--text-3); }
html[data-sl-theme="dark"] .fit-light-bands span { color: transparent; }
html[data-sl-theme="dark"] .fit-light-bands span:nth-child(1) { background: #3b8e53; }
html[data-sl-theme="dark"] .fit-light-bands span:nth-child(2) { background: #6f5829; }
html[data-sl-theme="dark"] .fit-light-bands span:nth-child(3) { background: #ba4c47; }
html[data-sl-theme="dark"] .fit-light-marker { background: var(--text); color: #ffffff; }
html[data-sl-theme="dark"] .fit-result { border-color: var(--sl-line); background: var(--sl-mist); }
html[data-sl-theme="dark"] .fit-result[data-state="green"] { border-color: #5a9d6b; }
html[data-sl-theme="dark"] .fit-result[data-state="amber"] { border-color: #cb942b; }
html[data-sl-theme="dark"] .fit-result[data-state="red"] { border-color: #b54a43; }
html[data-sl-theme="dark"] .fit-result p { color: var(--text-2); }
html[data-sl-theme="dark"] .fit-result .fit-result-caveat { color: var(--text-3); }
html[data-sl-theme="dark"] .question-preview-choice { box-shadow: inset 0 0 0 1.5px var(--sl-line); color: var(--text); }
html[data-sl-theme="dark"] .question-preview-choice > .dot { box-shadow: inset 0 0 0 2px var(--sl-control); }
html[data-sl-theme="dark"] .question-preview-choice > .dot::after { background: var(--accent); }
html[data-sl-theme="dark"] .question-preview-choice:hover { background: var(--sl-mist); box-shadow: inset 0 0 0 1.5px var(--sl-control); }
html[data-sl-theme="dark"] .question-preview-choice:has(input:checked), html[data-sl-theme="dark"] .question-preview-choice.is-selected { background: var(--sl-mist); box-shadow: inset 0 0 0 2px var(--accent); }
html[data-sl-theme="dark"] .question-preview-choice:has(input:checked) > .dot, html[data-sl-theme="dark"] .question-preview-choice.is-selected > .dot { box-shadow: inset 0 0 0 2px var(--accent); }
html[data-sl-theme="dark"] .question-preview-choice:has(input:focus-visible) { outline-color: var(--focus); }
html[data-sl-theme="dark"] .button--secondary { background: var(--accent); color: #ffffff; }
html[data-sl-theme="dark"] .button--secondary:hover:not(:disabled) { background: var(--sl-blue-press); color: #ffffff; }
html[data-sl-theme="dark"] .message-page { background: var(--sl-mist); }
html[data-sl-theme="dark"] .message-panel { border-top-color: var(--accent); background: var(--surface-raised); box-shadow: var(--lift-1); }
html[data-sl-theme="dark"] .message-panel > p { color: var(--text-2); }
html[data-sl-theme="dark"] .message-panel .signup-card { border-top-color: var(--sl-line); box-shadow: none; }
html[data-sl-theme="dark"] .title-accent::after { background: var(--sl-thread); }
html[data-sl-theme="dark"] .hero-kicker { color: var(--text); }
html[data-sl-theme="dark"] .manifesto { background: var(--surface); }
html[data-sl-theme="dark"] .manifesto-text { color: var(--text); }
html[data-sl-theme="dark"] .manifesto-lead { color: var(--sl-muted); }
html[data-sl-theme="dark"] .manifesto-roles { border-top-color: var(--sl-line); }
html[data-sl-theme="dark"] .roles-label { color: var(--text-3); }
html[data-sl-theme="dark"] .role-list li { color: var(--text); }
html[data-sl-theme="dark"] .role-list li + li::before { background: var(--sl-thread); }
html[data-sl-theme="dark"] .question-preview-toggle::after { border-right-color: currentColor; border-bottom-color: currentColor; }
html[data-sl-theme="dark"] .earn-rule { color: var(--text); }
html[data-sl-theme="dark"] .final-copy .section-eyebrow { color: var(--text-3); }
html[data-sl-theme="dark"] .final-steps li:not(:last-child)::after { background: linear-gradient(180deg, #78cf25, #0876db); }
@media (max-width: 980px) {
  html[data-sl-theme="dark"] .role-list li::before, html[data-sl-theme="dark"] .role-list li + li::before { background: var(--sl-thread); }
}
html[data-sl-theme="dark"] .manifesto-roles::before { background: var(--sl-thread); }
@media (hover: hover) and (pointer: fine) {
  html[data-sl-theme="dark"] .button--primary::after, html[data-sl-theme="dark"] .nav-join::after { background: linear-gradient(110deg, transparent 30%, rgba(18, 23, 25, 0.45) 50%, transparent 70%); }
}
html[data-sl-theme="dark"] .pm { background-color: var(--sl-ice); background-image: radial-gradient(rgba(8, 118, 219, 0.12) 1px, transparent 1.2px); background-size: 22px 22px; }
html[data-sl-theme="dark"] .pm-lead { color: var(--text); }
html[data-sl-theme="dark"] .pm-step:not(:last-child)::after { background: linear-gradient(180deg, #78cf25, #0876db); }
html[data-sl-theme="dark"] .pm-step p { color: var(--text-2); }
html[data-sl-theme="dark"] .pm-step.is-active { background: var(--surface); box-shadow: var(--lift-1); }
html[data-sl-theme="dark"] .pm-step.is-active .node { background: var(--accent); color: #ffffff; box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.272); }
html[data-sl-theme="dark"] .pm-card { background: var(--surface); border-color: var(--sl-line); box-shadow: var(--lift-2); }
html[data-sl-theme="dark"] .pm-card::before { background: var(--sl-thread); }
html[data-sl-theme="dark"] .pm-card-head { border-bottom-color: var(--sl-line); }
html[data-sl-theme="dark"] .pm-stage small { color: var(--text-3); }
html[data-sl-theme="dark"] .pm-trades-total { color: var(--text-2); }
html[data-sl-theme="dark"] .pm-manager { border-color: #4c6730; background: #1e2515; }
html[data-sl-theme="dark"] .pm-manager span { color: #cfe7c3; }
html[data-sl-theme="dark"] .pm-manager small { color: var(--text-2); }
html[data-sl-theme="dark"] .pm-status { background: var(--sl-mist); box-shadow: inset 0 0 0 1px var(--sl-line); color: var(--text-2); }
html[data-sl-theme="dark"] .pm-flow.is-returned .pm-status { background: #212c16; box-shadow: inset 0 0 0 1px #537136; color: #d4f6ba; }
html[data-sl-theme="dark"] .pm-row { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--sl-line); }
html[data-sl-theme="dark"] .pm-edit-hint { color: var(--sl-blue-press); }
html[data-sl-theme="dark"] .pm-edit-hint svg { fill: none; stroke: currentColor; }
html[data-sl-theme="dark"] .pm-amount--edit { background: var(--sl-#121719); box-shadow: inset 0 0 0 1.5px var(--sl-control); }
html[data-sl-theme="dark"] .pm-amount--edit:focus-within { box-shadow: inset 0 0 0 2px var(--sl-blue), 0 0 0 3px rgba(0, 0, 0, 0.306); }
html[data-sl-theme="dark"] .pm-amount--edit > span { color: var(--text-2); }
html[data-sl-theme="dark"] .pm-amount-input { background: transparent; color: var(--text); }
html[data-sl-theme="dark"] .pm-amount-input[aria-invalid="true"] { color: #ec9590; }
html[data-sl-theme="dark"] .pm-amount--edit:has([aria-invalid="true"]) { box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.75); }
html[data-sl-theme="dark"] .pm-error { color: #ec9590; }
html[data-sl-theme="dark"] .pm-locked svg { fill: none; stroke: var(--text-3); }
html[data-sl-theme="dark"] .pm-reset { background: none; color: var(--sl-blue-press); }
html[data-sl-theme="dark"] .pm-reset:focus-visible { outline-color: var(--sl-blue); }
html[data-sl-theme="dark"] .pm-check { box-shadow: inset 0 0 0 2px var(--sl-control); }
html[data-sl-theme="dark"] .pm-check svg { stroke: #ffffff; }
html[data-sl-theme="dark"] .pm-row.is-confirmed { background: var(--sl-mist); box-shadow: inset 0 0 0 1.5px #4c6730; }
html[data-sl-theme="dark"] .pm-row.is-confirmed .pm-check { background: #4fae16; box-shadow: none; }
html[data-sl-theme="dark"] .pm-total { border-top-color: var(--sl-line); }
html[data-sl-theme="dark"] .pm-total span { color: var(--text-2); }
html[data-sl-theme="dark"] .pm-total-note { color: var(--text-3); }
html[data-sl-theme="dark"] .pm-send { background: var(--sl-mist); color: var(--text-3); box-shadow: inset 0 0 0 1.5px var(--sl-line); }
html[data-sl-theme="dark"] .pm-flow.is-complete .pm-send { background: var(--action); color: var(--text); box-shadow: 0 10px 22px -14px rgba(0, 0, 0, 0.75); }
html[data-sl-theme="dark"] .pm-flow figcaption { color: var(--text-3); }
html[data-sl-theme="dark"] .pm-why { background: var(--surface); box-shadow: var(--lift-1); }
html[data-sl-theme="dark"] .pm-why::before { background: var(--sl-thread); }
html[data-sl-theme="dark"] .pm-why p { color: var(--text); }
html[data-sl-theme="dark"] .consent input[type="checkbox"], html[data-sl-theme="dark"] .fit-attach-consent input[type="checkbox"] { background: #121719; box-shadow: inset 0 0 0 2px var(--sl-control); }
html[data-sl-theme="dark"] .consent input[type="checkbox"]::after, html[data-sl-theme="dark"] .fit-attach-consent input[type="checkbox"]::after { border-right-color: #29353d; border-bottom-color: #29353d; }
html[data-sl-theme="dark"] .consent input[type="checkbox"]:checked, html[data-sl-theme="dark"] .fit-attach-consent input[type="checkbox"]:checked { background: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
html[data-sl-theme="dark"] .consent input[type="checkbox"]:focus-visible { outline-color: var(--focus); }
html[data-sl-theme="dark"] .consent input[type="checkbox"]:disabled { background: #121719; }
html[data-sl-theme="dark"] .manifesto-story { color: var(--text-2); }
html[data-sl-theme="dark"] .how-intro .pm-lead { color: var(--text); }
html[data-sl-theme="dark"] .how-note { color: var(--text-3); }
html[data-sl-theme="dark"] .project-estimate { background: #121719; box-shadow: inset 0 0 0 1px var(--sl-line), var(--lift-1); }
html[data-sl-theme="dark"] .project-estimate-intro > p:last-child { color: var(--text-2); }
html[data-sl-theme="dark"] .est-field label { color: var(--text); }
html[data-sl-theme="dark"] .est-field input { border-color: var(--sl-line); background: #121719; color: var(--text); }
html[data-sl-theme="dark"] .est-field input:focus-visible { outline-color: var(--focus); }
html[data-sl-theme="dark"] .est-field input[aria-invalid="true"] { border-color: #b54a43; box-shadow: inset 0 0 0 1px #b54a43; }
html[data-sl-theme="dark"] .est-input-hint { color: var(--text-3); }
html[data-sl-theme="dark"] .est-error { border-left-color: #b54a43; color: #e4a8a4; background: #250f0c; }
html[data-sl-theme="dark"] .est-error:focus { outline-color: var(--focus); }
html[data-sl-theme="dark"] .est-result { background: #121719; box-shadow: inset 0 0 0 1px var(--sl-line), var(--lift-1); }
html[data-sl-theme="dark"] .est-fit { background: #232f17; box-shadow: inset 0 0 0 1.5px #93d35a; color: #d4f6ba; }
html[data-sl-theme="dark"] .est-fit::before { background: #4fae16; }
html[data-sl-theme="dark"] .est-figures div { background: var(--sl-mist); box-shadow: inset 0 0 0 1px var(--sl-line); }
html[data-sl-theme="dark"] .est-figures div:first-child { background: #0d1b28; box-shadow: inset 0 0 0 1.5px #284866; }
html[data-sl-theme="dark"] .est-figures dt { color: var(--text-2); }
html[data-sl-theme="dark"] .est-figures dd { color: var(--text); }
html[data-sl-theme="dark"] .est-bar { background: var(--sl-mist); box-shadow: inset 0 0 0 1px var(--sl-line); }
html[data-sl-theme="dark"] .est-bar-mine { background: var(--accent); }
html[data-sl-theme="dark"] .est-bar-direct { background: repeating-linear-gradient(135deg, #3f5628 0 6px, #232f17 6px 12px); }
html[data-sl-theme="dark"] .est-threshold { background: var(--text); }
html[data-sl-theme="dark"] .est-threshold i { color: var(--text); }
html[data-sl-theme="dark"] .est-line { color: var(--text); }
html[data-sl-theme="dark"] .est-evidence { background: var(--sl-mist); box-shadow: inset 0 0 0 1px var(--sl-line); }
html[data-sl-theme="dark"] .est-evidence-title { color: var(--text-3); }
html[data-sl-theme="dark"] .est-evidence ul { color: var(--text-2); }
html[data-sl-theme="dark"] .est-evidence li span { color: var(--text-3); }
html[data-sl-theme="dark"] .est-caveat { color: var(--text-3); }
html[data-sl-theme="dark"] .win { border-color: var(--sl-line); background: var(--surface); }
html[data-sl-theme="dark"] .win::before { background: var(--sl-thread); }
html[data-sl-theme="dark"] .win b { color: var(--text); }
html[data-sl-theme="dark"] .win p { color: var(--sl-body); }
html[data-sl-theme="dark"] .est-wins { background: var(--sl-ice); color: var(--text); }
html[data-sl-theme="dark"] .est-wins b { color: var(--sl-blue-press); }
html[data-sl-theme="dark"] .video-section { background: var(--sl-mist); }
html[data-sl-theme="dark"] .video-frame video { background: var(--sl-ice); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.102), 0 18px 48px -18px rgba(0, 0, 0, 0.476); }
html[data-sl-theme="dark"] .video-frame figcaption { color: var(--sl-muted); }
html[data-sl-theme="dark"] .action-state { border-color: var(--sl-line); background: var(--sl-mist); color: var(--text); }
html[data-sl-theme="dark"] .action-dot { background: var(--sl-control); }
html[data-sl-theme="dark"] .action-panel.is-pending .action-dot { background: transparent; border-color: var(--sl-blue); }
html[data-sl-theme="dark"] .action-panel.is-next .action-dot { background: var(--sl-blue); }
html[data-sl-theme="dark"] .action-panel.is-done { border-top-color: var(--sl-green); }
html[data-sl-theme="dark"] .action-panel.is-done .action-state { border-color: #516e34; background: #1d2714; }
html[data-sl-theme="dark"] .action-panel.is-done .action-dot { background: var(--sl-green-press); }
html[data-sl-theme="dark"] .action-panel.is-failed { border-top-color: #d92e24; }
html[data-sl-theme="dark"] .action-panel.is-failed .action-state { border-color: #593330; background: #231210; color: #efa7a3; }
html[data-sl-theme="dark"] .action-panel.is-failed .action-dot { background: #b3261e; }
html[data-sl-theme="dark"] .action-note { color: var(--sl-muted); }
@media (hover: hover) {
  html[data-sl-theme="dark"] .pm-step:hover { background: var(--surface); box-shadow: var(--lift-1); }
  html[data-sl-theme="dark"] .pm-step:hover .node { background: var(--accent); color: #ffffff; box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.272); }
}
html[data-sl-theme="dark"] .wordmark-settle { color: #c8f6a3; }
html[data-sl-theme="dark"] .wordmark-link { color: #6f9bec; }
html[data-sl-theme="dark"] .project-estimate { background: #121719; box-shadow: inset 0 0 0 1px var(--sl-line), 0 1px 2px rgba(0, 0, 0, 0.085), 0 24px 48px -28px rgba(0, 0, 0, 0.595); }
html[data-sl-theme="dark"] .project-estimate .est-tag { background: var(--sl-ice); color: var(--sl-blue-press); }
html[data-sl-theme="dark"] .project-estimate .est-tag span { background: var(--sl-thread); }
html[data-sl-theme="dark"] .project-estimate .est-result { background: none; box-shadow: none; }
html[data-sl-theme="dark"] .est-figure { background: var(--sl-mist); box-shadow: inset 0 0 0 1px var(--sl-line); }
html[data-sl-theme="dark"] .est-figure span { color: var(--text-2); }
html[data-sl-theme="dark"] .est-figure b { color: var(--text); }
html[data-sl-theme="dark"] .est-figure.is-with { background: linear-gradient(180deg, #0d1826, #111d29); box-shadow: inset 0 0 0 1.5px #284866; }
html[data-sl-theme="dark"] .est-figure.is-with b { color: var(--sl-blue-press); }
html[data-sl-theme="dark"] .est-drop { background: #1d2714; box-shadow: inset 0 0 0 1.5px #516e34; }
html[data-sl-theme="dark"] .est-drop b { color: #c9f7a9; }
html[data-sl-theme="dark"] .est-drop span { color: #c9f7a9; }
html[data-sl-theme="dark"] .est-split { background: var(--sl-mist); box-shadow: inset 0 0 0 1px var(--sl-line); }
html[data-sl-theme="dark"] .est-split .is-labour { background: var(--sl-blue); }
html[data-sl-theme="dark"] .est-split .is-materials { background: var(--sl-green); }
html[data-sl-theme="dark"] .est-split .is-yours { background: repeating-linear-gradient(135deg, #262e33 0 5px, #1a2227 5px 10px); }
html[data-sl-theme="dark"] .est-legend li { color: var(--text-2); }
html[data-sl-theme="dark"] .est-legend .is-labour { background: var(--sl-blue); }
html[data-sl-theme="dark"] .est-legend .is-materials { background: var(--sl-green); }
html[data-sl-theme="dark"] .est-legend .is-yours { background: repeating-linear-gradient(135deg, #262e33 0 3px, #1a2227 3px 6px); box-shadow: inset 0 0 0 1px #36454d; }
html[data-sl-theme="dark"] .est-legend b { color: var(--text); }
html[data-sl-theme="dark"] .deck-end .project-estimate .est-client { background: var(--sl-ice); color: var(--text); }
html[data-sl-theme="dark"] .est-client b { color: var(--sl-blue-press); }
html[data-sl-theme="dark"] .project-estimate .est-inputs { border-top-color: var(--sl-line); }
html[data-sl-theme="dark"] .est-money span { color: var(--text-2); }
html[data-sl-theme="dark"] .project-estimate .est-money input { border-color: var(--sl-control); }
html[data-sl-theme="dark"] .project-estimate .est-money input:hover { border-color: var(--text-2); }
html[data-sl-theme="dark"] .est-how { background: var(--sl-mist); box-shadow: inset 0 0 0 1px var(--sl-line); }
html[data-sl-theme="dark"] .est-how summary { color: var(--text); }
html[data-sl-theme="dark"] .est-how summary:focus-visible { outline-color: var(--focus); }
html[data-sl-theme="dark"] .est-how ul { color: var(--text-2); }
html[data-sl-theme="dark"] .reviews { background: linear-gradient(180deg, #121719, var(--sl-mist)); }
html[data-sl-theme="dark"] .reviews-note { color: #efa7a3; }
html[data-sl-theme="dark"] .reviews-viewport:focus-visible { outline-color: var(--focus); }
html[data-sl-theme="dark"] .review figure { background: #121719; box-shadow: inset 0 0 0 1px var(--sl-line), var(--lift-1); }
html[data-sl-theme="dark"] .review blockquote p { color: var(--text); }
html[data-sl-theme="dark"] .review blockquote p::before { color: var(--sl-blue); }
html[data-sl-theme="dark"] .review-photo { box-shadow: 0 0 0 3px #29353d, 0 0 0 5px var(--sl-ice-deep); }
html[data-sl-theme="dark"] .review-photo.is-initials { background: var(--sl-thread); color: #ffffff; }
html[data-sl-theme="dark"] .review figcaption b { color: var(--text); }
html[data-sl-theme="dark"] .review figcaption small { color: var(--sl-muted); }
html[data-sl-theme="dark"] .review.is-placeholder figure { background: repeating-linear-gradient(135deg, #121719 0 14px, var(--sl-mist) 14px 28px); box-shadow: inset 0 0 0 2px var(--sl-line); }
html[data-sl-theme="dark"] .review.is-placeholder blockquote p { color: var(--text-2); }
@media (hover: hover) {
  html[data-sl-theme="dark"] .review figure:hover { box-shadow: inset 0 0 0 1px #2d4759, 0 1px 2px rgba(0, 0, 0, 0.102), 0 22px 40px -22px rgba(0, 0, 0, 0.68); }
}
html[data-sl-theme="dark"] .est-how summary::before { border-right-color: var(--sl-blue); border-bottom-color: var(--sl-blue); }
html[data-sl-theme="dark"] .est-how summary:hover { color: var(--sl-blue-press); }
@media (hover: hover) {
  html[data-sl-theme="dark"] .deck-end-actions .button--quiet:hover, html[data-sl-theme="dark"] .est-actions .button--quiet:hover { background: #121719; color: var(--sl-blue-press); box-shadow: inset 0 0 0 1.5px var(--sl-blue), 0 10px 22px -14px rgba(0, 0, 0, 0.75); }
  html[data-sl-theme="dark"] .deck-end-actions .button--primary:hover { box-shadow: 0 12px 24px -14px rgba(0, 0, 0, 0.75); }
}
html[data-sl-theme="dark"] .deck-end-actions .button:focus-visible, html[data-sl-theme="dark"] .est-actions .button:focus-visible { outline-color: var(--focus); }
html[data-sl-theme="dark"] .hero-tagline { background: var(--sl-ice); color: var(--sl-blue-press); }
html[data-sl-theme="dark"] .hero-tagline::before { background: var(--sl-thread); }
html[data-sl-theme="dark"] .hero-kicker { color: var(--text-2); }
html[data-sl-theme="dark"] .hl { background: linear-gradient(180deg, transparent 8%, #26321a 8%, #26321a 92%, transparent 92%); color: var(--text); }
html[data-sl-theme="dark"] .hero-reviews { background: #121719; box-shadow: inset 0 0 0 1px var(--sl-line), var(--lift-1); color: var(--text); }
html[data-sl-theme="dark"] .hero-reviews:hover { box-shadow: inset 0 0 0 1px #284866, 0 12px 24px -16px rgba(0, 0, 0, 0.75); }
html[data-sl-theme="dark"] .hero-reviews:focus-visible, html[data-sl-theme="dark"] .hero-built:focus-visible { outline-color: var(--focus); }
html[data-sl-theme="dark"] .hero-faces img { box-shadow: 0 0 0 2px #29353d; }
html[data-sl-theme="dark"] .hero-proof-text q { color: var(--text); }
html[data-sl-theme="dark"] .hero-proof-name { color: var(--sl-muted); }
html[data-sl-theme="dark"] .hero-proof-link { color: var(--sl-blue-press); }
html[data-sl-theme="dark"] .hero-built { color: var(--text); }
html[data-sl-theme="dark"] .hero-built span { background: #26321a; color: #c9f7a9; }
html[data-sl-theme="dark"] .hero-built:hover { color: var(--sl-blue-press); }
html[data-sl-theme="dark"] .problem { background: var(--sl-mist); }
html[data-sl-theme="dark"] .problem-list p { color: var(--text-2); }
html[data-sl-theme="dark"] .problem-list strong { color: var(--text); }
html[data-sl-theme="dark"] .problem-mark { background: #231210; box-shadow: inset 0 0 0 1.5px #593330; }
html[data-sl-theme="dark"] .problem-mark::before, html[data-sl-theme="dark"] .problem-mark::after { background: #b3261e; }
html[data-sl-theme="dark"] .problem-list-title { color: #ec9590; }
html[data-sl-theme="dark"] .problem-list-title.is-positive { border-top-color: var(--sl-line); color: #c0f5aa; }
html[data-sl-theme="dark"] .problem-mark--good { background: #1f2715; box-shadow: inset 0 0 0 1.5px #516d35; }
html[data-sl-theme="dark"] .problem-mark--good::before { background: none; border-color: #63e72b; }
html[data-sl-theme="dark"] .problem-agitate { border-left-color: #d92e24; color: var(--text); }
html[data-sl-theme="dark"] .problem-solve { background: #121719; box-shadow: inset 0 0 0 1px var(--sl-line), 0 30px 60px -36px rgba(0, 0, 0, 0.75); }
html[data-sl-theme="dark"] .problem-solve::before { background: var(--sl-thread); }
html[data-sl-theme="dark"] .problem-solve p { color: var(--text-2); }
html[data-sl-theme="dark"] .pm-why strong { color: var(--text); }
html[data-sl-theme="dark"] .review-topic { color: var(--sl-blue-press); }
html[data-sl-theme="dark"] .analytics-consent-panel { border-color: var(--sl-line); background: var(--surface); color: var(--text); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.238); }
html[data-sl-theme="dark"] .hero h1 .title-accent { background-image: var(--sl-thread); background-repeat: no-repeat; background-position: 0 100%; background-size: 100% var(--thread-w); }
html[data-sl-theme="dark"] .hero-tagline { background: #121719; box-shadow: inset 0 0 0 1px var(--bp-line-strong); }
html[data-sl-theme="dark"] .hero-kicker { color: var(--text); }
html[data-sl-theme="dark"] .hero-condition { color: var(--text-2); }
html[data-sl-theme="dark"] .hero-condition::before { background: var(--sl-thread); }
html[data-sl-theme="dark"] .hero-audiences-label { color: var(--text-3); }
html[data-sl-theme="dark"] .hero-audiences a { background: #121719; box-shadow: inset 0 0 0 1px var(--sl-line); color: var(--text); }
html[data-sl-theme="dark"] .hero-audiences a:hover { color: var(--sl-blue-press); box-shadow: inset 0 0 0 1.5px var(--accent); }
html[data-sl-theme="dark"] .hero-audiences a:focus-visible { outline-color: var(--focus); }
html[data-sl-theme="dark"] .who { background: linear-gradient(90deg, var(--bp-line) 1px, transparent 1px) 0 0 / 96px 100%, #121719; }
html[data-sl-theme="dark"] .who-lead { color: var(--text-2); }
html[data-sl-theme="dark"] .who-list { border-top-color: var(--sl-line); }
html[data-sl-theme="dark"] .who-row { border-bottom-color: var(--sl-line); }
html[data-sl-theme="dark"] .who-row::before { background: var(--sl-thread); }
html[data-sl-theme="dark"] .who-index { color: var(--sl-blue); }
html[data-sl-theme="dark"] .who-tag { color: var(--text-3); }
html[data-sl-theme="dark"] .who-hook { color: var(--text); }
html[data-sl-theme="dark"] .who-boundary { color: var(--sl-muted); }
html[data-sl-theme="dark"] .who-cta { color: var(--sl-blue-press); }
html[data-sl-theme="dark"] .who-cta svg { fill: none; stroke: currentColor; }
html[data-sl-theme="dark"] .who-cta:focus-visible { outline-color: var(--focus); }
html[data-sl-theme="dark"] .problem { background: linear-gradient(var(--bp-line) 1px, transparent 1px) 0 0 / 100% 32px,
    linear-gradient(90deg, var(--bp-line) 1px, transparent 1px) 0 0 / 32px 100%,
    var(--sl-mist); }
html[data-sl-theme="dark"] .problem-solve { box-shadow: inset 0 0 0 1px var(--sl-line), 0 24px 48px -36px rgba(0, 0, 0, 0.68); }
html[data-sl-theme="dark"] .message-page { background: linear-gradient(180deg, #121719 0, #121719 96px, var(--sl-mist) 96px); }
@media (max-width: 520px) {
  html[data-sl-theme="dark"] .message-page { background: linear-gradient(180deg, #121719 0, #121719 84px, var(--sl-mist) 84px); }
}
@media (prefers-reduced-motion: reduce) {
  html[data-sl-theme="dark"] .hero h1 .title-accent { background-size: 100% var(--thread-w); }
}
html[data-sl-theme="dark"] .message-page, html[data-sl-theme="dark"] .message-page.action-page { background: #121719; }
@media (max-width: 520px) {
  html[data-sl-theme="dark"] .message-page { background: #121719; }
}
html[data-sl-theme="dark"] .message-panel { box-shadow: inset 0 0 0 1px var(--sl-line), 0 18px 40px -30px rgba(0, 0, 0, 0.595); background: linear-gradient(180deg, #121719, var(--sl-mist)); }
html[data-sl-theme="dark"] .hero-reviews { background: #121719; box-shadow: inset 0 0 0 1px var(--sl-line), var(--lift-1); color: var(--text); }
html[data-sl-theme="dark"] .hero-reviews:hover { box-shadow: inset 0 0 0 1px #284866, 0 14px 28px -18px rgba(0, 0, 0, 0.75); }
html[data-sl-theme="dark"] .hero-reviews:focus-visible, html[data-sl-theme="dark"] .hero-built:focus-visible { outline-color: var(--focus); }
html[data-sl-theme="dark"] .hero-faces img { box-shadow: 0 0 0 2px #29353d; }
html[data-sl-theme="dark"] .hero-proof-text q { color: var(--text); }
html[data-sl-theme="dark"] .hero-proof-name { color: var(--sl-muted); }
html[data-sl-theme="dark"] .hero-proof-link { color: var(--sl-blue-press); }
html[data-sl-theme="dark"] .hero-built { color: var(--text); }
html[data-sl-theme="dark"] .hero-built span { background: #26321a; color: #c9f7a9; }
html[data-sl-theme="dark"] .hero-built:hover { color: var(--sl-blue-press); }
html[data-sl-theme="dark"] .reviews { background: linear-gradient(90deg, var(--bp-line) 1px, transparent 1px) 0 0 / 96px 100%,
    linear-gradient(180deg, #121719, var(--sl-mist)); }
html[data-sl-theme="dark"] .reviews-title::after { background: var(--sl-thread); }
html[data-sl-theme="dark"] .review-topic { color: var(--sl-blue-press); }
html[data-sl-theme="dark"] .review figure::before { background: var(--sl-thread); }
html[data-sl-theme="dark"] .reviews > .reviews-note { color: var(--sl-muted); }
html[data-sl-theme="dark"] .earn-start { background: var(--surface); box-shadow: inset 0 0 0 1px var(--sl-line), var(--lift-1); }
html[data-sl-theme="dark"] .earn-steps p { color: var(--text-2); }
html[data-sl-theme="dark"] .earn-steps strong { color: var(--text); }
html[data-sl-theme="dark"] .earn-step-num { background: var(--sl-ice); color: var(--sl-blue-press); }
html[data-sl-theme="dark"] .vat-q-label { color: var(--text); }
html[data-sl-theme="dark"] .vat-q-help { color: var(--text-3); }
html[data-sl-theme="dark"] .vat-pct, html[data-sl-theme="dark"] .vat-money { border-color: var(--sl-control); background: #121719; }
html[data-sl-theme="dark"] .vat-pct:focus-within, html[data-sl-theme="dark"] .vat-money:focus-within { outline-color: var(--focus); }
html[data-sl-theme="dark"] .vat-pct input, html[data-sl-theme="dark"] .vat-money input { background: transparent; color: var(--text); }
html[data-sl-theme="dark"] .vat-pct > span, html[data-sl-theme="dark"] .vat-money > span { color: var(--text-2); }
html[data-sl-theme="dark"] .vat-pct:has([aria-invalid="true"]), html[data-sl-theme="dark"] .vat-money:has([aria-invalid="true"]) { border-color: #b54a43; box-shadow: inset 0 0 0 1px #b54a43; }
html[data-sl-theme="dark"] .vat-yours { background: var(--sl-mist); box-shadow: inset 0 0 0 1px var(--sl-line); color: var(--text-2); }
html[data-sl-theme="dark"] .vat-yours b { color: var(--text); }
html[data-sl-theme="dark"] .vat-value label { color: var(--text); }
html[data-sl-theme="dark"] .vat-result { background: #121719; box-shadow: inset 0 0 0 1px var(--sl-line), var(--lift-1); }
html[data-sl-theme="dark"] .vat-row-title { color: var(--text); }
html[data-sl-theme="dark"] .vat-row-vat { color: var(--text-2); }
html[data-sl-theme="dark"] .vat-row-vat b { color: var(--text); }
html[data-sl-theme="dark"] .vat-bar { background: var(--sl-mist); box-shadow: inset 0 0 0 1px var(--sl-line); }
html[data-sl-theme="dark"] .is-contractor .vat-bar i { background: #62332f; }
html[data-sl-theme="dark"] .is-manager .vat-bar i { background: #4fae16; }
html[data-sl-theme="dark"] .vat-row-note { color: var(--text-2); }
html[data-sl-theme="dark"] .vat-row-note b { color: var(--text); }
html[data-sl-theme="dark"] .vat-saving { background: #1f2715; box-shadow: inset 0 0 0 1.5px #516d35; }
html[data-sl-theme="dark"] .vat-saving span { color: #d4f6ba; }
html[data-sl-theme="dark"] .vat-saving b { color: var(--text); }
html[data-sl-theme="dark"] .vat-saving small { color: var(--text-2); }
html[data-sl-theme="dark"] .vat-note { color: var(--text-3); }
html[data-sl-theme="dark"] .pm-manager small span { color: inherit; }
html[data-sl-theme="dark"] .story-bar { background: #121719; border-color: var(--sl-line); box-shadow: var(--lift-1); }
html[data-sl-theme="dark"] .problem { background: var(--sl-mist); }
html[data-sl-theme="dark"] .who { background: #121719; }
html[data-sl-theme="dark"] .how.pm, html[data-sl-theme="dark"] .pm { background: #121b22; background-image: none; }
html[data-sl-theme="dark"] .project-fit-section { background: #121719; background-image: none; }
html[data-sl-theme="dark"] .reviews { background: var(--sl-mist); }
html[data-sl-theme="dark"] .hero { background: radial-gradient(55% 45% at 0% 0%, rgba(120, 207, 37, 0.11), transparent 70%),
    radial-gradient(45% 40% at 30% 100%, rgba(8, 118, 219, 0.08), transparent 70%),
    #121719; }
html[data-sl-theme="dark"] .signup-card, html[data-sl-theme="dark"] .pm-card, html[data-sl-theme="dark"] .fit-card, html[data-sl-theme="dark"] .problem-solve, html[data-sl-theme="dark"] .vat-result, html[data-sl-theme="dark"] .earn-start, html[data-sl-theme="dark"] .pm-why { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--edge) border-box; box-shadow: var(--lift-2); }
html[data-sl-theme="dark"] .pm-why, html[data-sl-theme="dark"] .earn-start, html[data-sl-theme="dark"] .vat-result { box-shadow: var(--lift-1); }
html[data-sl-theme="dark"] .site-header { background: rgba(18, 23, 25, 0.96); }
html[data-sl-theme="dark"] .site-header::after { background: var(--sl-thread); }
html[data-sl-theme="dark"] .site-header.is-scrolled { border-bottom-color: transparent; box-shadow: 0 8px 24px -20px rgba(0, 0, 0, 0.75); }
html[data-sl-theme="dark"] .section-eyebrow::before { background: var(--sl-thread); }
html[data-sl-theme="dark"] .button--blue { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 8px 18px -12px rgba(0, 0, 0, 0.75); }
html[data-sl-theme="dark"] .who-row::before { background: var(--sl-thread); }
html[data-sl-theme="dark"].intro-play .intro { background: radial-gradient(50% 40% at 30% 35%, rgba(120, 207, 37, 0.1), transparent 70%),
    radial-gradient(45% 40% at 70% 65%, rgba(8, 118, 219, 0.09), transparent 70%),
    #121719; }
html[data-sl-theme="dark"] .intro-thread { background: var(--sl-thread); }
html[data-sl-theme="dark"] .theme-toggle { border-color: var(--sl-line); background: var(--surface); color: var(--text); }
html[data-sl-theme="dark"] .theme-toggle:hover { border-color: var(--sl-control); background: var(--sl-mist); }
html[data-sl-theme="dark"] .theme-toggle:focus-visible { outline-color: var(--focus); }
html[data-sl-theme="dark"] .theme-toggle-icon { background: var(--sl-ice); }
html[data-sl-theme="dark"] .theme-toggle-icon svg { fill: none; stroke: currentColor; }
html[data-sl-theme="dark"] .theme-pop { border-color: transparent; background: linear-gradient(var(--surface-raised), var(--surface-raised)) padding-box, var(--edge) border-box; box-shadow: var(--lift-2); }
html[data-sl-theme="dark"] .theme-pop::before { background: var(--surface-raised); box-shadow: -1px -1px 0 var(--sl-line); }
html[data-sl-theme="dark"] .theme-pop-title { color: var(--text); }
html[data-sl-theme="dark"] .theme-choice { border-color: var(--sl-line); background: var(--surface); color: var(--text); }
html[data-sl-theme="dark"] .theme-choice:hover { border-color: var(--accent); }
html[data-sl-theme="dark"] .theme-choice:focus-visible { outline-color: var(--focus); }
html[data-sl-theme="dark"] .theme-choice[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.306); }
html[data-sl-theme="dark"] .theme-swatch { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.204); }
html[data-sl-theme="dark"] .theme-swatch.is-light { background: linear-gradient(#121719 0 32%, transparent 32%) 8px 9px / 58% 34% no-repeat, linear-gradient(90deg, #78cf25, #0876db) 8px 34px / 40% 5px no-repeat, #141d23; }
html[data-sl-theme="dark"] .theme-swatch.is-dark { background: linear-gradient(#1a2a34 0 32%, transparent 32%) 8px 9px / 58% 34% no-repeat, linear-gradient(90deg, #78cf25, #244a73) 8px 34px / 40% 5px no-repeat, #0c151b; }
html[data-sl-theme="dark"] .theme-pop-note { color: var(--text-3); }
html[data-sl-theme="dark"] .pm-card-title { color: var(--text-3); }
html[data-sl-theme="dark"] .pm-status::before { background: var(--sl-control); }
html[data-sl-theme="dark"] .pm-flow.is-returned .pm-status::before { background: #4fae16; box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.34); }
html[data-sl-theme="dark"] .pm-split i { background: var(--c); }
html[data-sl-theme="dark"] .pm-split .pm-cpm { background: var(--sl-thread); }
html[data-sl-theme="dark"] .pm-row { background: transparent; box-shadow: none; border-bottom-color: var(--sl-line); }
html[data-sl-theme="dark"] .pm-row.is-confirmed { background: transparent; box-shadow: none; }
html[data-sl-theme="dark"] .pm-icon { background: color-mix(in srgb, var(--c) 13%, transparent); color: var(--c); }
html[data-sl-theme="dark"] .pm-icon svg { fill: none; stroke: currentColor; }
html[data-sl-theme="dark"] .pm-manager .pm-icon.pm-cpm { background: var(--sl-thread); color: #ffffff; }
html[data-sl-theme="dark"] .pm-amount--edit { background: var(--sl-mist); box-shadow: inset 0 0 0 1px var(--sl-line); }
@media (hover: hover) and (pointer: fine) {
  html[data-sl-theme="dark"] .pm-amount--edit:hover { box-shadow: inset 0 0 0 1px var(--sl-control); }
}
html[data-sl-theme="dark"] .pm-amount--edit:focus-within { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px rgba(0, 0, 0, 0.238); }
html[data-sl-theme="dark"] .pm-check { box-shadow: inset 0 0 0 1.5px var(--sl-line); }
html[data-sl-theme="dark"] .pm-trades-total { border-top-color: var(--sl-line); }
html[data-sl-theme="dark"] .pm-trades-total b { color: var(--text); }
html[data-sl-theme="dark"] .pm-manager { background: linear-gradient(135deg, rgba(120, 207, 37, 0.12), rgba(8, 118, 219, 0.07)); box-shadow: inset 0 0 0 1px rgba(120, 207, 37, 0.38); }
html[data-sl-theme="dark"] .pm-manager > div > span { color: var(--text); }
html[data-sl-theme="dark"] .pm-total span { color: var(--text); }
html[data-sl-theme="dark"] .pm-send svg { fill: none; stroke: currentColor; }
html[data-sl-theme="dark"] .wallet { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--edge) border-box; box-shadow: var(--lift-1); }
html[data-sl-theme="dark"] .wallet-lead { color: var(--text-2); }
html[data-sl-theme="dark"] .wallet-step p { color: var(--text-2); }
html[data-sl-theme="dark"] .wallet-callout { background: linear-gradient(135deg, rgba(120, 207, 37, 0.12), rgba(8, 118, 219, 0.07)); box-shadow: inset 0 0 0 1px rgba(120, 207, 37, 0.38); color: var(--text-2); }
html[data-sl-theme="dark"] .wallet-callout strong { color: var(--text); }
html[data-sl-theme="dark"] .wallet-note { color: var(--text-3); }
html[data-sl-theme="dark"] .wallet-protect p { color: var(--text-2); }
html[data-sl-theme="dark"] .wallet-protect strong { color: var(--text); }
html[data-sl-theme="dark"] .wallet-protect-icon { background: color-mix(in srgb, var(--sl-blue) 12%, transparent); color: var(--sl-blue-press); }
html[data-sl-theme="dark"] .wallet-protect-icon svg { fill: none; stroke: currentColor; }
/* ── GENERATED dark theme: end ── */

/* ════ DARK THEME (hand-written) ════════════════════════════════════════
   The dark palette. Everything else in dark mode comes from the generated
   block above. Applied when <html data-sl-theme="dark"> (set by intro.js from the
   visitor's saved choice before first paint, and by the Appearance control).
   ════════════════════════════════════════════════════════════════════════ */
:root[data-sl-theme="dark"] {
  color-scheme: dark;
  --sl-white: #0f1a21;
  --sl-ice: #132631;
  --sl-mist: #0b151b;
  --sl-ink: #e7eef2;
  --sl-body: #b4c4cd;
  --sl-muted: #8fa4b0;
  --sl-line: #243641;
  --sl-ice-deep: #1a3342;
  --sl-control: #5d7380;
  --sl-blue: #2e8cf0;
  --sl-blue-press: #5aa7ff;
  --sl-green-press: #8bdc3d;
  --surface-raised: #13212a;
  --focus: #5aa7ff;
  --bp-line: rgba(90, 167, 255, .08);
  --bp-line-strong: rgba(90, 167, 255, .2);
  --lift-1: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 14px -8px rgba(0, 0, 0, .6);
  --lift-2: 0 1px 2px rgba(0, 0, 0, .45), 0 18px 36px -22px rgba(0, 0, 0, .85);
  --edge: linear-gradient(135deg, rgba(120, 207, 37, .6), rgba(255, 255, 255, .08) 30%, rgba(255, 255, 255, .08) 70%, rgba(46, 140, 240, .65));
}
html[data-sl-theme="dark"] body { background: var(--surface); color: var(--text); }
/* Text on the green action colour stays dark in both themes. */
html[data-sl-theme="dark"] .button--primary, html[data-sl-theme="dark"] .nav-join, html[data-sl-theme="dark"] .skip-link:focus,
html[data-sl-theme="dark"] .pm-flow.is-complete .pm-send, html[data-sl-theme="dark"] .ref-pop-yes { color: #10202a !important; }
/* The brand wordmark in body copy, lifted for dark backgrounds. */
html[data-sl-theme="dark"] .wordmark-settle { color: #93e04a; }
html[data-sl-theme="dark"] .wordmark-link { color: #6fb3ff; }
/* Photos sit a touch dimmer so they don't glare against dark sections. */
html[data-sl-theme="dark"] .hero-slide, html[data-sl-theme="dark"] .fit-photo img, html[data-sl-theme="dark"] .earn-photo img { filter: brightness(.9); }
/* Both pop-ups lift off the dark page with a little more edge. */
/* The referral pop-up's dark version: an ink card with a glowing edge. */
html[data-sl-theme="dark"] .ref-pop {
  --rp-bg: linear-gradient(160deg, #15262f, #0f1d26 70%);
  --rp-edge: linear-gradient(135deg, rgba(120, 207, 37, .85), rgba(255, 255, 255, .08) 40%, rgba(255, 255, 255, .08) 60%, rgba(8, 118, 219, .9));
  --rp-shadow: 0 26px 50px -22px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06);
  --rp-title: #ffffff;
  --rp-sub: #a7bdca;
  --rp-amount: #93e04a;
  --rp-settle: #93e04a;
  --rp-link: #74b9ff;
  --rp-no-bg: rgba(255, 255, 255, .06);
  --rp-no-hover: rgba(255, 255, 255, .12);
  --rp-no-fg: #ffffff;
  --rp-no-ring: rgba(255, 255, 255, .2);
  --rp-sheen: rgba(255, 255, 255, .07);
  --rp-focus: #ffffff;
}
html[data-sl-theme="dark"] .theme-choice[aria-pressed="true"] { box-shadow: 0 0 0 3px rgba(90, 167, 255, .25); }
html[data-sl-theme="dark"] .theme-swatch { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
/* Filled blue controls use a deeper blue so white text keeps 4.5:1 contrast. */
html[data-sl-theme="dark"] .button--blue, html[data-sl-theme="dark"] .button--secondary, html[data-sl-theme="dark"] .story-selector[aria-current="true"] span { background-color: #1a6fd1; }
html[data-sl-theme="dark"] .button--blue:hover, html[data-sl-theme="dark"] .button--secondary:hover:not(:disabled) { background-color: #1660b8; }
/* Stage card trade colours, lifted for dark backgrounds. */
html[data-sl-theme="dark"] .pm-c0 { --c: #8fd65a; } html[data-sl-theme="dark"] .pm-c1 { --c: #4cc9a8; }
html[data-sl-theme="dark"] .pm-c2 { --c: #5cb6ee; } html[data-sl-theme="dark"] .pm-c3 { --c: #7da2ff; }
/* The example e-wallet card: light card in light mode, ink card with a lifted edge in dark mode. */
html[data-sl-theme="dark"] .wallet-card { background: #16262f; box-shadow: 0 28px 50px -28px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .08); color: #ffffff; }
html[data-sl-theme="dark"] .wallet-card-tag { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .78); }
html[data-sl-theme="dark"] .wallet-balance span, html[data-sl-theme="dark"] .wallet-left span { color: rgba(255, 255, 255, .7); }
html[data-sl-theme="dark"] .wallet-spends li { border-top-color: rgba(255, 255, 255, .1); }
html[data-sl-theme="dark"] .wallet-spends span:not(.wallet-spend-icon) { color: rgba(255, 255, 255, .88); }
html[data-sl-theme="dark"] .wallet-spend-icon { background: rgba(255, 255, 255, .08); color: #ffffff; }
html[data-sl-theme="dark"] .wallet-left { border-top-color: rgba(255, 255, 255, .18); }
html[data-sl-theme="dark"] .wallet-books { color: #b7ec86; }
html[data-sl-theme="dark"] .wallet-mcc { background: rgba(46, 140, 240, .18); color: #a9d2ff; }
html[data-sl-theme="dark"] .wallet-return { color: rgba(255, 255, 255, .78); }
/* "Client notified" alert: a raised dark glass strip instead of a white slab. */
html[data-sl-theme="dark"] .wallet-notify { background: linear-gradient(180deg, #223845, #1c2f3a); color: #eef4f8; box-shadow: 0 12px 26px -16px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .1); }
html[data-sl-theme="dark"] .wallet-notify div span { color: #b4c6d1; }
html[data-sl-theme="dark"] .wallet-notify time { color: #8fa6b4; }
/* Comparison bars keep their full colour on dark. */
html[data-sl-theme="dark"] .is-contractor .vat-bar i { background: #e0645a; }

/* Early-access role step: the 'Tell us what you are' field only exists while Other is chosen. */
.field[hidden] { display: none; }
.field-hint { margin-top: 6px; color: var(--text-3); font-size: .8125rem; line-height: 1.4; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #b3261e; }
html[data-sl-theme="dark"] .field input[aria-invalid="true"], html[data-sl-theme="dark"] .field select[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #ff8a80; }

/* Reviews: centred heading block, and on desktop a balanced grid of equal-height cards (phones keep the swipe row). */
.reviews-head { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.reviews-head .reviews-nav { grid-column: 1; grid-row: auto; justify-content: center; }
.reviews-title { max-width: 26ch; }
.reviews-title::after { left: 50%; margin-left: -60px; }
.reviews .reviews-roles .roles-label, .reviews .manifesto-roles { justify-content: center; text-align: center; }
.reviews .role-list { justify-content: center; }
.reviews > .reviews-note, .reviews .reviews-note { max-width: 70ch; margin-inline: auto; text-align: center; }
.review figure { height: 100%; }
@media (min-width: 860px) {
  .reviews .reviews-viewport { overflow: visible; max-width: 1240px; margin-inline: auto; padding: 8px var(--gutter) 24px; scroll-snap-type: none; }
  .reviews .reviews-track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: auto; gap: 20px; }
  .reviews .review { width: auto; }
}
@media (min-width: 1200px) { .reviews .reviews-track { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Release-date banner above the header: states the release date and points to the register-interest form. */
.release-banner { position: relative; z-index: 31; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; padding: 8px 16px; background: var(--sl-blue); color: #fff; text-align: center; }
.release-banner p { margin: 0; font-size: .95rem; font-weight: 650; letter-spacing: .005em; }
.release-banner__cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--sl-green); color: #1b2a12 !important; font-size: .95rem; font-weight: 750; text-decoration: none; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .45); transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease; }
.release-banner__cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 160ms ease; }
.release-banner__cta:hover { background: #8be23a; transform: translateY(-1px); box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5); }
.release-banner__cta:hover svg { transform: translateX(3px); }
.release-banner__cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 560px) { .release-banner { flex-direction: column; gap: 6px; padding: 8px 12px 10px; } .release-banner p { font-size: .9rem; } .release-banner__cta { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .release-banner__cta, .release-banner__cta svg { transition: none; } .release-banner__cta:hover, .release-banner__cta:hover svg { transform: none; } }
/* The banner is blue in both themes, so the wordmark inside it is light. */
html .release-banner .wordmark-settle { color: #d4f7ab; }
html .release-banner .wordmark-link { color: #fff; }

/* Confirmation / error alert for the register-your-interest form (same look as the dev and staging alerts). */
/* Confirmation alert for the hosted dev and staging early-access page. Only transform and opacity are animated, so it stays
   smooth on slow devices; with reduced motion it simply appears. */
.sl-alert-backdrop {
  position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; padding: 20px;
  background: rgba(7, 14, 30, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 220ms ease-out;
}
.sl-alert-backdrop.is-open { opacity: 1; }
.sl-alert {
  position: relative; width: min(100%, 420px); padding: 32px 28px 24px; text-align: center;
  border-radius: 24px; background: #ffffff; color: #0f1b33;
  border: 1px solid rgba(15, 27, 51, 0.08);
  box-shadow: 0 30px 80px -20px rgba(7, 14, 30, 0.55), 0 2px 0 rgba(255, 255, 255, 0.6) inset;
  transform: translateY(14px) scale(0.96); opacity: 0;
  transition: transform 280ms cubic-bezier(0.2, 0.9, 0.3, 1.1), opacity 220ms ease-out;
  will-change: transform, opacity;
}
.sl-alert-backdrop.is-open .sl-alert { transform: none; opacity: 1; }
.sl-alert-icon {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #a3e635, #4ade80); color: #10240a;
  box-shadow: 0 10px 24px -10px rgba(74, 222, 128, 0.8);
  transform: scale(0.6); transition: transform 420ms cubic-bezier(0.2, 1.4, 0.3, 1) 120ms;
}
.sl-alert-backdrop.is-open .sl-alert-icon { transform: none; }
.sl-alert[data-tone="error"] .sl-alert-icon { background: linear-gradient(135deg, #fda4af, #fb7185); color: #4c0519; box-shadow: 0 10px 24px -10px rgba(251, 113, 133, 0.8); }
.sl-alert-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sl-alert-icon path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 360ms ease-out 320ms; }
.sl-alert-backdrop.is-open .sl-alert-icon path { stroke-dashoffset: 0; }
.sl-alert h2 { margin: 0 0 8px !important; font-family: inherit !important; font-weight: 800 !important; font-size: 1.4rem !important; line-height: 1.2 !important; letter-spacing: -0.02em !important; color: inherit !important; }
.sl-alert p { margin: 0 0 22px !important; font-size: 1rem !important; line-height: 1.55 !important; color: #52607a; }
.sl-alert button {
  width: 100%; min-height: 50px; border: 0; border-radius: 14px; cursor: pointer;
  font: 700 1rem inherit; color: #ffffff; background: #2f6bff;
  box-shadow: 0 10px 20px -12px rgba(47, 107, 255, 0.9);
  transition: transform 140ms ease-out, background-color 160ms;
}
.sl-alert button:hover { background: #2559d9; }
.sl-alert button:active { transform: scale(0.98); }
.sl-alert button:focus-visible { outline: 3px solid rgba(47, 107, 255, 0.45); outline-offset: 3px; }
html[data-sl-theme="dark"] .sl-alert { background: #101a30; color: #eaf0fb; border-color: rgba(255, 255, 255, 0.08); }
html[data-sl-theme="dark"] .sl-alert p { color: #9fb2d6; }
@media (prefers-reduced-motion: reduce) {
  .sl-alert-backdrop, .sl-alert, .sl-alert-icon, .sl-alert-icon path, .sl-alert button { transition: none !important; }
  .sl-alert { transform: none; opacity: 1; }
  .sl-alert-icon { transform: none; }
  .sl-alert-icon path { stroke-dashoffset: 0; }
}
