/* ----------------------------------------------------------- Homepage 5-Wall Motion Pack (Aceternity Cryptgen Standard) */

:root {
  --bg-dark: #020604;
  --bg-card: rgba(8, 18, 12, 0.78);
  --bg-card-hover: rgba(12, 28, 19, 0.9);
  --bg-elevated: #0d1e14;
  --border: rgba(16, 185, 129, 0.18);
  --border-bright: rgba(16, 185, 129, 0.4);
  --text-main: #f0fdf4;
  --text-muted: #86efac;
  --text-dim: #94a3b8;
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --amber: #f59e0b;
  --amber-glow: rgba(245, 158, 11, 0.2);
  --rose: #f43f5e;
  --rose-glow: rgba(244, 63, 94, 0.2);
  --cyan: #06b6d4;
  --purple: #a855f7;
  --mono: 'JetBrains Mono', monospace;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--sans);
  line-height: 1.55;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.12) 0%, transparent 60%),
    linear-gradient(rgba(16, 185, 129, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 36px 36px, 36px 36px;
  background-position: 0 0, -1px -1px, -1px -1px;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 90px;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Telemetry Strip */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(2, 6, 4, 0.96) !important;
  border-bottom: 1px solid var(--border) !important;
}

header.site-header .header-inner {
  background: transparent !important;
}

header.site-header .brand {
  color: var(--text-main) !important;
}

header.site-header nav a {
  color: var(--text-muted) !important;
  background: transparent !important;
}

header.site-header nav a:hover,
header.site-header nav a[aria-current] {
  color: var(--text-main) !important;
}

header.site-header .nav-toggle {
  color: var(--text-main) !important;
  border-color: var(--border) !important;
}

header.site-header .nav-full summary {
  color: var(--text-muted) !important;
}

.telemetry-bar {
  background: rgba(16, 185, 129, 0.06);
  border-bottom: 1px solid rgba(16, 185, 129, 0.1);
  padding: 6px 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.telemetry-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.telemetry-items {
  display: flex;
  gap: 16px;
  align-items: center;
}

.telemetry-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.nav-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-symbol {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.4));
  border: 1px solid var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.brand-text h1 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-text span {
  font-size: 10px;
  font-family: var(--mono);
  color: var(--text-muted);
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--text-main);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  font-family: var(--sans);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background: var(--emerald);
  color: #020604;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
  background: #34d399;
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-bright);
}

/* ---------------- Hero Section (Aceternity Cryptgen Style with Live Vortex) ---------------- */
.hero {
  position: relative;
  padding: 120px 0 60px;
  background: var(--bg-dark);
  overflow: hidden;
  text-align: center;
}

#vortex {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .8;
  pointer-events: none;
}

.gridlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 50% 35%, #000 40%, transparent 85%);
  mask-image: radial-gradient(ellipse 90% 75% at 50% 35%, #000 40%, transparent 85%);
}

.hero .wrap {
  position: relative;
  z-index: 2;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero h2 {
  font-size: clamp(34px, 5.5vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  color: #ffffff;
}

.neon-text {
  background: linear-gradient(135deg, #5cf2b0 20%, #10b981 60%, #059669 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 32px rgba(16, 185, 129, 0.5);
}

.hero-lede {
  max-width: 820px;
  margin: 0 auto 36px;
  font-size: 16px;
  color: #cbd5e1;
  line-height: 1.65;
}

/* Stat Bento Grid */
.stat-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

@media (max-width: 900px) {
  .stat-bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .stat-bento { grid-template-columns: 1fr; }
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  text-align: left;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.bento-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--emerald), transparent);
  opacity: 0.6;
}

.bento-num {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.bento-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.bento-desc {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.45;
}

/* Anchor Nav Rail */
.anchor-rail {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.anchor-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--mono);
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.anchor-btn:hover, .anchor-btn.active {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--emerald);
  color: var(--text-muted);
}

/* Section Titles */
.section-header {
  margin-bottom: 28px;
}

.section-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-dim);
  max-width: 780px;
  line-height: 1.6;
}

/* Dashboard 1: Simulator & Graph */
.dashboard-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  margin-bottom: 64px;
}

.sim-controls {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  align-items: center;
  background: rgba(16, 185, 129, 0.04);
  border: 1px solid rgba(16, 185, 129, 0.14);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 28px;
}

@media (max-width: 800px) {
  .sim-controls { grid-template-columns: 1fr; }
}

.control-group label {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-main);
  margin-bottom: 8px;
}

.control-group input[type="range"] {
  width: 100%;
  accent-color: var(--emerald);
  cursor: pointer;
}

.slider-val {
  color: var(--emerald);
  font-weight: 700;
}

