/* ============================================================
   KINAKUTA — Business Resilience
   Editorial-restraint system · flat near-black · green accent
   serif titles / sans body / mono labels
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&family=Manrope:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* accent — tweakable. Kinakuta brand green (sampled from logo). */
  --accent: #47ac33;

  /* fonts — tweakable */
  --font-display: 'Spectral', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* density */
  --density: 1;

  /* derived accent */
  --accent-ink: color-mix(in oklab, var(--accent) 80%, white 20%);
  --accent-deep: color-mix(in oklab, var(--accent) 70%, black 30%);
  --accent-faint: color-mix(in oklab, var(--accent) 8%, transparent);
  --accent-line: color-mix(in oklab, var(--accent) 30%, transparent);
  --on-accent: #04130c;

  /* dark theme (default) — flat */
  --bg: #07090a;
  --bg-1: #0b0e10;
  --bg-2: #0e1214;
  --line: rgba(255,255,255,0.085);
  --line-2: rgba(255,255,255,0.045);
  --line-strong: rgba(255,255,255,0.16);
  --text: #eceeec;
  --text-2: #aeb6b2;
  --text-3: #7a837e;
  --text-faint: #515a55;

  /* spacing */
  --s1: calc(8px * var(--density));
  --s2: calc(16px * var(--density));
  --s3: calc(24px * var(--density));
  --s4: calc(40px * var(--density));
  --s5: calc(72px * var(--density));
  --s6: calc(110px * var(--density));
  --section-y: clamp(80px, calc(11vw * var(--density)), 170px);

  --maxw: 1180px;
  --radius: 12px;
  --radius-lg: 18px;
}

[data-theme='light'] {
  --bg: #f3f1ec;
  --bg-1: #ffffff;
  --bg-2: #faf8f3;
  --line: rgba(15,25,20,0.12);
  --line-2: rgba(15,25,20,0.06);
  --line-strong: rgba(15,25,20,0.2);
  --text: #11150f;
  --text-2: #41483f;
  --text-3: #6a716530;
  --text-3: #6c736a;
  --text-faint: #9aa097;
  --accent-faint: color-mix(in oklab, var(--accent) 12%, transparent);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.62;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--accent); color: var(--on-accent); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(22px, 5.5vw, 60px); }
.section { padding-block: var(--section-y); position: relative; }
.section-line { border-top: 1px solid var(--line); }

/* ---- type ---- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; margin: 0; letter-spacing: -0.012em; }
.kicker {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--accent-ink);
  display: inline-flex; align-items: center; gap: 12px;
}
.kicker.line::before { content: ''; width: 28px; height: 1px; background: var(--accent-line); }
.eyebrow {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--text-3);
}
.eyebrow .on { color: var(--accent-ink); }

.h-xl { font-size: clamp(40px, 6.4vw, 86px); line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; }
.h-section { font-size: clamp(30px, 4.4vw, 54px); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; }
.lead { color: var(--text-2); font-size: clamp(17px, 1.45vw, 21px); line-height: 1.6; max-width: 64ch; text-wrap: pretty; }
.dim { color: var(--text-3); }
.accent-text { color: var(--accent-ink); }
em, .it { font-style: italic; }

/* index label */
.idx-row { display: flex; align-items: center; gap: 18px; margin-bottom: var(--s4); }
.idx-row .rule { height: 1px; flex: 1; background: var(--line); }
.idx-row .idx { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); letter-spacing: 0.12em; }

