/* TrustFlow™ Executive Tools: Friction Scan
   Brand-native: uses the marketing site's token values (BRAND-SYSTEM.md). */

:root {
  --navy-dark: #0A1628;
  --blue-authority: #0D47A1;
  --blue-flow: #4FC3F7;
  --blue-tint: #E3F2FD;
  --orange-activate: #FF6B35;
  --orange-hover: #e85c2a;
  --green-growth: #1B5E20;
  --text-dark: #1A2332;
  --white: #FFFFFF;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Geist', 'Inter', sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s;
  --card-border: rgba(13, 71, 161, 0.14);
  --hairline-dark: rgba(255, 255, 255, 0.12);
  --muted-light: rgba(26, 35, 50, 0.62);
  --sig-low-fg: #1B5E20; --sig-low-bg: #E8F5E9; --sig-low-bd: #A9D6B0;
  --sig-mod-fg: #8A6A00; --sig-mod-bg: #FFF6DE; --sig-mod-bd: #E8CE85;
  --sig-elev-fg: #C2410C; --sig-elev-bg: #FFF0E6; --sig-elev-bd: #F5BE9A;
  --sig-sig-fg: #B91C1C; --sig-sig-bg: #FDECEC; --sig-sig-bd: #F0AFAF;
  --sig-ins-fg: #54677A; --sig-ins-bg: #EDF2F6; --sig-ins-bd: #C9D4DD;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
}
button, input, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); }
img, svg { display: block; }

.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 300;
  padding: 0.65rem 1.1rem; background: var(--white); color: var(--navy-dark);
  border-radius: 10px; font-weight: 600; box-shadow: 0 6px 24px rgba(10,22,40,0.2);
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--blue-flow); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
[tabindex="-1"]:focus { outline: none; }

/* ---------- chrome ---------- */
.fs-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 0.95rem 2rem;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline-dark);
}
.fs-nav-logo {
  font-family: var(--font-display); font-size: 1.375rem; font-weight: 700;
  color: var(--white); text-decoration: none; letter-spacing: -0.01em;
}
.fs-nav-logo span { color: var(--blue-flow); }
.fs-nav-links { display: flex; gap: 1.75rem; }
.fs-nav-links a {
  color: rgba(255,255,255,0.72); text-decoration: none;
  font-size: 0.9375rem; font-weight: 500;
  transition: color var(--transition-base);
}
.fs-nav-links a:hover { color: var(--white); }
.fs-nav-cta {
  font-family: var(--font-display); font-weight: 600; font-size: 0.875rem;
  color: var(--white); background: var(--orange-activate);
  padding: 0.5625rem 1.375rem; border-radius: 50px; text-decoration: none;
  transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}
.fs-nav-cta:hover { background: var(--orange-hover); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(255,107,53,0.4); }

main { padding-top: 62px; }

/* ---------- shared atoms ---------- */
.fs-eyebrow {
  margin: 0 0 1rem;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-flow);
}
.fs-eyebrow-light { color: var(--blue-authority); }
.fs-lede { font-size: 1.1875rem; line-height: 1.65; }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem;
  color: var(--white); background: var(--orange-activate);
  padding: 0.8125rem 1.875rem; border: none; border-radius: 50px;
  cursor: pointer; text-decoration: none; letter-spacing: 0.01em;
  transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,107,53,0.4); }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

.fs-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem;
  color: var(--blue-authority); background: transparent;
  padding: 0.75rem 1.625rem; border: 1.5px solid rgba(13,71,161,0.3); border-radius: 50px;
  cursor: pointer; text-decoration: none;
  transition: border-color var(--transition-base), transform var(--transition-base);
}
.fs-btn-ghost:hover { border-color: var(--blue-authority); transform: translateY(-1px); }
.fs-btn-ghost:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.fs-btn-outline-light {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem;
  color: var(--white); background: transparent;
  padding: 0.75rem 1.625rem; border: 1.5px solid rgba(255,255,255,0.35); border-radius: 50px;
  cursor: pointer; text-decoration: none;
  transition: border-color var(--transition-base), background var(--transition-base);
}
.fs-btn-outline-light:hover { border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.06); }

