/* =============================================================================
   ImberLab Website v8 — Lab Editorial Aesthetic
   Designed for analytical chemists & QC professionals
   ============================================================================= */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "ss01", "cv11", "cv02";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }

/* ---------- Design Tokens ---------- */
:root {
  /* Brand Colors */
  --paper: #FAF8F3;          /* Off-white background */
  --paper-2: #F2EEE3;        /* Subtle card background */
  --ink: #0F1E2E;            /* Deep navy text */
  --ink-2: #2A3B4F;          /* Secondary text */
  --ink-mute: #6B7689;       /* Muted text */
  --line: #E0DACA;           /* Subtle borders */
  --line-2: #D1C9B5;         /* Stronger borders */
  --lime: #A3E635;           /* Power accent */
  --lime-deep: #84CC16;      /* Hover state */
  --navy-deep: #0A1622;      /* Hero background */
  --navy-card: #162840;      /* Hero card */

  /* Layout */
  --max: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 4px;
  --radius-lg: 12px;

  /* Type Scale */
  --display: clamp(40px, 6.5vw, 76px);
  --h1: clamp(34px, 5vw, 56px);
  --h2: clamp(28px, 3.6vw, 42px);
  --h3: clamp(20px, 2vw, 24px);
  --small: 14px;
  --tiny: 12px;
}

/* ---------- Typography ---------- */
.serif { font-family: 'Fraunces', Georgia, serif; font-feature-settings: "ss01", "ss02"; }
.mono  { font-family: 'JetBrains Mono', ui-monospace, monospace; font-feature-settings: "calt", "ss01"; }

h1, h2, h3 { color: var(--ink); letter-spacing: -0.02em; line-height: 1.05; font-weight: 400; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); letter-spacing: -0.01em; line-height: 1.25; font-weight: 500; }

p { color: var(--ink-2); }
strong { font-weight: 600; color: var(--ink); }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--line-2);
}

/* ---------- Layout Helpers ---------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.divider { height: 1px; background: var(--line); margin: 0; }

/* =============================================================================
   HEADER / NAV
   ============================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 243, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 32px; height: 32px;
  background: var(--ink);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 16px;
  color: white;
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  bottom: 6px; left: 6px; right: 6px;
  height: 2px;
  background: var(--lime);
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-switch {
  display: flex;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.lang-switch a {
  padding: 6px 12px;
  color: var(--ink-mute);
  transition: all .15s;
}
.lang-switch a.active {
  background: var(--ink);
  color: var(--paper);
}
@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform .12s ease, background .15s, color .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--lime);
  color: var(--ink);
}
.btn-primary:hover { background: var(--lime-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover { background: var(--paper-2); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-lg { padding: 18px 28px; font-size: 16px; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* =============================================================================
   HERO
   ============================================================================= */
.hero {
  background: var(--navy-deep);
  color: #E8EDF2;
  padding: clamp(64px, 10vw, 120px) 0 clamp(80px, 12vw, 160px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(163, 230, 53, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-eyebrow {
  color: var(--lime);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--lime);
}
.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: var(--display);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: white;
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: italic;
  color: var(--lime);
  font-weight: 300;
}
.hero-lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: #B7C2D0;
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-cta .btn-ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.18);
}
.hero-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
}
.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7E8C9E;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust span::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--lime);
  border-radius: 50%;
}

/* ---------- Hero Visual (Phone + Data Card) ---------- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
}
.hero-phone {
  width: 280px;
  height: 580px;
  background: var(--navy-card);
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 60px 80px -30px rgba(0, 0, 0, 0.5),
    0 0 0 8px rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
}
.hero-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.data-card {
  position: absolute;
  background: var(--paper);
  color: var(--ink);
  padding: 18px 20px;
  border-radius: 8px;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.4);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  border-left: 3px solid var(--lime);
}
.data-card .label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.data-card .value {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.data-card .meta {
  font-size: 10px;
  color: var(--ink-mute);
  margin-top: 4px;
}
.data-card.tl { top: 30px; left: -10px; }
.data-card.br { bottom: 60px; right: -20px; }
.data-card.tr { top: 130px; right: -30px; }
@media (max-width: 880px) {
  .hero-visual { min-height: 420px; }
  .hero-phone { width: 240px; height: 500px; }
  .data-card.tl { left: 0; }
  .data-card.br { right: 0; }
  .data-card.tr { right: 0; }
}

/* =============================================================================
   STANDARDS BAR
   ============================================================================= */