/* ============================================================ NAV */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: color-mix(in oklab, var(--bg) 80%, transparent); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 36px; width: auto; display: block; transition: filter .3s; }
.brand-logo-lg { height: 58px; }
[data-theme='light'] .brand-logo { filter: invert(1) hue-rotate(180deg) brightness(0.96) contrast(1.05); }
.nav-right { display: flex; align-items: center; gap: clamp(10px, 2vw, 30px); }
.nav-links { display: flex; align-items: center; gap: clamp(10px, 2vw, 28px); }
.nav-links a { font-size: 14.5px; color: var(--text-2); font-weight: 500; position: relative; padding: 6px 0; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 1.5px; width: 0; background: var(--accent); transition: width .25s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-iso::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); display: inline-block; margin-right: 7px; vertical-align: middle; }
.lang-toggle { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; }
.lang-toggle button { background: none; border: none; color: var(--text-3); padding: 6px 11px; transition: all .2s; }
.lang-toggle button.on { background: var(--accent); color: var(--on-accent); }
.nav-cta { font-family: var(--font-body); font-weight: 600; font-size: 14px; padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text) !important; transition: all .25s; white-space: nowrap; }
.nav-cta:hover { border-color: var(--accent); color: var(--accent-ink) !important; background: var(--accent-faint); }
.nav-cta::after { display: none; }
.nav-menu-btn { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 10px; width: 42px; height: 38px; color: var(--text); place-items: center; }

/* ============================================================ BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 600; font-size: 15.5px; padding: 15px 28px; border-radius: 999px; border: 1px solid transparent; transition: transform .2s, box-shadow .3s, background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px var(--accent-line); }
.btn-outline { border-color: var(--line-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: var(--text); transition: gap .25s, color .25s; }
.link-arrow .arr { color: var(--accent); transition: transform .25s; }
.link-arrow:hover { color: var(--accent-ink); gap: 13px; }

/* ============================================================ HERO */
.hero { position: relative; min-height: 94svh; display: flex; align-items: center; padding-top: 110px; padding-bottom: var(--s5); }
.hero-hair { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.hero-inner { width: 100%; max-width: 1020px; }
.hero .eyebrow { display: block; }
.hero h1 { margin-top: var(--s3); }
.hero h1 .dot { color: var(--accent); }
.hero .subhead { margin-top: var(--s3); color: var(--text-2); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; max-width: 60ch; }
.hero .subhead em { color: var(--text); font-style: italic; }
.hero-actions { display: flex; gap: 16px; align-items: center; margin-top: var(--s4); flex-wrap: wrap; }
.hero-micro { margin-top: var(--s3); font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--text-faint); display: inline-flex; align-items: center; gap: 9px; }
.hero-micro .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 65%, transparent);} 70%{ box-shadow: 0 0 0 8px transparent;} 100%{ box-shadow:0 0 0 0 transparent;} }

/* ============================================================ AUTHORITY STRIP */
.authority { padding-block: var(--s5); border-top: 1px solid var(--line); }
.authority .line { text-align: center; color: var(--text-3); font-size: clamp(14px, 1.3vw, 16px); max-width: 60ch; margin: 0 auto var(--s4); }
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.logo-wall .lw { display: grid; place-items: center; text-align: center; min-height: 78px; padding: 16px 12px; background: var(--bg); font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(15px, 1.5vw, 19px); letter-spacing: -0.01em; color: var(--text-faint); transition: color .3s, background .3s; }
.logo-wall .lw:hover { color: var(--text); background: var(--bg-1); }

/* ============================================================ THESIS */
.thesis-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.thesis-body p { color: var(--text-2); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.66; max-width: 56ch; }
.thesis-body p + p { margin-top: var(--s3); }
.thesis-body strong { color: var(--text); font-weight: 600; }
.thesis-body .accent-text { font-weight: 600; }

