/* ============================================================
   NetPulse landing - styles.css v2
   Más grande, más espacio aprovechado, fondo canvas dinámico,
   widgets fieles a la app (topología, health ring, router cards).
   ============================================================ */

:root {
  --canvas: 7 11 18;
  --surface: 13 20 32;
  --elevated: 19 28 44;
  --hover: 26 36 54;
  --border: 30 42 61;
  --border-strong: 42 58 82;
  --text-primary: 232 238 247;
  --text-secondary: 154 168 188;
  --text-muted: 122 140 165;
  --accent: 34 211 238;
  --tunnel: 167 139 250;
  --ok: 52 211 153;
  --warn: 251 191 36;
  --danger: 248 113 113;
  --info: 96 165 250;
  --radius: 0.75rem;
  color-scheme: dark;
}

html.light {
  --canvas: 243 245 249;
  --surface: 255 255 255;
  --elevated: 247 249 252;
  --hover: 236 239 244;
  --border: 226 232 240;
  --border-strong: 203 213 225;
  --text-primary: 15 23 42;
  --text-secondary: 71 85 105;
  --text-muted: 76 88 104;
  --accent: 14 116 144;
  --tunnel: 124 58 237;
  --ok: 5 150 105;
  --warn: 217 119 6;
  --danger: 220 38 38;
  --info: 37 99 235;
  color-scheme: light;
}

/* ---------- base ---------- */
* { box-sizing: border-box; border-color: rgb(var(--border)); }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  background: rgb(var(--canvas));
  color: rgb(var(--text-primary));
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background-color 250ms ease, color 250ms ease;
  overflow-x: hidden;
}
#bgCanvas {
  position: fixed; inset: 0; z-index: -1;
  width: 100%; height: 100%; pointer-events: none; opacity: 0.8;
}
.font-display { font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif; }
.font-mono { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace; font-feature-settings: "tnum"; }
::selection { background: rgb(var(--accent) / 0.28); color: rgb(var(--text-primary)); }
:focus-visible { outline: 2px solid rgb(var(--accent)); outline-offset: 2px; border-radius: 4px; }
a { color: rgb(var(--accent)); text-decoration: none; }
a:hover { text-decoration: underline; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgb(var(--border-strong)); border-radius: 999px; border: 2px solid rgb(var(--canvas)); }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- utilidades ---------- */
.container { max-width: 1320px; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .container { padding: 0 1.75rem; } }
@media (min-width: 1200px) { .container { padding: 0 2.5rem; } }
.text-secondary { color: rgb(var(--text-secondary)); }
.text-muted { color: rgb(var(--text-muted)); }
.text-accent { color: rgb(var(--accent)); }
.text-ok { color: rgb(var(--ok)); }
.text-warn { color: rgb(var(--warn)); }
.text-danger { color: rgb(var(--danger)); }
.text-tunnel { color: rgb(var(--tunnel)); }
.text-info { color: rgb(var(--info)); }
.text-gradient {
  background: linear-gradient(135deg, rgb(var(--accent)) 0%, rgb(var(--ok)) 55%, rgb(var(--tunnel)) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.uppercase { text-transform: uppercase; }
.label { font-size: 0.8125rem; line-height: 1.3; font-weight: 600; letter-spacing: 0.08em; }
.caption { font-size: 0.875rem; line-height: 1.4; font-weight: 500; }
.text-balance { text-wrap: balance; }
.mono-num { font-variant-numeric: tabular-nums; }

.card {
  background: rgb(var(--surface));
  border: 1px solid rgb(var(--border));
  border-radius: calc(var(--radius) + 8px);
  transition: background-color 250ms ease, border-color 250ms ease, transform 150ms ease, box-shadow 150ms ease;
}
.glow-accent { box-shadow: 0 0 60px -12px rgb(var(--accent) / 0.42), 0 0 120px -24px rgb(var(--accent) / 0.18); }

/* textura mesh real de la app (mesh-texture.svg) - overlay sutil */
.mesh-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400' fill='none'%3E%3Cg stroke='%2322D3EE' stroke-opacity='0.04' stroke-width='1'%3E%3Cpath d='M-100 100 L100 -100 M0 400 L400 0 M300 500 L500 300 M-100 300 L300 -100 M100 500 L500 100'/%3E%3Cpath d='M-100 200 L200 -100 M200 500 L500 200'/%3E%3C/g%3E%3Ccircle cx='0' cy='0' r='1.5'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 400px 400px;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgb(var(--canvas) / 0.78);
  border-bottom: 1px solid rgb(var(--border) / 0.6);
}
.nav-inner { display: flex; align-items: center; gap: 1rem; height: 3.5rem; }
.nav-logo { display: flex; align-items: center; gap: 0.55rem; font-weight: 600; color: rgb(var(--text-primary)); font-family: "Space Grotesk", sans-serif; font-size: 1.05rem; }
.nav-logo svg { width: 1.6rem; height: 1.6rem; }
.nav-links { display: flex; gap: 1.5rem; margin-left: auto; }
.nav-links a { color: rgb(var(--text-secondary)); font-size: 0.875rem; font-weight: 500; }
.nav-links a:hover { color: rgb(var(--text-primary)); text-decoration: none; }
.nav-cta {
  font-size: 0.875rem; font-weight: 600; padding: 0.45rem 1rem;
  border-radius: var(--radius); border: 1px solid rgb(var(--accent) / 0.45);
  color: rgb(var(--accent)); white-space: nowrap; background: rgb(var(--accent) / 0.06);
}
.nav-cta:hover { background: rgb(var(--accent) / 0.12); text-decoration: none; }
.nav-star {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.8125rem; font-weight: 600; padding: 0.4rem 0.7rem;
  border-radius: var(--radius); border: 1px solid rgb(var(--border));
  color: rgb(var(--text-secondary)); white-space: nowrap; background: rgb(var(--surface));
}
.nav-star:hover { color: rgb(var(--warn)); border-color: rgb(var(--warn) / 0.55); text-decoration: none; }
.nav-star svg { width: 0.95rem; height: 0.95rem; fill: rgb(var(--warn)); stroke: none; }
.nav-star .n { font-family: "JetBrains Mono", monospace; font-size: 0.75rem; color: rgb(var(--text-secondary)); }
@media (max-width: 560px) { .nav-star .label { display: none; } }
#langSelect {
  margin-left: 0.5rem; background: rgb(var(--surface)); color: rgb(var(--text-secondary));
  border: 1px solid rgb(var(--border)); border-radius: var(--radius); padding: 0.35rem 0.5rem;
  font-size: 0.8125rem; font-family: inherit; cursor: pointer;
}
html[dir="rtl"] #langSelect { margin-left: 0; margin-right: 0.5rem; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 6rem 0 4rem; overflow: hidden; }
.hero-halo {
  position: absolute; top: -10rem; right: -10rem; width: 36rem; height: 36rem;
  border-radius: 50%; background: radial-gradient(circle, rgb(var(--accent) / 0.18) 0%, transparent 70%);
  filter: blur(80px); animation: breathe 7s ease-in-out infinite; pointer-events: none;
}
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.hero .eyebrow { font-size: 0.875rem; letter-spacing: 0.14em; }
.hero h1 { font-size: clamp(3.5rem, 11vw, 8.5rem); line-height: 0.95; font-weight: 700; margin: 1.5rem 0 0; letter-spacing: -0.04em; }
.hero-sub { max-width: 44rem; margin-top: 1.5rem; font-size: clamp(1.15rem, 2.2vw, 1.45rem); color: rgb(var(--text-secondary)); line-height: 1.5; }
.hero-actions { display: flex; gap: 0.85rem; margin-top: 2.5rem; flex-wrap: wrap; align-items: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgb(var(--accent)); color: rgb(var(--canvas));
  font-weight: 700; font-size: 1rem; padding: 0.85rem 1.5rem;
  border-radius: var(--radius); border: none; cursor: pointer;
  transition: filter 150ms ease, transform 150ms ease, box-shadow 150ms ease;
  box-shadow: 0 0 24px -4px rgb(var(--accent) / 0.5);
}
.btn-primary:hover { filter: brightness(1.12); transform: translateY(-2px); text-decoration: none; box-shadow: 0 0 36px -2px rgb(var(--accent) / 0.55); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: rgb(var(--text-secondary)); font-weight: 600; font-size: 1rem;
  padding: 0.85rem 1.25rem; border-radius: var(--radius); border: 1px solid rgb(var(--border-strong));
  background: rgb(var(--surface) / 0.5);
}
.btn-ghost:hover { color: rgb(var(--text-primary)); border-color: rgb(var(--accent) / 0.5); background: rgb(var(--accent) / 0.08); text-decoration: none; }

