:root {
  color-scheme: light dark;
  --bg: #f7f7f0;
  --surface: #ffffff;
  --soft: #eaf2e8;
  --ink: #182b26;
  --muted: #425950;
  --line: #b9c9bf;
  --control: #637b70;
  --accent: #225747;
  --button: #173e33;
  --button-text: #ffffff;
  --hero: #142e27;
  --hero-text: #f6faf2;
  --hero-muted: #bed6c9;
  --lime: #d8efa4;
  --lime-ink: #162c20;
  --focus: #225747;
  font-family: system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111e1a;
    --surface: #192b25;
    --soft: #223a30;
    --ink: #f0f6ed;
    --muted: #bed6c9;
    --line: #547065;
    --control: #8ba69a;
    --accent: #c2e69a;
    --button: #d8efa4;
    --button-text: #162c20;
    --focus: #d8efa4;
  }
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.55; }
a { color: var(--accent); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip { position: absolute; inset: .75rem auto auto .75rem; z-index: 2; padding: .6rem 1rem; background: var(--surface); }
.skip:not(:focus) { clip-path: inset(50%); }
.wrap { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.narrow { max-width: 48rem; }
header { border-bottom: 1px solid var(--line); }
.bar, nav, .languages, .footer-row { display: flex; align-items: center; flex-wrap: wrap; }
.bar { justify-content: space-between; gap: .65rem 1.25rem; padding-block: .75rem; }
nav { gap: .35rem 1.25rem; }
nav a, .languages a { padding-block: .45rem; }
nav a { color: var(--ink); font-weight: 600; text-decoration: none; }
nav a:hover, nav [aria-current] { text-decoration: underline; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.35rem; letter-spacing: -.045em; }
.brand svg { width: 1.65rem; height: 1.65rem; color: var(--accent); }
.languages { gap: .65rem; font-size: .84rem; font-weight: 750; }
.languages [aria-current] { color: var(--ink); text-decoration: none; }
.hero { color: var(--hero-text); background: var(--hero); --focus: var(--lime); padding-block: clamp(3rem, 8vw, 7rem); }
.hero-grid, .report-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.75rem, 5vw, 5rem); align-items: center; }
h1, h2, h3, p { margin: 0 0 1rem; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.04em; }
h1 { font-size: clamp(2.6rem, 6vw, 5.25rem); max-width: 17ch; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.35rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 58ch; }
.hero .lead, .hero .fine { color: var(--hero-muted); }
.fine, small { font-size: .92rem; color: var(--muted); }
.button { display: inline-block; border: 0; border-radius: .5rem; background: var(--button); color: var(--button-text); padding: .8rem 1.15rem; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; }
.button:hover { text-decoration: underline; }
.hero .button { background: var(--lime); color: var(--lime-ink); }
.button + .fine { margin: .65rem 0 0; }
.hero-panel { padding: clamp(1rem, 3vw, 2rem); border: 1px solid #547065; border-radius: 1rem; }
.hero-panel svg { display: block; width: 100%; height: auto; margin-bottom: 1.25rem; }
.hero-panel dl { margin: 0; }
.hero-panel dl div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; border-top: 1px solid #547065; padding: .65rem 0; }
.hero-panel dd { margin: 0; color: var(--lime); }
.band { padding-block: clamp(2.75rem, 6vw, 5.5rem); }
.tinted { background: var(--soft); }
.section-head { margin-bottom: 1.75rem; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card, .mail, form { border: 1px solid var(--line); border-radius: .85rem; padding: clamp(1rem, 2.5vw, 1.75rem); background: var(--surface); }
.card p:last-child, .mail p:last-child, .hero-panel p:last-child { margin-bottom: 0; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: steps; }
.steps li::before { counter-increment: steps; content: counter(steps, decimal-leading-zero); display: block; color: var(--accent); font-weight: 750; margin-bottom: .65rem; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--soft); color: var(--ink); padding: .75rem; border-radius: .4rem; }
code { overflow-wrap: anywhere; }
.tag { display: inline-block; border-radius: .35rem; padding: .25rem .5rem; background: var(--soft); color: var(--ink); font-size: .875rem; font-weight: 700; }
.mail { box-shadow: 0 .5rem 1.5rem #0002; overflow-wrap: anywhere; }
.mail-head { border-bottom: 1px solid var(--line); margin-bottom: 1rem; padding-bottom: .75rem; }
.mail-head p { margin-bottom: .35rem; }
.price { font-weight: 800; font-size: 2.5rem; letter-spacing: -.055em; }
ul { padding-inline-start: 1.25rem; }
li + li { margin-top: .35rem; }
.grid > li { margin-top: 0; }
details { border-top: 1px solid var(--line); padding: .8rem 0; }
details:last-child { border-bottom: 1px solid var(--line); }
details p { margin: .5rem 0 0; }
summary { cursor: pointer; font-weight: 700; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; overflow-wrap: anywhere; margin-block: 1rem 1.5rem; }
caption { text-align: left; font-weight: 750; padding-bottom: .5rem; }
th, td { text-align: left; vertical-align: top; padding: .65rem clamp(.35rem, 1.6vw, 1rem); border-bottom: 1px solid var(--line); }
thead { background: var(--soft); }
form { display: grid; gap: 1rem; }
.field { display: grid; gap: .3rem; min-width: 0; }
label { font-weight: 650; }
input:not([type=checkbox]) { width: 100%; padding: .6rem .7rem; border: 1px solid var(--control); border-radius: .35rem; font: inherit; background: var(--bg); color: var(--ink); }
input[type=checkbox] { accent-color: var(--accent); width: 1.15rem; height: 1.15rem; margin: .2rem 0 0; }
.check { display: flex; gap: .65rem; align-items: flex-start; }
form .button { justify-self: start; }
.prose > .fine + section { margin-top: 2rem; }
.grid + p { margin-top: 1rem; }
.plan-feature { width: 50%; }
footer { border-top: 1px solid var(--line); padding-block: 1.5rem; color: var(--muted); }
.footer-row { gap: .45rem 1rem; }
.prose section + section { margin-top: 2.25rem; }
@media (max-width: 48rem) {
  .hero-grid, .report-grid, .grid, .grid.two { grid-template-columns: minmax(0, 1fr); }
  .bar nav:not(.languages) { order: 1; width: 100%; }
}

/* Páginas de texto largo (legales, seguridad): subtítulos más chicos */
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); letter-spacing: -.02em; margin-top: 2.25rem; }
