/* ============================================================
   Bonjour, on the AuraMind design system.
   Void ground, phosphor accent, coolant secondary, liquid glass
   surfaces with a lit rim, Unbounded display over IBM Plex.
   ============================================================ */

:root {
  /* AuraMind tokens, taken from aura-mind.de */
  --void: #0a0d12;
  --panel: #12161d;
  --panel-2: #171c25;
  --bone: #edeae2;
  --dim: #8b93a0;
  --dim-2: #7d8593;
  --phosphor: #ff8a3d;
  --phosphor-soft: rgba(255, 138, 61, 0.14);
  --coolant: #5b7fa6;
  --coolant-soft: rgba(91, 127, 166, 0.16);
  --danger: #ff6b5e;
  --good: #5fd39a;
  --wire: rgba(237, 234, 226, 0.1);
  --wire-strong: rgba(237, 234, 226, 0.24);
  --glass: rgba(23, 28, 37, 0.52);
  --glass-rim: rgba(255, 255, 255, 0.5);
  --glass-edge: rgba(255, 255, 255, 0.18);
  --shadow:
    0 2px 1px rgba(255, 255, 255, 0.05) inset,
    0 30px 60px rgba(0, 0, 0, 0.55),
    0 8px 22px rgba(0, 0, 0, 0.35);
  --shadow-lift:
    0 2px 1px rgba(255, 255, 255, 0.08) inset,
    0 42px 80px rgba(0, 0, 0, 0.6),
    0 14px 30px rgba(0, 0, 0, 0.4);

  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  --radius: 20px;
  --r-control: 16px;
  --r-pill: 999px;
  --glass-blur: 18px;
  --spring: cubic-bezier(0.22, 1, 0.36, 1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* legacy aliases so older rules keep resolving */
  --bg: var(--void);
  --ink: var(--bone);
  --ink-soft: rgba(237, 234, 226, 0.78);
  --muted: var(--dim);
  --faint: var(--dim-2);
  --stroke: var(--wire);
  --hairline: var(--wire);
  --hairline-strong: var(--wire-strong);
  --blue: var(--phosphor);
  --accent-ink: var(--phosphor);
  --accent-soft: var(--phosphor-soft);
  --warn: var(--phosphor);

  --volume: 0.08;
  --voice-energy: 0.08;
  --pointer-x: 0;
  --pointer-y: 0;
  --tilt-x: 0;
  --tilt-y: 0;
  --scroll-progress: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--bone);
  background: var(--void);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main,
.topbar {
  transition: opacity 320ms var(--spring), transform 320ms var(--spring);
}

body.is-language-shifting main {
  opacity: 0.45;
  transform: translateY(5px);
}

/* ---------- ground ---------- */

.paris-scene {
  position: fixed;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background:
    radial-gradient(125% 85% at 50% 0%, #101620 0%, transparent 58%),
    linear-gradient(180deg, #0b0e14 0%, var(--void) 46%, #080a0f 100%);
}

.ambient {
  position: fixed;
  inset: -10%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(48vw 34vw at 18% 6%, rgba(255, 138, 61, 0.075), transparent 62%),
    radial-gradient(42vw 30vw at 84% 14%, rgba(91, 127, 166, 0.07), transparent 62%),
    radial-gradient(50vw 36vw at 76% 92%, rgba(255, 138, 61, 0.05), transparent 62%),
    radial-gradient(40vw 28vw at 8% 86%, rgba(91, 127, 166, 0.05), transparent 60%);
  transform: translate3d(calc(var(--pointer-x) * 9px), calc(var(--pointer-y) * 7px), 0);
  transition: transform 240ms ease-out;
}

/* engineering grid, the AuraMind signature under the glass */
.ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(237, 234, 226, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 234, 226, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(92% 70% at 50% 34%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(92% 70% at 50% 34%, #000 0%, transparent 78%);
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- liquid glass ---------- */

.glass,
.stat-card,
.scenario-card,
.feature-card,
.persona-card,
.roi-shell,
.how-steps li,
.table-scroll,
.access-inner {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012) 42%),
    var(--glass);
  backdrop-filter: blur(var(--glass-blur)) saturate(165%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(165%);
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* the lit top rim that makes glass read as glass */
.glass::before,
.stat-card::before,
.scenario-card::before,
.feature-card::before,
.persona-card::before,
.roi-shell::before,
.how-steps li::before,
.access-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-rim), transparent);
  opacity: 0.55;
  pointer-events: none;
}

.stat-card,
.scenario-card,
.feature-card,
.persona-card,
.how-steps li {
  transition: transform 420ms var(--spring), box-shadow 420ms var(--spring), border-color 420ms var(--spring);
}

.stat-card:hover,
.scenario-card:hover,
.feature-card:hover,
.persona-card:hover,
.how-steps li:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: var(--shadow-lift);
}

/* ---------- scroll reveal + text shine ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 760ms var(--spring), transform 760ms var(--spring);
}

[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* a light sweeps the letters as they arrive, and again on hover */
.shine {
  background-image: linear-gradient(
    100deg,
    var(--bone) 0%,
    var(--bone) 38%,
    #ffffff 46%,
    var(--phosphor) 52%,
    var(--bone) 62%,
    var(--bone) 100%
  );
  background-size: 260% 100%;
  background-position: 190% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[data-reveal].in-view .shine,
.shine.in-view {
  animation: shineSweep 1900ms var(--spring) 160ms both;
}

.shine:hover {
  animation: shineSweep 1400ms var(--spring) both;
}

@keyframes shineSweep {
  from { background-position: 190% 0; }
  to { background-position: -60% 0; }
}

/* ---------- header ---------- */

.topbar {
  position: sticky;
  top: 14px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1200px, calc(100% - 36px));
  margin: 14px auto 0;
  padding: 9px 12px 9px 16px;
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-pill);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015) 46%),
    rgba(18, 22, 29, 0.72);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  box-shadow: var(--shadow);
}

