/* =========================================================
   AIMARKTECH — Landing Page
   Paleta oficial (Blue Energy):
   #0A74DA  azul        #00C2FF  cyan
   #FFCE00  amarillo    #28A745  verde
   #D3D3D3  gris        Tipografías: Montserrat + Lato
   ========================================================= */

:root {
  --blue: #0A74DA;
  --cyan: #00C2FF;
  --yellow: #FFCE00;
  --green: #28A745;
  --gray: #D3D3D3;

  --ink: #0e1b2c;
  --ink-soft: #46566b;
  --bg: #ffffff;
  --bg-soft: #f4f8fd;
  --bg-dark: #071426;
  --line: #e3ebf4;

  --grad: linear-gradient(120deg, var(--blue), var(--cyan));
  --grad-tri: linear-gradient(120deg, var(--blue), var(--green) 60%, var(--yellow));
  --shadow-sm: 0 6px 20px rgba(10, 116, 218, 0.08);
  --shadow-md: 0 18px 50px rgba(10, 116, 218, 0.14);
  --radius: 18px;

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Lato", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--ink); }

a { color: inherit; text-decoration: none; }

.container { width: min(1140px, 92%); margin-inline: auto; }

.section { padding: clamp(64px, 9vw, 110px) 0; }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: .8rem;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow.light { color: var(--cyan); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; }
.section-lead { color: var(--ink-soft); margin-top: 14px; font-size: 1.05rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  padding: 14px 26px; border-radius: 50px; cursor: pointer; border: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(10,116,218,.35); }
.btn-primary:hover { box-shadow: 0 14px 34px rgba(10,116,218,.45); }
.btn-whatsapp { background: #25D366; color: #fff; box-shadow: 0 10px 26px rgba(37,211,102,.3); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-block { width: 100%; }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 40px; height: 40px; object-fit: contain; }
.brand-name { font-family: var(--font-head); font-weight: 900; font-size: 1.25rem; letter-spacing: -.5px; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 28px; }
.nav-links a { font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { background: var(--grad); color: #fff !important; padding: 10px 20px; border-radius: 50px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero { position: relative; overflow: hidden; padding: clamp(60px, 9vw, 110px) 0; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(0,194,255,.18), transparent 60%),
    radial-gradient(700px 500px at -10% 20%, rgba(10,116,218,.14), transparent 55%),
    var(--bg-soft);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero-title { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 900; letter-spacing: -1px; }
.hero-sub { color: var(--ink-soft); font-size: 1.12rem; margin: 22px 0 30px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; }
.hero-trust li { font-size: .95rem; color: var(--ink-soft); }
.hero-trust strong { display: block; font-family: var(--font-head); font-weight: 900; font-size: 1.6rem; color: var(--blue); }

/* Arte del hero */
.hero { position: relative; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; }
.hero-art { position: relative; min-height: 360px; }

/* Lienzo de la red de partículas: cubre TODO el hero, detrás del contenido */
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

/* Brillo de energía detrás de la red */
.hero-glow {
  position: absolute; inset: 0; margin: auto; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,194,255,.35), rgba(10,116,218,.12) 55%, transparent 72%);
  filter: blur(6px); z-index: 0;
  animation: glow-pulse 5s ease-in-out infinite;
}
@keyframes glow-pulse { 0%,100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.12); opacity: 1; } }

.hero-card {
  position: absolute; z-index: 2; background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  border: 1px solid var(--line); padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-md);
  font-family: var(--font-head); font-weight: 700; font-size: .92rem;
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
}
.hero-card-1 { top: 6%; left: 0; animation: float 6s ease-in-out infinite; }
.hero-card-2 { top: 46%; right: -4%; animation: float 6s ease-in-out infinite .8s; }
.hero-card-3 { bottom: 4%; left: 12%; animation: float 6s ease-in-out infinite 1.6s; }
.dot { width: 11px; height: 11px; border-radius: 50%; box-shadow: 0 0 8px currentColor; }
.dot-blue { background: var(--blue); color: var(--blue); }
.dot-green { background: var(--green); color: var(--green); }
.dot-yellow { background: var(--yellow); color: var(--yellow); }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

@media (prefers-reduced-motion: reduce) {
  .hero-glow, .hero-card { animation: none !important; }
}

/* ===================== MARQUEE ===================== */
.marquee { background: var(--bg-dark); color: #fff; overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scroll 32s linear infinite; }
.marquee-track span { font-family: var(--font-head); font-weight: 700; font-size: .98rem; opacity: .92; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===================== PROBLEMA ===================== */
.problema { background: var(--bg); }
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pain-card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; transition: transform .25s, box-shadow .25s;
}
.pain-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pain-icon { font-size: 2rem; display: block; margin-bottom: 12px; }
.pain-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.pain-card p { color: var(--ink-soft); font-size: .96rem; }

/* ===================== FILOSOFÍA ===================== */
.filosofia { background: var(--bg-soft); }
.filosofia-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.filosofia-text h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; }
.filosofia-text > p { color: var(--ink-soft); margin: 18px 0; font-size: 1.05rem; }
.quote {
  border-left: 4px solid var(--blue); padding: 16px 22px; background: #fff;
  border-radius: 0 14px 14px 0; font-style: italic; color: var(--ink);
  box-shadow: var(--shadow-sm); font-size: 1.05rem;
}
.filosofia-pillars { display: grid; gap: 18px; }
.pill-step { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; box-shadow: var(--shadow-sm); }
.pill-step span {
  font-family: var(--font-head); font-weight: 900; font-size: 1.4rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pill-step h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: 4px; }
