:root {
  /* Paleta oficial Bralox */
  --navy: #081f44;
  --deep-blue: #172b85;
  --cyan: #22d3ee;
  --amber: #ffb703;
  --gray: #94a3b8;
  --light: #f8fafc;

  --accent: #172b85;
  --slate: #3d4f5c;
  --bg: #f8fafc;
  --text: #0f1b2e;
  --muted: #55627a;
  --line: #d8dee8;
  --white: #ffffff;
  --font: "Inter", "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Inter", "Segoe UI", sans-serif;
  --mono: "Space Grotesk", "Inter", ui-monospace, monospace;
  --header: 4.5rem;
  --max: 72rem;
  color-scheme: only light;
}

html {
  color-scheme: only light !important;
  background-color: #ffffff;
}

body {
  color-scheme: only light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

html[lang="es"] [data-en] {
  display: none !important;
}

html[lang="en"] [data-es] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(27, 58, 75, 0.45);
  z-index: 25;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.band-navy :focus-visible {
  outline-color: var(--bg);
}

::selection {
  background: var(--navy);
  color: var(--bg);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  z-index: 50;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--navy);
  padding: 0.55rem 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.section {
  padding: 4.75rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  margin-bottom: 0.75rem;
}

h1,
h2,
.logo {
  letter-spacing: -0.02em;
}

section[id],
main {
  scroll-margin-top: 5.25rem;
}

h1:focus,
h2:focus {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

h1,
h2,
h3 {
  font-family: var(--display);
}

h1,
h2 {
  color: var(--navy);
  font-weight: 600;
  line-height: 1.18;
}

h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.15rem);
}

.section-lead,
.lede,
.plan p,
.footer-note {
  color: var(--muted);
}

.section-lead,
.lede {
  font-size: 1.0625rem;
  line-height: 1.65;
}

.band-white {
  background: var(--white);
}

.band-navy {
  background: var(--navy);
  color: var(--bg);
}

.band-navy h2,
.band-navy h3 {
  color: var(--white);
}

.band-navy h2:focus {
  outline-color: var(--bg);
}

