/* ============================================================
   Khepera AI Technologies — style.css
   Navy + gold "becoming" aesthetic. Cormorant Garamond display,
   Inter Tight body, JetBrains Mono accents. Film-grain texture.
   ============================================================ */

:root {
  --navy-deepest: #060d1a;
  --navy-deep: #0a1426;
  --navy: #0f1c33;
  --navy-light: #162542;
  --gold: #c9a961;
  --gold-bright: #d4b572;
  --gold-deep: #8a7234;
  --gold-glow: rgba(201, 169, 97, 0.15);
  --parchment: #e8dfc9;
  --parchment-dim: #b8b09a;
  --line: rgba(201, 169, 97, 0.18);
  --line-strong: rgba(201, 169, 97, 0.35);

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Inter Tight', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --max: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--navy-deepest);
  color: var(--parchment);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Grain overlay — gives the navy a film texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.78  0 0 0 0 0.66  0 0 0 0 0.38  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

::selection { background: var(--gold); color: var(--navy-deepest); }

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

/* ─────────────────────────── NAV ─────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(6,13,26,0.85), rgba(6,13,26,0.0));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: padding 0.4s ease, background 0.4s ease;
}
.nav.scrolled {
  padding: 1rem var(--gutter);
  background: rgba(6, 13, 26, 0.92);
  border-bottom: 1px solid var(--line);
}
.nav-brand {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-decoration: none;
}
.nav-brand img { width: 28px; height: auto; }
.nav-links {
  display: flex; gap: 2.5rem; align-items: center;
}
.nav-links a {
  color: var(--parchment-dim);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.25s;
  position: relative;
}
.nav-links a:not(.nav-cta):hover { color: var(--gold); }
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute; bottom: -6px; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  border: 1px solid var(--gold);
  padding: 0.65rem 1.4rem;
  color: var(--gold) !important;
  transition: all 0.3s;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--navy-deepest) !important;
}
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle span {
  display: block; width: 24px; height: 1px;
  background: var(--gold); margin: 6px 0;
  transition: transform 0.3s;
}

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-deep);
    padding: 2rem var(--gutter);
    border-bottom: 1px solid var(--line);
    gap: 1.5rem;
  }
}

/* ─────────────────────────── BUTTONS ─────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.btn-primary { background: var(--gold); color: var(--navy-deepest); }
.btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201, 169, 97, 0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--parchment);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-block { width: 100%; }
.btn-arrow { width: 18px; height: 18px; transition: transform 0.3s; }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn:disabled { opacity: 0.55; cursor: wait; transform: none; box-shadow: none; }

.ic-check { width: 18px; height: 18px; color: var(--gold); flex: none; }

/* ─────────────────────────── HERO ─────────────────────────── */
.hero {
  min-height: 92vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9rem var(--gutter) 5rem;
  max-width: var(--max);
  margin: 0 auto;
  z-index: 2;
}
.hero::before {
  content: "";
  position: absolute;
  top: 46%; right: 6%;
  width: 620px; height: 620px;
  transform: translateY(-50%);
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 62%);
  pointer-events: none;
  z-index: -1;
}
.hero-content { max-width: 60rem; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  opacity: 0; animation: fadeUp 0.8s 0.2s ease forwards;
}
.hero-eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--parchment);
  margin-bottom: 2rem;
}
.hero h1 .line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}
.hero h1 .line:nth-child(1) { animation-delay: 0.4s; }
.hero h1 .line:nth-child(2) { animation-delay: 0.6s; }
.hero h1 .line:nth-child(3) { animation-delay: 0.8s; }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 300; }
.hero h1 .accent { color: var(--gold); font-style: italic; }

.hero-lede {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--parchment-dim);
  max-width: 40rem;
  margin-bottom: 2.5rem;
  opacity: 0; animation: fadeUp 1s 1s ease forwards;
}
.hero-lede strong { color: var(--parchment); font-weight: 500; }