.standards-bar {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.standards-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.standards-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  white-space: nowrap;
}
.standards-list {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.standards-list span {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -0.005em;
  font-weight: 500;
}

/* =============================================================================
   FEATURES
   ============================================================================= */
.section-head {
  max-width: 720px;
  margin-bottom: 64px;
}
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 {
  font-family: 'Fraunces', serif;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.section-head h2 em {
  font-style: italic;
  color: var(--ink-mute);
  font-weight: 300;
}
.section-head p {
  font-size: 18px;
  line-height: 1.55;
  max-width: 560px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 880px) { .feature-grid { grid-template-columns: 1fr; } }
@media (min-width: 600px) and (max-width: 880px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }

.feature {
  background: var(--paper);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: background .2s;
}
.feature:hover { background: var(--paper-2); }
.feature-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--lime);
  margin-bottom: 6px;
}
.feature-icon svg { width: 18px; height: 18px; }
.feature h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.feature p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
.feature-tag {
  margin-top: auto;
  padding-top: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
}

/* =============================================================================
   USE CASES (horizontal scroll cards)
   ============================================================================= */
.usecases-bg { background: var(--ink); color: #E8EDF2; }
.usecases-bg .eyebrow { color: var(--lime); }
.usecases-bg .eyebrow::before { background: var(--lime); }
.usecases-bg h2 { color: white; }
.usecases-bg h2 em { color: var(--lime); }
.usecases-bg .section-head p { color: #B7C2D0; }

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .usecase-grid { grid-template-columns: 1fr; } }
.usecase {
  background: var(--navy-card);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .2s, transform .2s;
}
.usecase:hover {
  border-color: var(--lime);
  transform: translateY(-4px);
}
.usecase .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--lime);
}
.usecase h3 {
  font-family: 'Fraunces', serif;
  color: white;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.usecase p {
  color: #B7C2D0;
  font-size: 15px;
  line-height: 1.55;
}
.usecase ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.usecase li {
  color: #B7C2D0;
  font-size: 14px;
  padding-left: 16px;
  position: relative;
}
.usecase li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: 700;
}

/* =============================================================================
   SHOWCASE / SCREENSHOTS — Phone-mockup style, matches hero
   ============================================================================= */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 40px);
  padding: 0 clamp(0px, 2vw, 24px);
}
@media (max-width: 880px) {
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .showcase-grid { grid-template-columns: 1fr; padding: 0; }
}
.shot {
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform .3s ease;
}
.shot:hover { transform: translateY(-6px); }
.shot-img {
  aspect-ratio: 9/19;
  background: var(--navy-card);
  border-radius: 28px;
  border: 1px solid rgba(15, 30, 46, 0.08);
  box-shadow:
    0 30px 60px -20px rgba(15, 30, 46, 0.28),
    0 10px 20px -10px rgba(15, 30, 46, 0.12),
    0 0 0 6px rgba(15, 30, 46, 0.03);
  overflow: hidden;
  display: grid;
  place-items: center;
  position: relative;
}
.shot-img::after {
  content: "";
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  z-index: 2;
  pointer-events: none;
}
.shot-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot-meta {
  padding: 0 4px;
}
.shot-meta .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.shot-meta h3 {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
}

/* =============================================================================
   PRICING — Free + Premium comparison
   ============================================================================= */
.pricing-wrap {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pricing-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.pricing-intro .eyebrow { margin-bottom: 20px; justify-content: center; }
.pricing-intro .eyebrow::before { display: none; }
.pricing-intro h2 {
  font-family: 'Fraunces', serif;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.pricing-intro h2 em {
  font-style: italic;
  color: var(--ink-mute);
  font-weight: 300;
}
.pricing-intro p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 820px) { .pricing-grid { grid-template-columns: 1fr; gap: 20px; } }

.price-card {
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.price-card.free {
  border-style: dashed;
}
.price-card.premium {
  border: 2px solid var(--ink);
  box-shadow: 0 20px 40px -20px rgba(15, 30, 46, 0.15);
}
.price-card.premium::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--lime);
}
.price-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--lime);
  color: var(--ink);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.price-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.price-name {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 4px;
}
.price-name em {
  font-style: italic;
  color: var(--ink-mute);
  font-weight: 300;
}
.price-amount {
  font-family: 'Fraunces', serif;
  font-size: 60px;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 18px 0 6px;
}
.price-amount sup {
  font-size: 22px;
  font-weight: 400;
  vertical-align: super;
  color: var(--ink-mute);
}
.price-cycle {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 28px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
}
.price-features {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  flex: 1;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
}
.price-features li::before {
  content: "✓";
  color: var(--lime-deep);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 13px;
  margin-top: 2px;
}
.price-features li.highlight {
  color: var(--ink);
  font-weight: 500;
}
.price-features li.highlight::before {
  color: var(--lime-deep);
}
.price-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.price-cta .btn { width: 100%; }
.price-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--ink-mute);
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.03em;
}