/* ---------- hero / setup ---------- */
.fs-hero {
  position: relative; overflow: hidden;
  background: var(--navy-dark);
}
.fs-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(52% 60% at 78% 8%, rgba(79,195,247,0.14), transparent 62%),
    radial-gradient(40% 55% at 8% 90%, rgba(13,71,161,0.35), transparent 60%);
}
.fs-hero-inner {
  position: relative; z-index: 1;
  max-width: 1240px; margin: 0 auto;
  padding: 6.5rem 2rem 5.5rem;
  display: grid; grid-template-columns: 55fr 45fr; gap: 4rem; align-items: start;
}
.fs-hero-copy h1 {
  margin: 0 0 1.25rem; max-width: 15ch;
  font-size: clamp(2.5rem, 4.5vw, 3.75rem); font-weight: 700;
  letter-spacing: -0.04em; line-height: 1.06; color: var(--white);
}
.fs-hero-copy h1 em { font-style: normal; color: var(--blue-flow); }
.fs-hero-copy .fs-lede { margin: 0 0 1.5rem; max-width: 34rem; color: rgba(255,255,255,0.62); }

.fs-meta-chips { display: flex; flex-wrap: wrap; gap: 0.625rem; list-style: none; margin: 0 0 2rem; padding: 0; }
.fs-meta-chips li {
  padding: 0.4rem 0.95rem; border: 1px solid var(--hairline-dark); border-radius: 50px;
  color: rgba(255,255,255,0.75); font-size: 0.8125rem; font-weight: 500;
  background: rgba(255,255,255,0.04);
}
.fs-boundary-note {
  display: flex; gap: 0.85rem; align-items: flex-start; max-width: 36rem;
  padding: 1rem 1.25rem; border: 1px solid var(--hairline-dark); border-radius: 14px;
  background: rgba(255,255,255,0.03);
}
.fs-boundary-note svg { flex: none; margin-top: 0.2rem; color: var(--blue-flow); }
.fs-boundary-note p { margin: 0; font-size: 0.875rem; line-height: 1.6; color: rgba(255,255,255,0.6); }
.fs-boundary-note strong { color: rgba(255,255,255,0.9); font-weight: 600; }

.fs-setup-card {
  margin: 0; padding: 2rem;
  background: var(--white); border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(79,195,247,0.15);
  display: grid; gap: 1.25rem;
}
.fs-setup-eyebrow {
  margin: 0; font-family: var(--font-display); font-weight: 600;
  font-size: 1.25rem; letter-spacing: -0.01em; color: var(--navy-dark);
}
.fs-field label, .fs-period legend {
  display: block; margin-bottom: 0.45rem;
  font-weight: 600; font-size: 0.9375rem; color: var(--text-dark);
}
.fs-field label span { margin-left: 0.35rem; color: var(--muted-light); font-size: 0.8125rem; font-weight: 400; }
.fs-field input, .fs-field textarea {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid rgba(13,71,161,0.2); border-radius: 12px;
  color: var(--text-dark); background: var(--white); font-size: 0.9375rem;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.fs-field input:focus, .fs-field textarea:focus {
  outline: none; border-color: var(--blue-authority);
  box-shadow: 0 0 0 4px rgba(13,71,161,0.12);
}
.fs-field textarea { min-height: 5.25rem; resize: vertical; }
.fs-field-hint { display: block; margin-top: 0.4rem; font-size: 0.8125rem; color: var(--muted-light); }
.fs-period { display: grid; gap: 0.625rem; margin: 0; padding: 0; border: 0; }
.fs-period-choice {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 0.85rem 1rem; border: 1.5px solid rgba(13,71,161,0.2); border-radius: 12px;
  cursor: pointer; transition: border-color var(--transition-base), background var(--transition-base);
}
.fs-period-choice:hover { border-color: rgba(13,71,161,0.45); }
.fs-period-choice:has(input:checked) { border-color: var(--blue-authority); background: var(--blue-tint); }
.fs-period-choice input { width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; accent-color: var(--blue-authority); }
.fs-period-choice span { display: flex; flex-direction: column; line-height: 1.45; }
.fs-period-choice b { font-size: 0.9375rem; }
.fs-period-choice small { color: var(--muted-light); font-size: 0.8125rem; }
.fs-start-btn { width: 100%; padding-block: 1rem; font-size: 1rem; }
.fs-setup-foot { margin: 0; text-align: center; font-size: 0.8125rem; color: var(--muted-light); }

/* ---------- pathway band ---------- */
.fs-pathway-band { background: var(--white); border-bottom: 1px solid rgba(13,71,161,0.1); }
.fs-pathway {
  max-width: 1240px; margin: 0 auto; padding: 1.75rem 2rem;
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 1.25rem; align-items: center;
}
.fs-pathway-step span {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 0.8125rem; color: rgba(13,71,161,0.45); margin-bottom: 0.15rem;
}
.fs-pathway-step strong { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--navy-dark); }
.fs-pathway-step small { display: block; color: var(--muted-light); font-size: 0.8125rem; line-height: 1.4; margin-top: 0.1rem; }
.fs-pathway-step.current span { color: var(--orange-activate); }
.fs-pathway-step.current strong { color: var(--blue-authority); }
.fs-pathway i {
  width: 2rem; height: 1px; background: rgba(13,71,161,0.25); position: relative;
}
.fs-pathway i::after {
  content: ""; position: absolute; right: 0; top: -3px;
  border-left: 6px solid rgba(13,71,161,0.25); border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent;
}

