:root {
  --bg-dark: #0b101b;
  --bg-medium: #121a2a;
  --bg-light: #1a253a;
  --surface-panel: rgba(18, 26, 42, 0.85);
  --text-primary: #f0f4f8;
  --text-secondary: #a0aec0;
  --fg-bright: var(--text-primary);
  --fg-medium: var(--text-secondary);
  --fg-dark: #718096;
  --border-color: #2d3748;
  --accent: #22d3ee;
  --accent-hover: #4ff3ff;
  --accent-glow: rgba(34, 211, 238, 0.28);
  --cyan: var(--accent);
  --cyan-dark: #0891b2;
  --yellow: #ffd400;
  --glow-color-1: #00ffff;
  --glow-color-2: #ff00ff;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Lora", Georgia, serif;
  --font-mono: "Source Code Pro", "SFMono-Regular", Consolas, monospace;
  --container-width: 1140px;
  --spacing: 1.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

body.overlay-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.08), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(79, 243, 255, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(11, 16, 27, 0.95), rgba(11, 16, 27, 1));
  z-index: -2;
}

.landing {
  padding-bottom: calc(var(--spacing) * 6);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: calc(var(--spacing) * 4) var(--spacing);
  position: relative;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-fade-in {
  position: relative;
}

.stagger-fade-in > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.stagger-fade-in.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

.privacy-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  background: rgba(14, 21, 32, 0.95);
  border-bottom: 1px solid rgba(34, 211, 238, 0.14);
  color: var(--fg-medium);
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: center;
  padding: 0.75rem var(--spacing);
  position: relative;
}
.privacy-banner.is-hidden {
  display: none;
}
.privacy-banner__text {
  margin: 0 auto;
  max-width: 900px;
}
.privacy-banner__title {
  font-weight: 600;
  color: var(--fg-bright);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-right: 0.4rem;
}
.privacy-banner__close {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--fg-bright);
  background: transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.95rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.privacy-banner__close:hover,
.privacy-banner__close:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  outline: none;
}

/* --- Navigation --- */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(11, 16, 27, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45, 55, 72, 0.6);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--container-width);
  padding: 0 var(--spacing);
  height: 72px;
  position: relative;
}

.logo {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing) * 1.2);
}

.main-nav a {
  position: relative;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text-primary);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing) * 0.8);
}

.nav-auth {
  display: flex;
  align-items: center;
}

.nav-auth button,
.nav-auth {
  font-size: 0.95rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  position: relative;
  cursor: pointer;
}

.mobile-menu-toggle .line {
  position: absolute;
  left: 20%;
  width: 60%;
  height: 2px;
  background-color: currentColor;
  transition: transform 0.25s ease-in-out, opacity 0.25s ease-in-out, top 0.25s ease-in-out;
}

.mobile-menu-toggle .line:nth-child(1) {
  top: 30%;
}

.mobile-menu-toggle .line:nth-child(2) {
  top: 50%;
}

.mobile-menu-toggle .line:nth-child(3) {
  top: 70%;
}

.nav-container.mobile-menu-open .mobile-menu-toggle .line:nth-child(1) {
  top: 50%;
  transform: rotate(135deg);
}

.nav-container.mobile-menu-open .mobile-menu-toggle .line:nth-child(2) {
  opacity: 0;
  left: -100%;
}

