/* Muévela (muevelaplata.com)
   Concepto: la colilla de pago. Papel crema (#F7F6F1), tinta verde billete,
   y el resaltador amarillo solo sobre el total que importa. */
:root {
  --paper: #F7F6F1;
  --sheet: #FFFFFF;
  --ink: #17211D;
  --muted: #536159;
  --line: #CDD6D0;
  --verde: #0D5A48;
  --verde-ink: #FFFFFF;
  --verde-soft: #E3EFEA;
  --marker: #F6D84A;
  --marker-ink: #1A1A12;
  --rojo: #A23B2C;
  --focus: #1F7AE0;
  --logo-accent: #0D5A48;

  --font-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5625rem;
  --step-3: 2rem;
  --step-4: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);

  --measure: 68ch;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0F1613; --sheet: #16201C; --ink: #E4ECE7; --muted: #9DADA5; --line: #2C3934;
    --verde: #4FBF9B; --verde-ink: #0B1310; --verde-soft: #1A2A24;
    --marker: #E8C93A; --marker-ink: #15150C; --rojo: #E27C6A; --focus: #7DB6FF; --logo-accent: #F6D84A;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0F1613; --sheet: #16201C; --ink: #E4ECE7; --muted: #9DADA5; --line: #2C3934;
  --verde: #4FBF9B; --verde-ink: #0B1310; --verde-soft: #1A2A24;
  --marker: #E8C93A; --marker-ink: #15150C; --rojo: #E27C6A; --focus: #7DB6FF; --logo-accent: #F6D84A;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--verde); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: var(--gutter); top: 8px; background: var(--sheet); padding: 8px 12px; z-index: 10; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-stretch: 85%;
  line-height: 1.1;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: var(--step-3); font-weight: 750; }
h3 { font-size: var(--step-1); font-weight: 700; font-stretch: 95%; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }

/* Encabezado */
.site-header { background: var(--sheet); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 14px; }
.wordmark {
  font-family: var(--font-display); font-stretch: 70%; font-weight: 800; font-size: 1.5rem;
  color: var(--ink); text-decoration: none; letter-spacing: -0.01em; line-height: 1;
  display: inline-flex; align-items: baseline; gap: 0.3em;
}
.wordmark svg { height: 30px; width: auto; display: block; }
.logo-word { fill: var(--ink); }
.logo-accent { fill: var(--logo-accent); }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-left: auto; align-items: center; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: var(--step--1); padding-block: 6px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--verde); text-decoration: underline; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 var(--step--1)/1 var(--font-body);
  background: var(--verde); color: var(--verde-ink); border: 0; border-radius: var(--radius);
  padding: 12px 18px; text-decoration: none; cursor: pointer;
}
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.site-nav .btn { background: var(--marker); color: var(--marker-ink); padding: 10px 14px; }
.site-nav .btn:hover { color: var(--marker-ink); filter: brightness(0.96); }

main { display: block; }

/* Migas de pan */
.crumbs { font-size: var(--step--1); color: var(--muted); padding-block: 20px 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }

/* Portada y calculadoras: formulario + colilla */
.calc-hero { padding-block: 32px 48px; }
.calc-hero .intro { max-width: 46ch; display: grid; gap: 12px; margin-bottom: 28px; }
.lede { font-size: var(--step-1); color: var(--muted); line-height: 1.45; }
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: start; }
@media (max-width: 860px) { .calc-grid { grid-template-columns: minmax(0, 1fr); } }

.calc-form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 700; font-size: var(--step--1); }
.field .hint { font-size: var(--step--1); color: var(--muted); }
.field input, .field select {
  font: inherit; color: var(--ink); background: var(--sheet);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 12px; width: 100%;
  font-variant-numeric: tabular-nums;
}
.field input:focus, .field select:focus { border-color: var(--verde); outline: 2px solid var(--verde); outline-offset: 0; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 480px) { .row2 { grid-template-columns: minmax(0, 1fr); } }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label {
  font-weight: 400; display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; background: var(--sheet);
  white-space: nowrap; flex: 0 0 auto;
}
.choices input { accent-color: var(--verde); margin: 0; }
.choices label:has(input:checked) { border-color: var(--verde); background: var(--verde-soft); font-weight: 700; }