.chart-container {
  position: relative;
  width: 100%;
  margin-bottom: 28px;
  background: rgba(2, 8, 5, 0.8);
  border: 1px solid rgba(16, 185, 129, 0.16);
  border-radius: 8px;
  padding: 20px;
  overflow-x: auto;
}

svg.cost-chart {
  width: 100%;
  height: 380px;
  overflow: visible;
}

.chart-grid line {
  stroke: rgba(255, 255, 255, 0.07);
  stroke-dasharray: 3 3;
}

.chart-axis text {
  fill: #64748b;
  font-family: var(--mono);
  font-size: 10px;
}

.chart-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-swatch {
  width: 12px;
  height: 3px;
  border-radius: 2px;
}

/* Real-time comparison table */
.sim-results-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

@media (max-width: 1100px) {
  .sim-results-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .sim-results-grid { grid-template-columns: 1fr; }
}

.vendor-sim-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.vendor-sim-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.vendor-sim-card .fine {
  color: #cbd5e1;
  font-size: 0.85rem;
  line-height: 1.5;
}

.vendor-sim-card .fine span.fine {
  color: #94a3b8;
}

.vendor-sim-card.best {
  border-color: var(--emerald);
  background: rgba(16, 185, 129, 0.08);
}

.vendor-sim-card.steep {
  border-color: rgba(244, 63, 94, 0.4);
}

.vsim-name {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vsim-model {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.vsim-price {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.vsim-overage {
  font-family: var(--mono);
  font-size: 11px;
  color: #cbd5e1;
}

.vsim-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  font-weight: 600;
}

.badge-clear { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-warning { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-danger { background: rgba(244, 63, 94, 0.15); color: #f87171; border: 1px solid rgba(244, 63, 94, 0.3); }

/* Insight Callout */
.insight-callout {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #fef08a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.insight-callout strong {
  color: #fff;
  font-weight: 700;
}

/* Dashboard 2: 5 Walls Matrix */
.matrix-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.matrix-tab {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 8px 18px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.matrix-tab.active, .matrix-tab:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--emerald);
  color: var(--text-muted);
}

.vendor-audit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}

@media (max-width: 950px) {
  .vendor-audit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .vendor-audit-grid { grid-template-columns: 1fr; }
}

.audit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s;
}

.audit-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
}

.audit-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.audit-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.audit-verified {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-dim);
}

.audit-gates {
  font-size: 12px;
  color: #cbd5e1;
  margin-bottom: 16px;
  min-height: 38px;
}

.wall-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-bottom: 16px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.wall-indicator {
  text-align: center;
  font-family: var(--mono);
  font-size: 9px;
  padding: 4px 2px;
  border-radius: 4px;
  font-weight: 600;
}

.audit-findings {
  font-size: 11px;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.finding-row {
  display: flex;
  gap: 8px;
  line-height: 1.4;
}

.finding-wall {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 10px;
  min-width: 44px;
}

.finding-wall.w-price { color: #38bdf8; }
.finding-wall.w-perm { color: #fbbf24; }
.finding-wall.w-gate { color: #f87171; }
.finding-wall.w-meter { color: #c084fc; }
.finding-wall.w-exit { color: #fdba74; }

.audit-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.audit-source {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--emerald);
  text-decoration: none;
}

.audit-source:hover {
  text-decoration: underline;
}

/* Dashboard 3: 12 Questions Terminal */
.questions-terminal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 64px;
}

.q-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 800px) {
  .q-grid { grid-template-columns: 1fr; }
}

.q-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(16, 185, 129, 0.1);
  border-radius: 8px;
  padding: 16px;
  transition: all 0.2s;
  cursor: pointer;
}

.q-card:hover, .q-card.active {
  border-color: var(--emerald);
  background: rgba(16, 185, 129, 0.05);
}

.q-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.q-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--emerald);
}

.q-tag {
  font-family: var(--mono);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
}

.q-text {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.q-detail {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.q-where {
  color: #94a3b8;
  font-family: var(--mono);
}

.q-example {
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.08);
  padding: 6px 8px;
  border-radius: 4px;
  margin-top: 4px;
}

/* Dashboard 4: Money Gate Calculator */
.money-gate-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 64px;
}

@media (max-width: 850px) {
  .money-gate-box { grid-template-columns: 1fr; }
}

.mg-col h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.mg-numbers-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.mg-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 12px 14px;
}

.mg-item-title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--emerald);
  margin-bottom: 4px;
}

.mg-item-val {
  font-size: 13px;
  color: #e2e8f0;
}

.roi-slider-group {
  margin-bottom: 16px;
}

.roi-slider-group label {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  margin-bottom: 6px;
}