.nav-container.mobile-menu-open .mobile-menu-toggle .line:nth-child(3) {
  top: 50%;
  transform: rotate(-135deg);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 0.55rem;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn.is-busy,
.btn:disabled {
  pointer-events: none;
  opacity: 0.7;
  box-shadow: none;
}

.btn.is-busy::after {
  content: "";
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid rgba(3, 20, 39, 0.4);
  border-top-color: rgba(3, 20, 39, 0.9);
  animation: btn-spin 0.8s linear infinite;
  margin-left: 0.75rem;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #0ea5e9);
  color: #031427;
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 14px 36px rgba(79, 243, 255, 0.35);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: rgba(34, 211, 238, 0.4);
}

.btn-secondary:hover {
  background: rgba(34, 211, 238, 0.12);
  color: var(--accent-hover);
}

.btn-tertiary {
  background: rgba(34, 211, 238, 0.08);
  color: var(--accent);
  border-color: rgba(34, 211, 238, 0.12);
  padding: 0.55rem 1.2rem;
  font-size: 0.95rem;
}

.btn-tertiary:hover {
  background: rgba(34, 211, 238, 0.16);
  color: var(--accent-hover);
}

.btn-large {
  padding: 1rem 2.4rem;
  font-size: 1.125rem;
}

.btn-compact {
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
  line-height: 1.2;
}

.btn-launch {
  min-width: 210px;
}

/* --- Hero --- */
.section-hero {
  text-align: center;
  position: relative;
}

.section-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(34, 211, 238, 0.2), transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(74, 222, 255, 0.12), transparent 40%);
  opacity: 0.8;
  z-index: -1;
  filter: blur(80px);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

.hero-subtitle {
  margin: 1.5rem auto 2.4rem;
  max-width: 720px;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.8rem;
  flex-wrap: wrap;
}

.hero-terminal {
  background: var(--bg-medium);
  border: 1px solid rgba(45, 55, 72, 0.7);
  border-radius: 0.75rem;
  padding: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  font-family: var(--font-mono);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

.terminal-header {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.terminal-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.terminal-prompt {
  color: var(--accent);
}

.terminal-output {
  white-space: pre-wrap;
}

.cursor {
  display: inline-block;
  width: 10px;
  height: 1.2em;
  background-color: var(--text-primary);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* --- Mission --- */
.section-mission {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: calc(var(--spacing) * 2.4);
  align-items: center;
  overflow: hidden;
}

.mission-animation-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 0;
}

.stagger-fade-in.is-visible .mission-animation-bg {
  opacity: 0.45;
  animation: pan-grid 24s linear infinite;
}

@keyframes pan-grid {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 50px 50px;
  }
}

.mission-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.6;
  border-left: 3px solid var(--accent);
  padding-left: var(--spacing);
  position: relative;
  z-index: 1;
}

.mission-text {
  position: relative;
  z-index: 1;
}

.mission-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.mission-text p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* --- Systems --- */
.section-systems h2,
.section-pillars h2,
.section-careers h2,
.section-contact h2 {
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: calc(var(--spacing) * 2.5);
}

.the-voice-showcase {
  text-align: center;
  padding: calc(var(--spacing) * 3);
  border-radius: 1rem;
  background: linear-gradient(180deg, var(--bg-medium), rgba(11, 16, 27, 0.85));
  border: 1px solid rgba(34, 211, 238, 0.18);
  box-shadow: 0 20px 40px rgba(2, 6, 14, 0.45);
  margin-bottom: calc(var(--spacing) * 3);
}

.flagship-icon {
  color: var(--accent);
  margin-bottom: 1.25rem;
  font-size: 2.5rem;
}

.flagship-icon svg {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 12px var(--accent-glow));
}

.the-voice-showcase p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-secondary);
  line-height: 1.7;
}

.showcase-action {
  margin-top: 2.2rem;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing);
}

.system-card {
  display: flex;
  flex-direction: column;
  background: rgba(18, 26, 42, 0.92);
  border-radius: 0.85rem;
  border: 1px solid rgba(45, 55, 72, 0.9);
  padding: calc(var(--spacing) * 1.4);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.system-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35), 0 0 20px var(--accent-glow);
}

.system-card__head h4 {
  margin: 0;
  font-size: 1.3rem;
}

.system-card__head .role {
  margin: 0.4rem 0 1.1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.system-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
}

.card-action {
  margin-top: 1.6rem;
}

/* --- Pillars --- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: calc(var(--spacing) * 1.1);
}

.pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  padding: calc(var(--spacing) * 1.2);
  border-radius: 0.85rem;
  border: 1px solid rgba(45, 55, 72, 0.9);
  background: rgba(18, 26, 42, 0.75);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.pillar-card:hover {
  border-color: var(--accent);
  background: rgba(18, 26, 42, 0.92);
}

.pillar-card .icon {
  color: var(--accent);
  font-size: 1.9rem;
}

.pillar-card h4 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
}

.pillar-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Careers --- */
.section-careers {
  text-align: center;
}