/* La colilla: el único elemento con personalidad fuerte */
.colilla {
  position: relative; background: var(--sheet); color: var(--ink);
  border: 1px solid var(--line); border-radius: 2px;
  padding: 28px 26px 22px;
  box-shadow: 0 1px 0 var(--line), 0 18px 32px -24px rgba(13, 50, 40, 0.35);
}
.colilla::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 10px;
  background: radial-gradient(circle at 7px 0, var(--paper) 5px, transparent 5.5px) 0 0 / 14px 10px repeat-x;
}
.colilla-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 6px; }
.colilla-head h2 { font-size: var(--step-1); font-stretch: 75%; font-weight: 800; }
.colilla-head p { font-size: var(--step--1); color: var(--muted); text-align: right; }
.colilla-section { font-family: var(--font-display); font-stretch: 80%; font-weight: 700; font-size: var(--step--1); color: var(--muted); padding-top: 12px; }
.linea { display: flex; align-items: baseline; gap: 8px; padding-block: 7px; font-size: var(--step-0); }
.linea .concepto { flex: 0 1 auto; min-width: 0; }
.linea .concepto small { display: block; color: var(--muted); font-size: 0.8rem; line-height: 1.3; }
.linea .puntos { flex: 1 1 24px; border-bottom: 1px dotted var(--muted); transform: translateY(-5px); min-width: 24px; }
.linea .valor { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.linea.descuento .valor { color: var(--rojo); }
.linea.cero { color: var(--muted); }
.linea.cero .valor { font-weight: 400; }
.total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  border-top: 2px solid var(--ink); margin-top: 10px; padding-top: 14px;
}
.total .concepto { font-family: var(--font-display); font-stretch: 80%; font-weight: 800; font-size: var(--step-1); }
.total .valor {
  font-family: var(--font-display); font-weight: 800; font-size: var(--step-3); font-variant-numeric: tabular-nums;
  background: linear-gradient(transparent 18%, var(--marker) 18%, var(--marker) 88%, transparent 88%);
  color: var(--marker-ink); padding-inline: 6px; margin-right: -6px; line-height: 1.1;
}
.colilla-foot { margin-top: 16px; font-size: var(--step--1); color: var(--muted); display: grid; gap: 10px; }
.colilla-foot .btn { justify-self: start; }
.aviso { font-size: var(--step--1); color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .total .valor.flash { animation: swipe 0.6s ease-out; }
  @keyframes swipe { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
  .total .valor { background-repeat: no-repeat; background-size: 100% 100%; }
}

/* Bloques de la portada */
.band { padding-block: 48px; border-top: 1px solid var(--line); }
.band-head { display: grid; gap: 8px; margin-bottom: 24px; max-width: 60ch; }
.band-head p { color: var(--muted); }
.tool-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 0 32px; }
.tool-list li { border-top: 1px solid var(--line); }
.tool-list a { display: grid; gap: 2px; padding: 16px 0; text-decoration: none; color: var(--ink); }
.tool-list a strong { font-family: var(--font-display); font-stretch: 85%; font-size: var(--step-1); color: var(--verde); }
.tool-list a span { color: var(--muted); font-size: var(--step--1); }
.tool-list a:hover strong { text-decoration: underline; }

.topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 28px 32px; }
.topic h3 { margin-bottom: 8px; padding-bottom: 6px; border-bottom: 2px solid var(--ink); }
.topic ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }

