/* AWACS.AI shared component styles — dark rebrand 2026-06-29 (consultant/educator pivot).
   Loaded AFTER tokens.css + nav.css on the rebranded 6-section pages. Holds the base
   reset, layout container, buttons, cards, four-lane router, steps, proof strip, and
   footer so the new IA stays visually consistent without per-page CSS duplication.
   Legacy (non-rebranded) pages do NOT link this file. */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(900px 380px at 50% -120px, rgba(0,182,255,0.08), transparent 70%),
    linear-gradient(rgba(255,255,255,0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.014) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  background-attachment: fixed;
}
img { max-width: 100%; }
a { color: var(--accent); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--text-heading); line-height: 1.13; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(40px, 7vw, 80px); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(26px, 4vw, 40px); }
h3 { font-size: clamp(19px, 2.4vw, 24px); }
p { color: var(--text-body); }
strong { color: var(--text-heading); font-weight: 600; }

.container { max-width: var(--max-w, 1100px); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.section { padding: 92px 0; }
.section-sm { padding: 60px 0; }
main { padding-top: var(--nav-h, 72px); display: block; }

.eyebrow {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent);
  display: inline-block; margin-bottom: 18px;
}
.lead { font-size: clamp(17px, 2.1vw, 21px); color: var(--text-on-dark-muted); line-height: 1.55; }
.section-head { margin-bottom: 40px; }
.section-head p { margin-top: 12px; max-width: 640px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  padding: 13px 24px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #06121d; }
.btn-primary:hover { color: #06121d; box-shadow: var(--glow); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--text-heading); border-color: var(--border-dark); }
.btn-secondary:hover { color: var(--text-heading); border-color: var(--accent); }

/* cards */
.card-grid { display: grid; gap: 20px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px; position: relative; overflow: hidden;
  transition: transform .18s, border-color .18s, box-shadow .18s; color: inherit;
}
a.card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-md); color: inherit; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15px; }
.card .go { font-family: var(--mono); font-size: 13px; color: var(--accent); margin-top: 16px; display: inline-block; }

/* four-lane router */
.lane { display: block; background: var(--bg-white); border: 1px solid var(--border); border-radius: 14px; padding: 30px 26px; position: relative; overflow: hidden; transition: transform .18s, border-color .18s, box-shadow .18s; }
.lane::before { content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background: var(--accent); opacity:0; transition: opacity .18s; }
.lane:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-md); color: inherit; }
.lane:hover::before { opacity: 1; }
.lane-head { display:flex; align-items:center; gap:10px; margin-bottom: 10px; }
.lane-name { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--text-heading); }
.lane-verb { font-family: var(--mono); font-size: 10px; letter-spacing:.16em; text-transform:uppercase; color: var(--accent); border:1px solid var(--border-dark); border-radius: 4px; padding: 3px 7px; }
.lane p { font-size: 15px; color: var(--text-body); margin-bottom: 14px; }
.lane .go { font-family: var(--mono); font-size: 13px; color: var(--accent); }

/* proof strip */
.proof-strip { text-align:center; border-top:1px solid var(--border); border-bottom:1px solid var(--border); background: var(--bg-alt); padding: 44px 0; }
.proof-tech { font-family: var(--mono); font-size: clamp(13px,1.6vw,15px); letter-spacing:.06em; color: var(--text-on-dark-muted); }
.proof-tech .sep { color: var(--accent); margin: 0 8px; }
.proof-note { font-size: 14px; color: var(--text-muted); margin-top: 14px; }