.section-careers p {
  max-width: 680px;
  margin: 0 auto 2.2rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.careers-card {
  margin: 0 auto;
  max-width: 620px;
  padding: calc(var(--spacing) * 2);
  border-radius: 1rem;
  border: 1px solid rgba(34, 211, 238, 0.16);
  background: rgba(18, 26, 42, 0.85);
  display: grid;
  gap: 1.5rem;
}

.careers-card p {
  margin: 0;
}

/* --- Contact --- */
.section-contact {
  position: relative;
}

.contact-tagline {
  text-align: center;
  max-width: 680px;
  margin: -1rem auto 2.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
  gap: calc(var(--spacing) * 1.5);
  padding: calc(var(--spacing) * 2);
  border-radius: 1.75rem;
  border: 1px solid rgba(34, 211, 238, 0.16);
  background:
    radial-gradient(135% 160% at 0% 0%, rgba(34, 211, 238, 0.18), transparent 60%),
    radial-gradient(130% 160% at 100% 0%, rgba(120, 53, 255, 0.12), transparent 65%),
    linear-gradient(180deg, rgba(12, 17, 32, 0.95), rgba(5, 8, 14, 0.92));
  box-shadow: 0 35px 60px rgba(3, 7, 18, 0.45);
}

.contact-panel {
  display: grid;
  gap: 1.5rem;
}

.contact-chip {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.1);
  color: var(--accent-hover);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  width: fit-content;
}

.contact-panel-title {
  font-size: 1.6rem;
  margin: 0;
}

.contact-panel-copy {
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-highlights {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
  list-style: none;
}

.contact-highlights li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.highlight-icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.5rem;
  box-shadow: 0 0 10px var(--accent-glow);
}

.contact-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.meta-item {
  display: grid;
  gap: 0.25rem;
}

.meta-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.meta-value {
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 1.8rem;
}

.contact-form-intro {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.contact-field {
  display: grid;
  gap: 0.65rem;
}

.contact-field--full {
  grid-column: 1 / -1;
}

.contact-field label {
  font-weight: 500;
}

.contact-field input,
.contact-field textarea {
  background: rgba(7, 11, 20, 0.9);
  border: 1px solid rgba(45, 55, 72, 0.8);
  border-radius: 0.65rem;
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.2);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-privacy {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-submit {
  position: relative;
  overflow: hidden;
}

.contact-submit-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.3), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-submit:hover .contact-submit-glow {
  opacity: 1;
}

.notice {
  margin: 0 auto 2rem;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  max-width: 520px;
  text-align: center;
}

.notice.success {
  background: rgba(6, 78, 59, 0.5);
  color: #d1fae5;
}

.notice.error {
  background: rgba(127, 29, 29, 0.5);
  color: #fee2e2;
}

/* --- Voice Overlay --- */
.voice-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.voice-overlay.active {
  display: flex;
}

.voice-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.7);
  backdrop-filter: blur(6px);
}

.voice-overlay__panel {
  position: relative;
  max-width: 960px;
  width: 100%;
  margin: 1.5rem;
  max-height: min(95vh, 900px);
  min-height: 0;
  border-radius: 1.5rem;
  background: rgba(9, 15, 27, 0.9);
  border: 1px solid rgba(34, 211, 238, 0.18);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.voice-overlay__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.4);
  color: var(--accent);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.voice-overlay__close:hover {
  transform: rotate(90deg);
  background: rgba(34, 211, 238, 0.2);
}

.voice-overlay__header {
  padding: 2.5rem 2.5rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(34, 211, 238, 0.1);
}

.voice-overlay__header h2 {
  margin: 0;
  font-size: 1.8rem;
}