.brand { display: inline-flex; align-items: center; gap: 11px; }

.brand-mark {
  position: relative;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #0b0e14;
  border: 1px solid rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.brand-orb {
  position: absolute;
  inset: -35%;
  background: conic-gradient(
    from 40deg,
    var(--phosphor),
    #ffb37a 22%,
    var(--coolant) 52%,
    #2b3a4d 74%,
    var(--phosphor) 100%
  );
  filter: blur(7px) saturate(130%);
  animation: brandSpin 11s linear infinite;
}

@keyframes brandSpin { to { transform: rotate(360deg); } }

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  background: rgba(10, 13, 18, 0.82);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.28);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.topbar-right { display: flex; align-items: center; gap: 10px; }

.topnav { display: flex; gap: 2px; }

.topnav a {
  padding: 8px 13px;
  border-radius: var(--r-pill);
  color: rgba(237, 234, 226, 0.72);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 300ms var(--spring), color 300ms var(--spring);
}

.topnav a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--bone);
}

/* ---------- the droplet toggle ---------- */

.lang-toggle {
  position: relative;
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--wire);
  border-radius: var(--r-pill);
  background: rgba(10, 13, 18, 0.6);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.lang-btn {
  position: relative;
  z-index: 1;
  min-width: 42px;
  padding: 6px 11px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--dim);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 340ms var(--spring);
}

.lang-btn:hover { color: var(--bone); }
.lang-btn.is-active { color: #1a0d02; background: transparent; box-shadow: none; }

/* the droplet: stretches while travelling, settles on arrival */
.lang-indicator {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  width: 42px;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, #ffb37a, var(--phosphor));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 6px 18px rgba(255, 138, 61, 0.34);
  transition: transform 620ms var(--spring), width 620ms var(--spring);
  transform-origin: center;
  will-change: transform, width;
  z-index: 0;
}

.lang-toggle.has-indicator .lang-btn.is-active {
  background: transparent;
  box-shadow: none;
}

/* ---------- shared ---------- */

main { width: min(1200px, calc(100% - 36px)); margin: 0 auto; }

/* one recipe for every small mono label on the page */
.eyebrow,
.wf-num,
.orb-copy small,
.transcript-head,
.utterance span,
.scenario-dialogue p span,
.roi-out > span,
.compare-table thead th,
.access-badge,
.stats-source,
.footer {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0;
  color: var(--phosphor);
}

.stats-source,
.footer,
.access-badge {
  text-transform: none;
  letter-spacing: 0.04em;
}

h1, h2, h3 { margin: 0; color: var(--bone); }

h1, h2 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

h3 {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-head {
  display: grid;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto 46px;
  text-align: center;
  justify-items: center;
}

.section-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.12;
  text-wrap: balance;
}

.section-sub {
  margin: 0;
  max-width: 62ch;
  color: var(--dim);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.66;
}

section { padding: clamp(80px, 10vw, 132px) 0; }

.mini-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-pill);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(23, 28, 37, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--bone);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 500;
  transition: transform 320ms var(--spring), box-shadow 320ms var(--spring), border-color 320ms var(--spring);
}

