:root {
  --ink: #181713;
  --paper: #f2efe6;
  --paper-2: #e6e0d2;
  --line: rgba(24, 23, 19, 0.22);
  --orange: #f15a37;
  --orange-dark: #d23d20;
  --green: #1f7759;
  --yellow: #e6b84f;
  --muted: #6d695e;
  --white: #fffdf7;
  --mono: "IBM Plex Mono", monospace;
  --sans: "IBM Plex Sans", sans-serif;
  --serif: "Newsreader", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, input, select { font: inherit; }
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.055;
  z-index: 20;
  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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: 112px; }

.site-header {
  width: min(1320px, calc(100% - 48px));
  height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.02em; }
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  font: 600 11px var(--mono);
  transform: rotate(-3deg);
}
.site-header nav { display: flex; gap: 34px; }
.site-header nav a { font-size: 14px; text-decoration: none; position: relative; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--orange); transition: right .25s ease; }
.site-header nav a:hover::after { right: 0; }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  font: 600 13px var(--mono);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.button-small { min-height: 40px; padding-inline: 16px; font-size: 11px; gap: 14px; }
.button-dark { background: var(--ink); color: var(--paper); }
.button-primary { background: var(--orange); color: var(--ink); }
.button-outline { background: transparent; }
.text-link { font: 500 13px var(--mono); text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--ink); padding-block: 8px; }
.text-link span { margin-left: 12px; }