.roi-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.roi-stat-card {
  background: rgba(16, 185, 129, 0.04);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}

.roi-stat-val {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.roi-stat-val.highlight {
  color: #34d399;
}

.roi-stat-lbl {
  font-size: 11px;
  color: var(--text-dim);
}

/* Bento Grid: Real Site Fixes */
.fixes-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}

@media (max-width: 900px) {
  .fixes-bento { grid-template-columns: 1fr; }
}

.fix-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fix-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.fix-category {
  font-family: var(--mono);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--text-muted);
}

.fix-hours {
  font-family: var(--mono);
  font-size: 11px;
  color: #fff;
  font-weight: 600;
}

.fix-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.35;
}

.fix-problem {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 14px;
  line-height: 1.5;
}

.fix-link {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--emerald);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Pricing Watch Ticker */
.pw-ticker-box {
  background: rgba(2, 6, 4, 0.6);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 24px;
  margin-bottom: 64px;
}

.pw-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.pw-title {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 900px) {
  .pw-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .pw-grid { grid-template-columns: 1fr; }
}

.pw-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 11px;
}

.pw-name {
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.pw-meta {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-dim);
  display: flex;
  justify-content: space-between;
}

/* Law Callout & Booking */
.law-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.03));
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  padding: 36px;
  text-align: center;
  margin-bottom: 64px;
  position: relative;
}

.law-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.law-quote {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: #fff;
  max-width: 840px;
  margin: 0 auto 16px;
  line-height: 1.4;
}

.law-quote em {
  color: #34d399;
  font-style: normal;
}

.law-source {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
}

/* Booking Card */
.booking-card {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: 14px;
  padding: 44px;
  text-align: center;
  box-shadow: 0 0 50px rgba(16, 185, 129, 0.1);
  max-width: 840px;
  margin: 0 auto;
}