.hero-facts { display: flex; gap: 0.65rem; flex-wrap: wrap; margin-top: 2.75rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.8125rem; font-weight: 600; color: rgb(var(--text-secondary));
  border: 1px solid rgb(var(--border)); border-radius: 999px; padding: 0.35rem 0.85rem;
  background: rgb(var(--surface) / 0.7); backdrop-filter: blur(4px);
}
.chip svg { width: 0.9rem; height: 0.9rem; }

.demo-strip { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 3.5rem; }
.mini-stat { display: flex; flex-direction: column; gap: 0.25rem; border-left: 1px solid rgb(var(--border)); padding-left: 1.25rem; }
.mini-stat .k { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8125rem; }
.mini-stat .k svg { width: 0.95rem; height: 0.95rem; }
.mini-stat .v { font-size: 1.35rem; font-weight: 700; }

/* ---------- ticker ---------- */
.ticker-wrap { border-block: 1px solid rgb(var(--border) / 0.7); background: rgb(var(--surface) / 0.45); overflow: hidden; position: relative; }
.ticker { display: flex; gap: 3rem; padding: 0.7rem 0; width: max-content; animation: ticker 34s linear infinite; }
.ticker-wrap:hover .ticker { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
html[dir="rtl"] .ticker { animation-direction: reverse; }
.ticker span { display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap; font-size: 0.8125rem; color: rgb(var(--text-muted)); }
.ticker i { font-style: normal; color: rgb(var(--text-secondary)); }
.ticker .dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }

/* ---------- secciones ---------- */
section.block { padding: 5rem 0; }
.eyebrow { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgb(var(--accent)); }
.block h2 { font-size: clamp(2.4rem, 6.2vw, 5rem); line-height: 1.05; font-weight: 700; margin: 0.85rem 0 0; letter-spacing: -0.03em; }
.block .lead { color: rgb(var(--text-secondary)); max-width: 48rem; margin-top: 1rem; font-size: 1.15rem; line-height: 1.55; }