/* ============================================================ CAPABILITIES */
.cap-intro { color: var(--text-2); font-size: clamp(17px, 1.5vw, 22px); font-family: var(--font-display); font-style: italic; max-width: 40ch; }
.caps { margin-top: var(--s5); border-top: 1px solid var(--line); }
.cap { display: grid; grid-template-columns: 64px 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); padding-block: clamp(36px, 4.5vw, 60px); border-bottom: 1px solid var(--line); position: relative; }
.cap-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); padding-top: 8px; }
.cap-tag .n { display: block; color: var(--accent-ink); margin-bottom: 8px; }
.cap-quotes { display: flex; flex-direction: column; gap: 16px; }
.cap-quote { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(20px, 2.1vw, 28px); line-height: 1.28; color: var(--text); letter-spacing: -0.015em; text-wrap: pretty; position: relative; padding-left: 22px; }
.cap-quote::before { content: '“'; position: absolute; left: -2px; top: -2px; color: var(--accent); font-size: 1.4em; line-height: 1; }
.cap-body { align-self: center; }
.cap-name { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink); }
.cap-body p { color: var(--text-2); font-size: 15.5px; line-height: 1.62; margin: 14px 0 0; }
.cap-body p strong { color: var(--text); font-weight: 600; }
.cap-body .link-arrow { margin-top: var(--s3); font-size: 14.5px; }
.cap-body .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.cap-body .chip { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--text-3); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }

/* ============================================================ PROOF */
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.proof-points { display: flex; flex-direction: column; }
.proof-point { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: baseline; padding-block: var(--s3); border-bottom: 1px solid var(--line); }
.proof-point:first-child { padding-top: 0; }
.proof-num { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 5vw, 64px); line-height: 0.9; letter-spacing: -0.03em; color: var(--text); white-space: nowrap; }
.proof-num .plus { color: var(--accent); }
.proof-point .ptext { color: var(--text-2); font-size: 16px; line-height: 1.5; align-self: center; }
.proof-point .ptext b { color: var(--text); font-weight: 600; }
.proof-point.full { grid-template-columns: 1fr; }
.certs-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 14px; }
.certs-row { display: flex; flex-wrap: wrap; gap: 9px; }
.cert { font-family: var(--font-mono); font-size: 13px; color: var(--text-2); border: 1px solid var(--line); border-radius: 8px; padding: 8px 13px; transition: all .25s; }
.cert:hover { border-color: var(--accent-line); color: var(--accent-ink); }

/* ============================================================ MODEL */
.model-phases { margin-top: var(--s5); border-top: 1px solid var(--line); counter-reset: ph; }
.phase { display: grid; grid-template-columns: 96px 1fr; gap: clamp(20px, 4vw, 56px); align-items: baseline; padding-block: clamp(26px, 3vw, 40px); border-bottom: 1px solid var(--line); transition: padding-left .3s; position: relative; }
.phase::before { content: ''; position: absolute; left: -100vw; right: -100vw; top: 0; bottom: 0; background: var(--accent-faint); opacity: 0; transition: opacity .3s; z-index: -1; }
.phase:hover { padding-left: 12px; }
.phase:hover::before { opacity: 1; }
.phase-n { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 4vw, 56px); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--text-faint); transition: -webkit-text-stroke-color .3s, color .3s; }
.phase:hover .phase-n { -webkit-text-stroke-color: var(--accent); color: var(--accent-faint); }
.phase h3 { font-size: clamp(21px, 2.3vw, 30px); font-weight: 400; display: inline; }
.phase p { display: inline; color: var(--text-3); font-size: clamp(16px, 1.4vw, 19px); font-family: var(--font-body); }
.phase .em-dash { color: var(--accent-ink); margin: 0 10px; }

