/* ============================================================
   mulhAIcen — stylesheet
   Mountain Night #0D1117 · Primary Blue #00AAFF
   Space Grotesk (display) · Inter (body) · JetBrains Mono
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:           #0D1117;
  --surface:      #161B22;
  --surface-2:    #1C2333;
  --primary:      #00AAFF;
  --primary-dim:  rgba(0, 170, 255, 0.08);
  --primary-glow: rgba(0, 170, 255, 0.20);
  --text:         #F0F6FC;
  --muted:        #8B949E;
  --border:       rgba(240, 246, 252, 0.08);
  --border-blue:  rgba(0, 170, 255, 0.28);

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

  --radius:    8px;
  --radius-sm: 6px;
  --ease:      200ms ease-out;
  --nav-h:     68px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* Offset anchor targets so fixed nav doesn't cover them */
section[id] { scroll-margin-top: calc(var(--nav-h) + 1.5rem); }


/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.25rem); }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.875rem); }
h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }

p  { color: var(--muted); line-height: 1.7; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.accent { color: var(--primary); }


/* ── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 6rem 0; }

.section-alt {
  background: var(--surface);
  border-top:    1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-intro {
  font-size: 1.0625rem;
  max-width: 580px;
  margin-bottom: 3rem;
}


/* ── Buttons ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary:hover {
  background: #2d82d9;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease);
  white-space: nowrap;
  text-decoration: none;
}

.btn-ghost:hover {
  border-color: rgba(240, 246, 252, 0.22);
  background: rgba(240, 246, 252, 0.04);
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 0.875rem;
  font-size: 1rem;
}


/* ── Nav ─────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(13, 17, 23, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: border-color var(--ease);
}

.nav.scrolled { border-bottom-color: rgba(240, 246, 252, 0.12); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--text);
}

.nav-logo-img {
  height: 0.8em;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a:not(.btn-primary) {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color var(--ease);
}

.nav-links a:not(.btn-primary):hover { color: var(--text); }

.nav-cta {
  font-size: 0.875rem !important;
  padding: 0.5rem 1.125rem !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
  overflow: hidden;
}

/* Topographic contour SVG */
.topo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.topo svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 1440px;
  min-height: 900px;
  width: 100%;
  height: 100%;
}

/* Gradient fade into next section */
.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero h1    { margin-bottom: 1.5rem; }

.hero-sub {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
}

/* Tool logos strip */
.hero-tools {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tools-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tools-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.tools-row img {
  height: 24px;
  width: auto;
  opacity: 0.35;
  filter: grayscale(1);
  transition: opacity var(--ease), filter var(--ease);
}
.tools-row img:hover { opacity: 0.65; filter: grayscale(0); }


/* ── Problem section ─────────────────────────────────────────── */
.section h2 { margin-bottom: 3rem; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color var(--ease);
}
.problem-card:hover { border-color: var(--border-blue); }

.problem-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
  margin-bottom: 0.625rem;
}

.callout {
  border-left: 2px solid var(--primary);
  padding-left: 1.25rem;
  max-width: 680px;
  font-size: 1rem;
  color: var(--muted);
}


/* ── Methodology / Steps ──────────────────────────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  margin-bottom: 2.5rem;
}

.step {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }

.step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--primary);
  background: var(--primary-dim);
  border: 1px solid var(--border-blue);
  border-radius: 50%;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0;
}

.step-line {
  width: 1px;
  flex: 1;
  background: var(--border);
  margin-top: 0.75rem;
  min-height: 2rem;
}

.step-body { flex: 1; padding-top: 0.25rem; }

.step-body h3 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
}

.step-time {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.step-body p { font-size: 1rem; }

.trust-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--primary);
  background: var(--primary-dim);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1.25rem;
}


/* ── Stack grid ──────────────────────────────────────────────── */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.stack-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: border-color var(--ease), background var(--ease);
}
.stack-card:hover {
  border-color: var(--border-blue);
  background: var(--surface-2);
}

.stack-icon {
  flex-shrink: 0;
  opacity: 0.65;
  transition: opacity var(--ease);
}
.stack-card:hover .stack-icon { opacity: 1; }

.stack-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
  margin-bottom: 0.375rem;
}

.stack-desc { font-size: 0.875rem; line-height: 1.55; }


/* ── Granada / Nosotros ──────────────────────────────────────── */
.granada-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 680px;
}
.granada-text p { font-size: 1.0625rem; }

.coords {
  font-family: var(--font-mono) !important;
  font-size: 0.8125rem !important;
  color: var(--primary) !important;
  margin-top: 0.5rem;
}


/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }

.faq-item summary {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text);
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  list-style: none;
  transition: background var(--ease);
  user-select: none;
}
/* Remove default marker */
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker               { display: none; }

.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 300;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform var(--ease);
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item summary:hover     { background: var(--surface-2); }
.faq-item[open] summary     { background: var(--surface); }

.faq-body {
  background: var(--surface);
  padding: 0 1.5rem 1.375rem;
}
.faq-body p { font-size: 1rem; }


/* ── Contact ─────────────────────────────────────────────────── */
.section-contact .section-intro { margin-left: auto; margin-right: auto; text-align: center; }
.section-contact h2 { text-align: center; }

.contact-form {
  max-width: 620px;
  margin: 0 auto 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  transition: border-color var(--ease);
  resize: vertical;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-dim);
}

.contact-meta {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 1rem;
}