/* ---------- method section ---------- */
.fs-method { background: var(--blue-tint); padding: 6rem 2rem; }
.fs-method-head { max-width: 780px; margin: 0 auto 3rem; text-align: center; }
.fs-method-head h2 {
  margin: 0 0 1rem; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.1; color: var(--navy-dark);
}
.fs-method-head h2 em { font-style: normal; color: var(--blue-authority); }
.fs-method-lede { margin: 0 auto; max-width: 44rem; color: var(--muted-light); }
.fs-dim-grid {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
.fs-dim-card {
  background: var(--white); border: 1px solid var(--card-border); border-radius: 16px;
  padding: 1.5rem 1.375rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.fs-dim-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(10,22,40,0.12);
  border-color: rgba(13,71,161,0.3);
}
.fs-dim-card > span {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 0.8125rem; color: var(--orange-activate); margin-bottom: 0.6rem;
}
.fs-dim-card h3 { margin: 0 0 0.45rem; font-size: 1.0625rem; font-weight: 600; color: var(--navy-dark); }
.fs-dim-card p { margin: 0; font-size: 0.875rem; line-height: 1.6; color: var(--muted-light); }
.fs-dim-note {
  background: var(--navy-dark); border-color: var(--navy-dark);
}
.fs-dim-note h3 { color: var(--blue-flow); }
.fs-dim-note p { color: rgba(255,255,255,0.6); }

/* ---------- FAQ ---------- */
.fs-faq { background: var(--white); padding: 6rem 2rem; }
.fs-faq-inner { max-width: 780px; margin: 0 auto; }
.fs-faq h2 {
  margin: 0 0 2rem; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700;
  letter-spacing: -0.03em; color: var(--navy-dark);
}
.fs-faq details { border-top: 1px solid rgba(13,71,161,0.14); }
.fs-faq details:last-child { border-bottom: 1px solid rgba(13,71,161,0.14); }
.fs-faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0.25rem; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; color: var(--navy-dark);
  transition: color var(--transition-base);
}
.fs-faq summary::-webkit-details-marker { display: none; }
.fs-faq summary::after {
  content: "+"; flex: none;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 400; color: var(--blue-authority);
  transition: transform var(--transition-base);
}
.fs-faq details[open] summary::after { transform: rotate(45deg); }
.fs-faq summary:hover { color: var(--blue-authority); }
.fs-faq details p { margin: 0; padding: 0 0.25rem 1.375rem; max-width: 42rem; color: var(--muted-light); }

