:root {
  --ink: #07110f;
  --ink-2: #0d1d19;
  --panel: #11241f;
  --paper: #f3f3eb;
  --paper-2: #e7e8de;
  --line: rgba(7, 17, 15, .14);
  --line-dark: rgba(255, 255, 255, .11);
  --acid: #b8f34a;
  --acid-soft: #d8ff91;
  --mint: #8ee8c3;
  --coral: #ff806b;
  --amber: #ffca65;
  --muted: #66716c;
  --radius: 20px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .62; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 99; top: 12px; left: 12px; background: white; padding: 10px 14px; border-radius: 8px; }

.site-header { width: min(1180px, calc(100% - 40px)); height: 76px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 780; letter-spacing: -.03em; width: max-content; }
.brand-mark { position: relative; display: inline-block; width: 27px; height: 27px; background: var(--ink); border-radius: 8px; overflow: hidden; transform: rotate(-3deg); }
.brand-mark i { position: absolute; display: block; width: 16px; height: 6px; background: var(--acid); border-radius: 2px; transform: skewX(-25deg); }
.brand-mark i:first-child { top: 6px; left: 5px; }
.brand-mark i:last-child { bottom: 6px; right: 5px; }
nav { display: flex; gap: 30px; font-size: 14px; color: #34413c; }
nav a:hover { color: var(--ink); }
.header-cta { justify-self: end; border: 1px solid var(--ink); border-radius: 100px; padding: 9px 15px; font-size: 13px; font-weight: 700; transition: .2s; }
.header-cta:hover { background: var(--ink); color: var(--acid); }

.hero { width: min(1180px, calc(100% - 40px)); min-height: 670px; margin: 0 auto; display: grid; grid-template-columns: .92fr 1.08fr; gap: 76px; align-items: center; padding: 78px 0 88px; }
.eyebrow { margin: 0 0 20px; color: #53615b; font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.pulse { display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: #5aa900; border-radius: 50%; box-shadow: 0 0 0 5px rgba(90,169,0,.12); }
h1 { max-width: 680px; margin: 0; font-size: clamp(50px, 6.3vw, 80px); line-height: .97; letter-spacing: -.065em; font-weight: 740; }
h1 em { color: #497b14; font-style: normal; }
.hero-lede { max-width: 610px; margin: 28px 0 0; color: #4e5b56; font-size: 19px; line-height: 1.6; }
.hero-actions { display: flex; gap: 12px; margin: 32px 0 25px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; border-radius: 11px; padding: 0 18px; font-size: 14px; font-weight: 760; transition: transform .16s, background .16s, border .16s; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: white; border-color: var(--ink); }
.button-primary:hover:not(:disabled) { background: #17342c; }
.button-primary span { color: var(--acid); }
.button-ghost { background: transparent; border-color: #9ca39e; color: var(--ink); }
.button-ghost:hover:not(:disabled) { border-color: var(--ink); }
.proof-list { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; color: #5c6762; font-size: 12px; }
.proof-list span { color: #4f8b12; font-weight: 800; }

.hero-terminal { min-width: 0; background: var(--ink); color: #edf5f1; border-radius: 18px; overflow: hidden; box-shadow: 0 25px 70px rgba(7,17,15,.22), 0 2px 0 #253b34; transform: rotate(1.2deg); }
.terminal-bar { height: 50px; display: flex; align-items: center; gap: 7px; padding: 0 18px; border-bottom: 1px solid var(--line-dark); }
.terminal-bar span { width: 9px; height: 9px; border-radius: 50%; background: #42524d; }
.terminal-bar span:first-child { background: var(--coral); }
.terminal-bar span:nth-child(2) { background: var(--amber); }
.terminal-bar span:nth-child(3) { background: var(--mint); }
.terminal-bar b { margin-left: auto; color: #92a29b; font: 500 11px var(--mono); }
.terminal-body { padding: 26px; font: 12px/1.6 var(--mono); }
.terminal-body > p { margin: 0 0 16px; }
.prompt { color: var(--acid); margin-right: 8px; }
.terminal-body .muted { color: #71827b; }
.terminal-result { display: grid; grid-template-columns: 62px 1fr auto; gap: 13px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line-dark); }
.terminal-result > span { width: max-content; padding: 3px 6px; border-radius: 4px; color: var(--ink); font-size: 9px; font-weight: 900; }
.result-critical > span { background: var(--coral); }
.result-high > span { background: var(--amber); }
.terminal-result strong { display: block; font-size: 11px; font-weight: 650; }
.terminal-result small { display: block; color: #899891; font-size: 10px; }
.terminal-result code { color: #6f8179; font-size: 9px; }
.terminal-exit { padding-top: 15px; border-top: 1px solid var(--line-dark); color: var(--coral); }
.terminal-exit span { color: #83938c; }

.signal-strip { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ink-2); color: white; border-top: 1px solid #2a3c36; border-bottom: 1px solid #2a3c36; }
.signal-strip div { min-height: 120px; display: flex; flex-direction: column; justify-content: center; padding-left: max(28px, calc((100vw - 1180px)/8)); border-right: 1px solid var(--line-dark); }
.signal-strip div:last-child { border: 0; }
.signal-strip strong { color: var(--acid); font: 500 30px var(--mono); }
.signal-strip span { margin-top: 6px; color: #91a099; font-size: 12px; }

.scanner-section, .workflow-section, .plans-section, .faq-section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 120px 0; }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading.narrow { max-width: 650px; }
h2 { margin: 0; font-size: clamp(38px, 4.7vw, 58px); line-height: 1.04; letter-spacing: -.052em; }
.section-heading > p:last-child, .registry-intro > p { color: #5b6762; font-size: 17px; line-height: 1.6; }
.scanner-shell { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 490px; background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(28,43,37,.08); }
.editor-panel, .results-panel { min-width: 0; display: flex; flex-direction: column; }
.results-panel { background: #f7f8f3; border-left: 1px solid var(--line); }
.panel-label { height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid var(--line); color: #53615b; font: 700 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.panel-label button { border: 0; background: transparent; color: #5b751f; font: 700 11px var(--mono); }
.panel-label b { background: #e4e9df; border-radius: 100px; padding: 5px 8px; color: #53615b; font-size: 9px; }
textarea { width: 100%; flex: 1; min-height: 340px; resize: none; border: 0; outline: 0; padding: 25px; background: #0b1714; color: #c9e0d7; font: 13px/1.8 var(--mono); tab-size: 2; }
textarea:focus { box-shadow: inset 0 0 0 2px var(--acid); }
.editor-actions { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 14px 11px 20px; }
.editor-actions > span { color: #65716c; font-size: 11px; }
.editor-actions i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; background: #63af17; border-radius: 50%; }
.editor-actions .button { min-height: 44px; }
.results-empty { margin: auto; max-width: 270px; padding: 40px 20px; text-align: center; }
.results-empty h3 { margin: 25px 0 8px; font-size: 17px; }
.results-empty p { margin: 0; color: #718079; font-size: 13px; line-height: 1.5; }
.radar { position: relative; display: inline-block; width: 68px; height: 68px; border: 1px solid #b8c2ba; border-radius: 50%; box-shadow: inset 0 0 0 13px #edf0e9, inset 0 0 0 14px #cbd2ca; }
.radar::before, .radar::after { content: ""; position: absolute; background: #c3cbc4; }
.radar::before { width: 1px; height: 82px; top: -8px; }
.radar::after { height: 1px; width: 82px; left: -8px; top: 33px; }
.radar i { position: absolute; width: 27px; height: 2px; left: 34px; top: 33px; background: #65961f; transform: rotate(-35deg); transform-origin: left center; }
.results-list { padding: 16px; overflow: auto; }
.finding { margin-bottom: 10px; padding: 16px; background: white; border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 10px; }
.finding.critical { border-left-color: var(--coral); }
.finding.medium { border-left-color: #d6b029; }
.finding.info { border-left-color: var(--mint); }
.finding-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.finding-severity { padding: 4px 7px; border-radius: 5px; background: #fff0ec; color: #a13726; font: 800 9px var(--mono); }
.high .finding-severity { background: #fff3dc; color: #825413; }
.finding-line { color: #75807b; font: 10px var(--mono); }
.finding h3 { margin: 12px 0 6px; font: 650 13px var(--mono); overflow-wrap: anywhere; }
.finding p { margin: 0; color: #66716c; font-size: 12px; line-height: 1.5; }
.finding a { display: inline-block; margin-top: 10px; color: #567b1f; font-size: 11px; font-weight: 750; }

.workflow-section { border-top: 1px solid var(--line); }
.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.workflow-grid article { position: relative; min-height: 320px; padding: 28px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px; }
.workflow-grid article > span { position: absolute; top: 20px; right: 22px; color: #9ca69f; font: 11px var(--mono); }
.mini-icon { width: 46px; height: 46px; display: grid; place-items: center; background: var(--ink); color: var(--acid); border-radius: 12px; font: 22px var(--mono); }
.workflow-grid h3 { margin: 56px 0 12px; font-size: 20px; letter-spacing: -.02em; }
.workflow-grid p { color: #626e68; font-size: 14px; line-height: 1.6; }
.workflow-grid code { position: absolute; bottom: 26px; left: 28px; padding: 7px 9px; background: #daddd3; border-radius: 6px; color: #3d4b45; font: 11px var(--mono); }

.registry-section { background: var(--ink); color: white; display: grid; grid-template-columns: 1fr 1.1fr; gap: 100px; padding: 120px max(30px, calc((100vw - 1180px)/2)); }
.registry-intro .eyebrow { color: var(--mint); }
.registry-intro > p { color: #94a39c; }
.verified { display: flex; align-items: center; gap: 12px; margin-top: 35px; }
.verified > span { width: 38px; height: 38px; display: grid; place-items: center; background: var(--acid); color: var(--ink); border-radius: 50%; font-weight: 900; }
.verified strong, .verified small { display: block; }
.verified strong { font-size: 13px; }
.verified small { margin-top: 3px; color: #84958d; font-size: 11px; }
.deadline-card { align-self: center; background: #10231e; border: 1px solid var(--line-dark); border-radius: 18px; overflow: hidden; }
.deadline-head { height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid var(--line-dark); font-size: 12px; font-weight: 750; }
.deadline-head b { padding: 5px 8px; background: rgba(184,243,74,.12); color: var(--acid); border-radius: 100px; font: 700 9px var(--mono); text-transform: uppercase; }
.deadline-row { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line-dark); }
.deadline-row:last-child { border: 0; }
.deadline-row time { color: var(--amber); font: 11px var(--mono); }
.deadline-row strong, .deadline-row small { display: block; }
.deadline-row strong { font: 600 11px var(--mono); overflow-wrap: anywhere; }
.deadline-row small { margin-top: 4px; color: #768981; font-size: 10px; }
.deadline-row b { color: #889a92; font: 700 9px var(--mono); text-transform: uppercase; }
.loading { padding: 30px; color: #81928a; font-size: 12px; }

.plans-section { padding-bottom: 100px; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan-card { position: relative; padding: 30px; background: #e8e9e0; border: 1px solid var(--line); border-radius: 17px; }
.plan-card.featured { background: var(--ink-2); color: white; transform: translateY(-12px); box-shadow: 0 25px 55px rgba(7,17,15,.16); }
.plan-badge { position: absolute; top: 20px; right: 20px; padding: 5px 8px; background: var(--acid); color: var(--ink); border-radius: 100px; font: 800 9px var(--mono); text-transform: uppercase; }
.plan-name { margin: 0 0 18px; font-size: 13px; font-weight: 800; }
.price { font-size: 40px; font-weight: 710; letter-spacing: -.05em; }
.price span { color: #6b7771; font-size: 11px; font-weight: 600; letter-spacing: 0; }
.featured .price span { color: #81928a; }
.plan-card ul { min-height: 180px; margin: 30px 0 20px; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }
.featured ul { border-color: var(--line-dark); }
.plan-card li { margin-bottom: 13px; color: #55615c; font-size: 13px; }
.featured li { color: #a4b1ab; }
.plan-card li::before { content: "✓"; margin-right: 9px; color: #568613; font-weight: 800; }
.featured li::before { color: var(--acid); }
.plan-card .button { width: 100%; }
.featured .button { background: var(--acid); border-color: var(--acid); color: var(--ink); }

.faq-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 0; cursor: pointer; font-size: 15px; font-weight: 720; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font: 300 24px var(--mono); transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 680px; margin: -8px 0 24px; color: #64716b; font-size: 14px; line-height: 1.65; }

.final-cta { margin: 0 20px; padding: 100px 30px; background: var(--acid); border-radius: 24px; text-align: center; }
.final-cta .eyebrow { color: #4a651b; }
.final-cta h2 { max-width: 760px; margin: auto; font-size: clamp(46px, 7vw, 82px); }
.final-cta p:not(.eyebrow) { max-width: 610px; margin: 24px auto 28px; color: #43551f; line-height: 1.6; }
.final-actions { justify-content: center; margin-bottom: 0; }

.validation-main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 80px 0 120px; }
.validation-intro { max-width: 830px; margin-bottom: 55px; }
.validation-intro h1 { font-size: clamp(48px, 6vw, 76px); }
.validation-intro > p:not(.eyebrow) { max-width: 690px; margin: 28px 0 24px; color: #53605b; font-size: 18px; line-height: 1.6; }
.validation-shell { display: grid; grid-template-columns: minmax(0, 800px); }
#fit-form, .fit-result { background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 30px 80px rgba(28,43,37,.08); overflow: hidden; }
.form-progress { display: flex; justify-content: space-between; padding: 20px 26px; background: var(--ink); color: white; font: 700 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.form-progress b { color: var(--acid); }
#fit-form fieldset { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 28px 26px; border: 0; border-bottom: 1px solid var(--line); }
#fit-form legend { width: 100%; margin-bottom: 17px; padding: 0; font-size: 17px; font-weight: 750; }
#fit-form legend span { margin-right: 10px; color: #66852c; font: 700 11px var(--mono); }
#fit-form label { display: flex; align-items: center; gap: 10px; min-height: 47px; padding: 10px 13px; background: #f3f4ed; border: 1px solid transparent; border-radius: 9px; color: #4f5c56; font-size: 13px; cursor: pointer; }
#fit-form label:has(input:checked) { background: #effbd7; border-color: #91bc3f; color: var(--ink); }
#fit-form input { accent-color: #527f13; }
.privacy-note { margin: 24px 26px 0; padding: 18px; background: #edf0e9; border-radius: 10px; }
.privacy-note strong { font-size: 12px; }
.privacy-note p { margin: 7px 0 0; color: #66716c; font-size: 12px; line-height: 1.55; }
.submit-fit { margin: 24px 26px 28px; }
.fit-result { padding: 48px; }
.fit-result h2 { max-width: 650px; margin: 18px 0; font-size: clamp(36px, 5vw, 56px); }
.fit-result > p:not(.eyebrow, .score-band, .result-caveat) { max-width: 650px; color: #5c6963; font-size: 17px; line-height: 1.6; }
.score-ring { width: 130px; height: 130px; display: flex; align-items: baseline; justify-content: center; padding-top: 37px; background: var(--ink); color: white; border: 8px solid var(--acid); border-radius: 50%; }
.score-ring strong { font: 500 46px var(--mono); }
.score-ring span { color: #91a099; font: 11px var(--mono); }
.score-band { display: inline-block; margin: 30px 0 0; padding: 6px 10px; background: var(--acid-soft); border-radius: 100px; font: 800 10px var(--mono); text-transform: uppercase; }
.score-signals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 30px 0; }
.score-signals div { padding: 16px; background: #edf0e9; border-radius: 10px; }
.score-signals span, .score-signals strong { display: block; }
.score-signals span { color: #718079; font: 10px var(--mono); text-transform: uppercase; }
.score-signals strong { margin-top: 7px; font-size: 13px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.text-button { border: 0; background: transparent; color: #53615b; font-size: 12px; text-decoration: underline; }
.result-caveat { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: #7a847f; font-size: 11px; line-height: 1.55; }

footer { width: min(1180px, calc(100% - 40px)); min-height: 120px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; color: #6a756f; font-size: 11px; }
footer p:nth-child(2) { text-align: center; }
footer p:last-child { text-align: right; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 54px; padding-top: 60px; }
  .hero-terminal { transform: none; }
  .scanner-shell, .registry-section, .faq-section { grid-template-columns: 1fr; }
  .results-panel { min-height: 390px; border-left: 0; border-top: 1px solid var(--line); }
  .workflow-grid, .plans-grid { grid-template-columns: 1fr; }
  .workflow-grid article { min-height: 280px; }
  .registry-section { gap: 55px; }
  .plan-card.featured { transform: none; }
  .faq-section { gap: 45px; }
  .validation-shell { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header, .hero, .scanner-section, .workflow-section, .plans-section, .faq-section, footer { width: min(100% - 28px, 1180px); }
  .site-header { height: 68px; }
  .header-cta { display: none; }
  .hero { min-height: 0; padding: 55px 0 70px; }
  h1 { font-size: 48px; }
  .hero-lede { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .proof-list { flex-wrap: wrap; gap: 10px 18px; }
  .terminal-body { padding: 18px; }
  .terminal-result { grid-template-columns: 58px 1fr; }
  .terminal-result code { display: none; }
  .signal-strip { grid-template-columns: 1fr 1fr; }
  .signal-strip div { min-height: 100px; padding-left: 25px; border-bottom: 1px solid var(--line-dark); }
  .scanner-section, .workflow-section, .plans-section, .faq-section { padding: 85px 0; }
  .editor-actions { align-items: flex-start; flex-direction: column; padding: 14px; }
  .editor-actions .button { width: 100%; }
  .registry-section { padding: 85px 18px; }
  .deadline-row { grid-template-columns: 67px 1fr; }
  .deadline-row b { display: none; }
  .final-cta { margin: 0 10px; padding: 75px 20px; }
  .validation-main { width: min(100% - 28px, 1180px); padding: 55px 0 85px; }
  #fit-form fieldset { grid-template-columns: 1fr; padding: 24px 18px; }
  .privacy-note { margin: 20px 18px 0; }
  .submit-fit { width: calc(100% - 36px); margin: 20px 18px 24px; }
  .fit-result { padding: 28px 20px; }
  .score-signals { grid-template-columns: 1fr; }
  .result-actions .button { width: 100%; }
  footer { grid-template-columns: 1fr; gap: 10px; padding: 40px 0; text-align: center; }
  footer .brand { margin: auto; }
  footer p:nth-child(2), footer p:last-child { margin: 0; text-align: center; }
}

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