
:root {
  color-scheme: dark;
  --bg: #07090d;
  --panel: #0d1218;
  --panel-2: #111821;
  --line: #24303c;
  --line-strong: #3a4a57;
  --text: #f4f7fb;
  --muted: #a7b4c0;
  --green: #52d68b;
  --blue: #72b7ff;
  --amber: #f4bd4f;
  --red: #ef6b73;
  --ink: #06100b;
  font-family: 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(--bg); color: var(--text); letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; letter-spacing: 0; }
.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; padding: 12px clamp(18px, 4vw, 48px); border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(7,9,13,.92); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 8px; background: #101a18; color: var(--green); font-size: 13px; }
nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); color: var(--muted); font-size: 14px; }
nav a:hover, .text-link:hover { color: var(--text); }
.primary-action, .secondary-action, .ghost-action, .header-cta, .report-preview button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 8px; padding: 0 16px; border: 1px solid transparent; cursor: pointer; font-weight: 800; }
.primary-action, .header-cta { background: var(--green); color: var(--ink); }
.secondary-action { background: transparent; color: var(--text); border-color: var(--line-strong); }
.ghost-action, .report-preview button { background: #111923; color: var(--text); border-color: var(--line); }
.hero { min-height: calc(100vh - 64px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(560px, 1.1fr); gap: 28px; align-items: start; padding: clamp(18px, 3vw, 34px) clamp(18px, 4vw, 48px) 28px; }
.hero-copy { padding-top: 18px; }
.eyebrow { margin: 0 0 12px; color: var(--blue); font-size: 12px; font-weight: 850; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 16px; max-width: 760px; font-size: clamp(42px, 6vw, 74px); line-height: .96; }
h2 { margin-bottom: 12px; font-size: clamp(26px, 4vw, 42px); line-height: 1.05; }
h3 { margin-bottom: 8px; font-size: 18px; }
p { color: var(--muted); line-height: 1.6; }
.hero-lede { max-width: 680px; font-size: 18px; }
.hero-actions, .form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.trust-strip span, .pill, .featured-label { border-radius: 999px; border: 1px solid var(--line); padding: 6px 10px; color: var(--muted); font-size: 12px; background: rgba(255,255,255,.03); }
.hero-asset { display: block; width: min(100%, 560px); aspect-ratio: 16 / 9; object-fit: cover; margin-top: 24px; border: 1px solid var(--line); border-radius: 8px; background: #0b1118; box-shadow: 0 24px 70px rgba(0,0,0,.34); }
.scanner-shell { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-height: calc(100vh - 128px); overflow: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); padding: 14px; box-shadow: 0 26px 80px rgba(0,0,0,.32); }
.scanner-form { display: grid; gap: 12px; }
label span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #080c12; color: var(--text); padding: 11px 12px; outline: none; }
input:focus, textarea:focus { border-color: var(--blue); }
textarea, pre, code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
textarea { resize: vertical; min-height: 116px; }
.scanner-form textarea { max-height: 150px; }
.scan-output { display: grid; gap: 12px; }
.score-card { min-height: 96px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #111821; }
.score-card span { color: var(--muted); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.score-card strong { font-size: 48px; line-height: 1; color: var(--amber); }
.score-card em { justify-self: end; border-radius: 8px; padding: 8px 10px; background: rgba(244,189,79,.12); color: var(--amber); font-style: normal; font-weight: 850; }
.matrix { display: grid; gap: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: #0a0f15; }
.matrix div { display: grid; grid-template-columns: 128px 1fr; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.matrix b { display: block; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--green), var(--amber), var(--red)); }
.danger-list, .history-list, .audit-list { display: grid; gap: 8px; }
.danger-list { max-height: 136px; overflow: auto; }
.danger-list article, .history-list article, .audit-list article { display: grid; grid-template-columns: 82px 1fr; gap: 10px; align-items: start; border: 1px solid var(--line); border-radius: 8px; padding: 8px; background: #0c1219; }
.danger-list b { color: var(--red); }
.danger-list span, .history-list span, .audit-list span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.report-preview { border: 1px solid var(--line); border-radius: 8px; background: #05080c; overflow: hidden; }
.report-preview > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; text-transform: uppercase; font-weight: 850; }
pre { margin: 0; overflow: auto; color: #d7e4ef; line-height: 1.5; font-size: 13px; }
.report-preview pre, .code-panel pre, .doc-block pre { padding: 14px; }
.report-preview pre { max-height: 112px; overflow: auto; }
.dashboard-band, .product-band, .pricing-section, .docs-grid, .security-list, .guide-layout, .legal-page, .page-hero, .checkout-page { padding: clamp(42px, 7vw, 86px) clamp(18px, 4vw, 48px); }
.dashboard-band { background: #090d13; border-top: 1px solid var(--line); }
.section-heading { max-width: 780px; margin-bottom: 22px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.panel { border: 1px solid var(--line); border-radius: 8px; padding: 16px; background: var(--panel); min-width: 0; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.panel-heading span { color: var(--muted); font-size: 12px; }
.tool-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tool-table th, .tool-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.tool-table th { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.pill.ok { color: var(--green); border-color: rgba(82,214,139,.4); }
.pill.warn { color: var(--amber); border-color: rgba(244,189,79,.42); }
.pill.danger { color: var(--red); border-color: rgba(239,107,115,.44); }
.timeline { margin: 0; padding-left: 18px; color: var(--muted); }
.timeline li { margin-bottom: 12px; }
.timeline b { display: block; color: var(--text); }
.product-band { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1fr); gap: 20px; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0b1016; }
.code-panel, .doc-block { border: 1px solid var(--line); border-radius: 8px; background: #05080c; overflow: hidden; }
.pricing-section { background: #080b10; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.price-card { position: relative; border: 1px solid var(--line); border-radius: 8px; padding: 18px; background: var(--panel); }
.price-card.featured { border-color: rgba(82,214,139,.75); background: #0f1916; box-shadow: 0 0 0 1px rgba(82,214,139,.18); }
.featured-label { position: absolute; top: 14px; right: 14px; color: var(--green); border-color: rgba(82,214,139,.45); }
.price { display: flex; align-items: end; gap: 6px; margin: 18px 0; }
.price strong { font-size: 46px; line-height: .9; }
.price span { color: var(--muted); }
.price-card ul { min-height: 136px; padding-left: 18px; color: var(--muted); line-height: 1.8; }
.page-hero.compact { padding-bottom: 24px; border-bottom: 1px solid var(--line); background: #090d13; }
.page-hero.compact h1 { font-size: clamp(34px, 5vw, 56px); }
body[data-page="/pricing"] .page-hero.compact { padding-top: 32px; padding-bottom: 14px; }
body[data-page="/pricing"] .pricing-section { padding-top: 28px; }
body[data-page="/pricing"] .pricing-section .section-heading { margin-bottom: 14px; }
.pricing-page { min-height: calc(100vh - 64px); display: flex; flex-direction: column; justify-content: center; }
.pricing-page > p { max-width: 760px; }
.pricing-page h1 { margin-bottom: 10px; font-size: clamp(34px, 5vw, 56px); line-height: 1; }
.pricing-page .pricing-grid { margin-top: 18px; }
.checkout-page { min-height: calc(100vh - 64px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(380px, 1fr); gap: 24px; align-items: center; }
.checkout-steps, .token-result { display: grid; gap: 12px; border: 1px solid var(--line); border-radius: 8px; padding: 18px; background: var(--panel); }
.checkout-steps article { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; }
.checkout-steps b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: rgba(114,183,255,.12); color: var(--blue); }
.token-claim { display: grid; gap: 12px; max-width: 680px; }
.docs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.doc-block h2 { padding: 16px 16px 0; font-size: 18px; }
.security-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.security-list article, .guide-layout article, .guide-layout aside, .legal-page { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.security-list article { padding: 16px; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .42fr); gap: 14px; align-items: start; }
.guide-layout article, .guide-layout aside, .legal-page { padding: 22px; }
.guide-layout li, .legal-page p { color: var(--muted); line-height: 1.7; margin-bottom: 10px; }
.legal-page { max-width: 980px; margin: 0 auto; }
.site-footer { padding: 38px clamp(18px, 4vw, 48px); border-top: 1px solid var(--line); background: #05070a; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr .7fr 1fr .7fr; gap: 24px; }
.footer-grid h2 { font-size: 13px; text-transform: uppercase; color: var(--muted); }
.footer-grid a { display: block; margin: 9px 0; color: var(--muted); font-size: 14px; }
.footer-grid a:hover { color: var(--text); }
.footer-brand { margin-bottom: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.checkout-toast { position: fixed; right: 18px; bottom: 18px; z-index: 80; width: min(420px, calc(100vw - 36px)); border: 1px solid var(--line); border-radius: 8px; background: #101821; color: var(--text); padding: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.38); }
.checkout-toast strong { display: block; margin-bottom: 6px; }
.checkout-toast span { color: var(--muted); line-height: 1.5; }
@media (max-width: 1180px) {
  .hero, .scanner-shell, .product-band, .checkout-page { grid-template-columns: 1fr; }
  .dashboard-grid, .security-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  nav { width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .header-cta { width: 100%; }
  .hero { min-height: auto; padding-top: 18px; }
  h1 { font-size: 34px; }
  .hero-lede { font-size: 16px; }
  .trust-strip { margin-top: 14px; }
  .dashboard-grid, .pricing-grid, .security-list, .guide-layout, .footer-grid { grid-template-columns: 1fr; }
  .price-card ul { min-height: 0; }
  .matrix div { grid-template-columns: 1fr; }
  .danger-list article, .history-list article, .audit-list article { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
@media print {
  .site-header, .site-footer, .hero-actions, .form-actions, .report-preview button, .checkout-toast { display: none !important; }
  body { background: white; color: black; }
  .scanner-shell, .panel, .price-card, .code-panel { border-color: #999; background: white; color: black; }
  p, .muted, .danger-list span { color: #333; }
}
