/* SPARTANE Corporate Pages — Base Inline Styles
   Extracted from _generate-pages.js baseCSS() function.
   These styles were previously inlined in each HTML <head>. */

:root {
  --ink:#0b1220;
  --ink-2:#1e3448;
  --navy:#0a1628;
  --navy-2:#0f2740;
  --blue:#2563eb;
  --teal:#0d9488;
  --aqua:#69dbe0;
  --bg:#ffffff;
  --bg-soft:#f4f6f9;
  --paper:#ffffff;
  --muted:#5b6674;
  --line:#e5e7eb;
  --gold:#c5a04b;
  --success:#059669;
  --warning:#b88216;
  --shadow:0 22px 60px rgba(2,6,23,.08);
  --max:1280px;
}

/* ── Base Reset ── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ── Typography ── */
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

/* ── Topbar (inline fallback, nav-global.css overrides) ── */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff;
}
.nav-links { display: flex; gap: 20px; color: var(--muted); font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--navy); }
.btns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.btn {
  min-height: 48px; padding: 0 22px; border-radius: 999px; font-size: 14px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; transition: 0.15s;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { opacity: 0.92; }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--navy); }

/* ── Labels & Headings ── */
.topic, .section-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue); margin-bottom: 10px; }
h1 {
  margin: 0 0 20px; font-size: clamp(2.75rem, 6vw, 4.25rem); line-height: 0.98; letter-spacing: -0.055em; font-weight: 800; color: var(--navy);
}
h2 {
  margin: 0 0 18px; font-size: clamp(2.1rem, 4vw, 3.25rem); line-height: 1.02; letter-spacing: -0.045em; font-weight: 800; color: var(--navy);
}
h3 { margin: 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); }
.lede, .hero-sub { font-size: 1.15rem; line-height: 1.55; color: var(--muted); margin: 0 0 24px; max-width: 36rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(37, 99, 235, 0.08); color: var(--navy); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

/* ── Hero ── */
.hero-mag { padding: 36px 0 48px; }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 520px; border-radius: 32px; overflow: hidden; border: 1px solid var(--line); }
.hero-split .visual { position: relative; min-height: 320px; }
.hero-split .visual img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.hero-split .visual::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10, 22, 40, 0.15), transparent 50%);
}
.hero-split .copy { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; background: var(--bg-soft); }

/* ── Hero Shell (alternate pattern) ── */
.hero { padding: 56px 0 40px; }
.hero-shell { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.hero-pill { padding: 8px 14px; border-radius: 999px; background: rgba(37,99,235,.06); border: 1px solid rgba(37,99,235,.12); font-size: 12.5px; font-weight: 700; color: var(--navy); }
.hero-visual {
  border-radius: 24px; padding: 36px 32px; min-height: 340px;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden;
}
.hero-visual-inner { position: relative; z-index: 1; }

/* ── Pull Quote ── */
.pull-quote {
  margin: 28px 0 0; padding: 24px 0 0; border-top: 2px solid var(--navy);
  position: relative;
}
.pull-quote::before { content: "\201C"; position: absolute; top: 8px; left: 0; font-size: 3rem; line-height: 1; color: var(--line); font-weight: 800; }
.pull-quote p { margin: 0; font-size: 1.4rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.02em; color: var(--navy); padding-left: 28px; }
.pull-quote footer { margin-top: 12px; padding-left: 28px; font-size: 13px; font-weight: 700; color: var(--muted); }

/* ── Kickers ── */
.kicker-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.kicker { padding: 10px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink); }

