/* +1 Run — site styles. System fonts only: no third-party requests, no cookies. */
:root {
  --bg: #0a0b0d; --bg-elev: #131519; --bg-elev2: #1b1e24; --border: rgba(255,255,255,0.08);
  --text: #f2f3f5; --dim: #9aa0ac; --faint: #6b7280; --accent: #ff5c35; --good: #3ddc97;
  --radius: 16px; --max: 1080px;
  --display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); }
a { color: var(--accent); text-underline-offset: 3px; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
img, svg { display: block; max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* language switching: both languages ship in the page; one is shown */
html[data-lang="es"] [lang="en"]:not(html), html[data-lang="en"] [lang="es"]:not(html) { display: none !important; }
html:not([data-lang]) [lang="en"]:not(html) { display: none !important; }

header.top { position: sticky; top: 0; z-index: 10; background: rgba(10,11,13,0.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 700 18px/1 var(--display); letter-spacing: -0.3px; }
.brand img { width: 28px; height: auto; }
nav.links { display: flex; align-items: center; gap: 18px; font-size: 14px; }
nav.links a { color: var(--dim); text-decoration: none; }
nav.links a:hover { color: var(--text); }
.lang { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.lang button { background: none; border: 0; color: var(--dim); font: 600 12px/1 var(--sans); padding: 7px 10px; cursor: pointer; }
html[data-lang="es"] .lang [data-set="es"], html[data-lang="en"] .lang [data-set="en"], html:not([data-lang]) .lang [data-set="es"] { background: var(--bg-elev2); color: var(--text); }

.eyebrow { font: 600 12px/1.2 var(--mono); letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.5px; line-height: 1.15; margin: 0 0 14px; }
h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 650; }
p { margin: 0 0 14px; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--dim); max-width: 620px; }

.hero { padding-top: 72px; padding-bottom: 56px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.hero .mark { width: min(320px, 70%); height: auto; justify-self: center; }
.badge-soon { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-elev); font-size: 14px; color: var(--dim); }
.badge-soon .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,92,53,0.18); }

section.band { padding: 56px 0; border-top: 1px solid var(--border); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.card .n { font: 600 13px/1 var(--mono); color: var(--accent); margin-bottom: 14px; }
.card p { color: var(--dim); margin: 0; font-size: 15px; }
.note { border-left: 3px solid var(--accent); background: var(--bg-elev); padding: 14px 18px; border-radius: 0 12px 12px 0; color: var(--dim); font-size: 15px; }

/* legal / long-form */
.doc { padding-top: 48px; padding-bottom: 72px; max-width: 760px; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); }
.doc h2 { font-size: 22px; margin-top: 36px; }
.doc p, .doc li { color: #d3d6dc; }
.doc ul { padding-left: 22px; margin: 0 0 14px; }
.doc li { margin-bottom: 6px; }
.meta { color: var(--faint); font-size: 14px; margin-bottom: 28px; }
.toc { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; font-size: 14px; margin-bottom: 8px; }
.toc a { color: var(--dim); }

footer.bottom { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--faint); font-size: 14px; }
footer.bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
footer.bottom .links-row { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer.bottom a { color: var(--dim); text-decoration: none; }
footer.bottom a:hover { color: var(--text); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 36px; gap: 24px; }
  .hero .mark { width: 120px; justify-self: start; order: -1; }
  .grid { grid-template-columns: 1fr; }
  nav.links a.hide-sm { display: none; }
}