.mini-action:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-lift);
}

.mini-action:active:not(:disabled) { transform: scale(0.97); }
.mini-action:disabled { cursor: not-allowed; opacity: 0.4; }

.mini-action.solid {
  border: 0;
  color: #1a0d02;
  background: linear-gradient(180deg, #ffb37a, var(--phosphor));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 12px 30px rgba(255, 138, 61, 0.3);
  font-weight: 600;
}

/* ---------- hero ---------- */

.hero {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: clamp(14px, 1.8vw, 22px);
  min-height: calc(100svh - 92px);
  padding: clamp(14px, 2vw, 26px) 0 clamp(20px, 3vw, 36px);
  text-align: center;
}

.hero-copy { display: grid; gap: 16px; justify-items: center; max-width: 900px; }

.hero-copy h1 {
  font-size: clamp(2.2rem, 5vw, 3.9rem);
  font-weight: 700;
  line-height: 1.04;
  text-wrap: balance;
}

.lede {
  max-width: 54ch;
  margin: 0;
  color: rgba(237, 234, 226, 0.74);
  font-size: clamp(0.98rem, 1.3vw, 1.06rem);
  line-height: 1.6;
}

.hero-ctas { display: none; }

.fact-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(880px, 100%);
}

.fact-band div {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 16px 14px;
  border: 1px solid var(--wire);
  border-radius: var(--r-control);
  background: rgba(23, 28, 37, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: center;
}

.fact-band strong {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bone);
}

.fact-band span {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.42;
}

/* ---------- call console ---------- */

.call-console {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(560px, 100%);
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
}

.agent-stage { display: none; }

/* ---------- the voice field ---------- */

.orb {
  position: relative;
  display: grid;
  gap: 14px;
  justify-items: center;
  width: min(360px, 70vw, 34vh);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.orb-stage { position: relative; display: block; width: 100%; aspect-ratio: 1; }

.orb-ring {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%,
      rgba(255, 138, 61, 0.30) 0%,
      rgba(255, 138, 61, 0.10) 40%,
      rgba(91, 127, 166, 0.06) 62%,
      transparent 76%);
  filter: blur(26px);
  opacity: calc(0.4 + var(--volume) * 0.6);
  transform: scale(calc(1 + var(--volume) * 0.1));
  transition: opacity 520ms var(--spring), transform 520ms var(--spring), background 620ms var(--spring);
}

.voice-orb-scene { position: relative; z-index: 1; display: block; width: 100%; height: 100%; }
.orb-core { display: none; }

.orb-copy { display: grid; gap: 6px; justify-items: center; text-align: center; }

.orb-copy strong {
  color: var(--bone);
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 300ms var(--spring);
}