/* ---------- assessment ---------- */
.fs-assessment { min-height: calc(100vh - 62px); background: linear-gradient(180deg, var(--blue-tint) 0%, var(--white) 34rem); }
.fs-scan-shell { max-width: 860px; margin: 0 auto; padding: 3.5rem 1.5rem 5rem; }
.fs-scan-top { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 2.75rem; }
.fs-exit {
  display: inline-flex; align-items: center; gap: 0.35rem;
  border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; color: var(--blue-authority);
  padding: 0.4rem 0.2rem;
}
.fs-exit:hover { color: var(--navy-dark); }
.fs-scan-progress { text-align: right; }
.fs-scan-progress > span {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: 0.875rem; color: var(--muted-light); margin-bottom: 0.45rem;
}
.fs-progress-track { width: 200px; height: 6px; border-radius: 3px; background: rgba(13,71,161,0.14); overflow: hidden; margin-left: auto; }
.fs-progress-track span { display: block; height: 100%; width: 0; background: var(--orange-activate); border-radius: 3px; transition: width 0.45s var(--ease-out-expo); }

.fs-question h1 {
  margin: 0 0 0.75rem; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.08; color: var(--navy-dark);
}
.fs-dim-desc { margin: 0 0 2.5rem; max-width: 40rem; font-size: 1.125rem; color: var(--muted-light); }

.fs-rating-group { margin: 0 0 2.25rem; padding: 0; border: 0; }
.fs-rating-group legend {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.4rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; color: var(--navy-dark);
}
.fs-group-tag {
  flex: none; padding: 0.22rem 0.7rem; border-radius: 50px;
  background: var(--blue-authority); color: var(--white);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.fs-group-hint { margin: 0 0 1.1rem; font-size: 0.875rem; color: var(--muted-light); }
.fs-options { display: grid; gap: 0.625rem; }
.fs-option {
  display: grid; grid-template-columns: 2.5rem 1fr auto; gap: 0.9rem; align-items: center;
  padding: 0.8rem 1.1rem; border: 1.5px solid rgba(13,71,161,0.18); border-radius: 14px;
  background: var(--white); cursor: pointer;
  transition: border-color var(--transition-base), background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}
.fs-option:hover { border-color: rgba(13,71,161,0.5); transform: translateY(-1px); }
.fs-option.selected {
  border-color: var(--blue-authority); background: var(--blue-tint);
  box-shadow: 0 0 0 1px var(--blue-authority);
}
.fs-option .fs-opt-val {
  display: grid; place-items: center; width: 2.25rem; height: 2.25rem;
  border-radius: 10px; background: var(--blue-tint);
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--blue-authority);
  transition: background var(--transition-base), color var(--transition-base);
}
.fs-option.selected .fs-opt-val { background: var(--blue-authority); color: var(--white); }
.fs-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fs-option .fs-opt-label { display: flex; flex-direction: column; line-height: 1.45; }
.fs-option .fs-opt-label b { font-size: 0.96875rem; font-weight: 600; color: var(--text-dark); }
.fs-option .fs-opt-label small { font-size: 0.8125rem; color: var(--muted-light); }
.fs-option .fs-opt-check {
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  border: 1.5px solid rgba(13,71,161,0.3);
  display: grid; place-items: center; transition: all var(--transition-base);
}
.fs-option .fs-opt-check svg { opacity: 0; transform: scale(0.5); transition: all var(--transition-base); }
.fs-option.selected .fs-opt-check { border-color: var(--blue-authority); background: var(--blue-authority); }
.fs-option.selected .fs-opt-check svg { opacity: 1; transform: scale(1); }
.fs-option:has(input:focus-visible) { outline: 3px solid var(--blue-flow); outline-offset: 3px; }

.fs-error {
  margin: 0 0 1.25rem; padding: 0.85rem 1.1rem;
  border: 1px solid var(--sig-sig-bd); border-radius: 12px; background: var(--sig-sig-bg);
  color: var(--sig-sig-fg); font-weight: 500; font-size: 0.9375rem;
}
.fs-scan-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.5rem; }
.fs-scan-actions .btn-primary { min-width: 10rem; }