/* ============================================================ CLOSING CTA */
.closing { text-align: left; max-width: 920px; }
.closing h2 { font-size: clamp(30px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -0.022em; }
.closing h2 .accent-text { font-style: italic; }
.closing p { color: var(--text-2); margin-top: var(--s3); max-width: 58ch; font-size: clamp(16px, 1.4vw, 19px); }
.closing .hero-actions { margin-top: var(--s4); }

/* ============================================================ FORM */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: var(--s3); margin-top: var(--s4); }
.cinfo-item { padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.cinfo-item .lbl { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink); }
.cinfo-item .val { font-size: clamp(15px, 1.3vw, 18px); color: var(--text); margin-top: 9px; line-height: 1.5; }
.cinfo-item .val a:hover { color: var(--accent-ink); }
.form { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 40px); background: var(--bg-1); margin-top: var(--s4); }
.field { margin-bottom: var(--s3); }
.field label { display: block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 9px; }
.field input, .field textarea { width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; color: var(--text); font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-faint); }
.field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-3); margin-bottom: var(--s3); }
.consent input { margin-top: 3px; accent-color: var(--accent); }
.consent a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.form .btn-primary { width: 100%; justify-content: center; }
.form-success { display: none; align-items: center; gap: 10px; color: var(--accent-ink); font-family: var(--font-mono); font-size: 14px; margin-top: 14px; }
.form-success.show { display: flex; }

/* ============================================================ FOOTER */
.footer { border-top: 1px solid var(--line); padding-block: var(--s5) var(--s3); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: var(--s4); }
.footer-brand p { color: var(--text-3); font-size: 14px; max-width: 36ch; margin-top: var(--s2); }
.footer-brand .addr { color: var(--text-3); font-size: 13.5px; line-height: 1.7; margin-top: var(--s3); }
.footer-brand .addr a:hover { color: var(--accent-ink); }
.footer-col h4 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); font-weight: 500; margin-bottom: var(--s2); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--text-2); font-size: 14.5px; transition: color .2s; }
.footer-col a:hover { color: var(--accent-ink); }
.footer-bot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer-bot p { color: var(--text-faint); font-size: 12.5px; margin: 0; font-family: var(--font-mono); }

/* ============================================================ REVEAL
   Content is visible by default (no dependency on JS/animation). */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } }

/* ============================================================ RESPONSIVE */
@media (max-width: 980px) {
  .thesis-grid, .proof-grid, .contact-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .cap { grid-template-columns: 1fr; gap: var(--s3); }
  .cap-tag { padding-top: 0; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-menu-btn { display: grid; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: var(--s3); }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .phase { grid-template-columns: 56px 1fr; }
  .proof-point { grid-template-columns: 1fr; gap: 8px; }
}

#tweaks-root { position: fixed; z-index: 2147483000; }

/* ============================================================ ISO PAGE COMPONENTS */
/* generic two-column prose */
.split-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.prose p { color: var(--text-2); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.66; max-width: 58ch; }
.prose p + p { margin-top: var(--s3); }
.prose strong { color: var(--text); font-weight: 600; }
.prose em { color: var(--text); }

/* feature list (three things 42001 proves) */
.feature-list { list-style: none; margin: var(--s4) 0 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.feature-list li { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding-block: var(--s3); border-top: 1px solid var(--line); color: var(--text); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.45; }
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list .mk { font-family: var(--font-mono); font-size: 12px; color: var(--accent-ink); padding-top: 4px; }

/* how steps */
.steps { margin-top: var(--s5); border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 64px 1fr; gap: clamp(20px, 4vw, 48px); padding-block: clamp(24px, 3vw, 38px); border-bottom: 1px solid var(--line); }
.step-n { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3.4vw, 46px); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--accent-line); }
.step h3 { font-size: clamp(20px, 2.1vw, 28px); font-weight: 400; }
.step p { color: var(--text-3); font-size: clamp(15px, 1.3vw, 17px); margin: 10px 0 0; max-width: 60ch; }
.platform-note { margin-top: var(--s4); padding: var(--s3); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-1); color: var(--text-2); font-size: 15px; max-width: 70ch; display: flex; gap: 12px; }
.platform-note::before { content: '◇'; color: var(--accent); }
.platform-note strong { color: var(--text); }

