:root {
  --alabaster: #faf8f4;
  --white: #ffffff;
  --obsidian: #0b0f17;
  --obsidian-card: #131823;
  --ink: #11151d;
  --ink-muted: #4b5563;
  --ink-soft: #6b7280;
  --light: #f8fafc;
  --light-muted: #9ca3af;
  --border-light: #e8e3da;
  --border-dark: rgba(255, 255, 255, 0.11);
  --copper: #c8761a;
  --copper-bright: #e89b2d;
  --emerald: #0f8a5f;
  --emerald-bright: #34d399;
  --crimson: #c53030;
  --crimson-soft: #f87171;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--alabaster);
  color: var(--ink);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum" 1;
}
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* Typography */
h1, h2 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.07;
}
h1 em, h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 14px;
}
.kicker-light { color: var(--copper-bright); }

/* Navbar */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background 0.25s, border-color 0.25s, backdrop-filter 0.25s;
  background: linear-gradient(to bottom, rgba(11, 15, 23, 0.72), rgba(11, 15, 23, 0));
}
.navbar.scrolled {
  background: rgba(250, 248, 244, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
}
.nav-inner { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; transition: color 0.2s; }
.navbar.scrolled .brand, .brand-light { color: var(--ink); }
.brand-mark {
  width: 12px; height: 12px; background: var(--copper-bright);
  transform: rotate(45deg); border-radius: 2px;
}
.brand-text { font-weight: 700; font-size: 1.05rem; letter-spacing: 0.16em; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: rgba(255, 255, 255, 0.84); text-decoration: none;
  font-size: 0.88rem; font-weight: 500; white-space: nowrap; transition: color 0.18s;
}
.nav-links a:hover { color: #fff; }
.navbar.scrolled .nav-links a { color: var(--ink-muted); }
.navbar.scrolled .nav-links a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 0.92rem;
  text-decoration: none; border: none; cursor: pointer; transition: all 0.2s ease;
}
.btn-nav {
  padding: 9px 18px; font-size: 0.84rem;
  background: rgba(255, 255, 255, 0.14); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28); backdrop-filter: blur(8px);
}
.btn-nav:hover { background: #fff; color: var(--obsidian); }
.navbar.scrolled .btn-nav { background: var(--obsidian); color: #fff; border-color: var(--obsidian); }
.navbar.scrolled .btn-nav:hover { background: var(--copper); border-color: var(--copper); }

.btn-primary { background: #fff; color: var(--obsidian); }
.btn-primary:hover { background: var(--copper-bright); color: var(--obsidian); transform: translateY(-1px); }
.btn-glass {
  background: rgba(255, 255, 255, 0.1); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32); backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.2); border-color: #fff; }
.btn-glass-sm {
  padding: 11px 20px; font-size: 0.86rem;
  background: rgba(255, 255, 255, 0.06); color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-glass-sm:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.45); }
.btn-outline-dark {
  padding: 12px 22px; font-size: 0.88rem;
  background: #fff; color: var(--ink);
  border: 1px solid #d7d0c4;
}
.btn-outline-dark:hover { background: var(--obsidian); color: #fff; border-color: var(--obsidian); }
.btn-dark { background: var(--obsidian); color: #fff; }
.btn-dark:hover { background: var(--copper); transform: translateY(-1px); }
.btn-full { width: 100%; }

/* Full-Bleed Architectural Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 136px 0 64px;
  color: #fff;
  background: var(--obsidian);
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  background-image: url("assets/hero-substation.jpg");
  background-size: cover;
  background-position: center 42%;
  transform: scale(1.01);
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(9, 13, 20, 0.88) 0%, rgba(9, 13, 20, 0.62) 48%, rgba(9, 13, 20, 0.34) 100%),
    linear-gradient(to top, rgba(9, 13, 20, 0.94) 0%, rgba(9, 13, 20, 0.18) 45%, rgba(9, 13, 23, 0.42) 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-copy { max-width: 860px; margin-bottom: 58px; }
.pill-kicker {
  display: inline-block;
  padding: 6px 14px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  background: rgba(232, 155, 45, 0.16); color: #fbbf24;
  border: 1px solid rgba(232, 155, 45, 0.35);
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(3rem, 5.8vw, 4.9rem);
  color: #fff;
  margin-bottom: 24px;
}
.hero h1 em { font-size: 1.07em; color: #fde68a; }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(241, 245, 249, 0.88);
  max-width: 600px;
  line-height: 1.65;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hm-val { font-size: 1.85rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.hm-lbl { font-size: 0.86rem; color: rgba(226, 232, 240, 0.78); margin-top: 4px; max-width: 280px; }

/* Sections */
.section { padding: 112px 0; scroll-margin-top: 72px; }
.section-compact { padding: 80px 0; }
.section-alabaster { background: var(--alabaster); }
.section-white { background: var(--white); }
.section-obsidian { background: var(--obsidian); color: var(--light); }
.border-top { border-top: 1px solid var(--border-light); }

.section-head { max-width: 700px; margin-bottom: 54px; }
.section-center { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section h2 { font-size: clamp(2.15rem, 3.8vw, 3.2rem); margin-bottom: 18px; }
.section h2 em { font-size: 1.06em; }
.section-sub { font-size: 1.06rem; color: var(--ink-muted); }
.section-sub-dark { font-size: 1.06rem; color: var(--light-muted); }
.h2-light { color: #fff; }
.h2-light em { color: #fde68a; }
.lead-p { font-size: 1.06rem; color: var(--ink-muted); margin-bottom: 32px; }

/* Chapter 1: Editorial Split */
.split-editorial { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.thesis-list { display: flex; flex-direction: column; gap: 24px; }
.thesis-item { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.thesis-num { font-size: 0.78rem; font-weight: 700; color: var(--copper); padding-top: 4px; letter-spacing: 0.06em; }
.thesis-item h3 { font-size: 1.04rem; font-weight: 700; margin-bottom: 4px; color: var(--ink); }
.thesis-item p { font-size: 0.94rem; color: var(--ink-muted); }

.photo-frame {
  position: relative; border-radius: 18px; overflow: hidden;
  box-shadow: 0 28px 64px rgba(17, 21, 29, 0.12);
  border: 1px solid var(--border-light);
  background: #e5e0d7;
}
.photo-frame img { display: block; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 62% center; }
.photo-caption {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  padding: 14px 18px; border-radius: 12px;
  background: rgba(11, 15, 23, 0.8); backdrop-filter: blur(12px);
  color: rgba(248, 250, 252, 0.92); font-size: 0.84rem; line-height: 1.45;
  display: flex; align-items: center; gap: 10px;
}
.cap-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--copper-bright); flex-shrink: 0; }

/* Chapter 2: Consumer-Grade Product Preview */
.preview-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.ptab {
  text-align: left; padding: 18px 22px; border-radius: 14px;
  border: 1px solid var(--border-light); background: var(--alabaster);
  cursor: pointer; transition: all 0.18s; display: flex; flex-direction: column; gap: 3px;
}
.ptab:hover { border-color: #c8bfb0; }
.ptab.active { background: var(--obsidian); border-color: var(--obsidian); color: #fff; box-shadow: 0 12px 28px rgba(11, 15, 23, 0.14); }
.ptab-title { font-size: 1rem; font-weight: 700; }
.ptab-sub { font-size: 0.82rem; color: var(--ink-soft); }
.ptab.active .ptab-sub { color: #9ca3af; }

.product-shell {
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border-light);
  background: #fff;
  box-shadow: 0 24px 60px rgba(17, 21, 29, 0.08);
}
.shell-topbar {
  padding: 14px 22px; background: #f4f1eb; border-bottom: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.shell-dots { display: flex; gap: 7px; }
.shell-dots span { width: 10px; height: 10px; border-radius: 50%; background: #d6cfc2; }
.shell-title { font-size: 0.84rem; font-weight: 600; color: var(--ink-muted); }

.mode-toggle {
  display: inline-flex; padding: 3px; border-radius: 999px;
  background: #e7e2d8; gap: 2px;
}
.mt-btn {
  padding: 6px 14px; border-radius: 999px; border: none; background: transparent;
  font-size: 0.8rem; font-weight: 600; color: var(--ink-muted); cursor: pointer; transition: all 0.15s;
}
.mt-btn.active { background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); }

.shell-pane { display: none; }
.shell-pane.active { display: block; }
.shell-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 410px; }
.shell-input { padding: 36px; border-right: 1px solid var(--border-light); display: flex; flex-direction: column; justify-content: center; }
.input-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; color: var(--copper); margin-bottom: 10px; }
.shell-input h3 { font-size: 1.32rem; line-height: 1.25; margin-bottom: 10px; }
.shell-input > p { font-size: 0.93rem; color: var(--ink-muted); margin-bottom: 24px; }

.bid-cards { display: flex; flex-direction: column; gap: 10px; }
.bid-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 15px; border-radius: 10px; background: var(--alabaster); border: 1px solid var(--border-light);
}
.highlight-row { border-color: #e2b878; background: #fffaf0; }
.bid-name { font-size: 0.88rem; font-weight: 700; color: var(--ink); }
.bid-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tag { font-size: 0.74rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.tag.ok { background: #e6f6ef; color: #0b6e4b; }
.tag.warn { background: #fef3c7; color: #92400e; }
.tag.bad { background: #fee2e2; color: #991b1b; }

.doc-stack { display: flex; flex-direction: column; gap: 10px; }
.doc-item {
  padding: 14px 16px; border-radius: 10px; background: var(--alabaster); border: 1px solid var(--border-light);
}
.doc-head { display: flex; justify-content: space-between; font-size: 0.86rem; margin-bottom: 4px; }
.doc-head span { font-size: 0.76rem; color: var(--ink-soft); font-weight: 600; }
.doc-meta { font-size: 0.84rem; color: var(--ink-muted); }
.txt-bad { color: var(--crimson); font-weight: 600; }
.txt-warn { color: #b45309; font-weight: 600; }

.clean-controls { display: flex; flex-direction: column; gap: 22px; }
.ctrl-group { display: flex; flex-direction: column; gap: 8px; }
.ctrl-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.88rem; color: var(--ink-muted); }
.ctrl-top strong { color: var(--ink); font-size: 0.96rem; }
input[type="range"] { width: 100%; accent-color: var(--copper); cursor: pointer; }
.ctrl-scale { display: flex; justify-content: space-between; font-size: 0.74rem; color: var(--ink-soft); }

.pill-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ps-btn {
  padding: 10px 8px; border-radius: 9px; font-size: 0.8rem; font-weight: 600;
  border: 1px solid var(--border-light); background: var(--alabaster); color: var(--ink-muted); cursor: pointer; transition: all 0.15s;
}
.ps-btn.active { background: var(--obsidian); color: #fff; border-color: var(--obsidian); }

/* Right Output Panel */
.shell-output {
  padding: 36px; background: var(--obsidian); color: #f8fafc;
  display: flex; flex-direction: column; justify-content: center; gap: 16px;
}
.out-card {
  padding: 24px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}
.out-card.ok { border-color: rgba(52, 211, 153, 0.36); background: rgba(16, 185, 129, 0.07); }
.out-card.bad { border-color: rgba(248, 113, 113, 0.4); background: rgba(239, 68, 68, 0.08); }
.out-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.out-kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #cbd5e1; }
.out-pill { font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.out-pill.ok { background: rgba(52, 211, 153, 0.2); color: #6ee7b7; }
.out-pill.bad { background: rgba(248, 113, 113, 0.22); color: #fca5a5; }
.out-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.out-list li strong { display: block; font-size: 0.94rem; color: #fff; margin-bottom: 2px; }
.out-list li span { display: block; font-size: 0.84rem; color: #cbd5e1; }
.out-foot {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem; color: #e2e8f0;
}

/* Chapter 3: Two Engines */
.engines-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.engine-card {
  border-radius: 18px; padding: 40px;
  border: 1px solid var(--border-light); background: #fff;
  display: flex; flex-direction: column; gap: 14px;
}
.engine-lab, .engine-lab-dark {
  background: var(--obsidian-card); color: #fff; border-color: rgba(255, 255, 255, 0.14);
}
.engine-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; color: var(--copper); }
.engine-lab .engine-tag, .engine-lab-dark .engine-tag { color: var(--copper-bright); }
.engine-card h3 { font-size: 1.7rem; letter-spacing: -0.02em; color: var(--ink); }
.engine-lab h3, .engine-lab-dark h3 { color: #fff; }
.engine-desc { font-size: 0.98rem; color: var(--ink-muted); margin-bottom: 10px; }
.engine-lab .engine-desc, .engine-lab-dark .engine-desc { color: #9ca3af; }
.workflow-list { display: flex; flex-direction: column; gap: 18px; padding-top: 18px; border-top: 1px solid var(--border-light); }
.engine-lab .workflow-list, .engine-lab-dark .workflow-list { border-top-color: rgba(255, 255, 255, 0.12); }
.wf-item strong { display: block; font-size: 0.98rem; margin-bottom: 3px; color: var(--ink); }
.engine-lab .wf-item strong, .engine-lab-dark .wf-item strong { color: #fff; }
.wf-item span { display: block; font-size: 0.88rem; color: var(--ink-muted); }
.engine-lab .wf-item span, .engine-lab-dark .wf-item span { color: #cbd5e1; }

/* Chapter 1: Benchmarks (Alabaster High-Contrast Cards) */
.gap-layout { display: grid; grid-template-columns: 0.88fr 1.12fr; gap: 60px; align-items: start; }
.gap-intro h2 { color: var(--ink); }
.gap-intro h2 em { color: var(--copper); }
.gap-sub-light { font-size: 1.04rem; color: var(--ink-muted); margin-bottom: 28px; }

.gap-bars { display: flex; flex-direction: column; gap: 18px; }
.bar-card-light {
  background: #fff; border: 1px solid var(--border-light);
  border-radius: 16px; padding: 24px 28px;
  box-shadow: 0 12px 32px rgba(17, 21, 29, 0.04);
}
.bar-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.bar-cat-light { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; color: var(--copper); margin-bottom: 4px; }
.bar-head h3 { font-size: 1.12rem; color: var(--ink); }
.bar-delta-light {
  font-size: 0.74rem; font-weight: 700; padding: 4px 11px; border-radius: 999px;
  background: var(--alabaster); border: 1px solid var(--border-light); color: var(--ink); white-space: nowrap;
}
.bar-row { display: grid; grid-template-columns: 190px 1fr 64px; gap: 14px; align-items: center; margin-bottom: 10px; }
.bar-lbl-light { font-size: 0.82rem; font-weight: 500; color: var(--ink-muted); }
.bar-track-light { height: 10px; border-radius: 999px; background: #ede9e0; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; }
.fill-slate { background: #94a3b8; }
.fill-emerald-deep { background: var(--emerald); }
.fill-copper { background: var(--copper); }
.bar-val-light { font-size: 0.9rem; font-weight: 700; text-align: right; }
.dim-light { color: #64748b; }
.emerald-deep { color: var(--emerald); }
.copper { color: var(--copper); }
.bar-note-light { font-size: 0.78rem; color: var(--ink-soft); margin-top: 8px; }
.gap-disclosure-light {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border-light);
  font-size: 0.8rem; color: var(--ink-soft); max-width: 780px;
}

/* Chapter 5: Trust Strip */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.trust-num { font-size: 0.76rem; font-weight: 700; color: var(--copper); letter-spacing: 0.1em; margin-bottom: 10px; }
.trust-item h3 { font-size: 1.15rem; margin-bottom: 10px; }
.trust-item p { font-size: 0.94rem; color: var(--ink-muted); }

/* Chapter 6: ROI & Dual Contact */
.partner-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
.roi-sliders { display: flex; flex-direction: column; gap: 22px; margin-bottom: 28px; }
.roi-output {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  padding: 24px; border-radius: 16px; background: #fff; border: 1px solid var(--border-light);
}
.rs-label { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 4px; }
.rs-val { font-size: 1.45rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.rs-val.accent { color: var(--emerald); }
.roi-footnote { font-size: 0.78rem; color: var(--ink-soft); margin-top: 12px; }

.contact-card {
  background: #fff; border: 1px solid var(--border-light);
  border-radius: 20px; padding: 34px;
  box-shadow: 0 24px 56px rgba(17, 21, 29, 0.06);
}
.audience-tabs {
  display: grid; grid-template-columns: 1fr 1fr; padding: 4px;
  background: var(--alabaster); border-radius: 12px; border: 1px solid var(--border-light);
  margin-bottom: 24px;
}
.aud-btn {
  padding: 10px 12px; border-radius: 9px; border: none; background: transparent;
  font-size: 0.84rem; font-weight: 600; color: var(--ink-muted); cursor: pointer; transition: all 0.15s;
}
.aud-btn.active { background: var(--obsidian); color: #fff; }
.contact-card h3 { font-size: 1.45rem; margin-bottom: 8px; }
.contact-sub { font-size: 0.92rem; color: var(--ink-muted); margin-bottom: 18px; }
.contact-points { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; font-size: 0.88rem; color: var(--ink); }
.contact-points li::before { content: "✓  "; color: var(--emerald); font-weight: 700; }

.contact-form { display: flex; flex-direction: column; gap: 11px; }
.contact-form input {
  padding: 13px 16px; border-radius: 10px; border: 1px solid var(--border-light);
  background: var(--alabaster); font-size: 0.92rem; font-family: var(--font-sans); color: var(--ink);
}
.contact-form input:focus { outline: none; border-color: var(--obsidian); background: #fff; }
.form-msg { font-size: 0.84rem; font-weight: 600; color: var(--emerald); min-height: 20px; text-align: center; }

/* Footer */
.footer { background: var(--white); border-top: 1px solid var(--border-light); padding: 34px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-note { font-size: 0.84rem; color: var(--ink-soft); }

/* Methodology Modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(11, 15, 23, 0.72); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal-backdrop[hidden] { display: none; }
.modal-dialog {
  width: 100%; max-width: 820px; max-height: 92vh; overflow-y: auto;
  background: #fff; border-radius: 20px; padding: 26px 32px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
}
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 12px; }
.modal-head h3 { font-size: 1.4rem; }
.modal-close {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-light);
  background: var(--alabaster); cursor: pointer; font-size: 0.95rem;
}
.modal-intro { font-size: 0.88rem; color: var(--ink-muted); margin-bottom: 14px; }
.modal-table-wrap { overflow-x: auto; margin-bottom: 18px; }
.modal-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.modal-table th, .modal-table td { padding: 9px 11px; border-bottom: 1px solid var(--border-light); text-align: left; }
.modal-table th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.scope-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sp-box { padding: 14px 16px; border-radius: 12px; background: var(--alabaster); border: 1px solid var(--border-light); }
.sp-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 8px; }
.sp-label.ok { color: var(--emerald); }
.sp-label.no { color: var(--crimson); }
.sp-box ul { padding-left: 18px; font-size: 0.82rem; color: var(--ink-muted); display: flex; flex-direction: column; gap: 5px; }

@media (max-width: 960px) {
  .split-editorial, .shell-grid, .engines-grid, .gap-layout, .trust-grid, .partner-grid, .preview-tabs, .hero-metrics, .scope-pair {
    grid-template-columns: 1fr;
  }
  .shell-input { border-right: none; border-bottom: 1px solid var(--border-light); }
  .bar-row { grid-template-columns: 130px 1fr 56px; }
  .nav-links { display: none; }
  .hero { min-height: auto; padding: 120px 0 56px; }
}