.orb-copy small {
  color: var(--dim-2);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.orb:hover .orb-copy strong { color: #fff; }

.orb[data-state="live"] .orb-ring {
  background:
    radial-gradient(circle at 50% 50%,
      rgba(95, 211, 154, 0.3) 0%,
      rgba(255, 138, 61, 0.12) 44%,
      transparent 76%);
  opacity: calc(0.55 + var(--volume) * 0.45);
}

.orb[data-state="muted"] .orb-ring {
  background: radial-gradient(circle at 50% 50%, rgba(139, 147, 160, 0.2) 0%, transparent 70%);
}

.orb[data-state="error"] .orb-ring {
  background: radial-gradient(circle at 50% 50%, rgba(255, 107, 94, 0.34) 0%, transparent 74%);
}

/* the voice picker, the one control in the fold */
.voice-picker { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; }

.voice-pick {
  position: relative;
  padding: 7px 14px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--dim-2);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 320ms var(--spring), background 320ms var(--spring), box-shadow 320ms var(--spring);
}

.voice-pick:hover { color: var(--bone); background: rgba(255, 255, 255, 0.05); }

.voice-pick.is-active {
  color: var(--phosphor);
  background: var(--phosphor-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 138, 61, 0.28);
}

.orb-agent {
  display: none;
  margin: 0;
  color: var(--dim-2);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- status ---------- */

.call-status {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 18px;
  border: 1px solid var(--wire);
  border-radius: var(--r-pill);
  background: rgba(23, 28, 37, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: left;
}

.call-status div { display: flex; align-items: baseline; gap: 8px; }

.status-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--phosphor);
  box-shadow: 0 0 0 3px rgba(255, 138, 61, 0.14), 0 0 10px rgba(255, 138, 61, 0.6);
}

.status-dot.is-live {
  background: var(--good);
  box-shadow: 0 0 0 3px rgba(95, 211, 154, 0.16), 0 0 12px rgba(95, 211, 154, 0.7);
}

.status-dot.is-error {
  background: var(--danger);
  box-shadow: 0 0 0 3px rgba(255, 107, 94, 0.16), 0 0 12px rgba(255, 107, 94, 0.7);
}

.call-status span:not(.status-dot) {
  display: block;
  color: var(--bone);
  font-weight: 500;
  font-size: 0.92rem;
}

.call-status strong {
  color: var(--dim);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.35;
}

.session-timer {
  --timer-angle: 360deg;
  --timer-accent: #ff8a3d;
  --timer-accent-soft: #ffd2a9;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: min(330px, 100%);
  min-height: 66px;
  padding: 6px 15px 6px 7px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-control);
  background:
    linear-gradient(115deg, rgba(255, 138, 61, 0.08), rgba(91, 127, 166, 0.06) 55%, rgba(23, 28, 37, 0.72)),
    rgba(14, 18, 25, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 14px 36px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 420ms var(--spring), box-shadow 420ms var(--spring), background 420ms var(--spring);
}

.session-timer-dial {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    conic-gradient(
      from -90deg,
      var(--timer-accent) 0deg,
      var(--timer-accent-soft) var(--timer-angle),
      rgba(91, 127, 166, 0.17) var(--timer-angle),
      rgba(91, 127, 166, 0.17) 360deg
    );
  box-shadow: 0 0 22px rgba(255, 138, 61, 0.12);
  transition: background 240ms linear, box-shadow 420ms var(--spring);
}

.session-timer-dial::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.08), transparent 44%),
    #10151d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.045);
}

.session-timer-dial strong {
  position: relative;
  z-index: 1;
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: 0;
}