/* guarantee */
.guarantee-box { border: 1px solid var(--accent-line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 52px); background: radial-gradient(140% 120% at 0% 0%, var(--accent-faint), transparent 50%), var(--bg-1); margin-top: var(--s5); }
.guarantee-box .prose p { max-width: 64ch; }
.req-list { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: 14px; }
.req-list li { display: grid; grid-template-columns: auto 1fr; gap: 14px; color: var(--text-2); font-size: 15.5px; line-height: 1.5; }
.req-list .ck { color: var(--accent); font-weight: 700; }
.req-h { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); margin-top: var(--s4); }

/* faq */
.faq-list { margin-top: var(--s5); border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; color: var(--text); font-family: var(--font-display); font-size: clamp(19px, 2vw, 26px); font-weight: 400; letter-spacing: -0.015em; padding: clamp(22px,2.4vw,30px) 48px clamp(22px,2.4vw,30px) 0; position: relative; cursor: pointer; }
.faq-q::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--font-body); color: var(--accent); font-size: 26px; font-weight: 300; transition: transform .25s; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { max-height: 0; overflow: hidden; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { color: var(--text-2); font-size: clamp(15px, 1.3vw, 17px); line-height: 1.6; margin: 0 0 clamp(22px,2.4vw,28px); max-width: 70ch; padding-right: 48px; }

/* ============================================================ ASSESSMENT WIDGET */
.assess-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3.4vw, 48px); background: var(--bg-1); margin-top: var(--s5); }
.assess-honesty { margin-top: var(--s3); color: var(--text-faint); font-size: 13px; line-height: 1.55; max-width: 72ch; font-family: var(--font-mono); }
#quiz { margin-top: var(--s4); }
.quiz-intro { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.quiz-mins { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-faint); letter-spacing: 0.04em; }
.quiz-card { max-width: 760px; }
.quiz-top { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--text-3); }
.quiz-pct { color: var(--accent-ink); }
.quiz-bar { height: 3px; background: var(--line); border-radius: 3px; margin: 12px 0 var(--s4); overflow: hidden; }
.quiz-bar-fill { display: block; height: 100%; background: var(--accent); transition: width .3s ease; }
.quiz-q { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 34px); font-weight: 400; line-height: 1.18; letter-spacing: -0.015em; margin-bottom: var(--s4); text-wrap: pretty; }
.quiz-opts { display: grid; gap: 12px; }
.quiz-opt { text-align: left; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 17px 20px; color: var(--text); font-size: 16px; font-weight: 500; transition: border-color .2s, background .2s, transform .15s; display: flex; align-items: center; gap: 14px; }
.quiz-opt::before { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex: none; transition: all .2s; }
.quiz-opt:hover { border-color: var(--accent-line); transform: translateX(3px); }
.quiz-opt.on { border-color: var(--accent); background: var(--accent-faint); }
.quiz-opt.on::before { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px var(--bg-2); }
.quiz-nav { margin-top: var(--s3); min-height: 24px; }
.quiz-link { background: none; border: none; color: var(--text-3); font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; cursor: pointer; transition: color .2s; padding: 4px 0; }
.quiz-link:hover { color: var(--accent-ink); }
/* result */
.quiz-result { max-width: 780px; }
.quiz-result-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 44px); align-items: center; }
.quiz-score { --p: 0; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; text-align: center; flex: none;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--line) 0); position: relative; }
.quiz-score::after { content: ''; position: absolute; inset: 11px; border-radius: 50%; background: var(--bg-1); }
.quiz-score-n { position: relative; z-index: 1; font-family: var(--font-display); font-size: 40px; font-weight: 500; color: var(--text); line-height: 1; }
.quiz-score-n i { font-size: 18px; font-style: normal; color: var(--text-3); }
.quiz-score-l { position: relative; z-index: 1; display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); margin-top: 6px; max-width: 80px; }
.quiz-band-t { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 32px); font-weight: 400; letter-spacing: -0.02em; color: var(--text); }
.quiz-band-b { color: var(--text-2); font-size: 16px; line-height: 1.6; margin: 12px 0 0; }
.quiz-form { margin-top: var(--s4); display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; max-width: 620px; }
.quiz-form .field { margin: 0; }
.quiz-form .btn-primary { white-space: nowrap; }
.quiz-sent { display: none; margin-top: var(--s3); color: var(--accent-ink); font-family: var(--font-mono); font-size: 14px; }
.quiz-sent.show { display: block; }
.quiz-result-foot { display: flex; gap: 24px; margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line); flex-wrap: wrap; }
.quiz-result-foot .quiz-link[href] { color: var(--accent-ink); }

