/* Design system — inspirado em Conta Azul + Agilize (briefing do cliente).
   Sem dark mode: o produto não tinha antes e o briefing não pede. */
:root {
  --primary: #0052ff;
  --primary-hover: #0041cc;
  --primary-soft: #eaf0ff;
  --action: #10b981;
  --action-hover: #0da271;
  --action-soft: #e7f9f2;
  --ink: #0f172a;
  --muted: #64748b;
  --bg: #cbeafb;
  --surface: #ffffff;
  --border: #a8d8ed;
  --accent-teal: #0ea5e9;
  /* Azul/marinho da splash (/) — usado no cabeçalho de todas as telas,
     pra a marca ficar consistente do primeiro clique em diante. */
  --brand-navy-start: #101c42;
  --brand-navy-end: #060a18;
  --brand-blue-soft: #7da8ff;
  --brand-blue-line: rgba(125, 168, 255, 0.22);
  --good: #10b981;
  --good-soft: #e7f9f2;
  --warn: #d97706;
  --warn-soft: #fef3e2;
  --bad: #dc2626;
  --bad-soft: #fdeaea;
  --radius-pill: 9999px;
  --radius-card: 20px;
  --radius-input: 10px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 12px 30px rgba(0, 82, 255, 0.12);
  --font-display: "Plus Jakarta Sans", "Inter", -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-display);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

/* fundo ambiente (formas geométricas semitransparentes) — atrás de tudo,
   nunca captura clique. Cards/tabelas têm fundo opaco próprio por cima. */
.bg-shapes-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.topbar, .container, .public-header, .landing-section, .public-footer, .auth-shell { position: relative; z-index: 1; }

/* ---------------------------------------------------------------------- */
/* Topbar (app logado)                                                    */
/* ---------------------------------------------------------------------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--brand-navy-start), var(--brand-navy-end));
  border-bottom: 1px solid var(--brand-blue-line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  font-weight: 800;
  font-size: 1.25rem;
  color: #f1f5ff;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand span { color: var(--brand-blue-soft); }

.topnav { display: flex; align-items: center; gap: 22px; }
.topnav a { color: rgba(241, 245, 255, 0.75); text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.topnav a:hover { color: #ffffff; }
.tenant-label, .tenant-switcher select {
  font-size: 0.85rem;
  color: rgba(241, 245, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--brand-blue-line);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
}
.tenant-switcher select option { color: var(--ink); }
.help-btn {
  padding: 7px 16px;
  border-radius: 14px;
  border: 1px solid var(--brand-blue-line);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(241, 245, 255, 0.85);
  font-weight: 600;
  font-size: 0.85rem;
  font-family: inherit;
  white-space: nowrap;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.help-btn:hover { background: rgba(255, 255, 255, 0.18); color: #ffffff; }

.help-modal-overlay {
  position: fixed; inset: 0; z-index: 20;
  background: rgba(6, 10, 24, 0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
/* [hidden] precisa de mais especificidade que a classe acima, senão o
   display:flex do autor vence a regra padrão do navegador pro atributo
   "hidden" e o modal fica sempre visível. */
.help-modal-overlay[hidden] { display: none; }
.help-modal {
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-hover);
  max-width: 640px; width: 100%;
  max-height: 80vh;
  display: flex; flex-direction: column;
}
.help-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 26px;
  border-bottom: 1px solid var(--border);
}
.help-modal-header h2 { margin: 0; font-size: 1.1rem; }
.help-modal-close {
  background: none; border: none; cursor: pointer;
  font-size: 1.4rem; line-height: 1; color: var(--muted);
  padding: 0 4px;
}
.help-modal-close:hover { color: var(--ink); }
.help-modal-tabs { display: flex; gap: 4px; padding: 12px 26px 0; border-bottom: 1px solid var(--border); }
.help-tab-btn {
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 0.9rem; font-weight: 600; color: var(--muted);
  padding: 8px 4px 12px; margin-right: 18px;
  border-bottom: 2px solid transparent;
}
.help-tab-btn.is-ativo { color: var(--primary); border-bottom-color: var(--primary); }
.help-tab-painel { display: none; }
.help-tab-painel.is-ativo { display: block; }
.help-modal-body { overflow-y: auto; padding: 20px 26px; }
.help-modal-item { margin-bottom: 18px; }
.help-modal-item:last-child { margin-bottom: 0; }
.help-modal-item strong { display: block; margin-bottom: 4px; color: var(--ink); }
.help-modal-item p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
@media (max-width: 640px) {
  .help-modal { max-height: 88vh; }
  .help-modal-header, .help-modal-body { padding-left: 18px; padding-right: 18px; }
}