.hero-cta-row {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 1s 1.2s ease forwards;
}
.hero-trust {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 0.8rem 2rem;
  margin-top: 2.5rem;
  font-size: 0.86rem;
  color: var(--parchment-dim);
  opacity: 0; animation: fadeUp 1s 1.4s ease forwards;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 0.55rem; }

@media (max-width: 980px) {
  .hero { min-height: auto; padding-top: 8rem; }
}

/* ─────────────────────────── SECTIONS ─────────────────────────── */
section {
  position: relative;
  padding: 7rem var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  z-index: 2;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.eyebrow.centered { justify-content: center; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--parchment);
  margin-bottom: 1.5rem;
  max-width: 28ch;
}
.section-title em { font-style: italic; color: var(--gold); font-weight: 300; }
.section-title.centered { margin-left: auto; margin-right: auto; text-align: center; max-width: 24ch; }

.section-lede {
  font-size: 1.05rem;
  color: var(--parchment-dim);
  max-width: 56ch;
  margin-bottom: 4rem;
  line-height: 1.7;
}
.section-lede.centered { margin-left: auto; margin-right: auto; text-align: center; }

/* ─────────────────────────── STATS ─────────────────────────── */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 4rem var(--gutter);
  max-width: none;
}
.stats-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.5fr;
  gap: 2.5rem;
  align-items: center;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  color: var(--gold-bright);
  line-height: 1;
}
.stat-label {
  display: block; margin-top: 0.6rem;
  font-size: 0.86rem; color: var(--parchment-dim);
  max-width: 22ch;
}
.stat-note {
  border-left: 1px solid var(--line-strong);
  padding-left: 2rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--parchment);
}
.stat-note em { color: var(--gold); font-style: italic; }

@media (max-width: 980px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-note { grid-column: 1 / -1; border-left: none; border-top: 1px solid var(--line-strong); padding: 1.5rem 0 0; }
}
@media (max-width: 560px) { .stats-grid { grid-template-columns: 1fr; } .stat-label { max-width: none; } }

/* ─────────────────────────── PHILOSOPHY ─────────────────────────── */
.philosophy {
  border-bottom: 1px solid var(--line);
  padding: 5.5rem var(--gutter);
}
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}
.philosophy-glyph {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.4;
  position: relative;
  padding-left: 2rem;
}
.philosophy-glyph::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5rem; bottom: 0.5rem;
  width: 1px; background: var(--gold);
}
.philosophy-text { color: var(--parchment-dim); font-size: 1.05rem; line-height: 1.75; }
.philosophy-text p + p { margin-top: 1.2rem; }
.philosophy-text em { color: var(--parchment); font-style: italic; }

@media (max-width: 880px) {
  .philosophy-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ─────────────────────────── SERVICES ─────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}
.service {
  padding: 2.5rem 2.2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.4s;
  overflow: hidden;
}
.service::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.service:hover { background: rgba(201, 169, 97, 0.03); }
.service:hover::before { transform: scaleX(1); }

.service-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  display: block;
}
.service-icon { width: 44px; height: 44px; margin-bottom: 1.5rem; color: var(--gold); }
.service h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--parchment);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.service p { color: var(--parchment-dim); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.5rem; }
.service ul { list-style: none; font-family: var(--font-mono); font-size: 0.78rem; color: var(--parchment-dim); }
.service ul li {
  padding: 0.4rem 0;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 0.6rem;
}
.service ul li::before { content: "›"; color: var(--gold); font-size: 1.1rem; line-height: 1; }

@media (max-width: 1100px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .services-grid { grid-template-columns: 1fr; }
  .service { border-right: none; }
}

