/* Fuel · páginas web. Mismo lenguaje que la app: negro, blanco, Inter Tight y mono. */
:root { --black: #0A0A0A; --ink: #1A1A1A; --white: #FFFFFF; --gray: #6B6B6B; --gray2: #9A9A9A; --line: #D9D9D9; --line2: #EDEDED; --soft: #F4F4F2; --card: #151515; }
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: 'Inter Tight', system-ui, -apple-system, Helvetica, Arial, sans-serif; background: var(--white); color: var(--black); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.mono { font-family: 'IBM Plex Mono', Menlo, monospace; font-size: 10px; letter-spacing: 2px; line-height: 1.7; text-transform: uppercase; }

/* ---------- Confirmación (pantalla oscura) ---------- */
body.dark { background: var(--black); color: var(--white); overflow-x: hidden; }
.glow { position: fixed; top: -260px; left: 50%; width: 760px; height: 760px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 62%); pointer-events: none; }
.screen { position: relative; min-height: 100vh; max-width: 440px; margin: 0 auto; padding: 28px 24px 36px; display: flex; flex-direction: column; }
.topbar { display: flex; justify-content: space-between; align-items: center; }
.brand { font-size: 15px; font-weight: 600; letter-spacing: 4px; text-decoration: none; }
.cols { display: flex; justify-content: space-between; margin-top: 30px; }
.cols .mono { color: #fff; } .cols .r { color: #8C8C8C; text-align: right; }
.line { display: block; width: 28px; height: 1px; background: #fff; margin-top: 10px; }
.ring { position: relative; width: 190px; height: 190px; margin: 48px auto 8px; }
.ring > svg { transform: rotate(-90deg); }
.ring .arc { stroke-dasharray: 534; stroke-dashoffset: 534; animation: draw 1.1s cubic-bezier(.3,.6,.2,1) .25s forwards; }
.ring .chk { position: absolute; inset: 0; display: grid; place-items: center; }
.ring .chk path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .5s ease 1.2s forwards; }
.ring.err .arc { animation: none; stroke-dashoffset: 400; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.fade { opacity: 0; transform: translateY(8px); animation: up .6s ease forwards; }
.d1 { animation-delay: 1.3s; } .d2 { animation-delay: 1.45s; } .d3 { animation-delay: 1.6s; }
@keyframes up { to { opacity: 1; transform: none; } }
.hero { text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.hero h1 { font-size: 40px; line-height: 1.04; font-weight: 500; letter-spacing: -1.4px; }
.hero p { font-size: 14px; color: #A3A3A3; max-width: 320px; }
.hero em { font-style: normal; color: #fff; font-weight: 500; }
.tag { display: inline-flex; height: 26px; align-items: center; padding: 0 12px; border-radius: 13px; background: #fff; color: #0A0A0A; font-size: 12px; font-weight: 500; }
.tag.o { background: transparent; color: #fff; border: 1px solid #fff; }
.next { margin-top: 30px; background: var(--card); border: 1px solid #1F1F1F; border-radius: 24px; padding: 18px; }
.next .mono { color: #A3A3A3; }
.next ol { list-style: none; margin-top: 6px; }
.next li { display: flex; gap: 12px; align-items: baseline; padding: 12px 0; border-top: 1px solid #2A2A2A; font-size: 14px; }
.next li:first-child { border-top: 0; }
.next li b { font-family: 'IBM Plex Mono', Menlo, monospace; font-size: 10px; color: #8C8C8C; font-weight: 400; }
.cta { margin-top: 14px; display: block; text-align: center; height: 50px; line-height: 50px; border-radius: 25px; background: #fff; color: #0A0A0A; text-decoration: none; font-size: 11px; font-weight: 500; letter-spacing: 1.8px; }
.foot { margin-top: auto; padding-top: 36px; display: flex; justify-content: center; gap: 18px; font-size: 12px; color: #8C8C8C; }
.foot a { text-decoration: none; } .foot a:hover { color: #fff; }

/* ---------- Documentos legales ---------- */
.dhead { background: var(--black); color: var(--white); position: relative; overflow: hidden; }
.dhead::before { content: ''; position: absolute; top: -320px; right: -200px; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.13) 0%, rgba(255,255,255,0) 62%); }
.dhead .wrap { position: relative; max-width: 960px; margin: 0 auto; padding: 26px 24px 46px; }
.dhead nav { display: flex; justify-content: space-between; align-items: center; }
.dhead nav .links { display: flex; gap: 6px; }
.dhead nav .links a { text-decoration: none; font-size: 12px; padding: 7px 12px; border-radius: 16px; color: #BDBDBD; }
.dhead nav .links a.on { background: #fff; color: #0A0A0A; font-weight: 500; }
.dhead .kicker { margin-top: 58px; color: #A3A3A3; }
.dhead h1 { font-size: clamp(40px, 8vw, 68px); line-height: .98; font-weight: 500; letter-spacing: -2.4px; margin-top: 10px; }
.dhead .lead { margin-top: 16px; font-size: 15px; color: #BDBDBD; max-width: 560px; }
.dhead .meta { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.dhead .meta span { font-size: 11px; padding: 5px 11px; border-radius: 14px; border: 1px solid #333; color: #BDBDBD; }

.body { max-width: 960px; margin: 0 auto; padding: 0 24px 90px; display: grid; grid-template-columns: 220px 1fr; gap: 48px; }
.toc { position: sticky; top: 24px; align-self: start; margin-top: 40px; }
.toc a { display: flex; gap: 10px; text-decoration: none; padding: 7px 0; font-size: 13px; color: var(--gray); border-bottom: 1px solid var(--line2); }
.toc a b { font-family: 'IBM Plex Mono', Menlo, monospace; font-size: 10px; font-weight: 400; color: var(--gray2); padding-top: 2px; }
.toc a:hover { color: var(--black); }

.short { margin-top: -26px; position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.short div { background: var(--white); border: 1px solid var(--line2); border-radius: 20px; padding: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.short div:first-child { background: var(--black); color: #fff; border-color: var(--black); }
.short .mono { color: var(--gray); } .short div:first-child .mono { color: #A3A3A3; }
.short b { display: block; font-size: 17px; font-weight: 500; letter-spacing: -.3px; margin-top: 4px; line-height: 1.25; }
.short p { font-size: 12.5px; color: var(--gray); margin-top: 4px; } .short div:first-child p { color: #BDBDBD; }

.draft { margin-top: 18px; display: flex; gap: 12px; align-items: flex-start; background: #FFF8D6; border-radius: 16px; padding: 14px 16px; font-size: 13px; color: #4A4000; }
.draft b { font-weight: 600; }
.sec { margin-top: 34px; scroll-margin-top: 20px; }
.sec .n { display: inline-flex; width: 30px; height: 30px; border-radius: 15px; background: var(--black); color: #fff; align-items: center; justify-content: center; font-family: 'IBM Plex Mono', Menlo, monospace; font-size: 10px; }
.sec h2 { display: flex; gap: 12px; align-items: center; font-size: 22px; font-weight: 500; letter-spacing: -.6px; padding-bottom: 12px; border-bottom: 1px solid var(--black); }
.sec p, .sec li { font-size: 14.5px; color: #333; }
.sec p { margin-top: 12px; }
.sec ul { list-style: none; margin-top: 10px; }
.sec ul li { position: relative; padding: 8px 0 8px 22px; border-bottom: 1px solid var(--line2); }
.sec ul li::before { content: ''; position: absolute; left: 4px; top: 16px; width: 6px; height: 6px; border-radius: 3px; background: var(--black); }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
.box { background: var(--soft); border-radius: 18px; padding: 16px; }
.box.dark { background: var(--black); color: #fff; }
.box .mono { color: var(--gray); } .box.dark .mono { color: #A3A3A3; }
.box b { display: block; font-size: 15px; font-weight: 500; margin: 4px 0 4px; }
.box p { margin-top: 0; font-size: 13px; color: #555; } .box.dark p { color: #BDBDBD; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pills span { font-size: 12px; padding: 6px 11px; border-radius: 14px; background: var(--soft); }
.pills span.k { background: var(--black); color: #fff; }
.prov { margin-top: 14px; border-top: 1px solid var(--line2); }
.prov div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line2); font-size: 14px; }
.prov div b { font-weight: 500; }
.arco { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.arco div { border: 1px solid var(--black); border-radius: 16px; padding: 14px 12px; }
.arco b { display: block; font-size: 30px; font-weight: 500; letter-spacing: -1px; line-height: 1; }
.arco span { font-size: 12px; color: var(--gray); }
.callout { margin-top: 14px; background: var(--black); color: #fff; border-radius: 20px; padding: 18px; display: flex; gap: 14px; align-items: center; }
.callout p { margin: 0; color: #BDBDBD; font-size: 13.5px; } .callout b { color: #fff; font-weight: 500; }
mark { background: #FFE98A; padding: 0 4px; border-radius: 4px; color: #3A3000; }
.end { margin-top: 56px; padding-top: 16px; border-top: 1px solid var(--black); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--gray); }
.end a { text-decoration: none; font-weight: 500; color: var(--black); }

@media (max-width: 760px) {
  .body { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
  .short, .grid2 { grid-template-columns: 1fr; }
  .arco { grid-template-columns: repeat(2, 1fr); }
  .prov div { grid-template-columns: 1fr; gap: 2px; }
  .dhead nav .links a { padding: 6px 9px; font-size: 11px; }
}