.session-timer-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.session-timer-copy span {
  color: var(--dim-2);
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.session-timer-copy strong {
  color: var(--dim);
  font-size: 0.79rem;
  font-weight: 500;
  line-height: 1.35;
}

.session-timer[data-state="live"] {
  border-color: rgba(255, 138, 61, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 14px 38px rgba(255, 138, 61, 0.08);
}

.session-timer[data-state="live"] .session-timer-dial {
  animation: session-timer-breathe 2.8s ease-in-out infinite;
}

.session-timer[data-state="live"] .session-timer-copy strong {
  color: var(--bone);
}

.session-timer[data-state="warning"] {
  --timer-accent: #ffb13d;
  --timer-accent-soft: #ff6b5e;
  border-color: rgba(255, 177, 61, 0.38);
}

.session-timer[data-state="warning"] .session-timer-copy strong,
.session-timer[data-state="warning"] .session-timer-dial strong {
  color: #ffd2a9;
}

.session-timer[data-state="complete"] {
  --timer-angle: 0deg;
  --timer-accent: #ff6b5e;
  --timer-accent-soft: #ff9b67;
  border-color: rgba(255, 107, 94, 0.28);
  background:
    linear-gradient(115deg, rgba(255, 107, 94, 0.08), rgba(91, 127, 166, 0.08) 62%, rgba(23, 28, 37, 0.76)),
    rgba(14, 18, 25, 0.78);
}

.session-timer[data-state="complete"] .session-timer-copy strong,
.session-timer[data-state="complete"] .session-timer-dial strong {
  color: #ffb29d;
}

@keyframes session-timer-breathe {
  0%, 100% { box-shadow: 0 0 18px rgba(255, 138, 61, 0.12); }
  50% { box-shadow: 0 0 30px rgba(255, 138, 61, 0.24); }
}

/* only surfaces when the browser actually blocks the mic */
.mic-badge { display: none; }

.mic-badge[data-state="denied"] {
  display: block;
  max-width: 560px;
  margin: 0;
  padding: 9px 14px;
  border: 1px solid var(--wire);
  border-radius: var(--r-control);
  background: rgba(23, 28, 37, 0.4);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.45;
  text-align: left;
}

.mic-badge[data-state="denied"] {
  border-color: rgba(255, 107, 94, 0.4);
  background: rgba(255, 107, 94, 0.07);
  color: #ffa79e;
}

.mic-guide {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 560px;
  padding: 15px;
  border: 1px solid rgba(255, 107, 94, 0.34);
  border-radius: var(--r-control);
  background: rgba(255, 107, 94, 0.06);
  text-align: left;
}

.mic-guide[hidden] { display: none; }
.mic-guide strong { font-size: 0.94rem; color: var(--bone); }

.mic-guide ol {
  margin: 0;
  padding-left: 18px;
  color: rgba(237, 234, 226, 0.76);
  font-size: 0.85rem;
  line-height: 1.5;
}

.mic-guide li + li { margin-top: 5px; }
.mic-guide em { color: var(--bone); font-style: normal; font-weight: 600; }

.console-actions { display: flex; gap: 9px; }

.call-console:not(.has-session):not(.had-session) .console-actions,
.call-console:not(.has-session):not(.had-session) .transcript { display: none; }

/* ---------- transcript ---------- */

.transcript {
  display: grid;
  gap: 12px;
  width: 100%;
  padding: 15px;
  border: 1px solid var(--wire);
  border-radius: var(--radius);
  background: rgba(23, 28, 37, 0.44);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.transcript-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--dim-2);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.transcript-head strong { color: var(--phosphor); font-size: 0.7rem; }

.transcript-feed {
  display: grid;
  align-content: start;
  gap: 8px;
  max-height: 210px;
  overflow: auto;
  scrollbar-color: rgba(255, 138, 61, 0.4) transparent;
}

.transcript-empty { margin: 0; color: var(--dim-2); font-size: 0.86rem; line-height: 1.5; text-align: left; }

.utterance {
  display: grid;
  gap: 3px;
  padding: 9px 13px;
  border-left: 2px solid var(--phosphor);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 0 12px 12px 0;
  text-align: left;
}

.utterance.user { border-left-color: var(--coolant); }
.utterance.system { border-left-color: var(--dim-2); }

.utterance span {
  color: var(--phosphor);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.utterance.user span { color: #8fb4dd; }
.utterance.system span { color: var(--dim-2); }
.utterance p { margin: 0; color: rgba(237, 234, 226, 0.82); font-size: 0.9rem; line-height: 1.45; }

/* ---------- personas ---------- */

.persona-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }

.persona-card {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 26px 16px 22px;
  text-align: center;
}

.persona-avatar {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: var(--bone);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--wire-strong);
  transition: border-color 400ms var(--spring), box-shadow 400ms var(--spring), color 400ms var(--spring);
}

.persona-card strong { font-size: 1rem; font-weight: 600; }
.persona-lang { color: var(--dim-2); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; }

.persona-card.is-live { border-color: rgba(255, 138, 61, 0.42); }

.persona-card.is-live .persona-avatar {
  color: var(--phosphor);
  border-color: rgba(255, 138, 61, 0.6);
  box-shadow: 0 0 22px rgba(255, 138, 61, 0.26), inset 0 0 14px rgba(255, 138, 61, 0.12);
}

/* ---------- stories ---------- */

.story .section-head { margin-bottom: 0; }
.story .feature-grid { margin-top: 46px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

.feature-card { display: grid; align-content: start; gap: 10px; padding: 26px 24px; text-align: left; }
.feature-card h3 { font-size: 1.06rem; }
.feature-card p { margin: 0; color: var(--dim); font-size: 0.92rem; line-height: 1.62; }

/* ---------- scenarios ---------- */

.scenario-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.scenario-card { display: grid; align-content: start; gap: 16px; padding: 22px; text-align: left; }
.scenario-card header { display: flex; align-items: flex-start; gap: 12px; }

.triage-dot { flex: 0 0 auto; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; }

.scenario-card[data-triage="vert"] .triage-dot { background: var(--good); box-shadow: 0 0 0 3px rgba(95, 211, 154, 0.14); }
.scenario-card[data-triage="orange"] .triage-dot { background: var(--phosphor); box-shadow: 0 0 0 3px rgba(255, 138, 61, 0.14); }
.scenario-card[data-triage="rouge"] .triage-dot { background: var(--danger); box-shadow: 0 0 0 3px rgba(255, 107, 94, 0.14); }

.scenario-card h3 { font-size: 1.02rem; }
.scenario-card header p { margin: 4px 0 0; color: var(--dim-2); font-size: 0.82rem; line-height: 1.4; }

.scenario-dialogue { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--wire); }

.scenario-dialogue p {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.035);
  border-radius: 4px 14px 14px 14px;
  color: rgba(237, 234, 226, 0.82);
  font-size: 0.86rem;
  line-height: 1.5;
}

.scenario-dialogue p:nth-child(even) {
  background: rgba(255, 138, 61, 0.08);
  border-radius: 14px 4px 14px 14px;
}

.scenario-dialogue p span {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8fb4dd;
}

.scenario-dialogue p:nth-child(even) span { color: var(--phosphor); }

/* ---------- stats ---------- */

.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat-card { display: grid; gap: 8px; padding: 30px 26px; text-align: left; }

.stat-fig {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--phosphor);
}

