:root {
  --ink: #101014;
  --ink-soft: #202027;
  --paper: #f5f1e8;
  --paper-2: #ece5d8;
  --white: #fffdf8;
  --red: #d43424;
  --red-dark: #9f1f15;
  --gold: #d8a63f;
  --gold-light: #f2cf76;
  --muted: #6b665f;
  --line: rgba(16, 16, 20, .15);
  --shadow: 0 24px 60px rgba(17, 14, 12, .16);
  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; background: var(--paper); color: var(--ink); overflow-x: hidden; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.section-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  min-height: 76px; padding: 0 max(24px, calc((100vw - 1180px) / 2));
  display: flex; align-items: center; gap: 28px; position: sticky; top: 0; z-index: 20;
  background: rgba(11, 11, 13, .95); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 850; letter-spacing: -.03em; font-size: 20px; }
.brand-mark { width: 38px; height: 38px; fill: var(--white); filter: drop-shadow(0 6px 10px rgba(0,0,0,.2)); }
.brand-mark .mark-gold { fill: var(--gold); }
.brand-mark .mark-red { fill: var(--red); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 25px; font-size: 14px; }
.site-nav a { text-decoration: none; color: #d4d0c9; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--white); }
.site-nav .nav-cta { padding: 11px 15px; border: 1px solid rgba(242,207,118,.45); border-radius: 6px; color: var(--gold-light); }
.nav-toggle { display: none; margin-left: auto; color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.2); padding: 9px 12px; border-radius: 6px; }
.language-switch { display: flex; align-items: center; gap: 5px; margin-left: 2px; font-size: 11px; font-weight: 850; color: #77736d; }
.language-switch a { color: #aaa59e; text-decoration: none; padding: 7px 3px; }
.language-switch a[aria-current="true"] { color: var(--gold-light); }

.hero { min-height: 730px; padding: 104px 0 86px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 66px; align-items: center; position: relative; }
.hero::before { content: ""; position: absolute; width: 380px; height: 380px; border: 1px solid rgba(212,52,36,.24); transform: rotate(17deg); left: -240px; top: 130px; box-shadow: 0 0 0 34px rgba(216,166,63,.05); }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--red-dark); font-size: 12px; line-height: 1.4; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 30px; height: 3px; background: var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 26px; font-size: clamp(50px, 6.2vw, 82px); line-height: .94; letter-spacing: -.065em; max-width: 780px; }
h2 { margin-bottom: 20px; font-size: clamp(38px, 4vw, 58px); line-height: 1; letter-spacing: -.05em; }
h3 { letter-spacing: -.025em; }
.hero-lead { color: #514d47; font-size: 20px; line-height: 1.62; max-width: 690px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 34px 0 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 0 19px; border-radius: 5px; text-decoration: none; font-size: 14px; font-weight: 800; border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--red); box-shadow: 0 10px 22px rgba(159,31,21,.24); }
.button-primary:hover { background: var(--red-dark); }
.button-secondary { color: var(--ink); border-color: var(--line); background: rgba(255,253,248,.58); }
.button-secondary:hover { background: var(--white); box-shadow: 0 10px 22px rgba(0,0,0,.08); }
.trust-row { display: flex; gap: 22px; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: 12px; font-weight: 700; }
.trust-row li::before { content: "◆"; color: var(--gold); margin-right: 8px; }

.signal-panel { padding: 24px; background: var(--ink); color: var(--white); border-radius: 8px; box-shadow: var(--shadow), 18px 18px 0 var(--gold); transform: rotate(1.4deg); }
.panel-topline { display: flex; justify-content: space-between; gap: 15px; font-size: 10px; font-weight: 800; letter-spacing: .12em; color: #aaa59e; }
.live-dot { color: #9fd39b; }
.live-dot::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #68bd63; margin-right: 6px; box-shadow: 0 0 0 4px rgba(104,189,99,.15); }
.scan-code { height: 76px; display: flex; gap: 6px; align-items: stretch; margin: 28px 0 16px; overflow: hidden; }
.scan-code span { width: 9px; background: var(--white); }
.scan-code span:nth-child(2n) { width: 3px; }
.scan-code span:nth-child(3n) { width: 16px; }
.scan-code span:nth-child(5n) { background: var(--red); }
.scan-code span:nth-child(7n) { background: var(--gold); }
.catalogue-file { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.12); color: #aaa59e; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.metric-grid article { border: 1px solid rgba(255,255,255,.12); padding: 14px; background: var(--ink-soft); }
.metric-grid strong { display: block; font-size: 25px; letter-spacing: -.04em; }
.metric-grid span { color: #aaa59e; font-size: 11px; }
.metric-grid .good { color: #9fd39b; }
.metric-grid .warn { color: var(--gold-light); }
.status-line { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; font-size: 12px; border-top: 1px solid rgba(255,255,255,.08); color: #aaa59e; }
.status-line b { color: #9fd39b; }
.status-line .gold { color: var(--gold-light); }

.checker-band { padding: 62px 0; background: var(--ink); color: var(--white); border-top: 1px solid rgba(255,255,255,.08); }
.checker-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.checker-grid h2 { margin-top: 28px; font-size: clamp(34px, 4vw, 52px); }
.checker-grid > div > p:last-child { margin-bottom: 0; color: #aaa59e; line-height: 1.65; }
.checker-card { padding: 25px; background: var(--white); color: var(--ink); border-radius: 7px; box-shadow: 12px 12px 0 var(--gold); }
.checker-card label { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.checker-control { display: grid; grid-template-columns: 1fr auto; }
.checker-control input { min-width: 0; height: 50px; border: 1px solid var(--line); border-right: 0; border-radius: 4px 0 0 4px; padding: 0 14px; background: #fff; color: var(--ink); font: inherit; }
.checker-control input:focus { outline: 2px solid var(--gold); outline-offset: 1px; position: relative; z-index: 1; }
.checker-control button { min-width: 112px; border: 0; border-radius: 0 4px 4px 0; background: var(--red); color: white; font-weight: 850; cursor: pointer; }
.checker-control button:hover { background: var(--red-dark); }
.checker-hint { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.text-button { padding: 0; border: 0; background: transparent; color: var(--red-dark); font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; }
.checker-result { display: none; margin-top: 18px; padding: 15px; border: 1px solid var(--line); background: #f0ece4; font-size: 13px; line-height: 1.55; }
.checker-result.visible { display: block; }
.checker-result.valid { border-color: rgba(65,128,70,.35); background: #edf5ea; }
.checker-result.invalid { border-color: rgba(212,52,36,.35); background: #fff0ed; }
.checker-result strong { display: block; margin-bottom: 4px; }
.checker-result code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.proof-strip { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 42px); padding: 24px; background: var(--red); color: white; box-shadow: inset 0 1px rgba(255,255,255,.18); }
.proof-strip p { margin: 0; font-weight: 900; font-size: 12px; letter-spacing: .13em; }
.proof-strip span { color: var(--gold-light); }
.section-block { padding-top: 112px; padding-bottom: 112px; }
.section-heading { max-width: 870px; margin-bottom: 44px; }
.section-heading.narrow { max-width: 680px; }
.section-heading > p:last-child, .pilot > div > p:last-child { color: var(--muted); font-size: 18px; line-height: 1.65; }
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--line); gap: 1px; box-shadow: 0 18px 45px rgba(20,16,13,.08); }
.step-card { min-height: 270px; padding: 26px; background: var(--white); position: relative; }
.step-number { color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .13em; }
.step-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 35px 0 22px; border: 1px solid var(--line); font-size: 22px; box-shadow: 5px 5px 0 rgba(216,166,63,.3); }
.step-card h3 { font-size: 24px; margin-bottom: 10px; }
.step-card p { color: var(--muted); font-size: 14px; line-height: 1.6; }

.capabilities { border-top: 1px solid var(--line); }
.capability-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.feature { min-height: 260px; padding: 30px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(20,16,13,.06); }
.feature-large { grid-row: span 2; min-height: 538px; background: linear-gradient(145deg, var(--white), #eee5d7); }
.feature-wide { grid-column: 1 / -1; min-height: auto; background: var(--ink); color: var(--white); }
.feature-kicker { color: var(--red); font-size: 11px; letter-spacing: .13em; font-weight: 900; }
.feature h3 { margin: 22px 0 14px; font-size: clamp(25px, 3vw, 39px); line-height: 1.05; }
.feature p:last-child { color: var(--muted); line-height: 1.65; }
.feature-wide p:last-child { color: #aaa59e; }
.mini-report { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 35px; font-size: 12px; color: var(--muted); }
.mini-report i { grid-column: 1 / -1; display: block; height: 8px; background: #d8d1c6; position: relative; }
.mini-report i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--width); background: var(--red); }

.dark-band { background: var(--ink); color: var(--white); box-shadow: inset 0 1px rgba(255,255,255,.08); }
.dark-grid { padding-top: 100px; padding-bottom: 100px; display: grid; grid-template-columns: .95fr 1.05fr; gap: 80px; align-items: start; }
.eyebrow.light { color: var(--gold-light); }
.dark-grid h2 { margin-top: 34px; }
.outcome-list { list-style: none; padding: 0; margin: 0; }
.outcome-list li { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.outcome-list b { color: var(--red); font-size: 12px; }
.outcome-list strong { display: block; margin-bottom: 7px; font-size: 18px; }
.outcome-list span { color: #aaa59e; font-size: 14px; line-height: 1.55; }

.pilot { display: grid; grid-template-columns: 1fr 420px; gap: 80px; align-items: center; }
.pilot-card { padding: 30px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow), 10px 10px 0 rgba(212,52,36,.9); }
.pilot-label { color: var(--red); font-size: 11px; letter-spacing: .13em; font-weight: 900; }
.pilot-card h3 { margin: 18px 0; font-size: 34px; }
.pilot-card ul { padding: 0; list-style: none; color: var(--muted); line-height: 2; font-size: 14px; }
.pilot-card li::before { content: "✓"; color: var(--red); font-weight: 900; margin-right: 9px; }
.full { width: 100%; margin-top: 18px; }

.faq { border-top: 1px solid var(--line); }
.faq details { max-width: 900px; border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 19px; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--red); }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 760px; margin: 16px 0 0; color: var(--muted); line-height: 1.65; }

.site-footer { background: #08080a; color: var(--white); padding: 64px max(24px, calc((100vw - 1180px) / 2)) 25px; }
.footer-main { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 45px; align-items: start; }
.footer-main p { color: #99948e; line-height: 1.6; font-size: 13px; }
.footer-main > a:last-child { justify-self: end; color: var(--gold-light); font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #74716c; font-size: 11px; }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding-top: 76px; }
  .signal-panel { max-width: 630px; transform: none; }
  .step-grid { grid-template-columns: 1fr 1fr; }
  .checker-grid, .capability-grid, .dark-grid, .pilot { grid-template-columns: 1fr; }
  .feature-large { grid-row: auto; min-height: auto; }
  .pilot-card { max-width: 620px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > a:last-child { justify-self: start; }
}

@media (max-width: 720px) {
  .section-shell { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 68px; padding: 0 14px; }
  .nav-toggle { display: block; order: 3; }
  .language-switch { margin-left: auto; order: 2; }
  .site-nav { display: none; position: absolute; inset: 68px 12px auto; padding: 18px; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border: 1px solid rgba(255,255,255,.15); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 10px; }
  h1 { font-size: clamp(46px, 14.5vw, 68px); }
  .hero { min-height: auto; gap: 48px; padding: 64px 0 68px; }
  .hero-lead { font-size: 17px; }
  .signal-panel { padding: 18px; box-shadow: var(--shadow), 8px 8px 0 var(--gold); }
  .proof-strip { justify-content: flex-start; overflow-x: auto; }
  .proof-strip p { white-space: nowrap; }
  .section-block { padding-top: 78px; padding-bottom: 78px; }
  .step-grid { grid-template-columns: 1fr; }
  .step-card { min-height: auto; }
  .feature-wide { grid-column: auto; }
  .checker-control { grid-template-columns: 1fr; }
  .checker-control input { border-right: 1px solid var(--line); border-radius: 4px; }
  .checker-control button { height: 48px; margin-top: 8px; border-radius: 4px; }
  .dark-grid { padding-top: 72px; padding-bottom: 72px; gap: 40px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

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