/* ==========================================================================
   Paradarum CDN — landing
   Tokens y tipografía derivados de DESIGN.md (secciones 3–5).
   ========================================================================== */

/* ---- Fuentes de marca -------------------------------------------------- */
@font-face {
  font-family: "Continuum";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/Continuum-Medium.woff2") format("woff2"),
       url("../fonts/Contm___.ttf") format("truetype");
}
@font-face {
  font-family: "Continuum";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/Continuum-Light.woff2") format("woff2"),
       url("../fonts/Contl___.ttf") format("truetype");
}

/* ---- Tokens (DESIGN.md §3) --------------------------------------------- */
:root {
  /* Neutros de marca (charcoal con matiz violáceo real) */
  --ink:        #38373E;
  --night:      #201F24;
  --ink-soft:   #6C6A75;
  --paper-soft: #A8A6B0;

  /* Superficies */
  --paper:      #F6F6F7;
  --card:       #FFFFFF;

  /* Líneas */
  --line:       #E6E5E8;
  --line-dark:  #34333B;

  /* Acción */
  --coral:      #F25D53;
  --coral-press:#DB463C;
  --coral-soft: #FDE4E1;

  /* Estados funcionales */
  --live:       #DE7A05;
  --blocked:    #8D043C;

  /* Gradiente de marca — SOLO logo + firma del hero */
  --grad: linear-gradient(135deg,
    #4E6595 0%,
    #816CA2 20%,
    #922B59 42%,
    #8D043C 60%,
    #AD410C 80%,
    #DE7A05 100%
  );

  /* Radios (DESIGN.md §5) */
  --r: 10px;
  --r-sm: 6px;
  --r-btn: 8px;
  --r-term: 4px;

  /* Tipografías */
  --font-display: "Continuum", "Satoshi", system-ui, sans-serif;
  --font-body: "Satoshi", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---- Reset mínimo ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--coral); text-decoration: none; }
a:hover { color: var(--coral-press); }

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

::selection { background: var(--coral-soft); color: var(--ink); }

/* ---- Contenedor y ritmo (DESIGN.md §5) ---------------------------------- */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}
@media (min-width: 900px) {
  .container { padding-inline: 48px; }
}

.section { padding-block: 96px; }
@media (min-width: 900px) {
  .section { padding-block: 144px; }
}

/* ---- Tipografía (DESIGN.md §4) ------------------------------------------ */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0 0 0.6em;
}
h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  letter-spacing: -0.02em;
  line-height: 1.04;
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.015em;
  line-height: 1.1;
}
h3 { font-size: 1.375rem; line-height: 1.25; }

p { margin: 0 0 1em; }
.muted { color: var(--ink-soft); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
}
.dark .eyebrow, .eyebrow.on-dark { color: var(--paper-soft); }

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ---- Botones ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  padding: 0.875rem 1.5rem;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--coral);
  color: #fff;
}
.btn-primary:hover { background: var(--coral-press); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink-soft); color: var(--ink); }
.dark .btn-ghost, .btn-ghost.on-dark {
  color: #fff;
  border-color: var(--line-dark);
}
.dark .btn-ghost:hover, .btn-ghost.on-dark:hover { border-color: var(--paper-soft); color: #fff; }

.btn-sm { padding: 0.625rem 1.125rem; font-size: 0.9375rem; }

/* ---- Nav ----------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo img { height: 30px; width: auto; }
.nav-links {
  display: none;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--coral); }
.nav-actions { display: flex; align-items: center; gap: 1.25rem; }
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.lang-switch button {
  font: inherit;
  letter-spacing: 0.06em;
  background: none;
  border: 0;
  padding: 4px 6px;
  border-radius: var(--r-sm);
  color: var(--ink-soft);
  cursor: pointer;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.active { color: var(--ink); font-weight: 700; }
.nav-login {
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  display: none;
}
.nav-login:hover { color: var(--coral); }
@media (min-width: 820px) {
  .nav-links { display: flex; }
  .nav-login { display: inline; }
}

/* ---- Hero ----------------------------------------------------------------- */
.hero {
  background: var(--night);
  color: #fff;
  padding-block: 88px 96px;
  overflow: hidden;
}
@media (min-width: 900px) {
  .hero { padding-block: 112px 128px; }
}
.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}
@media (min-width: 980px) {
  /* split asimétrico 55/45 (DESIGN.md §5) */
  .hero-grid { grid-template-columns: 55fr 45fr; gap: 64px; }
}
/* los bloques mono con tokens largos no deben fijar el min-content del grid */
.hero-grid > *, .live-grid > *, .api-grid > *, .security-grid > * { min-width: 0; }
.hero h1 { color: #fff; margin-bottom: 0.5em; }
.hero .subcopy {
  color: var(--paper-soft);
  font-size: 1.1875rem;
  max-width: 34em;
  margin-bottom: 2rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-note {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--paper-soft);
  margin-top: 1rem;
}

/* ---- Panel de estado del edge (elemento firma, DESIGN.md §7) -------------- */
.edge-panel {
  position: relative;
  background: var(--night);
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  padding: 28px 28px 0;
}
.edge-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--paper-soft);
  margin-bottom: 12px;
}
.edge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  color: var(--live);
}
.edge-live .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  animation: pulse 2.4s ease-in-out infinite;
}
.edge-map { width: 100%; height: auto; display: block; }
.edge-map .pop {
  animation: pulse 2.4s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
.edge-map .pop:nth-child(2) { animation-delay: 0.6s; }
.edge-map .pop:nth-child(3) { animation-delay: 1.2s; }
.edge-map .pop:nth-child(4) { animation-delay: 1.8s; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* Tarjeta-terminal superpuesta */
.terminal {
  position: relative;
  margin: 12px -8px -34px 20px;
  background: #17161A;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-term);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35); /* única sombra permitida */
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.75;
  padding: 14px 18px 16px;
  color: #D6D4DC;
  overflow-wrap: anywhere;
}
@media (min-width: 980px) {
  .terminal { margin: 16px -20px -40px 32px; font-size: 0.84rem; }
}
.terminal .t-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.terminal .t-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-dark);
}
.terminal .prompt { color: var(--paper-soft); }
.terminal .ok { color: var(--live); }
.terminal .live-tag { color: var(--live); font-weight: 700; }
.terminal .cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.1em;
  vertical-align: text-bottom;
  background: var(--paper-soft);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---- Tira de métricas ------------------------------------------------------ */
