/* ==========================================================================
   DEPOSITION INTELLIGENCE PLATFORM — Design System
   Palette: #0A1F3D #1A3A5C #C5A572 #E8D7B8 #2B2B2B #5A6C7D #E8ECEF #F8F9FA
   Dashboard states: #2D6A4F #C77400
   Type: Crimson Pro (display) + Inter (body) via Google Fonts
   ========================================================================== */

:root {
  --navy-deep: #0A1F3D;
  --navy-mid: #1A3A5C;
  --gold: #C5A572;
  --gold-light: #E8D7B8;
  --charcoal: #2B2B2B;
  --slate: #5A6C7D;
  --fog: #E8ECEF;
  --snow: #F8F9FA;
  --success: #2D6A4F;
  --warning: #C77400;
  --font-display: 'Crimson Pro', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 4px;
  --maxw: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--snow);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--navy-deep);
}

h2 { font-size: 38px; font-weight: 600; }
h3 { font-size: 24px; font-weight: 600; }

p { margin-bottom: 1em; }

a { color: var(--navy-mid); text-decoration: none; }

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ---------- Section shell + ambient sticky backgrounds ---------- */

.section { padding: 104px 0; position: relative; }

.section.section-odd {
  background-color: var(--navy-deep);
  background-image:
    radial-gradient(ellipse at center, var(--navy-mid) 0%, var(--navy-deep) 70%),
    repeating-linear-gradient(0deg, rgba(197,165,114,0.08) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(197,165,114,0.08) 0 1px, transparent 1px 40px);
  background-attachment: fixed;
  color: var(--fog);
}
.section.section-odd h2, .section.section-odd h3 { color: var(--snow); }
.section.section-odd p { color: var(--fog); }

.section.section-even {
  background-color: var(--snow);
  background-image: repeating-linear-gradient(45deg, rgba(90,108,125,0.04) 0 0.5px, transparent 0.5px 80px);
  background-attachment: fixed;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head p.lead { font-size: 19px; color: var(--slate); }
.section-odd .section-head p.lead { color: var(--fog); }

/* ---------- Signature gold whisker card ---------- */

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--fog);
  border-radius: var(--radius);
  padding: 32px 32px 32px 40px;
}
.section-odd .card { background: var(--navy-mid); border-color: rgba(197,165,114,0.25); }
.section-odd .card p { color: var(--fog); }
.section-odd .card .muted { color: var(--gold-light); }

.card::before { /* vertical whisker, 12px from left edge */
  content: "";
  position: absolute;
  left: 12px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.card::after { /* 60px top L-bracket */
  content: "";
  position: absolute;
  left: 12px;
  top: 16px;
  width: 60px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.card:hover { box-shadow: 0 0 12px rgba(197,165,114,0.4); }
.card, .card:hover { transition: box-shadow 0.3s ease; }

.muted { color: var(--slate); }
.small { font-size: 14px; font-weight: 500; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Scroll-reveal pop ---------- */

.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition: opacity 0.6s cubic-bezier(0.34,1.56,0.64,1),
              transform 0.6s cubic-bezier(0.34,1.56,0.64,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0) scale(1); }

/* ---------- Buttons / CTAs ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 48px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  text-align: center;
}
.btn-primary {
  background: var(--navy-deep);
  border-color: var(--gold);
  color: var(--snow);
}
.btn-primary:hover { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.btn-secondary {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.btn-secondary:hover { background: var(--gold-light); color: var(--navy-deep); }
.btn-tertiary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
  padding: 12px 32px;
}
.btn-tertiary:hover { background: var(--gold-light); }

/* ---------- Site nav ---------- */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,31,61,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(197,165,114,0.3);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding-top: 0; padding-bottom: 0;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--snow);
  letter-spacing: 0.01em;
}
.brand-sub {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  border-left: 1px solid rgba(197,165,114,0.5);
  padding-left: 14px;
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--fog);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 10px 22px;
  color: var(--gold) !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--gold); color: var(--navy-deep) !important; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at center, var(--navy-mid) 0%, var(--navy-deep) 70%);
  background-attachment: fixed;
  padding: 140px 0 90px;
}
#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--snow);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 19px;
  color: var(--fog);
  max-width: 520px;
  margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 44px;
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-trust .stat { font-size: 14px; color: var(--gold-light); font-weight: 500; }
.hero-trust .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--snow);
}

/* ---------- Orb ---------- */

