/* =============================================================
   Bush & Cohen — propuesta de rediseño
   Arquetipo: 07 Brutalist Grid, adaptado a "ficha técnica / manifiesto
   de carga". Rojo y azul salen del logo y la cabecera de su web actual.
   ============================================================= */

/* =============================================================
   0. Fuentes — alojadas en la web (sin Google Fonts: nadie más ve la IP
   del visitante). Licencia SIL OFL 1.1, ver assets/fonts/LICENCIAS.txt
   ============================================================= */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500 900; font-stretch: 62% 125%; font-display: swap;
  src: url("assets/fonts/archivo-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-400-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-500-latin.woff2") format("woff2"); }

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:      #ffffff;
  --paper:   #f3f4f6;          /* el gris de sus botones, aclarado */
  --ink:     #0c1726;          /* casi negro, con el azul de la marca */
  --ink-2:   #3a4656;
  --mute:    #5b6675;
  --red:     #e1061b;          /* rojo del logotipo */
  --red-2:   #b80014;
  --blue:    #185891;          /* azul de la cabecera actual */
  --blue-2:  #0f3d68;
  --line:    #0c1726;
  --line-soft: rgba(12, 23, 38, .14);

  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --wrap:    1280px;
  --gutter:  clamp(16px, 4vw, 40px);

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--display); font-stretch: 75%; font-weight: 800; line-height: 1; letter-spacing: -0.01em; text-wrap: balance; }
::selection { background: var(--red); color: #fff; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1rem; background: var(--ink); color: #fff; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.mono { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.red { color: var(--red); }
.label { font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* =============================================================
   4. Components
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.35rem;
  font-family: var(--sans); font-weight: 600; font-size: .98rem; line-height: 1.1;
  border: 2px solid transparent;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.btn-red   { background: var(--red); color: #fff; border-color: var(--red); }
.btn-red:hover { background: var(--ink); border-color: var(--ink); }
.btn-line  { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--ink); border-color: #fff; }
.btn-white:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* Wordmark: recreado en tipografía (no se usa el archivo del logo) */
.wordmark {
  display: inline-flex; align-items: baseline;
  font-family: var(--display); font-weight: 900; font-stretch: 88%;
  font-size: clamp(1.45rem, 3.2vw, 1.9rem); line-height: 1; letter-spacing: -0.015em;
  color: var(--red);
}
.wordmark .amp { font-weight: 600; font-stretch: 100%; font-size: .72em; margin-inline: .04em; color: var(--red-2); transform: translateY(-.08em); }
.wordmark-sm { font-size: 1.6rem; }

/* Aviso de propuesta (solo en la demo) */
.demo-bar { background: #fff4d6; color: #4a3b00; font-size: .85rem; line-height: 1.4; text-align: center; padding: .45rem var(--gutter); border-bottom: 1px solid #e9d9a6; }
.demo-note { font-size: .9rem; color: #4a3b00; background: #fff4d6; border: 1px solid #e9d9a6; padding: .7rem .85rem; }
.demo-note a { text-decoration: underline; }
.demo-bar a { text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }

/* =============================================================
   5. Top bar + header
   ============================================================= */
.topbar { background: var(--blue); color: #fff; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 36px; }
.topbar .mono { font-size: .72rem; }
.topbar a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 3px; }
.topbar a:hover { text-decoration-color: #fff; }
.topbar .sep { opacity: .5; margin-inline: .5rem; }
.topbar p:first-child { display: none; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255,255,255,.88); backdrop-filter: blur(8px); }
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.header-inner .wordmark { margin-right: auto; }
.header-cta { display: none; }

.nav { display: none; }
.nav a {
  position: relative; font-weight: 500; font-size: .95rem; padding: .4rem 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav a:hover::after { transform: scaleX(1); }

.burger { width: 48px; height: 48px; display: grid; place-items: center; margin-right: -10px; }
.burger-lines, .burger-lines::before, .burger-lines::after {
  display: block; width: 22px; height: 2px; background: var(--ink);
  transition: transform .3s var(--ease-out), opacity .2s;
}
.burger-lines { position: relative; }
.burger-lines::before, .burger-lines::after { content: ""; position: absolute; left: 0; }
.burger-lines::before { top: -7px; }
.burger-lines::after  { top: 7px; }
.burger[aria-expanded="true"] .burger-lines { background: transparent; }
.burger[aria-expanded="true"] .burger-lines::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-lines::after  { transform: translateY(-7px) rotate(-45deg); }

/* Menú móvil abierto */
.nav.is-open {
  display: flex; flex-direction: column;
  position: fixed; left: 0; right: 0; top: var(--header-bottom, 100px); bottom: 0;
  background: #fff; padding: 0 var(--gutter);
  border-top: 1px solid var(--line);
  overflow-y: auto;
}
.nav.is-open a {
  font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 2.1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--line-soft);
}
.nav.is-open a::after { display: none; }
body.menu-open { overflow: hidden; }
/* backdrop-filter convierte al header en el contenedor de los fixed (gotcha C.3):
   con el menú abierto se quita para que el panel ocupe la pantalla. */
body.menu-open .site-header { backdrop-filter: none; background: #fff; }

/* Sin JS: el menú se ve siempre, en línea */
.no-js .burger { display: none; }
.no-js .nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.no-js .header-inner { flex-wrap: wrap; padding-block: .6rem; }

/* =============================================================
   6. Sections
   ============================================================= */

/* ---------- Hero ---------- */
.hero { border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 2rem; padding-block: 2.5rem 2rem; }
.kicker { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink-2); margin-bottom: 1.25rem; }
.kicker .dot { width: 8px; height: 8px; background: var(--red); }
.hero-title {
  font-size: clamp(2.7rem, 11.5vw, 6.6rem);
  line-height: .92;
  letter-spacing: -0.02em;
  font-stretch: 70%;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line > span { display: inline-block; }
.hero-sub { margin-top: 1.4rem; font-size: 1.08rem; color: var(--ink-2); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.hero-actions .btn { flex: 1 1 auto; }

.hero-media { position: relative; border: 1px solid var(--line); background: var(--paper); aspect-ratio: 4 / 3; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media figcaption {
  position: absolute; left: 0; bottom: 0; background: var(--ink); color: #fff;
  padding: .35rem .6rem; font-size: .68rem;
}

.facts-band { border-top: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: 1fr 1fr; }
.fact { padding: 1.1rem 1rem 1.2rem; }
.fact:nth-child(odd) { padding-left: 0; }
.fact:nth-child(even) { border-left: 1px solid var(--line); }
.fact:nth-child(n+3) { border-top: 1px solid var(--line); }
.fact dt { color: var(--mute); font-size: .7rem; margin-bottom: .35rem; }
.fact dd { font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 1.55rem; line-height: 1; }
.fact dd [data-years] { color: var(--red); font-variant-numeric: tabular-nums; }

/* ---------- Brands marquee ---------- */
.brands { border-bottom: 1px solid var(--line); background: var(--ink); color: #fff; }
.brands-head { padding-top: 1rem; }
.brands-head .label { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .08em; opacity: .7; }
.marquee { position: relative; display: flex; overflow: hidden; padding-block: .9rem 1.2rem; }
.marquee-track {
  display: flex; flex-shrink: 0; gap: 0;
  animation: marquee 45s linear infinite;
}
.marquee-track li {
  font-family: var(--display); font-stretch: 75%; font-weight: 800;
  font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.1; white-space: nowrap;
  padding-right: 1.6rem;
  display: flex; align-items: center; gap: 1.6rem;
}
.marquee-track li::after { content: ""; width: 10px; height: 10px; background: var(--red); flex-shrink: 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Generic section ---------- */
.section { padding-block: clamp(3.5rem, 9vw, 7rem); border-bottom: 1px solid var(--line); }
.section-head { display: grid; gap: .9rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); max-width: 60rem; }
.num { color: var(--red); font-weight: 500; }
.section-head h2 { font-size: clamp(2.4rem, 8vw, 4.8rem); }
.section-lede { font-size: 1.08rem; color: var(--ink-2); max-width: 44rem; }

/* ---------- Products grid (firma: hover invert) ---------- */
.cat-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.cat {
  position: relative; background: var(--bg);
  padding: 1.4rem 1.25rem 1.5rem;
  display: grid; grid-template-columns: 56px 1fr; column-gap: 1rem; align-items: start; align-content: start;
  transition: background-color .22s var(--ease-out), color .22s var(--ease-out);
}
.cat-group { grid-column: 1 / -1; color: var(--mute); font-size: .68rem; margin-bottom: .8rem; transition: color .22s var(--ease-out); }
.cat .icon { grid-row: span 2; width: 56px; height: 56px; }
.cat h3 { font-size: 1.7rem; margin-bottom: .35rem; }
.cat p:not(.cat-group) { font-size: .95rem; color: var(--ink-2); transition: color .22s var(--ease-out); }

.icon * { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: square; stroke-linejoin: miter; transition: stroke .22s var(--ease-out); }
.icon rect:first-child, .icon path:first-child { stroke: var(--red); }

@media (hover: hover) and (pointer: fine) {
  .cat:hover { background: var(--blue); color: #fff; }
  .cat:hover .cat-group, .cat:hover p:not(.cat-group) { color: rgba(255,255,255,.82); }
  .cat:hover .icon * { stroke: #fff; }
}

/* Dibujo de los iconos al entrar en pantalla (solo con JS) */
.reveal-on .cat .icon * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.reveal-on .cat.is-revealed .icon * { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease-soft) .15s, stroke .22s var(--ease-out); }

/* ---------- Crosley ---------- */
.crosley { background: var(--paper); border-bottom: 1px solid var(--line); }
.crosley-grid { display: grid; gap: 1.2rem; padding-block: 2.5rem; }
.crosley .label { color: var(--mute); margin-bottom: .5rem; font-family: var(--mono); font-size: .72rem; }
.crosley h2 { font-size: clamp(2.6rem, 9vw, 4.4rem); color: var(--blue); font-stretch: 90%; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; align-content: start; }
.chips li { border: 1px solid var(--line); background: #fff; padding: .45rem .75rem; font-size: .92rem; font-weight: 500; }

/* ---------- About / reasons ---------- */
.reasons { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.reason { background: var(--bg); padding: 1.6rem 1.4rem 1.8rem; }
.reason-n {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  background: var(--red); color: #fff; font-size: .9rem; margin-bottom: 1.2rem;
}
.reason h3 { font-size: 2rem; margin-bottom: .6rem; }
.reason p { color: var(--ink-2); }

/* ---------- Export ---------- */
.export { background: var(--blue); color: #fff; border-bottom: 1px solid var(--line); }
.export-grid { display: grid; padding-inline: 0; }
.export-media { aspect-ratio: 16 / 10; overflow: hidden; }
.export-media img { width: 100%; height: 100%; object-fit: cover; }
.export-copy { padding: 2.5rem var(--gutter) 3rem; display: grid; gap: 1.1rem; align-content: center; justify-items: start; }
.export-copy .num { color: #fff; opacity: .75; }
.export-copy h2 { font-size: clamp(2.3rem, 7vw, 4rem); }
.export-copy p:not(.num) { font-size: 1.08rem; color: rgba(255,255,255,.9); max-width: 32rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
.info-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.info-list > div { background: var(--bg); padding: 1rem 1.1rem; display: grid; gap: .2rem; }
.info-list dt { color: var(--mute); font-size: .7rem; }
.info-list dd { font-size: 1.12rem; font-weight: 500; }
.info-list a { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.info-list a:hover { color: var(--red); }
.map-link { display: inline-block; margin-top: 1rem; font-weight: 600; border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.map-link:hover { color: var(--red); border-color: var(--red); }

.contact-form { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field .opt { font-weight: 400; color: var(--mute); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 0;
  padding: .8rem .85rem; min-height: 48px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.field input::placeholder, .field textarea::placeholder { color: #8a93a0; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex-shrink: 0; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.form-foot { display: grid; gap: .8rem; justify-items: start; }
.btn-submit { position: relative; min-width: 190px; }
.submit-spinner {
  display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  border-radius: 50%; animation: spin .8s linear infinite;
}
.contact-form.is-sending .submit-spinner { display: inline-block; }
.contact-form.is-sending .btn-submit { opacity: .85; cursor: progress; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-error { color: var(--red-2); font-weight: 600; }

.form-success { border: 1px solid var(--line); padding: 2rem 1.5rem; display: grid; gap: .6rem; background: var(--paper); }
.form-success svg { width: 44px; height: 44px; }
.form-success path { fill: none; stroke: var(--red); stroke-width: 2.4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .7s var(--ease-out) .1s forwards; }
.form-success h3 { font-size: 2rem; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.88); }
.site-footer .wordmark { color: #ff2b3d; }
.site-footer .wordmark .amp { color: #ff5a67; }
.footer-grid { display: grid; gap: 1.8rem; padding-block: 3rem 2rem; }
.footer-tag { margin-top: .7rem; font-size: .95rem; color: rgba(255,255,255,.72); }
.footer-addr { font-style: normal; line-height: 1.8; }
.footer-addr a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-block: 1.3rem 1.6rem; border-top: 1px solid rgba(255,255,255,.18); font-size: .9rem;
}
.site-footer .legal-links { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: .9rem; }
.site-footer .legal-links a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer .legal-links a:hover { color: #fff; }

/* =============================================================
   7. Effects
   ============================================================= */

/* Titular: las líneas suben al cargar. Solo CSS: no depende de que cargue el JS. */
.hero-title .line > span { animation: lineUp .9s var(--ease-out) .1s both; }
.hero-title .line:nth-child(2) > span { animation-delay: .18s; }
.hero-title .line:nth-child(3) > span { animation-delay: .26s; }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }

/* Aparición al hacer scroll. La clase .reveal-on la pone main.js al arrancar:
   si el JS no carga, no se oculta nada. */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(18px); }
.reveal-on [data-reveal].is-revealed { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .topbar p:first-child { display: block; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat { grid-template-columns: 1fr; padding: 1.5rem 1.4rem 1.7rem; }
  .cat .icon { grid-row: auto; margin-bottom: 1.1rem; }
  .hero-actions .btn { flex: 0 0 auto; }
  .contact-form { grid-template-columns: 1fr 1fr; }
  .field-full { grid-column: 1 / -1; }
}

@media (min-width: 720px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .fact, .fact:nth-child(odd) { padding: 1.3rem 1.4rem 1.5rem; }
  .fact:first-child { padding-left: 0; }
  .fact + .fact { border-left: 1px solid var(--line); }
  .fact:nth-child(n+3) { border-top: 0; }
  .reasons { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr auto; align-items: end; }
}

@media (min-width: 960px) {
  .burger { display: none; }
  .nav { display: flex; gap: 1.6rem; }
  .nav-lang { display: none; }
  .header-cta { display: inline-flex; min-height: 42px; padding: .55rem 1.1rem; font-size: .92rem; }
  .header-inner { min-height: 76px; }
  .header-inner .wordmark { font-size: 2.15rem; }

  .hero-grid { grid-template-columns: 7fr 5fr; gap: 3rem; align-items: center; padding-block: 4rem 3.5rem; }
  .hero-media { aspect-ratio: 4 / 5; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .crosley-grid { grid-template-columns: 1fr 2fr; align-items: center; padding-block: 3rem; }
  .export-grid { grid-template-columns: 1fr 1fr; }
  .export-media { aspect-ratio: auto; min-height: 460px; }
  .export-copy { padding: 4rem clamp(2rem, 5vw, 5rem); }
  .contact-grid { grid-template-columns: 5fr 7fr; gap: 4rem; }
}

@media (min-width: 1280px) {
  .hero-title { font-size: 7.2rem; }
}

/* =============================================================
   9. Reduced motion — solo lo intrusivo (ver 04-critical-gotchas A.2)
   El marquee sigue, más lento; los reveals y el dibujo de iconos se quedan.
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation-duration: 90s; }
}

/* =============================================================
   10. Páginas legales (legal-styles.css.template, adaptado)
   ============================================================= */
.legal-page { background: var(--bg); color: var(--ink); }
.legal-header { max-width: 780px; margin: 0 auto; padding: 2rem 1.5rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.legal-back { font-size: .95rem; text-decoration: underline; text-underline-offset: 3px; }
.legal-wrap { max-width: 780px; margin: 0 auto; padding: 2.5rem 1.5rem 4rem; }
.legal-wrap h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); margin-bottom: .6rem; }
.legal-updated { font-size: .9rem; color: var(--mute); margin-bottom: 2.5rem; }
.legal-wrap h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin: 2.5rem 0 .75rem; line-height: 1.15; }
.legal-wrap p, .legal-wrap li { font-size: 1rem; line-height: 1.7; margin-bottom: .9rem; }
.legal-wrap ul { list-style: square; padding-left: 1.2rem; margin-bottom: 1.2rem; }
.legal-wrap li { margin-bottom: .5rem; }
.legal-wrap a { text-decoration: underline; text-underline-offset: 3px; }
.legal-h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-top: 1rem; }
.legal-lang { border-top: 2px solid var(--line); margin-top: 3.5rem; padding-top: 1rem; }
.legal-footer {
  max-width: 780px; margin: 0 auto; padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .95rem;
}
.legal-footer nav { display: flex; gap: 1.25rem; }
.legal-footer a { text-decoration: underline; text-underline-offset: 3px; }