.metrics {
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.metrics-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media (min-width: 820px) {
  .metrics-row { grid-template-columns: repeat(4, 1fr); }
}
.metric {
  padding: 28px 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 820px) {
  .metric { border-top: 0; }
  .metric + .metric { border-left: 1px solid var(--line); }
}
.metric b {
  display: block;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--ink);
}
.metric span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

/* ---- Diagrama origen → edge → usuario -------------------------------------- */
.diagram-scroll { overflow-x: auto; margin-top: 48px; }
.flow-diagram { width: 100%; min-width: 640px; height: auto; display: block; }
.flow-diagram text {
  font-family: var(--font-mono);
  font-size: 12.5px;
  fill: var(--ink-soft);
}
.flow-diagram .node-label { fill: var(--ink); font-weight: 700; }

/* ---- Capacidades (composición asimétrica) ---------------------------------- */
.caps-grid {
  display: grid;
  gap: 16px;
  margin-top: 56px;
}
@media (min-width: 820px) {
  .caps-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .cap-lg { grid-column: span 3; }
  .cap-md { grid-column: span 2; }
  .cap-sm { grid-column: span 2; }
  .cap-wide { grid-column: span 4; }
}
.cap {
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 26px 22px;
}
.cap .cap-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin: 0 0 10px;
}
.cap h3 { font-size: 1.1875rem; margin-bottom: 0.4em; }
.cap p { font-size: 0.9375rem; color: var(--ink-soft); margin: 0; }
.cap .cap-snippet {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 8px 12px;
  overflow-x: auto;
  white-space: nowrap;
}

/* ---- Sección Live (oscura, ancla) ------------------------------------------ */
.dark {
  background: var(--night);
  color: #fff;
}
.dark h2, .dark h3 { color: #fff; }
.dark p { color: var(--paper-soft); }
.live-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 980px) {
  .live-grid { grid-template-columns: 48fr 52fr; gap: 72px; }
}
.snippet-dark {
  background: #17161A;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-term);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.8;
  color: #D6D4DC;
  padding: 18px 22px;
  overflow-x: auto;
}
.snippet-dark .c { color: var(--paper-soft); }
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--live);
  letter-spacing: 0.08em;
}
.live-indicator .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
  animation: pulse 2s ease-in-out infinite;
}

/* Roadmap: próximamente (S3, CLI, Signed URLs) */
.roadmap { margin-top: 72px; }
.roadmap .eyebrow { margin-bottom: 20px; }
.roadmap-card {
  border: 1px dashed var(--line-dark);
  border-radius: var(--r);
  padding: 22px 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: baseline;
  justify-content: space-between;
}
.roadmap-card + .roadmap-card { margin-top: 12px; }
.roadmap-card h3 { font-size: 1.1875rem; margin-bottom: 0.25em; }
.roadmap-card p { font-size: 0.9375rem; margin: 0; }
.badge-soon {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--paper-soft);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-sm);
  padding: 4px 10px;
  white-space: nowrap;
}

/* ---- Seguridad / WAF --------------------------------------------------------- */
.security-grid {
  display: grid;
  gap: 48px;
  margin-top: 8px;
  align-items: start;
}
@media (min-width: 980px) {
  .security-grid { grid-template-columns: 52fr 48fr; gap: 72px; }
}
.sec-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}
.sec-list li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: baseline;
}
.sec-list li:last-child { border-bottom: 1px solid var(--line); }
.sec-list .k {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  white-space: nowrap;
}
.sec-list .v { font-size: 0.9375rem; color: var(--ink); }

