/* ============================================================================
   SERP GENIX — design system. Dark canvas, electric-green signal, glow used
   deliberately (this brand is "futuristic" by mandate — unlike a restrained
   corporate system, glow + motion + live data readouts ARE the personality).
   ========================================================================== */

:root {
  --bg: #05070D;
  --surface: #0B0F1A;
  --surface-2: #10141F;
  --line: #1E2532;
  --line-soft: rgba(255,255,255,.08);

  --brand: #39FF88;
  --brand-dim: #1F8A52;
  --brand-tint: rgba(57,255,136,.1);
  --accent2: #6E5BFF;
  --accent2-tint: rgba(110,91,255,.12);

  --text: #EDEFF5;
  --muted: #8A93A6;
  --muted-2: #5A6478;
  --danger: #FF5C7A;

  --font-display: 'Space Grotesk', sans-serif;
  --font-sans: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --ease: cubic-bezier(.16,1,.3,1);
  --container: 1240px;

  --glow-brand: 0 0 0 1px rgba(57,255,136,.3), 0 0 32px rgba(57,255,136,.18);
  --glow-brand-strong: 0 0 0 1px rgba(57,255,136,.5), 0 0 48px rgba(57,255,136,.3);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--brand); color: var(--bg); }
button { font: inherit; cursor: pointer; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 2px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--brand); color: var(--bg); padding: 12px 20px; font-weight: 600; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 767px) { .container { padding-inline: 18px; } }

/* faint scanline / grid texture used on dark sections for the "engineering console" feel */
.grid-tex {
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
}

/* ---- Kicker: mono, bracketed, pulsing dot ---- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand);
  margin-bottom: 18px;
}
.kicker::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 8px var(--brand); flex: 0 0 auto;
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .kicker::before { animation: none; } }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--text); }
h3, h4 { font-weight: 600; }
p { color: var(--muted); }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 0.95rem; padding: 14px 26px; border-radius: var(--radius-sm); border: 1px solid transparent; transition: all .25s var(--ease); white-space: nowrap; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--brand); color: #06170E; box-shadow: var(--glow-brand); }
.btn-primary:hover { box-shadow: var(--glow-brand-strong); transform: translateY(-1px); }
.btn-outline { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.02); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---- Nav ---- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(5,7,13,.75); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-mark { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: .01em; color: var(--text); }
.brand-mark svg { height: 30px; width: 30px; }
.brand-mark .gx { color: var(--brand); }
.nav-links { display: none; align-items: center; gap: 32px; list-style: none; padding: 0; margin: 0; font-size: 0.92rem; font-weight: 500; }
.nav-links a { color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: transparent; border: 0; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); display: block; }
@media (min-width: 1024px) { .nav-links { display: flex; } .nav-toggle { display: none; } }

.mobile-sheet { position: fixed; inset: 0; z-index: 200; background: var(--bg); transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto; }
.mobile-sheet.open { transform: translateX(0); }
.mobile-sheet-head { display: flex; justify-content: space-between; align-items: center; height: 76px; padding-inline: 18px; border-bottom: 1px solid var(--line); }
.mobile-sheet nav { padding: 20px 18px 100px; display: flex; flex-direction: column; gap: 4px; }
.mobile-sheet a { padding: 14px 6px; border-bottom: 1px solid var(--line); color: var(--text); font-weight: 500; }
.close-x { background: none; border: 0; color: var(--text); font-size: 28px; line-height: 1; }
@media (min-width: 1024px) { .mobile-sheet { display: none !important; } }

/* ============================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding: 90px 0 110px; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-canvas { position: absolute; inset: 0; z-index: 0; opacity: .55; }
.hero-inner { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; text-align: center; max-width: 880px; margin-inline: auto; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); letter-spacing: -0.01em; margin-bottom: 22px; }
.hero h1 .hl { color: var(--brand); position: relative; }
.hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: -0.06em; height: 0.09em; background: var(--brand); opacity: .18; border-radius: 2px; }
.hero-lede { font-size: 1.15rem; color: var(--muted); max-width: 56ch; margin: 0 auto 34px; line-height: 1.6; }
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); padding-top: 32px; max-width: 720px; margin-inline: auto; }
.stat-row .stat { padding: 0 20px; border-left: 1px solid var(--line); }
.stat-row .stat:first-child { border-left: 0; }
.stat-num { font-family: var(--font-mono); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--brand); display: block; text-shadow: 0 0 20px rgba(57,255,136,.35); }
.stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
@media (max-width: 640px) { .stat-row { grid-template-columns: 1fr; gap: 20px; } .stat-row .stat { border-left: 0; border-top: 1px solid var(--line); padding: 16px 0 0; } .stat-row .stat:first-child { border-top: 0; padding-top: 0; } }

/* ---- Section shell ---- */
section { padding: 100px 0; border-bottom: 1px solid var(--line); }
section.no-border { border-bottom: 0; }
section.alt { background: var(--surface); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); max-width: 18ch; }
.section-head p { max-width: 40ch; font-size: 0.97rem; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; margin-inline: auto; }
.section-head--center h2, .section-head--center p { max-width: 46ch; }
@media (max-width: 767px) { section { padding: 64px 0; } .section-head { margin-bottom: 40px; } }