.orb-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}
.hero-orb {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  cursor: pointer;
}
.orb-core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(232,215,184,0.22) 0%, transparent 45%),
    radial-gradient(circle at center, var(--navy-mid) 0%, var(--navy-deep) 78%);
  backdrop-filter: blur(2px);
  box-shadow: 0 0 80px rgba(197,165,114,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.orb-core svg { width: 56px; height: 56px; color: var(--gold-light); opacity: 0.95; }
.orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(197,165,114,0.2);
  animation: orb-pulse 2.8s ease-out infinite;
  z-index: 1;
}
.orb-ring.r2 { animation-delay: 0.93s; }
.orb-ring.r3 { animation-delay: 1.86s; }
@keyframes orb-pulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.45); opacity: 0; }
}
.hero-orb:hover .orb-ring { animation-duration: 1.4s; }
.orb-hint {
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--gold-light);
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
}
.hero-orb:hover ~ .orb-hint, .orb-hint.show { opacity: 1; }

/* ---------- Live activity ticker ---------- */

.ticker-bar {
  background: var(--navy-deep);
  border-top: 1px solid rgba(197,165,114,0.35);
  border-bottom: 1px solid rgba(197,165,114,0.35);
  overflow: hidden;
  position: relative;
  z-index: 3;
}
.ticker-label {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  display: flex;
  align-items: center;
  padding: 0 24px;
  background: var(--navy-deep);
  border-right: 1px solid rgba(197,165,114,0.35);
  z-index: 2;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  gap: 64px;
  padding: 14px 0 14px 260px;
  white-space: nowrap;
  will-change: transform;
}
.ticker-item {
  font-size: 15px;
  color: var(--fog);
}
.ticker-item strong { color: var(--gold); font-weight: 600; }
.ticker-item .ch { color: var(--gold-light); }
.ticker-item .ago { color: var(--slate); font-size: 13px; }

/* ---------- Grids ---------- */

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

/* ---------- Opportunity / stat cards ---------- */

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.big-number {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.card h3 { margin-bottom: 12px; }
.projection-note {
  margin-top: 40px;
  font-size: 14px;
  color: var(--slate);
  border-top: 1px solid var(--fog);
  padding-top: 20px;
  max-width: 760px;
}

/* ---------- 4-layer system ---------- */

.layer-card { text-align: left; }
.layer-num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}
.layer-card ul { list-style: none; margin-top: 16px; }
.layer-card ul li {
  font-size: 15px;
  color: var(--slate);
  padding: 8px 0 8px 22px;
  position: relative;
  border-top: 1px solid var(--fog);
}
.section-odd .layer-card ul li { color: var(--fog); border-top-color: rgba(197,165,114,0.2); }
.layer-card ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: 17px;
  width: 8px; height: 8px;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

/* ---------- Dashboard preview teaser ---------- */

.dash-preview {
  background: var(--snow);
  border: 1px solid var(--fog);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 40px;
}
.metric-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 32px; }
.metric { text-align: left; }
.metric .val {
  font-family: var(--font-body);
  font-size: 32px;
  font-weight: 600;
  color: var(--navy-deep);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.metric .lbl {
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.metric .delta { font-size: 13px; font-weight: 600; color: var(--success); margin-top: 2px; }
.feed-preview {
  border: 1px solid var(--fog);
  border-radius: var(--radius);
  background: #fff;
  max-height: 300px;
  overflow: hidden;
  position: relative;
}
.feed-preview::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 90px;
  background: linear-gradient(transparent, #fff);
}
.feed-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid var(--fog);
  font-size: 15px;
}
.feed-row:last-child { border-bottom: none; }
.badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius);
}
.badge.ok { background: rgba(45,106,79,0.12); color: var(--success); }
.badge.warn { background: rgba(199,116,0,0.12); color: var(--warning); }
.badge.info { background: rgba(26,58,92,0.1); color: var(--navy-mid); }

/* ---------- SMS sequence ---------- */

.sms-step { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start; }
.sms-day {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
}
.sms-day span { display: block; font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--slate); }
.phone-mock {
  background: var(--navy-deep);
  border: 1px solid rgba(197,165,114,0.3);
  border-radius: 18px;
  padding: 20px;
  max-width: 480px;
}
.sms-bubble {
  background: var(--navy-mid);
  border: 1px solid rgba(197,165,114,0.25);
  border-radius: 14px 14px 14px 4px;
  padding: 14px 18px;
  font-size: 15px;
  color: var(--fog);
  line-height: 1.55;
}
.sms-meta { display: flex; gap: 12px; margin-top: 12px; font-size: 13px; color: var(--gold-light); }
.sms-step + .sms-step { margin-top: 32px; }

/* ---------- Voice agent ---------- */

