/* AxionMind "v5 theme": the current website's look (light dotted ground, white shadowed cards,
   cyan→violet gradient accents, dark nav and footer, heavy system-font headings) applied to the
   new structure. Loaded after site.css and components.css; replaces site-c.css. Single light theme by choice. */
:root:not(#_) {
  --paper: #f5f7fb; --paper-2: #eef1f7; --ink: #0f172a; --ink-2: #334155; --muted: #475569;
  --rule: rgba(0, 0, 0, 0.08); --ref: #0284c7; --ref-bg: #e0f2fe; --approve: #7c3aed; --on-ink: #ffffff;
  --panel: #ffffff; --panel-line: rgba(0, 0, 0, 0.09);
  --grad: linear-gradient(135deg, #0284c7, #7c3aed);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.07), 0 6px 20px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.06), 0 24px 64px rgba(0, 0, 0, 0.1);
  --display: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, Menlo, monospace;
  --glow-c: rgba(2, 132, 199, 0.10); --glow-v: rgba(124, 58, 237, 0.08); --grid-line: rgba(15, 23, 42, 0.05);
  color-scheme: light;
}
body { background: var(--paper); color: var(--ink); font-size: 16.5px;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.04) 1px, transparent 1px); background-size: 28px 28px }

/* Type */
h1 { font-weight: 900; letter-spacing: -0.04em }
h2 { font-weight: 800; letter-spacing: -0.025em }
h3 { font-weight: 700 }
.grad-text, .statement h2 em { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent }
.eyebrow { font: 700 11.5px/1 var(--text); letter-spacing: .12em; color: var(--ref) }
.eyebrow::before { display: none }
.lede, .muted { color: var(--muted) }
.label { font-family: var(--text); font-weight: 700; color: var(--ref) }

/* Header: dark bar with the split-tone wordmark */
.site-head { background: rgba(8, 12, 20, 0.94); border-bottom: 1px solid rgba(255, 255, 255, 0.06); backdrop-filter: blur(14px) }
body::before { background: #080c14 }
.brand { font-weight: 900; letter-spacing: -0.03em; font-size: 22px }
.brand .ax { background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 55%, #94a3b8 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent }
.brand .mi { background: linear-gradient(120deg, #7dd3fc 0%, #0284c7 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent }
.nav a { color: #94a3b8; font-size: 15px }
.nav a:hover, .nav a[aria-current="page"] { color: #f1f5f9 }
.menu summary { color: #f1f5f9 }
.menu-panel { background: #0b1220; border-bottom-color: rgba(255, 255, 255, 0.08) }
.menu-panel a { color: #e2e8f0; border-bottom-color: rgba(255, 255, 255, 0.08) }

/* Buttons */
.btn { background: #fff; color: var(--ink); border: 1px solid rgba(0, 0, 0, 0.14); border-radius: 8px; font-weight: 600; box-shadow: var(--shadow) }
.btn:hover { background: #fff; border-color: var(--ref) }
.btn.primary { background: var(--grad); color: #fff; border: none; font-weight: 700; box-shadow: 0 4px 20px rgba(2, 132, 199, 0.3) }
.btn.primary:hover { background: var(--grad); box-shadow: 0 6px 32px rgba(2, 132, 199, 0.45); opacity: .95 }
.site-head .btn.primary { box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3) }

/* Sections */
.sec { border-top: none }
.sec.tint { background: #ffffff; background-image: none }
.page-head, .hero2 { border-bottom: none }
.texture::after { background: radial-gradient(closest-side, var(--glow-c), transparent), radial-gradient(closest-side at 30% 70%, var(--glow-v), transparent) }

/* Every card surface becomes a white shadowed card */
.trace-board, .window, .proof, .vcard, .offer2, .aud, .svc, .table-wrap, .checks, .trust, .quote, .form-shell, .doc, .shot-frame, .panel, .thread .card, .tour-tabs .ti, .phase .ico, .step-ico, .win-bar {
  background: #ffffff !important; border-color: var(--panel-line) !important }
.trace-board, .window, .proof, .vcard, .offer2, .aud, .svc, .table-wrap, .trust, .quote, .form-shell, .doc, .shot-frame { box-shadow: var(--shadow); border-radius: 16px }
.trace-board, .window, .shot-frame { box-shadow: var(--shadow-lg) }
.panel-bar, .win-bar, .win-cap { background: #f8fafc !important; border-color: var(--panel-line) !important; color: #64748b }
.panel-bar i, .win-dots i { background: #cbd5e1 }
.win-body { background: #f8fafc }

/* Trace board details */
.thread::before { background: #e2e8f0 }
.thread .t { color: var(--ink-2) }
.rail span.on::before { background: var(--ref); box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15) }
.rail span::before { background: #e2e8f0 }
.thread .pulse { background: var(--ref); box-shadow: 0 0 12px 3px rgba(2, 132, 199, 0.45) }
@keyframes lit { 0%, 2% { border-color: rgba(0,0,0,0.09); background: #fff } 6%, 14% { border-color: rgba(2,132,199,0.7); background: #f0f9ff } 24%, 100% { border-color: rgba(2,132,199,0.3); background: #fff } }

/* Comparison, offers, tour */
.vcard.us { border-color: rgba(2, 132, 199, 0.45) !important; background: linear-gradient(180deg, #f0f9ff, #ffffff) !important }
.vcard.them li span { color: var(--muted) }
.offer2:hover { border-color: rgba(2, 132, 199, 0.5) !important; box-shadow: var(--shadow-lg) }
.tour-tabs label:hover { background: rgba(2, 132, 199, 0.05) }
.tour-tabs label { color: var(--muted) }
.tour-tabs b { color: var(--ink) }
.tag-real { color: #15803d; border-color: rgba(21, 128, 61, 0.35); background: #f0fdf4 }
.tag-mock { color: #6d28d9; border-color: rgba(109, 40, 217, 0.3); background: #f5f3ff }
.stamp { background: #f5f3ff }

/* Statement, phases, levels */
.statement { border: none; background: #ffffff }
.statement h2 span { color: #94a3b8 }
.phases::before { opacity: .35 }
.levels, .levels > div + div { border-color: var(--panel-line) }

/* Monograms, quote */
.monos span { background: var(--grad); color: #fff }
.quote { background: linear-gradient(135deg, #f0f9ff, #faf5ff) !important }

/* Tables and lists */
.table-wrap table th, .table-wrap table td, .vcard li, .checks li, .trust > div { border-color: var(--panel-line) !important }
td.us { color: var(--ink) }

/* Closing band and footer */
.close2 { background: #ffffff; border-top: none }
.foot { background: #080c14; color: #94a3b8; margin-top: 0 }
.foot .brand { color: #fff }
.foot a { color: #cbd5e1 }
.foot .label { color: #7dd3fc }
.foot .copy { border-top-color: rgba(255, 255, 255, 0.08); color: #64748b }
.foot p { color: #94a3b8 }

/* Forms */
.form input, .form select, .form textarea { background: #fff; border: 1px solid rgba(0, 0, 0, 0.14); border-radius: 8px }
.form-ok { background: #fff; box-shadow: var(--shadow) }
.form-error { color: #dc2626 }
.stamp { transform: none; border-radius: 999px; padding: 6px 12px }
h1 { letter-spacing: -0.035em }