.stat-card span { color: rgba(237, 234, 226, 0.78); font-size: 0.94rem; line-height: 1.55; }

.stats-source {
  margin: 20px auto 0;
  max-width: 820px;
  color: var(--dim-2);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-align: center;
}

/* ---------- how ---------- */

.how-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.how-steps li { display: grid; align-content: start; gap: 11px; padding: 26px; text-align: left; }

.how-steps li > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #1a0d02;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  background: linear-gradient(180deg, #ffb37a, var(--phosphor));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 8px 20px rgba(255, 138, 61, 0.28);
}

.how-steps h3 { font-size: 1.04rem; }
.how-steps p { margin: 0; color: var(--dim); font-size: 0.92rem; line-height: 1.62; }

/* ---------- tech ---------- */

.tech { text-align: center; }
.tech-inner { display: grid; gap: 18px; max-width: 800px; margin: 0 auto; justify-items: center; }

.tech-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.12;
  text-wrap: balance;
}

.tech-inner p { margin: 0; max-width: 62ch; color: var(--dim); font-size: clamp(1rem, 1.5vw, 1.1rem); line-height: 1.66; }

/* ---------- ROI ---------- */

.roi-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, 0.8fr); gap: 18px; padding: 26px; }
.roi-controls { display: grid; gap: 24px; align-content: center; }
.roi-controls label { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px 14px; }
.roi-controls span { grid-column: 1 / -1; color: rgba(237, 234, 226, 0.8); font-size: 0.92rem; font-weight: 500; text-align: left; }

.roi-controls output {
  min-width: 64px;
  color: var(--phosphor);
  font-family: var(--font-mono);
  font-weight: 500;
  text-align: right;
}

.roi-controls input[type="range"] {
  width: 100%;
  height: 4px;
  border-radius: var(--r-pill);
  background: rgba(237, 234, 226, 0.14);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.roi-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffb37a, var(--phosphor));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 3px 10px rgba(0, 0, 0, 0.5);
  transition: transform 260ms var(--spring);
}