/* Bloque de suscripción */
.join { background: var(--verde); color: var(--verde-ink); padding-block: 48px; }
.join .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 860px) { .join .wrap { grid-template-columns: minmax(0, 1fr); } }
.join h2 { color: var(--verde-ink); }
.join p, .join li { color: var(--verde-ink); }
.join ul { margin: 14px 0 0; padding-left: 1.2em; display: grid; gap: 6px; }
.join a { color: var(--verde-ink); }
.signup { background: var(--sheet); color: var(--ink); border-radius: var(--radius); padding: 20px; display: grid; gap: 12px; }
.signup p, .signup label { color: var(--ink); }
.signup .consent { display: flex; gap: 10px; align-items: flex-start; font-size: var(--step--1); line-height: 1.45; }
.signup .consent input { margin-top: 3px; accent-color: var(--verde); }
.signup a { color: var(--verde); }
.signup iframe { width: 100%; border: 0; min-height: 120px; background: transparent; }
.signup-msg { font-size: var(--step--1); font-weight: 700; }
.signup-msg.ok { color: var(--verde); }
.signup-msg.err { color: var(--rojo); }

/* Artículos */
.article { padding-block: 16px 56px; }
.article-grid { display: grid; grid-template-columns: minmax(0, var(--measure)) minmax(0, 280px); gap: 48px; justify-content: space-between; }
@media (max-width: 960px) { .article-grid { grid-template-columns: minmax(0, 1fr); } }
.article header { display: grid; gap: 14px; margin: 16px 0 28px; }
.meta { font-size: var(--step--1); color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 16px; }
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: var(--step-2); margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.35em; }
.prose table { border-collapse: collapse; width: 100%; font-size: var(--step--1); font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; }
.prose th, .prose td { text-align: left; border-bottom: 1px solid var(--line); padding: 9px 10px 9px 0; vertical-align: top; }
.prose th { font-family: var(--font-display); font-stretch: 85%; font-size: var(--step-0); border-bottom: 2px solid var(--ink); }
.prose blockquote { margin: 1.4em 0; padding: 14px 18px; background: var(--verde-soft); border-radius: var(--radius); }
.prose code { font-family: inherit; font-weight: 700; }
.formula { font-weight: 700; background: var(--verde-soft); padding: 12px 16px; border-radius: var(--radius); display: block; }
.toc { font-size: var(--step--1); border-left: 2px solid var(--line); padding-left: 16px; }
.toc p { font-weight: 700; margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; }
aside.side { display: grid; gap: 24px; align-content: start; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 16px); }
@media (max-width: 960px) { aside.side { position: static; } }
.side-cta { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 10px; }
.side-cta strong { font-family: var(--font-display); font-stretch: 85%; font-size: var(--step-1); line-height: 1.15; }
.faq { margin-top: 2.4em; }
.faq details { border-top: 1px solid var(--line); padding-block: 12px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin-top: 8px; }
.sources { margin-top: 2.4em; font-size: var(--step--1); color: var(--muted); }
.sources ul { padding-left: 1.2em; }
.related { margin-top: 2.4em; }
.related ul { list-style: none; padding: 0; display: grid; gap: 8px; }

/* Calculadora en página propia: contenido debajo */
.calc-content { padding-block: 8px 56px; }

/* Pie */
.site-footer { border-top: 1px solid var(--line); background: var(--sheet); padding-block: 36px; font-size: var(--step--1); color: var(--muted); }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.site-footer h2 { font-size: var(--step-0); font-stretch: 85%; color: var(--ink); margin-bottom: 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a { color: var(--muted); }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 16px; }

.hub-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.hub-list li { border-top: 1px solid var(--line); padding-block: 14px; display: grid; gap: 2px; }
.hub-list a { font-family: var(--font-display); font-stretch: 85%; font-weight: 700; font-size: var(--step-1); text-decoration: none; }
.hub-list a:hover { text-decoration: underline; }
.hub-list span { color: var(--muted); font-size: var(--step--1); }
.page { padding-block: 16px 56px; }
.page header { display: grid; gap: 12px; margin: 16px 0 28px; max-width: 60ch; }
.benefits { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 28px; margin-block: 8px 40px; }
.benefits h2 { font-size: var(--step-1); margin-bottom: 8px; }