.voice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.transcript {
  background: #fff;
  border: 1px solid var(--fog);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 32px;
}
.transcript-line { margin-bottom: 18px; font-size: 16px; }
.transcript-line .who {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate);
  display: block;
  margin-bottom: 4px;
}
.transcript-line.agent .text { color: var(--navy-deep); }
.transcript-line.agent .text::before { content: "\201C"; color: var(--gold); font-size: 20px; }
.transcript-line.agent .text::after { content: "\201D"; color: var(--gold); font-size: 20px; }
.transcript-outcome {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--fog);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ---------- In-page modals ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,31,61,0.75);
  backdrop-filter: blur(6px);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--snow);
  border-radius: var(--radius);
  border: 1px solid rgba(197,165,114,0.4);
  border-left: 2px solid var(--gold);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 48px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--slate);
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover { color: var(--navy-deep); }
.modal-orb {
  width: 160px; height: 160px;
  margin: 0 auto 24px;
  border-radius: 50%;
  position: relative;
  background: radial-gradient(circle at 35% 30%, rgba(232,215,184,0.25) 0%, transparent 45%),
              radial-gradient(circle at center, var(--navy-mid) 0%, var(--navy-deep) 80%);
  box-shadow: 0 0 50px rgba(197,165,114,0.4);
  display: flex; align-items: center; justify-content: center;
}
.modal-orb svg { width: 40px; height: 40px; color: var(--gold-light); }
.modal-orb .pulse {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(197,165,114,0.3);
  animation: orb-pulse 2.8s ease-out infinite;
}

/* ---------- Journey timeline ---------- */

.journey { position: relative; padding: 40px 0 20px; }
.journey-svg { width: 100%; height: 190px; display: block; overflow: visible; }
.journey-line-bg { stroke: rgba(197,165,114,0.25); stroke-width: 2; fill: none; }
.journey-line { stroke: var(--gold); stroke-width: 2; fill: none; }
.journey-node { cursor: pointer; }
.journey-node circle.dot {
  fill: var(--navy-deep);
  stroke: var(--gold);
  stroke-width: 2;
  transition: transform 0.25s ease;
}
.journey-node:hover circle.dot { fill: var(--gold); }
.journey-node text { font-family: var(--font-body); fill: var(--fog); }
.journey-node .j-day { font-size: 13px; font-weight: 600; fill: var(--gold); letter-spacing: 0.08em; }
.journey-node .j-label { font-size: 13px; fill: var(--fog); }
.journey-node .j-outcome { font-size: 12px; fill: var(--gold-light); }

/* ---------- Tech stack ---------- */

.stack-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--fog); border-radius: var(--radius); overflow: hidden; }
.stack-table th {
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: var(--navy-deep);
  padding: 16px 24px;
}
.stack-table td { padding: 18px 24px; border-top: 1px solid var(--fog); font-size: 15px; vertical-align: top; }
.stack-table td:first-child { font-weight: 600; color: var(--navy-deep); white-space: nowrap; }
.stack-table tr:hover td { background: rgba(197,165,114,0.08); }

/* ---------- 90-day plan ---------- */

.phase { display: grid; grid-template-columns: 140px 1fr; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--fog); }
.phase:last-child { border-bottom: none; }
.phase-days {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}
.phase h3 { margin-bottom: 8px; }
.phase p { color: var(--slate); font-size: 16px; margin-bottom: 0; }
.phase ul { list-style: none; margin-top: 12px; }
.phase ul li { font-size: 15px; color: var(--slate); padding: 6px 0 6px 22px; position: relative; }
.phase ul li::before {
  content: ""; position: absolute; left: 2px; top: 14px;
  width: 8px; height: 8px; border: 2px solid var(--gold); border-radius: 50%;
}

/* ---------- Automations ---------- */

.auto-card .trigger {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}
.auto-arrow {
  text-align: center;
  color: var(--gold);
  font-size: 22px;
  margin: 8px 0 14px;
  line-height: 1;
}

/* ---------- ROI section ---------- */

