/* Fuentes alojadas en la propia web (sin Google Fonts) */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("fuentes/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("fuentes/montserrat-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 900; font-display: swap; src: url("fuentes/montserrat-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fuentes/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fuentes/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fuentes/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("fuentes/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fuentes/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fuentes/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("fuentes/jetbrains-mono-latin-700-normal.woff2") format("woff2"); }


/* Diseño B "Editor" en claro: página blanca, editor y terminal en grafito. */
:root {
  --bg: #FFFFFF; --bg-2: #F5F6F8; --panel: #ECEEF1; --line: #E1E4E8;
  --fg: #1D2025; --muted: #5B626C; --dim: #8A919B;
  --red: #E11D2E; --red-deep: #E11D2E; --green: #1E9E62; --yellow: #FACC15; --blue: #7DB3FF;
  --ed-bg: #1E2126; --ed-panel: #24282E; --ed-line: #33383F; --ed-fg: #ECEEF1; --ed-dim: #6B727D; --ed-green: #4ADE80; --ed-red: #FF3B4A;
  --f-display: "Montserrat", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--f-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
h1, h2, h3 { font-family: var(--f-display); margin: 0; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
.mono { font-family: var(--f-mono); }
.c-red { color: var(--red); } .c-dim { color: var(--dim); } .c-green { color: var(--green); } .c-yellow { color: var(--yellow); } .c-blue { color: var(--blue); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 15px var(--f-body); padding: 13px 22px; border-radius: 10px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red-deep); color: #fff; }
.btn-red:hover { background: #C81626; }
.btn-line { border-color: var(--line); color: var(--fg); background: transparent; }
.btn-line:hover { border-color: var(--muted); }

/* Header */
header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
header .brand svg { height: 32px; width: auto; display: block; }
header nav { display: flex; gap: 26px; align-items: center; font-family: var(--f-mono); font-size: 14px; }
header nav a { text-decoration: none; color: var(--muted); }
header nav a:hover { color: var(--fg); }
header nav a::before { content: "./"; color: var(--dim); }
header nav .btn { font-family: var(--f-body); color: #fff; padding: 9px 16px; }
header nav .btn::before { content: none; }
@media (max-width: 760px) { header nav a:not(.btn) { display: none; } }

/* Hero */
.hero { padding-top: 80px; padding-bottom: 90px; position: relative; }
.hero .wrap { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: minmax(0,1fr); } .hero { padding-top: 48px; } }
.tag { display: inline-flex; align-items: center; gap: 8px; font: 500 13px var(--f-mono); color: var(--muted); border: 1px solid var(--line); padding: 6px 12px; border-radius: 99px; }
.tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(74,222,128,.15); }
.hero h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 900; margin-top: 22px; color: #3A3F47; }
.hero h1 .br { color: var(--dim); font-weight: 800; }
.hero p.lead { color: var(--muted); font-size: 18px; margin-top: 22px; max-width: 52ch; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Editor */
.editor { background: var(--ed-bg); color: var(--ed-fg); border: 1px solid var(--ed-line); border-radius: 14px; overflow: hidden; box-shadow: 0 40px 90px rgba(29,32,37,.22); min-width: 0; }
.ed-tabs { display: flex; background: var(--ed-panel); border-bottom: 1px solid var(--ed-line); overflow-x: auto; }
.ed-tabs button { font: 500 13px var(--f-mono); color: var(--ed-dim); background: none; border: 0; border-right: 1px solid var(--ed-line); padding: 12px 16px; cursor: pointer; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.ed-tabs button[aria-selected="true"] { color: var(--ed-fg); background: var(--ed-bg); box-shadow: inset 0 2px 0 var(--ed-red); }
.ed-tabs button span { width: 8px; height: 8px; border-radius: 2px; background: var(--red); }
.ed-code { display: grid; grid-template-columns: 44px minmax(0,1fr); font: 400 14px/1.85 var(--f-mono); padding: 18px 0; min-height: 330px; overflow-x: auto; }
.ed-code .ln { color: var(--ed-dim); text-align: right; padding-right: 14px; user-select: none; border-right: 1px solid var(--ed-line); }
.ed-code pre { margin: 0; padding-left: 18px; white-space: pre; font: inherit; }
.k { color: var(--ed-red); } pre .s { color: var(--ed-green); } .f { color: var(--blue); } .n { color: var(--yellow); } .cm { color: var(--ed-dim); font-style: italic; }
.caret { display: inline-block; width: 8px; height: 17px; background: var(--ed-red); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ed-status { display: flex; justify-content: space-between; font: 500 12px var(--f-mono); color: #fff; background: var(--red-deep); padding: 5px 14px; }

/* Ticker */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--bg-2); }
.ticker .track { display: flex; gap: 56px; width: max-content; padding: 18px 0; animation: slide 30s linear infinite; font: 800 22px var(--f-display); color: var(--dim); }
.ticker .track b { color: #3A3F47; }
.ticker .track em { font-style: normal; color: var(--red); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
section.s { padding-top: 110px; padding-bottom: 110px; }
.s-head { margin-bottom: 50px; display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.s-head .mono { color: var(--red); font-size: 14px; }
.s-head h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; color: #3A3F47; }
.s-head p { color: var(--muted); font-size: 18px; }

/* Products as files */
.files { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
@media (max-width: 960px) { .files { grid-template-columns: minmax(0,1fr); } }
.file { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.file:hover { border-color: var(--red-deep); transform: translateY(-4px); }
.file .fhead { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line); font: 500 13px var(--f-mono); color: var(--muted); background: var(--panel); }
.file .fhead b { color: var(--fg); font-weight: 500; }
.file .fbody { padding: 26px 22px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.file h3 { font-size: 28px; font-weight: 900; color: #3A3F47; }
.file h3 em { font-style: normal; color: var(--red); }
.file p { color: var(--muted); }
.file ul { list-style: none; margin: 0; padding: 0; font: 400 14px/1.9 var(--f-mono); }
.file li::before { content: "+ "; color: var(--green); }
.file a { margin-top: auto; font: 500 14px var(--f-mono); color: var(--red); text-decoration: none; }
.file a:hover { text-decoration: underline; }

/* Compare table */
.compare { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.compare table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th { font: 500 13px var(--f-mono); color: var(--muted); background: var(--panel); }
.compare td:first-child { color: var(--muted); }
.compare tr:last-child td { border-bottom: 0; }
.compare .bad { color: var(--dim); }
.compare .good { color: var(--fg); font-weight: 600; background: #FDF3F4; }
.compare .good::before { content: "✓ "; color: var(--green); }
.compare .bad::before { content: "✕ "; color: var(--red); }

/* Log / process */
.log { background: var(--ed-bg); color: var(--ed-fg); border-color: var(--ed-line) !important; border: 1px solid var(--line); border-radius: 14px; padding: 26px; font: 400 15px/2 var(--f-mono); overflow-x: auto; }
.log div { white-space: nowrap; }
.log .t { color: var(--ed-dim); margin-right: 12px; }

/* CTA */
.cta { background: var(--red-deep); border-radius: 20px; padding: 56px 48px; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: "</>"; position: absolute; right: -10px; top: -60px; font: 900 260px var(--f-display); color: rgba(255,255,255,.08); pointer-events: none; }
.cta h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; color: #fff; }
.cta p { color: rgba(255,255,255,.85); margin-top: 14px; }
@media (max-width: 860px) { .cta { grid-template-columns: minmax(0,1fr); padding: 36px 24px; } }
form.term { background: var(--ed-bg); color: var(--ed-fg); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; font-family: var(--f-mono); }
form.term label { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ed-green); }
form.term label span { white-space: nowrap; }
form.term input, form.term select { flex: 1; min-width: 0; background: transparent; border: 0; border-bottom: 1px dashed var(--ed-line); color: var(--ed-fg); font: 400 15px var(--f-mono); padding: 6px 2px; }
form.term input:focus, form.term select:focus { outline: none; border-bottom-color: var(--red); }
form.term option { background: var(--ed-bg); }
form.term .btn { justify-content: center; margin-top: 6px; font-family: var(--f-mono); }
.ok { display: none; color: var(--ed-green); font-size: 14px; }
.ok.show { display: block; }

footer { border-top: 1px solid var(--line); padding-top: 40px; padding-bottom: 40px; margin-top: 110px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; font: 400 13px var(--f-mono); color: var(--dim); }
footer svg { height: 30px; width: auto; display: block; }
footer nav { display: flex; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--fg); }

/* ---- Multipágina ---- */
header nav a[aria-current="page"] { color: var(--red); }
header nav a[aria-current="page"]::before { color: var(--red); }
.page-hero { padding-top: 72px; padding-bottom: 56px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.page-hero .crumb { font: 500 13px var(--f-mono); color: var(--dim); }
.page-hero .crumb a { text-decoration: none; color: var(--muted); }
.page-hero .crumb a:hover { color: var(--red); }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 60px); font-weight: 900; color: #3A3F47; margin-top: 18px; }
.page-hero h1 span { color: var(--red); }
.page-hero p { color: var(--muted); font-size: 18px; margin-top: 18px; max-width: 60ch; }
.more-link { display: inline-flex; margin-top: 28px; font: 500 14px var(--f-mono); color: var(--red); text-decoration: none; }
.more-link:hover { text-decoration: underline; }
.detail { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; border-bottom: 1px solid var(--line); }
.detail:last-of-type { border-bottom: 0; }
.detail.flip > :first-child { order: 2; }
@media (max-width: 900px) { .detail, .detail.flip { grid-template-columns: minmax(0,1fr); } .detail.flip > :first-child { order: 0; } }
.detail .who { font: 500 13px var(--f-mono); color: var(--red); }
.detail h2 { font-size: clamp(32px, 4.4vw, 46px); font-weight: 900; color: #3A3F47; margin-top: 10px; }
.detail h2 em { font-style: normal; color: var(--red); }
.detail p.d { color: var(--muted); font-size: 17px; margin-top: 16px; }
.feat { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
@media (max-width: 520px) { .feat { grid-template-columns: 1fr; } }
.feat li { display: flex; gap: 10px; align-items: baseline; }
.feat li::before { content: "+"; font-family: var(--f-mono); color: var(--green); font-weight: 700; }
.feat b { display: block; }
.feat small { color: var(--muted); font-size: 14px; }
.mini { background: var(--ed-bg); color: var(--ed-fg); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px rgba(29,32,37,.18); min-width: 0; }
.mini .mbar { display: flex; justify-content: space-between; padding: 12px 16px; background: var(--ed-panel); font: 500 12.5px var(--f-mono); color: var(--ed-dim); border-bottom: 1px solid var(--ed-line); }
.mini .mbar b { color: var(--ed-fg); font-weight: 500; }
.mini .mrow { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--ed-line); font-size: 14px; align-items: center; }
.mini .mrow:last-child { border-bottom: 0; }
.mini .mrow small { display: block; color: var(--ed-dim); font-size: 12.5px; }
.chip { font: 600 11.5px var(--f-body); padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.chip.g { background: rgba(74,222,128,.14); color: var(--ed-green); }
.chip.r { background: rgba(255,59,74,.16); color: var(--ed-red); }
.chip.n { background: rgba(255,255,255,.08); color: #C9CDD3; }
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 56px; }
@media (max-width: 900px) { .benefits { grid-template-columns: minmax(0,1fr); } }
.benefits div { border: 1px solid var(--line); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.benefits .mono { color: var(--red); font-size: 13px; }
.benefits h3 { font-size: 20px; color: #3A3F47; }
.benefits p { color: var(--muted); }
.steps2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; margin-top: 56px; }
@media (max-width: 800px) { .steps2 { grid-template-columns: minmax(0,1fr); } }
.steps2 div { border-left: 3px solid var(--line); padding: 4px 0 4px 22px; display: flex; flex-direction: column; gap: 8px; }
.steps2 div:first-child { border-left-color: var(--red); }
.steps2 .mono { color: var(--red); font-size: 13px; }
.steps2 h3 { font-size: 21px; color: #3A3F47; }
.steps2 p { color: var(--muted); }
.cinfo { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 20px; margin-top: 56px; }
@media (max-width: 800px) { .cinfo { grid-template-columns: minmax(0,1fr); } }
.cinfo div { border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }
.cinfo .mono { color: var(--dim); font-size: 13px; display: block; }
.cinfo b { font-size: 18px; font-family: var(--f-display); color: #3A3F47; }
footer nav { flex-wrap: wrap; }
@media (max-width: 760px) {
  header .wrap { height: auto; flex-wrap: wrap; padding-top: 12px; padding-bottom: 10px; row-gap: 8px; }
  header nav { width: 100%; gap: 18px; overflow-x: auto; justify-content: space-between; }
  header nav a:not(.btn) { display: inline; white-space: nowrap; }
  header nav { gap: 12px; } header nav a:not(.btn) { font-size: 12.5px; } header nav .btn { padding: 6px 12px; font-size: 12.5px; white-space: nowrap; }
}

.precios { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; margin-top: 56px; max-width: 760px; }
@media (max-width: 800px) { .precios { grid-template-columns: minmax(0,1fr); } }
.precios div { border: 1px solid var(--line); border-radius: 14px; padding: 24px 26px; display: flex; flex-direction: column; gap: 6px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.precios div:hover { border-color: var(--red); box-shadow: 0 0 0 1px var(--red) inset; transform: translateY(-2px); }
.precios .mono { color: var(--red); font-size: 13px; }
.precios b { font: 800 40px var(--f-display); color: #3A3F47; }
.precios b small { font-size: 16px; color: var(--muted); font-weight: 600; margin-left: 4px; }
.precios p { color: var(--muted); }

.tcards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
@media (max-width: 900px) { .tcards { grid-template-columns: minmax(0,1fr); } }
.tcard { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 28px 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); text-decoration: none; color: inherit; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.tcard::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.tcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(34,38,43,.10); border-color: #D3D7DC; }
.tcard:hover::before { transform: scaleX(1); }
.tcard .ti { width: 48px; height: 48px; border-radius: 12px; background: #2F3338; color: #fff; display: grid; place-items: center; margin-bottom: 6px; }
.tcard .ti svg { width: 24px; height: 24px; }
.tcard .mono { color: var(--red); font-size: 13px; }
.tcard h3 { font: 800 22px var(--f-display); color: #3A3F47; }
.tcard p { color: var(--muted); }
.tcard .go { margin-top: auto; padding-top: 8px; font: 500 14px var(--f-mono); color: var(--red); }
.tcard .go i { font-style: normal; display: inline-block; transition: transform .2s; }
.tcard:hover .go i { transform: translateX(4px); }
.tcard.dark { background: var(--ed-bg); border-color: var(--ed-bg); }
.tcard.dark h3 { color: #fff; } .tcard.dark p { color: #B5BBC3; } .tcard.dark .mono { color: var(--ed-red); }
.tcard.dark .ti { background: var(--red); }
.tcard.dark .go.btn { align-self: flex-start; color: #fff; padding: 12px 18px; margin-top: auto; }

header nav a.btn[aria-current] { color: #fff; }

.bpanel { background: var(--ed-bg); border-radius: 22px; padding: 44px; color: #fff; margin-top: 56px; }
.btop { border-bottom: 1px solid #353A41; padding-bottom: 26px; margin-bottom: 28px; }
.btop .mono { color: var(--ed-red); font-size: 13px; }
.btop h2 { font: 900 clamp(26px,3.4vw,36px) var(--f-display); color: #fff; }
.btop h2 span { color: var(--ed-red); }
.bgrid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
@media (max-width: 900px) { .bgrid { grid-template-columns: minmax(0,1fr); } .bpanel { padding: 28px 20px; } }
.bcard { position: relative; overflow: hidden; border: 1px solid #353A41; border-radius: 16px; padding: 26px; background: #24282E; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, transform .2s; }
.bcard:hover { border-color: var(--red); transform: translateY(-3px); }
.bcard .n { position: absolute; right: 18px; top: 8px; font: 900 64px var(--f-display); color: rgba(255,255,255,.05); }
.bcard .ic { width: 46px; height: 46px; border-radius: 12px; border: 2px solid var(--red); color: var(--ed-red); display: grid; place-items: center; }
.bcard .mono { color: var(--ed-red); font-size: 12px; }
.bcard h3 { font: 800 20px var(--f-display); color: #fff; position: relative; }
.bcard p { color: #AEB4BC; font-size: 15px; }
.bcard .vs { margin-top: auto; padding-top: 14px; border-top: 1px dashed #3A4048; font-size: 13px; color: #8A919B; }
.bcard .vs b { color: var(--ed-red); margin-right: 4px; }
.btop p { color: #AEB4BC; margin-top: 6px; }

.page-hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-hero .hfacts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font: 500 13px var(--f-mono); color: var(--muted); }
.page-hero .hfacts b { color: var(--red); margin-right: 4px; }

/* tarjetas de programas en Inicio: toda la tarjeta es clicable */
.file { position: relative; cursor: pointer; }
.file a::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.file:hover a { text-decoration: underline; }
/* al llegar desde Inicio: se enfoca el programa elegido */
.detail { scroll-margin-top: 10px; }
.detail:target .who, .detail:target h2 { animation: g2flash 1.6s ease-out; }
@keyframes g2flash { 0%,30% { color: var(--red); transform: translateX(6px); } 100% { transform: none; } }
.detail:target { position: relative; }
.detail:target::before { content: ""; position: absolute; left: -24px; top: 72px; bottom: 72px; width: 4px; border-radius: 4px; background: var(--red); }
@media (max-width: 1220px) { .detail:target::before { left: -12px; } }

/* páginas legales */
.legal { max-width: 820px; }
.legal h2 { font-size: 24px; font-weight: 800; color: #3A3F47; margin: 40px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 10px 0 0; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.legal td, .legal th { border: 1px solid var(--line); padding: 10px 12px; text-align: left; color: var(--muted); vertical-align: top; }
.legal th { background: var(--bg-2); color: var(--fg); width: 34%; }
.legal a { color: var(--red); }
mark.fill { background: #FFF3BF; color: #6B4E00; padding: 1px 4px; border-radius: 4px; }
/* aviso de privacidad en el formulario */
form.term .priv { display: flex; align-items: flex-start; gap: 10px; color: var(--ed-fg); font: 400 12.5px/1.5 var(--f-body); }
form.term .priv input { flex: none; width: 16px; height: 16px; margin-top: 2px; accent-color: var(--red); }
form.term .priv a { color: #fff; }
form.term .info { font: 400 11.5px/1.5 var(--f-body); color: #9AA1AB; }
form.term .info a { color: #C9CED6; }
