/* Klusa Holdings v2. Light-first brand theme with optional dark mode.
   Tokens follow Brand Identity v2.0 (src/brand-tokens.json): Night, Klusa Blue, Signal Blue, Deep Blue, Paper, Brass. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/fonts/schibsted-grotesk-latin-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #080D16;
  --night-2: #0E1624;
  --klusa-blue: #4166F5;
  --deep-blue: #2C4BDE;
  --signal-blue: #8197FF;
  --paper: #F5F4F0;

  --bg: #FFFFFF;
  --bg-alt: #F5F4F0;
  --surface: #FFFFFF;
  --surface-2: #F3F2EE;
  --field: #FCFCFA;
  --line: #E4E2DB;
  --line-strong: #CBC8BE;
  --ink: #141B29;
  --ink-strong: #080D16;
  --muted: #566173;
  --muted-strong: #384355;
  --blue: #2C4BDE;
  --blue-strong: #4166F5;
  --blue-hover: #3354E6;
  --blue-soft: #E8ECFE;
  --gold: #7A5F2A;
  --ok-bg: #E4F3EA;
  --ok-ink: #17603C;
  --danger: #A72E3A;
  --danger-bg: #FBEAEC;
  --warn-bg: #FBF4E4;
  --warn-line: #E6D3A8;
  --warn-ink: #5A4520;
  --on-dark: #EEF1F6;
  --on-dark-muted: #B4BFCF;
  --header-bg: rgba(255, 255, 255, .86);
  --ledger: rgba(20, 27, 41, .055);
  --shadow-sm: 0 1px 2px rgba(8, 13, 22, .06), 0 2px 6px rgba(8, 13, 22, .04);
  --shadow-md: 0 6px 18px rgba(8, 13, 22, .08), 0 2px 6px rgba(8, 13, 22, .05);
  --shadow-lg: 0 24px 60px -18px rgba(8, 13, 22, .22), 0 8px 20px -10px rgba(8, 13, 22, .12);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --header-h: 72px;
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

html.theme-dark {
  --bg: #080D16;
  --bg-alt: #0B111C;
  --surface: #0E1624;
  --surface-2: #131D2F;
  --field: #0B1220;
  --line: #1D2940;
  --line-strong: #2E3D58;
  --ink: #EEF1F6;
  --ink-strong: #FFFFFF;
  --muted: #9AA7BA;
  --muted-strong: #C5CDD9;
  --blue: #8197FF;
  --blue-strong: #4166F5;
  --blue-hover: #5577FF;
  --blue-soft: #16244A;
  --gold: #C9AE76;
  --ok-bg: rgba(46, 160, 103, .16);
  --ok-ink: #8BD9B0;
  --danger: #FF9B9B;
  --danger-bg: rgba(255, 155, 155, .12);
  --warn-bg: rgba(201, 174, 118, .12);
  --warn-line: rgba(201, 174, 118, .35);
  --warn-ink: #E9D9B4;
  --header-bg: rgba(8, 13, 22, .84);
  --ledger: rgba(238, 241, 246, .045);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 8px 22px rgba(0, 0, 0, .35);
  --shadow-lg: 0 28px 60px -20px rgba(0, 0, 0, .7), 0 10px 24px -12px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; font-weight: 400; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { color: var(--ink-strong); font-weight: 700; letter-spacing: -.028em; line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.8vw, 3.85rem); letter-spacing: -.038em; line-height: 1.04; }
h2 { font-size: clamp(1.8rem, 3.1vw, 2.55rem); }
h3, .h3 { font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.3; font-weight: 650; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 650; }
code { font-size: .9em; background: var(--surface-2); padding: .1em .35em; border-radius: 4px; }
::selection { background: var(--blue-strong); color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; float: none !important; }

.wrap { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 36px); }
.wrap.narrow { max-width: 760px; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--night); color: #fff; padding: 12px 18px; border-radius: var(--radius); font-weight: 650; text-decoration: none; }
.skip-link:focus { top: 12px; }

.preview-bar { background: var(--warn-bg); color: var(--warn-ink); border-bottom: 1px solid var(--warn-line); font-size: .84rem; font-weight: 600; text-align: center; padding: 7px 0; }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: 0 1.35rem; border-radius: var(--radius); border: 1.5px solid transparent; font: inherit; font-size: 1rem; font-weight: 650; letter-spacing: -.005em; line-height: 1.1; text-decoration: none; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease; white-space: nowrap; }
.btn .icon { width: 18px; height: 18px; transition: transform .18s ease; }
.btn:hover .icon { transform: translateX(2px); }
.btn-primary { background: var(--blue-strong); color: #fff; box-shadow: 0 6px 16px -8px rgba(65, 102, 245, .7); }
.btn-primary:hover { background: var(--blue-hover); color: #fff; transform: translateY(-1px); }
.btn-secondary { background: var(--surface); color: var(--ink-strong); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink-strong); }
.btn-light { background: #fff; color: var(--night); }
.btn-light:hover { background: #E8ECFE; color: var(--night); transform: translateY(-1px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .42); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-sm { min-height: 42px; padding: 0 1rem; font-size: .95rem; }
.btn-lg { min-height: 54px; padding: 0 1.6rem; font-size: 1.05rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; text-decoration: none; color: var(--blue); }
.text-link .icon { width: 18px; height: 18px; transition: transform .18s ease; }
.text-link:hover .icon { transform: translateX(3px); }
.center-link { text-align: center; margin-top: 32px; }
.small-note { color: var(--muted); font-size: .92rem; margin-top: 20px; }

/* Eyebrow with the Klusa "parent rule" (6:1 bar). */
.eyebrow { display: flex; align-items: center; gap: .7rem; margin: 0 0 18px; color: var(--blue); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; line-height: 1.3; }
.eyebrow .rule { width: 24px; height: 4px; background: var(--blue-strong); border-radius: 1px; flex: none; }
.eyebrow-light { color: #C5CDD9; }
.eyebrow-light .rule { background: var(--signal-blue); }

/* ---------- Header ---------- */
/* The blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu inside it. */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--header-bg); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(8, 13, 22, .35); }
.header-inner { position: relative; display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink-strong); flex: none; }
.wordmark-main { font-size: 1.62rem; font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.wordmark-dot { color: var(--blue-strong); }
html.theme-dark .wordmark-dot { color: var(--signal-blue); }
.wordmark-sub { padding-left: 12px; border-left: 1.5px solid var(--line-strong); font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-strong); line-height: 1.2; max-width: 9.5em; }
.site-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: var(--radius); color: var(--ink); font-weight: 560; font-size: .98rem; text-decoration: none; cursor: pointer; list-style: none; transition: background-color .15s ease, color .15s ease; }
.nav-link::-webkit-details-marker { display: none; }
.nav-link .icon { width: 16px; height: 16px; transition: transform .2s ease; color: var(--muted); }
.nav-link:hover, .menu[open] > .nav-link { background: var(--surface-2); color: var(--ink-strong); }
.menu[open] > .nav-link .icon { transform: rotate(180deg); }
.nav-item.is-active > .menu > .nav-link, .nav-link.is-current { color: var(--blue); }
.nav-item.is-active > .menu > .nav-link { box-shadow: inset 0 -2px 0 var(--blue-strong); border-radius: var(--radius) var(--radius) 0 0; }
.menu-panel { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: min(940px, calc(100% - 32px)); display: grid; grid-template-columns: 1.05fr 1.2fr 1.2fr; gap: 8px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); animation: menu-in .18s ease; }
@keyframes menu-in { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: 1; transform: translate(-50%, 0); } }
.menu-intro { background: var(--bg-alt); border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.menu-kicker { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.menu-intro p:not(.menu-kicker) { color: var(--muted-strong); font-size: .95rem; margin: 0; }
.menu-hub { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.menu-hub .icon { width: 17px; height: 17px; }
.menu-group { padding: 12px 8px; }
.menu-group-title { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 10px 8px; }
.menu-group ul { list-style: none; display: grid; gap: 2px; }
.menu-group a { display: flex; gap: 12px; padding: 10px; border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: background-color .15s ease; }
.menu-group a:hover { background: var(--surface-2); }
.menu-group strong { display: block; font-size: .97rem; color: var(--ink-strong); }
.menu-group small { display: block; font-size: .86rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.menu-icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: var(--radius); background: var(--blue-soft); color: var(--blue); }
.menu-icon .icon { width: 20px; height: 20px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: border-color .15s ease; }
.theme-btn:hover { border-color: var(--line-strong); }
.theme-btn .icon { width: 20px; height: 20px; }
.theme-btn .icon-sun, html.theme-dark .theme-btn .icon-moon { display: none; }
html.theme-dark .theme-btn .icon-sun { display: block; }
html.no-js .theme-btn { display: none; }

/* Mobile navigation (details-based so it works without JavaScript). */
.m-nav { display: none; }
.m-toggle { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--ink-strong); font-weight: 650; cursor: pointer; }
.m-toggle::-webkit-details-marker { display: none; }
.m-toggle .icon { width: 20px; height: 20px; }
.m-toggle .icon-close, .m-nav[open] .m-toggle .icon-open { display: none; }
.m-nav[open] .m-toggle .icon-close { display: block; }
.m-panel { position: fixed; left: 0; right: 0; top: var(--m-top, var(--header-h)); bottom: 0; background: var(--bg); overflow-y: auto; padding: 16px clamp(16px, 4vw, 36px) 40px; border-top: 1px solid var(--line); z-index: 49; }
.m-panel nav { display: grid; gap: 4px; max-width: 640px; margin-inline: auto; }
.m-group { border-bottom: 1px solid var(--line); }
.m-group summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 56px; font-size: 1.15rem; font-weight: 650; color: var(--ink-strong); cursor: pointer; }
.m-group summary::-webkit-details-marker { display: none; }
.m-group summary .icon { width: 20px; height: 20px; color: var(--muted); transition: transform .2s ease; }
.m-group[open] summary .icon { transform: rotate(180deg); }
.m-group ul { list-style: none; display: grid; gap: 2px; padding-bottom: 14px; }
.m-group a { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 10px; border-radius: var(--radius); color: var(--ink); text-decoration: none; font-weight: 550; }
.m-group a .icon { width: 20px; height: 20px; color: var(--blue); }
.m-group a:hover { background: var(--surface-2); }
.m-link { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); font-size: 1.15rem; font-weight: 650; color: var(--ink-strong); text-decoration: none; }
.m-actions { display: grid; gap: 10px; margin-top: 24px; }
html.menu-open, html.menu-open body { overflow: hidden; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8.5vw, 112px); }
.section-alt { background: var(--bg-alt); }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }
.section-narrow .wrap { max-width: 880px; }
.section-head { max-width: 760px; margin-bottom: clamp(30px, 4vw, 48px); }
.section-head .lead { margin-top: 16px; }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); line-height: 1.6; color: var(--muted-strong); }
.lead strong { color: var(--ink-strong); }