.voice-overlay__header p {
  margin: 0.9rem auto 0;
  max-width: 600px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.voice-overlay__body {
  padding: 2.5rem;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.transcript-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.transcript-list li {
  border-radius: 1rem;
  border: 1px solid rgba(34, 211, 238, 0.12);
  padding: 1rem 1.25rem;
  background: rgba(18, 26, 42, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.transcript-list li.user-turn {
  border-color: rgba(79, 243, 255, 0.2);
  background: rgba(13, 20, 34, 0.75);
}

.transcript-list li.bot-turn {
  border-color: rgba(250, 204, 21, 0.25);
  background: rgba(20, 24, 34, 0.78);
}

.transcript-list .speaker {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.transcript-list .message {
  color: var(--text-primary);
  line-height: 1.6;
  white-space: pre-wrap;
}

/* --- Voice App --- */
/* --- Voice Utilities & Layout --- */
#the-voice-app-container {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 2.5rem 1rem 2rem;
  position: relative;
  overflow: hidden;
  gap: 1.75rem;
}

#the-voice-app-container .text-5xl { font-size: 3rem; }
#the-voice-app-container .text-4xl { font-size: 2.25rem; }
#the-voice-app-container .text-lg { font-size: 1.125rem; }
#the-voice-app-container .mt-4 { margin-top: 1rem; }
#the-voice-app-container .mt-12 { margin-top: 3rem; }
#the-voice-app-container .mb-8 { margin-bottom: 2rem; }
#the-voice-app-container .text-gray-300 { color: var(--fg-medium); }
#the-voice-app-container .text-gray-400 { color: var(--fg-dark); }
#the-voice-app-container .font-black { font-weight: 900; }
#the-voice-app-container .tracking-tight { letter-spacing: -0.025em; }
#the-voice-app-container .header-glow { text-shadow: 0 0 10px var(--glow-color-1), 0 0 20px var(--glow-color-2); }
#the-voice-app-container .grid { display: grid; }
#the-voice-app-container .grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
#the-voice-app-container .gap-6 { gap: 1.5rem; }
@media (min-width: 768px){
  #the-voice-app-container .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #the-voice-app-container .md\:text-xl { font-size: 1.25rem; }
  #the-voice-app-container .md\:text-6xl { font-size: 3.75rem; }
}

.voice-view {
  display: none;
  width: 100%;
  max-width: 56rem;
  max-height: 100%;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  position: relative;
  pointer-events: none;
}

.voice-view.active-view {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.view-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#interaction-screen.voice-view.active-view {
  display: flex;
}

#interaction-screen.voice-view {
  flex: 1;
  min-height: 0;
}

.voice-view:not(#interaction-screen) {
  overflow-y: auto;
}

.auth-greeting {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(59, 130, 246, 0.16));
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 16px 32px rgba(14, 165, 233, 0.16);
  width: min(100%, 42rem);
  overflow: hidden;
  backdrop-filter: blur(4px);
}

.auth-greeting::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.28), transparent 55%);
  opacity: 0.7;
  pointer-events: none;
}

.auth-greeting::after {
  content: "";
  position: absolute;
  inset: -60% 55% -60% -45%;
  background: linear-gradient(130deg, rgba(14, 165, 233, 0.55), transparent 55%);
  opacity: 0.35;
  transform: rotate(1deg);
  pointer-events: none;
}

.auth-greeting__emoji { font-size: 1.5rem; }
.auth-greeting__headline {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg-bright);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.auth-greeting__body { margin: 0.1rem 0 0; font-size: 0.85rem; color: rgba(239, 246, 255, 0.82); }
.auth-greeting__accent {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.6);
  margin-top: 0.35rem;
}
.auth-greeting__accent::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.6), rgba(125, 211, 252, 0));
  border-radius: 999px;
}

.auth-greeting--page {
  position: fixed;
  bottom: clamp(1.5rem, 6vw, 3rem);
  right: clamp(1.5rem, 6vw, 3rem);
  width: clamp(220px, 24vw, 280px);
  margin: 0;
  justify-content: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 150;
  pointer-events: none; /* never block hero/buttons while visible */
}

.auth-greeting--visible {
  opacity: 1;
  transform: translateY(0);
}

.auth-greeting--dismissed {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

@media (max-width: 640px) {
  .auth-greeting--page {
    bottom: 1rem;
    right: 0.75rem;
    width: calc(100vw - 1.5rem);
  }
}

#the-voice-app-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex: 1;
  min-height: 0;
}