/* fade-up on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- club cloudless ---------- */
.club-inner { display: flex; align-items: center; gap: 2.5rem; }
.club-copy { flex: 1; min-width: 0; }
/* Cuerpo: texto + CTA al lado (fullHD). */
.club-body { display: flex; align-items: center; gap: 2rem; }
.club-body .lead { flex: 1; min-width: 0; margin-top: 1rem; max-width: none; }
.club-cta { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 860px) {
  .club-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .club-body { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .club-body .lead { max-width: 48rem; }
}

/* ---------- acerca de mí ---------- */
.about-body { max-width: 52rem; margin-top: 1.5rem; }
.about-body p { color: rgb(var(--text-secondary)); font-size: 1.1rem; line-height: 1.65; margin: 0 0 1rem; }
.about-body p:last-child { margin-bottom: 0; }

/* ---------- teatro sticky ---------- */
.theater { display: grid; grid-template-columns: 38% 62%; gap: 1.75rem; align-items: start; margin-top: 2rem; }
.theater-steps { display: flex; flex-direction: column; gap: 48vh; padding-bottom: 30vh; }
.tstep { max-width: 32rem; opacity: 0.35; transition: opacity 450ms ease; }
.tstep .num { font-family: "JetBrains Mono", monospace; font-size: 1.05rem; color: rgb(var(--accent)); letter-spacing: 0.1em; font-weight: 700; }
.tstep h3 { font-family: "Space Grotesk", sans-serif; font-size: clamp(2.2rem, 3.8vw, 3.4rem); margin: 0.7rem 0 0.9rem; line-height: 1.12; }
.tstep p { color: rgb(var(--text-secondary)); font-size: 1.42rem; margin: 0; line-height: 1.5; }
.theater-stage { position: sticky; top: 5rem; height: 62vh; min-height: 30rem; display: flex; align-items: stretch; justify-content: center; }
.stage-frame { width: 100%; min-height: 100%; padding: 1rem; border-radius: 1.25rem; position: relative; background: rgb(var(--surface) / 0.85); border: 1px solid rgb(var(--border)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.stage-frame::before {
  content: ""; position: absolute; inset: 0; border-radius: 1.25rem;
  background: radial-gradient(1200px 500px at 20% 0%, rgb(var(--accent) / 0.08), transparent 60%);
  pointer-events: none;
}
.stage { display: none; width: 100%; height: 100%; align-items: center; justify-content: center; position: relative; }
.stage.active { display: flex; animation: stageIn 500ms ease both; }
@keyframes stageIn { from { opacity: 0; transform: translateY(18px) scale(0.985); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) {
  .theater { grid-template-columns: 1fr; }
  .theater-stage { position: relative; top: auto; height: 56vh; min-height: 24rem; margin-bottom: 2rem; }
  .theater-steps { gap: 4rem; padding-bottom: 4rem; }
  .tstep { opacity: 1; }
}

/* widgets dentro del teatro */
.w-row { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.ring-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-center .big { font-family: "Space Grotesk", sans-serif; font-size: 3.8rem; font-weight: 700; line-height: 1; color: rgb(var(--text-primary)); }
.ring-center .of { font-size: 0.95rem; color: rgb(var(--text-muted)); margin-top: 0.15rem; }
.pill { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 700; padding: 0.4rem 0.95rem; border-radius: 999px; letter-spacing: 0.04em; }
.pill.ok { background: rgb(var(--ok) / 0.12); color: rgb(var(--ok)); }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulseDot 1.6s ease-in-out infinite; }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.wan-card { width: 100%; max-width: 46rem; padding: 1rem; }
.wan-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.75rem; }
.wan-live { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; color: rgb(var(--ok)); font-weight: 700; letter-spacing: 0.08em; }
.wan-live .dot { width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--ok)); animation: pulseDot 1.6s infinite; }
#trafficChart { width: 100%; height: auto; display: block; }
.wan-stats { display: flex; gap: 2.25rem; margin-top: 1rem; flex-wrap: wrap; }
.wan-stats span { font-size: 1.05rem; }
.wan-footer { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-top: 1rem; border-top: 1px solid rgb(var(--border)); padding-top: 0.85rem; }
.wan-footer .k { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: rgb(var(--text-muted)); font-weight: 600; }
.wan-footer .v { display: block; margin-top: 0.2rem; font-size: 0.85rem; font-weight: 600; color: rgb(var(--text-primary)); }
@media (max-width: 560px) { .wan-footer { grid-template-columns: 1fr 1fr; } }
.traffic-ticks text { fill: rgb(var(--text-muted)); font-family: "JetBrains Mono", monospace; font-size: 10px; }

/* salud */
.health-box { display: flex; flex-direction: column; gap: 0.85rem; align-items: flex-start; max-width: 19rem; }
.health-note { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.9rem; color: rgb(var(--warn)); background: rgb(var(--warn) / 0.1); border: 1px solid rgb(var(--warn) / 0.25); padding: 0.5rem 0.7rem; border-radius: 0.7rem; line-height: 1.4; }
.health-note svg { width: 1rem; height: 1rem; flex-shrink: 0; margin-top: 0.1rem; }
.health-stats { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.health-stats span { font-size: 0.98rem; }

/* segmented control de rangos (4 columnas) */
.seg-ranges { grid-template-columns: repeat(4, 1fr); }

/* topología svg */
#topoSvg { width: 100%; height: 100%; display: block; }
.topo-node { opacity: 0; transform: scale(0.85); transform-box: fill-box; transform-origin: center; transition: opacity 500ms ease, transform 500ms cubic-bezier(0.22, 1, 0.36, 1); }
.topo-node.on { opacity: 1; transform: none; }
.topo-edge { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 900ms ease; filter: drop-shadow(0 0 2.5px currentColor); }
.topo-edge.on { stroke-dashoffset: 0; }
.topo-wg-flow { animation: wgFlow 1.4s linear infinite; }
@keyframes wgFlow { to { stroke-dashoffset: -28; } }
.topo-orbit { transform-origin: center; animation: topoOrbit 24s linear infinite; }
@keyframes topoOrbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.topo-halo { animation: haloPulse 6s ease-in-out infinite; }
@keyframes haloPulse { 0%, 100% { opacity: 0.08; } 50% { opacity: 0.22; } }
.topo-warn-pulse { transform-origin: center; animation: warnPulse 1.6s ease-out infinite; }
@keyframes warnPulse { 0% { opacity: 0.6; transform: scale(1); } 100% { opacity: 0; transform: scale(1.45); } }
.topo-peer-pulse { transform-origin: center; animation: peerPulse 2.2s ease-out infinite; }
@keyframes peerPulse { 0% { opacity: 0.5; transform: scale(1); } 100% { opacity: 0; transform: scale(1.23); } }
.topo-packet { offset-distance: 0%; }
@keyframes packetMove { to { offset-distance: 100%; } }
.topo-flow { opacity: 0; transition: opacity 600ms ease; }
.topo-flow.on { opacity: 1; }
.topo-guide { fill: none; stroke: rgb(var(--border-strong)); stroke-width: 1; stroke-dasharray: 2 6; opacity: 0.35; }
.topo-label { font-size: 15px; font-weight: 700; fill: rgb(var(--text-primary)); stroke: rgb(var(--canvas)); stroke-width: 4px; paint-order: stroke; }
.topo-label-sub { font-size: 12px; font-weight: 500; fill: rgb(var(--text-secondary)); stroke: rgb(var(--canvas)); stroke-width: 3px; paint-order: stroke; }
.topo-badge-text { font-size: 7px; font-weight: 800; letter-spacing: 0.04em; }

/* routers */
.rgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; width: 100%; max-width: 52rem; }
@media (max-width: 560px) { .rgrid { grid-template-columns: 1fr; } }
.rcard { padding: 1rem; display: flex; flex-direction: column; justify-content: space-between; }
.rcard .rt { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.75rem; }
.rcard .rt .nameblock { display: flex; align-items: flex-start; gap: 0.65rem; }
.rcard .iconbox { width: 2.25rem; height: 2.25rem; border-radius: 0.65rem; background: rgb(var(--elevated)); display: flex; align-items: center; justify-content: center; color: rgb(var(--accent)); flex-shrink: 0; }
.rcard .iconbox svg { width: 1.2rem; height: 1.2rem; }
.rcard .name { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1rem; display: block; color: rgb(var(--text-primary)); }
.rcard .model { font-size: 0.78rem; color: rgb(var(--text-muted)); margin-top: 0.05rem; display: block; }
.rcard .rolepill { font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; padding: 0.12rem 0.45rem; border-radius: 999px; background: rgb(var(--accent) / 0.12); color: rgb(var(--accent)); margin-top: 0.25rem; display: inline-block; }
.rcard .minimetrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.35rem 0.85rem; margin-top: 0.65rem; }
.rcard .minimetrics > div { display: flex; align-items: center; gap: 0.35rem; font-size: 0.82rem; color: rgb(var(--text-secondary)); }
.rcard .minimetrics svg { width: 1rem; height: 1rem; color: rgb(var(--text-muted)); flex-shrink: 0; }
.rcard .minimetrics .hot { color: rgb(var(--warn)); }
.rcard .minimetrics .hot svg { color: rgb(var(--warn)); }
.rcard .bottom { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; border-top: 1px solid rgb(var(--border)); padding-top: 0.85rem; margin-top: 0.85rem; }
.rcard .spark { flex: 1; height: 28px; stroke: rgb(var(--accent)); stroke-width: 2; fill: none; opacity: 0.8; }
.rcard .statuspill { font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; padding: 0.25rem 0.6rem; border-radius: 999px; display: inline-flex; align-items: center; gap: 0.35rem; }
.rcard .statuspill.ok { background: rgb(var(--ok) / 0.12); color: rgb(var(--ok)); }
.rcard .statuspill.warn { background: rgb(var(--warn) / 0.12); color: rgb(var(--warn)); }
.rcard .statuspill .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.rcard .statuspill.warn .dot { animation: pulseDot 1.6s infinite; }