/* telemetry bar */
.telemetry { display:flex; flex-wrap:wrap; gap: 22px; font-family: var(--mono); font-size: 11px; letter-spacing:.12em; color: var(--text-muted); text-transform:uppercase; margin-bottom: 30px; }
.telemetry span b { color: var(--accent); font-weight:500; margin-left:6px; }
.telemetry .nominal b { color: #2fe0a0; }

/* badges */
.badge-risk { font-family: var(--mono); font-size: 10px; letter-spacing:.14em; text-transform:uppercase; color: var(--danger); border:1px solid rgba(255,56,48,.4); border-radius:4px; padding:3px 8px; }

/* lists */
.checklist { list-style:none; display:grid; gap:11px; }
.checklist li { position:relative; padding-left: 26px; color: var(--text-body); }
.checklist li::before { content:"\203A"; position:absolute; left:7px; color: var(--accent); font-weight:700; }

/* numbered steps */
.steps { list-style:none; counter-reset: step; display:grid; gap:12px; }
.steps li { position:relative; padding-left: 56px; min-height: 38px; display:flex; align-items:center; color: var(--text-heading); font-weight:500; font-size: 17px; }
.steps li::before { counter-increment: step; content: counter(step,decimal-leading-zero); position:absolute; left:0; top:50%; transform:translateY(-50%); font-family: var(--mono); font-size:13px; color: var(--accent); border:1px solid var(--border-dark); border-radius:8px; width:38px; height:38px; display:flex; align-items:center; justify-content:center; }

/* story (case study) */
.story { list-style:none; display:grid; gap:0; border-left:1px solid var(--border-dark); margin-left:6px; }
.story li { position:relative; padding: 0 0 26px 28px; color: var(--text-body); }
.story li::before { content:""; position:absolute; left:-5px; top:7px; width:9px; height:9px; border-radius:50%; background: var(--accent); box-shadow: 0 0 0 4px var(--bg); }
.story li:last-child { padding-bottom: 0; }

/* footer */
.site-footer { background: var(--bg-dark); border-top: 1px solid var(--border); padding: 56px 0 40px; margin-top: 40px; }
.footer-inner { max-width: var(--max-w, 1100px); margin: 0 auto; padding: 0 24px; }
.footer-brand { font-family: var(--mono); font-weight:500; font-size:16px; letter-spacing:.04em; color: var(--text-heading); }
.footer-brand .dot { color: var(--danger); }
.footer-tagline { color: var(--text-muted); font-size:14px; margin-top:6px; }
.footer-links { display:flex; flex-wrap:wrap; gap: 22px; margin: 22px 0; }
.footer-links a { font-size:14px; color: var(--text-on-dark-muted); }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size:13px; color: var(--text-muted); border-top:1px solid var(--border); padding-top:20px; }

/* hero */
.hero { padding: clamp(56px, 11vh, 120px) 0 78px; position: relative; }
.hero h1 .dot { color: var(--danger); }
.hero .sub { font-family: var(--serif); font-weight:600; font-size: clamp(20px,3vw,30px); color: var(--text-heading); margin-top: 18px; max-width: 760px; }
.hero .subsub { font-size: clamp(15px,2vw,18px); color: var(--text-on-dark-muted); margin-top: 10px; }
.hero-actions { display:flex; flex-wrap:wrap; gap: 14px; margin-top: 34px; }

/* email capture */
.email-capture { display:flex; gap:10px; flex-wrap:wrap; max-width: 480px; }
.email-capture input { flex:1; min-width: 220px; background: var(--bg-white); border:1px solid var(--border-dark); border-radius:10px; padding:13px 16px; color: var(--text-heading); font-family: var(--sans); font-size:15px; }
.email-capture input::placeholder { color: var(--text-muted); }
.email-capture input:focus { outline:none; border-color: var(--accent); box-shadow: var(--glow); }

/* utility */
.center { text-align:center; }
.muted { color: var(--text-muted); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.mt-m{margin-top:24px}.mt-l{margin-top:44px}
.closing { font-family: var(--serif); font-weight:700; font-size: clamp(24px,3.4vw,38px); color: var(--text-heading); line-height:1.2; }

@media (max-width: 860px) {
  .cols-2,.cols-3,.cols-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 600px) { body { font-size: 16px; } }