/* ─────────────────────────── ARCHITECTURE ─────────────────────────── */
.architecture {
  background: linear-gradient(180deg, var(--navy-deepest) 0%, var(--navy-deep) 100%);
  padding: 7rem var(--gutter);
  max-width: none;
}
.arch-wrapper { max-width: var(--max); margin: 0 auto; }
.arch-canvas {
  position: relative;
  margin-top: 1rem;
  padding: 3rem 2rem;
  border: 1px solid var(--line);
  background: rgba(6, 13, 26, 0.6);
  min-height: 360px;
}
.arch-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
  pointer-events: none;
}
.arch-svg { width: 100%; height: auto; position: relative; display: block; }
.arch-svg text { font-family: var(--font-mono); font-size: 11px; fill: var(--parchment); letter-spacing: 0.05em; }
.arch-svg .arch-label { font-family: var(--font-display); font-size: 16px; font-style: italic; fill: var(--gold); }
.arch-node-group rect { fill: var(--navy); stroke: var(--gold); stroke-width: 1; transition: all 0.3s; }
.arch-node-group:hover rect { fill: var(--navy-light); stroke: var(--gold-bright); }
.arch-link {
  stroke: var(--gold); stroke-width: 1; fill: none;
  opacity: 0.5; stroke-dasharray: 4 4;
  animation: dataflow 3s linear infinite;
}

/* ─────────────────────────── PROCESS ─────────────────────────── */
.process-list { border-top: 1px solid var(--line); }
.process-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 3rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: padding 0.4s, background 0.4s;
}
.process-item:hover {
  padding-left: 1rem;
  background: linear-gradient(90deg, rgba(201,169,97,0.04), transparent 60%);
}
.process-item .num { font-family: var(--font-mono); color: var(--gold); font-size: 0.85rem; letter-spacing: 0.2em; }
.process-item h4 {
  font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 400;
  color: var(--parchment); line-height: 1.2; margin-bottom: 0.6rem;
}
.process-item p { color: var(--parchment-dim); font-size: 0.98rem; max-width: 56ch; }
.process-item .duration {
  font-family: var(--font-mono); font-size: 0.8rem;
  color: var(--gold); letter-spacing: 0.15em; white-space: nowrap;
}
@media (max-width: 720px) {
  .process-item { grid-template-columns: 1fr; gap: 0.7rem; }
  .process-item .duration { margin-top: 0.4rem; }
}

/* ─────────────────────────── WHY ─────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}
.why-card {
  padding: 2.6rem 2.4rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s;
}
.why-card:nth-child(2n) { border-right: none; }
.why-card:hover { background: rgba(201, 169, 97, 0.03); }
.why-icon { width: 40px; height: 40px; color: var(--gold); margin-bottom: 1.3rem; }
.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 500;
  color: var(--parchment); margin-bottom: 0.8rem;
}
.why-card p { color: var(--parchment-dim); font-size: 0.96rem; line-height: 1.7; }
@media (max-width: 720px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-card { border-right: none; }
}

/* ─────────────────────────── PRICING ─────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.price-card {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(15, 28, 51, 0.4);
  padding: 2.6rem 2.2rem;
  display: flex; flex-direction: column;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.price-card.highlight {
  border-color: var(--line-strong);
  background: linear-gradient(165deg, rgba(201,169,97,0.10), rgba(15,28,51,0.4) 60%);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}
.price-badge {
  position: absolute; top: -0.85rem; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy-deepest);
  font-family: var(--font-mono);
  font-size: 0.66rem; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.35rem 1rem; white-space: nowrap;
}
.price-card h3 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; color: var(--parchment); }
.price { margin: 1rem 0 1.6rem; }
.price-amount { display: block; font-family: var(--font-display); font-size: 2.2rem; color: var(--gold-bright); line-height: 1.1; }
.price-unit { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--parchment-dim); text-transform: uppercase; }
.price-card ul { list-style: none; display: grid; gap: 0.7rem; margin-bottom: 2rem; flex: 1; }
.price-card li {
  font-size: 0.9rem; color: var(--parchment-dim);
  padding-left: 1.6rem; position: relative; line-height: 1.5;
}
.price-card li::before {
  content: ""; position: absolute; left: 0; top: 0.45em;
  width: 0.7rem; height: 0.4rem;
  border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg);
}
.pricing-note { margin-top: 2.5rem; text-align: center; color: var(--parchment-dim); font-size: 0.92rem; }
.pricing-note strong { color: var(--gold-bright); }
@media (max-width: 880px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 2rem; }
  .price-card.highlight { order: -1; }
}

/* ─────────────────────────── BEGIN / FORMS ─────────────────────────── */
.begin::before {
  content: "";
  position: absolute;
  top: 30%; left: 50%;
  width: 900px; height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 60%);
  pointer-events: none; z-index: -1;
}
.begin-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: stretch;
}
.panel {
  border: 1px solid var(--line);
  background: rgba(15, 28, 51, 0.45);
  padding: 2.6rem 2.4rem;
}
.panel-title { font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; color: var(--parchment); margin-bottom: 0.4rem; }
.panel-sub { color: var(--parchment-dim); font-size: 0.92rem; margin-bottom: 1.8rem; }

