:root {
  --paper: #f5f1e8;
  --surface: #fffdf8;
  --surface-2: #ebe5d9;
  --ink: #14202a;
  --muted: #5d6871;
  --line: #d4ccbd;
  --amber: #d87513;
  --amber-dark: #a64d08;
  --green: #237553;
  --red: #b84135;
  --shadow: rgba(20, 32, 42, .12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-160%); padding: 10px 14px; border-radius: 6px; background: var(--ink); color: white; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 72px; padding: 0 clamp(20px, 5vw, 72px); border-bottom: 1px solid rgba(20, 32, 42, .14); background: rgba(245, 241, 232, .93); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; color: var(--ink); font-weight: 760; letter-spacing: -.025em; text-decoration: none; }
.brand-mark { position: relative; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 7px; background: var(--amber); }
.brand-mark::before, .brand-mark::after, .brand-mark span::before, .brand-mark span::after { content: ""; position: absolute; background: #fff8ed; }
.brand-mark::before { width: 15px; height: 2px; }
.brand-mark::after { width: 2px; height: 15px; }
.brand-mark span::before { width: 5px; height: 5px; border-radius: 50%; transform: translate(-7px, -7px); }
.brand-mark span::after { width: 5px; height: 5px; border-radius: 50%; transform: translate(7px, 7px); }
.desktop-nav { display: flex; align-items: center; gap: 28px; }
.desktop-nav a { color: var(--muted); font-size: 14px; font-weight: 560; text-decoration: none; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--ink); }
.site-header > .button { justify-self: end; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1px solid var(--amber); border-radius: 7px; background: var(--amber); color: white; font-weight: 720; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; box-shadow: 0 1px 0 rgba(255,255,255,.22) inset; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.button:hover { transform: translateY(-1px); background: var(--amber-dark); border-color: var(--amber-dark); }
.button:active { transform: translateY(0); }
.button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .dialog-close:focus-visible { outline: 3px solid rgba(216,117,19,.35); outline-offset: 3px; }
.button-small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.button-secondary { border-color: var(--line); background: var(--surface); color: var(--ink); box-shadow: none; }
.button-secondary:hover { background: var(--surface-2); border-color: #b8ae9d; }
.button-full { width: 100%; }

.hero { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(430px, .96fr); gap: clamp(44px, 6vw, 90px); align-items: center; min-height: calc(100vh - 72px); padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px); background-image: linear-gradient(rgba(20,32,42,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(20,32,42,.045) 1px, transparent 1px); background-size: 30px 30px; }
.eyebrow, .section-number { margin: 0; color: var(--amber-dark); font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 8px; }
.eyebrow-bolt { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(216,117,19,.13); color: var(--amber-dark); font-size: 15px; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 750px; margin-bottom: 24px; font-size: clamp(43px, 5.4vw, 78px); line-height: .98; letter-spacing: -.055em; }
h2 { margin-bottom: 16px; font-size: clamp(31px, 4vw, 52px); line-height: 1.03; letter-spacing: -.045em; }
h3 { margin-bottom: 10px; font-size: 18px; letter-spacing: -.02em; }
p { color: var(--muted); line-height: 1.68; }
.hero-lead { max-width: 690px; margin-bottom: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 20px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; }
.trust-list li { display: flex; align-items: center; gap: 7px; }
.trust-list span { color: var(--green); font-weight: 900; }

.audit-card { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: 14px 16px 0 rgba(216,117,19,.13), 0 24px 60px var(--shadow); }
.audit-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.audit-overline { margin-bottom: 5px; color: var(--muted); font-size: 11px; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.audit-header h2 { margin: 0; font-size: 17px; letter-spacing: -.015em; }
.status { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-size: 12px; font-weight: 700; white-space: nowrap; }
.status span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(35,117,83,.12); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 14px 17px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
th:last-child, td:last-child { text-align: right; }
.flag { display: inline-grid; place-items: center; width: 19px; height: 19px; margin-right: 8px; border-radius: 50%; font-size: 11px; font-weight: 900; }
.flag-warn { background: rgba(184,65,53,.11); color: var(--red); }
.flag-ok { background: rgba(35,117,83,.12); color: var(--green); }
.impact-warn { color: var(--red); font-weight: 750; }
.impact-ok { color: var(--green); font-weight: 750; }
.audit-stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.audit-stats > div { padding: 18px; border-right: 1px solid var(--line); }
.audit-stats > div:last-child { border-right: 0; }
.audit-stats strong { display: block; margin-bottom: 3px; font-size: 25px; }
.audit-stats span { color: var(--muted); font-size: 11px; }
.sample-note { margin: 0; padding: 12px 17px; border-top: 1px solid var(--line); background: #f8f4ec; font-size: 11px; line-height: 1.5; }

.band, .section, .pilot, footer { padding-inline: clamp(20px, 5vw, 72px); }
.band, .section { border-top: 1px solid var(--line); }
.problem { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 8vw, 120px); padding-block: clamp(70px, 9vw, 120px); background: var(--surface); }
.section-heading .section-number { margin-bottom: 16px; }
.section-heading.narrow { max-width: 780px; }
.problem-copy { display: grid; gap: 18px; align-content: start; }
.problem-copy p { margin: 0; font-size: 17px; }
.section { padding-block: clamp(72px, 9vw, 116px); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 48px 0 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; list-style: none; }
.steps li { min-height: 265px; padding: 28px; border-right: 1px solid var(--line); background: var(--surface); }
.steps li:last-child { border-right: 0; }
.step-number { display: block; margin-bottom: 54px; color: var(--amber-dark); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; font-weight: 800; }
.steps p, .check-grid p, .security-grid p { margin-bottom: 0; }
.checks-section { background: var(--ink); color: #f7f4ed; }
.checks-section .section-number { color: #f1a453; }
.checks-section p { color: #afbac2; }
.check-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 48px; border: 1px solid #3a4650; border-radius: 12px; overflow: hidden; background: #3a4650; }
.check-grid article { min-height: 248px; padding: 26px; background: #192630; }
.check-icon { display: grid; place-items: center; width: 39px; height: 39px; margin-bottom: 46px; border: 1px solid rgba(241,164,83,.35); border-radius: 8px; background: rgba(216,117,19,.11); color: #f1a453; font-size: 20px; }
.evidence-section { background: var(--surface); }
.output-panel { display: grid; grid-template-columns: 1fr .78fr; margin-top: 44px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.output-copy { padding: clamp(28px, 4vw, 52px); }
.output-kicker { color: var(--ink); font-weight: 750; }
.output-copy ul { margin: 26px 0 0; padding: 0; list-style: none; }
.output-copy li { display: flex; gap: 18px; padding: 15px 0; border-top: 1px solid var(--line); font-weight: 620; }
.output-copy li span { color: var(--amber-dark); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
blockquote { display: flex; flex-direction: column; justify-content: flex-end; margin: 0; padding: clamp(32px, 5vw, 64px); background: var(--surface-2); }
blockquote p { color: var(--ink); font-size: clamp(22px, 2.7vw, 35px); font-weight: 690; line-height: 1.18; letter-spacing: -.035em; }
blockquote cite { color: var(--muted); font-size: 12px; font-style: normal; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.security-section { background: var(--paper); }
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.security-grid > div { padding: 25px; border-left: 3px solid var(--amber); background: var(--surface); }
.security-grid strong { display: block; margin-bottom: 8px; }
.fine-print { margin: 26px 0 0; font-size: 12px; }

.pilot { display: grid; grid-template-columns: 1fr 390px; gap: clamp(48px, 9vw, 130px); align-items: center; padding-block: clamp(64px, 8vw, 100px); background: var(--ink); color: #f7f4ed; }
.pilot .section-number.light { color: #f1a453; }
.pilot > div:first-child p:last-child { max-width: 710px; color: #afbac2; font-size: 17px; }
.pilot-offer { padding: 28px; border: 1px solid #3a4650; border-radius: 12px; background: #192630; }
.pilot-offer > p { display: flex; align-items: baseline; gap: 10px; margin-bottom: 22px; color: #f7f4ed; }
.pilot-offer > p strong { font-size: 46px; letter-spacing: -.05em; }
.pilot-offer > p span { color: #afbac2; font-size: 13px; }
.pilot-offer ul { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; color: #d6dde1; list-style: none; font-size: 14px; }
.pilot-offer li::before { content: "✓"; margin-right: 9px; color: #72caa4; font-weight: 900; }
.pilot-offer small { display: block; margin-top: 12px; color: #89959f; text-align: center; }
.faq { background: var(--surface); }
.faq-list { max-width: 900px; margin-top: 42px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 20px; padding: 23px 0; font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--amber-dark); font-size: 22px; font-weight: 500; }
details[open] summary::after { content: "−"; }
details p { max-width: 760px; padding: 0 0 24px; margin: 0; }
footer { display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: center; padding-block: 32px; border-top: 1px solid var(--line); }
footer p { margin: 0; font-size: 12px; }
.brand-footer { font-size: 14px; }
.brand-footer .brand-mark { width: 25px; height: 25px; transform: scale(.8); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 12px; font-weight: 700; }
.footer-links a { color: var(--muted); text-underline-offset: 3px; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--ink); }
.form-note a { color: var(--amber-dark); }

.policy-header { position: static; grid-template-columns: 1fr auto; }
.policy-main { max-width: 860px; margin: 0 auto; padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 72px); }
.policy-main h1 { margin-bottom: 18px; font-size: clamp(42px, 7vw, 68px); }
.policy-main .policy-updated { margin-bottom: 48px; color: var(--muted); font-size: 13px; }
.policy-main section { margin-top: 38px; }
.policy-main h2 { margin-bottom: 12px; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.03em; }
.policy-main p, .policy-main li { font-size: 16px; line-height: 1.7; }
.policy-main ul { display: grid; gap: 8px; padding-left: 22px; color: var(--muted); }
.policy-main a { color: var(--amber-dark); text-underline-offset: 3px; }

.application-dialog { width: min(720px, calc(100% - 28px)); max-height: calc(100vh - 28px); padding: 0; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); color: var(--ink); box-shadow: 0 24px 90px rgba(0,0,0,.32); }
.application-dialog::backdrop { background: rgba(10,18,24,.72); backdrop-filter: blur(4px); }
.dialog-shell { position: relative; padding: clamp(28px, 5vw, 50px); }
.dialog-close { position: absolute; top: 15px; right: 17px; display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--muted); font-size: 24px; cursor: pointer; }
.dialog-intro { margin-bottom: 28px; }
form { display: grid; gap: 17px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 7px; color: var(--ink); font-size: 13px; font-weight: 700; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 7px; background: white; color: var(--ink); }
input, select { min-height: 45px; padding: 0 12px; }
textarea { min-height: 88px; padding: 11px 12px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #8a9298; }
.checkbox { display: flex; grid-template-columns: auto 1fr; align-items: flex-start; gap: 10px; color: var(--muted); font-weight: 540; line-height: 1.45; }
.checkbox input { width: 17px; min-height: 17px; margin: 2px 0 0; accent-color: var(--amber); }
.form-note { margin: -7px 0 0; font-size: 11px; text-align: center; }
.success-view { padding: 24px 0 10px; text-align: center; }
.success-view h2 { font-size: clamp(30px, 5vw, 43px); }
.success-mark { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 26px; border-radius: 50%; background: rgba(35,117,83,.13); color: var(--green); font-size: 28px; font-weight: 900; }
.success-view .section-number { margin-bottom: 14px; }
.success-view p:not(.section-number) { max-width: 530px; margin-inline: auto; }
.success-view .button { margin-top: 16px; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .audit-card { max-width: 700px; }
  .problem { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps li:last-child { border-bottom: 0; }
  .step-number { margin-bottom: 26px; }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .output-panel { grid-template-columns: 1fr; }
  .pilot { grid-template-columns: 1fr; }
  .pilot-offer { max-width: 500px; }
  footer { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 620px) {
  .site-header { min-height: 64px; }
  .site-header > .button { min-height: 36px; padding-inline: 12px; font-size: 12px; }
  .hero { padding-top: 52px; }
  h1 { font-size: clamp(40px, 12vw, 58px); }
  .hero-actions { display: grid; }
  .trust-list { display: grid; }
  .audit-card { margin-right: 7px; }
  .audit-header { align-items: flex-start; }
  .audit-header h2 { max-width: 175px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .audit-stats > div { padding: 14px 11px; }
  .audit-stats strong { font-size: 21px; }
  .audit-stats span { font-size: 10px; }
  .check-grid, .security-grid { grid-template-columns: 1fr; }
  .check-grid article { min-height: 0; }
  .check-icon { margin-bottom: 26px; }
  .field-row { grid-template-columns: 1fr; }
  .dialog-shell { padding-top: 46px; }
}

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