/* adguard */
.ag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; align-items: stretch; width: 100%; max-width: 50rem; }
@media (max-width: 560px) { .ag-grid { grid-template-columns: 1fr; } }
.ag-stat { padding: 1rem; }
.ag-stat .v { font-family: "Space Grotesk", sans-serif; font-size: 2.4rem; font-weight: 700; }
.ag-stat .k { font-size: 0.85rem; color: rgb(var(--text-muted)); margin-top: 0.2rem; font-weight: 600; }
.ag-card { width: 100%; max-width: 30rem; padding: 1.1rem 1.2rem; }
.ag-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.9rem; }
.ag-head .label { display: inline-flex; align-items: center; gap: 0.45rem; }
.ag-head .label svg { width: 1.1rem; height: 1.1rem; }
.ag-main { display: flex; align-items: center; gap: 1.4rem; }
.ag-pct { font-size: 2.6rem; font-weight: 700; line-height: 1; }
.ag-of { margin-top: 0.4rem; font-size: 0.8rem; color: rgb(var(--text-muted)); }
.ag-donut { flex-shrink: 0; }
.ag-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1rem; }
.ag-cell { background: rgb(var(--elevated)); border-radius: 0.7rem; padding: 0.6rem 0.8rem; }
.ag-cell .k { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: rgb(var(--text-muted)); font-weight: 600; }
.ag-cell .v { display: block; margin-top: 0.2rem; font-size: 0.95rem; font-weight: 600; color: rgb(var(--text-primary)); }
.ag-domains { margin-top: 1rem; }
.ag-domains > .label { display: block; margin-bottom: 0.55rem; }
.ag-open { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1rem; font-size: 0.85rem; font-weight: 600; color: rgb(var(--text-secondary)); transition: color 150ms ease; }
.ag-open svg { width: 0.95rem; height: 0.95rem; }
.ag-open:hover { color: rgb(var(--accent)); }
.ag-bar-row { display: flex; align-items: center; gap: 0.75rem; margin: 0.55rem 0; font-size: 0.8125rem; }
.ag-bar-row .d { width: 9rem; text-align: left; color: rgb(var(--text-secondary)); font-family: "JetBrains Mono", monospace; font-size: 0.75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ag-bar-row .bar { flex: 1; height: 7px; border-radius: 999px; background: rgb(var(--elevated)); overflow: hidden; }
.ag-bar-row .bar i { display: block; height: 100%; width: 0; background: rgb(var(--ok) / 0.8); border-radius: 999px; transition: width 900ms ease; }
.ag-bar-row .n { width: 3.5rem; color: rgb(var(--text-muted)); font-family: "JetBrains Mono", monospace; font-size: 0.75rem; text-align: right; }

/* alertas */
.feed { display: flex; flex-direction: column; gap: 0.65rem; width: 100%; max-width: 44rem; }
.alert-item { display: flex; gap: 1rem; align-items: flex-start; padding: 0.9rem 1rem; border: 1px solid rgb(var(--border)); border-radius: var(--radius); background: rgb(var(--elevated) / 0.55); opacity: 0; transform: translateX(-14px); transition: opacity 500ms ease, transform 500ms ease; }
html[dir="rtl"] .alert-item { transform: translateX(14px); }
.alert-item.on { opacity: 1; transform: none; }
.alert-item .ico { width: 2rem; height: 2rem; border-radius: 0.6rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.alert-item .ico svg { width: 1.1rem; height: 1.1rem; }
.alert-item .t { font-size: 1rem; font-weight: 600; }
.alert-item .s { font-size: 0.82rem; color: rgb(var(--text-muted)); margin-top: 0.15rem; }
.alert-item.warn .ico { background: rgb(var(--warn) / 0.14); color: rgb(var(--warn)); }
.alert-item.ok .ico { background: rgb(var(--ok) / 0.14); color: rgb(var(--ok)); }
.alert-item.info .ico { background: rgb(var(--info) / 0.14); color: rgb(var(--info)); }
.alert-item.accent .ico { background: rgb(var(--accent) / 0.14); color: rgb(var(--accent)); }

/* características: tarjetas grandes */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2.75rem; }
.feature { padding: 2rem; }
.feature svg { width: 2rem; height: 2rem; margin-bottom: 1.25rem; }
.feature h3 { font-family: "Space Grotesk", sans-serif; font-size: 1.35rem; margin: 0 0 0.6rem; }
.feature p { margin: 0; color: rgb(var(--text-secondary)); font-size: 1rem; line-height: 1.55; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }

/* instalación */
.install-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.25rem; margin-top: 2.75rem; }
.install-grid > * { min-width: 0; }
@media (max-width: 860px) { .install-grid { grid-template-columns: 1fr; } }
.codecard { padding: 1.6rem; }
.codecard h3 { font-family: "Space Grotesk", sans-serif; font-size: 1.15rem; margin: 0 0 1.15rem; }
.codebox {
  display: flex; align-items: center; gap: 0.85rem;
  background: rgb(var(--canvas)); border: 1px solid rgb(var(--border));
  border-radius: var(--radius); padding: 1rem 1.15rem; overflow-x: auto;
}
.codebox code { font-family: "JetBrains Mono", monospace; font-size: 0.85rem; color: rgb(var(--text-primary)); white-space: nowrap; }
.codebox .prompt { color: rgb(var(--text-muted)); user-select: none; }
.code-actions { display: flex; justify-content: flex-end; margin: 0.6rem 0 0.75rem; }
.copybtn {
  flex-shrink: 0; border: 1px solid rgb(var(--border-strong)); background: rgb(var(--elevated));
  color: rgb(var(--text-secondary)); border-radius: calc(var(--radius) - 2px);
  font-size: 0.8rem; font-weight: 700; padding: 0.4rem 0.85rem; cursor: pointer;
}
.copybtn:hover { color: rgb(var(--text-primary)); }
.req-list { margin: 0; padding: 0; list-style: none; }
.req-list li { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.55rem 0; color: rgb(var(--text-secondary)); font-size: 0.95rem; }
.req-list svg { width: 1.1rem; height: 1.1rem; flex-shrink: 0; margin-top: 0.15rem; color: rgb(var(--ok)); }
.install-note { margin-top: 1.1rem; font-size: 0.9rem; color: rgb(var(--text-muted)); }
.install-note a { color: rgb(var(--text-secondary)); text-decoration: underline; }

