/* ============================================================
   ROOMLY v2 — "Geométrico Suizo cálido"
   Archivo Expanded poster type · Space Mono labels ·
   bone/manila paper · vermilion + cobalt + ochre ·
   hard edges, visible grid rules, Bauhaus shapes.
   ============================================================ */

/* ---------- Tokens ---------- */
:root,
[data-theme="light"] {
  --paper:    #E7E8E5;   /* cool neutral grey (no beige) */
  --paper-2:  #DBDCD8;   /* deeper panel */
  --surface:  #F3F4F2;   /* lighter card */
  --ink:      #19191B;   /* neutral near-black */
  --ink-2:    #494A4C;
  --ink-3:    #7E8082;
  --line:     #19191B;   /* hard swiss rules = full ink */
  --line-soft: rgba(25,25,27,.16);
  --accent:   #EE4A1B;   /* vermilion */
  --blue:     #1B3FC4;   /* cobalt */
  --ochre:    #E5A114;   /* mustard */
  --accent-ink:#F3F4F2;
  --on-accent:#1c0a04;
  color-scheme: light;
}

/* selectable light backgrounds (menu) — all non-beige */
[data-theme="light"][data-bg="blanco"] { --paper:#FAFAF9; --paper-2:#EDEEEC; --surface:#FFFFFF; }
[data-theme="light"][data-bg="niebla"] { --paper:#E5EAEC; --paper-2:#D6DDDF; --surface:#F2F6F7; }
[data-theme="light"][data-bg="menta"]  { --paper:#E3EBE5; --paper-2:#D4DED6; --surface:#F1F6F2; }
[data-theme="light"][data-bg="arena"]  { --paper:#E9E6DD; --paper-2:#DDD9CC; --surface:#F5F3EC; }
[data-theme="dark"] {
  --paper:    #131009;
  --paper-2:  #1B1710;
  --surface:  #211B12;
  --ink:      #F1E9D8;
  --ink-2:    #C3B7A1;
  --ink-3:    #8A7E68;
  --line:     #F1E9D8;
  --line-soft: rgba(241,233,216,.18);
  --accent:   #FF5C2C;
  --blue:     #6E86FF;
  --ochre:    #F2BB3C;
  --accent-ink:#1c0a04;
  --on-accent:#1c0a04;
  color-scheme: dark;
}
:root {
  --maxw: 1280px;
  --gut: clamp(20px, 4vw, 56px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", ui-sans-serif, system-ui, sans-serif;
  font-size: 17px; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .35s ease, color .35s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* subtle paper grain */
body::after {
  content:""; position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: .5; mix-blend-mode: multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme="dark"] body::after { mix-blend-mode: screen; opacity: .28; }

/* ---------- Type ---------- */
.display { font-family: "Archivo Expanded", "Archivo", sans-serif; font-weight: 800; line-height: .92; letter-spacing: -.02em; }
h1, h2 { font-family: "Archivo Expanded", "Archivo", sans-serif; font-weight: 800; line-height: .92; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h3 { font-family: "Archivo", sans-serif; font-weight: 700; line-height: 1.08; letter-spacing: -.01em; margin: 0; }
h2 { font-size: clamp(34px, 5vw, 68px); text-transform: none; }
p { margin: 0; text-wrap: pretty; }

.mono { font-family: "Space Mono", ui-monospace, monospace; }
.kicker {
  font-family: "Space Mono", monospace; font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
  display: inline-flex; align-items: center; gap: 10px;
}
.kicker .sq { width: 9px; height: 9px; background: var(--accent); display: inline-block; }
.kicker .idx { color: var(--accent); }

/* ---------- Buttons (hard-edged) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 2px;
  font-family: "Archivo", sans-serif; font-size: 15px; font-weight: 700;
  letter-spacing: .01em; border: 2px solid var(--ink); cursor: pointer;
  background: var(--ink); color: var(--paper);
  transition: transform .14s cubic-bezier(.3,.7,.4,1), background .18s, color .18s, box-shadow .18s;
  position: relative; white-space: nowrap;
}
.btn:active { transform: translate(2px,2px); }
.btn-primary { background: var(--accent); border-color: var(--ink); color: var(--on-accent); box-shadow: 5px 5px 0 var(--ink); }
.btn-primary:hover { transform: translate(-1px,-1px); box-shadow: 7px 7px 0 var(--ink); }
.btn-primary:active { box-shadow: 1px 1px 0 var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-sm { height: 44px; padding: 0 18px; font-size: 14px; }
.btn .arr { transition: transform .18s; }
.btn:hover .arr { transform: translateX(4px); }

.tlink {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
  font-family: "Space Mono", monospace; font-size: 13px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink); border-bottom: 2px solid var(--accent);
  padding-bottom: 3px; transition: gap .18s, border-color .18s;
}
.tlink:hover { gap: 12px; border-color: var(--ink); }

/* ---------- Layout / grid frame ---------- */
.frame { width: min(100%, var(--maxw)); margin-inline: auto; padding-inline: var(--gut); }
section { position: relative; }

/* shared geometric shapes */
.shape { position: absolute; pointer-events: none; }
.circle { border-radius: 50%; }
.half-t { border-radius: 999px 999px 0 0; }
.quarter { border-radius: 100% 0 0 0; }
.ring { border-radius: 50%; background: transparent; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar { position: sticky; top: 0; z-index: 1000; border-bottom: 2px solid transparent; transition: background .25s, border-color .25s, backdrop-filter .25s; }
.topbar.scrolled { background: color-mix(in oklab, var(--paper), transparent 8%); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom-color: var(--ink); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand .mark { width: 30px; height: 30px; flex-shrink: 0; position: relative; background: var(--accent); border: 2px solid var(--ink); }
.brand .mark::before { content:""; position: absolute; right: -2px; top: -2px; width: 14px; height: 14px; background: var(--ink); border-radius: 0 0 0 100%; }
.brand .name { font-family: "Archivo Expanded", sans-serif; font-size: 23px; font-weight: 800; letter-spacing: -.03em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-family: "Space Mono", monospace; font-size: 13px; font-weight: 400; letter-spacing: .02em; color: var(--ink-2); padding: 8px 12px; transition: color .18s, background .18s; }
.nav a:hover { color: var(--accent-ink); background: var(--ink); }
.topbar-actions { display: flex; align-items: center; gap: 14px; }
.login { font-family: "Space Mono", monospace; font-size: 13px; font-weight: 700; color: var(--ink); }
.login:hover { color: var(--accent); }
@media (max-width: 940px){ .nav, .login { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: clamp(40px,6vw,90px) 0 0; overflow: hidden; border-bottom: 2px solid var(--ink); }
.hero-grid { display: grid; gap: clamp(28px,4vw,60px); align-items: end; padding-bottom: clamp(40px,5vw,72px); }
.hero-kicker { margin-bottom: 28px; }
.hero h1 { font-size: clamp(46px, 9.5vw, 132px); }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-sub { font-size: clamp(17px,1.5vw,21px); color: var(--ink-2); max-width: 40ch; margin: 28px 0 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 34px; }
.hero-micro { margin-top: 20px; font-family: "Space Mono", monospace; font-size: 13px; color: var(--ink-3); display: flex; align-items: center; gap: 9px; }
.hero-micro .b { width: 8px; height: 8px; background: var(--accent); }

/* Variant 1 — asymmetric split (default) */
[data-hero="1"] .hero-grid { grid-template-columns: 1.15fr .85fr; }
[data-hero="1"] .hero-copy { max-width: 720px; }

/* Variant 2 — centered poster */
[data-hero="2"] .hero-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
[data-hero="2"] .hero-kicker, [data-hero="2"] .hero-cta { justify-content: center; }
[data-hero="2"] .hero h1 { font-size: clamp(48px,11vw,150px); }
[data-hero="2"] .hero-sub { max-width: 54ch; margin-inline: auto; }
[data-hero="2"] .hero-visual { width: 100%; max-width: 760px; margin-top: 20px; }

/* Variant 3 — editorial stacked */
[data-hero="3"] .hero-grid { grid-template-columns: 1fr; }
[data-hero="3"] .hero h1 { font-size: clamp(52px,13.5vw,190px); letter-spacing: -.035em; }
[data-hero="3"] .hero-copy { max-width: none; }
[data-hero="3"] .hero-visual { margin-top: 8px; }
[data-hero="3"] .hero-foot { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; }

@media (max-width: 900px){
  [data-hero="1"] .hero-grid { grid-template-columns: 1fr; }
}

/* hero deco shapes */
.hero-deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-deco .c1 { width: clamp(180px,26vw,360px); height: clamp(180px,26vw,360px); border-radius:50%; background: var(--blue); top: -90px; right: 8%; opacity: 1; }
.hero-deco .c2 { width: 130px; height: 65px; border-radius: 999px 999px 0 0; background: var(--ochre); bottom: -2px; left: 18%; }
.hero-deco .x { position: absolute; bottom: 30px; right: 16%; font-family:"Archivo Expanded",sans-serif; font-size: 80px; color: var(--accent); line-height:1; }
.hero .frame, .hero-grid { position: relative; z-index: 1; }

/* ============================================================
   PRODUCT COMPOSITION (flat, hard-edged "spaces" panel)
   ============================================================ */
.compo { border: 2px solid var(--ink); background: var(--surface); position: relative; }
.compo-bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 2px solid var(--ink); background: var(--paper-2); }
.compo-bar .dots { display: flex; gap: 6px; }
.compo-bar .dots i { width: 11px; height: 11px; border: 1.5px solid var(--ink); }
.compo-bar .dots i:nth-child(1){ background: var(--accent); }
.compo-bar .dots i:nth-child(2){ background: var(--ochre); border-radius:50%; }
.compo-bar .dots i:nth-child(3){ background: var(--blue); }
.compo-url { flex: 1; font-family: "Space Mono", monospace; font-size: 12px; color: var(--ink-2); }
.compo-url b { color: var(--ink); }
.compo-body { display: grid; grid-template-columns: 150px 1fr; min-height: 320px; }
.compo-side { border-right: 2px solid var(--ink); padding: 14px; display: flex; flex-direction: column; gap: 4px; background: var(--paper-2); }
.compo-org { display: flex; align-items: center; gap: 9px; padding: 4px 4px 14px; }
.compo-org .lg { width: 26px; height: 26px; background: var(--accent); border: 2px solid var(--ink); flex-shrink: 0; }
.compo-org b { font-size: 13px; font-weight: 800; font-family:"Archivo",sans-serif; }
.compo-org span { font-family:"Space Mono",monospace; font-size: 10px; color: var(--ink-3); display:block; }
.compo-nav { display: flex; align-items: center; gap: 9px; padding: 7px 8px; font-family:"Space Mono",monospace; font-size: 12px; color: var(--ink-2); }
.compo-nav .g { width: 13px; height: 13px; border: 1.6px solid currentColor; flex-shrink:0; }
.compo-nav.on { background: var(--ink); color: var(--paper); }
.compo-nav.on .g { background: var(--accent); border-color: var(--accent); }
.compo-main { padding: 20px 22px; position: relative; }
.compo-crumb { font-family:"Space Mono",monospace; font-size: 11px; color: var(--ink-3); margin-bottom: 14px; }
.compo-h { font-family:"Archivo Expanded",sans-serif; font-weight: 800; font-size: 24px; line-height:1; margin-bottom: 16px; letter-spacing:-.02em; }
.compo-line { height: 10px; background: var(--line-soft); margin-bottom: 10px; }
.compo-line.w1{ width:88%; } .compo-line.w2{ width:72%; } .compo-line.w3{ width:80%; }
.compo-line.hot { background: var(--accent); width: 46%; }
.compo-chip { display:inline-block; font-family:"Space Mono",monospace; font-size: 10px; font-weight:700; padding: 4px 9px; border: 2px solid var(--ink); background: var(--ochre); color: var(--on-accent); margin-top: 6px; }
.compo-people { position: absolute; top: 18px; right: 22px; display: flex; }
.compo-people i { width: 28px; height: 28px; border-radius:50%; border: 2px solid var(--surface); margin-left: -8px; font-family:"Space Mono",monospace; font-size: 10px; font-weight: 700; color: var(--paper); display: grid; place-items: center; }
.compo-people i:nth-child(1){ background: var(--accent); margin-left:0; } .compo-people i:nth-child(2){ background: var(--blue); } .compo-people i:nth-child(3){ background: var(--ochre); color: var(--on-accent);} .compo-people i:nth-child(4){ background: var(--ink); }
.cur { position: absolute; pointer-events:none; animation: floatc 5s ease-in-out infinite; }
.cur .lbl { font-family:"Space Mono",monospace; font-size:10px; font-weight:700; color: var(--surface); padding: 2px 6px; transform: translate(6px,1px); display:inline-block; }
.cur.a { top: 96px; left: 44%; } .cur.a .lbl{ background: var(--accent);} .cur.a svg path{ fill: var(--accent);}
.cur.b { top: 176px; left: 30%; animation-delay:-2.4s;} .cur.b .lbl{ background: var(--blue);} .cur.b svg path{ fill: var(--blue);}
@keyframes floatc { 0%,100%{ transform: translate(0,0);} 50%{ transform: translate(8px,-6px);} }
@media (prefers-reduced-motion: reduce){ .cur{ animation:none; } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { border-bottom: 2px solid var(--ink); padding: 16px 0; overflow: hidden; background: var(--ink); --gap: 40px; }
.marquee-track { display: flex; gap: var(--gap); width: max-content; animation: scrollx 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family:"Archivo Expanded",sans-serif; font-weight: 800; font-size: clamp(20px,2.6vw,32px); letter-spacing: -.01em; color: var(--paper); display: inline-flex; align-items: center; gap: var(--gap); text-transform: uppercase; }
.marquee-track span::after { content:"●"; color: var(--accent); font-size: .5em; }
@keyframes scrollx { to { transform: translateX(calc(-50% - var(--gap)/2)); } }
@media (prefers-reduced-motion: reduce){ .marquee-track{ animation:none; } }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section { padding: clamp(64px,8vw,128px) 0; }
.section-head { display: grid; grid-template-columns: 1fr; gap: 0; margin-bottom: clamp(36px,5vw,60px); max-width: 760px; }
.section-head .kicker { margin-bottom: 22px; }
.section-head h2 { margin: 0; }

/* QUÉ ES */
.whatis { border-bottom: 2px solid var(--ink); }
.whatis-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,72px); align-items: start; }
.whatis h2 { font-size: clamp(32px,4.6vw,60px); }
.whatis .lead { font-size: clamp(18px,1.7vw,23px); color: var(--ink-2); line-height: 1.45; }
.whatis .lead strong { color: var(--ink); font-weight: 700; }
.whatis-stats { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 44px; border: 2px solid var(--ink); }
.stat { padding: 22px 20px; border-right: 2px solid var(--ink); }
.stat:last-child { border-right: 0; }
.stat .n { font-family:"Archivo Expanded",sans-serif; font-size: clamp(40px,5vw,60px); font-weight: 800; line-height: .9; color: var(--accent); letter-spacing: -.03em; }
.stat .l { font-family:"Space Mono",monospace; font-size: 11px; color: var(--ink-2); margin-top: 12px; text-transform: uppercase; letter-spacing:.04em; line-height:1.4; }
@media (max-width: 820px){ .whatis-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px){ .whatis-stats { grid-template-columns: 1fr; } .stat{ border-right:0; border-bottom:2px solid var(--ink);} .stat:last-child{ border-bottom:0; } }

/* ============================================================
   FEATURES — strict table grid
   ============================================================ */
.features { background: var(--paper-2); border-bottom: 2px solid var(--ink); }
.feat-grid { border: 2px solid var(--ink); display: grid; grid-template-columns: repeat(3,1fr); }
.feat { padding: 30px 26px 34px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); position: relative; background: var(--surface); transition: background .2s; overflow: hidden; }
.feat:nth-child(3n){ border-right: 0; }
.feat:nth-last-child(-n+3){ border-bottom: 0; }
.feat:hover { background: var(--ink); color: var(--paper); }
.feat:hover h3, .feat:hover p { color: var(--paper); }
.feat:hover .feat-num { color: var(--accent); }
.feat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.feat-num { font-family:"Space Mono",monospace; font-size: 13px; font-weight: 700; color: var(--ink-3); letter-spacing:.06em; }
.feat-glyph { width: 38px; height: 38px; }
.feat h3 { font-size: 21px; margin-bottom: 11px; transition: color .2s; }
.feat p { color: var(--ink-2); font-size: 15px; line-height: 1.5; transition: color .2s; }
@media (max-width: 900px){ .feat-grid { grid-template-columns: repeat(2,1fr);} .feat:nth-child(3n){ border-right:2px solid var(--ink);} .feat:nth-child(2n){ border-right:0;} .feat:nth-last-child(-n+3){ border-bottom:2px solid var(--ink);} .feat:nth-last-child(-n+2){ border-bottom:0;} }
@media (max-width: 600px){ .feat-grid { grid-template-columns: 1fr;} .feat{ border-right:0 !important; border-bottom:2px solid var(--ink) !important;} .feat:last-child{ border-bottom:0 !important;} .feat-top{ margin-bottom:24px;} }

/* ============================================================
   CÓMO FUNCIONA
   ============================================================ */
.how { border-bottom: 2px solid var(--ink); }
.how-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 2px solid var(--ink); }
.step { padding: 36px 30px 36px 0; border-right: 2px solid var(--ink); position: relative; }
.step:last-child { border-right: 0; padding-right: 0; }
.step + .step { padding-left: 30px; }
.step .bignum { font-family:"Archivo Expanded",sans-serif; font-weight:800; font-size: 64px; line-height:.8; color: var(--accent); letter-spacing:-.04em; margin-bottom: 22px; }
.step h3 { font-size: 24px; margin-bottom: 12px; }
.step p { color: var(--ink-2); font-size: 16px; }
.step code { font-family:"Space Mono",monospace; font-size: .85em; background: var(--ink); color: var(--accent); padding: 2px 7px; }
@media (max-width: 820px){ .how-grid{ grid-template-columns:1fr;} .step,.step+.step{ padding: 28px 0; border-right:0; border-bottom:2px solid var(--ink);} .step:last-child{ border-bottom:0;} }

/* ============================================================
   PERSONALIZACIÓN
   ============================================================ */
.custom { background: var(--paper-2); border-bottom: 2px solid var(--ink); }
.custom-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px,5vw,72px); align-items: center; }
.custom ul.checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.custom ul.checks li { display: flex; align-items: center; gap: 14px; font-size: 16px; color: var(--ink); padding: 14px 0; border-bottom: 2px solid var(--line-soft); }
.custom ul.checks li::before { content:""; width: 18px; height: 18px; flex-shrink: 0; background: var(--accent); border: 2px solid var(--ink); }
.custom ul.checks li:nth-child(2)::before { border-radius:50%; background: var(--blue); }
.custom ul.checks li:nth-child(3)::before { background: var(--ochre); }
.custom ul.checks li:nth-child(4)::before { border-radius:50% 50% 0 0; background: var(--accent); }
.custom ul.checks li:nth-child(5)::before { background: var(--blue); }
@media (max-width: 860px){ .custom-grid{ grid-template-columns: 1fr;} }

.panel { border: 2px solid var(--ink); background: var(--surface); }
.panel .ph { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 2px solid var(--ink); background: var(--paper-2); }
.panel .ph b { font-family:"Archivo Expanded",sans-serif; font-size: 14px; font-weight:800; letter-spacing:-.01em; }
.panel .ph .live { font-family:"Space Mono",monospace; font-size: 11px; color: var(--accent); display: flex; align-items: center; gap: 7px; }
.panel .ph .live::before { content:""; width: 8px; height: 8px; background: var(--accent); animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50%{ opacity:.25; } }
.panel .pbody { display: grid; grid-template-columns: 1fr 1fr; }
.panel .pctrls { padding: 20px; display: flex; flex-direction: column; gap: 20px; border-right: 2px solid var(--ink); }
.pf label { font-family:"Space Mono",monospace; font-size: 10px; font-weight:700; text-transform: uppercase; letter-spacing:.08em; color: var(--ink-3); display:block; margin-bottom: 9px; }
.pf .sw { display: flex; gap: 7px; }
.pf .sw i { width: 28px; height: 28px; border: 2px solid var(--ink); }
.pf .sw i.r { border-radius:50%; }
.pf .sw i.sel { outline: 2px solid var(--ink); outline-offset: 2px; }
.pf .pick { height: 36px; border: 2px solid var(--ink); background: var(--paper); display: flex; align-items: center; justify-content: space-between; padding: 0 12px; font-family:"Space Mono",monospace; font-size: 12px; color: var(--ink-2); }
.pf .logo { height: 54px; border: 2px dashed var(--line-soft); display: flex; align-items: center; gap: 12px; padding: 0 14px; }
.pf .logo .lg { width: 30px; height: 30px; background: var(--accent); border: 2px solid var(--ink); }
.pf .logo span { font-family:"Space Mono",monospace; font-size: 11px; color: var(--ink-3); }
.themeseg { display: flex; border: 2px solid var(--ink); }
.themeseg button { flex: 1; border: 0; border-right: 2px solid var(--ink); background: var(--paper); font-family:"Space Mono",monospace; font-size: 11px; font-weight:700; color: var(--ink-2); padding: 8px 4px; cursor: default; }
.themeseg button:last-child { border-right: 0; }
.themeseg button.on { background: var(--ink); color: var(--paper); }
.ppv { padding: 20px; background: var(--paper-2); display: flex; flex-direction: column; gap: 14px; }
.ppv .top { display: flex; align-items: center; gap: 10px; }
.ppv .top .lg { width: 30px; height: 30px; background: var(--accent); border:2px solid var(--ink); }
.ppv .top b { font-family:"Archivo Expanded",sans-serif; font-size: 16px; font-weight:800; }
.ppv .card { background: var(--surface); border: 2px solid var(--ink); padding: 16px; }
.ppv .card .l { height: 9px; background: var(--line-soft); margin-bottom: 9px; }
.ppv .card .l.s { width: 55%; background: var(--accent); }
.ppv .pbtn { height: 34px; width: 120px; background: var(--accent); border:2px solid var(--ink); color: var(--on-accent); font-family:"Space Mono",monospace; font-size: 11px; font-weight:700; display: grid; place-items: center; }
@media (max-width: 520px){ .panel .pbody{ grid-template-columns:1fr;} .panel .pctrls{ border-right:0; border-bottom:2px solid var(--ink);} }

/* ============================================================
   SEGURIDAD — two circles that don't touch
   ============================================================ */
.security { border-bottom: 2px solid var(--ink); }
.security-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px,5vw,72px); align-items: center; }
.security ul.checks { list-style:none; padding:0; margin: 28px 0 0; display:grid; gap:0; border-top:2px solid var(--ink); }
.security ul.checks li { display:flex; align-items:center; gap:14px; font-size:16px; color:var(--ink); padding:14px 0; border-bottom:2px solid var(--line-soft); }
.security ul.checks li .num { font-family:"Space Mono",monospace; font-size:12px; font-weight:700; color: var(--accent); }
@media (max-width:860px){ .security-grid{ grid-template-columns:1fr;} }

.iso { border: 2px solid var(--ink); background: var(--surface); padding: 26px; }
.iso-top { font-family:"Space Mono",monospace; font-size: 11px; letter-spacing:.08em; text-transform: uppercase; color: var(--ink-2); text-align: center; padding-bottom: 22px; border-bottom: 2px dashed var(--line-soft); margin-bottom: 26px; }
.iso-orgs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.iso-org { padding: 8px 4px; text-align: center; position: relative; }
.iso-org .disc { width: clamp(110px,15vw,150px); height: clamp(110px,15vw,150px); border-radius: 50%; border: 2px solid var(--ink); margin: 0 auto 16px; display: grid; place-items: center; position: relative; }
.iso-org.a .disc { background: var(--accent); }
.iso-org.b .disc { background: var(--blue); }
.iso-org .disc .lg { width: 30px; height: 30px; background: var(--surface); border: 2px solid var(--ink); }
.iso-org b { font-family:"Archivo Expanded",sans-serif; font-size: 15px; font-weight:800; display:block; }
.iso-org span { font-family:"Space Mono",monospace; font-size: 10px; color: var(--ink-3); display:block; margin-top:4px; }
.iso-divider { position: absolute; left: 50%; top: 70px; bottom: 30px; width: 2px; background: var(--ink); transform: translateX(-50%); }
.iso-wall { text-align: center; margin-top: 24px; padding-top: 22px; border-top: 2px dashed var(--line-soft); }
.iso-deny { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 2px solid var(--ink); background: var(--ochre); color: var(--on-accent); font-family:"Space Mono",monospace; font-size: 12px; font-weight: 700; }

/* ============================================================
   AUDIENCE
   ============================================================ */
.audience { border-bottom: 2px solid var(--ink); text-align: center; }
.audience h2 { font-size: clamp(34px,5.4vw,72px); max-width: 16ch; margin: 24px auto 0; }
.audience p { max-width: 58ch; margin: 26px auto 0; color: var(--ink-2); font-size: clamp(17px,1.4vw,20px); }
.aud-tags { display: flex; flex-wrap: wrap; gap: 0; justify-content: center; margin-top: 44px; border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); }
.aud-tags span { padding: 14px 22px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); font-family:"Space Mono",monospace; font-size: 14px; font-weight: 700; color: var(--ink); background: var(--surface); transition: background .18s, color .18s; }
.aud-tags span:hover { background: var(--accent); color: var(--on-accent); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--paper-2); border-bottom: 2px solid var(--ink); }
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(32px,5vw,64px); align-items: start; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 2px solid var(--ink); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 24px 48px 24px 0; position: relative; font-family:"Archivo",sans-serif; font-size: clamp(18px,1.9vw,23px); font-weight: 700; color: var(--ink); letter-spacing:-.01em; }
.faq-q .pm { position: absolute; right: 2px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); transition: transform .3s; }
.faq-q .pm::before, .faq-q .pm::after { content:""; position: absolute; background: var(--accent); }
.faq-q .pm::before { left: 0; right: 0; top: 9px; height: 2px; }
.faq-q .pm::after { top: 0; bottom: 0; left: 9px; width: 2px; transition: transform .3s; }
.faq-item.open .faq-q .pm::after { transform: scaleY(0); }
.faq-item.open .faq-q { color: var(--accent); }
.faq-a { overflow: hidden; height: 0; transition: height .32s cubic-bezier(.3,.7,.4,1); }
.faq-a-in { padding: 0 48px 26px 0; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
@media (max-width: 820px){ .faq-grid{ grid-template-columns:1fr; } }

/* ============================================================
   FINAL CTA — full vermilion block
   ============================================================ */
.finalcta { background: var(--accent); color: var(--on-accent); border-bottom: 2px solid var(--ink); padding: clamp(64px,9vw,128px) 0; position: relative; overflow: hidden; }
.finalcta .deco-c { position: absolute; width: 320px; height: 320px; border-radius: 50%; border: 2px solid var(--on-accent); opacity: .25; top: -120px; left: -80px; }
.finalcta .deco-h { position: absolute; width: 220px; height: 110px; border-radius: 999px 999px 0 0; background: var(--ink); bottom: 0; right: 8%; opacity: .9; }
.cta-in { position: relative; z-index: 1; max-width: 900px; }
.finalcta h2 { color: var(--on-accent); font-size: clamp(38px,6.4vw,92px); max-width: 15ch; }
.finalcta p { color: color-mix(in oklab, var(--on-accent), transparent 25%); font-size: clamp(18px,1.6vw,22px); margin: 24px 0 38px; max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.finalcta .btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: 5px 5px 0 var(--on-accent); }
.finalcta .btn-primary:hover { box-shadow: 7px 7px 0 var(--on-accent); }
.cta-login { font-family:"Space Mono",monospace; font-size: 13px; color: var(--on-accent); }
.cta-login a { border-bottom: 2px solid var(--ink); font-weight: 700; padding-bottom: 2px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 64px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 2px solid var(--ink); }
.footer .brand .name { font-size: 26px; }
.footer-tag { color: var(--ink-2); margin-top: 16px; font-size: 15px; max-width: 36ch; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; justify-content: flex-end; }
.footer-col h4 { font-family:"Space Mono",monospace; font-size: 11px; text-transform: uppercase; letter-spacing:.1em; color: var(--ink-3); margin: 0 0 16px; font-weight: 700; }
.footer-col a { display: block; font-family:"Space Mono",monospace; font-size: 14px; color: var(--ink-2); margin-bottom: 11px; transition: color .18s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; gap: 20px; flex-wrap: wrap; }
.footer-legal { display: flex; gap: 20px; font-family:"Space Mono",monospace; font-size: 12px; color: var(--ink-3); flex-wrap: wrap; }
.footer-legal a:hover { color: var(--ink); }
.footer-made { font-family:"Archivo Expanded",sans-serif; font-weight:800; font-size: 15px; color: var(--ink); letter-spacing:-.01em; }
@media (max-width: 760px){ .footer-top{ grid-template-columns:1fr;} .footer-cols{ justify-content:flex-start; gap:40px;} }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s cubic-bezier(.2,.7,.3,1), transform .65s cubic-bezier(.2,.7,.3,1); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; } .reveal.d2 { transition-delay: .14s; } .reveal.d3 { transition-delay: .21s; }
@media (prefers-reduced-motion: reduce){ html.js .reveal{ opacity:1; transform:none; transition:none; } }