.roi-controls input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.14); }

.roi-controls input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border: 0; border-radius: 50%;
  background: var(--phosphor);
}

.roi-result {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 138, 61, 0.24);
  background:
    radial-gradient(circle at 84% 10%, rgba(255, 138, 61, 0.12), transparent 46%),
    rgba(255, 138, 61, 0.05);
  text-align: left;
}

.roi-result > span {
  color: var(--phosphor);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.roi-result strong {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--bone);
}

.roi-result p { margin: 0; color: rgba(237, 234, 226, 0.76); font-size: 0.84rem; line-height: 1.5; }
.roi-note { color: var(--dim-2) !important; font-size: 0.76rem !important; }

/* ---------- compare ---------- */

.table-scroll { overflow-x: auto; }
.compare-table { width: 100%; min-width: 680px; border-collapse: collapse; }

.compare-table th,
.compare-table td {
  padding: 15px 17px;
  border-bottom: 1px solid var(--wire);
  text-align: left;
  font-size: 0.89rem;
  line-height: 1.5;
  vertical-align: top;
}

.compare-table thead th {
  color: var(--dim-2);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.compare-table tbody th { color: var(--bone); font-weight: 500; }
.compare-table td { color: var(--dim); }
.compare-table .is-us { color: var(--bone); background: rgba(255, 138, 61, 0.06); }
.compare-table thead .is-us { color: var(--phosphor); }
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- access / footer ---------- */

.access-inner {
  display: grid;
  gap: 18px;
  max-width: 800px;
  margin: 0 auto;
  padding: 48px;
  text-align: center;
  justify-items: center;
}

.access-inner h2 { font-size: clamp(1.7rem, 3.8vw, 2.5rem); font-weight: 700; }
.access-inner p:not(.eyebrow):not(.access-badge) { margin: 0; max-width: 60ch; color: var(--dim); line-height: 1.66; }

.access-badge {
  padding: 9px 16px;
  border: 1px solid rgba(255, 138, 61, 0.28);
  border-radius: var(--r-pill);
  background: var(--phosphor-soft);
  color: var(--phosphor);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 22px;
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
  padding: 36px 0 52px;
  color: var(--dim-2);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

/* ---------- responsive ---------- */

@media (min-width: 1021px) and (max-height: 1050px) {
  .call-console { gap: 12px; }
  .orb { width: min(330px, 32vh); }
}

@media (max-width: 1020px) {
  /* the single row no longer fits, so let the header wrap cleanly */
  .topbar { flex-wrap: wrap; row-gap: 8px; border-radius: var(--radius); }
  .topbar-right { flex: 1 1 100%; justify-content: space-between; min-width: 0; }
  .topnav { flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .topnav::-webkit-scrollbar { display: none; }
  .topnav a { flex: 0 0 auto; }
  .lang-toggle { flex: 0 0 auto; }

  .hero, .roi-shell { grid-template-columns: 1fr; }
  .hero { display: flex; flex-direction: column; padding-top: 24px; }
  .call-console { order: -1; width: 100%; }
  .persona-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-grid, .feature-grid, .scenario-grid, .how-steps { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  /* the nav scrolls sideways instead of wrapping into a wall of links */
  .topbar { gap: 10px; padding: 8px 10px; }
  .topbar-right { min-width: 0; gap: 8px; }
  .topnav {
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .topnav::-webkit-scrollbar { display: none; }
  .topnav a { flex: 0 0 auto; padding: 7px 10px; font-size: 0.82rem; }
  .lang-toggle { flex: 0 0 auto; }
  .lang-btn { min-width: 34px; min-height: 40px; padding: 6px 8px; font-size: 0.7rem; }
  .voice-pick { min-height: 40px; }
  .session-timer { width: min(350px, 100%); }
  .brand-name { display: none; }
  .hero-copy h1 { font-size: clamp(1.8rem, 8.4vw, 2.5rem); }
  .fact-band { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .fact-band div { padding: 11px; }
  .fact-band strong { font-size: 1.02rem; }
  .fact-band span { font-size: 0.64rem; }
  .persona-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  section { padding: 58px 0; }
  .access-inner { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
  .shine { animation: none !important; background-position: 60% 0; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}


/* ---------- capabilities ---------- */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--wire);
  border-radius: var(--radius);
  background: var(--wire);
  overflow: hidden;
}

.cap-item {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 26px 24px;
  background: rgba(18, 22, 29, 0.86);
  transition: background 380ms var(--spring);
}

.cap-item:hover { background: rgba(28, 34, 45, 0.92); }
.cap-item h3 { font-size: 1rem; }
.cap-item h3::before { content: "// "; color: var(--phosphor); font-family: var(--font-mono); }
.cap-item p { margin: 0; color: var(--dim); font-size: 0.9rem; line-height: 1.6; }

/* ---------- workflows ---------- */

.wf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }

.wf-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px 22px;
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012) 42%),
    var(--glass);
  backdrop-filter: blur(var(--glass-blur)) saturate(165%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(165%);
  box-shadow: var(--shadow);
  transition: transform 420ms var(--spring), box-shadow 420ms var(--spring), border-color 420ms var(--spring);
}

.wf-card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.26); box-shadow: var(--shadow-lift); }

.wf-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--phosphor);
}