/* ============================================================================
   PROOF BAR
   ========================================================================== */
.proof { padding: 48px 0; }
.proof-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; align-items: center; padding-top: 28px; border-top: 1px solid var(--line); }
.proof-co { text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--muted-2); letter-spacing: .02em; text-transform: uppercase; }
@media (max-width: 860px) { .proof-grid { grid-template-columns: repeat(2, 1fr); row-gap: 22px; } }

/* ============================================================================
   SIMULATOR
   ========================================================================== */
.sim-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; }
.sim-form { display: flex; gap: 12px; flex-wrap: wrap; }
.sim-input-wrap { position: relative; flex: 1 1 320px; }
.sim-input-wrap svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.sim-form input { width: 100%; height: 54px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); border-radius: var(--radius-sm); padding: 0 16px 0 46px; font: inherit; font-size: 0.98rem; }
.sim-form input::placeholder { color: var(--muted-2); }
.sim-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.sim-form button { height: 54px; }
.sim-disclaimer { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted-2); margin-top: 16px; }

.sim-console { margin-top: 28px; display: none; }
.sim-console.active { display: block; }
.sim-log { font-family: var(--font-mono); font-size: 0.85rem; color: var(--brand); min-height: 26px; }
.sim-log .line { opacity: 0; animation: line-in .3s var(--ease) forwards; }
@keyframes line-in { to { opacity: 1; } }
.sim-log .line::before { content: "> "; color: var(--muted-2); }

.sim-results { display: none; margin-top: 28px; grid-template-columns: 1fr 1fr 1.4fr; gap: 28px; align-items: center; }
.sim-results.active { display: grid; }
@media (max-width: 900px) { .sim-results { grid-template-columns: 1fr; } }

.sim-rank { text-align: center; }
.sim-rank .rank-num { font-family: var(--font-mono); font-weight: 700; font-size: 3.4rem; color: var(--brand); text-shadow: 0 0 28px rgba(57,255,136,.4); line-height: 1; }
.sim-rank .rank-lbl { font-size: 0.78rem; color: var(--muted); margin-top: 8px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .05em; }

.sim-gauge { display: grid; place-items: center; position: relative; }
.sim-gauge svg { transform: rotate(-90deg); }
.sim-gauge .track { stroke: var(--line); }
.sim-gauge .fill { stroke: var(--brand); stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(57,255,136,.5)); transition: stroke-dashoffset 1.4s var(--ease); }
.sim-gauge .readout { position: absolute; text-align: center; }
.sim-gauge .readout .val { font-family: var(--font-mono); font-weight: 700; font-size: 1.6rem; color: var(--text); }
.sim-gauge .readout .lbl { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

.sim-chart-wrap { }
.sim-chart-wrap .chart-lbl { font-size: 0.78rem; color: var(--muted); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.sim-chart-wrap svg .chart-line { fill: none; stroke: var(--brand); stroke-width: 2.5; filter: drop-shadow(0 0 5px rgba(57,255,136,.4)); stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset 1.6s var(--ease); }
.sim-chart-wrap.drawn svg .chart-line { stroke-dashoffset: 0; }
.sim-chart-wrap svg .chart-fill { fill: url(#simChartGradient); opacity: 0; transition: opacity 1s var(--ease) .4s; }
.sim-chart-wrap.drawn svg .chart-fill { opacity: .45; }
.sim-chart-wrap svg .axis-lbl { fill: var(--muted-2); font-family: var(--font-mono); font-size: 9px; }
@media (prefers-reduced-motion: reduce) { .sim-chart-wrap svg .chart-line { transition: none; } .sim-chart-wrap svg .chart-fill { transition: none; } }

.sim-cta { grid-column: 1 / -1; display: none; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.sim-cta.active { display: flex; }
.sim-cta p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.sim-reset { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted-2); background: none; border: 0; text-decoration: underline; }

/* ============================================================================
   SERVICES ORBIT
   ========================================================================== */
.orbit-wrap { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 960px) { .orbit-wrap { grid-template-columns: 1fr 1fr; } }
.orbit-stage { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1; margin-inline: auto; }
.orbit-ring { position: absolute; inset: 0; border: 1px dashed var(--line); border-radius: 50%; animation: orbit-spin 60s linear infinite; }
.orbit-ring--inner { inset: 15%; animation-duration: 44s; animation-direction: reverse; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .orbit-ring { animation: none; } }
.orbit-core { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 108px; height: 108px; border-radius: 50%; background: var(--surface); border: 1px solid var(--brand); box-shadow: var(--glow-brand); display: grid; place-items: center; text-align: center; }
.orbit-core svg { width: 34px; height: 34px; color: var(--brand); }
.orbit-node {
  position: absolute; width: 64px; height: 64px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line);
  display: grid; place-items: center; cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.orbit-node svg { width: 22px; height: 22px; color: var(--muted); transition: color .2s; }
.orbit-node:hover, .orbit-node.active { border-color: var(--brand); box-shadow: var(--glow-brand); transform: scale(1.08); }
.orbit-node:hover svg, .orbit-node.active svg { color: var(--brand); }
.orbit-detail { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; min-height: 220px; }
.orbit-detail .num { font-family: var(--font-mono); color: var(--brand); font-size: 0.8rem; }
.orbit-detail h3 { margin: 12px 0 10px; font-size: 1.4rem; }
.orbit-detail p { font-size: 0.95rem; line-height: 1.65; }

/* ============================================================================
   RESULTS / CASE STUDIES
   ========================================================================== */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .case-grid { grid-template-columns: 1fr; } }
.case-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: border-color .2s, transform .2s; }
.case-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.case-tag { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.case-client { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin: 8px 0 12px; }
.case-summary { font-size: 0.88rem; line-height: 1.6; margin-bottom: 20px; }
.case-chart { margin-bottom: 16px; }
.case-chart svg .line { fill: none; stroke: var(--brand); stroke-width: 2; }
.case-stats { display: flex; gap: 20px; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--line); }
.case-stats .before { color: var(--muted-2); font-family: var(--font-mono); font-size: 0.95rem; text-decoration: line-through; }
.case-stats .arrow-sep { color: var(--muted-2); }
.case-stats .after { color: var(--brand); font-family: var(--font-mono); font-weight: 700; font-size: 1.2rem; }
.case-stats .lbl { font-size: 0.72rem; color: var(--muted); display: block; margin-top: 4px; }

/* ============================================================================
   PROCESS
   ========================================================================== */
.process-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.process-step { padding: 28px 22px; border-right: 1px solid var(--line); position: relative; }
.process-step:last-child { border-right: 0; }
.process-num { font-family: var(--font-mono); color: var(--brand); font-size: 0.85rem; }
.process-step h4 { margin: 12px 0 8px; font-size: 1.05rem; }
.process-step p { font-size: 0.85rem; }
@media (max-width: 860px) { .process-row { grid-template-columns: 1fr; } .process-step { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ============================================================================
   PRICING
   ========================================================================== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--brand); box-shadow: var(--glow-brand); position: relative; }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #06170E; font-size: 0.7rem; font-weight: 700; padding: 4px 14px; border-radius: 999px; letter-spacing: .03em; text-transform: uppercase; }
.price-name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.price-value { display: flex; align-items: baseline; gap: 6px; margin: 14px 0; }
.price-value .amt { font-family: var(--font-mono); font-weight: 700; font-size: 2.1rem; color: var(--text); }
.price-value .per { color: var(--muted); font-size: 0.9rem; }
.price-desc { font-size: 0.88rem; margin-bottom: 20px; }
.price-features { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; flex: 1; }
.price-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--text); }
.price-features li svg { width: 16px; height: 16px; color: var(--brand); flex: 0 0 auto; margin-top: 3px; }