/* ── Metrics ── */
.metrics-bar { margin-top: 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metric-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.metric-card strong { display: block; font-size: 13px; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.metric-card span { font-size: 14px; color: var(--muted); line-height: 1.45; }

/* ── Sections ── */
section { padding: 80px 0; }
section.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ── Split Section ── */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); margin-top: 32px; background: #fff; }
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-section .panel-img { min-height: 380px; }
.split-section .panel-img img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.split-section .panel-text { padding: 40px 40px 44px; display: flex; flex-direction: column; justify-content: center; }

/* ── Side Quote ── */
.side-quote {
  margin-top: 24px; padding: 20px 22px; border-radius: 16px; background: var(--navy); color: #fff;
}
.side-quote p { margin: 0; font-size: 1.05rem; font-weight: 600; line-height: 1.4; }
.side-quote cite { display: block; margin-top: 12px; font-size: 12px; font-style: normal; font-weight: 700; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.08em; }

/* ── Band Card ── */
.band-card { border: 1px solid var(--line); border-radius: 28px; overflow: hidden; margin-top: 28px; background: #fff; }
.band-head:not([class*="bg"]) { padding: 16px 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.band-row { display: grid; grid-template-columns: 1fr 1fr; }
.band-copy { padding: 32px; }
.band-copy p { margin: 0; font-size: 16px; color: var(--muted); line-height: 1.55; }
.band-copy h3 { margin: 0 0 14px; font-size: 1.5rem; }
.band-data { padding: 28px 32px; border-left: 1px solid var(--line); background: #fafbfc; }
.data-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.data-item:last-child { border: none; }
.data-item strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue); margin-bottom: 6px; }
.data-item span { font-size: 15px; color: var(--muted); }

/* ── Editorial Card ── */
.editorial-card { padding: 32px; border: 1px solid var(--line); border-radius: 28px; background: #fff; }
.editorial-card > p { margin: 0 0 14px; color: var(--muted); font-size: 16px; }
.intro-head { margin-bottom: 28px; }

/* ── Lists ── */
.list { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.list li { display: grid; grid-template-columns: 12px 1fr; gap: 10px; align-items: start; font-size: 15px; color: var(--muted); }
.list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); margin-top: 7px; }

/* ── Table Card ── */
.table-card, .table-shell { border: 1px solid var(--line); border-radius: 28px; overflow: hidden; margin-top: 28px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.09em; color: var(--blue); background: #f8fafc; font-weight: 800; }
td { color: var(--muted); }
td:first-child { color: var(--navy); font-weight: 700; }

/* ── Badges ── */
.badge { display: inline-flex; padding: 6px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.badge.good { background: rgba(5, 150, 105, 0.12); color: var(--success); }
.badge.mid { background: rgba(37, 99, 235, 0.1); color: var(--blue); }
.badge.warn { background: rgba(184, 130, 22, 0.1); color: var(--warning); }
.badge.critical { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.badge.info { background: rgba(13, 148, 136, 0.1); color: #0d9488; }

/* ── Card Grids ── */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 28px; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.info-card { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #fff; }
.info-card-head { padding: 28px 24px 24px; border-bottom: 1px solid var(--line); }
.info-card-head h3 { margin: 0 0 8px; }
.info-card-head p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.info-card-body { padding: 24px; }
.info-card-body h4 { font-size: 14px; font-weight: 800; color: var(--navy); margin: 0 0 8px; }
.info-card-body p { margin: 0 0 12px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.micro-head { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.micro { padding: 4px 10px; border-radius: 999px; background: rgba(37,99,235,.06); font-size: 11px; font-weight: 700; color: var(--blue); }

/* ── Agents Grid ── */
.agents-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.case-card { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #fff; }
.case-card .ph { height: 160px; }
.case-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.case-top { padding: 20px 22px 12px; }
.case-top small { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); }
.case-body { padding: 0 22px 24px; }
.case-body p { margin: 0 0 12px; font-size: 15px; color: var(--muted); }

/* ── Strip ── */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; margin-top: 40px; }
.strip-box, .strip > div { padding: 22px; border-right: 1px solid var(--line); background: #fff; }
.strip-box:last-child, .strip > div:last-child { border-right: none; }
.strip-box strong, .strip > div strong { display: block; font-size: 2.2rem; font-weight: 800; color: var(--navy); letter-spacing: -0.04em; }
.strip-box span, .strip > div span { font-size: 13px; color: var(--muted); }

/* ── Hero Strip ── */
.hero-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; margin-top: 40px; }
.hero-strip > div { padding: 22px; border-right: 1px solid var(--line); background: #fff; }
.hero-strip > div:last-child { border-right: none; }
.hero-strip small { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue); margin-bottom: 8px; }
.hero-strip h3 { font-size: 1.05rem; margin: 0 0 8px; }
.hero-strip p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }

/* ── Stats ── */
.stats, .stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 22px; text-align: center; }
.stat-card strong { display: block; font-size: 2.5rem; font-weight: 800; color: var(--navy); letter-spacing: -0.04em; }
.stat-card span { font-size: 14px; color: var(--muted); }
.hero-stat { text-align: center; }
.hero-stat strong { font-size: 3rem; font-weight: 800; color: var(--navy); letter-spacing: -0.04em; }
.hero-stat span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ── CTA Section ── */
.cta-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cta-card { padding: 40px 36px; border: 1px solid var(--line); border-radius: 28px; background: #fff; }
.footer-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; }

/* ── Verdict Grid ── */
.verdict-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 28px; }
.verdict-card { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #fff; padding: 28px; }
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.area-card { border: 1px solid var(--line); border-radius: 24px; padding: 28px; background: #fff; }

/* ── FAQ ── */
.faq-grid { display: grid; gap: 12px; margin-top: 24px; }
details.faq { border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
details.faq summary { padding: 20px 24px; font-size: 15px; font-weight: 700; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq .faq-body { padding: 0 24px 20px; }
details.faq .faq-body p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ── Footer (inline fallback) ── */
footer:not(.footer-global) { padding: 28px 0 56px; }
.foot { padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }

/* ── Responsive ── */
@media (max-width: 1020px) {
  .hero-split, .split-section, .band-row, .agents-grid, .footer-cta, .metrics-bar, .hero-strip, .cta-wrap, .hero-shell { grid-template-columns: 1fr; }
  .split-section.reverse { direction: ltr; }
  .band-data { border-left: none; border-top: 1px solid var(--line); }
  .nav-links { display: none; }
  .hero-strip > div { border-right: none; border-bottom: 1px solid var(--line); }
  .hero-strip > div:last-child { border-bottom: none; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip > div:nth-child(2) { border-right: none; }
  .stats, .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .card-grid, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .verdict-grid, .areas { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .strip { grid-template-columns: 1fr; }
  .strip > div { border-right: none; border-bottom: 1px solid var(--line); }
  .strip > div:last-child { border-bottom: none; }
  .stats, .stats-bar { grid-template-columns: 1fr; }
}