.video-capitulos { display: flex; flex-direction: column; gap: 16px; }
.video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  background: #060a18;
  display: block;
}
.capitulos-menu {
  display: flex; flex-wrap: wrap; gap: 8px;
  max-height: 220px; overflow-y: auto;
}
.capitulo-btn {
  background: var(--primary-soft);
  border: 1px solid transparent;
  color: var(--ink);
  font-family: inherit; font-size: 0.82rem; font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.capitulo-btn:hover { background: var(--border); }
.capitulo-btn.is-ativo { background: var(--primary); color: #ffffff; }

.chat-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 15;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-hover);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease;
}
.chat-fab:hover { transform: translateY(-2px); background: var(--primary-hover); }

.chat-panel {
  position: fixed; right: 24px; bottom: 92px; z-index: 15;
  width: 360px; max-width: calc(100vw - 48px);
  height: 480px; max-height: calc(100vh - 140px);
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-hover);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.chat-panel[hidden] { display: none; }
.chat-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--brand-navy-start), var(--brand-navy-end));
  color: #ffffff;
  font-weight: 600;
}
.chat-panel-close {
  background: none; border: none; cursor: pointer;
  font-size: 1.3rem; line-height: 1; color: rgba(255, 255, 255, 0.85);
}
.chat-panel-close:hover { color: #ffffff; }
.chat-mensagens {
  flex: 1; overflow-y: auto;
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.chat-msg {
  max-width: 85%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
  white-space: pre-wrap;
}
.chat-msg-user {
  align-self: flex-end;
  background: var(--primary);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}
.chat-msg-bot {
  align-self: flex-start;
  background: var(--primary-soft);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}
.chat-form {
  display: flex; gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border);
}
.chat-form input {
  flex: 1;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  font-family: inherit;
  font-size: 0.88rem;
}
.chat-form button {
  padding: 9px 16px;
  border: none;
  border-radius: var(--radius-input);
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}
.chat-form button:hover { background: var(--primary-hover); }
@media (max-width: 640px) {
  .chat-panel { width: calc(100vw - 24px); right: 12px; bottom: 84px; }
  .chat-fab { right: 16px; bottom: 16px; }
}

.inline-form { display: inline; margin: 0; }
.link-button {
  background: none;
  border: none;
  color: rgba(241, 245, 255, 0.75);
  cursor: pointer;
  font-size: 0.92rem;
  font-family: inherit;
  padding: 0;
}
.link-button:hover { color: #ff8080; }

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.auth-shell {
  max-width: 440px;
  margin: 60px auto 0;
}
.back-link {
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.back-link:hover { color: var(--primary); }

h1 { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 4px; color: var(--ink); }
h2 { font-size: 1.25rem; font-weight: 700; margin-top: 32px; color: var(--ink); }
.subtitle { color: var(--muted); margin-top: 0; margin-bottom: 28px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 26px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.card-hover { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.field { margin-bottom: 18px; position: relative; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.field label a { font-weight: 500; color: var(--primary); text-decoration: none; font-size: 0.8rem; margin-left: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  color: var(--ink);
  font-size: 0.95rem;
  font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.field-hint {
  min-height: 18px;
  font-size: 0.8rem;
  margin-top: 5px;
  font-weight: 500;
}
.field-hint.ok { color: var(--good); }
.field-hint.bad { color: var(--bad); }
.field-hint.checking { color: var(--muted); }

.usage-bar {
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-top: 6px;
}
.usage-bar-fill { height: 100%; background: var(--primary); transition: width 0.3s; }
.usage-bar-fill.warn { background: var(--warn); }
.usage-bar-fill.bad { background: var(--bad); }
.plan-usage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-top: 12px; }

.strength-meter {
  height: 5px;
  border-radius: var(--radius-pill);
  background: var(--border);
  margin-top: 8px;
  overflow: hidden;
}
.strength-meter-fill { height: 100%; transition: width 0.2s, background 0.2s; }

button, .btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease;
}
button:hover, .btn:hover { background: var(--primary-hover); }
button:active, .btn:active { transform: translateY(1px); }
button:disabled { background: var(--border); color: var(--muted); cursor: not-allowed; }
.btn-secondary { background: transparent; border: 1px solid var(--border); color: var(--ink); }
.btn-secondary:hover { background: var(--bg); }
.btn-action { background: var(--action); }
.btn-action:hover { background: var(--action-hover); }

.auth-switch { margin-top: 18px; text-align: center; font-size: 0.9rem; color: var(--muted); }
.auth-switch a { color: var(--primary); text-decoration: none; font-weight: 600; }

.alert {
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.alert-error { background: var(--bad-soft); color: var(--bad); border: 1px solid rgba(220, 38, 38, 0.15); }
.alert-success { background: var(--good-soft); color: #0a7a53; border: 1px solid rgba(16, 185, 129, 0.2); }
.alert-warn { background: var(--warn-soft); color: var(--warn); border: 1px solid rgba(217, 119, 6, 0.2); }

table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-recebido, .badge-processando, .badge-aguardando_curadoria { background: var(--warn-soft); color: var(--warn); }
.badge-aprovado, .badge-protocolo_recebido, .badge-gerado, .badge-aceito { background: var(--good-soft); color: #0a7a53; }
.badge-reprovado, .badge-erro, .badge-irregularidade { background: var(--bad-soft); color: var(--bad); }
.badge-pendente, .badge-enviado, .badge-editado { background: var(--bg); color: var(--muted); border: 1px solid var(--border); }
.badge-inconsistencia { background: var(--warn-soft); color: var(--warn); }
.badge-suspeita { background: var(--primary-soft); color: var(--primary); }
.badge-ignorado { background: var(--bg); color: var(--muted); border: 1px solid var(--border); text-decoration: line-through; }

.empty-state { color: var(--muted); text-align: center; padding: 40px 0; }

.helper-text { color: var(--muted); font-size: 0.85rem; margin-top: -14px; margin-bottom: 24px; }

.htmx-indicator { display: none; }
.htmx-request .htmx-indicator { display: inline; }
.htmx-request.htmx-indicator { display: inline; }

/* ---------------------------------------------------------------------- */
/* Landing page — tipografia de seção reaproveitável                      */
/* ---------------------------------------------------------------------- */

.h1-hero {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 20px;
}
.h2-section {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 12px;
  text-align: center;
}
.h3-card { font-size: clamp(18px, 2vw, 22px); font-weight: 600; color: var(--ink); margin: 0 0 8px; }
.section-lede { color: var(--muted); font-size: 17px; text-align: center; max-width: 60ch; margin: 0 auto 48px; }

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.landing-section { padding: 88px 24px; }
.landing-section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.landing-inner { max-width: 1120px; margin: 0 auto; }

/* header público — mesmo azul-marinho da splash, pra manter a marca
   consistente entre a entrada (/) e as páginas Sobre/Ajuda. */
.public-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: linear-gradient(135deg, var(--brand-navy-start), var(--brand-navy-end));
  border-bottom: 1px solid var(--brand-blue-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
}
.public-header .brand { color: #f1f5ff; }
.public-header .brand span { color: var(--brand-blue-soft); }
.public-header nav { display: flex; gap: 28px; }
.public-header nav a { color: rgba(241, 245, 255, 0.75); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.public-header nav a:hover { color: #ffffff; }
.public-header .actions { display: flex; gap: 12px; align-items: center; }
.public-header .btn-secondary { background: rgba(255, 255, 255, 0.08); color: #f1f5ff; border: 1px solid var(--brand-blue-line); }
.public-header .btn-secondary:hover { background: rgba(255, 255, 255, 0.16); }

/* hero (usado dentro de .landing-section no sobre.html/ajuda.html) */
.hero-lede { font-size: 18px; color: var(--muted); max-width: 46ch; margin: 0 0 28px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-play { display: inline-flex; align-items: center; gap: 8px; }

/* calculadora */
.calc-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-sm); padding: 40px; max-width: 760px; margin: 0 auto; }
.calc-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.calc-row label { font-weight: 700; }
#calc-valor { font-family: var(--font-display); font-weight: 800; color: var(--primary); font-size: 1.1rem; transition: color 0.2s; }
input[type="range"] { width: 100%; accent-color: var(--primary); margin: 10px 0 28px; }
.calc-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.calc-result { border: 1px solid var(--border); border-radius: 14px; padding: 16px; text-align: center; transition: all 0.2s; }
.calc-result.best { border-color: var(--action); background: var(--action-soft); box-shadow: var(--shadow-hover); }
.calc-result .modelo { font-size: 0.78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.calc-result .preco { font-size: 1.3rem; font-weight: 800; margin-top: 6px; font-variant-numeric: tabular-nums; }
.calc-result .selo { display: inline-block; margin-top: 6px; font-size: 0.72rem; font-weight: 700; color: var(--action); }

/* preços */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.plan-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 28px; box-shadow: var(--shadow-sm); }
.plan-card .plan-tag { display: inline-block; font-size: 0.75rem; font-weight: 700; color: var(--accent-teal); background: #e6f7ff; padding: 4px 12px; border-radius: var(--radius-pill); margin-bottom: 14px; }
.plan-card .plan-price { font-size: 1.9rem; font-weight: 800; margin: 4px 0 10px; }
.plan-card .plan-price small { font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.plan-card p { color: var(--muted); font-size: 0.92rem; }
.plan-info-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 14px 0; }
.plan-info-row p { margin: 0; }
.plan-info-row button, .plan-info-row a { flex-shrink: 0; }

/* ecossistema */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.feature-item { display: flex; gap: 14px; }
.feature-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 800; }

/* footer público */
.public-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 48px 32px 32px; }
.public-footer .footer-inner { max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.public-footer a { color: var(--muted); text-decoration: none; font-size: 0.88rem; }
.public-footer a:hover { color: var(--ink); }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin: 0 0 12px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-legal { max-width: 1120px; margin: 32px auto 0; padding-top: 20px; border-top: 1px solid var(--border); font-size: 0.78rem; color: var(--muted); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 56px 20px; }
  .public-header nav { display: none; }
  .landing-section { padding: 56px 18px; }
}

/* ============================================================
   Splash — tela cheia de entrada, tema escuro dedicado (só aqui).
   Referência de movimento: blueyard.com (cubo girando + esfera).
   Cores trocadas pro azul/verde da marca — mantém identidade.
   ============================================================ */
.splash-screen {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse 120% 80% at 50% 15%, #101c42 0%, #060a18 62%, #030509 100%);
  color: #f1f5ff;
  font-family: var(--font-display);
}

.splash-canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }

.splash-orb-glow {
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: -28vw;
  width: 62vw;
  height: 62vw;
  max-width: 760px;
  max-height: 760px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, rgba(125, 168, 255, 0.55), rgba(16, 185, 129, 0.28) 55%, rgba(6, 10, 24, 0) 78%);
  filter: blur(2px);
  animation: splash-orb-breathe 8s ease-in-out infinite;
}

@keyframes splash-orb-breathe {
  0%, 100% { opacity: 0.75; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.04); }
}

.splash-header { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 28px 32px; }
.splash-logo { font-weight: 800; font-size: 1.1rem; letter-spacing: 0.01em; }
.splash-logo span { color: #6f9bff; }

.splash-menu-btn {
  position: relative; z-index: 3;
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer;
}
.splash-menu-btn:hover { background: rgba(255, 255, 255, 0.11); }
.splash-menu-btn span { width: 18px; height: 2px; background: #f1f5ff; border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.splash-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.splash-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.splash-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.splash-nav {
  position: fixed; inset: 0; z-index: 4;
  background: rgba(4, 6, 14, 0.97);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
  opacity: 0; pointer-events: none; transform: translateY(-10px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.splash-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.splash-nav a { color: #f1f5ff; text-decoration: none; font-size: 1.7rem; font-weight: 700; }
.splash-nav a:hover { color: #6f9bff; }

.splash-main {
  position: relative; z-index: 2;
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
  padding: 40px 24px 18vw;
  text-align: center;
}
.splash-slogan {
  font-weight: 800;
  font-size: clamp(2rem, 5.6vw, 4rem);
  line-height: 1.1;
  max-width: 17ch;
  margin: 0 auto;
  text-wrap: balance;
  background: linear-gradient(180deg, #ffffff 0%, #b9c9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.splash-cta {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--brand-navy-end);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(125, 168, 255, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.splash-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(125, 168, 255, 0.35); }

@media (prefers-reduced-motion: reduce) {
  .splash-orb-glow { animation: none; }
  .splash-nav, .splash-menu-btn span { transition: none; }
}

@media (max-width: 640px) {
  .splash-slogan { max-width: 14ch; }
  .splash-orb-glow { width: 90vw; height: 90vw; bottom: -40vw; }
}
