/* Concepto: "Señal Nocturna". Bento sobre tinta profunda, haces de luz azul y menta, un único coral reservado a los CTAs. */
:root {
  --ink: #0D1513;
  --surface: #111C19;
  --card: #15211E;
  --card-hi: #1C2B27;
  --line: #263632;
  --text: #E6EFEC;
  --muted: #9DB1AB;
  --blue: #F0A53A;
  --mint: #8FD8C8;
  --cta: #6CC5B3;
  --cta-hi: #8FD8C8;
  color-scheme: dark;
}
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: "Libre Franklin", "Segoe UI", system-ui, sans-serif; font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.gutter { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.shell { max-width: 1200px; margin-inline: auto; }
h1, h2, h3 { font-family: Rubik, "Segoe UI", system-ui, sans-serif; font-weight: 700 !important; text-wrap: balance; letter-spacing: -.02em; margin: 0; }
.font-display { font-family: Rubik, "Segoe UI", system-ui, sans-serif; }
.font-extrabold, .font-bold { font-weight: 700 !important; }
.font-mono { font-variant-numeric: tabular-nums; font-weight: 500; }
.eyebrow { font-family: inherit; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.beam { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.beam::before, .beam::after { content: ""; position: absolute; border-radius: 50%; filter: blur(110px); }
.beam::before { width: 620px; height: 620px; background: var(--blue); top: -260px; right: -120px; opacity: .28; }
.beam::after { width: 520px; height: 520px; background: var(--mint); top: 160px; left: -240px; opacity: .14; }
.grid-bg { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .35;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); }

.glass { background: var(--card); border: 1px solid var(--line); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255,255,255,.07) inset, 0 24px 48px -24px rgba(0,0,0,.7), 0 2px 6px rgba(0,0,0,.35); }
.tile { position: relative; border-radius: 28px; overflow: hidden; transition: transform .45s cubic-bezier(.2,.8,.2,1), border-color .3s; }
.tile::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(240,165,58,.18), transparent 60%); }
.tile:hover { transform: translateY(-4px); border-color: rgba(240,165,58,.45); }
.tile:hover::before { opacity: 1; }
.tile > * { position: relative; }

.btn-cta { display: inline-flex; align-items: center; gap: .6rem; background: var(--cta); color: #1A0A04; font-weight: 600;
  padding: .95rem 1.5rem; border-radius: 999px; transition: transform .25s, background .25s, box-shadow .25s; border: 0; cursor: pointer; font-size: 1rem;
  box-shadow: 0 10px 30px -10px rgba(255,107,61,.7); }
.btn-cta:hover { background: var(--cta-hi); transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(255,107,61,.8); }
.btn-cta:active { transform: translateY(0); }
.btn-ghost { display: inline-flex; align-items: center; gap: .6rem; padding: .95rem 1.4rem; border-radius: 999px; border: 1px solid var(--line);
  color: var(--text); font-weight: 500; transition: background .25s, border-color .25s; background: transparent; cursor: pointer; font-size: 1rem; }
.btn-ghost:hover { background: var(--card-hi); border-color: rgba(255,255,255,.2); }

.lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); }
.lang button { font-family: inherit; font-size: 12px; padding: .3rem .65rem; border-radius: 999px; color: var(--muted); border: 0; background: transparent; cursor: pointer; transition: all .25s; }
.lang button[aria-pressed="true"] { background: var(--card-hi); color: var(--text); }

.phone { width: 280px; aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 10px; background: linear-gradient(160deg, #222833, #0b0e13);
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 50px 90px -30px rgba(240,165,58,.45), 0 30px 60px -20px #000; position: relative; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 82px; height: 22px; border-radius: 99px; background: #000; z-index: 3; }
.screen { height: 100%; border-radius: 35px; background: #0A0D13; overflow: hidden; padding: 52px 18px 18px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.screen-in { animation: screenIn .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes screenIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.chip { font-family: inherit; font-size: 11px; padding: .2rem .55rem; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.row { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.06); }

.tab { display: flex; align-items: center; gap: .75rem; width: 100%; text-align: left; padding: .8rem 1rem; border-radius: 20px;
  border: 1px solid transparent; color: var(--muted); transition: all .3s; background: transparent; cursor: pointer; font: inherit; }
.tab:hover { background: var(--card); color: var(--text); }
.tab[aria-selected="true"] { background: var(--card-hi); border-color: var(--line); color: var(--text); }
.tab[aria-selected="true"] .tab-ic { background: linear-gradient(135deg, var(--blue), var(--mint)); color: #0D1513; }
.tab-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--card); flex: none; transition: all .3s; }

.rise { animation: rise .9s cubic-bezier(.2,.8,.2,1) backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.pulse-dot { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 38s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details[open] .plus { transform: rotate(45deg); }
.plus { transition: transform .3s; }

/* Política de privacidad */
.prose-doc h2 { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.05; margin-top: 3.5rem; scroll-margin-top: 90px; }
.prose-doc h3 { font-weight: 700; font-size: 1.35rem; margin-top: 2rem; scroll-margin-top: 90px; }
.prose-doc p, .prose-doc li { color: #C3CAD8; max-width: 68ch; }
.prose-doc p { margin: .9rem 0 0; }
.prose-doc ul { margin: .9rem 0 0; padding-left: 1.2rem; list-style: disc; }
.prose-doc li { margin-top: .4rem; }
.prose-doc li::marker { color: var(--mint); }
.prose-doc a:not(.btn-cta) { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.toc a { display: block; padding: .35rem .75rem; border-left: 1px solid var(--line); color: var(--muted); font-size: 14px; transition: all .2s; }
.toc a:hover { color: var(--text); border-color: var(--mint); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Estilo plano inspirado en diapsis.com: superficies sólidas, bordes finos, radio 18px, sin brillos de fondo */
.beam, .grid-bg { display: none; }
.glass { -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; border-radius: 18px; }
.glass.rounded-3xl, .glass.rounded-2xl, .tile { border-radius: 18px !important; }
.glass.rounded-\[36px\] { border-radius: 24px !important; }
.site-header { background: rgba(13,21,19,.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.tile:hover { transform: translateY(-3px); border-color: var(--mint); }
.tile::before { display: none; }
.btn-cta, .btn-ghost { min-height: 48px; padding: 0 22px; justify-content: center; }
.btn-cta { color: #0D1513; box-shadow: none; }
.btn-cta:hover { box-shadow: none; }
.btn-ghost { background: var(--card); }
.chip, .lang button, .eyebrow.glass { font-family: inherit; }
.phone { box-shadow: 0 30px 60px -24px #000; border-color: var(--line); background: linear-gradient(160deg, #1C2B27, #0D1513); }
.screen { background: #0D1513; }