/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.footer-coords {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.footer-note { font-size: 0.8125rem; }

.footer-email a {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--muted);
  transition: color var(--ease);
}
.footer-email a:hover { color: var(--primary); }


/* ── Responsive: tablet ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .stack-grid    { grid-template-columns: repeat(2, 1fr); }
  .problem-grid  { grid-template-columns: repeat(2, 1fr); }
}


/* ── Responsive: mobile ──────────────────────────────────────── */
@media (max-width: 768px) {

  /* Nav mobile */
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0;
  }
  .nav-links.open { display: flex; }

  .nav-links a:not(.btn-primary) {
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
  .nav-cta {
    margin-top: 1rem;
    text-align: center;
    justify-content: center;
    font-size: 1rem !important;
    padding: 0.75rem !important;
  }

  .nav-toggle { display: flex; }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 3rem);
    padding-bottom: 4rem;
  }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-sub  { font-size: 1rem; }

  /* Sections */
  .section { padding: 4rem 0; }

  /* Grids */
  .problem-grid { grid-template-columns: 1fr; }
  .stack-grid   { grid-template-columns: 1fr; }

  /* Steps */
  .step { flex-direction: column; gap: 1rem; }
  .step-marker { flex-direction: row; gap: 1rem; }
  .step-line   { display: none; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .trust-pill { font-size: 0.8125rem; }
  h1 { letter-spacing: -0.03em; }
}


/* ============================================================
   v2-B additions — asymmetric hero, ridge process, results,
   approach block, social proof strip
   ============================================================ */

/* ── Asymmetric hero ─────────────────────────────────────────── */
.hero-asym { min-height: auto; padding-bottom: 3rem; }

.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-col-left { max-width: 720px; }

.hero h1        { margin-bottom: 1.5rem; }
.hero-sub       { margin-bottom: 2.25rem; }
.hero-ctas      { margin-bottom: 2.25rem; }

.hero-no-replace {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 620px;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.hero-col-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-peak-logo {
  width: 100%;
  max-width: 340px;
  height: auto;
  opacity: 0.32;
  filter: brightness(1.2);
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  /* Both columns overlap the same grid cell — logo sits behind text */
  .hero-col-left {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    z-index: 2;
    display: block;
  }
  .hero-col-right {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    pointer-events: none;
  }
  .hero-peak-logo { max-width: 320px; opacity: 0.18; filter: brightness(4) saturate(0.5); margin: 0; }
}


/* ── Social proof strip (standalone section between hero & problem) ── */
.social-proof {
  padding: 1.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}

.social-proof .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.social-proof .tools-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.social-proof .tools-row {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.social-proof .tools-row img {
  height: 26px;
  width: auto;
  opacity: 0.4;
  filter: grayscale(1);
  transition: opacity var(--ease), filter var(--ease);
}
.social-proof .tools-row img:hover { opacity: 0.8; filter: grayscale(0); }


/* ── Ridge track process ─────────────────────────────────────── */
.ridge-track {
  position: relative;
  padding: 3rem 0 4rem;
  margin-bottom: 2.5rem;
}

.ridge-svg {
  position: absolute;
  left: 0;
  right: 0;
  top: 10%;
  width: 100%;
  height: 80%;
  pointer-events: none;
  z-index: 0;
}

.ridge-phases {
  position: relative;
  z-index: 1;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  align-items: end;
}

.ridge-phase {
  background: rgba(13, 17, 23, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: border-color var(--ease), transform var(--ease), background var(--ease);
}
.ridge-phase:hover {
  border-color: var(--border-blue);
  transform: translateY(-3px);
  background: rgba(13, 17, 23, 0.85);
}

.phase-level-1 { margin-bottom: 0; }
.phase-level-2 { margin-bottom: 3rem; }
.phase-level-3 { margin-bottom: 6rem; }

.ridge-phase .phase-illustration {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 170, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.ridge-phase .phase-illustration svg { width: 56px; height: 56px; }

.ridge-phase .phase-num {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

.ridge-phase h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.1rem 0 0.4rem;
}

.ridge-phase p { font-size: 0.9375rem; line-height: 1.6; }

@media (max-width: 1024px) {
  .phase-level-1, .phase-level-2, .phase-level-3 { margin-bottom: 0; }
}

@media (max-width: 768px) {
  .ridge-svg { display: none; }
  .ridge-phases { grid-template-columns: 1fr; gap: 1rem; }
}


/* ── Results / case studies ──────────────────────────────────── */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color var(--ease), background var(--ease);
}
.result-card:hover {
  border-color: var(--border-blue);
  background: var(--surface-2);
}

.result-metric {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.result-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
}

.result-desc {
  font-size: 0.875rem;
  line-height: 1.6;
}

.results-disclaimer {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  max-width: 680px;
}

@media (max-width: 1024px) { .results-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .results-grid { grid-template-columns: 1fr; } }


/* ── Approach / "no sustituimos" block ──────────────────────── */
.approach-section { padding: 5rem 0; }

.approach-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  max-width: 880px;
  margin: 0 auto;
  border-left: 3px solid var(--primary);
}

.approach-card h2 { margin-bottom: 1.5rem; }
.approach-card p {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
  color: var(--muted);
}
.approach-card p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  .approach-card { padding: 2rem 1.5rem; }
}


/* ── Footer legal links ─────────────────────────────────────── */
.footer-legal {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  width: 100%;
  text-align: center;
}
.footer-legal a {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  transition: color var(--ease);
}
.footer-legal a:hover { color: var(--primary); }