#start-screen .icon-container { color: var(--cyan); margin: 0 auto 1.5rem; }
#start-button {
  margin-top: 2.25rem;
  padding-left: 2.25rem;
  padding-right: 2.25rem;
}
.onboarding { display: grid; grid-template-columns: 1fr; gap: 0.75rem; max-width: 400px; text-align: left; }
.onboard-step { display: flex; align-items: center; gap: 0.75rem; color: var(--fg-medium); }
.onboard-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  background: var(--cyan);
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 1rem;
}

.persona-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: left;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}
.persona-card:hover { transform: translateY(-5px); border-color: var(--cyan); box-shadow: 0 0 20px rgba(34, 211, 238, 0.2); }
.persona-card.active { border-color: var(--cyan); box-shadow: 0 0 25px rgba(34, 211, 238, 0.3); }
.persona-card.preferred:not(.active) {
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.12);
}
.persona-card h3 { margin: 0 0 0.5rem 0; color: var(--fg-bright); }
.persona-card p { margin: 0; line-height: 1.6; color: var(--fg-medium); }
.persona-card[aria-busy="true"] {
  opacity: 0.65;
  cursor: progress;
}
.persona-card[aria-busy="true"]::after {
  content: "Connecting…";
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

#interaction-screen .view-content {
  width: 100%;
  flex: 1;
  height: 100%;
  min-height: 0;
  background: var(--bg-medium);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  align-items: stretch;
  gap: 0.75rem;
}

.interaction-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1rem;
}

.interaction-header,
.voice-consent,
.research-indicator,
.progress,
.input-area {
  flex-shrink: 0;
}

