/* ExposureRate GEO — High-Ticket Executive Engineering Design System */
:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --navy: #0b132b;
  --navy-mid: #162244;
  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-500: #64748b;
  --line: #e2e8f0;
  --primary: #1d4ed8;
  --primary-bright: #2563eb;
  --primary-dark: #1e40af;
  --primary-soft: #eff6ff;
  --primary-border: #bfdbfe;
  --gold: #b48a3e;
  --gold-bright: #d97706;
  --gold-soft: #fef9c3;
  --emerald: #047857;
  --emerald-bg: #ecfdf5;
  --danger: #b91c1c;
  --danger-bg: #fef2f2;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  --shadow-float: 0 20px 45px -10px rgba(9, 17, 36, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink-700);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* Top Utility Bar */
.top-bar {
  background: #070d1f;
  color: #cbd5e1;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 8px 0;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.top-bar strong { color: #f8fafc; }
.top-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dot-live {
  width: 8px; height: 8px; border-radius: 50%;
  background: #10b981; display: inline-block;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.22);
}

/* Header & Navigation */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 14px;
}
.brand-link {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
  color: var(--ink-900); text-decoration: none; white-space: nowrap;
}
.brand-link:hover { text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
  color: #fff; font-weight: 800; font-size: 16px;
  display: grid; place-items: center;
  border: 1px solid rgba(180, 138, 62, 0.45);
}
.brand-meta strong { display: block; font-size: 15.5px; line-height: 1.2; color: var(--ink-900); white-space: nowrap; }
.brand-meta small { display: block; font-size: 11px; color: var(--ink-500); letter-spacing: 0.01em; white-space: nowrap; }