.waf-log {
  background: var(--night);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-term);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.9;
  color: #D6D4DC;
  padding: 18px 22px;
  overflow-x: auto;
  white-space: pre;
}
.waf-log .dim { color: var(--paper-soft); }
.waf-log .block { color: #fff; background: var(--blocked); padding: 1px 6px; border-radius: 3px; }
.waf-log .ok2 { color: var(--live); }

/* ---- API / CLI ---------------------------------------------------------------- */
.api-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 980px) {
  .api-grid { grid-template-columns: 45fr 55fr; gap: 72px; }
}

/* ---- Precios -------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  gap: 20px;
  margin-top: 56px;
  align-items: stretch;
}
@media (min-width: 820px) {
  .pricing-grid { grid-template-columns: 5fr 7fr; }
}
.plan {
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
}
.plan.featured { border-color: var(--coral); }
.plan .plan-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.375rem;
  margin: 0 0 4px;
}
.plan .plan-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.plan .price {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.plan .price small {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink-soft);
}
.plan ul {
  list-style: none;
  margin: 20px 0 28px;
  padding: 0;
  font-size: 0.9375rem;
}
.plan ul li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
}
.plan ul li .val {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
}
.plan ul li .lbl { color: var(--ink-soft); }
.plan .btn { margin-top: auto; justify-content: center; }

.price-note {
  font-size: 0.875rem;
  color: var(--ink-soft);
  margin-top: 24px;
  max-width: 60em;
}

/* ---- CTA final -------------------------------------------------------------------- */
.cta-final { text-align: left; }
.cta-final .cta-box {
  border-top: 1px solid var(--line-dark);
  padding-top: 64px;
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .cta-final .cta-box { grid-template-columns: 1fr auto; }
}

/* ---- Footer ------------------------------------------------------------------------ */
.footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding-block: 56px 40px;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.footer-grid {
  display: grid;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 820px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin: 0 0 14px;
  font-weight: 400;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer a { color: var(--ink); }
.footer a:hover { color: var(--coral); }
.footer-logo img { height: 26px; width: auto; margin-bottom: 14px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

/* ---- Consentimiento de cookies -------------------------------------------------------- */
.consent-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 90;
  max-width: 420px;
  width: calc(100% - 40px);
  background: var(--night);
  color: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  padding: 22px 24px;
}
.consent-banner h3 { font-size: 1.0625rem; margin-bottom: 0.4em; color: #fff; }
.consent-banner p { font-size: 0.875rem; color: var(--paper-soft); margin-bottom: 1.1em; }
.consent-banner .btn-ghost { color: #fff; border-color: var(--line-dark); }
.consent-banner .btn-ghost:hover { border-color: var(--paper-soft); color: #fff; }

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.consent-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  background: none;
  border: 0;
  padding: 0.625rem 0.25rem;
  color: var(--paper-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.consent-link:hover { color: #fff; }

.consent-overlay[hidden] { display: none; }
.consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(32, 31, 36, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.consent-modal {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r);
  max-width: 520px;
  width: 100%;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 28px 30px;
}
.consent-modal h3 { margin-bottom: 0.4em; }
.consent-modal > p { font-size: 0.9375rem; color: var(--ink-soft); margin-bottom: 1.25em; }
.consent-modal .consent-link { color: var(--ink-soft); }
.consent-modal .consent-link:hover { color: var(--ink); }

.consent-cats {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.consent-cats li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.consent-cats li:last-child { border-bottom: 1px solid var(--line); }
.consent-cats b { display: block; font-size: 0.9375rem; font-weight: 700; }
.consent-cats span { font-size: 0.8125rem; color: var(--ink-soft); }

/* Switch */
.switch {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 40px;
  height: 22px;
  border-radius: 11px;
  background: var(--line);
  border: 0;
  position: relative;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}
.switch:checked { background: var(--coral); }
.switch:checked::after { transform: translateX(18px); }
.switch:disabled { background: var(--paper-soft); cursor: not-allowed; }

/* Icono flotante para reabrir la configuración de cookies */
.consent-fab {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 90;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--night);
  color: var(--paper-soft);
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.consent-fab:hover { color: #fff; border-color: var(--paper-soft); }
.consent-fab[hidden] { display: none; }

/* Botón con aspecto de enlace en el footer */
.footer-link-btn {
  font: inherit;
  background: none;
  border: 0;
  padding: 0;
  color: var(--ink);
  cursor: pointer;
}
.footer-link-btn:hover { color: var(--coral); }

/* ---- Reveals de scroll (DESIGN.md §6) ----------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ---- Reduced motion ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .edge-map .pop, .edge-live .dot, .live-indicator .dot { animation: none; }
  .terminal .cursor { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