.back-button {
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.active-persona-display { font-weight: 600; color: var(--cyan); }
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--border-color);
  color: var(--fg-medium);
  border-radius: 9999px;
  font-size: 0.875rem;
  line-height: 1;
  background: var(--bg-light);
  transition: all 0.3s ease;
}
.status-badge.ready { border-color: var(--cyan); color: var(--cyan); }
.status-badge.listening { background: var(--yellow); color: var(--bg-dark); border-color: var(--yellow); }
.status-badge.processing { border-color: rgba(34, 211, 238, 0.5); color: var(--accent); }
.status-badge.research { border-color: rgba(99, 102, 241, 0.45); color: #c7d2fe; background: rgba(55, 48, 163, 0.22); }
.status-badge.playing { border-color: rgba(250, 204, 21, 0.4); color: #facc15; }
.status-badge.error { background: rgba(127, 29, 29, 0.55); color: #fee2e2; border-color: rgba(248, 113, 113, 0.6); }

.research-indicator {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.research-indicator::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  background: rgba(99, 102, 241, 0.95);
  box-shadow: 0 0 8px rgba(129, 140, 248, 0.6);
  animation: research-ping 1.5s ease-in-out infinite;
}

.output-container {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 0.75rem 1.5rem 0;
}
.output-container--voice {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  padding: 0 0.75rem 0.5rem 0;
}
.output-container--voice .output-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.output-container--voice .visualizer-slot {
  flex-shrink: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
}
.output-container--voice .visualizer-slot.is-active {
  min-height: 240px;
}
.output-container--voice .visualizer-slot .speaking-sun {
  margin: 0;
  width: clamp(180px, 26vw, 320px);
  max-width: 360px;
}
.output-container--voice .live-text-slot {
  width: 100%;
  min-height: 0;
}
.output-container--voice .live-text-slot.has-content {
  min-height: 96px;
}
.voice-consent {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  margin: 0.75rem 0 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(34, 211, 238, 0.18);
  background: rgba(18, 26, 42, 0.82);
  backdrop-filter: blur(8px);
}
.voice-consent__copy {
  flex: 1 1 240px;
  min-width: 0;
}
.voice-consent__copy h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg-bright);
}
.voice-consent__summary {
  margin: 0;
  color: var(--fg-medium);
  font-size: 0.95rem;
  line-height: 1.45;
}
.voice-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-end;
}
.voice-consent__error {
  margin: 0.5rem 0 0;
  color: #fca5a5;
  font-size: 0.9rem;
}
.view-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.view-toggle .btn-compact {
  background: rgba(34, 211, 238, 0.08);
  border-color: rgba(34, 211, 238, 0.16);
  color: var(--accent);
}
.view-toggle .btn-compact.active {
  background: linear-gradient(135deg, var(--accent), #0ea5e9);
  color: #031427;
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.25);
}
.polaris-output {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
}
.polaris-visual-wrapper {
  min-height: 220px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 211, 238, 0.15);
  border-radius: 0.9rem;
  padding: 1.2rem;
  background: radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.08), transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(14, 165, 233, 0.08), transparent 36%),
              rgba(10, 18, 33, 0.6);
}
.polaris-visual-wrapper .speaking-sun {
  width: clamp(180px, 28vw, 320px);
  max-width: 360px;
}
.polaris-visual-wrapper .view-hint {
  margin-top: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.polaris-output .transcript-list {
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid rgba(34, 211, 238, 0.12);
  border-radius: 0.75rem;
  padding: 0.75rem 0.75rem 0.25rem;
  background: rgba(7, 11, 20, 0.6);
}
.voice-consent.hidden {
  display: none !important;
}

.suggestions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 1.25rem;
  padding: 1.5rem 0 0;
}
.suggestions-title { color: var(--fg-dark); font-weight: 500; margin: 0; }
.suggestions-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.suggestion {
  background: var(--bg-light);
  color: var(--fg-medium);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.suggestion:hover { background: var(--border-color); color: var(--fg-bright); }

.input-area {
  padding: 1.5rem 0 0;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid rgba(34, 211, 238, 0.12);
}
.input-area.text-collapsed {
  justify-content: flex-end;
}
.typed-form { flex-grow: 1; display: flex; gap: 0.75rem; }
.typed-form.is-collapsed {
  display: none !important;
}
.typed-form input {
  flex-grow: 1;
  min-width: 10rem;
  background: var(--bg-dark);
  color: var(--fg-bright);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
}
.typed-form input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.2); }
.typed-form input[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
.text-chat-btn {
  white-space: nowrap;
  padding: 0.65rem 1rem;
  border-radius: 0.75rem;
  background: transparent;
  color: var(--fg-medium);
  border: 1px solid rgba(148, 163, 184, 0.35);
  transition: all 0.2s ease;
}
.text-chat-btn:hover,
.text-chat-btn:focus {
  color: var(--fg-bright);
  border-color: rgba(34, 211, 238, 0.45);
  outline: none;
}
.text-chat-btn[aria-pressed="true"] {
  background: rgba(148, 163, 184, 0.15);
  color: var(--fg-bright);
  border-color: rgba(148, 163, 184, 0.6);
}
.record-button { padding: 0.75rem; width: 50px; height: 50px; border-radius: 50%; }
.record-button.recording,
#askBtn.recording {
  background: var(--yellow);
  color: var(--bg-dark);
  animation: pulse 1.5s infinite;
}
.record-button.is-speaking {
  border: 1px solid rgba(34, 211, 238, 0.65);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.25);
}
.record-button:disabled {
  background: rgba(34, 211, 238, 0.12);
  color: var(--accent);
  border: 1px solid rgba(34, 211, 238, 0.25);
  opacity: 0.65;
  cursor: not-allowed;
}
#mic-icon.muted {
  opacity: 0.45;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 212, 0, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(255, 212, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 212, 0, 0); } }
@keyframes research-ping {
  0% { transform: scale(0.9); opacity: 0.75; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.75; }
}

.progress {
  position: relative;
  width: 100%;
  height: 4px;
  background: rgba(34,211,238,.15);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 0 1rem 0;
}
.progress .bar {
  position: absolute;
  left: -40%;
  top: 0;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg,#00dfd8,#007cf0);
  box-shadow: 0 0 8px rgba(0,223,216,.6);
  animation: cl-progress 1.2s infinite linear;
}
@keyframes cl-progress{
  0%{ transform:translateX(0) }
  100%{ transform:translateX(250%) }
}

