html {
  font-size: 16px;
}

body {
  min-height: 100vh;
  margin: 0;
  color: #eef2ff;
  background:
    radial-gradient(circle at top, rgba(105, 120, 255, 0.20), transparent 38%),
    linear-gradient(180deg, #0a0d18 0%, #0f1324 48%, #12192f 100%);
  font-family: Inter, Segoe UI, Arial, sans-serif;
}

a {
  color: #9ec5ff;
  text-decoration: none;
}

a:hover {
  color: #d5e7ff;
}

.shell-container {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 13, 24, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
  padding: 1rem 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-logo,
.footer-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(94, 114, 255, 0.25));
}

.brand-wordmark {
  color: #eef2ff;
  font-weight: 800;
}

.site-main {
  padding: 2rem 0 4rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0 2rem;
  color: rgba(238, 242, 255, 0.75);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  min-height: 70vh;
}

.hero-premium {
  position: relative;
  padding: 2rem 0 1rem;
}

.eyebrow,
.panel-label,
.stage-badge,
.live-pill,
.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9eb6ff;
}

.hero-copy h1,
.page-heading h1,
.agent-details-page h1,
.talk-header h1,
.identity-panel h1,
.interior-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 0.95;
  margin: 0.6rem 0 1rem;
  font-weight: 900;
}

.lead-copy {
  font-size: 1.2rem;
  color: rgba(238, 242, 255, 0.82);
  max-width: 700px;
}

.lead-copy-strong {
  font-size: 1.26rem;
  max-width: 760px;
}

.hero-cta-row,
.cta-row,
.details-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, #5e72ff, #7f5dff);
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(94, 114, 255, 0.35);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: #eef2ff;
}

.chant-card,
.feature-card,
.soapbox-panel,
.agent-card,
.detail-card,
.talk-card,
.manifesto-strip,
.brand-manifesto-card,
.movement-card,
.scroll-narrative-band {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.chant-card,
.movement-card,
.brand-manifesto-card,
.scroll-narrative-band {
  padding: 1.4rem;
}

.chant-line,
.movement-label,
.hero-stat-label {
  color: rgba(238, 242, 255, 0.72);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.chant-answer,
.movement-value {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0.35rem 0 0.9rem;
}

.hero-visual {
  display: grid;
  place-items: center;
  gap: 1rem;
}

.hero-logo-visual {
  text-align: center;
}

.hero-brand-column {
  align-self: stretch;
}

.hero-logo-shell {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 420px;
  padding: 2rem;
  border-radius: 28px;
  background: radial-gradient(circle at center, rgba(94, 114, 255, 0.18), rgba(94, 114, 255, 0.04));
  border: 1px solid rgba(158, 182, 255, 0.14);
}

.hero-logo-image {
  width: min(100%, 460px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 50px rgba(94, 114, 255, 0.22));
}

.hero-logo-large {
  width: min(100%, 520px);
}

.hero-stat-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
}

.hero-stat-band > div {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.orb-shell,
.soap-orb-wrap,
.live-orb,
.logo-stage-wrap {
  display: grid;
  place-items: center;
}

.orb-shell {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 146, 255, 0.16), rgba(124, 146, 255, 0.04));
  border: 1px solid rgba(157, 177, 255, 0.18);
}

.orb-core,
.soap-orb,
.live-orb {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #c3ddff 0%, #7898ff 28%, #4f5dff 58%, rgba(79, 93, 255, 0.08) 100%);
  box-shadow: 0 0 55px rgba(104, 124, 255, 0.65), 0 0 140px rgba(104, 124, 255, 0.18);
}

.orb-caption {
  color: rgba(238, 242, 255, 0.68);
}

.stage-logo-image {
  width: min(100%, 300px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 45px rgba(94, 114, 255, 0.24));
}

.talk-logo-image {
  width: min(100%, 320px);
  height: auto;
  object-fit: contain;
  margin: 1rem auto 1.2rem;
  filter: drop-shadow(0 16px 45px rgba(94, 114, 255, 0.20));
}

.feature-grid,
.agent-cards-grid,
.details-grid,
.talk-grid,
.brand-manifesto-section,
.movement-grid,
.media-kit-grid,
.manifesto-longform-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.feature-grid,
.movement-grid,
.media-kit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.manifesto-longform-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.manifesto-strip,
.agent-card,
.detail-card,
.talk-card,
.soapbox-panel {
  padding: 1.4rem;
}

.premium-feature-card {
  min-height: 220px;
}

.scroll-narrative-band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: center;
}

.narrative-band-dark {
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(94,114,255,0.08));
}

.narrative-band-light {
  background: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(114,92,255,0.10));
}

.narrative-reverse .narrative-copy {
  order: 2;
}

.narrative-reverse .narrative-visual {
  order: 1;
}

.narrative-logo-mark {
  width: min(100%, 240px);
  height: auto;
  object-fit: contain;
}

.narrative-logo-wide {
  width: min(100%, 360px);
  height: auto;
  object-fit: contain;
}

.narrative-link-stack {
  display: grid;
  gap: 1rem;
}

.brand-manifesto-section {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
}

.brand-identity-card,
.manifesto-principles-card {
  min-height: 100%;
}