.wf-card h3 { font-size: 1rem; }
.wf-card p { margin: 0; color: var(--dim); font-size: 0.9rem; line-height: 1.6; }

/* ---------- calculator outputs ---------- */

.roi-out { display: grid; gap: 4px; }

.roi-out-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 138, 61, 0.18);
}

.roi-sub-fig {
  font-family: var(--font-display);
  font-size: 1.32rem !important;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bone) !important;
}

.roi-out > span {
  color: var(--phosphor);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#roiFormula:empty { display: none; }

@media (max-width: 1020px) {
  .cap-grid, .wf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .cap-grid, .wf-grid { grid-template-columns: 1fr; }
  .roi-out-row { grid-template-columns: 1fr; }
}

.cell-none { color: var(--dim-2); font-size: 1.1rem; line-height: 1; }


/* ---------- focus ---------- */

:focus-visible {
  outline: 2px solid var(--phosphor);
  outline-offset: 3px;
}

.orb:focus-visible { outline-offset: 8px; }

.access-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* the calculator disclaimer sits under the panel, not inside it */
.roi > .roi-note {
  max-width: 820px;
  margin: 18px auto 0;
  padding: 0 4px;
  color: var(--dim-2);
  font-size: 0.78rem;
  line-height: 1.55;
  text-align: center;
}

/* visible stand in if WebGL is unavailable, so the button is never empty */
:root[data-voice-orb-scene="fallback"] .orb-ring {
  background:
    radial-gradient(circle at 38% 32%, rgba(255, 178, 122, 0.5) 0%, rgba(255, 138, 61, 0.24) 32%, transparent 62%),
    radial-gradient(circle at 62% 70%, rgba(91, 127, 166, 0.34) 0%, transparent 58%);
  filter: blur(8px);
  opacity: 0.9;
}


/* ---------- embed mode ----------
   Transparent ground and no page chrome, so the demo sits inside a host
   section (aura-mind.de) as if it were native to that page. */
:root[data-embed="1"],
:root[data-embed="1"] body {
  /* Never transparent. A transparent iframe composites unpredictably over a
     backdrop-filter parent and shows white on any host that is not dark. */
  background: var(--void);
  min-height: 0;
  overflow-x: visible;
}

:root[data-embed="1"] .paris-scene {
  position: absolute;
  background:
    radial-gradient(125% 85% at 50% 0%, #101620 0%, transparent 58%),
    linear-gradient(180deg, #0b0e14 0%, var(--void) 46%, #080a0f 100%);
}

:root[data-embed="1"] .ambient {
  position: absolute;
  inset: 0;
}

:root[data-embed="1"] main {
  width: 100%;
  padding: 0;
}

:root[data-embed="1"] .hero {
  min-height: 0;
  padding: 0;
  gap: 14px;
}

:root[data-embed="1"] .call-console {
  width: 100%;
  max-width: 520px;
}