.pill-step p { color: var(--ink-soft); font-size: .95rem; }

/* ===================== MÉTODO ===================== */
.metodo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.metodo-card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 28px; background: #fff; transition: transform .25s, box-shadow .25s;
  overflow: hidden;
}
.metodo-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad-tri); }
.metodo-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.metodo-card.highlight { background: var(--bg-dark); color: #fff; }
.metodo-card.highlight h3, .metodo-card.highlight p { color: #fff; }
.metodo-num { font-family: var(--font-head); font-weight: 900; font-size: 2.6rem; color: var(--gray); opacity: .5; margin-bottom: 6px; }
.metodo-card.highlight .metodo-num { color: var(--cyan); opacity: .8; }
.metodo-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; }
.metodo-card p { color: var(--ink-soft); }

/* ===================== SERVICIOS ===================== */
.servicios { background: var(--bg-soft); }
.serv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.serv-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.serv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(10,116,218,.35); }
.serv-icon { font-size: 2.1rem; display: block; margin-bottom: 14px; }
.serv-card h3 { font-size: 1.18rem; font-weight: 800; margin-bottom: 8px; }
.serv-card p { color: var(--ink-soft); font-size: .98rem; }

/* ===================== VENTAJAS COMPETITIVAS ===================== */
.ventaja-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ventaja-card {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 24px 26px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.ventaja-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(10,116,218,.32); }
.ventaja-card.is-key {
  border-color: rgba(40,167,69,.4);
  box-shadow: 0 0 0 1px rgba(40,167,69,.12), var(--shadow-sm);
  background: linear-gradient(180deg, rgba(40,167,69,.05), #fff 60%);
}
.ventaja-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ventaja-num { font-family: var(--font-head); font-weight: 900; font-size: 1.5rem; color: rgba(10,116,218,.22); }
.ventaja-card.is-key .ventaja-num { color: rgba(40,167,69,.38); }
.ventaja-ico { font-size: 1.9rem; line-height: 1; }
.ventaja-card h3 {
  font-size: 1.08rem; font-weight: 800; margin-bottom: 9px; line-height: 1.3;
}
.ventaja-card p { color: var(--ink-soft); font-size: .95rem; line-height: 1.55; }
@media (max-width: 900px) { .ventaja-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ventaja-grid { grid-template-columns: 1fr; } }


/* ===================== POR QUÉ YO ===================== */
.porque { background: var(--bg-dark); color: #fff; }
.porque-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.porque h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; }
.porque-text > p { color: #b9c6d6; margin: 18px 0; font-size: 1.06rem; }
.porque-list { list-style: none; display: grid; gap: 12px; margin: 22px 0 30px; }
.porque-list li { color: #d7e2ee; }
.porque-media { display: flex; justify-content: center; }
.porque-badge {
  width: 240px; height: 240px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: var(--grad-tri); box-shadow: 0 20px 60px rgba(0,194,255,.3); padding: 20px;
}
.porque-num { font-family: var(--font-head); font-weight: 900; font-size: 5rem; color: #fff; line-height: 1; display: block; }
.porque-label { font-family: var(--font-head); font-weight: 700; color: #fff; }

/* ===================== CONTACTO ===================== */
.contacto { background: var(--bg-soft); }
.cta-box {
  background: var(--bg-dark); border-radius: 28px; padding: clamp(34px, 5vw, 64px);
  color: #fff; box-shadow: var(--shadow-md);
  background-image: radial-gradient(600px 300px at 90% 0%, rgba(0,194,255,.2), transparent 60%);
}
.cta-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.cta-head h2 { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 800; }
.cta-sub { color: #b9c6d6; margin-top: 12px; font-size: 1.05rem; }
.cta-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: start; }
.cta-quick { display: grid; gap: 14px; align-content: start; }
.cta-note { color: #93a3b6; font-size: .9rem; text-align: center; margin-top: 6px; }

.cta-form { background: #fff; border-radius: 18px; padding: 28px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field[hidden] { display: none; }
.field label { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field textarea { resize: vertical; }
.form-status { font-size: .92rem; text-align: center; min-height: 18px; color: var(--green); font-weight: 700; }

/* ===================== FOOTER ===================== */
.site-footer { background: #050f1c; color: #c6d2df; padding-top: 60px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { width: 48px; height: 48px; object-fit: contain; margin-bottom: 12px; }
.footer-brand p { color: #9fb0c0; font-size: .95rem; max-width: 360px; }
.footer-puv { margin-top: 10px; font-size: .88rem !important; color: #7f93a6 !important; }
.footer-links, .footer-contact { display: grid; align-content: start; gap: 10px; }
.footer-links h4, .footer-contact h4 { color: #fff; font-size: 1rem; margin-bottom: 4px; }
.footer-links a, .footer-contact a { color: #9fb0c0; font-size: .95rem; transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; text-align: center; }
.footer-bottom p { color: #7f93a6; font-size: .88rem; }

/* ===================== CONTADOR DE VISITAS (odómetro) ===================== */
.visit-counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  margin: 0 auto 22px;
}
.visit-label {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8aa0b6;
}
.visit-digits { display: inline-flex; align-items: center; gap: 5px; }
.visit-digits .digit {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--cyan);
  background: #0a1a2e;
  border: 1px solid rgba(0,194,255,.45);
  border-radius: 8px;
  min-width: 27px;
  padding: 10px 5px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 4px 14px rgba(0,194,255,.14);
  position: relative;
  overflow: hidden;
}
/* Brillo sutil que recorre el dígito */
.visit-digits .digit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.10), transparent 55%);
  pointer-events: none;
}
.visit-digits .comma {
  color: #5e7691;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 0 1px;
}
/* Pequeño "pop" cuando un dígito cambia durante la animación */
.visit-digits .digit.flip { animation: digitPop .28s ease; }
@keyframes digitPop {
  0%   { transform: translateY(-3px) scale(1.06); color: #fff; }
  100% { transform: translateY(0) scale(1); color: var(--cyan); }
}
@media (prefers-reduced-motion: reduce) {
  .visit-digits .digit.flip { animation: none; }
}

/* ===================== WHATSAPP FLOTANTE ===================== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-content: center; box-shadow: 0 12px 30px rgba(37,211,102,.45);
  transition: transform .2s; animation: pulse 2.4s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse { 0%,100% { box-shadow: 0 12px 30px rgba(37,211,102,.45); } 50% { box-shadow: 0 12px 40px rgba(37,211,102,.7); } }

/* ===================== ANIMACIÓN AL HACER SCROLL ===================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { min-height: 280px; order: -1; }
  .filosofia-inner, .porque-inner, .cta-grid { grid-template-columns: 1fr; }
  .metodo-grid, .serv-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: #fff; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav-links.open { max-height: 420px; }
  .nav-links li { border-top: 1px solid var(--line); }
  .nav-links a { display: block; padding: 16px 20px; }
  .nav-cta { border-radius: 0; }

  .metodo-grid, .serv-grid, .pain-grid, .dif-grid, .footer-inner { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
}



/* ===================== INTRO ANIMADA ===================== */
#introOverlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(900px 600px at 50% 18%, rgba(0,194,255,.22), transparent 60%),
    radial-gradient(700px 500px at 50% 100%, rgba(40,167,69,.16), transparent 60%),
    linear-gradient(160deg, #061222, #0a1a2e 55%, #0A74DA);
  transition: opacity .8s ease, visibility .8s ease;
}
/* Visitas repetidas / reduce-motion: no se muestra (sin parpadeo) */
.intro-seen #introOverlay { display: none; }
/* Salida del intro */
#introOverlay.hide { opacity: 0; visibility: hidden; }

#introCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.intro-brand {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24%;
  text-align: center;
  z-index: 2;
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: .22em;
  font-size: clamp(1.1rem, 4.5vw, 2rem);
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .8s ease, transform .8s ease;
  text-shadow: 0 2px 24px rgba(0,194,255,.45);
}
#introOverlay.formed .intro-brand { opacity: 1; transform: none; }

.intro-skip {
  position: absolute;
  bottom: 26px;
  right: 26px;
  z-index: 3;
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  padding: 9px 18px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background .2s ease;
}
.intro-skip:hover { background: rgba(255,255,255,.24); }

@media (max-width: 600px) {
  .intro-brand { bottom: 20%; }
  .intro-skip { bottom: 18px; right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  #introOverlay { display: none; }
}



/* ===================== ENLACES LEGALES (footer) ===================== */
.footer-legal { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.footer-legal a { color: #9fb0c0; font-size: .85rem; transition: color .2s; }
.footer-legal a:hover { color: var(--cyan); }

/* ===================== PÁGINAS LEGALES ===================== */
.legal-hero { background: var(--bg-soft); padding: 54px 0 26px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 900; }
.legal-hero p { color: var(--ink-soft); margin-top: 8px; }
.legal-updated { color: var(--ink-soft); font-size: .9rem; margin-top: 6px; }
.legal-content { max-width: 840px; margin: 0 auto; padding: 40px 0 64px; }
.legal-content h2 { font-size: 1.25rem; font-weight: 800; margin: 30px 0 10px; color: var(--ink); }
.legal-content h3 { font-size: 1.05rem; font-weight: 800; margin: 20px 0 8px; color: var(--ink); }
.legal-content p { color: var(--ink-soft); line-height: 1.7; margin-bottom: 12px; }
.legal-content ul { margin: 8px 0 14px 22px; }
.legal-content li { color: var(--ink-soft); line-height: 1.7; margin-bottom: 6px; }
.legal-content a { color: var(--blue); }