/* ---------- results ---------- */
.fs-results { background: var(--white); }
.fs-results-shell { max-width: 1180px; margin: 0 auto; padding: 4.5rem 2rem 5rem; }
.fs-results-head { margin-bottom: 1.5rem; }
.fs-results-headline { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.fs-results-headline h1 {
  margin: 0; font-size: clamp(2.25rem, 4vw, 3.5rem); font-weight: 700;
  letter-spacing: -0.04em; line-height: 1.06; color: var(--navy-dark);
}
.fs-results-sub { margin: 0.6rem 0 0; color: var(--muted-light); max-width: 44rem; }
.fs-signal {
  flex: none; padding: 0.45rem 1.1rem; border-radius: 50px; border: 1.5px solid;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem;
}
.fs-signal.lower-signal { color: var(--sig-low-fg); background: var(--sig-low-bg); border-color: var(--sig-low-bd); }
.fs-signal.moderate-signal { color: var(--sig-mod-fg); background: var(--sig-mod-bg); border-color: var(--sig-mod-bd); }
.fs-signal.elevated-signal { color: var(--sig-elev-fg); background: var(--sig-elev-bg); border-color: var(--sig-elev-bd); }
.fs-signal.significant-signal { color: var(--sig-sig-fg); background: var(--sig-sig-bg); border-color: var(--sig-sig-bd); }
.fs-signal.insufficient-evidence { color: var(--sig-ins-fg); background: var(--sig-ins-bg); border-color: var(--sig-ins-bd); }

.fs-boundary-strip {
  margin: 0 0 2.5rem; padding: 1.125rem 1.375rem;
  border-left: 3px solid var(--blue-authority); border-radius: 0 12px 12px 0;
  background: var(--blue-tint); color: var(--muted-light);
  font-size: 0.9375rem; line-height: 1.65; max-width: 62rem;
}
.fs-boundary-strip strong { color: var(--navy-dark); }

.fs-results-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 1.5rem; align-items: stretch; }

.fs-radar-card {
  background: var(--navy-dark); border-radius: 18px; padding: 2rem;
  display: flex; flex-direction: column;
  box-shadow: 0 30px 70px rgba(10,22,40,0.25);
}
.fs-radar-card h2 {
  margin: 0 0 0.5rem; font-size: 1.5rem; font-weight: 700;
  letter-spacing: -0.02em; color: var(--white);
}
.fs-radar-mount { flex: 1; display: grid; place-items: center; min-height: 300px; }
.fs-radar-mount svg { width: min(100%, 470px); height: auto; }
.fs-radar-foot { margin: 0.75rem 0 0; font-size: 0.875rem; color: rgba(255,255,255,0.55); text-align: center; }

.fs-guidance-card {
  background: var(--white); border: 1px solid var(--card-border); border-radius: 18px;
  padding: 2rem; display: flex; flex-direction: column;
}
.fs-guidance-card h2 {
  margin: 0 0 0.75rem; font-size: 1.5rem; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.2; color: var(--navy-dark);
}
.fs-guidance-card > p:not(.fs-eyebrow):not(.fs-handoff) { margin: 0; color: var(--muted-light); }
.fs-result-meta { margin: 1.5rem 0; display: grid; gap: 0; }
.fs-result-meta > div { padding: 0.8rem 0; border-top: 1px solid rgba(13,71,161,0.12); }
.fs-result-meta dt {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted-light); margin-bottom: 0.2rem;
}
.fs-result-meta dd { margin: 0; font-weight: 600; color: var(--text-dark); font-size: 0.9375rem; }
.fs-next-btn { width: 100%; margin-top: auto; }
.fs-guidance-card .fs-btn-outline-light {
  width: 100%; margin-top: 0.75rem; color: var(--blue-authority);
  border-color: rgba(13,71,161,0.3);
}
.fs-guidance-card .fs-btn-outline-light:hover { border-color: var(--blue-authority); background: var(--blue-tint); }
.fs-handoff { margin: 0.75rem 0 0; font-size: 0.8125rem; color: var(--muted-light); text-align: center; }