/* expectativas honestas */
.honest { border-left: 3px solid rgb(var(--warn)); }
.honest p { color: rgb(var(--text-secondary)); margin: 0.75rem 0 0; font-size: 1rem; line-height: 1.55; }

/* footer */
footer { border-top: 1px solid rgb(var(--border) / 0.7); padding: 4rem 0; margin-top: 2rem; }
.foot-grid { display: flex; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
.foot-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgb(var(--text-muted)); margin: 0 0 0.85rem; }
.foot-col a { display: block; color: rgb(var(--text-secondary)); font-size: 0.95rem; padding: 0.2rem 0; }
.foot-col a:hover { color: rgb(var(--text-primary)); }
.support-link {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.4rem;
  border: 1px solid rgb(var(--warn) / 0.45); color: rgb(var(--warn));
  border-radius: var(--radius); padding: 0.55rem 1.1rem; font-size: 0.9rem; font-weight: 700;
  background: rgb(var(--warn) / 0.06);
}
.support-link:hover { background: rgb(var(--warn) / 0.12); text-decoration: none; }
.support-link svg { width: 1.1rem; height: 1.1rem; fill: rgb(var(--warn)); }
.foot-bottom { margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid rgb(var(--border)); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: rgb(var(--text-muted)); font-size: 0.8125rem; }