/* Ledger lines: quiet horizontal rules from the brand system. */
.home-hero, .page-hero, .legal-hero { position: relative; background: var(--bg-alt); isolation: isolate; }
.home-hero::before, .page-hero::before, .legal-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--ledger) 1px, transparent 1px); background-size: 100% 56px; -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); }

/* ---------- Home hero & gateway ---------- */
.home-hero { padding-block: clamp(32px, 4vw, 52px) clamp(44px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.home-hero-copy { max-width: 1000px; }
.home-hero h1 { font-size: clamp(2.35rem, 4.7vw, 3.7rem); max-width: 15em; }
.home-hero .lead { margin-top: 18px; max-width: 880px; }
.gateway { margin-top: clamp(28px, 3vw, 36px); }
.gateway-title { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.gateway-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.path { position: relative; display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--radius-xl); color: #fff; overflow: hidden; isolation: isolate; box-shadow: var(--shadow-lg); }
.path::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 100% 44px; -webkit-mask-image: linear-gradient(200deg, #000, transparent 60%); mask-image: linear-gradient(200deg, #000, transparent 60%); }
.path-workforce { background: var(--night); }
html.theme-dark .path-workforce { background: #111B2E; border: 1px solid #22304A; }
.path-business { background: var(--deep-blue); }
.path-top { display: flex; align-items: center; gap: 14px; }
.path-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: #fff; flex: none; }
.path-icon .icon { width: 24px; height: 24px; }
.path-tag { font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .86); }
.path h2 { color: #fff; font-size: clamp(1.5rem, 2.3vw, 1.9rem); margin-top: 18px; }
.path > p { color: rgba(255, 255, 255, .84); margin-top: 10px; max-width: 34em; }
.path-actions { display: grid; gap: 10px; margin-top: 22px; }
.path-btn { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 12px 18px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #fff; text-decoration: none; transition: background-color .18s ease, transform .18s ease, border-color .18s ease; }
.path-btn strong { display: block; font-size: 1.05rem; }
.path-btn small { display: block; font-size: .88rem; color: rgba(255, 255, 255, .86); margin-top: 1px; }
.path-btn .icon { width: 20px; height: 20px; transition: transform .18s ease; }
.path-btn:hover { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .32); color: #fff; }
.path-btn:hover .icon { transform: translateX(3px); }
.path-btn:first-child { background: #fff; border-color: #fff; color: var(--night); }
.path-btn:first-child small { color: #4A5568; }
.path-btn:first-child:hover { background: #EEF1FE; color: var(--night); }
.path-more { margin-top: 22px; display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; text-decoration: none; align-self: flex-start; }
.path-more .icon { width: 17px; height: 17px; transition: transform .18s ease; }
.path-more:hover { color: #fff; text-decoration: underline; }
.path-more:hover .icon { transform: translateX(3px); }
.path :focus-visible { outline-color: #fff; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 28px; }
.trust li { display: inline-flex; align-items: center; gap: 9px; font-weight: 560; color: var(--muted-strong); font-size: .97rem; }
.trust .icon { width: 20px; height: 20px; color: var(--blue); }

/* ---------- Page hero ---------- */
.page-hero { padding-block: clamp(28px, 4vw, 48px) clamp(52px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(20px, 3vw, 36px); }
.page-hero-solo { grid-template-columns: 1fr; max-width: 860px; }
.page-hero .lead { margin-top: 20px; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: .93rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; font-size: .88rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 560; }

.audience { display: grid; gap: 14px; }
.audience-card { position: relative; display: flex; align-items: center; gap: 18px; padding: 22px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); color: var(--ink); text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.audience-card:hover { transform: translateY(-2px); border-color: var(--blue-strong); box-shadow: var(--shadow-lg); color: var(--ink); }
.audience-card:first-child { background: var(--night); border-color: var(--night); color: #fff; }
.audience-card:first-child small, .audience-card:first-child span span { color: var(--on-dark-muted); }
.audience-card:first-child strong { color: #fff; }
.audience-card:first-child .audience-icon { background: rgba(255, 255, 255, .1); color: #fff; }
.audience-card:first-child:hover { color: #fff; }
html.theme-dark .audience-card:first-child { background: var(--deep-blue); border-color: var(--deep-blue); }
html.theme-dark .audience-card:first-child small, html.theme-dark .audience-card:first-child span span { color: rgba(255, 255, 255, .88); }
.audience-icon { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--blue-soft); color: var(--blue); }
.audience-icon .icon { width: 26px; height: 26px; }
.audience-copy { flex: 1; display: grid; gap: 2px; }
.audience-copy small { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.audience-copy strong { font-size: 1.35rem; color: var(--ink-strong); letter-spacing: -.02em; }
.audience-copy span { color: var(--muted); font-size: .95rem; }
.audience-card > .icon { width: 22px; height: 22px; transition: transform .18s ease; }
.audience-card:hover > .icon { transform: translateX(3px); }

/* ---------- Split layout & mock-ups ---------- */
.split { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split-start { align-items: start; }
.split-reverse .split-content { order: 2; }
.split-content > h2 { margin-bottom: 18px; }
.split-content .checklist { margin-top: 26px; }
.split-media, .page-hero-aside { position: relative; isolation: isolate; }
.split-media::before { content: ""; position: absolute; z-index: -1; inset: 9% -3% -5% 12%; border-radius: 26px; background: var(--blue-soft); }
.section-alt .split-media::before { background: var(--surface); border: 1px solid var(--line); }
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 20px; max-width: 500px; margin-inline: auto; font-size: .95rem; }
.mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mock-title { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; color: var(--ink-strong); }
.mock-title .icon { width: 20px; height: 20px; color: var(--blue); }
.mock-pill { font-size: .78rem; font-weight: 650; color: var(--blue); background: var(--blue-soft); padding: 3px 10px; border-radius: 999px; }
.mock-sub { display: flex; justify-content: space-between; color: var(--muted); font-size: .86rem; padding: 12px 0 6px; }
.mock-roster ul { list-style: none; }
.mock-roster li { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.avatar { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: .82rem; letter-spacing: .02em; }
.who strong { display: block; font-size: .95rem; color: var(--ink-strong); }
.who small { color: var(--muted); font-size: .82rem; }
.status { font-size: .78rem; font-weight: 650; padding: 4px 10px; border-radius: 6px; background: var(--ok-bg); color: var(--ok-ink); }
.mock-foot { display: flex; align-items: center; padding-top: 14px; color: var(--muted); font-size: .86rem; }
.mock-foot span { display: inline-flex; align-items: center; gap: 8px; }
.mock-foot .icon { width: 18px; height: 18px; color: var(--blue); }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 14px; }
.dash-tile { background: var(--surface-2); border-radius: 12px; padding: 14px; }
.dash-tile small { display: block; color: var(--muted); font-size: .8rem; font-weight: 600; margin-bottom: 10px; }
.dash-bars { display: flex; align-items: flex-end; gap: 6px; height: 96px; }
.dash-bars .bar { flex: 1; border-radius: 4px 4px 0 0; background: var(--blue-strong); opacity: .9; }
.dash-bars .bar:nth-child(1) { height: 42%; } .dash-bars .bar:nth-child(2) { height: 58%; } .dash-bars .bar:nth-child(3) { height: 48%; }
.dash-bars .bar:nth-child(4) { height: 70%; } .dash-bars .bar:nth-child(5) { height: 62%; } .dash-bars .bar:nth-child(6) { height: 90%; }
.dash-bars .bar:nth-child(7) { height: 76%; background: var(--signal-blue); }
.dash-list { list-style: none; display: grid; gap: 8px; font-size: .84rem; color: var(--ink); }
.dash-list li { display: flex; gap: 8px; }
.dash-list span { font-weight: 700; color: var(--blue); min-width: 40px; font-variant-numeric: tabular-nums; }
.dash-review { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); }
.dash-review .stars { display: inline-flex; gap: 2px; color: #D99A1E; }
.dash-review .stars .icon { width: 16px; height: 16px; fill: currentColor; }
.dash-review > span:nth-child(2) { font-weight: 650; color: var(--ink-strong); font-size: .9rem; }
.dash-review small { color: var(--muted); font-size: .8rem; width: 100%; }
.quote-lines { list-style: none; padding-top: 6px; }
.quote-lines li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--line); font-weight: 560; color: var(--ink); }
.quote-lines .icon { width: 20px; height: 20px; color: var(--ok-ink); background: var(--ok-bg); border-radius: 6px; padding: 2px; }

/* ---------- Cards ---------- */
.cards { list-style: none; display: grid; gap: 20px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-5 { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.card-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 11px; background: var(--blue-soft); color: var(--blue); margin-bottom: 18px; }
.card-icon .icon { width: 23px; height: 23px; }
.card h3, .card .h3 { margin-bottom: 8px; }
.card h3 a, .card .h3 a { color: inherit; text-decoration: none; }
.card h3 a::after, .card .h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card p { color: var(--muted); font-size: .98rem; }
.card-link:hover { transform: translateY(-3px); border-color: var(--blue-strong); box-shadow: var(--shadow-md); }
.card-link:focus-within { border-color: var(--blue-strong); }
.card-more { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 650; font-size: .95rem; }
.card-more .icon { width: 17px; height: 17px; transition: transform .18s ease; }
.card-link:hover .card-more .icon { transform: translateX(3px); }
.card-tag { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.cards-compact .card { padding: 22px; }
.cards-compact .card-icon { width: 42px; height: 42px; margin-bottom: 14px; }
.cards-feature .card { padding: 30px; }
.card-cta { background: var(--night); border-color: var(--night); color: var(--on-dark); justify-content: center; }
html.theme-dark .card-cta { background: var(--deep-blue); border-color: var(--deep-blue); }
.card-cta h3 { color: #fff; }
.card-cta p { color: var(--on-dark-muted); }
html.theme-dark .card-cta p { color: rgba(255, 255, 255, .88); }
.card-cta .btn { margin-top: 22px; align-self: flex-start; }
.card-cta :focus-visible { outline-color: #fff; }
.mini-list { list-style: none; display: grid; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.mini-list li { display: flex; gap: 8px; font-size: .92rem; color: var(--muted-strong); }
.mini-list .icon { width: 18px; height: 18px; color: var(--blue); margin-top: 2px; }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; gap: 22px; counter-reset: step; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.step-num { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; border: 1.5px solid var(--line-strong); color: var(--gold); font-weight: 700; font-size: .9rem; letter-spacing: .04em; font-variant-numeric: tabular-nums; background: var(--surface); }
.step h3 { font-size: 1.1rem; margin: 9px 0 4px; }
.step p { color: var(--muted); font-size: .97rem; }
.steps-grid { grid-template-columns: repeat(3, 1fr); gap: 0 28px; }
.steps-row { grid-template-columns: repeat(4, 1fr); gap: 0 24px; }
.steps-grid .step, .steps-row .step { grid-template-columns: 1fr; gap: 0; padding: 22px 0 28px; border-top: 2px solid var(--line); position: relative; }
.steps-grid .step::before, .steps-row .step::before { content: ""; position: absolute; top: -2px; left: 0; width: 36px; height: 2px; background: var(--blue-strong); }
.steps-grid .step-num, .steps-row .step-num { width: auto; height: auto; border: 0; background: none; place-items: start; font-size: .85rem; }
.steps-grid .step h3, .steps-row .step h3 { margin-top: 10px; }
.steps-compact { gap: 14px; }
.steps-compact .step { grid-template-columns: 34px 1fr; gap: 12px; }
.steps-compact .step-num { width: 34px; height: 34px; font-size: .8rem; border-radius: 9px; }
.steps-compact .step h3 { font-size: 1rem; margin: 5px 0 2px; }
.steps-compact .step p { font-size: .9rem; }

/* ---------- Lists, chips, panels, notices ---------- */
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.checklist li .icon { width: 22px; height: 22px; padding: 3px; border-radius: 6px; background: var(--blue-soft); color: var(--blue); stroke-width: 2.4; margin-top: 2px; }
.checklist strong { color: var(--ink-strong); }
.checklist-2 { grid-template-columns: repeat(2, 1fr); gap: 14px 36px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; justify-content: inherit; }
.section-head-center + .chips { justify-content: center; }
.chips li { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 560; font-size: .96rem; color: var(--ink); }
.chips .icon { width: 19px; height: 19px; color: var(--blue); }
.split-content .chips { margin-top: 24px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 30px); }
.panel h3, .panel .h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.panel h3 .icon { width: 22px; height: 22px; color: var(--blue); }
.panel-link { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); transition: border-color .18s ease; }
.panel-link > .icon:first-child { width: 26px; height: 26px; color: var(--blue); }
.panel-link span { flex: 1; }
.panel-link strong { display: block; color: var(--ink-strong); }
.panel-link small { color: var(--muted); }
.panel-link:hover { border-color: var(--blue-strong); color: var(--ink); }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 12px; background: var(--blue-soft); color: var(--ink); margin-top: 28px; }
.notice > .icon { width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }
.notice a { font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.notice a .icon { width: 15px; height: 15px; }
.section-tight .notice { margin-top: 0; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 4px; cursor: pointer; font-weight: 650; font-size: 1.08rem; color: var(--ink-strong); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 22px; height: 22px; color: var(--muted); transition: transform .2s ease; }
.faq-item[open] summary .icon { transform: rotate(180deg); color: var(--blue); }
.faq-item summary:hover { color: var(--blue); }
.faq-body { padding: 0 44px 22px 4px; color: var(--muted-strong); }
.faq-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.faq-nav a { display: inline-flex; min-height: 42px; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; text-decoration: none; color: var(--ink); }
.faq-nav a:hover { border-color: var(--blue-strong); color: var(--blue); }
.faq-group { margin-top: 56px; }
.faq-group h2 { font-size: 1.55rem; margin-bottom: 18px; }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(48px, 7vw, 96px); background: var(--bg); }
.section-alt + .cta-band { background: var(--bg); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; padding: clamp(32px, 5vw, 64px); border-radius: 22px; background: var(--night); color: var(--on-dark); overflow: hidden; isolation: isolate; }
html.theme-dark .cta-inner { background: var(--deep-blue); }
.cta-inner::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 100% 48px; -webkit-mask-image: linear-gradient(270deg, #000, transparent 70%); mask-image: linear-gradient(270deg, #000, transparent 70%); }
.cta-inner::after { content: "K."; position: absolute; right: -12px; bottom: -64px; z-index: -1; font-size: 300px; font-weight: 800; letter-spacing: -.06em; line-height: 1; color: rgba(255, 255, 255, .045); }
.cta-inner > div { max-width: 640px; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: var(--on-dark-muted); margin-top: 12px; font-size: 1.08rem; }
html.theme-dark .cta-inner p { color: rgba(255, 255, 255, .86); }
.cta-inner .actions { margin-top: 0; }
.cta-inner :focus-visible { outline-color: #fff; }

/* ---------- Media ---------- */
.media { margin: 0; position: relative; border-radius: 16px; overflow: hidden; background: var(--surface-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-4x3 { aspect-ratio: 4 / 3; }
.media-3x2 { aspect-ratio: 3 / 2; }
.media-16x9 { aspect-ratio: 16 / 9; }
.media-21x9 { aspect-ratio: 21 / 9; }
.page-hero-aside .media, .split-media .media { box-shadow: var(--shadow-lg); }
.media-fallback { background: linear-gradient(145deg, var(--blue-soft), var(--surface-2) 70%); border: 1px solid var(--line); }
.media-pattern { position: absolute; inset: 0; background-image: linear-gradient(var(--ledger) 1px, transparent 1px), linear-gradient(90deg, var(--ledger) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 75%); }
.media-mark { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 20px; text-align: center; }
.media-mark .icon { width: 92px; height: 92px; padding: 22px; border-radius: 22px; background: var(--surface); color: var(--blue); box-shadow: var(--shadow-md); stroke-width: 1.5; }
.media-mark span { font-weight: 650; color: var(--muted-strong); font-size: .95rem; letter-spacing: -.005em; }
.split-media .media-fallback::after, .page-hero-aside .media-fallback::after { content: ""; position: absolute; left: 24px; top: 24px; width: 36px; height: 6px; background: var(--blue-strong); border-radius: 1px; }

/* ---------- Industries, roles, compare ---------- */
.industry-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.industry-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.industry-card .media { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); }
.industry-card .media-mark .icon { width: 72px; height: 72px; padding: 17px; }
.industry-card .media-mark span { display: none; }
.industry-body { padding: 22px 24px 24px; }
.industry-body h3 a { color: var(--ink-strong); text-decoration: none; }
.industry-body h3 a::after { content: ""; position: absolute; inset: 0; }
.industry-body p { color: var(--muted); font-size: .94rem; margin-top: 8px; }
.industry-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-strong); }
.role-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.role-col h3 { display: flex; align-items: center; gap: 10px; }
.role-col h3 .icon { width: 24px; height: 24px; color: var(--blue); }
.role-col h3 a { color: inherit; text-decoration: none; }
.role-col h3 a:hover { color: var(--blue); }
.role-col .text-link { margin-top: auto; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px); }
.compare-col h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: 1.3rem; }
.compare-col h3 .icon { width: 26px; height: 26px; color: var(--blue); }
.compare-ours { background: var(--night); border-color: var(--night); color: var(--on-dark); }
html.theme-dark .compare-ours { background: #111B2E; border-color: #22304A; }
.compare-ours h3 { color: #fff; }
.compare-ours h3 .icon { color: var(--signal-blue); }
.compare-ours .checklist li { color: var(--on-dark); }
.compare-ours .checklist li .icon { background: rgba(129, 151, 255, .16); color: var(--signal-blue); }

/* ---------- Business: engagement, about ---------- */
.engage { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.engage-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px); }
.engage-card h3 { font-size: 1.35rem; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.engage-card > p { color: var(--muted); margin: 8px 0 22px; }
.opt, .req { display: inline-block; font-size: .72rem; font-weight: 650; letter-spacing: .02em; padding: 2px 7px; border-radius: 5px; vertical-align: middle; margin-left: 4px; }
.opt { color: var(--muted); background: var(--surface-2); }
.req { color: var(--blue); background: var(--blue-soft); }
.record { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.record::before { content: ""; position: absolute; top: 0; left: 24px; width: 48px; height: 6px; background: var(--blue-strong); }
.record-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px 16px; border-bottom: 1px solid var(--line); }
.record-head span { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-strong); }
.record-symbol { width: 36px; height: 36px; border-radius: 8px; }
.record dl { margin: 0; }
.record dl div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 12px; padding: 13px 24px; border-bottom: 1px solid var(--line); }
.record dl div:last-child { border-bottom: 0; }
.record dt { color: var(--muted); font-size: .92rem; }
.record dd { margin: 0; font-weight: 600; color: var(--ink-strong); }
.division-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.division { display: flex; align-items: flex-start; gap: 18px; padding: clamp(24px, 3vw, 34px); border-radius: var(--radius-xl); color: #fff; text-decoration: none; transition: transform .18s ease; box-shadow: var(--shadow-lg); }
.division:hover { transform: translateY(-3px); color: #fff; }
.division-workforce { background: var(--night); }
html.theme-dark .division-workforce { background: #111B2E; border: 1px solid #22304A; }
.division-business { background: var(--deep-blue); }
.division-copy { flex: 1; display: grid; gap: 6px; }
.division-copy small { font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .86); }
.division-copy strong { font-size: 1.45rem; letter-spacing: -.02em; }
.division-copy span { color: rgba(255, 255, 255, .86); font-size: .98rem; }
.division > .icon { width: 22px; height: 22px; margin-top: 6px; }
.commit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

/* ---------- Forms ---------- */
.section-form { padding-top: clamp(36px, 5vw, 56px); }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(20px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form .form-section { padding-top: 30px; margin-top: 30px; border-top: 1px solid var(--line); }
.form > fieldset:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
.form .choice-group + .field, .form .choice-group + .field-grid, .form .field-grid + .choice-group { margin-top: 22px; }
.form .choice-group { margin-top: 22px; }
.form .field-grid + .field-grid { margin-top: 18px; }
.form-section > legend { display: flex; align-items: center; gap: 10px; float: left; width: 100%; margin-bottom: 20px; font-size: 1.18rem; font-weight: 700; color: var(--ink-strong); letter-spacing: -.01em; }
.form-section > legend + * { clear: both; }
.form-section > legend .icon { width: 22px; height: 22px; color: var(--blue); }
.form-section[hidden] { display: none; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field-wide { grid-column: 1 / -1; }
.field label, .choice-group > legend, .type-picker > legend { display: block; font-weight: 600; font-size: .96rem; color: var(--ink-strong); margin-bottom: 7px; }
.hint { color: var(--muted); font-size: .88rem; margin: -2px 0 8px; }
.field-static { font-weight: 600; font-size: .96rem; color: var(--ink-strong); margin-bottom: 7px; }
.form-status a { color: inherit; font-weight: 650; }
.type-picker > .hint { margin: 12px 0 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="file"], input[type="password"], input[type="search"], select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--field); border: 1.5px solid var(--line-strong); border-radius: var(--radius); transition: border-color .15s ease, box-shadow .15s ease; }
textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
input[type="file"] { padding: 11px 12px; cursor: pointer; }
input[type="file"]::file-selector-button { font: inherit; font-weight: 600; margin-right: 12px; padding: 6px 12px; border-radius: 7px; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--ink); cursor: pointer; }
select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("/assets/ui/select-light.svg"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; cursor: pointer; }
html.theme-dark select { background-image: url("/assets/ui/select-dark.svg"); }
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-strong); box-shadow: 0 0 0 4px var(--blue-soft); }
html.theme-dark input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.85); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.error { display: flex; gap: 6px; color: var(--danger); font-size: .88rem; font-weight: 560; margin-top: 7px; }
.error[hidden] { display: none; }
.choices { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.cols-3 .choices { grid-template-columns: repeat(3, 1fr); }
.cols-4 .choices { grid-template-columns: repeat(4, 1fr); }
.choice { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; font-size: .96rem; transition: border-color .15s ease, background-color .15s ease; }
.choice:hover { border-color: var(--muted); }
.choice input, .check input { width: 19px; height: 19px; margin: 0; accent-color: var(--blue-strong); flex: none; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--blue-strong); background: var(--blue-soft); }
.choice:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.type-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.type-option { position: relative; display: block; cursor: pointer; }
.type-option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.type-card { height: 100%; display: flex; flex-direction: column; gap: 4px; padding: 18px 16px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.type-card .icon { width: 26px; height: 26px; color: var(--blue); margin-bottom: 8px; }
.type-card strong { color: var(--ink-strong); font-size: 1.02rem; }
.type-card small { color: var(--muted); font-size: .86rem; line-height: 1.35; }
.type-option:hover .type-card { border-color: var(--muted); }
.type-option input:checked + .type-card { border-color: var(--blue-strong); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue-strong); }
.type-option input:focus-visible + .type-card { outline: 3px solid var(--blue); outline-offset: 2px; }
.consent { display: grid; gap: 14px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .96rem; color: var(--ink); }
.check input { margin-top: 3px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .notice { margin: 30px 0 0; }
.form-status { margin-top: 26px; padding: 16px 18px; border-radius: 12px; font-weight: 560; }
.form-status.is-success { background: var(--ok-bg); color: var(--ok-ink); }
.form-status.is-error { background: var(--danger-bg); color: var(--danger); }
.form-status.is-preview { background: var(--warn-bg); color: var(--warn-ink); border: 1px solid var(--warn-line); }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.form-note { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: .88rem; flex: 1 1 260px; }
.form-note .icon { margin-top: 2px; }
.form-note .icon { width: 17px; height: 17px; }
.contact-list { list-style: none; display: grid; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-list li:first-child { padding-top: 0; }
.contact-list .icon { width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }
.contact-list small { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font-weight: 600; word-break: break-word; }

/* ---------- Status pages ---------- */
.status-page { padding-block: clamp(80px, 12vw, 150px); text-align: center; background: var(--bg-alt); }
.status-page .eyebrow { justify-content: center; }
.status-page .lead { margin: 18px auto 0; max-width: 560px; }
.status-page .actions { justify-content: center; }
.status-icon { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 16px; background: var(--blue-soft); color: var(--blue); margin-bottom: 24px; }
.status-icon .icon { width: 32px; height: 32px; }
.gateway-mini { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.gateway-mini a { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); font-weight: 650; color: var(--ink-strong); text-decoration: none; }
.gateway-mini a:hover { border-color: var(--blue-strong); color: var(--blue); }
.gateway-mini .icon { width: 20px; height: 20px; color: var(--blue); }

/* ---------- Legal ---------- */
.legal-hero { padding-block: clamp(28px, 4vw, 48px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.legal-hero .eyebrow { margin-top: clamp(20px, 3vw, 36px); }
.legal-hero h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.legal-hero .lead { margin-top: 16px; max-width: 760px; }
.legal-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; color: var(--muted); font-size: .92rem; }
.legal-meta .icon { width: 18px; height: 18px; }
.draft-banner { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding: 14px 18px; border-radius: 12px; background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink); max-width: 760px; font-size: .95rem; }
.draft-banner .icon { width: 20px; height: 20px; margin-top: 2px; }
mark.tbd { background: var(--warn-bg); color: var(--warn-ink); border: 1px dashed var(--warn-line); padding: 0 .35em; border-radius: 4px; font-weight: 560; }
.legal-section { padding-top: clamp(40px, 5vw, 64px); }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.legal-toc p { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.legal-toc ol { list-style: none; display: grid; gap: 2px; border-left: 1.5px solid var(--line); }
.legal-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1.5px; border-left: 1.5px solid transparent; color: var(--muted-strong); text-decoration: none; font-size: .92rem; line-height: 1.4; }
.legal-toc a:hover { color: var(--blue); border-left-color: var(--blue-strong); }
.legal-body { max-width: 780px; min-width: 0; }
.legal-block { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.legal-block h2 { font-size: 1.45rem; margin-bottom: 16px; }
.legal-num { color: var(--gold); font-variant-numeric: tabular-nums; }
.legal-block h3 { font-size: 1.06rem; margin: 22px 0 10px; }
.legal-block p, .legal-block li { color: var(--muted-strong); }
.legal-block ul { padding-left: 1.25rem; display: grid; gap: 9px; margin-top: 12px; }
.legal-block ul + p, .legal-block p + ul, .legal-block ul + h3 { margin-top: 14px; }
.legal-block li::marker { color: var(--blue); }
.legal-block a { display: inline-flex; align-items: center; gap: 4px; }
.legal-block a .icon { width: 15px; height: 15px; }
.legal-contact { font-style: normal; margin-top: 14px; padding: 16px 18px; border-radius: 12px; background: var(--surface-2); line-height: 1.7; color: var(--ink); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; margin-top: 8px; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 560px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-2); font-weight: 650; color: var(--ink-strong); }
tr:last-child td { border-bottom: 0; }
.legal-related p { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.legal-related ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.legal-related a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.legal-related a .icon { width: 16px; height: 16px; }
.legal-related a:hover { border-color: var(--blue-strong); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-dark-muted); padding-top: clamp(56px, 7vw, 80px); }
html.theme-dark .site-footer { background: #050911; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr .9fr; gap: 40px; }
.wordmark-footer { color: #fff; }
.wordmark-footer .wordmark-dot { color: var(--signal-blue); }
.wordmark-footer .wordmark-sub { color: #C5CDD9; border-left-color: rgba(255, 255, 255, .25); }
.footer-brand > p { margin-top: 18px; max-width: 30em; font-size: .97rem; }
.footer-contact { list-style: none; display: grid; gap: 10px; margin-top: 22px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; font-size: .96rem; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--signal-blue); }
.footer-contact a { color: #fff; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-title { color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 6px; }
.footer-col a { display: inline-block; padding: 3px 0; color: #C5CDD9; text-decoration: none; font-size: .96rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; margin-top: 56px; padding-block: 24px 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .87rem; }
.footer-legal-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal-links a { color: #C5CDD9; text-decoration: none; }
.footer-legal-links a:hover { color: #fff; text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--signal-blue); }

/* ---------- Log in link ---------- */
.header-login { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 12px; border-radius: var(--radius); color: var(--ink); font-weight: 560; font-size: .96rem; text-decoration: none; }
.header-login .icon { width: 19px; height: 19px; color: var(--muted); }
.header-login:hover, .header-login.is-current { background: var(--surface-2); color: var(--ink-strong); }

/* ---------- Log in page ---------- */
.login-page { background: var(--bg-alt); padding-block: clamp(36px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.login-grid { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 380px); gap: clamp(24px, 5vw, 64px); justify-content: center; align-items: start; }
.login-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 44px); }
.login-card h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 24px; }
.login-form { display: grid; gap: 18px; }
.login-form .field label { display: block; font-weight: 600; font-size: .96rem; color: var(--ink-strong); margin-bottom: 7px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border: 0; margin: 0; border-radius: 12px; background: var(--surface-2); }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.segmented span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 9px; font-weight: 650; color: var(--muted-strong); transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.segmented .icon { width: 19px; height: 19px; }
.segmented input:checked + span { background: var(--surface); color: var(--ink-strong); box-shadow: var(--shadow-sm); }
html.theme-dark .segmented input:checked + span { background: var(--surface-3, #1A2740); }
.segmented input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.login-who { color: var(--muted); font-size: .95rem; margin-top: -4px; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 76px; }
.reveal-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 38px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--surface-2); color: var(--ink); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; }
.login-submit { width: 100%; }
.login-form .form-status { margin-top: 0; }
.login-help { color: var(--muted); font-size: .92rem; }
.login-aside { display: grid; gap: 16px; }
.login-aside .panel p { color: var(--muted); }
.login-aside .actions { margin-top: 18px; }
.login-secure { display: flex; gap: 10px; color: var(--muted); font-size: .9rem; }
.login-secure .icon { width: 18px; height: 18px; margin-top: 3px; }

/* ---------- Portal ---------- */
.portal { padding-block: clamp(28px, 4vw, 56px) clamp(56px, 7vw, 96px); background: var(--bg-alt); min-height: 70vh; }
.portal-loading { display: flex; align-items: center; gap: 10px; color: var(--muted); padding: 40px 0; }
.portal-loading .icon { width: 20px; height: 20px; }
.portal-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 24px; margin-bottom: 28px; }
.portal-top .eyebrow { margin-bottom: 10px; }
.portal-hello { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.035em; }
.portal-who { color: var(--muted); margin-top: 6px; }
.portal-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.portal-actions .btn .icon { width: 17px; height: 17px; }
.portal-gate { max-width: 560px; margin: 24px auto; }
.portal-gate .lead { margin: 12px 0 24px; }
.portal-banner { margin: 0 0 24px; align-items: center; }
.portal-banner > div { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; justify-content: space-between; width: 100%; }
.notice-warn { background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink); }
.notice-warn > .icon { color: var(--warn-ink); }
.portal-welcome { margin-bottom: 20px; }
.portal-welcome p, .portal-help p { color: var(--muted-strong); margin-top: 8px; }
.portal .cards { margin-bottom: 20px; }
.stack-form { display: grid; gap: 16px; }
.stack-form .field label { display: block; font-weight: 600; font-size: .96rem; color: var(--ink-strong); margin-bottom: 7px; }
.stack-form .form-status { margin-top: 0; }
.stack-form .actions { margin-top: 4px; }
.howto { padding-left: 1.2rem; display: grid; gap: 6px; color: var(--muted-strong); }
.portal-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(20px, 3vw, 30px); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
.portal-dialog::backdrop { background: rgba(8, 13, 22, .55); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.icon-btn .icon { width: 18px; height: 18px; }

.intake-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.intake-head h2 { font-size: 1.7rem; }
.intake-head p { color: var(--muted); margin-top: 4px; }
.intake-tools { display: flex; gap: 10px; flex-wrap: wrap; }
.intake-tools .btn .icon { width: 17px; height: 17px; }
.intake-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.intake-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.intake-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; font-size: .94rem; cursor: pointer; }
.intake-tab[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: #fff; }
html.theme-dark .intake-tab[aria-pressed="true"] { background: var(--blue-strong); border-color: var(--blue-strong); }
.intake-tab .count { font-variant-numeric: tabular-nums; color: inherit; opacity: .75; }
.new-label { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: 2px 8px; border-radius: 6px; background: var(--blue-strong); color: #fff; }
.intake-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.intake-filters select { width: auto; min-width: 160px; min-height: 44px; }
.search-wrap { position: relative; display: block; }
.search-wrap .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search-wrap input { min-height: 44px; width: min(320px, 100%); padding-left: 38px; }
.intake { display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); gap: 16px; align-items: start; }
.intake-list-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; max-height: min(78vh, 900px); overflow-y: auto; }
.intake-list { list-style: none; }
.intake-list li + li { border-top: 1px solid var(--line); }
.intake-row { display: grid; gap: 5px; width: 100%; padding: 14px 16px; border: 0; background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer; border-left: 3px solid transparent; }
.intake-row:hover { background: var(--surface-2); }
.intake-row[aria-current="true"] { background: var(--blue-soft); border-left-color: var(--blue-strong); }
.intake-row.is-unread strong { color: var(--ink-strong); font-weight: 750; }
.row-top { display: flex; align-items: center; gap: 8px; }
.row-top strong { font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-time { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.row-company { color: var(--muted-strong); font-size: .9rem; font-weight: 560; }
.row-summary { color: var(--muted); font-size: .88rem; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.row-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.kind, .status { display: inline-block; font-size: .74rem; font-weight: 650; padding: 2px 8px; border-radius: 6px; background: var(--surface-2); color: var(--muted-strong); }
.kind-quote { background: var(--blue-soft); color: var(--blue); }
.kind-apply { background: var(--warn-bg); color: var(--warn-ink); }
.status-new { background: var(--blue-soft); color: var(--blue); }
.status-won, .status-onboarded { background: var(--ok-bg); color: var(--ok-ink); }
.status-lost, .status-not-a-fit, .status-closed { background: var(--surface-2); color: var(--muted); }
.intake-empty { padding: 28px 18px; color: var(--muted); }
.intake-detail { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 30px); min-height: 320px; outline: none; }
.detail-empty { display: grid; place-items: center; gap: 12px; min-height: 260px; color: var(--muted); text-align: center; }
.detail-empty .icon { width: 40px; height: 40px; }
.back-link { display: none; border: 0; background: none; padding: 0; margin-bottom: 14px; font: inherit; cursor: pointer; }
.detail-head { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.detail-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 10px; }
.detail-company { font-weight: 600; color: var(--muted-strong); margin-top: 4px; }
.detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--muted); font-size: .9rem; margin-top: 10px; }
.detail-meta .icon { width: 16px; height: 16px; }
.mail-state { font-size: .78rem; font-weight: 650; padding: 2px 8px; border-radius: 6px; background: var(--surface-2); }
.mail-sent { background: var(--ok-bg); color: var(--ok-ink); }
.mail-waiting, .mail-failed { background: var(--warn-bg); color: var(--warn-ink); }
.detail-head .actions { margin-top: 16px; }
.detail-head .btn .icon { width: 17px; height: 17px; }
.detail-controls { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px 20px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.detail-controls .field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--ink-strong); }
.detail-controls textarea { min-height: 96px; }
.detail-controls .form-status { grid-column: 1 / -1; margin-top: 0; }
.notes-actions { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.notes-actions .text-link { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; cursor: pointer; }
.detail-section { padding-top: 22px; }
.detail-section h3 { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.detail-section dl { margin: 0; display: grid; }
.detail-section dl div { display: grid; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr); gap: 4px 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.detail-section dt { color: var(--muted); font-size: .92rem; }
.detail-section dd { margin: 0; color: var(--ink-strong); white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---------- Reveal on scroll (only when JS is running and motion is allowed) ---------- */
/* site.js hides only elements that start below the fold, so nothing stays hidden if the script fails. */
@media (prefers-reduced-motion: no-preference) {
  .reveal-pending { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
  .reveal-pending.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
/* Short laptop screens: keep both division choices in the first screen. */
@media (min-width: 1000px) and (max-height: 820px) {
  .home-hero { padding-top: 26px; }
  .home-hero h1 { font-size: 3.05rem; }
  .home-hero .lead { font-size: 1.08rem; margin-top: 14px; }
  .gateway { margin-top: 24px; }
  .path h2 { margin-top: 14px; }
  .path-actions { margin-top: 18px; }
}
@media (max-width: 1100px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-5 { grid-template-columns: repeat(3, 1fr); }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .form-layout { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 1040px) {
  .site-nav, .header-cta, .header-login { display: none; }
  .m-nav { display: block; }
  .header-actions { margin-left: auto; }
  .menu-panel { display: none; }
}
@media (max-width: 960px) {
  .login-grid { grid-template-columns: minmax(0, 560px); }
  .intake { grid-template-columns: 1fr; }
  .intake.show-detail .intake-list-wrap { display: none; }
  .intake:not(.show-detail) .intake-detail { display: none; }
  .back-link { display: inline-flex; }
  .intake-list-wrap { max-height: none; }
  .detail-controls { grid-template-columns: 1fr; }
  .page-hero-grid, .split, .commit-grid { grid-template-columns: 1fr; }
  .split-reverse .split-content { order: 0; }
  .page-hero-aside { max-width: 560px; }
  .split-media { max-width: 600px; }
  .cards-3, .industry-grid, .role-columns { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .form-layout { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
  .type-options { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .gateway-grid, .compare, .engage, .division-row { grid-template-columns: 1fr; }
  .checklist-2 { grid-template-columns: 1fr; }
  .cols-4 .choices { grid-template-columns: repeat(2, 1fr); }
  .cols-3 .choices { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .detail-section dl div { grid-template-columns: 1fr; }
  .search-wrap input { width: 100%; }
  .intake-filters, .search-wrap { width: 100%; }
  .intake-filters select { flex: 1; }
  :root { --header-h: 64px; }
  body { font-size: 1rem; }
  .wordmark-main { font-size: 1.42rem; }
  .wordmark-sub { font-size: .6rem; letter-spacing: .16em; padding-left: 10px; }
  .m-toggle-label { display: none; }
  .cards-2, .cards-3, .cards-4, .cards-5, .industry-grid, .role-columns, .steps-grid, .steps-row { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .actions .btn { flex: 1 1 100%; }
  .cta-inner .actions { width: 100%; }
  .path-btn { min-height: 60px; padding: 12px 14px; }
  .record dl div { grid-template-columns: 1fr; gap: 2px; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-bars { height: 64px; }
  .mock { padding: 16px; }
  .faq-body { padding-right: 4px; }
  .trust { gap: 10px 20px; }
  .split-media::before { inset: 6% -2% -4% 8%; }
  .form { border-radius: var(--radius-lg); }
}
@media (max-width: 420px) {
  .type-options, .cols-4 .choices, .cols-3 .choices, .choices { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .wordmark { gap: 9px; }
  .wordmark-sub { max-width: 7.5em; }
}

@media print {
  .site-header, .site-footer, .cta-band, .preview-bar, .legal-toc, .theme-btn { display: none !important; }
  .reveal-pending { opacity: 1 !important; transform: none !important; }
  body { background: #fff; color: #000; }
}