.booking-card h2 {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.booking-card p {
  color: var(--text-dim);
  font-size: 15px;
  max-width: 620px;
  margin: 0 auto 28px;
}

.booking-guarantee {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: #34d399;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

/* Footer */
footer {
  margin-top: 80px;
  border-top: 1px solid var(--border);
  padding: 40px 0;
  font-size: 12px;
  color: var(--text-dim);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------------- 3-Tier Stoplight Legend & Color Explainer ---------------- */
.stoplight-legend-box {
  background: rgba(4, 12, 8, 0.9);
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.sl-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sl-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}

.sl-traffic-light {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #000;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.sl-lamp {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.sl-lamp.red { background: #f43f5e; box-shadow: 0 0 8px #f43f5e; }
.sl-lamp.amber { background: #f59e0b; box-shadow: 0 0 8px #f59e0b; }
.sl-lamp.green { background: #10b981; box-shadow: 0 0 8px #10b981; }

.sl-caption {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
}

.sl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 850px) {
  .sl-grid { grid-template-columns: 1fr; }
}

.sl-card {
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s;
}

.sl-card:hover {
  transform: translateY(-2px);
}

.sl-card.green-card {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.sl-card.amber-card {
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.sl-card.red-card {
  background: rgba(244, 63, 94, 0.05);
  border: 1px solid rgba(244, 63, 94, 0.35);
}

.sl-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.sl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.sl-dot.green { background: #10b981; box-shadow: 0 0 6px #10b981; }
.sl-dot.amber { background: #f59e0b; box-shadow: 0 0 6px #f59e0b; }
.sl-dot.red { background: #f43f5e; box-shadow: 0 0 6px #f43f5e; }

.sl-card-title {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.green-card .sl-card-title { color: #34d399; }
.amber-card .sl-card-title { color: #fbbf24; }
.red-card .sl-card-title { color: #f87171; }

.sl-card-desc {
  font-size: 12px;
  color: #e2e8f0;
  line-height: 1.5;
  margin-bottom: 10px;
}

.sl-card-desc strong {
  color: #fff;
}

.sl-card-example {
  font-size: 11px;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 8px;
  line-height: 1.45;
}

.sl-card-example strong {
  color: #94a3b8;
  font-family: var(--mono);
}



/* ---------------- 5-Wall Homepage Production Utilities ---------------- */
.swatch-dgf { background: #10b981; }
.swatch-upfirst { background: #f59e0b; }
.swatch-dialzara { background: #06b6d4; }
.swatch-frontdesk { background: #a855f7; }
.swatch-vapi { background: #64748b; }
.swatch-smith { background: #f43f5e; }

.text-cyan { color: #06b6d4; }
.text-purple { color: #c084fc; }
.text-light-slate { color: #cbd5e1; }
.text-soft-red { color: #f87171; }
.font-mono { font-family: var(--mono); }

.wall-lamp { font-size: 8px; }
.audit-verified-fine {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-dim);
}
.term-success-text {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--emerald);
}
.term-note {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 16px;
}
.term-subnote {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  padding-top: 6px;
}
.card-desc-fine {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 20px;
}
.card-desc-sub {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}
.btn-lg {
  font-size: 15px;
  padding: 12px 28px;
}

/* Jordan Hero Callout */
.jordan-hero-card {
  max-width: 680px;
  margin: 0 auto 36px;
  background: rgba(4, 14, 9, 0.85);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(16, 185, 129, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
}

.jordan-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.jordan-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: #a7f3d0;
  letter-spacing: 0.05em;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-dot-anim 1.5s infinite ease-in-out;
}

@keyframes pulse-dot-anim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.jordan-action-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.jordan-phone-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #10b981;
  color: #020604;
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
  transition: all 0.2s;
}

.jordan-phone-card:hover {
  background: #34d399;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
  color: #020604;
}

.jordan-talk-orb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #f0fdf4;
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.jordan-talk-orb:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10b981;
}

.jordan-recording-notice {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0 0 8px;
  line-height: 1.4;
}

.jordan-model-promise {
  font-size: 0.82rem;
  color: #6ee7b7;
  margin: 0;
  line-height: 1.4;
  font-family: var(--mono);
}

.hero-trust-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  font-size: 0.85rem;
  color: #94a3b8;
}

.hero-trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust-list li::before {
  content: '✓';
  color: #10b981;
  font-weight: bold;
}

/* Fix Finder Form in #book */
.fix-finder-form {
  margin-top: 24px;
  text-align: left;
}

.form-row {
  margin-bottom: 16px;
}

.form-row label {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-row input, .form-row textarea {
  width: 100%;
  background: rgba(2, 6, 4, 0.8);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  color: var(--text-main);
  font-family: var(--sans);
  font-size: 14px;
}

.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.hp {
  display: none !important;
}


/* Keep text readable where the dark home theme crosses back to a pale band. */
.band:not(.band-inverse) > .wrap > p { color: var(--ink-2); }
.band:not(.band-inverse) > .wrap > p strong { color: var(--ink); }

@media (max-width: 35rem) {
  .telemetry-items { max-width: 100%; min-width: 0; flex-wrap: wrap; gap: 6px 10px; }
  .telemetry-item { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
}

/* ---------------- WCAG AA contrast repairs (dark pack vs light surfaces) ---------------- */
/* The dark motion pack wraps several light-theme surfaces; keep each surface
   on its own ink so no dark-on-dark or pale-on-cream bleed remains. */

.hero h1 { color: #f0fdf4; }

/* Gradient text fallback + lightened tail stop so the worst-case stop
   still clears 3:1 on the dark hero field. */
.neon-text {
  color: #5cf2b0;
  background-image: linear-gradient(135deg, #5cf2b0 20%, #34d399 60%, #10b981 100%);
}

/* Light cards inside the dark .hero container keep light-theme ink. */
.hero .entity-infobox-wrap { color: var(--ink); }
.hero .exposure-section .exposure-section-title { color: var(--ink); }
.hero .data-floor-wrap .exposure-section-title { color: var(--text-main); }

/* The full-menu dropdown is a light panel under the dark header. */
.nav-full-panel { color: var(--ink); }
header.site-header .nav-full-panel a { color: var(--ink-2) !important; }
header.site-header .nav-full-panel a:hover { color: var(--ink) !important; }
header.site-header .nav-full-panel a.nf-all { color: var(--accent) !important; }
header.site-header .nav-toggle { color: var(--text-main) !important; background: rgba(2, 6, 4, 0.9) !important; }

/* Reviews band is a light surface. */
.band.alt { color: var(--ink); }
.band.alt a { color: var(--brand-2); }

/* Booking card is a dark surface: the light slot chip needs dark ink and
   links on the card need the light-theme inverse link color. */
.booking-card .slot-picked { color: var(--ink); }
.booking-card .fine, .booking-card .fine a { color: #94a3b8; }
.booking-card p a, .booking-card .slot-alt a { color: #9fd4bd; }

/* Jordan demo status bar sits on a dark card. */
.jordan-status-bar .fine { color: #a8bdb2; }

/* Concierge widget is a light panel on every theme. */
#dgf-chat .dgf-chat-panel { color: var(--ink); }

/* Question fan-out sits on the dark band; base-theme near-black heading
   ink must not bleed onto it. */
#questions-answered h2,
#questions-answered h3 { color: #f0fdf4; }
#questions-answered .q-card p { color: #b7cec0; }