#sun-output {
  background: var(--bg-light);
  border-radius: 0.5rem;
  padding: 2rem;
  font-family: var(--font-serif);
}
.sun-placeholder {
  margin: 0;
  text-align: center;
  font-size: 1rem;
  color: var(--fg-medium);
  opacity: 0.85;
}
#article-status { margin: .5rem 0; color: var(--cyan); font-weight: 600; text-align: center; }
.headline { font-family: var(--font-sans); font-size: 2.5rem; font-weight: 800; margin-bottom: 0.5rem; color: var(--fg-bright); line-height: 1.2; }
.subheadline { font-family: var(--font-sans); font-size: 1.5rem; font-weight: 600; margin-bottom: 2rem; color: var(--fg-medium); line-height: 1.4;}
.article-body { font-size: 1.125rem; line-height: 1.8; color: var(--fg-medium); }
.article-body p { margin-bottom: 1.5em; }
#sun-history { margin-top: 2rem; border-top: 1px solid var(--border-color); padding-top: 1.5rem; }
#sun-history ul { list-style: none; padding-left: 0; }
#sun-history li { margin: .25rem 0; }
#sun-history .history-item {
  display: inline-block;
  background: var(--bg-dark);
  color: var(--fg-medium);
  border: 1px solid var(--border-color);
  border-radius: .375rem;
  padding: .25rem .75rem;
  cursor: pointer;
  transition: all 0.2s;
}
#sun-history .history-item:hover { background: var(--border-color); color: var(--fg-bright); }

/* --- Live Text Stream (OpenAI) --- */
.live-text {
  white-space: pre-wrap;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: .5rem;
  padding: 1rem 1.25rem;
  margin-bottom: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--fg-medium);
}

/* --- Scroll to top --- */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #031427;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 90;
}

.scroll-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: var(--accent-hover);
  transform: translateY(-4px);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .section-mission {
    grid-template-columns: 1fr;
  }

  .mission-quote {
    margin-bottom: 2rem;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .nav-container {
    position: relative;
  }

  .main-nav {
    display: none;
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    padding: 1.25rem var(--spacing) 0;
    border-bottom: 1px solid rgba(45, 55, 72, 0.7);
    background: rgba(11, 16, 27, 0.95);
  }

  .nav-container.mobile-menu-open {
    flex-direction: column;
    align-items: stretch;
    padding-bottom: var(--spacing);
  }

  .nav-container.mobile-menu-open .main-nav {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-container.mobile-menu-open .nav-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem var(--spacing) 0;
  }

  .nav-container.mobile-menu-open .nav-cta .btn,
  .nav-container.mobile-menu-open .nav-cta .nav-auth,
  .nav-container.mobile-menu-open .nav-cta form {
    width: 100%;
    justify-content: center;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --spacing: 1.25rem;
  }

  .hero-title {
    font-size: clamp(2.2rem, 7vw, 3rem);
  }

  .systems-grid,
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .voice-overlay__header {
    padding: 2rem 1.5rem 1rem;
  }

  .voice-overlay__body {
    padding: 1.5rem;
  }

  .view-content {
    padding: 1.75rem;
  }

  .interaction-header {
    gap: 0.75rem;
  }

  .privacy-banner {
    font-size: 0.85rem;
    padding: 0.65rem 1rem;
  }

  .voice-consent {
    flex-direction: column;
    align-items: flex-start;
  }

  .voice-consent__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .input-area {
    flex-wrap: wrap;
  }

  .text-chat-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero-terminal {
    padding: 1.25rem;
  }

  .onboarding {
    gap: 0.75rem;
  }

  .onboard-step {
    padding: 0.7rem 0.85rem;
  }
}

/* === Auth Screen === */
.auth-section {
  min-height: clamp(72vh, 80vh, 86vh);
  display: grid;
  place-items: center;
  padding: clamp(3rem, 8vw, 4.5rem) 1.5rem;
}