/* ---------- widget apariencia (flotante) ---------- */
.appearance-fab {
  position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 60;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: rgb(var(--surface)); border: 1px solid rgb(var(--border-strong));
  color: rgb(var(--text-secondary)); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgb(0 0 0 / 0.4);
  transition: transform 150ms ease, color 150ms ease, box-shadow 150ms ease;
}
html[dir="rtl"] .appearance-fab { right: auto; left: 1.25rem; }
.appearance-fab:hover { color: rgb(var(--accent)); transform: scale(1.08); box-shadow: 0 0 24px -4px rgb(var(--accent) / 0.45); }
.appearance-fab svg { width: 1.25rem; height: 1.25rem; }
.appearance-panel {
  position: fixed; bottom: 5.25rem; right: 1.25rem; z-index: 60;
  width: 17rem; padding: 1.15rem; border-radius: 1.15rem;
  background: rgb(var(--surface)); border: 1px solid rgb(var(--border));
  box-shadow: 0 20px 56px rgb(0 0 0 / 0.45);
  opacity: 0; transform: translateY(12px) scale(0.97); pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
}
html[dir="rtl"] .appearance-panel { right: auto; left: 1.25rem; }
.appearance-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.appearance-panel h5 { margin: 0 0 0.75rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgb(var(--text-muted)); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
.seg button {
  border: 1px solid rgb(var(--border)); background: transparent; color: rgb(var(--text-secondary));
  border-radius: calc(var(--radius) - 2px); padding: 0.5rem 0.25rem; font-size: 0.78rem; font-weight: 700; cursor: pointer;
  font-family: inherit;
}
.seg button.on { background: rgb(var(--accent) / 0.12); border-color: rgb(var(--accent) / 0.5); color: rgb(var(--accent)); }

/* ---------- i18n / rtl ---------- */
html[dir="rtl"] .mini-stat { border-left: none; border-right: 1px solid rgb(var(--border)); padding-left: 0; padding-right: 1.25rem; }
html[dir="rtl"] .honest { border-left: none; border-right: 3px solid rgb(var(--warn)); }

/* agente OpenWrt (stage 7) */
.term { border-radius: calc(var(--radius) + 4px); overflow: hidden; min-width: 0; }
.term-bar { display: flex; align-items: center; gap: 0.75rem; padding: 0.55rem 0.9rem; background: rgb(var(--elevated) / 0.5); border-bottom: 1px solid rgb(var(--border)); }
.term-dots { display: flex; gap: 0.4rem; }
.term-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgb(var(--text-muted)); display: inline-block; }
.term-dots i:nth-child(1) { background: #ff5f56; }
.term-dots i:nth-child(2) { background: #ffbd2e; }
.term-dots i:nth-child(3) { background: #27c93f; }
.term-title { font-size: 0.7rem; color: rgb(var(--text-muted)); letter-spacing: 0.04em; }
.term-body { padding: 0.85rem 1rem; font-size: 0.78rem; line-height: 1.75; color: rgb(var(--text-secondary)); }
.term-line { display: block; opacity: 0; }
.term-line.text-ok { color: rgb(var(--ok)); }
.agent-badge { font-size: 0.68rem; font-weight: 700; padding: 0.25rem 0.65rem; border-radius: 999px; background: rgb(var(--elevated)); border: 1px solid rgb(var(--border)); color: rgb(var(--text-secondary)); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  #bgCanvas { display: none; }
}

/* ---------- extra responsive ---------- */
@media (max-width: 520px) {
  .hero h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .hero { padding: 5.5rem 0 3rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .demo-strip { gap: 1.5rem; }
  .mini-stat { border: none; padding: 0; }
  .features { grid-template-columns: 1fr; }
}

/* ---------- slider de capturas ---------- */
.slider { user-select: none; }
.slider-main { position: relative; border: 1px solid rgb(var(--border)); border-radius: var(--radius); overflow: hidden; background: rgb(var(--elevated)); }
.slider-main img { width: 100%; height: auto; display: block; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgb(var(--border)); border-radius: 50%;
  background: rgb(var(--canvas) / 0.85); color: rgb(var(--text-primary)); cursor: pointer; z-index: 5;
}
.slider-arrow.prev { left: 14px; }
.slider-arrow.next { right: 14px; }
.slider-arrow:hover { color: rgb(var(--accent)); border-color: rgb(var(--accent)); }
.shot-caption { margin: 0.75rem 0 0; font-size: 0.92rem; color: rgb(var(--text-secondary)); text-align: center; }
.slider-thumbs { display: flex; gap: 0.75rem; justify-content: center; margin-top: 1rem; }
.thumb { width: 150px; border: 2px solid transparent; border-radius: var(--radius); padding: 0; background: transparent; cursor: pointer; overflow: hidden; opacity: 0.65; transition: opacity 180ms ease, border-color 180ms ease; }
.thumb img { width: 100%; height: auto; display: block; }
.thumb:hover { opacity: 1; }
.thumb.active { border-color: rgb(var(--accent)); opacity: 1; }
@media (max-width: 720px) {
  .slider-thumbs { justify-content: flex-start; overflow-x: auto; padding-bottom: 0.5rem; }
  .thumb { width: 110px; flex: none; }
}

/* ---------- lightbox de capturas ---------- */
#shotImg[data-shot] { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgb(5 8 14 / 0.94);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 1rem;
  padding: 2rem;
  cursor: zoom-out;
}
.lightbox:not([hidden]) { display: flex; }
.lightbox[hidden] { display: none; }
.lightbox-img {
  max-width: 92vw; max-height: 82vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgb(0 0 0 / 0.55);
}
.lightbox-caption { color: rgb(var(--text-secondary)); font-size: 0.95rem; text-align: center; }
.lightbox-close {
  position: absolute; top: 1.25rem; right: 1.5rem;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.3);
  background: transparent; color: #fff;
  font-size: 1.8rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: rgb(255 255 255 / 0.15); }
.lightbox-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lightbox-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.3);
  background: rgb(0 0 0 / 0.4); color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 1;
}
.lightbox-arrow.prev { left: 1.5rem; }
.lightbox-arrow.next { right: 1.5rem; }
.lightbox-arrow:hover { background: rgb(255 255 255 / 0.15); }
.lightbox-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ============================================================
   v2.1 - secciones nuevas: hero shot, cómo funciona, ingeniería,
   comparativa, gratis, FAQ
   ============================================================ */