.roi-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.roi-col { padding: 40px; border-radius: var(--radius); }
.roi-current { background: var(--fog); border: 1px solid var(--fog); }
.roi-platform { background: var(--navy-deep); border: 1px solid var(--gold); }
.roi-platform h3, .roi-platform .roi-val { color: var(--snow); }
.roi-platform .roi-lbl { color: var(--gold-light); }
.roi-col h3 { margin-bottom: 20px; }
.roi-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.08); font-size: 15px; }
.roi-platform .roi-row { border-bottom-color: rgba(197,165,114,0.2); color: var(--fog); }
.roi-val { font-weight: 600; font-variant-numeric: tabular-nums; }
.roi-lbl { color: var(--slate); font-size: 14px; }
.roi-sliders { margin: 40px 0; max-width: 760px; }
.slider-row { margin-bottom: 24px; }
.slider-row label { display: flex; justify-content: space-between; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.slider-row output { color: var(--gold); font-variant-numeric: tabular-nums; }
input[type="range"] {
  width: 100%;
  appearance: none;
  height: 6px;
  background: linear-gradient(to right, var(--gold) 0%, var(--gold) var(--fill,50%), var(--fog) var(--fill,50%), var(--fog) 100%);
  border-radius: 3px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--navy-deep);
  border: 2px solid var(--gold);
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy-deep); border: 2px solid var(--gold); cursor: pointer;
}

/* ---------- Blog cards ---------- */

.blog-card { display: flex; flex-direction: column; }
.blog-card .tag {
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gold); margin-bottom: 12px; display: block;
}
.blog-card h3 { margin-bottom: 10px; }
.blog-card p { color: var(--slate); font-size: 15px; flex: 1; }
.blog-card .read-more { color: var(--navy-mid); font-weight: 600; font-size: 15px; margin-top: 16px; display: inline-block; }
.blog-card .read-more:hover { color: var(--gold); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: var(--fog);
  padding: 72px 0 120px;
  border-top: 1px solid rgba(197,165,114,0.4);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand h4 { font-family: var(--font-display); font-size: 24px; color: var(--snow); margin-bottom: 12px; }
.footer-brand p { color: var(--fog); font-size: 15px; }
.footer-col h5 {
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gold); margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--fog); font-size: 15px; }
.footer-col a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 14px; margin-top: 20px; }
.footer-social a {
  width: 42px; height: 42px;
  border: 1px solid rgba(197,165,114,0.5);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
}
.footer-social a:hover { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.footer-social svg { width: 18px; height: 18px; }
.brilliam-credit {
  display: flex; align-items: center; gap: 20px;
  border-top: 1px solid rgba(197,165,114,0.25);
  padding-top: 32px; margin-top: 8px;
}
.brilliam-credit img { height: 44px; width: auto; }
.brilliam-credit .credit-text { font-size: 14px; color: var(--gold-light); }
.brilliam-credit .credit-text strong { color: var(--snow); font-weight: 600; }
.engine-note { font-size: 13px; color: var(--slate); margin-top: 12px; }
.footer-bottom {
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid rgba(197,165,114,0.2);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 13px; color: var(--slate);
}

/* ---------- Sticky footer CTA bar ---------- */

.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  background: rgba(10,31,61,0.96);
  border-top: 1px solid rgba(197,165,114,0.5);
  backdrop-filter: blur(8px);
  transform: translateY(110%);
  transition: transform 0.4s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-top: 14px; padding-bottom: 14px;
}
.sticky-cta .msg { color: var(--snow); font-family: var(--font-display); font-size: 19px; }
.sticky-cta .msg span { color: var(--gold); }
.sticky-cta .btn { padding: 12px 36px; }

/* ---------- Blog article pages ---------- */

.article { max-width: 780px; margin: 0 auto; padding: 140px 24px 96px; }
.article .eyebrow { margin-bottom: 12px; }
.article h1 { font-size: 44px; font-weight: 700; margin-bottom: 16px; }
.article .byline { color: var(--slate); font-size: 14px; margin-bottom: 36px; }
.article h2 { font-size: 30px; margin: 40px 0 16px; }
.article p, .article li { font-size: 17px; color: var(--charcoal); }
.article ul, .article ol { margin: 0 0 1.2em 1.4em; }
.article li { margin-bottom: 0.5em; }
.article blockquote {
  border-left: 2px solid var(--gold);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy-mid);
}
.blog-index-head { padding: 140px 0 24px; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero { min-height: 0; padding: 110px 0 60px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .orb-stage { min-height: 0; order: -1; }
  .hero-orb { width: 220px; height: 220px; }
  .hero h1 { font-size: 42px; }
  .grid-2, .grid-3, .grid-4, .voice-grid, .roi-cols, .footer-grid { grid-template-columns: 1fr; }
  .stat-grid, .metric-row { grid-template-columns: 1fr 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .sms-step { grid-template-columns: 1fr; }
  .phase { grid-template-columns: 1fr; gap: 8px; }
  .sticky-cta .msg { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb-ring, .modal-orb .pulse { animation: none; }
  .ticker-track { animation: none !important; }
  html { scroll-behavior: auto; }
}