/* Lema y antetítulos */
.eyebrow { font: 700 var(--step-0)/1.2 var(--font-display); color: var(--verde); margin: 0 0 8px; }
.site-footer .slogan { font-family: var(--font-display); font-weight: 800; color: var(--ink); margin: -4px 0 8px; }
.section-h { font-size: var(--step-2); margin: 8px 0 16px; }
.topics-grid h3 { font-size: var(--step-0); margin-bottom: 4px; }
@media (max-width: 640px) { .site-nav { gap: 4px 14px; } }

/* ---------- Portada ---------- */
.home-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-block: 40px 32px; }
.hero-text { display: grid; gap: 14px; max-width: 40ch; }
.hero-text h1 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.2rem); line-height: 1; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn-big { padding: 14px 20px; font-size: var(--step-0); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); filter: none; }
.hero-fajo { position: relative; display: grid; justify-items: center; }
.hero-fajo img { width: min(236px, 60vw); height: auto; }
.bubble { position: relative; background: var(--sheet); border: 2px solid var(--ink); border-radius: 18px; padding: 12px 16px; max-width: 30ch;
  font-weight: 700; margin-bottom: 10px; }
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 16px; height: 16px; background: var(--sheet);
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateX(-50%) rotate(45deg); }

.ticker { background: var(--ink); color: var(--paper); }
.ticker ul { list-style: none; margin: 0 auto; display: flex; gap: 8px 22px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.ticker ul::-webkit-scrollbar { display: none; }
.ticker li { display: flex; gap: 8px; align-items: baseline; white-space: nowrap; font-size: var(--step--1); }
.ticker span { opacity: .75; }
.ticker strong { font-family: var(--font-display); font-size: var(--step-0); }
.ticker em { font-style: normal; color: var(--marker); font-weight: 700; }

.fajo-says { display: flex; gap: 12px; align-items: flex-end; margin-top: 28px; max-width: 62ch; }
.fajo-says img { flex: none; width: 53px; height: auto; }
.fajo-says p { position: relative; background: var(--marker); color: var(--marker-ink); border-radius: 16px 16px 16px 4px; padding: 10px 14px; margin: 0 0 18px; }
.fajo-says a { color: inherit; font-weight: 700; }

.more { margin-top: 12px; font-weight: 700; }
.card-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.card-list a { display: grid; gap: 10px; align-content: start; height: 100%; background: var(--sheet); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px; text-decoration: none; color: var(--ink); box-sizing: border-box; }
.card-list a:hover { border-color: var(--ink); }
.card-list strong { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.15; }
.badge { justify-self: start; background: var(--verde-soft); color: var(--verde); font-size: 0.75rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.pill-list { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { border: 2px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 700; }

/* ---------- Dólar hoy ---------- */
.dolar { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; background: var(--sheet); border: 1px solid var(--line);
  border-radius: 14px; padding: clamp(18px, 3vw, 28px); }
.dolar-h { font-size: var(--step-3); margin: 0 0 4px; }
.dolar-label, .dolar-nota, .dolar-fuente { color: var(--muted); margin: 0; }
.dolar-fuente { font-size: 0.8rem; margin-top: 8px; }
.dolar-valor { margin: 6px 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.dolar-valor strong { font-family: var(--font-display); font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); line-height: 1; }
.dolar-cambio { font-weight: 700; background: var(--marker); color: var(--marker-ink); padding: 2px 8px; border-radius: 999px; }
.spark { width: 100%; height: 64px; margin-top: 12px; }
.spark path { fill: none; stroke: var(--verde); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.dolar-conv { display: grid; gap: 12px; align-content: start; }
.conv-res { font-family: var(--font-display); font-size: var(--step-1); font-weight: 700; margin: 0; }
.dolar-otras { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dolar-otras li { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 6px; }
.dolar-more { font-weight: 700; }

/* ---------- Fajo flotante ---------- */
.fajo-float { position: fixed; right: 12px; bottom: 12px; z-index: 50; display: flex; align-items: flex-end; gap: 6px; max-width: min(340px, calc(100vw - 24px));
  opacity: 0; transform: translateY(16px); transition: opacity .3s ease, transform .3s ease; }
.fajo-float.is-in { opacity: 1; transform: none; }
.fajo-float img { width: 70px; height: auto; flex: none; }
.fajo-bubble { background: var(--sheet); color: var(--ink); border: 2px solid var(--ink); border-radius: 16px 16px 4px 16px; padding: 12px 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,.15); font-size: var(--step--1); }
.fajo-txt { margin: 0 0 8px; }
.fajo-actions { display: flex; justify-content: space-between; gap: 8px; }
.fajo-actions button { font: 700 0.8rem/1 var(--font-body); background: none; border: 0; color: var(--verde); cursor: pointer; padding: 6px 4px; }
.fajo-close { font-size: 1.2rem !important; color: var(--muted) !important; }
@media (prefers-reduced-motion: reduce) { .fajo-float { transition: none; } }

@media (max-width: 760px) {
  .home-hero, .dolar { grid-template-columns: 1fr; }
  .home-hero { padding-block: 24px; gap: 20px; }
  .hero-fajo { grid-template-columns: auto 1fr; align-items: center; justify-items: start; gap: 12px; }
  .hero-fajo img { width: 84px; grid-row: 1; grid-column: 1; }
  .hero-fajo .bubble { grid-row: 1; grid-column: 2; margin: 0; font-size: var(--step--1); }
  .hero-fajo .bubble::after { left: -9px; top: 50%; bottom: auto; transform: translateY(-50%) rotate(135deg); }
  .fajo-float img { width: 52px; }
}

/* =========== Portada v2: Robinhood + Businessweek =========== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ico { display: block; flex: none; }
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(32px, 5vw, 56px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 5vw, 72px); align-items: end; }
.hero-copy { display: grid; gap: 22px; }
.hero h1 { font-size: clamp(2.6rem, 1.4rem + 5.2vw, 5.6rem); line-height: .95; letter-spacing: -0.025em; font-weight: 800; max-width: 13ch; margin: 0; }
.hero-sub { font-size: var(--step-1); line-height: 1.45; color: var(--muted); max-width: 46ch; margin: 0; }
.hero-fajo { margin: 0; position: relative; justify-self: center; }
.hero-fajo img { width: 300px; height: auto; display: block; }
.hero-fajo .bubble { position: absolute; top: 4%; right: 72%; width: max-content; max-width: 22ch; margin: 0; text-align: left;
  font-weight: 700; font-size: var(--step--1); line-height: 1.3; }
.hero-fajo .bubble::after { left: auto; right: -9px; top: 60%; bottom: auto; transform: translateY(-50%) rotate(-45deg); }

.signup-inline { display: grid; gap: 8px; max-width: 520px; }
.si-row { display: flex; gap: 8px; }
.si-row input { flex: 1; min-width: 0; font: inherit; font-size: var(--step-0); padding: 14px 16px; border: 2px solid var(--ink); border-radius: 999px; background: var(--sheet); color: var(--ink); }
.si-row .btn { border-radius: 999px; padding: 14px 22px; white-space: nowrap; font-size: var(--step-0); }
.signup-inline .consent { font-size: 0.8rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.signup-inline .consent input { margin-top: 2px; }

.sec { padding-block: clamp(48px, 6vw, 80px); }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); letter-spacing: -0.02em; margin: 0; }
.sec-head a { font-weight: 700; white-space: nowrap; }
.sec-sub { color: var(--muted); margin: -12px 0 24px; max-width: 52ch; }

.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tiles a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px; align-items: center;
  padding: 20px; background: var(--sheet); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); height: 100%; box-sizing: border-box; }
.tiles .ico { grid-row: 1 / span 2; color: var(--verde); background: var(--verde-soft); padding: 10px; border-radius: 12px; box-sizing: content-box; }
.tiles strong { font-family: var(--font-display); font-size: var(--step-1); }
.tiles span { color: var(--muted); font-size: var(--step--1); line-height: 1.35; }
.tiles a:hover, .tiles a:focus-visible { border-color: var(--ink); }

.sec-dark { background: var(--ink); color: var(--paper); border-top: 0 !important; }
.sec-dark + .sec { border-top: 0; }
.sec-dark .dolar { background: transparent; border: 0; padding: 0; }
.sec-dark .dolar-h { color: var(--paper); font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); }
.sec-dark .dolar-label, .sec-dark .dolar-nota, .sec-dark .dolar-fuente { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.sec-dark .spark path { stroke: var(--marker); }
.sec-dark .dolar-conv { background: color-mix(in srgb, var(--paper) 7%, transparent); border-radius: 16px; padding: 20px; }
.sec-dark .dolar-conv label, .sec-dark .conv-res, .sec-dark .dolar-otras { color: var(--paper); }
.sec-dark .dolar-otras li { border-color: color-mix(in srgb, var(--paper) 20%, transparent); }
.sec-dark .dolar-more { color: var(--marker); }
.sec-dark input, .sec-dark select { background: var(--paper); color: var(--ink); }
.sec-dark .dolar-valor strong { font-size: clamp(3rem, 2rem + 4vw, 5.4rem); color: var(--paper); }

.news { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; }
.news a { display: flex; flex-direction: column; gap: 12px; height: 100%; box-sizing: border-box; padding: 22px; border-radius: 16px;
  background: var(--sheet); border: 1px solid var(--line); text-decoration: none; color: var(--ink); min-height: 220px; }
.news strong { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.1; }
.news .tag { align-self: flex-start; font-size: 0.8rem; font-weight: 700; color: var(--verde); background: var(--verde-soft); padding: 4px 10px; border-radius: 999px; }
.news .date { margin-top: auto; color: var(--muted); font-size: var(--step--1); }
.news .lead a { background: var(--verde); border-color: var(--verde); color: var(--verde-ink); }
.news .lead strong { font-size: var(--step-3); }
.news .lead .tag { background: var(--marker); color: var(--marker-ink); }
.news .lead .date { color: color-mix(in srgb, var(--verde-ink) 75%, transparent); }
.news a:hover strong { text-decoration: underline; }

.sec-soft { background: var(--verde-soft); border-top: 0 !important; }
.sec-soft + .sec { border-top: 0; }
.guide-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.guide-tiles a { display: grid; gap: 14px; align-content: start; height: 100%; box-sizing: border-box; padding: 20px; border-radius: 16px;
  background: var(--sheet); text-decoration: none; color: var(--ink); }
.guide-tiles .ico { color: var(--verde); }
.guide-tiles strong { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.15; }
.guide-tiles a:hover strong { text-decoration: underline; }

.sec-yellow { background: var(--marker); color: var(--marker-ink); border-top: 0 !important; overflow: hidden; }
.sec-yellow + * { border-top: 0; }
.aca-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; align-items: center; }
.aca-grid h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); letter-spacing: -0.02em; color: var(--marker-ink); margin: 0 0 12px; }
.aca-lead { font-size: var(--step-1); max-width: 42ch; margin: 0 0 20px; }
.routes { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.routes li { border: 2px solid var(--marker-ink); border-radius: 999px; padding: 6px 14px; font-weight: 700; }
.btn-ink { background: var(--marker-ink); color: var(--marker); }
.btn-ink:hover { color: var(--marker); }
.aca-fajo { width: 240px; height: auto; transform: rotate(6deg); justify-self: center; }

@media (max-width: 960px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news { grid-template-columns: 1fr 1fr; }
  .news .lead { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-fajo { order: -1; justify-self: start; display: flex; align-items: center; gap: 12px; }
  .hero-fajo img { width: 96px; }
  .hero-fajo .bubble { position: relative; top: auto; right: auto; }
  .hero-fajo .bubble::after { right: auto; left: -9px; top: 50%; transform: translateY(-50%) rotate(135deg); }
  .si-row { flex-direction: column; }
  .tiles, .guide-tiles, .news { grid-template-columns: 1fr; }
  .tiles a { padding: 16px; }
  .news a { min-height: 0; }
  .aca-grid { grid-template-columns: 1fr; }
  .aca-fajo { display: none; }
}

/* Formulario de beehiiv */
.bh-form { width: 100%; max-width: 520px; min-height: 96px; }
.join .bh-form { max-width: none; }