/* ============================================================================
   TESTIMONIALS
   ========================================================================== */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.testi-quote { font-size: 0.95rem; line-height: 1.7; color: var(--text); margin-bottom: 20px; }
.testi-meta { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); font-family: var(--font-mono); font-weight: 700; display: grid; place-items: center; font-size: 0.85rem; }
.testi-name { font-weight: 600; font-size: 0.9rem; }
.testi-company { color: var(--muted); font-size: 0.8rem; }

/* ============================================================================
   FINAL CTA + FAQ + FORM
   ========================================================================== */
.final-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .final-grid { grid-template-columns: 1fr; } }
.final-grid h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin: 14px 0 30px; }
.accordion details { border-top: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 0.98rem; display: flex; justify-content: space-between; gap: 16px; color: var(--text); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; color: var(--brand); font-size: 1.3rem; }
.accordion details[open] summary::after { content: "\2013"; }
.accordion details > div { padding: 0 0 20px; color: var(--muted); font-size: 0.9rem; max-width: 56ch; }

.audit-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; }
.audit-form h3 { font-size: 1.2rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 7px; }
.field input, .field textarea { width: 100%; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); border-radius: var(--radius-sm); padding: 0 14px; height: 48px; font: inherit; font-size: 0.92rem; }
.field textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.field.honey { position: absolute; left: -9999px; }
.form-note { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted-2); text-align: center; margin-top: 14px; }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 0.88rem; margin-bottom: 16px; }
.alert-success { background: rgba(57,255,136,.08); border: 1px solid rgba(57,255,136,.3); color: var(--brand); }
.alert-error { background: rgba(255,92,122,.08); border: 1px solid rgba(255,92,122,.3); color: var(--danger); }

/* ============================================================================
   FOOTER
   ========================================================================== */
.site-footer { padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { max-width: 34ch; font-size: 0.9rem; margin-top: 14px; }
.footer-socials { display: flex; gap: 14px; margin-top: 18px; }
.footer-socials a { color: var(--muted); }
.footer-socials a:hover { color: var(--brand); }
.footer-col h5 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 24px 0; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--muted-2); font-family: var(--font-mono); }
@media (max-width: 767px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .sim-log .line { animation: none; opacity: 1; } }

/* ---- Prose (legal pages) ---- */
.prose { max-width: 46rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--muted); font-size: 0.98rem; line-height: 1.75; }