.auth-card {
  width: min(100%, 28rem);
  background: linear-gradient(180deg, rgba(18, 26, 42, 0.92), rgba(11, 16, 27, 0.92));
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 1rem;
  padding: clamp(2rem, 5vw, 2.75rem);
  box-shadow:
    0 18px 42px rgba(3, 7, 18, 0.6),
    0 0 28px rgba(34, 211, 238, 0.12);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.auth-card::before {
  content: "";
  position: absolute;
  inset: -6% -18% 64% -18%;
  background: radial-gradient(120% 70% at 50% -10%, rgba(34, 211, 238, 0.25), rgba(120, 53, 255, 0.16), transparent 70%);
  opacity: 0.85;
  pointer-events: none;
  filter: blur(18px);
}

.auth-title {
  margin: 0 0 2rem;
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow: 0 0 14px rgba(34, 211, 238, 0.3), 0 0 28px rgba(120, 53, 255, 0.18);
}

.auth-error {
  margin: -1rem 0 1.75rem;
}

.auth-form {
  display: grid;
  gap: 1.35rem;
}

.auth-field {
  display: grid;
  gap: 0.55rem;
}

.auth-label {
  color: rgba(226, 232, 240, 0.75);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.auth-form input[type="text"],
.auth-form input[type="password"],
.auth-form input[type="email"],
.auth-form input:not([type]) {
  width: 100%;
  display: block;
  box-sizing: border-box;
  background: rgba(7, 12, 22, 0.9);
  color: var(--text-primary);
  border: 1px solid rgba(45, 55, 72, 0.9);
  border-radius: 0.7rem;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0);
}

.auth-form input::placeholder {
  color: rgba(240, 244, 248, 0.5);
}

.auth-form input:focus {
  outline: none;
  border-color: rgba(79, 243, 255, 0.85);
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.22), 0 0 18px rgba(34, 211, 238, 0.18);
  transform: translateY(-1px);
}

.auth-submit {
  width: 100%;
  display: block;
  box-sizing: border-box;
  border-radius: 0.8rem;
  margin-top: 0.25rem;
}

.auth-submit:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.28), 0 12px 30px rgba(34, 211, 238, 0.32);
}

.auth-discovery {
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(51, 65, 85, 0.6);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.auth-discovery p {
  margin: 0;
  color: rgba(226, 232, 240, 0.8);
  font-size: 0.97rem;
}

.auth-discovery .btn {
  align-self: center;
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
}

.info-page {
  padding-bottom: clamp(4rem, 10vw, 6.5rem);
}

.info-hero {
  text-align: center;
  padding-top: clamp(4rem, 12vw, 6rem);
  padding-bottom: clamp(2rem, 6vw, 4rem);
}

.info-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: rgba(94, 234, 212, 0.9);
  margin-bottom: 1rem;
}

.info-hero h1 {
  margin: 0 auto 1.5rem;
  max-width: 720px;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  line-height: 1.2;
}

.info-lede {
  margin: 0 auto 2rem;
  max-width: 760px;
  color: rgba(226, 232, 240, 0.85);
  font-size: 1.06rem;
  line-height: 1.65;
}

.info-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  padding-top: 0;
}

.info-card {
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 0.85rem;
  padding: 1.5rem;
  background: rgba(7, 12, 22, 0.8);
  box-shadow: 0 16px 32px rgba(2, 6, 23, 0.55);
}

.info-card h3 {
  margin: 0 0 0.5rem;
}

.info-card p {
  margin: 0;
  color: rgba(203, 213, 225, 0.85);
  line-height: 1.5;
}

.info-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
  padding-top: clamp(2rem, 6vw, 3.5rem);
}

.info-details__content h2 {
  margin-top: 0;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  display: grid;
  gap: 0.8rem;
}

.info-list li::before {
  content: "•";
  color: var(--accent);
  margin-right: 0.5rem;
}

.info-details__panel {
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 1rem;
  padding: 1.5rem;
  background: rgba(3, 7, 18, 0.9);
  box-shadow: 0 16px 32px rgba(8, 47, 73, 0.45);
}

.info-details__panel ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: rgba(226, 232, 240, 0.8);
  line-height: 1.5;
}

.info-cta {
  margin-top: clamp(3rem, 8vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(30, 64, 175, 0.4);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.info-cta h2 {
  margin: 0 0 0.5rem;
}
