/* Paleta y proporciones de mobile/constants/theme.ts. */
:root {
  color-scheme: light;
  --primary: #0B2D5B;
  --accent: #00C6C7;
  --background: #F7F9FC;
  --surface: #FFFFFF;
  --muted: #64748B;
  --border: #E5E7EB;
  --info: #E6F8F8;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--primary);
  background: var(--background);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; overflow-wrap: break-word; }
a { color: var(--primary); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1; padding: 12px 18px; background: var(--surface); }
.skip-link:focus { top: 12px; }
header { background: var(--surface); border-bottom: 1px solid var(--border); }
nav, main, footer .inner { width: min(100% - 48px, 1080px); margin-inline: auto; }
nav { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 16px; }
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { display: block; width: 228px; max-width: 100%; height: auto; }
.links { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.links a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-size: 0.95rem; font-weight: 600; }
.links a:hover, .links a[aria-current="page"] { background: var(--info); }
main { padding-block: 48px 64px; }
h1, h2, h3 { line-height: 1.25; font-weight: 800; }
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); letter-spacing: -0.035em; margin: 16px 0 24px; max-width: 23ch; }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); margin: 36px 0 16px; }
h3 { font-size: 1.1rem; }
p { margin-block: 0 16px; }
.lead { font-size: 1.15rem; }
.eyebrow { display: block; color: var(--muted); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.hero { background: var(--primary); color: var(--surface); border-radius: 12px; padding: clamp(24px, 5vw, 56px); }
.hero .eyebrow { color: var(--accent); }
.hero .lead { max-width: 59ch; }
.hero h1 span { color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; border-radius: 8px; padding: 10px 20px; font-weight: 700; background: var(--accent); color: var(--primary); text-decoration: none; }
.button.secondary { color: var(--surface); background: transparent; border: 1px solid var(--accent); }
.hero a:focus-visible { outline-color: var(--surface); }
.section-heading { margin: 48px 0 24px; }
.section-heading h2 { margin: 8px 0; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px; box-shadow: 0 8px 18px rgb(11 45 91 / 4%); }
.feature h3 { margin-block: 16px 12px; }
.feature p { margin: 0; }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--info); color: var(--primary); border-radius: 8px; font-size: 1.5rem; font-weight: 700; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-left: 24px; }
.steps li { padding-left: 4px; }
.steps li::marker { font-weight: 800; }
.steps strong { display: block; margin-bottom: 8px; }
.notice { background: var(--info); border-left: 4px solid var(--accent); border-radius: 8px; padding: 20px 24px; margin-block: 28px; }
.notice p:last-child { margin-bottom: 0; }
.document { max-width: 820px; }
.document h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.document li { margin-bottom: 8px; }
.updated { color: var(--muted); font-size: 0.9rem; }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; margin-block: 28px; }
.toc p { font-weight: 700; }
.toc ul { margin: 0; padding-left: 20px; }
table { border-collapse: collapse; width: 100%; background: var(--surface); margin-block: 24px; font-size: 0.95rem; }
th, td { padding: 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
th { background: var(--info); }
details { border-bottom: 1px solid var(--border); background: var(--surface); }
summary { cursor: pointer; padding: 20px 16px; font-weight: 700; }
details[open] summary { background: var(--info); }
details > p, details > ol { margin: 16px 20px 24px; }
details > ol { padding-left: 20px; }
footer { background: var(--primary); color: var(--surface); padding-block: 32px; }
footer strong { font-size: 1.2rem; }
footer p { max-width: 68ch; margin-block: 12px; font-size: 0.9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
footer a { color: var(--surface); display: inline-flex; align-items: center; min-height: 44px; }
footer a:focus-visible { outline-color: var(--accent); }
@media (max-width: 760px) {
  nav { flex-direction: column; align-items: flex-start; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 480px) {
  nav, main, footer .inner { width: calc(100% - 32px); }
  main { padding-block: 24px 40px; }
  .brand img { width: 210px; }
  .links { gap: 0; width: 100%; }
  .links a { padding-inline: 9px; font-size: 0.875rem; }
  .features { grid-template-columns: 1fr; }
  .actions { flex-direction: column; align-items: stretch; }
  .notice { padding: 16px; }
  th, td { padding: 12px 8px; font-size: 0.875rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .button { transition: box-shadow 150ms ease; }
  .button:hover { box-shadow: 0 0 0 3px rgb(0 198 199 / 30%); }
}