@media (max-width: 680px) {
  .split-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .quiz-result-head { grid-template-columns: 1fr; gap: var(--s3); }
  .quiz-form { grid-template-columns: 1fr; }
  .step { grid-template-columns: 48px 1fr; }
}

/* ============================================================
   Assessment lead-magnet — gate, loading, full diagnosis
   (appended; uses existing tokens: --accent, --font-*, --text-*)
   ============================================================ */
.quiz-gate { max-width: 620px; }
.quiz-gate-lock { font-size: 22px; margin-bottom: var(--s2); opacity: .9; }
.quiz-err { color: #e0533d; font-family: var(--font-mono); font-size: 13px; margin-top: 10px; }
.quiz-err.show { display: block; }
.btn-primary .spin, .spin {
  display: inline-block; width: 13px; height: 13px; vertical-align: -1px;
  border: 2px solid color-mix(in oklab, var(--on-accent) 35%, transparent);
  border-top-color: var(--on-accent); border-radius: 50%; animation: kk-spin .7s linear infinite;
}
@keyframes kk-spin { to { transform: rotate(360deg); } }

.quiz-result-full { max-width: 820px; }
.diag-summary { margin-top: var(--s4); padding: var(--s3) var(--s4);
  background: var(--accent-faint); border-left: 2px solid var(--accent); border-radius: 0 10px 10px 0; }
.diag-summary p { color: var(--text); font-size: 16.5px; line-height: 1.65; margin: 0; }

.diag-h { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-ink); margin: var(--s5) 0 var(--s3); }

.diag-strengths { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.diag-strengths li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 15.5px; line-height: 1.55; }
.diag-strengths .ck { color: var(--accent); font-weight: 700; flex: none; }

.diag-gaps { display: grid; gap: 14px; }
.diag-gap { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.diag-gap-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.diag-gap-area { font-family: var(--font-display); font-size: 18px; font-weight: 500; color: var(--text); }
.diag-gap-rec { color: var(--text-2); font-size: 15px; line-height: 1.6; margin: 10px 0 0; }
.diag-pri { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px; white-space: nowrap; border: 1px solid var(--line-strong); color: var(--text-3); }
.diag-pri.p-high { color: #e0533d; border-color: color-mix(in oklab, #e0533d 45%, transparent); background: color-mix(in oklab, #e0533d 10%, transparent); }
.diag-pri.p-med  { color: #d9a441; border-color: color-mix(in oklab, #d9a441 45%, transparent); background: color-mix(in oklab, #d9a441 10%, transparent); }
.diag-pri.p-low  { color: var(--accent-ink); border-color: var(--accent-line); background: var(--accent-faint); }

.diag-roadmap { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: rm; }
.diag-roadmap li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.diag-rm-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-family: var(--font-mono); font-size: 13px; color: var(--accent-ink);
  border: 1px solid var(--accent-line); background: var(--accent-faint); }
.diag-rm-h { font-family: var(--font-display); font-size: 18px; font-weight: 500; color: var(--text); }
.diag-rm-p { color: var(--text-2); font-size: 15px; line-height: 1.6; margin: 6px 0 0; }

.diag-path { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line); }
.diag-path p { color: var(--text); font-size: 16px; line-height: 1.65; margin: 0; }
.quiz-sent strong { color: var(--accent-ink); }