/* ranked dimension list */
.fs-ranked { margin-top: 1.5rem; background: var(--white); border: 1px solid var(--card-border); border-radius: 18px; padding: 2rem; }
.fs-ranked-head { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.fs-ranked-head h2 { margin: 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; color: var(--navy-dark); }
.fs-legend { display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; color: var(--muted-light); }
.fs-legend i { width: 0.6rem; height: 0.6rem; border-radius: 50%; margin-left: 0.6rem; }
.fs-legend i:first-child { margin-left: 0; }
.lg-high { background: var(--sig-sig-fg); } .lg-mod { background: var(--sig-mod-fg); }
.lg-low { background: var(--sig-low-fg); } .lg-min { background: #6d9bb5; } .lg-ns { background: #93a4b1; }

.fs-dim-row {
  display: grid; grid-template-columns: 2rem 14rem 1fr 9.5rem; gap: 1.25rem; align-items: center;
  padding: 1.05rem 0.75rem; border-top: 1px solid rgba(13,71,161,0.1);
}
.fs-dim-row:first-of-type { border-top: 0; }
.fs-dim-row .fs-rank { font-family: var(--font-display); font-weight: 700; color: rgba(13,71,161,0.4); font-size: 0.9375rem; }
.fs-dim-row.is-top { background: linear-gradient(90deg, rgba(255,107,53,0.05), transparent 60%); }
.fs-dim-row.is-top .fs-rank { color: var(--orange-activate); }
.fs-dim-row-name { display: flex; flex-direction: column; line-height: 1.4; }
.fs-dim-row-name b { font-weight: 600; font-size: 0.96875rem; color: var(--text-dark); }
.fs-dim-row-name span { font-size: 0.8125rem; color: var(--muted-light); }
.fs-dim-row .fs-bar { height: 0.55rem; border-radius: 3px; background: rgba(13,71,161,0.1); overflow: hidden; }
.fs-dim-row .fs-bar i {
  display: block; height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--blue-authority), var(--blue-flow));
}
.fs-dim-row .fs-bar i.c-high { background: var(--sig-sig-fg); }
.fs-dim-row .fs-bar i.c-mod { background: var(--sig-mod-fg); }
.fs-dim-row .fs-bar i.c-low { background: var(--sig-low-fg); }
.fs-dim-row .fs-bar i.c-min { background: #6d9bb5; }
.fs-dim-row .fs-bar i.c-ns { background: #93a4b1; }
.fs-dim-row .fs-score { text-align: right; line-height: 1.35; }
.fs-dim-row .fs-score strong { font-family: var(--font-display); font-size: 1.0625rem; color: var(--navy-dark); }
.fs-dim-row .fs-score span { display: block; font-size: 0.75rem; color: var(--muted-light); white-space: nowrap; }

.fs-detail { margin-top: 1.5rem; border: 1px solid var(--card-border); border-radius: 18px; background: var(--white); overflow: hidden; }
.fs-detail summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.375rem 2rem; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; color: var(--navy-dark);
}
.fs-detail summary::-webkit-details-marker { display: none; }
.fs-detail summary span { font-size: 1.35rem; font-weight: 400; color: var(--blue-authority); transition: transform var(--transition-base); }
.fs-detail[open] summary span { transform: rotate(45deg); }
.fs-detail summary:hover { background: rgba(227,242,253,0.4); }
.fs-detail .fs-detail-row {
  display: grid; grid-template-columns: 2.5rem 1fr auto; gap: 1rem; align-items: center;
  margin: 0 2rem; padding: 1rem 0; border-top: 1px solid rgba(13,71,161,0.1);
}
.fs-detail .fs-detail-row .fs-rank { font-family: var(--font-display); font-weight: 700; color: var(--blue-authority); }
.fs-detail .fs-detail-row p { margin: 0; font-weight: 500; }
.fs-detail .fs-detail-row b { font-size: 0.875rem; font-weight: 500; color: var(--muted-light); text-align: right; }

.fs-result-actions { display: flex; justify-content: flex-end; gap: 0.875rem; margin-top: 2rem; }
.fs-provisional { margin: 1.5rem 0 0; font-size: 0.8125rem; color: var(--muted-light); text-align: right; }

/* ---------- footer ---------- */
.fs-footer { background: var(--navy-dark); color: rgba(255,255,255,0.6); }
.fs-footer-grid {
  max-width: 1240px; margin: 0 auto; padding: 4rem 2rem 3rem;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 3rem;
}
.fs-footer-brand p { margin: 1rem 0 0; font-size: 0.9375rem; line-height: 1.7; max-width: 22rem; }
.fs-footer-col h4 {
  margin: 0 0 1.1rem; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4);
}
.fs-footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.fs-footer-col a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9375rem; transition: color var(--transition-base); }
.fs-footer-col a:hover { color: var(--white); }
.fs-footer-endorsement { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--hairline-dark); }
.fs-footer-endorsement p { margin: 0; font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.fs-footer-endorsement strong { display: block; color: var(--white); font-size: 0.9375rem; margin-top: 0.15rem; }
.fs-footer-endorsement span { font-size: 0.8125rem; color: rgba(255,255,255,0.45); }
.fs-footer-bottom {
  max-width: 1240px; margin: 0 auto; padding: 1.5rem 2rem;
  border-top: 1px solid var(--hairline-dark);
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  font-size: 0.8125rem;
}
.fs-footer-bottom p { margin: 0; }
.fs-footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.fs-footer-bottom a:hover { color: var(--white); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .fs-hero-inner { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 1.5rem 4rem; }
  .fs-hero-copy h1 { max-width: 20ch; }
  .fs-setup-card { max-width: 34rem; }
  .fs-pathway { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .fs-pathway i { display: none; }
  .fs-dim-grid { grid-template-columns: repeat(2, 1fr); }
  .fs-results-grid { grid-template-columns: 1fr; }
  .fs-footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
  .fs-nav-links { display: none; }
  .fs-method, .fs-faq { padding: 4rem 1.25rem; }
  .fs-results-shell { padding: 3rem 1.25rem 4rem; }
  .fs-radar-card, .fs-guidance-card, .fs-ranked { padding: 1.5rem; }
  .fs-dim-row { grid-template-columns: 2rem 1fr 5.5rem; }
  .fs-dim-row .fs-bar { grid-column: 1 / -1; grid-row: 2; }
  .fs-dim-row .fs-score { text-align: right; }
  .fs-result-actions { flex-direction: column; }
  .fs-result-actions button { width: 100%; }
  .fs-provisional { text-align: left; }
}
@media (max-width: 560px) {
  .fs-navbar { padding: 0.8rem 1.25rem; }
  .fs-hero-inner { padding: 4.5rem 1.25rem 3.5rem; }
  .fs-hero-copy h1 { font-size: 2.125rem; }
  .fs-setup-card { padding: 1.5rem; border-radius: 16px; }
  .fs-pathway { grid-template-columns: 1fr; padding: 1.5rem 1.25rem; }
  .fs-dim-grid { grid-template-columns: 1fr; }
  .fs-scan-shell { padding: 2.5rem 1.25rem 4rem; }
  .fs-scan-top { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .fs-scan-progress { text-align: left; width: 100%; }
  .fs-progress-track { margin-left: 0; width: 100%; }
  .fs-option { grid-template-columns: 2.5rem 1fr; }
  .fs-option .fs-opt-check { display: none; }
  .fs-scan-actions { flex-direction: column-reverse; }
  .fs-scan-actions .btn-primary, .fs-scan-actions .fs-btn-ghost { width: 100%; }
  .fs-detail .fs-detail-row { grid-template-columns: 1fr; gap: 0.15rem; }
  .fs-detail .fs-detail-row b { text-align: left; }
  .fs-footer-grid { grid-template-columns: 1fr; padding: 3rem 1.25rem 2rem; }
  .fs-footer-bottom { padding: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

@media print {
  .fs-navbar, .fs-footer, .fs-result-actions, .fs-provisional, .fs-next-btn, .fs-handoff { display: none !important; }
  main { padding-top: 0; }
  .fs-results { display: block !important; }
  .fs-radar-card, .fs-guidance-card, .fs-ranked { break-inside: avoid; box-shadow: none; }
  .fs-radar-card { background: var(--white); border: 1px solid var(--card-border); }
  .fs-radar-card h2, .fs-radar-foot { color: var(--navy-dark) !important; }
}