.nav-main { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav-link {
  padding: 7px 10px; border-radius: 8px; font-size: 13.5px; font-weight: 600;
  color: var(--ink-700); transition: background 0.15s, color 0.15s; white-space: nowrap;
}
.nav-link:hover, .nav-link.active { background: #eff6ff; color: var(--primary); text-decoration: none; }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; right: 0; min-width: 210px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.16); padding: 6px; z-index: 60;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 8px 12px; border-radius: 7px; font-size: 13px;
  font-weight: 600; color: var(--ink-700); white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: #eff6ff; color: var(--primary); text-decoration: none; }

.lang-switch {
  display: flex; align-items: center; gap: 3px; flex-shrink: 0;
  background: var(--surface-alt); padding: 4px; border-radius: 8px; white-space: nowrap;
}
.lang-btn {
  padding: 4px 8px; font-size: 12px; font-weight: 600; border-radius: 6px;
  color: var(--ink-700); white-space: nowrap;
}
.lang-btn.active { background: var(--navy); color: #fff; text-decoration: none; }

@media (max-width: 1080px) {
  .header-inner { flex-wrap: wrap; padding: 10px 0; }
  .nav-main { flex-wrap: wrap; }
}

/* Hero Dual-Column */
.hero {
  background: radial-gradient(circle at 80% 20%, #1e3a8a 0%, var(--navy) 58%, #070d1f 100%);
  color: #fff;
  padding: 52px 0 48px;
}
.hero-split {
  display: grid; grid-template-columns: 1.35fr 0.95fr; gap: 28px; align-items: center;
}
@media (max-width: 920px) { .hero-split { grid-template-columns: 1fr; } }
.hero-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(180, 138, 62, 0.35);
  border-radius: 14px; padding: 22px;
  backdrop-filter: blur(8px);
}
.hero-panel h3 { margin: 0 0 12px; font-size: 15px; color: #fde68a; letter-spacing: 0.02em; }
.hero-stat-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 13.5px;
}
.hero-stat-row:last-child { border-bottom: none; }
.hero-stat-row span { color: #cbd5e1; }
.hero-stat-row strong { color: #fff; font-size: 14.5px; }
.hero-eyebrow {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: rgba(180, 138, 62, 0.18); border: 1px solid rgba(180, 138, 62, 0.5);
  color: #fde68a; font-size: 12.5px; font-weight: 600; margin-bottom: 14px;
}
.hero h1 {
  margin: 0 0 14px; font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.2; font-weight: 800; color: #fff;
}
.hero-lead {
  font-size: 17px; color: #cbd5e1; max-width: 820px; margin: 0 0 24px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-metric strong {
  display: block;
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}
.hero-metric span {
  display: block;
  font-size: 12px;
  color: #cbd5e1;
  margin-top: 4px;
}
@media (max-width: 720px) {
  .hero-metrics-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Hero Right Browser Showcase Mockup */
.browser-mockup {
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(6, 12, 26, 0.45);
}
.browser-bar {
  background: #1e293b;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.browser-dots { display: flex; gap: 6px; flex-shrink: 0; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.browser-dots i:nth-child(1) { background: #ef4444; }
.browser-dots i:nth-child(2) { background: #f59e0b; }
.browser-dots i:nth-child(3) { background: #10b981; }
.browser-url {
  background: rgba(15, 23, 42, 0.78);
  color: #cbd5e1;
  font-size: 11.5px;
  padding: 3px 12px;
  border-radius: 999px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-photo-wrap {
  position: relative;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background: #070d1f;
}
.browser-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.browser-caption-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 10px;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 13, 31, 0.92) 70%);
  color: #f8fafc;
  font-size: 12.5px;
  font-weight: 600;
}
.browser-mini-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px 14px;
  background: #0b132b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.browser-mini-facts > div {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 10px;
}
.browser-mini-facts strong {
  display: block;
  font-size: 12.5px;
  color: #fde68a;
}
.browser-mini-facts span {
  display: block;
  font-size: 11.5px;
  color: #cbd5e1;
  margin-top: 2px;
}
.ai-pills-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 14px;
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ai-mini-tag {
  font-size: 11.5px;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(37, 99, 235, 0.22);
  color: #bfdbfe;
  font-weight: 600;
}

/* Entity Summary Verification Card */
.entity-summary-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: -26px auto 28px;
  box-shadow: var(--shadow-float);
  position: relative;
  z-index: 20;
}
.entity-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}
.entity-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 999px;
}
.entity-summary-box p {
  font-size: 15px;
  color: var(--ink-900);
  line-height: 1.78;
  margin: 0;
}
.entity-meta-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--surface-alt);
  font-size: 13px;
  color: var(--ink-500);
}
.entity-meta-strip strong { color: var(--ink-900); }
@media (max-width: 920px) {
  .entity-summary-box { margin-top: 20px; }
  .entity-meta-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .entity-meta-strip { grid-template-columns: 1fr; }
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 20px; border-radius: 9px; font-weight: 600; font-size: 14.5px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { opacity: 0.92; }
.btn-outline-light { border-color: rgba(255,255,255,0.35); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }
.btn-outline { border-color: var(--line); color: var(--ink-900); background: #fff; }

/* Sections & Cards */
.section { padding: 48px 0; }
.section-tight { padding: 30px 0; }
.section-head { margin-bottom: 24px; }
.section-kicker {
  display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--gold); margin-bottom: 6px;
}
.section-head h2 { margin: 0 0 8px; font-size: clamp(22px, 2.5vw, 29px); color: var(--ink-900); line-height: 1.25; }
.section-head p { margin: 0; color: var(--ink-500); max-width: 780px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -6px rgba(15, 23, 42, 0.1);
  border-color: #cbd5e1;
}
.card-highlight { border-top: 4px solid var(--primary-bright); }
.card-gold {
  border: 1.5px solid #fcd34d;
  border-top: 4px solid var(--gold-bright);
  background: linear-gradient(180deg, #fffdf7 0%, #ffffff 38%);
}
.card h3 { margin: 0 0 8px; font-size: 18px; color: var(--ink-900); }

/* Proof Media Grid & Highlight Bar */
.proof-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 22px;
}
.proof-media-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.proof-media-imgwrap {
  background: #0f172a;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.proof-media-imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.proof-media-imgwrap.contain-mode { background: #f1f5f9; }
.proof-media-imgwrap.contain-mode img { object-fit: contain; }
.proof-media-body { padding: 16px 18px; flex: 1; }
.proof-media-body h3 { font-size: 16px; font-weight: 750; color: var(--ink-900); margin: 0 0 6px; }
.proof-media-body p { font-size: 13.5px; color: var(--ink-500); line-height: 1.6; margin: 0; }
@media (max-width: 860px) {
  .proof-media-grid { grid-template-columns: 1fr; }
}

.proof-highlight-bar {
  background: linear-gradient(120deg, #eff6ff 0%, #f8fafc 100%);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 20px;
  align-items: center;
  margin: 24px 0;
}
.proof-stat-box {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary-bright);
  border-radius: 12px;
  padding: 16px 18px;
}
.proof-stat-box strong {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.15;
}
.proof-stat-box span {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-900);
  margin-top: 6px;
}
.proof-stat-box small {
  display: block;
  font-size: 12px;
  color: var(--ink-500);
  margin-top: 3px;
}
@media (max-width: 900px) {
  .proof-highlight-bar { grid-template-columns: 1fr; }
}

/* Dark Contrast Authority Band & Team Grid */
.section-dark-band {
  background: linear-gradient(135deg, #091124 0%, #132242 100%);
  color: #e2e8f0;
  padding: 56px 0;
  margin: 44px 0;
}
.section-dark-band .section-head h2 { color: #ffffff; }
.section-dark-band .section-head p { color: #cbd5e1; }
.dark-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 20px;
}
.dark-card h3 { color: #ffffff; font-size: 16.5px; margin: 0 0 6px; }
.dark-card .dark-role {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #fde68a;
  margin-bottom: 8px;
}
.dark-card p { font-size: 13.5px; color: #cbd5e1; margin: 0; line-height: 1.65; }
.founder-showcase {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 26px;
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(180, 138, 62, 0.35);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 22px;
}
.founder-photo-wrap {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.founder-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.team-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 960px) {
  .founder-showcase { grid-template-columns: 1fr; }
  .team-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .team-grid-4 { grid-template-columns: 1fr; }
}
.pill {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; background: #eff6ff; color: var(--primary); margin-bottom: 10px;
}
.pill-gold { background: #fef3c7; color: #92400e; }
.pill-green { background: var(--emerald-bg); color: var(--emerald); }

/* GEO Answer-First Card */
.answer-first {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #cbd5e1; border-left: 5px solid var(--primary);
  border-radius: var(--radius); padding: 20px 22px; margin: 22px 0;
}
.answer-first-label {
  font-size: 12px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--primary); margin-bottom: 6px;
}
.answer-first p { margin: 0; color: var(--ink-900); font-size: 15.5px; font-weight: 500; }

/* Live Proof Cockpit */
.cockpit {
  background: var(--navy); color: #fff; border-radius: 16px;
  padding: 26px; border: 1px solid rgba(180, 138, 62, 0.35);
  box-shadow: 0 20px 45px -15px rgba(11, 19, 43, 0.35);
}
.cockpit-head {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; margin-bottom: 18px;
}
.cockpit-head h2, .cockpit-head h3 { margin: 0; color: #fff; }
.kpi-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; padding: 15px;
}
.kpi-label { font-size: 12px; color: #94a3b8; display: block; margin-bottom: 4px; }
.kpi-val { font-size: 26px; font-weight: 800; color: #fff; line-height: 1.1; }
.kpi-sub { font-size: 12px; color: #34d399; margin-top: 4px; display: block; }

/* Tables */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow);
}
table.geo-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 680px; }
table.geo-table caption {
  text-align: left; font-size: 14px; font-weight: 800; color: var(--ink-900);
  padding: 14px 18px; background: #fff; border-bottom: 1px solid var(--line);
}
table.geo-table th, table.geo-table td {
  padding: 13px 16px; border-bottom: 1px solid #eef2f6; text-align: left; vertical-align: top;
}
table.geo-table th {
  background: #0f172a; color: #f8fafc; font-weight: 700; white-space: nowrap; font-size: 13.5px;
}
table.geo-table tbody tr:nth-child(even) { background: #fafcff; }
table.geo-table tbody tr:hover { background: #f0f7ff; }
table.geo-table tr:last-child td { border-bottom: none; }

/* Boundaries */
.boundary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .boundary-grid { grid-template-columns: 1fr; } }
.boundary-yes {
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  border: 1px solid #bbf7d0; border-radius: var(--radius); padding: 24px;
}
.boundary-no {
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
  border: 1px solid #fde68a; border-radius: var(--radius); padding: 24px;
}
.boundary-yes h3 { color: #166534; margin-top: 0; }
.boundary-no h3 { color: #92400e; margin-top: 0; }
.bullet-list { list-style: none; margin: 10px 0 0; padding: 0; }
.bullet-list li {
  position: relative; padding-left: 22px; margin-bottom: 9px; font-size: 14px; line-height: 1.6;
}
.bullet-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--emerald); font-weight: 900;
}
.boundary-no .bullet-list li::before { content: "✕"; color: #d97706; }
.clean-list { margin: 0; padding-left: 18px; }
.clean-list li { margin-bottom: 7px; }

/* FAQ Stack */
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 20px; margin-bottom: 12px;
}
.faq-item h3 { margin: 0 0 6px; font-size: 16.5px; color: var(--ink-900); }
.faq-item p { margin: 0; font-size: 14.5px; }

/* Breadcrumb */
.breadcrumb { font-size: 13px; color: var(--ink-500); padding: 14px 0 0; }
.breadcrumb a { color: var(--ink-500); }

/* Media Proof */
.media-card { overflow: hidden; padding: 0; }
.media-card img { width: 100%; height: 220px; object-fit: cover; border-bottom: 1px solid var(--line); }
.media-card-body { padding: 18px; }

/* RFQ Form */
.rfq-box {
  background: var(--navy); color: #fff; border-radius: 16px;
  padding: 32px; border: 1px solid rgba(180, 138, 62, 0.4);
}
.rfq-box h2 { color: #fff; margin-top: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 680px) { .form-grid { grid-template-columns: 1fr; } }
.form-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: #e2e8f0; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid #cbd5e1;
  font-size: 14px; background: #fff; color: var(--ink-900);
}
.rfq-light label { color: var(--ink-900); }
.alert-ok {
  background: var(--emerald-bg); color: var(--emerald); border: 1px solid #6ee7b7;
  padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-weight: 600;
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* Tool Workspace & Live Audit Workbench */
.tool-output {
  background: #0f172a; color: #e2e8f0; padding: 16px; border-radius: 10px;
  font-size: 13px; overflow-x: auto; white-space: pre-wrap; min-height: 120px;
}
.hero-audit-box {
  background: rgba(15, 23, 42, 0.86);
  border: 1px solid rgba(180, 138, 62, 0.55);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 50px rgba(6, 12, 26, 0.48);
}
.hero-audit-box h2, .hero-audit-box h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 19px;
}
.hero-audit-box p {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: #cbd5e1;
}
.hero-audit-box label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #fde68a;
  margin-bottom: 6px;
}
.hero-audit-box input, .hero-audit-box select {
  width: 100%;
  padding: 11px 13px;
  border-radius: 9px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #070d1f;
  color: #ffffff;
  font-size: 14px;
}
.audit-report-wrap {
  background: #ffffff;
  color: var(--ink-700);
  border: 1px solid var(--primary-border);
  border-radius: 14px;
  padding: 20px;
  margin-top: 16px;
  box-shadow: var(--shadow-float);
}
.audit-score-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.audit-score-badge {
  color: #ffffff;
  font-size: 28px;
  font-weight: 900;
  padding: 10px 18px;
  border-radius: 12px;
  line-height: 1;
}
.audit-score-badge span { font-size: 14px; font-weight: 600; opacity: 0.88; }
.audit-dim-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}
@media (max-width: 820px) {
  .audit-dim-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.audit-dim-card {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 12px;
}
.audit-dim-card span { display: block; font-size: 11.5px; color: var(--ink-500); font-weight: 600; }
.audit-dim-card strong { display: block; font-size: 16px; color: var(--ink-900); margin-top: 2px; }
.audit-fix-list {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 12px;
}
.audit-fix-list h4 { margin: 0 0 8px; color: #92400e; font-size: 14.5px; }
.audit-fix-list ul { margin: 0; padding-left: 18px; font-size: 13.5px; }
.audit-fix-list li { margin-bottom: 6px; }
.badge-pass {
  display: inline-block; padding: 2px 8px; border-radius: 6px;
  background: var(--emerald-bg); color: var(--emerald); font-size: 12px; font-weight: 700;
}
.badge-fail {
  display: inline-block; padding: 2px 8px; border-radius: 6px;
  background: var(--danger-bg); color: var(--danger); font-size: 12px; font-weight: 700;
}

/* Source Reference Page Blocks (5,000+ Char Authority Docs) */
.spec-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 16px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--ink-700);
}
.code-ref-box {
  background: #0b132b;
  border: 1px solid #1e3a8a;
  border-radius: 12px;
  overflow: hidden;
  margin: 16px 0 28px;
}
.code-ref-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #111f3d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fde68a;
  font-size: 13.5px;
  font-weight: 700;
}
.code-ref-box pre {
  margin: 0;
  padding: 16px;
  color: #e2e8f0;
  font-size: 12.8px;
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre-wrap;
}
.cite-card {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border: 1px solid var(--primary-border);
  border-radius: 12px;
  padding: 18px 20px;
  margin-top: 28px;
}
.cite-card h3 { margin: 0 0 8px; font-size: 16px; color: var(--ink-900); }
.cite-card pre {
  margin: 8px 0 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  font-size: 12.5px;
  color: var(--ink-700);
  white-space: pre-wrap;
}

/* Footer */
.site-footer {
  background: #070d1f; color: #94a3b8; padding: 44px 0 28px; margin-top: 48px;
  font-size: 13.5px;
}
.site-footer h4 { color: #f8fafc; margin: 0 0 10px; font-size: 14.5px; }
.site-footer a { color: #cbd5e1; }
.footer-bottom {
  margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px;
}
