:root {
  --black: #050505;
  --ink: #101010;
  --white: #ffffff;
  --paper: #faf9f7;
  --muted: #6f6e69;
  --line: #d9d6ce;
  --gold: #b99761;
  --gold-dark: #8e6e3e;
  --gold-pale: #eee5d6;
  --success: #1f6f50;
  --danger: #9b3a30;
  --shadow: 0 28px 70px rgba(0, 0, 0, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}
.site-header {
  height: 88px;
  padding: 0 clamp(22px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.96);
  color: var(--black);
  border-bottom: 1px solid #e7e3da;
  position: relative;
  z-index: 3;
}
.brand { display: inline-flex; gap: 12px; align-items: center; color: inherit; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); font-weight: 800; letter-spacing: -.06em; }
.brand-copy { display: flex; flex-direction: column; gap: 3px; }
.brand-copy strong { font-size: 12px; letter-spacing: .15em; }
.brand-copy small { color: #77746d; font-size: 8px; letter-spacing: .17em; }
.private-badge { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #5f5c55; display: inline-flex; align-items: center; gap: 8px; }
.private-badge span { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(185,151,97,.14); }
main { min-height: calc(100vh - 150px); }
.hero {
  min-height: calc(100vh - 88px);
  padding: clamp(70px, 10vw, 140px) clamp(22px, 8vw, 120px) 70px;
  color: var(--black);
  background:
    radial-gradient(circle at 82% 18%, rgba(185,151,97,.18), transparent 30%),
    radial-gradient(circle at 4% 90%, rgba(185,151,97,.08), transparent 24%),
    linear-gradient(118deg, #ffffff 0%, #fcfbf8 66%, #f1eadf 100%);
  position: relative;
  overflow: hidden;
}
.hero::after { content: "10X"; position: absolute; right: -2vw; bottom: -8vw; font-weight: 800; font-size: clamp(180px, 33vw, 510px); line-height: .7; color: transparent; -webkit-text-stroke: 1px rgba(185,151,97,.20); pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
.hero-kicker, .eyebrow, .card-label { color: var(--gold); font-size: 11px; line-height: 1.4; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { max-width: 1040px; margin: 22px 0 28px; font-size: clamp(49px, 7.5vw, 108px); line-height: .93; letter-spacing: -.06em; }
.hero h1 em, .result-hero h2 em { color: var(--gold); font-style: normal; }
.hero-lead { max-width: 730px; margin: 0; color: #5d5a54; font-size: clamp(17px, 2vw, 21px); line-height: 1.7; }
.hero-actions { margin-top: 40px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.button { min-height: 52px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid transparent; border-radius: 2px; font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-button:focus-visible, .scale-option input:focus-visible + span { outline: 3px solid rgba(185,151,97,.42); outline-offset: 3px; }
.button-primary { background: var(--gold); color: var(--black); }
.button-primary:hover { background: #c7a975; }
.button-secondary { background: transparent; border-color: var(--line); color: var(--ink); }
.time-note { color: #77736b; font-size: 12px; }
.promise-grid { margin-top: clamp(75px, 11vw, 140px); max-width: 980px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #dcd7cc; }
.promise-grid > div { min-height: 100px; padding: 24px 24px 0 0; display: grid; grid-template-columns: 34px 1fr; gap: 12px; color: #5f5b53; font-size: 13px; line-height: 1.55; }
.promise-grid > div + div { border-left: 1px solid #dcd7cc; padding-left: 24px; }
.promise-grid strong { color: var(--gold); font-size: 11px; }
.assessment-shell, .results-shell { width: min(1120px, calc(100% - 44px)); margin: clamp(44px, 7vw, 100px) auto; }
.assessment-shell { background: var(--white); padding: clamp(28px, 5vw, 64px); border: 1px solid #e5e0d7; box-shadow: 0 24px 70px rgba(62,48,26,.08); }
.assessment-topline { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.assessment-topline h2 { margin: 10px 0 0; font-size: clamp(32px, 4vw, 52px); letter-spacing: -.045em; }
.progress-copy { display: flex; align-items: baseline; gap: 6px; color: var(--muted); }
.progress-copy strong { color: var(--gold-dark); font-size: 25px; }
.progress-copy span { font-size: 12px; }
.progress-track { height: 3px; background: #e8e5de; margin: 30px 0 32px; overflow: hidden; }
.progress-track span { display: block; width: 0; height: 100%; background: var(--gold); transition: width .35s ease; }
.step-intro { max-width: 790px; margin: 0 0 35px; color: var(--muted); line-height: 1.7; }
.question-card { padding: 25px 0 30px; border-top: 1px solid var(--line); }
.question-card legend { width: 100%; padding: 0; margin: 0 0 18px; font-weight: 600; line-height: 1.5; }
.question-index { display: inline-grid; width: 28px; height: 28px; margin-right: 10px; place-items: center; background: var(--black); color: var(--gold); font-size: 11px; }
.scale-options { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.scale-option { min-width: 0; }
.scale-option input { position: absolute; opacity: 0; pointer-events: none; }
.scale-option span { min-height: 66px; padding: 10px 6px; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; text-align: center; cursor: pointer; transition: .18s ease; }
.scale-option b { font-size: 17px; }
.scale-option small { color: var(--muted); font-size: 9px; line-height: 1.2; }
.scale-option:hover span { border-color: var(--gold); background: #fbf8f3; }
.scale-option input:checked + span { background: var(--black); border-color: var(--black); color: var(--white); box-shadow: inset 0 -3px 0 var(--gold); }
.scale-option input:checked + span small { color: #bbb8b0; }
.form-error { min-height: 20px; margin: 14px 0 0; color: var(--danger); font-size: 13px; font-weight: 600; }
.assessment-actions { margin-top: 22px; display: flex; justify-content: space-between; gap: 12px; }
.results-shell { display: grid; gap: 22px; }
.result-hero { background: linear-gradient(125deg, #ffffff 0%, #f8f3eb 100%); color: var(--black); padding: clamp(32px, 6vw, 68px); display: grid; grid-template-columns: 1fr 190px; gap: 50px; align-items: center; border: 1px solid #e2dbcf; }
.result-hero h2 { margin: 12px 0 20px; font-size: clamp(36px, 5.2vw, 66px); line-height: 1.02; letter-spacing: -.055em; }
.result-hero p { max-width: 720px; margin: 0; color: #625e57; line-height: 1.7; }
.score-orbit { width: 180px; height: 180px; position: relative; display: grid; place-items: center; }
.score-orbit svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-orbit circle { fill: none; stroke-width: 5; }
.orbit-bg { stroke: #e4ddd1; }
.orbit-value { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 377; stroke-dashoffset: 377; transition: stroke-dashoffset 1s cubic-bezier(.2,.8,.2,1); }
.score-orbit > div { position: absolute; display: flex; flex-direction: column; align-items: center; }
.score-orbit strong { color: var(--black); font-size: 49px; letter-spacing: -.06em; }
.score-orbit span { color: var(--gold); font-size: 11px; }
.result-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.result-card { min-height: 210px; padding: 34px; background: var(--white); border-top: 4px solid var(--gold); box-shadow: 0 14px 35px rgba(0,0,0,.05); }
.bottleneck-card { border-top-color: var(--black); }
.result-card h3 { margin: 18px 0 12px; font-size: 27px; letter-spacing: -.03em; }
.result-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.scorecard-panel, .action-panel { background: var(--white); padding: clamp(28px, 5vw, 52px); }
.panel-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 34px; }
.panel-heading h3 { margin: 8px 0 0; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.04em; }
.score-key, .action-rule { color: var(--muted); font-size: 11px; }
.score-key { display: flex; align-items: center; gap: 7px; }
.score-key i { width: 16px; height: 3px; background: var(--gold); }
.score-bars { display: grid; gap: 19px; }
.score-row { display: grid; grid-template-columns: minmax(150px, 220px) 1fr 46px; gap: 18px; align-items: center; }
.score-row strong { font-size: 13px; }
.bar-track { height: 9px; background: #ece9e3; overflow: hidden; }
.bar-track span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--gold-dark), var(--gold)); transition: width .8s ease; }
.score-row b { font-size: 13px; text-align: right; }
.priority-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; counter-reset: actions; }
.priority-action { min-height: 205px; padding: 25px; border: 1px solid var(--line); counter-increment: actions; }
.priority-action::before { content: "0" counter(actions); color: var(--gold-dark); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.priority-action h4 { margin: 32px 0 10px; font-size: 17px; line-height: 1.35; }
.priority-action p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.result-cta { background: var(--gold-pale); padding: clamp(30px, 5vw, 55px); display: grid; grid-template-columns: 1fr auto; gap: 55px; align-items: center; }
.result-cta h3 { max-width: 760px; margin: 12px 0; font-size: clamp(25px, 3vw, 38px); line-height: 1.15; letter-spacing: -.04em; }
.result-cta p { margin: 0; color: #6c6253; line-height: 1.6; }
.result-cta .button-primary { background: var(--black); color: var(--white); white-space: nowrap; }
.utility-actions { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; padding: 16px 0; }
.text-button { padding: 6px 0; border: 0; border-bottom: 1px solid var(--gold); background: transparent; color: var(--ink); font-size: 12px; font-weight: 700; cursor: pointer; }
footer { min-height: 62px; padding: 18px clamp(22px, 5vw, 72px); display: flex; justify-content: space-between; gap: 20px; align-items: center; background: var(--black); color: #8d8b84; font-size: 10px; letter-spacing: .05em; }
.is-hidden { display: none !important; }

@media (max-width: 760px) {
  .site-header { height: 74px; }
  .brand-mark { width: 36px; height: 36px; }
  .private-badge { font-size: 0; }
  .private-badge span { margin-right: 2px; }
  .hero { min-height: calc(100svh - 74px); padding-top: 64px; }
  .hero::after { bottom: 10px; font-size: 52vw; }
  .hero h1 { font-size: clamp(47px, 14vw, 68px); }
  .hero-lead { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .promise-grid { grid-template-columns: 1fr; margin-top: 70px; }
  .promise-grid > div { min-height: auto; padding: 18px 0; border-top: 1px solid #ded8cc; }
  .promise-grid > div + div { border-left: 0; padding-left: 0; }
  .assessment-shell, .results-shell { width: min(100% - 22px, 1120px); margin: 24px auto; }
  .assessment-shell { padding: 25px 16px; }
  .assessment-topline { align-items: flex-start; }
  .progress-copy span { display: none; }
  .scale-options { gap: 4px; }
  .scale-option span { min-height: 55px; padding: 8px 2px; }
  .scale-option small { display: none; }
  .assessment-actions .button { padding: 0 16px; }
  .result-hero { grid-template-columns: 1fr; gap: 30px; }
  .score-orbit { width: 150px; height: 150px; }
  .result-cards { grid-template-columns: 1fr; }
  .panel-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .score-row { grid-template-columns: 115px 1fr 38px; gap: 10px; }
  .score-row strong { font-size: 11px; }
  .priority-actions { grid-template-columns: 1fr; }
  .priority-action { min-height: 0; }
  .result-cta { grid-template-columns: 1fr; gap: 25px; }
  .result-cta .button { width: 100%; }
  footer { align-items: flex-start; flex-direction: column; }
}

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

@media print {
  .grain, .site-header, .utility-actions, .result-cta, footer { display: none !important; }
  body { background: white; }
  .results-shell { width: 100%; margin: 0; gap: 10px; }
  .result-hero { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .result-card, .scorecard-panel, .action-panel { box-shadow: none; break-inside: avoid; }
}