/* ---------- hero: captura real + badges ---------- */
.hero-badges { display: flex; gap: 0.65rem; flex-wrap: wrap; margin-top: 1.1rem; }
.chip-link { text-decoration: none; transition: border-color .2s, background .2s; }
.chip-link:hover { border-color: rgb(var(--border-strong)); background: rgb(var(--hover)); }
.hero-shot { margin-top: 3.25rem; }
.browser-frame { overflow: hidden; padding: 0 !important; }
.bf-bar {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.65rem 1rem;
  background: rgb(var(--elevated));
  border-bottom: 1px solid rgb(var(--border));
}
.bf-dots { display: flex; gap: 0.4rem; }
.bf-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgb(var(--border-strong)); display: block; }
.bf-url { font-size: 0.72rem; color: rgb(var(--text-muted)); }
.browser-frame img { display: block; width: 100%; height: auto; }

/* ---------- cómo funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.step { position: relative; padding: 1.75rem; }
.step svg { width: 26px; height: 26px; margin-bottom: 0.9rem; }
.step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step p { color: rgb(var(--text-secondary)); font-size: 0.92rem; line-height: 1.55; }
.step-num {
  position: absolute; top: 1.1rem; inset-inline-end: 1.35rem;
  font-size: 1.6rem; font-weight: 600; color: rgb(var(--border-strong));
}
.how-time { margin-top: 1.75rem; display: flex; justify-content: center; }

/* ---------- ingeniería ---------- */
.statband {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
  margin-top: 2.5rem;
}
.stat {
  background: rgb(var(--surface)); border: 1px solid rgb(var(--border));
  border-radius: var(--radius); padding: 1.6rem 1.25rem; text-align: center;
}
.stat-v { display: block; font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 700; }
.stat-k { display: block; margin-top: 0.4rem; color: rgb(var(--text-secondary)); font-size: 0.85rem; font-weight: 500; }
.eng-chips { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.75rem; justify-content: center; }