.band-navy .section-lead,
.band-navy .step p,
.band-navy .distinction p {
  color: #e7eef2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary,
.btn-primary:visited {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.btn-invite {
  animation: inviteShift 2.6s ease-in-out infinite;
}

.hero .btn-invite,
.band-navy .btn-invite {
  animation: inviteGlow 2.2s ease-in-out infinite;
}

.btn-invite:hover,
.btn-invite:focus-visible {
  animation: none;
}

.btn-secondary,
.btn-secondary:visited {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-secondary:hover {
  background: #e4ebf0;
  color: var(--navy);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  color-scheme: only light;
  forced-color-adjust: none;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #081f44;
  border-top: 4px solid #081f44;
  border-bottom: 1px solid #d8dee8;
  padding-top: 0.55rem;
}

.site-header .wrap,
.site-header .header-inner {
  background-color: #ffffff !important;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem 1.5rem;
  min-height: var(--header);
}

.logo {
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  flex: none;
}

.logo-img {
  width: 160px;
  height: auto;
}

.logo:hover .logo-img {
  opacity: 0.85;
}

.logo:not(:has(.logo-img)):hover {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.nav-links,
.nav-cta,
.header-end,
.lang-switch,
.hero-actions,
.footer-nav ul {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: 1.2rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.98rem;
  text-decoration: none;
}

.nav-links a:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.nav-cta {
  gap: 0.6rem;
}

.header-end {
  gap: 0.55rem;
  flex: none;
}

.lang-switch {
  border: 1px solid #d8dee8;
  background-color: #ffffff;
}

.lang-switch button {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.35rem;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}

html[lang="es"] .lang-switch [data-set-lang="es"],
html[lang="en"] .lang-switch [data-set-lang="en"] {
  background: var(--navy);
  color: var(--white);
}

.lang-sep {
  color: var(--muted);
  user-select: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.8rem;
  border: 1px solid #d8dee8;
  background-color: #ffffff;
  color: #081f44;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}

.nav-toggle .when-closed,
.nav-toggle .when-open {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-toggle[aria-expanded="false"] .when-open,
.nav-toggle[aria-expanded="true"] .when-closed {
  display: none;
}

.toggle-icon {
  width: 1.05rem;
  height: 1.05rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.25rem 0 4.75rem;
  background:
    radial-gradient(circle at 78% 28%, rgba(34, 211, 238, 0.12), transparent 34%),
    radial-gradient(circle at 88% 82%, rgba(255, 183, 3, 0.08), transparent 28%),
    linear-gradient(160deg, #06142f, #081f44);
  color: #f8fafc;
}

.hero-ambient {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.grid-line {
  position: absolute;
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.22), transparent);
  animation: drift 14s linear infinite;
}

.line-1 { top: 22%; left: 8%; transform: rotate(-8deg); }
.line-2 { top: 48%; left: 22%; transform: rotate(6deg); animation-delay: 3s; }
.line-3 { top: 74%; left: 4%; transform: rotate(-4deg); animation-delay: 6s; }

.scan-beam {
  position: absolute;
  top: -10%;
  left: 20%;
  width: 2px;
  height: 120%;
  background: linear-gradient(transparent, rgba(34, 211, 238, 0.45), transparent);
  transform: rotate(12deg);
  animation: scan 9s ease-in-out infinite;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(34, 211, 238, 0.1);
  border-radius: 50%;
  animation: spin 32s linear infinite;
}

.orbit-1 { width: 34rem; height: 34rem; right: -12rem; top: -4rem; }
.orbit-2 { width: 48rem; height: 48rem; right: -18rem; top: -10rem; animation-duration: 48s; }

.node {
  position: absolute;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 12px #22d3ee;
  animation: blink 3s ease-in-out infinite;
}

.n1 { left: 72%; top: 18%; }
.n2 { left: 86%; top: 36%; animation-delay: 0.7s; }
.n3 { left: 64%; top: 62%; animation-delay: 1.3s; }
.n4 { left: 88%; top: 74%; animation-delay: 1.9s; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .kicker {
  color: #67e8f9;
}

.pulse-dot {
  width: 0.45rem;
  height: 0.45rem;
  flex: none;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.55);
  animation: pulse 2s infinite;
}

h1 {
  max-width: 14em;
  margin-bottom: 1rem;
  font-size: clamp(2.05rem, 3.5vw, 3.05rem);
  text-wrap: balance;
}

.hero h1 {
  color: #f8fafc;
}

.hero h1:focus {
  outline-color: #67e8f9;
}

.lede {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.hero .lede {
  color: #c5d4e2;
}

.hero-actions {
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero .btn-primary,
.hero .btn-primary:visited {
  background: #ffb703;
  border-color: #ffb703;
  color: #07111f;
}

.hero .btn-primary:hover {
  background: #ffc53d;
  border-color: #ffc53d;
  color: #07111f;
}

.hero .btn-secondary,
.hero .btn-secondary:visited {
  background: transparent;
  border-color: rgba(248, 250, 252, 0.28);
  color: #f8fafc;
}

.hero .btn-secondary:hover {
  background: rgba(248, 250, 252, 0.08);
  color: #ffffff;
}

.hero-loop {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.75rem;
  margin-top: 1.85rem;
  color: #8ea0b3;
  font-size: 0.875rem;
}

.hero-loop b {
  margin-right: 0.35rem;
  color: #f8fafc;
  font-family: var(--mono);
  font-weight: 500;
}

.hero-visual {
  position: relative;
  min-height: 28rem;
  min-width: 0;
}

.radar-stage {
  position: absolute;
  inset: 0 0 7rem 0;
  display: grid;
  place-items: center;
}

.halo {
  position: absolute;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.16), rgba(34, 211, 238, 0.02) 52%, transparent 72%);
}

.auth-sentinel {
  position: relative;
  z-index: 3;
  width: 8.5rem;
  height: 8.5rem;
  animation: auth-sentinel-float 5.6s ease-in-out infinite;
}

.auth-sentinel svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.auth-sentinel__sweep,
.auth-sentinel__orbit {
  transform-box: view-box;
  transform-origin: center;
}

.auth-sentinel__sweep {
  animation: auth-sentinel-sweep 8s linear infinite;
}

.auth-sentinel__orbit {
  animation: auth-sentinel-sweep 32s linear infinite;
}

.auth-sentinel__pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: auth-sentinel-pulse 3.6s ease-out infinite;
}

.auth-sentinel__pulse--late {
  animation-delay: 1.8s;
}

.auth-sentinel__beacon {
  transform-box: fill-box;
  transform-origin: center;
  animation: auth-sentinel-beacon 2.2s ease-in-out infinite;
}

.auth-sentinel__visor {
  animation: auth-sentinel-visor 1.7s ease-in-out infinite;
}

.radar-ring,
.radar-sweep {
  position: absolute;
  border-radius: 50%;
}

.radar-ring {
  border: 1px solid rgba(34, 211, 238, 0.18);
}

.r1 { width: 11rem; height: 11rem; }
.r2 { width: 17rem; height: 17rem; }
.r3 { width: 23rem; height: 23rem; border-color: rgba(255, 183, 3, 0.14); }

.radar-sweep {
  z-index: 2;
  width: 11rem;
  height: 11rem;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(34, 211, 238, 0.22) 18deg, transparent 52deg);
  animation: spin 6.5s linear infinite;
}

.sample-card {
  position: absolute;
  z-index: 4;
  left: 0;
  bottom: 0.5rem;
  width: min(100%, 18.5rem);
  padding: 0.95rem 1rem 0.45rem;
  border: 1px solid rgba(248, 250, 252, 0.12);
  border-radius: 0.7rem;
  background: rgba(9, 26, 45, 0.88);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.sample-kicker {
  color: #67e8f9;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sample-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(248, 250, 252, 0.08);
  color: #f8fafc;
  font-size: 0.92rem;
}

.sample-card li > span:first-child {
  min-width: 0;
}

.sample-state {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: none;
  color: #d5e3ea;
  font-size: 0.8125rem;
}

.live-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 8px #2dd4bf;
}

.is-live {
  color: #5eead4;
}

.cap-grid,
.audience-grid,
.plan-grid,
.steps {
  display: grid;
  gap: 1rem;
}

.audience-card,
.plan {
  border: 1px solid var(--line);
  background: var(--bg);
}

.audience-card {
  background: var(--white);
  padding: 1.35rem 1.3rem 1.45rem;
}

.band-white .plan {
  background: var(--bg);
}

.band-white .plan.is-featured {
  background: #fffdf6;
}

.audience-card h3 {
  color: var(--navy);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.audience-card p {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* Capacidades — pestañas interactivas */
.cap-tabs {
  display: grid;
  grid-template-columns: minmax(15rem, 21rem) 1fr;
  gap: 1rem;
  align-items: start;
}

.cap-tablist {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cap-radio {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.cap-tab {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-weight: 500;
  font-size: 1rem;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.cap-tab .icon,
.cap-tab svg,
.cap-tab span {
  pointer-events: none;
}

.cap-tab .icon {
  width: 1.4rem;
  height: 1.4rem;
  flex: none;
  color: var(--accent);
}

.cap-tab:hover {
  border-color: var(--navy);
}

.cap-radio:checked + .cap-tab {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.cap-radio:checked + .cap-tab .icon {
  color: var(--cyan);
}

.cap-radio:focus-visible + .cap-tab {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.cap-radio:checked:focus-visible + .cap-tab {
  outline-color: var(--cyan);
}

.cap-panel {
  display: none;
  grid-template-columns: minmax(0, 1.15fr) minmax(12rem, 0.85fr);
  gap: 1.35rem 1.5rem;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  padding: 1.6rem 1.5rem;
}

.cap-tabs:has(#cap-input-1:checked) #cap-panel-1,
.cap-tabs:has(#cap-input-2:checked) #cap-panel-2,
.cap-tabs:has(#cap-input-3:checked) #cap-panel-3,
.cap-tabs:has(#cap-input-4:checked) #cap-panel-4,
.cap-tabs:has(#cap-input-5:checked) #cap-panel-5,
.cap-tabs:has(#cap-input-6:checked) #cap-panel-6,
.cap-tabs:has(#cap-input-7:checked) #cap-panel-7,
.cap-tabs:has(#cap-input-8:checked) #cap-panel-8 {
  display: grid;
}

.cap-visual {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #081f44;
}

.cap-visual img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.cap-panel:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.cap-panel-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.cap-panel-icon {
  display: inline-flex;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg);
}

.cap-panel-icon .icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--accent);
}

.cap-panel h3 {
  color: var(--navy);
  font-size: 1.4rem;
  font-weight: 600;
}

.cap-panel-lead {
  max-width: 44rem;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.65;
}

.cap-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.6rem 1.5rem;
  margin-top: 1.3rem;
}

.cap-points li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.5;
}

.cap-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.85rem;
  height: 0.45rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.icon {
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
  color: var(--accent);
}

.icon * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon .dot {
  fill: currentColor;
  stroke: none;
}

.steps {
  gap: 1.75rem;
}

.step {
  border-top: 2px solid rgba(34, 211, 238, 0.4);
  padding-top: 1rem;
}

.step-visual {
  margin: 0 0 1.1rem;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(248, 250, 252, 0.12);
  background: #06142f;
}

.step-visual img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.step-num {
  display: block;
  margin-bottom: 0.7rem;
  color: #d5e3ea;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
  font-weight: 500;
}

.distinction {
  max-width: 46rem;
  margin-top: 2.25rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(243, 245, 247, 0.35);
}

.distinction-label {
  margin-bottom: 0.35rem;
  color: #d5e3ea;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.audience-grid {
  gap: 1.15rem;
}

.plan {
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--navy);
  padding: 1.2rem 1.15rem 1.35rem;
}

.plan.is-featured {
  border-top-color: var(--amber);
  background: #fffdf6;
}

.plan-kicker {
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan h3 {
  margin-bottom: 0.45rem;
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 500;
}

.plan p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.plan-limits {
  display: grid;
  gap: 0.45rem;
  margin: 1.1rem 0 0;
}

.plan-limits div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.45rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.plan-limits dt {
  color: var(--muted);
}

.plan-limits dd {
  margin: 0;
  color: var(--navy);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.plan-enterprise {
  max-width: 40rem;
  margin-top: 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.section-cta,
.plans-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.plans-cta {
  margin-top: 1.35rem;
}

.page-intro {
  padding: 4.25rem 0 3.25rem;
  background:
    radial-gradient(circle at 82% 18%, rgba(34, 211, 238, 0.12), transparent 32%),
    linear-gradient(160deg, #06142f, #081f44);
  color: #f8fafc;
}

.page-intro .kicker {
  color: #22d3ee;
}

.page-intro h1 {
  color: #f8fafc;
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  max-width: 22ch;
  margin-bottom: 0.85rem;
}

.page-intro .lede {
  color: #d5deea;
  max-width: 40rem;
}

.faq-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2.25rem;
}

.faq-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.faq-toc a:hover,
.faq-toc a:focus-visible {
  border-color: var(--navy);
}

.faq-group {
  margin-bottom: 2.5rem;
}

.faq-group h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
}

.faq-item[open] {
  border-color: var(--navy);
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 1.1rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  margin-left: auto;
  flex: none;
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-n {
  flex: none;
  min-width: 1.6rem;
  color: var(--gray);
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
}

.faq-a {
  padding: 0 1.1rem 1.15rem 3.55rem;
  color: var(--muted);
}

.faq-a p + p,
.faq-a p + ul,
.faq-a table {
  margin-top: 0.75rem;
}

.faq-a a {
  color: var(--accent);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.faq-a ul {
  padding-left: 1.15rem;
  list-style: disc;
}

.faq-a li + li {
  margin-top: 0.25rem;
}

.faq-table-wrap {
  overflow-x: auto;
  margin-top: 0.85rem;
}

.faq-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.faq-table th,
.faq-table td {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.faq-table th {
  color: var(--navy);
  font-weight: 600;
}

.faq-table td {
  font-variant-numeric: tabular-nums;
}

.faq-note {
  margin-top: 0.85rem;
  font-size: 0.95rem;
}

.nav-links a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(16rem, 0.75fr);
  gap: 1.75rem 1.5rem;
  align-items: start;
}

.news-layout.is-home {
  grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.85fr);
}

.news-card {
  padding: 1.15rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
}

.news-card:first-child {
  padding-top: 0;
}

.news-card.is-compact {
  padding: 0.85rem 0;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  margin-bottom: 0.4rem;
  color: var(--gray);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.news-card h3 {
  font-size: 1.12rem;
  line-height: 1.35;
  margin-bottom: 0.45rem;
}

.news-card h3 a {
  color: var(--navy);
  text-decoration: none;
}

.news-card h3 a:hover {
  color: var(--accent);
}

.news-card p {
  color: var(--muted);
}

.news-open {
  margin-top: 0.45rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.news-open a {
  color: var(--accent);
}

.news-aside {
  position: sticky;
  top: 5.5rem;
  padding: 1.2rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
}

.news-aside h2 {
  font-size: 1.05rem;
  margin: 1.15rem 0 0.65rem;
}

.news-aside h2:first-child {
  margin-top: 0;
}

.news-side-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.news-side-list a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.35;
}

.news-side-list a:hover {
  color: var(--accent);
}

.news-side-list span {
  display: block;
  margin-top: 0.2rem;
  color: var(--gray);
  font-size: 0.8rem;
}

.news-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
}

.news-sources a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.news-updated,
.news-note,
.news-empty {
  color: var(--muted);
  font-size: 0.92rem;
}

.news-updated {
  margin-top: 1rem;
}

.news-note {
  margin-top: 0.65rem;
}

.band-navy .btn-primary,
.band-navy .btn-primary:visited {
  background: #ffb703;
  border-color: #ffb703;
  color: #081f44;
}

.band-navy .btn-primary:hover {
  background: #ffc53d;
  border-color: #ffc53d;
  color: #081f44;
}

.site-footer {
  background: var(--navy);
  color: var(--bg);
  padding: 2.75rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem 3rem;
  align-items: flex-start;
}

.site-footer .logo {
  color: var(--white);
}

.footer-note {
  max-width: 36rem;
  margin-top: 0.75rem;
  color: #d5e3ea;
  font-size: 0.95rem;
  line-height: 1.55;
}

.footer-nav ul {
  gap: 0.85rem 1.5rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--bg);
  font-weight: 600;
  text-underline-offset: 0.2em;
}

.footer-nav a:hover {
  color: var(--white);
}

@media (min-width: 720px) {
  .audience-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 900px) {
  .plan-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 899px) {
  .plan-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .hero {
    padding: 3.25rem 0 3.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 0;
  }

  .radar-stage {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 22rem;
    height: 20rem;
    margin-inline: auto;
  }

  .r2 { width: 14rem; height: 14rem; }
  .r3 { width: 18rem; height: 18rem; }

  .sample-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    max-width: 28rem;
    margin: 0.25rem auto 0;
  }
}

@media (max-width: 1100px) {
  .cap-panel {
    grid-template-columns: 1fr;
  }

  .cap-visual {
    max-width: 26rem;
  }
}

@media (max-width: 820px) {
  .cap-tabs {
    grid-template-columns: 1fr;
  }

  .cap-tablist {
    flex-direction: row;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .cap-tab {
    flex: 0 0 auto;
    width: auto;
  }

  .cap-panel {
    grid-template-columns: 1fr;
  }

  .cap-visual {
    order: -1;
    max-width: 28rem;
  }
}

@media (max-width: 719px) {
  .section {
    padding: 3.25rem 0;
  }

  .faq-a {
    padding-left: 1.1rem;
  }

  .page-intro {
    padding: 2.75rem 0 2.5rem;
  }

  .audience-grid,
  .plan-grid,
  .news-layout,
  .news-layout.is-home {
    grid-template-columns: 1fr;
  }

  .news-aside {
    position: static;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 1199px) {
  .header-inner,
  html.js .header-inner {
    position: relative;
    flex-wrap: nowrap;
    align-items: center;
    min-height: 3.75rem;
    gap: 0.5rem 0.65rem;
  }

  .logo {
    order: 1;
    min-width: 0;
    flex: 1 1 auto;
  }

  .logo-img {
    width: min(148px, 48vw);
    max-width: 100%;
    height: auto;
  }

  .header-end {
    order: 2;
    flex: 0 0 auto;
    margin-left: auto;
    gap: 0.35rem;
  }

  .lang-switch button {
    min-width: 2.4rem;
    min-height: 2.4rem;
  }

  .nav-toggle {
    min-height: 2.4rem;
    padding: 0 0.6rem;
    font-size: 0.88rem;
  }

  .site-nav {
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    margin-left: 0;
    padding-bottom: 1rem;
  }

  .nav-links,
  .nav-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .nav-links a {
    border-bottom: 1px solid #e3e8ec;
  }

  .nav-cta {
    margin-top: 0.55rem;
  }

  .nav-cta .btn {
    width: 100%;
  }

  html.js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0.35rem 1.25rem 1.15rem;
    color-scheme: only light;
    background-color: #ffffff !important;
    border-bottom: 1px solid #d8dee8;
    box-shadow: 0 16px 32px rgba(27, 58, 75, 0.08);
  }

  html.js .site-nav.is-open {
    display: flex;
    max-height: calc(100dvh - var(--header));
    overflow-y: auto;
  }

  html.js .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 420px) {
  .wrap {
    width: min(var(--max), calc(100% - 1.5rem));
  }

  .logo-img {
    width: min(124px, 42vw);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (prefers-color-scheme: dark) {
  html,
  body,
  .site-header,
  .site-header .wrap,
  .site-header .header-inner,
  .site-header .lang-switch,
  .site-header .nav-toggle,
  html.js .site-nav {
    color-scheme: only light;
    background-color: #ffffff !important;
    color: #081f44;
  }

  .site-header .nav-links a,
  .site-header .btn-secondary,
  .site-header .btn-secondary:visited,
  .site-header .lang-switch button,
  .site-header .nav-toggle {
    color: #081f44;
  }

  .site-header .btn-secondary,
  .site-header .btn-secondary:visited {
    background-color: #ffffff;
    border-color: #081f44;
  }

  .site-header .btn-primary,
  .site-header .btn-primary:visited {
    background-color: #081f44;
    border-color: #081f44;
    color: #ffffff;
  }
}

@media (forced-colors: active) {
  :focus-visible {
    outline: 2px solid Highlight;
  }

  .btn,
  .lang-switch,
  .nav-toggle,
  .sample-card,
  .cap-tab,
  .cap-panel,
  .cap-visual,
  .step-visual,
  .plan {
    border-color: CanvasText;
  }
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 0.5rem transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

@keyframes drift {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 0.8; }
}

@keyframes scan {
  0%, 100% { transform: translateX(-18vw) rotate(12deg); opacity: 0; }
  18%, 68% { opacity: 0.65; }
  88% { transform: translateX(55vw) rotate(12deg); opacity: 0; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes auth-sentinel-sweep {
  to { transform: rotate(360deg); }
}

@keyframes auth-sentinel-pulse {
  0% { transform: scale(0.62); opacity: 0.4; }
  100% { transform: scale(1.42); opacity: 0; }
}

@keyframes auth-sentinel-beacon {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.28; }
}

@keyframes auth-sentinel-visor {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

@keyframes auth-sentinel-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes blink {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}

@keyframes logoSweep {
  0%, 58% { left: -45%; }
  78%, 100% { left: 130%; }
}

@keyframes inviteShift {
  0%, 100% {
    background-color: #081f44;
    border-color: #081f44;
    color: #ffffff;
    box-shadow: 0 0 0 0 rgba(255, 183, 3, 0);
  }
  50% {
    background-color: #ffb703;
    border-color: #ffb703;
    color: #081f44;
    box-shadow: 0 0 0 10px rgba(255, 183, 3, 0);
  }
}

@keyframes inviteGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 183, 3, 0.5);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(255, 183, 3, 0);
    filter: brightness(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .grid-line,
  .scan-beam,
  .orbit,
  .node,
  .pulse-dot,
  .radar-sweep,
  .btn-invite,
  .auth-sentinel,
  .auth-sentinel__sweep,
  .auth-sentinel__orbit,
  .auth-sentinel__pulse,
  .auth-sentinel__beacon,
  .auth-sentinel__visor {
    animation: none;
  }

  .scan-beam {
    display: none;
  }

  .node {
    opacity: 0.8;
  }
}