.hero {
  min-height: 710px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 88px;
  align-items: center;
  position: relative;
}
.hero::before { content: ""; position: absolute; left: 51%; top: 8%; bottom: 8%; border-left: 1px dashed rgba(24,23,19,.18); }
.eyebrow { font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.pulse { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 5px rgba(31,119,89,.12); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(31,119,89,0); } }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; margin: 0; line-height: .98; }
h1 { font-size: clamp(60px, 6vw, 92px); max-width: 820px; }
h1 em { color: var(--orange-dark); font-weight: 400; }
.hero-lede { max-width: 650px; font-size: 19px; line-height: 1.65; margin: 32px 0; color: #37352e; }
.hero-actions { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.hero-facts { display: flex; gap: 36px; margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--line); }
.hero-facts div { display: grid; gap: 2px; }
.hero-facts strong { font: 500 28px var(--serif); }
.hero-facts span { font: 500 10px var(--mono); text-transform: uppercase; color: var(--muted); }

.terminal { background: var(--ink); color: var(--white); box-shadow: 18px 18px 0 var(--orange); transform: rotate(1deg); }
.terminal-bar, .terminal-footer { min-height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid rgba(255,255,255,.18); font: 500 10px var(--mono); letter-spacing: .08em; }
.terminal-status { color: #78dbb4; }
.terminal-grid { min-height: 390px; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; }
.file-stack { height: 220px; position: relative; margin-inline: 30px 10px; }
.paper { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.35); background: #ddd5c4; color: var(--ink); }
.paper-back { transform: rotate(-8deg) translate(-5px, 4px); opacity: .35; }
.paper-mid { transform: rotate(5deg) translate(7px, 2px); opacity: .55; }
.paper-front { padding: 20px; }
.paper-type { font: 600 11px var(--mono); }
.paper-lines { display: grid; gap: 10px; margin-top: 35px; }
.paper-lines span { height: 5px; background: rgba(24,23,19,.3); }
.paper-lines span:nth-child(2) { width: 76%; }
.paper-lines span:nth-child(3) { width: 90%; }
.paper-lines span:nth-child(4) { width: 55%; }
.stamp { position: absolute; right: 12px; bottom: 20px; border: 3px solid var(--orange-dark); color: var(--orange-dark); font: 600 20px var(--mono); padding: 5px 8px; transform: rotate(-9deg); }
.scan-output { padding: 25px 22px 25px 10px; display: grid; gap: 13px; }
.scan-row { border-bottom: 1px solid rgba(255,255,255,.14); padding: 0 0 13px; display: grid; grid-template-columns: 63px 1fr; gap: 10px; align-items: center; font: 400 11px var(--mono); }
.scan-row.muted { color: rgba(255,255,255,.46); margin-top: 12px; }
.severity { padding: 4px 5px; text-align: center; font-size: 9px; color: var(--ink); }
.severity-high { background: var(--orange); }
.severity-med { background: var(--yellow); }
.terminal-footer { border-top: 1px solid rgba(255,255,255,.18); border-bottom: 0; color: rgba(255,255,255,.55); gap: 12px; }
.reveal { animation: reveal .7s cubic-bezier(.2,.8,.2,1) both; }
.reveal-delay { animation-delay: .18s; }
@keyframes reveal { from { opacity: 0; transform: translateY(24px); } }

.research-strip { background: var(--orange); border-block: 1px solid var(--ink); }
.research-inner { min-height: 150px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 80px; }
.research-inner > p { font: 500 30px/1.1 var(--serif); margin: 0; }
.research-stat { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; }
.research-stat strong { font: 600 34px var(--mono); }
.research-stat span { font-size: 14px; line-height: 1.4; max-width: 430px; }
.research-stat a { font: 600 10px var(--mono); text-transform: uppercase; }

.section-intro { max-width: 780px; margin-bottom: 60px; }
.section-intro h2 { font-size: clamp(48px, 5vw, 72px); }
.section-intro-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-intro-row > div:first-child { max-width: 760px; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); }
.process-card { min-height: 370px; padding: 28px; position: relative; border-right: 1px solid var(--ink); display: flex; flex-direction: column; }
.process-card:last-child { border-right: 0; }
.process-card-accent { background: var(--orange); }
.process-no { position: absolute; top: 20px; right: 20px; font: 500 10px var(--mono); }
.process-icon { width: 72px; height: 72px; margin: 18px 0 80px; display: grid; place-items: center; }
.file-icon { background: var(--ink); color: var(--paper); font: 600 13px var(--mono); transform: rotate(-5deg); box-shadow: 7px 7px 0 rgba(24,23,19,.2); }
.scan-icon { border: 1px solid var(--ink); border-radius: 50%; position: relative; }
.scan-icon::before, .scan-icon::after { content: ""; position: absolute; background: var(--ink); }
.scan-icon::before { width: 1px; height: 90px; }
.scan-icon::after { width: 90px; height: 1px; }
.scan-icon span { width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 50%; }
.decision-icon { border: 1px solid var(--ink); font: 400 38px var(--serif); }
.process-card h3 { font: 500 24px var(--serif); margin: 0 0 12px; }
.process-card p { margin: 0; line-height: 1.55; color: #3d3a33; }

.audit-section { background: #dcd5c6; border-block: 1px solid var(--ink); }
.decision-key { display: flex; gap: 18px; font: 500 10px var(--mono); text-transform: uppercase; }
.decision-key span { display: flex; align-items: center; gap: 7px; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-pass { background: var(--green); }
.dot-review { background: var(--yellow); }
.dot-block { background: var(--orange); }
.audit-console { min-height: 520px; display: grid; grid-template-columns: 290px 1fr; background: var(--paper); border: 1px solid var(--ink); box-shadow: 12px 12px 0 rgba(24,23,19,.13); }
.audit-sidebar { border-right: 1px solid var(--ink); display: flex; flex-direction: column; }
.audit-project { padding: 22px; border-bottom: 1px solid var(--ink); font: 600 10px var(--mono); letter-spacing: .1em; }
.file-tab { width: 100%; min-height: 68px; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 0 16px; display: grid; grid-template-columns: 42px 1fr 24px; align-items: center; text-align: left; gap: 8px; cursor: pointer; font-size: 13px; }
.file-tab span { font: 600 9px var(--mono); padding: 5px; color: var(--paper); background: var(--ink); }
.file-tab b { font: 600 10px var(--mono); background: var(--paper-2); border-radius: 50%; width: 24px; height: 24px; display: grid; place-items: center; }
.file-tab.active { background: var(--orange); }
.file-tab.active b { background: var(--ink); color: var(--paper); }
.audit-summary { margin-top: auto; background: var(--ink); color: var(--paper); padding: 22px; display: grid; gap: 4px; }
.audit-summary span, .audit-summary small { font: 500 9px var(--mono); color: rgba(255,255,255,.58); }
.audit-summary strong { font: 600 36px var(--mono); color: var(--orange); }
.audit-main { min-width: 0; }
.audit-main-header { min-height: 86px; display: grid; grid-template-columns: 1.5fr 1fr .7fr; border-bottom: 1px solid var(--ink); }
.audit-main-header div { padding: 18px 22px; border-right: 1px solid var(--line); display: grid; gap: 5px; }
.audit-main-header div:last-child { border-right: 0; }
.audit-main-header span { font: 500 9px var(--mono); color: var(--muted); }
.audit-main-header strong { font: 500 13px var(--mono); overflow: hidden; text-overflow: ellipsis; }
.audit-main-header .risk { color: var(--orange-dark); }
.findings-list { padding: 14px 22px; }
.finding { display: grid; grid-template-columns: 90px 1fr auto; gap: 18px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.finding-badge { font: 600 9px var(--mono); padding: 6px; text-align: center; background: var(--orange); }
.finding-badge.medium { background: var(--yellow); }
.finding-badge.critical { background: var(--ink); color: var(--orange); }
.finding-copy { display: grid; gap: 5px; min-width: 0; }
.finding-copy strong { font-size: 14px; }
.finding-copy span { color: var(--muted); font: 400 11px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.finding-location { font: 500 10px var(--mono); color: var(--muted); }

.roi { display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; align-items: center; }
.roi-copy h2 { font-size: clamp(48px, 5vw, 68px); }
.roi-copy p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.calculator { border: 1px solid var(--ink); padding: 34px; box-shadow: 10px 10px 0 var(--orange); }
.calculator label { display: block; margin-bottom: 28px; }
.calculator label span { display: flex; justify-content: space-between; gap: 15px; font: 500 11px var(--mono); text-transform: uppercase; }
.calculator output { font-weight: 600; color: var(--orange-dark); }
input[type="range"] { width: 100%; margin-top: 18px; accent-color: var(--orange); }
.calculator-result { border-top: 1px solid var(--ink); padding-top: 25px; display: grid; }
.calculator-result span { font: 500 10px var(--mono); text-transform: uppercase; }
.calculator-result strong { font: 500 56px var(--serif); color: var(--orange-dark); line-height: 1.1; }
.calculator-result small { color: var(--muted); }

.rules-section { background: var(--ink); color: var(--paper); }
.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 120px; align-items: center; }
.rules-visual { min-height: 520px; display: grid; place-items: center; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 30px 30px; }
.rule-sheet { width: min(410px, 82%); background: var(--paper); color: var(--ink); transform: rotate(-3deg); box-shadow: 16px 16px 0 var(--orange); position: relative; }
.rule-sheet-top { padding: 14px; border-bottom: 1px solid var(--ink); display: flex; justify-content: space-between; font: 600 9px var(--mono); }
.rule-sheet-top span:last-child { color: var(--green); }
.rule-sheet code { display: grid; padding: 30px; font: 500 12px/1.8 var(--mono); }
.code-accent { color: var(--orange-dark); }
.code-green { color: var(--green); }
.rule-stamp { position: absolute; right: -15px; bottom: 12px; border: 3px solid var(--green); color: var(--green); padding: 5px 9px; font: 600 16px var(--mono); transform: rotate(7deg); }
.rules-copy h2 { font-size: clamp(48px, 5vw, 70px); }
.rules-copy p { font-size: 18px; line-height: 1.65; color: rgba(242,239,230,.7); }
.check-list { list-style: none; padding: 0; margin: 35px 0 0; display: grid; gap: 16px; }
.check-list li { border-top: 1px solid rgba(255,255,255,.18); padding-top: 14px; font: 500 12px var(--mono); }
.check-list li::before { content: "✓"; color: var(--orange); margin-right: 12px; }

.pricing-intro { text-align: center; margin-inline: auto; }
.pricing-intro .eyebrow { justify-content: center; }
.pricing-intro p { color: var(--muted); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.price-card { min-height: 610px; border: 1px solid var(--ink); border-right: 0; padding: 32px; display: flex; flex-direction: column; position: relative; }
.price-card:last-child { border-right: 1px solid var(--ink); }
.price-card-featured { background: var(--ink); color: var(--paper); transform: translateY(-18px); border-right: 1px solid var(--ink); }
.popular { position: absolute; top: -30px; right: -1px; left: -1px; height: 30px; background: var(--orange); color: var(--ink); display: grid; place-items: center; border: 1px solid var(--ink); font: 600 9px var(--mono); }
.price-name { font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.price { font: 500 62px var(--serif); margin: 30px 0 15px; }
.price sup { font: 500 24px var(--serif); vertical-align: top; }
.price small { font: 500 11px var(--mono); color: var(--muted); }
.price-card-featured .price small { color: rgba(255,255,255,.5); }
.price-card > p { min-height: 68px; line-height: 1.5; color: var(--muted); }
.price-card-featured > p { color: rgba(255,255,255,.65); }
.price-card ul { list-style: none; padding: 0; display: grid; gap: 15px; margin: 28px 0 40px; }
.price-card li { font-size: 13px; }
.price-card li::before { content: "—"; margin-right: 8px; color: var(--orange); }
.price-card .button { margin-top: auto; }
.price-card-featured .button:hover { box-shadow: 4px 4px 0 var(--paper); }

.faq .section-intro { max-width: 850px; }
.faq-list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 26px 50px 26px 0; font: 500 22px var(--serif); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; font: 400 25px var(--mono); }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 780px; color: var(--muted); line-height: 1.65; padding-bottom: 24px; margin-top: 0; }

.access { background: var(--orange); border-block: 1px solid var(--ink); }
.access-inner { display: grid; grid-template-columns: 1fr .8fr; gap: 100px; align-items: center; }
.access h2 { font-size: clamp(52px, 5vw, 76px); }
.access p { max-width: 600px; font-size: 17px; line-height: 1.55; }
.eyebrow.light { color: var(--ink); }
.access-form { border: 1px solid var(--ink); padding: 28px; background: var(--paper); box-shadow: 10px 10px 0 var(--ink); display: grid; gap: 20px; }
.access-form label { display: grid; gap: 7px; }
.access-form label span { font: 600 9px var(--mono); text-transform: uppercase; }
.access-form input, .access-form select { width: 100%; height: 48px; border: 1px solid var(--ink); border-radius: 0; background: var(--white); padding-inline: 12px; }
.access-form .button { width: 100%; }
.form-note { margin: 0 !important; color: var(--muted); font: 400 10px var(--mono) !important; }
.prepared-email[hidden] { display: none; }
.legal-page { min-height: 70vh; padding-block: 90px; }
.legal-page h1 { max-width: 820px; }
.legal-copy { max-width: 780px; display: grid; gap: 24px; }
.legal-copy h2 { margin: 16px 0 0; font-size: clamp(24px, 4vw, 42px); }
.legal-copy p, .legal-copy li { color: var(--muted); }
.legal-copy a { color: var(--ink); }

.site-footer { min-height: 160px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 30px; }
.site-footer > p { color: var(--muted); text-align: center; }
.site-footer > div { display: flex; justify-content: flex-end; gap: 18px; font: 500 10px var(--mono); }

@media (max-width: 980px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-block: 90px; }
  .hero::before { display: none; }
  .terminal { max-width: 650px; }
  .research-inner, .roi, .rules-grid, .access-inner { grid-template-columns: 1fr; }
  .research-inner { padding-block: 34px; gap: 25px; }
  .process-grid, .pricing-grid { grid-template-columns: 1fr; }
  .process-card { border-right: 0; border-bottom: 1px solid var(--ink); min-height: 320px; }
  .process-card:last-child { border-bottom: 0; }
  .price-card { border-right: 1px solid var(--ink); border-bottom: 0; }
  .price-card:last-child { border-bottom: 1px solid var(--ink); }
  .price-card-featured { transform: none; margin-top: 30px; }
  .section-intro-row { align-items: start; flex-direction: column; }
  .audit-console { grid-template-columns: 230px 1fr; }
}

@media (max-width: 700px) {
  .shell, .site-header { width: min(100% - 28px, 1180px); }
  .site-header .button { display: none; }
  .section { padding-block: 78px; }
  .hero { gap: 60px; min-height: auto; }
  h1 { font-size: 53px; }
  .hero-lede { font-size: 17px; }
  .hero-facts { gap: 22px; }
  .terminal-grid { grid-template-columns: 1fr; padding-top: 20px; }
  .file-stack { width: 180px; justify-self: center; margin: 20px; }
  .terminal-footer span:nth-child(2) { display: none; }
  .research-stat { grid-template-columns: 1fr; gap: 8px; }
  .audit-console { display: block; }
  .audit-sidebar { border-right: 0; }
  .audit-summary { display: none; }
  .file-tab:not(.active) { display: none; }
  .audit-main-header { grid-template-columns: 1fr 1fr; }
  .audit-main-header div:nth-child(2) { display: none; }
  .finding { grid-template-columns: 65px 1fr; }
  .finding-location { grid-column: 2; }
  .calculator-result strong { font-size: 44px; }
  .rules-visual { min-height: 430px; }
  .site-footer { grid-template-columns: 1fr; padding-block: 40px; text-align: center; }
  .site-footer .brand { justify-content: center; }
  .site-footer > div { justify-content: center; flex-wrap: wrap; }
}

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