.lead-form { display: grid; gap: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--parchment-dim);
}
.field label span { color: var(--gold); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--parchment);
  background: rgba(6, 13, 26, 0.6);
  border: 1px solid var(--line);
  padding: 0.8rem 0.9rem;
  transition: border-color 0.25s, background 0.25s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(6, 13, 26, 0.85);
}
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: #d98a6a; }

.lead-form .btn { margin-top: 0.5rem; }

.form-status {
  font-size: 0.9rem;
  min-height: 1.2rem;
  text-align: center;
  color: var(--parchment-dim);
}
.form-status.success { color: var(--gold-bright); }
.form-status.error { color: #e2a07f; }

.form-fineprint {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.76rem; color: var(--parchment-dim); opacity: 0.8;
  line-height: 1.4;
}
.form-fineprint svg { width: 15px; height: 15px; color: var(--gold); flex: none; }

.form-success {
  text-align: center;
  padding: 2rem 0;
}
.form-success svg { width: 56px; height: 56px; color: var(--gold); margin: 0 auto 1.2rem; }
.form-success h3 { font-family: var(--font-display); font-size: 1.9rem; color: var(--parchment); margin-bottom: 0.6rem; }
.form-success p { color: var(--parchment-dim); max-width: 34ch; margin: 0 auto; }

/* Booking panel */
.booking-panel { display: flex; flex-direction: column; }
.calendly-inline-widget {
  border: 1px solid var(--line);
  margin-bottom: 1rem;
  background: rgba(6,13,26,0.4);
}
.booking-fallback { margin-bottom: 1rem; }
.booking-alt { font-size: 0.85rem; color: var(--parchment-dim); text-align: center; margin-top: auto; }
.booking-alt a { color: var(--gold); text-decoration: none; }
.booking-alt a:hover { text-decoration: underline; }

@media (max-width: 880px) {
  .begin-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* ─────────────────────────── FAQ ─────────────────────────── */
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 1.6rem 3rem 1.6rem 0;
  font-size: 1.15rem;
  font-family: var(--font-display);
  color: var(--parchment);
  position: relative;
  transition: color 0.25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold); }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 0.4rem; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: 1.6rem; color: var(--gold);
  transition: transform 0.3s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 3rem 1.8rem 0; color: var(--parchment-dim); font-size: 0.98rem; line-height: 1.75; max-width: 80ch; }
.faq-item p strong, .faq-item p em { color: var(--parchment); font-style: normal; }
.faq-item p em { font-style: italic; }

/* ─────────────────────────── FOOTER ─────────────────────────── */
footer {
  padding: 4rem var(--gutter) 2rem;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand img { width: 110px; margin-bottom: 1.2rem; }
.footer-tag { color: var(--parchment-dim); max-width: 34ch; font-size: 0.92rem; line-height: 1.65; }
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a, .footer-col span { color: var(--parchment-dim); text-decoration: none; font-size: 0.92rem; transition: color 0.25s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem; color: var(--parchment-dim); letter-spacing: 0.1em;
}
@media (max-width: 880px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-top { grid-template-columns: 1fr; gap: 2rem; } }

/* ─────────────────────────── ANIMATIONS ─────────────────────────── */
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes dataflow { to { stroke-dashoffset: -16; } }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-eyebrow, .hero h1 .line, .hero-lede, .hero-cta-row, .hero-trust { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