.manifesto-logo-mark {
  width: min(100%, 260px);
  height: auto;
  object-fit: contain;
  margin: 1rem 0 1.25rem;
  filter: drop-shadow(0 18px 48px rgba(94, 114, 255, 0.22));
}

.brand-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.manifesto-principles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.manifesto-strip {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.interior-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1rem;
}

.interior-hero-logo {
  width: min(100%, 420px);
  height: auto;
  object-fit: contain;
  justify-self: center;
  filter: drop-shadow(0 18px 48px rgba(94, 114, 255, 0.20));
}

.media-logo-stack {
  display: grid;
  gap: 1rem;
  place-items: start;
}

.media-logo-wide {
  width: min(100%, 360px);
  height: auto;
}

.media-logo-mark-small {
  width: 120px;
  height: auto;
}

.media-preview-image {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
}

.soapbox-page {
  display: grid;
  grid-template-columns: 300px 1fr 320px;
  gap: 1.25rem;
}

.identity-title,
.agent-subtitle {
  color: rgba(238, 242, 255, 0.74);
}

.stat-block {
  margin-top: 1rem;
}

.stat-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(158, 182, 255, 0.8);
}

.stat-value {
  font-size: 1rem;
  font-weight: 600;
}

.stage-panel {
  text-align: center;
}

.stage-copy {
  max-width: 700px;
  margin: 0 auto;
  color: rgba(238, 242, 255, 0.8);
}

.prompt-row,
.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.prompt-row span,
.mini-list span,
.featured-badge,
.prompt-chip {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.prompt-chip {
  color: #eef2ff;
  cursor: pointer;
}

.belief-list,
.goal-list,
.detail-card ul,
.talk-card ul,
.manifesto-strip ul,
.brand-manifesto-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.page-heading,
.details-hero,
.talk-header {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: start;
  flex-wrap: wrap;
}

.agent-cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.agent-card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.details-grid,
.talk-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.talk-grid .talk-presence {
  grid-column: span 2;
  text-align: center;
}

.live-orb {
  margin: 1rem auto 1.2rem;
}

.talk-chat-card,
.talk-summary-card {
  min-height: 420px;
}

.talk-transcript {
  min-height: 280px;
  max-height: 420px;
  overflow-y: auto;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.talk-message {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.talk-message.user {
  border-left: 4px solid #7da8ff;
}

.talk-message.agent {
  border-left: 4px solid #8fffbd;
}

.talk-message.system {
  border-left: 4px solid #ffd26f;
}

.talk-message-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(238, 242, 255, 0.68);
  margin-bottom: 0.35rem;
}

.talk-message-body {
  white-space: pre-wrap;
  line-height: 1.6;
}

.talk-input-wrap {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.talk-input-wrap textarea {
  width: 100%;
  border-radius: 16px;
  padding: 0.95rem 1rem;
  background: rgba(0, 0, 0, 0.22);
  color: #eef2ff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.summary-box {
  min-height: 120px;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.6;
}

.animated-float {
  animation: floatSlow 6s ease-in-out infinite;
}

.animated-pulse {
  animation: pulseGlow 4.4s ease-in-out infinite;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 10px 30px rgba(94,114,255,0.18)); }
  50% { transform: scale(1.03); filter: drop-shadow(0 16px 44px rgba(94,114,255,0.30)); }
}

@media (max-width: 1024px) {
  .hero-section,
  .soapbox-page,
  .feature-grid,
  .agent-cards-grid,
  .details-grid,
  .talk-grid,
  .manifesto-strip,
  .brand-manifesto-section,
  .movement-grid,
  .hero-stat-band,
  .manifesto-principles-grid,
  .scroll-narrative-band,
  .interior-hero,
  .media-kit-grid,
  .manifesto-longform-grid {
    grid-template-columns: 1fr;
  }

  .talk-grid .talk-presence {
    grid-column: span 1;
  }

  .hero-premium {
    padding-top: 1rem;
  }

  .hero-logo-shell {
    min-height: 280px;
    padding: 1.5rem;
  }

  .hero-logo-large {
    width: min(100%, 380px);
  }

  .stage-logo-image,
  .talk-logo-image,
  .manifesto-logo-mark,
  .interior-hero-logo,
  .narrative-logo-wide,
  .narrative-logo-mark {
    width: min(100%, 240px);
  }

  .brand-wordmark {
    font-size: 0.96rem;
  }

  .narrative-reverse .narrative-copy,
  .narrative-reverse .narrative-visual {
    order: initial;
  }
}

@media (max-width: 640px) {
  .shell-container {
    width: min(100% - 1.2rem, 1200px);
  }

  .brand-logo,
  .footer-logo {
    width: 34px;
    height: 34px;
  }

  .brand-mark {
    gap: 0.55rem;
  }

  .hero-copy h1,
  .page-heading h1,
  .agent-details-page h1,
  .talk-header h1,
  .identity-panel h1,
  .interior-hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.3rem);
  }

  .lead-copy,
  .lead-copy-strong {
    font-size: 1.05rem;
  }

  .movement-value,
  .chant-answer {
    font-size: 1.12rem;
  }

  .hero-logo-large {
    width: min(100%, 300px);
  }
}