/* =============================================================================
   FAQ
   ============================================================================= */
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color .15s;
}
.faq-q:hover { color: var(--ink-2); }
.faq-toggle {
  width: 32px; height: 32px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: transform .2s, background .15s;
  flex-shrink: 0;
  font-size: 16px;
  color: var(--ink-2);
}
.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  background: var(--ink);
  color: var(--lime);
  border-color: var(--ink);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-item.open .faq-a { max-height: 800px; }
.faq-a-inner {
  padding: 0 0 28px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
  max-width: 720px;
}
.faq-a-inner p + p { margin-top: 12px; }
.faq-a-inner table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
.faq-a-inner th, .faq-a-inner td {
  padding: 10px 14px;
  text-align: left;
  border: 1px solid var(--line);
}
.faq-a-inner th {
  background: var(--paper-2);
  font-weight: 600;
  color: var(--ink);
}

/* =============================================================================
   CTA FOOTER
   ============================================================================= */
.cta-footer {
  background: var(--ink);
  color: white;
  padding: clamp(80px, 10vw, 140px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.cta-footer h2 {
  font-family: 'Fraunces', serif;
  color: white;
  max-width: 720px;
  margin: 0 auto 24px;
  position: relative;
  letter-spacing: -0.025em;
}
.cta-footer h2 em { font-style: italic; color: var(--lime); font-weight: 300; }
.cta-footer p {
  color: #B7C2D0;
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 36px;
  position: relative;
}
.cta-footer .btn-cta { position: relative; }

/* =============================================================================
   FOOTER
   ============================================================================= */
.site-footer {
  background: var(--navy-deep);
  color: #7E8C9E;
  padding: 64px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.footer-brand { color: #B7C2D0; }
.footer-brand .brand { color: white; margin-bottom: 16px; }
.footer-brand .brand-mark { background: var(--lime); color: var(--ink); }
.footer-brand .brand-mark::after { background: var(--ink); }
.footer-brand p { color: #7E8C9E; max-width: 320px; line-height: 1.55; }

.footer-col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: white;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #B7C2D0; transition: color .15s; }
.footer-col a:hover { color: var(--lime); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: #5A6679;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
}

/* =============================================================================
   PRIVACY / DOC PAGES
   ============================================================================= */
.doc-page {
  padding: clamp(56px, 8vw, 100px) 0;
  background: var(--paper);
}
.doc-wrap { max-width: 760px; margin: 0 auto; }
.doc-wrap .eyebrow { margin-bottom: 16px; }
.doc-wrap h1 {
  font-family: 'Fraunces', serif;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.doc-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-mute);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.doc-summary {
  background: var(--paper-2);
  border-left: 3px solid var(--lime);
  padding: 20px 24px;
  margin-bottom: 48px;
  font-size: 16px;
  color: var(--ink-2);
}
.doc-section {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 640px) {
  .doc-section { grid-template-columns: 1fr; gap: 12px; }
}
.doc-section .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.doc-section h2 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}
.doc-section h3 {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 500;
  margin: 20px 0 8px;
  color: var(--ink);
}
.doc-section p { margin-bottom: 12px; line-height: 1.65; }
.doc-section ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--ink-2);
  margin-bottom: 12px;
  line-height: 1.65;
}
.doc-section ul li { margin-bottom: 6px; }
.doc-section table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
.doc-section th, .doc-section td {
  padding: 10px 14px;
  text-align: left;
  border: 1px solid var(--line);
}
.doc-section th { background: var(--paper-2); font-weight: 600; color: var(--ink); }
.doc-section a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 3px; }

.disclaimer-box {
  background: var(--ink);
  color: #B7C2D0;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  margin-top: 48px;
  font-size: 14px;
  line-height: 1.65;
}
.disclaimer-box strong { color: var(--lime); display: block; margin-bottom: 8px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }

/* =============================================================================
   ANIMATIONS
   ============================================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1, .hero-lead, .hero-cta, .hero-trust {
  animation: fadeUp .7s ease backwards;
}
.hero h1 { animation-delay: 0.05s; }
.hero-lead { animation-delay: 0.15s; }
.hero-cta { animation-delay: 0.25s; }
.hero-trust { animation-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
