:root {
  --ink: #101418;
  --ink-soft: #1b2229;
  --steel: #66717c;
  --steel-light: #aab4bc;
  --paper: #f2ede3;
  --paper-bright: #fffdf8;
  --line: #d6cdbd;
  --blue: #1467b8;
  --blue-dark: #0a3764;
  --orange: #ef7322;
  --green: #1ba172;
  --red: #c34435;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Public Sans", sans-serif;
  --shadow: 0 24px 60px rgba(12, 17, 22, .14);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  inset: 8px auto auto 8px;
  z-index: 100;
  padding: 10px 14px;
  background: white;
  color: black;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.section-shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: white; text-decoration: none; }
.brand-mark { width: 35px; }
.brand-mark path:first-child { fill: var(--orange); stroke: white; stroke-width: 1.2; }
.brand-mark path:last-child { fill: none; stroke: white; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.brand > span:last-child { display: grid; line-height: .86; text-transform: uppercase; font-family: var(--display); }
.brand strong { font-size: 1.25rem; letter-spacing: .03em; }
.brand small { font-size: .78rem; letter-spacing: .26em; color: #aeb8c2; }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a { color: #d7dfe6; text-decoration: none; font-size: .87rem; font-weight: 600; }
.site-header nav a:hover { color: white; }
.site-header .nav-cta { padding: 9px 14px; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; color: white; }

.hero {
  position: relative;
  min-height: 800px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 77% 22%, rgba(239,115,34,.18), transparent 26%),
    linear-gradient(112deg, #0c1014 0%, #172029 58%, #0d1217 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .1;
  background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(90deg, black, transparent 80%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--max));
  margin: 110px auto 70px;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: clamp(48px, 7vw, 94px);
  align-items: center;
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: #aab5bf; text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; font-weight: 700; }
.eyebrow span { width: 30px; height: 3px; background: var(--orange); }
.eyebrow.dark { color: var(--steel); }
.hero h1, .section-intro h2, .checkup h2, .assessment h2, .about h2, .final-cta h2 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: -.025em;
  line-height: .92;
}
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(4.2rem, 7.4vw, 7.1rem); font-weight: 900; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-lede { max-width: 670px; margin: 28px 0; color: #c8d0d7; font-size: clamp(1rem, 1.5vw, 1.14rem); }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 19px; border: 0; border-radius: var(--radius-sm); text-decoration: none; font-weight: 800; line-height: 1.2; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--orange); box-shadow: 0 12px 28px rgba(239,115,34,.24); }
.button-primary:hover { background: #ff7b27; box-shadow: 0 16px 34px rgba(239,115,34,.34); }
.button-secondary { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.button-light { color: var(--ink); background: var(--paper-bright); box-shadow: 0 12px 26px rgba(0,0,0,.18); }
.text-link { color: white; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.text-link span { color: var(--orange); }
.trust-line { display: flex; gap: 10px 20px; flex-wrap: wrap; margin-top: 30px; color: #9eabb5; font-size: .75rem; }
.trust-line span::before { content: "✓"; margin-right: 6px; color: var(--green); font-weight: 800; }

.photo-frame { position: relative; min-height: 520px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 36px 90px rgba(0,0,0,.36); transform: rotate(1.2deg); }
.photo-frame::before { content: ""; position: absolute; z-index: 3; inset: 13px; border: 1px solid rgba(255,255,255,.22); border-radius: 18px; pointer-events: none; }
.photo-frame > img { width: 100%; height: 520px; object-fit: cover; object-position: 52% center; filter: saturate(.78) contrast(1.12) brightness(.75); }
.photo-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 28%, rgba(7,10,13,.88) 100%); }
.dash-card { position: absolute; z-index: 4; inset: auto 28px 28px; padding: 20px; border-radius: 14px; background: rgba(13,18,23,.87); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(12px); }
.dash-card small { display: block; color: #94a3ae; text-transform: uppercase; letter-spacing: .16em; font-size: .62rem; }
.dash-card strong { display: block; margin: 3px 0 13px; font-family: var(--display); font-size: 1.65rem; text-transform: uppercase; }
.dash-row { display: grid; grid-template-columns: 112px 1fr; align-items: center; gap: 10px; margin-top: 8px; color: #b9c3cb; font-size: .7rem; }
.dash-row i { height: 6px; border-radius: 999px; background: #323c45; overflow: hidden; }
.dash-row i::before { content: ""; display: block; width: var(--fill); height: 100%; background: linear-gradient(90deg, var(--orange), var(--green)); }
.hero-visual figcaption { margin-top: 10px; text-align: right; color: #64727e; font-size: .6rem; }
.hero-stripe { position: absolute; inset: auto 0 0; height: 7px; background: linear-gradient(90deg, var(--orange) 0 28%, var(--blue) 28% 72%, var(--green) 72%); }

.shutdown { padding-block: 110px; }
.section-intro { max-width: 670px; }
.section-intro h2, .checkup h2, .assessment h2, .about h2, .final-cta h2 { margin: 0; font-size: clamp(3rem, 5vw, 5rem); font-weight: 900; }
.section-intro > p:last-child { max-width: 580px; color: var(--steel); font-size: 1.08rem; }
.failure-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 45px; }
.failure-card { position: relative; min-height: 300px; padding: 28px 24px; overflow: hidden; background: var(--paper-bright); border: 1px solid var(--line); border-radius: var(--radius); }
.failure-card::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; transform: scaleX(0); transform-origin: left; background: var(--orange); transition: transform .25s ease; }
.failure-card:hover::after { transform: scaleX(1); }
.failure-card .failure-number { position: absolute; inset: 18px 20px auto auto; color: #d3cabd; font-family: var(--display); font-size: 1.2rem; font-weight: 800; }
.failure-card svg { width: 42px; margin-bottom: 55px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.failure-card h3 { margin: 0; font-family: var(--display); font-size: 1.85rem; line-height: 1; text-transform: uppercase; }
.failure-card p { margin: 12px 0 0; color: var(--steel); font-size: .9rem; }

.checkup { padding-block: 105px; color: white; background: var(--ink-soft); }
.checkup-grid { display: grid; grid-template-columns: 1fr 410px; gap: 80px; align-items: center; }
.checkup-copy > p:not(.eyebrow) { max-width: 640px; color: #b9c3cb; font-size: 1.05rem; }
.check-list { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: #e2e7eb; }
.check-list li span { width: 24px; height: 24px; flex: 0 0 auto; display: inline-grid; place-items: center; border-radius: 50%; background: var(--green); font-size: .72rem; font-weight: 900; }
.price-panel { padding: 34px; border-radius: var(--radius-lg); color: var(--ink); background: linear-gradient(145deg, var(--paper-bright), #e7dece); box-shadow: var(--shadow); transform: rotate(-1deg); }
.price-panel > p { margin: 0; color: var(--steel); text-transform: uppercase; letter-spacing: .15em; font-size: .68rem; font-weight: 800; }
.price-panel > strong { display: block; margin: 10px 0 18px; color: var(--blue-dark); font-family: var(--display); font-size: 6rem; line-height: .75; }
.price-panel > strong sup { font-size: 2.1rem; vertical-align: top; }
.price-panel > span { display: block; padding-block: 9px; border-top: 1px solid var(--line); font-size: .85rem; font-weight: 600; }
.price-panel .button { width: 100%; margin-top: 18px; color: white; background: var(--blue-dark); }
.price-panel > small { display: block; margin-top: 14px; color: var(--steel); font-size: .65rem; line-height: 1.5; }

.assessment { padding-block: 110px; }
.assessment-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 50px; }
.assessment-heading > p { margin: 0 0 8px; color: var(--steel); }
.scorecard-shell { margin-top: 48px; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-bright); box-shadow: var(--shadow); }
.scorecard-top { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.scorecard-top > div { width: min(480px, 72%); }
.scorecard-top small { display: block; margin-bottom: 8px; color: var(--steel); font-weight: 700; }
.progress-track { height: 7px; overflow: hidden; border-radius: 999px; background: #e5dfd4; }
.progress-track span { display: block; width: 10%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--orange), var(--blue)); transition: width .25s ease; }
.quiet-button, .text-button { border: 0; padding: 5px; color: var(--steel); background: transparent; text-decoration: underline; text-underline-offset: 4px; }
.question { display: none; min-inline-size: 0; margin: 0; padding: 40px 0 30px; border: 0; }
.question.active { display: block; animation: questionIn .3s ease both; }
.question legend { width: 100%; padding: 0; font-family: var(--display); font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 800; line-height: 1.05; text-transform: uppercase; }
.question legend > span { display: block; margin-bottom: 13px; color: var(--orange); font-size: 1rem; letter-spacing: .16em; }
.answer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.answer-grid label { position: relative; cursor: pointer; }
.answer-grid input { position: absolute; opacity: 0; }
.answer-grid label > span { min-height: 110px; display: flex; flex-direction: column; justify-content: center; padding: 20px; border: 2px solid #e2dbd0; border-radius: var(--radius); background: #faf7f0; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.answer-grid label:hover > span { transform: translateY(-2px); border-color: #b8c5d0; }
.answer-grid input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 3px; }
.answer-grid input:checked + span { border-color: var(--blue); background: #eaf4fd; box-shadow: inset 0 0 0 1px var(--blue); }
.answer-grid b { font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; }
.answer-grid small { margin-top: 2px; color: var(--steel); }
.question-actions { min-height: 62px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding-top: 22px; border-top: 1px solid var(--line); }
.question-actions p { margin: 0; color: var(--steel); text-align: center; font-size: .78rem; }
.question-actions button:disabled { opacity: .38; cursor: not-allowed; transform: none; }
.assessment-result { display: grid; grid-template-columns: 220px 1fr; gap: 50px; align-items: start; padding-top: 38px; }
.result-gauge { width: 210px; aspect-ratio: 1; display: grid; place-content: center; border: 18px solid #e4ddd1; border-top-color: var(--orange); border-right-color: var(--blue); border-radius: 50%; text-align: center; }
.result-gauge span { font-family: var(--display); font-size: 5rem; font-weight: 900; line-height: .75; }
.result-gauge small { color: var(--steel); }
.result-kicker { margin: 0; color: var(--orange); text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; font-weight: 800; }
.result-copy h3 { margin: 6px 0 8px; font-family: var(--display); font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: .95; text-transform: uppercase; }
.result-copy > p:not(.result-kicker, .result-disclaimer) { color: var(--steel); font-size: 1rem; }
.priority-box { margin-block: 24px; padding: 20px; border-left: 5px solid var(--orange); background: #f4eee3; }
.priority-box strong { font-family: var(--display); font-size: 1.15rem; text-transform: uppercase; }
.priority-box ul { margin: 8px 0 0; padding-left: 19px; color: var(--steel); }
.result-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.result-disclaimer { margin-top: 24px; color: #8a8278; font-size: .66rem; }

.about { padding-block: 105px; color: white; background: var(--blue-dark); }
.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: 85px; align-items: center; }
.about-stamp { aspect-ratio: 1; padding: 34px; display: grid; align-content: space-between; border: 3px solid rgba(255,255,255,.7); border-radius: 50%; text-align: center; transform: rotate(-5deg); }
.about-stamp span, .about-stamp small { text-transform: uppercase; letter-spacing: .16em; font-size: .64rem; }
.about-stamp strong { font-family: var(--display); font-size: 3.5rem; line-height: .72; }
.about-copy > p:not(.eyebrow) { color: #cfdae4; }
.about-copy .boundary { padding-top: 15px; border-top: 1px solid rgba(255,255,255,.18); font-size: .72rem; }

.final-cta { padding-block: 100px; color: white; text-align: center; background: var(--orange); }
.final-cta .section-shell { max-width: 820px; }
.final-cta .eyebrow { justify-content: center; color: rgba(255,255,255,.8); }
.final-cta .eyebrow span { background: white; }
.final-cta p:not(.eyebrow) { margin: 18px auto 30px; }

.site-footer { padding-block: 34px; color: #aab4bc; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 40px; align-items: start; }
.site-footer div > div { display: flex; flex-direction: column; gap: 3px; font-size: .75rem; }
.site-footer strong { color: white; font-family: var(--display); font-size: 1.25rem; text-transform: uppercase; }
.site-footer a { color: white; text-decoration: none; }
.footer-grid > div:last-child { min-width: 120px; }

.reveal { opacity: 1; transform: none; }
@keyframes questionIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }

@media (max-width: 920px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 80px; }
  .hero-copy { max-width: 760px; }
  .photo-frame { min-height: 420px; }
  .photo-frame > img { height: 420px; }
  .failure-grid { grid-template-columns: 1fr 1fr; }
  .checkup-grid { grid-template-columns: 1fr 360px; gap: 42px; }
  .assessment-heading { grid-template-columns: 1fr; gap: 10px; }
  .about-grid { grid-template-columns: 230px 1fr; gap: 45px; }
}

@media (max-width: 700px) {
  .section-shell, .hero-grid, .site-header { width: min(calc(100% - 28px), var(--max)); }
  .site-header { min-height: 68px; }
  .site-header .nav-cta { padding: 8px 11px; font-size: .75rem; }
  .hero-grid { margin-top: 62px; gap: 34px; }
  .hero h1 { font-size: clamp(3.7rem, 18vw, 5.2rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .photo-frame, .photo-frame > img { min-height: 370px; height: 370px; }
  .photo-frame { transform: none; }
  .dash-card { inset: auto 18px 18px; }
  .shutdown, .assessment { padding-block: 76px; }
  .failure-grid { grid-template-columns: 1fr; }
  .failure-card { min-height: 230px; }
  .failure-card svg { margin-bottom: 28px; }
  .checkup-grid { grid-template-columns: 1fr; }
  .price-panel { transform: none; }
  .answer-grid { grid-template-columns: 1fr; }
  .answer-grid label > span { min-height: 82px; }
  .question-actions { grid-template-columns: 1fr 1fr; }
  .question-actions p { grid-column: 1 / -1; grid-row: 1; }
  .assessment-result { grid-template-columns: 1fr; }
  .result-gauge { width: 170px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-stamp { width: 230px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
}

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