/* ---------- comparativa ---------- */
.compare-wrap { margin-top: 2.5rem; overflow-x: auto; padding: 0.5rem !important; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.compare-table tbody tr.lose td:first-child { color: rgb(var(--text-secondary)); font-weight: 400; }
.compare-table th, .compare-table td { padding: 0.85rem 1.1rem; text-align: start; font-size: 0.92rem; }
.compare-table thead th {
  color: rgb(var(--text-secondary)); font-weight: 600; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  border-bottom: 1px solid rgb(var(--border));
  text-align: center;
}
.compare-table thead th:first-child { text-align: start; }
.compare-table thead th.np { color: rgb(var(--accent)); }
.compare-table tbody td { border-bottom: 1px solid rgb(var(--border)); color: rgb(var(--text-secondary)); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody td:first-child { color: rgb(var(--text-primary)); font-weight: 500; }
.compare-table td.ck, .compare-table td.no, .compare-table td.pt { text-align: center; font-weight: 700; font-size: 1.05rem; }
.compare-table td.ck { color: rgb(var(--ok)); }
.compare-table td.no { color: rgb(var(--text-muted)); }
.compare-table td.pt { color: rgb(var(--warn)); }
.compare-note { margin-top: 1rem; }

/* ---------- gratis ---------- */
.free-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 1.25rem; margin-top: 2.5rem; align-items: stretch; }
.free-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 2.5rem 1.75rem; gap: 0.35rem;
}
.free-price { font-size: clamp(3.5rem, 7vw, 5rem); font-weight: 700; color: rgb(var(--ok)); line-height: 1; }
.free-period { color: rgb(var(--text-secondary)); font-size: 1.05rem; margin-bottom: 1.5rem; }
.free-list-card { padding: 2rem 2.25rem; }
.free-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1.75rem; }
.free-list li { display: flex; align-items: center; gap: 0.7rem; color: rgb(var(--text-primary)); font-size: 0.95rem; font-weight: 500; }
.free-list svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0.85rem; margin-top: 2.5rem; }
.faq-item { padding: 0 !important; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.15rem 1.5rem;
  font-weight: 600; font-size: 1rem; color: rgb(var(--text-primary));
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.35rem; font-weight: 400; color: rgb(var(--text-muted));
  transition: transform .2s; flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: rgb(var(--accent)); }
.faq-item summary:focus-visible { outline: 2px solid rgb(var(--accent)); outline-offset: -2px; border-radius: var(--radius); }
.faq-item p { padding: 0 1.5rem 1.25rem; margin: 0; color: rgb(var(--text-secondary)); line-height: 1.6; font-size: 0.95rem; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .statband { grid-template-columns: repeat(2, 1fr); }
  .free-grid { grid-template-columns: 1fr; }
  .free-list { grid-template-columns: 1fr; }
  .hero-shot { margin-top: 2.25rem; }
}

/* ============================================================
   v2.2 - página /features: detalle de funciones, decisiones y alcance honesto
   ============================================================ */

.nav-links a.active { color: rgb(var(--accent)); }

.features-detail { margin-top: 2rem; }
.features-detail .feature { padding: 1.75rem; display: flex; flex-direction: column; }
.features-detail .feature p { flex: 1; }

.feature-list { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.45rem; }
.feature-list li { position: relative; padding-left: 1.15rem; color: rgb(var(--text-secondary)); font-size: 0.92rem; line-height: 1.45; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 0.55rem; width: 5px; height: 5px; border-radius: 50%; background: rgb(var(--accent)); }

.feature-status { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 1.1rem; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.2rem 0.55rem; border-radius: 999px; background: rgb(var(--ok) / 0.12); color: rgb(var(--ok)); }
.feature-status.partial { background: rgb(var(--warn) / 0.12); color: rgb(var(--warn)); }
.feature-status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

.decisions { display: grid; gap: 0.85rem; margin-top: 2.5rem; }
.decision { padding: 0 !important; }
.decision summary { cursor: pointer; list-style: none; padding: 1.15rem 1.5rem; font-weight: 600; font-size: 1rem; color: rgb(var(--text-primary)); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.decision summary::-webkit-details-marker { display: none; }
.decision summary::after { content: "+"; font-size: 1.35rem; font-weight: 400; color: rgb(var(--text-muted)); transition: transform .2s; flex-shrink: 0; }
.decision[open] summary::after { transform: rotate(45deg); }
.decision summary:hover { color: rgb(var(--accent)); }
.decision p { padding: 0 1.5rem 1.25rem; margin: 0; color: rgb(var(--text-secondary)); line-height: 1.6; font-size: 0.95rem; }

.honest-list { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.65rem; }
.honest-list li { position: relative; padding-left: 1.25rem; color: rgb(var(--text-secondary)); font-size: 0.95rem; line-height: 1.55; }
.honest-list li::before { content: "x"; position: absolute; left: 0; top: 0.05rem; color: rgb(var(--warn)); font-weight: 700; font-size: 1rem; }
html[dir="rtl"] .honest-list li { padding-left: 0; padding-right: 1.25rem; }
html[dir="rtl"] .honest-list li::before { left: auto; right: 0; }
