/* ============================================================
   AuraMind Voice demo, styled with the aura-mind.de design system.
   Glossy near-black ground, warm orange highlight, sky blue for the
   system at work, soft white text. Space Grotesk headings over
   Manrope body text, both self-hosted.
   ============================================================ */

@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/fonts/space-grotesk-latin-wght-normal.woff2') format('woff2-variations'),
    url('/assets/fonts/space-grotesk-latin-wght-normal.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope-latin-wght-normal.woff2') format('woff2-variations'),
    url('/assets/fonts/manrope-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens (the website's dark theme) ---------- */

:root {
  color-scheme: dark;
  --ground: #08090b;
  --surface: #15181d;
  --surface-soft: #11151a;
  --panel-top: #172530ed;
  --panel-bottom: #101316e6;
  --text: #f5f7fb;
  --muted: #adb4bd;
  --faint: #8e98a3;
  --line: #ffffff22;
  --line-strong: #ffffff3a;
  --orange: #ffac68;
  --sky: #8bdcff;
  --danger: #ff8f7e;
  --button: #ffab61;
  --button-hover: #ffc38b;
  --button-ink: #171009;
  --shadow: #0006;
  --wash-sky: color-mix(in srgb, var(--sky) 14%, transparent);
  --wash-orange: color-mix(in srgb, var(--orange) 9%, transparent);

  --font-display: 'Space Grotesk', Manrope, Arial, sans-serif;
  --font-body: Manrope, Arial, sans-serif;

  --radius: 12px;
  --radius-card: 14px;
  --radius-panel: 18px;
  --radius-button: 9px;
  --gutter: clamp(16px, 4.5vw, 72px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

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

/* the website's light theme */
:root[data-theme="light"] {
  color-scheme: light;
  --ground: #f4f1eb;
  --surface: #fffdfa;
  --surface-soft: #ece9e3;
  --panel-top: #fffffff2;
  --panel-bottom: #e9eff3ee;
  --text: #171f26;
  --muted: #485763;
  --faint: #586570;
  --line: #25334026;
  --line-strong: #25334047;
  --orange: #a5440b;
  --sky: #11647d;
  --danger: #a43b19;
  --shadow: #29384522;
  --wash-sky: color-mix(in srgb, var(--sky) 9%, transparent);
  --wash-orange: color-mix(in srgb, var(--orange) 6%, transparent);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ground);
  color: var(--text);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  color: #050505;
  background: var(--sky);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 500;
  text-wrap: balance;
}

[hidden] {
  display: none !important;
}

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

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

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

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

/* ---------- ground: the website's soft sky and orange washes ---------- */

.paris-scene {
  display: none;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 78% 38%, var(--wash-sky), transparent 58%),
    radial-gradient(ellipse at 88% 96%, var(--wash-orange), transparent 52%),
    radial-gradient(ellipse at 6% 4%, color-mix(in srgb, var(--orange) 5%, transparent), transparent 46%);
}

/* ---------- header, as on aura-mind.de ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--ground) 84%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1440px;
  height: 76px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  display: grid;
  flex: none;
  width: 34px;
  height: 34px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
}

.brand__mark img {
  width: 28px;
  height: auto;
}

.brand__name {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 550;
  letter-spacing: -0.035em;
  line-height: 1;
}

.brand__product {
  padding: 3px 9px 4px;
  border: 1px solid color-mix(in srgb, var(--sky) 45%, transparent);
  border-radius: 999px;
  color: var(--sky);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topnav a {
  padding-block: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 180ms ease-out;
}

.topnav a:hover {
  color: var(--text);
}

.lang-toggle {
  display: inline-flex;
  flex: none;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lang-btn {
  min-width: 36px;
  min-height: 32px;
  padding: 4px 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  transition: color 180ms ease-out, background 180ms ease-out;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.is-active {
  background: var(--text);
  color: var(--ground);
}

/* the sliding droplet from the earlier look is not part of this design */
.lang-indicator {
  display: none;
}

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

main {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  padding: clamp(64px, 8vw, 104px) 0;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.075em;
  line-height: 1.5;
  text-transform: uppercase;
}

.section-head {
  display: grid;
  gap: 18px;
  max-width: 860px;
  margin: 0 0 48px;
}

.section-head h2,
.tech-inner h2,
.access-inner h2 {
  font-size: clamp(32px, 4.1vw, 54px);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.section-sub {
  max-width: 62ch;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

/* buttons: ghost and primary, as on the website */
.mini-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 9px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-button);
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
  transition: background 180ms ease-out, border-color 180ms ease-out, transform 180ms ease-out;
}

.mini-action:hover:not(:disabled) {
  border-color: var(--muted);
  background: color-mix(in srgb, var(--text) 7%, transparent);
}

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

.mini-action:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.mini-action.solid {
  border-color: transparent;
  background: var(--button);
  color: var(--button-ink);
  box-shadow: 0 7px 25px #0002;
}

.mini-action.solid:hover {
  background: var(--button-hover);
  color: var(--button-ink);
}

/* cards: one calm surface recipe */
.persona-card,
.cap-item,
.wf-card,
.feature-card,
.scenario-card,
.stat-card,
.how-steps li,
.roi-shell,
.table-scroll,
.access-inner {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
}

.persona-card,
.cap-item,
.wf-card,
.feature-card,
.scenario-card,
.stat-card,
.how-steps li {
  transition: border-color 220ms ease-out, transform 220ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .persona-card:hover,
  .cap-item:hover,
  .wf-card:hover,
  .feature-card:hover,
  .scenario-card:hover,
  .stat-card:hover,
  .how-steps li:hover {
    border-color: color-mix(in srgb, var(--sky) 55%, var(--line));
    transform: translateY(-2px);
  }
}

/* ---------- gentle reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

[data-reveal].in-view {
  opacity: 1;
  transform: none;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(32px, 5vw, 88px);
  min-height: calc(100svh - 77px);
  padding: clamp(32px, 4vw, 56px) 0 clamp(40px, 5vw, 72px);
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 26px;
  min-width: 0;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero .eyebrow::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px color-mix(in srgb, var(--orange) 45%, transparent);
}

.hero h1 {
  font-size: clamp(42px, 4.8vw, 72px);
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--orange);
}

.lede {
  max-width: 54ch;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.fact-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 600px;
  border-top: 1px solid var(--line);
}

.fact-band div {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 18px 18px 0 0;
}

.fact-band div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.fact-band strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.fact-band span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

/* ---------- call console: a glass panel on the standalone page ---------- */

.call-console {
  display: grid;
  justify-items: center;
  gap: 16px;
  width: 100%;
  max-width: 540px;
  justify-self: center;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: linear-gradient(115deg, var(--panel-top), var(--panel-bottom));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 25px 60px var(--shadow);
}

.agent-stage {
  display: none;
}

/* language, status, timer and call actions sit together under the control */
.console-controls {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: 100%;
  min-width: 0;
}

/* the round call control */
.orb {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-card);
  background: transparent;
  color: var(--text);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

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

.orb-stage {
  position: relative;
  display: block;
  width: min(250px, 62vw, 32vh);
  aspect-ratio: 1;
}

.orb-ring {
  position: absolute;
  inset: 2%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%,
      color-mix(in srgb, var(--orange) 30%, transparent) 0%,
      color-mix(in srgb, var(--orange) 9%, transparent) 42%,
      transparent 72%);
  filter: blur(22px);
  opacity: calc(0.55 + var(--volume) * 0.45);
  transform: scale(calc(1 + var(--volume) * 0.08));
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}

/* a thin outline keeps the control readable as a button in both themes */
.orb-stage::after {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
  transition: border-color 300ms ease-out;
}

.orb:hover .orb-stage::after {
  border-color: color-mix(in srgb, var(--orange) 55%, transparent);
}

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

.orb-core {
  display: none;
}

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

.orb-copy strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.orb-copy small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

/* sky blue while the system is connecting or talking */
.orb[data-state="connecting"] .orb-ring,
.orb[data-state="live"] .orb-ring {
  background: radial-gradient(circle at 50% 50%,
      color-mix(in srgb, var(--sky) 34%, transparent) 0%,
      color-mix(in srgb, var(--sky) 10%, transparent) 44%,
      transparent 72%);
}

.orb[data-state="connecting"] .orb-stage::after,
.orb[data-state="live"] .orb-stage::after {
  border-color: color-mix(in srgb, var(--sky) 45%, transparent);
}

.orb[data-state="muted"] .orb-ring {
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--muted) 22%, transparent) 0%, transparent 70%);
}

.orb[data-state="error"] .orb-ring {
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--danger) 30%, transparent) 0%, transparent 72%);
}

/* visible stand-in when WebGL is unavailable, so the control is never empty */
:root[data-voice-orb-scene="fallback"] .orb-ring {
  inset: 14%;
  background:
    radial-gradient(circle at 36% 30%, color-mix(in srgb, var(--text) 55%, transparent) 0%, transparent 22%),
    radial-gradient(circle at 50% 50%, #1c232b 0%, #0b0e12 64%, transparent 66%),
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--orange) 40%, transparent) 0%, transparent 72%);
  filter: none;
  opacity: 1;
}

/* language choice */
.voice-picker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.voice-pick {
  min-height: 40px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  transition: color 180ms ease-out, border-color 180ms ease-out, background 180ms ease-out;
}

.voice-pick:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.voice-pick.is-active {
  border-color: color-mix(in srgb, var(--orange) 60%, transparent);
  background: color-mix(in srgb, var(--orange) 14%, transparent);
  color: var(--text);
}

.orb-agent {
  display: none;
}

/* live status */
.call-status {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  max-width: 100%;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--ground) 45%, transparent);
  text-align: left;
}

.call-status div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 8px;
  min-width: 0;
}

.status-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 16%, transparent);
}

.status-dot.is-live {
  background: var(--sky);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sky) 20%, transparent), 0 0 12px color-mix(in srgb, var(--sky) 60%, transparent);
  animation: status-pulse 1.8s ease-in-out infinite;
}

.status-dot.is-error {
  background: var(--danger);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 18%, transparent);
}

@keyframes status-pulse {
  50% {
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--sky) 10%, transparent), 0 0 16px color-mix(in srgb, var(--sky) 45%, transparent);
  }
}

.call-status span:not(.status-dot) {
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
}

.call-status strong {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

/* 2-minute timer */
.session-timer {
  --timer-angle: 360deg;
  --timer-accent: var(--line-strong);
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: min(340px, 100%);
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--ground) 40%, transparent);
  transition: border-color 300ms ease-out;
}

.session-timer-dial {
  position: relative;
  display: grid;
  width: 50px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(from -90deg,
      var(--timer-accent) 0deg,
      var(--timer-accent) var(--timer-angle),
      var(--line) var(--timer-angle),
      var(--line) 360deg);
  transition: background 240ms linear;
}

.session-timer-dial::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: var(--surface);
}

.session-timer-dial strong {
  position: relative;
  z-index: 1;
  color: var(--text);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

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

.session-timer-copy span {
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.session-timer-copy strong {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.session-timer[data-state="live"] {
  --timer-accent: var(--sky);
  border-color: color-mix(in srgb, var(--sky) 40%, var(--line));
}

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

.session-timer[data-state="warning"] {
  --timer-accent: var(--orange);
  border-color: color-mix(in srgb, var(--orange) 50%, var(--line));
}

.session-timer[data-state="warning"] .session-timer-copy strong,
.session-timer[data-state="warning"] .session-timer-dial strong {
  color: var(--orange);
}

.session-timer[data-state="complete"] {
  --timer-angle: 0deg;
  --timer-accent: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 40%, var(--line));
}

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

/* microphone help: only shown when the browser blocks the mic */
.mic-badge {
  display: none;
}

.mic-badge[data-state="denied"] {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid color-mix(in srgb, var(--danger) 45%, transparent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--danger) 8%, transparent);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.mic-guide {
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--danger) 40%, transparent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--danger) 6%, transparent);
  text-align: left;
}

.mic-guide strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
}

.mic-guide ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.mic-guide li + li {
  margin-top: 4px;
}

.mic-guide em {
  color: var(--text);
  font-style: normal;
  font-weight: 650;
}

.mic-guide .mini-action {
  justify-self: start;
}

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

.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: 10px;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--ground) 40%, transparent);
}

.transcript-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.transcript-head strong {
  color: var(--sky);
  font-weight: 650;
}

.transcript-feed {
  display: grid;
  align-content: start;
  gap: 8px;
  max-height: 210px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--line-strong) transparent;
}

.transcript-empty {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.utterance {
  display: grid;
  gap: 2px;
  padding: 8px 12px;
  border-left: 2px solid var(--sky);
  border-radius: 0 10px 10px 0;
  background: color-mix(in srgb, var(--text) 4%, transparent);
  text-align: left;
}

.utterance.user {
  border-left-color: var(--orange);
}

.utterance.system {
  border-left-color: var(--line-strong);
}

.utterance span {
  color: var(--sky);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.utterance.user span {
  color: var(--orange);
}

.utterance.system span {
  color: var(--faint);
}

.utterance p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- languages ---------- */

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

.persona-card {
  display: grid;
  justify-items: start;
  gap: 6px;
  padding: 22px;
}

.persona-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  transition: border-color 220ms ease-out, color 220ms ease-out;
}

.persona-card strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.persona-lang {
  color: var(--muted);
  font-size: 14px;
}

.persona-card.is-live {
  border-color: color-mix(in srgb, var(--orange) 55%, var(--line));
}

.persona-card.is-live .persona-avatar {
  border-color: var(--orange);
  color: var(--orange);
}

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

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

.cap-item,
.feature-card,
.wf-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 26px;
}

.cap-item h3,
.feature-card h3,
.wf-card h3,
.how-steps h3 {
  font-size: 21px;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.cap-item p,
.feature-card p,
.wf-card p,
.how-steps p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

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

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

.wf-num {
  color: var(--orange);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  letter-spacing: 0.06em;
}

/* ---------- running costs ---------- */

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

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

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

.scenario-card {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 24px;
}

.scenario-card header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.scenario-card h3 {
  font-size: 21px;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.scenario-card header p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

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

.scenario-card[data-triage="vert"] .triage-dot {
  background: var(--sky);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sky) 18%, transparent);
}

.scenario-card[data-triage="orange"] .triage-dot {
  background: var(--orange);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 18%, transparent);
}

.scenario-card[data-triage="rouge"] .triage-dot {
  background: var(--danger);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 18%, transparent);
}

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

.scenario-dialogue p {
  display: grid;
  gap: 2px;
  padding: 9px 12px;
  border-radius: 4px 12px 12px 12px;
  background: color-mix(in srgb, var(--text) 4%, transparent);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}

.scenario-dialogue p:nth-child(even) {
  border-radius: 12px 4px 12px 12px;
  background: color-mix(in srgb, var(--sky) 9%, transparent);
}

.scenario-dialogue p span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

/* ---------- figures ---------- */

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

.stat-card {
  display: grid;
  gap: 10px;
  padding: 28px;
}

.stat-fig {
  color: var(--orange);
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-card span {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.stats-source {
  max-width: 860px;
  margin-top: 22px;
  color: var(--faint);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- how it works ---------- */

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.how-steps li {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 26px;
}

.how-steps li > span {
  display: grid;
  width: 30px;
  height: 30px;
  margin-bottom: 6px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--orange);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}

/* ---------- technology ---------- */

.tech-inner {
  display: grid;
  gap: 20px;
  max-width: 860px;
}

.tech-inner p:not(.eyebrow) {
  max-width: 62ch;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

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

.roi-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.85fr);
  gap: 20px;
  padding: 28px;
}

.roi-controls {
  display: grid;
  align-content: center;
  gap: 26px;
}

.roi-controls label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 16px;
}

.roi-controls span {
  grid-column: 1 / -1;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
}

.roi-controls output {
  min-width: 70px;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  text-align: right;
}

.roi-controls input[type="range"] {
  width: 100%;
  accent-color: var(--orange);
}

.roi-result {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 26px;
  border: 1px solid color-mix(in srgb, var(--orange) 35%, var(--line));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--orange) 6%, transparent);
}

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

.roi-out > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.roi-result strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.roi-out-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.roi-result .roi-sub-fig {
  font-size: 24px;
}

.roi-result p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

#roiFormula:empty {
  display: none;
}

.roi > .roi-note {
  max-width: 860px;
  margin-top: 20px;
  color: var(--faint);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- comparison ---------- */

.table-scroll {
  overflow-x: auto;
}

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

.compare-table th,
.compare-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  color: var(--faint);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.compare-table tbody th {
  color: var(--text);
  font-weight: 600;
}

.compare-table td {
  color: var(--muted);
}

.compare-table .is-us {
  background: color-mix(in srgb, var(--orange) 7%, transparent);
  color: var(--text);
}

.compare-table thead .is-us {
  color: var(--orange);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.cell-none {
  color: var(--faint);
}

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

.access-inner {
  display: grid;
  justify-items: start;
  gap: 20px;
  max-width: 920px;
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(115deg, var(--panel-top), var(--panel-bottom));
}

.access-inner p:not(.eyebrow):not(.access-badge) {
  max-width: 60ch;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.access-badge {
  color: var(--faint);
  font-size: 14px;
}

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

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
  line-height: 1.6;
}

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

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

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

/* the full link row needs about 1180px; below that the page keeps the
   brand and the language switch, like the website's compact header */
@media (max-width: 1180px) {
  .topnav {
    display: none;
  }
}

@media (max-width: 1020px) {
  /* one column: headline, then the demo, then the longer copy */
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    min-height: 0;
    padding-top: 32px;
  }

  .hero-copy {
    display: contents;
  }

  .hero .eyebrow {
    order: 1;
  }

  .hero h1 {
    order: 2;
  }

  .call-console {
    order: 3;
    max-width: 560px;
    justify-self: auto;
    align-self: center;
    margin-block: 8px;
  }

  .lede {
    order: 4;
  }

  .fact-band {
    order: 5;
  }

  .cap-grid,
  .feature-grid,
  .scenario-grid,
  .stat-grid,
  .how-steps,
  .roi-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .topbar-inner {
    gap: 12px;
    height: 64px;
  }

  .brand {
    gap: 8px;
  }

  .brand__mark {
    width: 30px;
    height: 30px;
  }

  .brand__mark img {
    width: 25px;
  }

  .brand__name {
    font-size: 19px;
  }

  .brand__product {
    padding: 2px 7px 3px;
    font-size: 11px;
  }

  .lang-btn {
    min-width: 30px;
    min-height: 34px;
    padding: 4px 6px;
    font-size: 11px;
  }

  .hero h1 {
    font-size: clamp(36px, 10.4vw, 52px);
  }

  .lede,
  .section-sub,
  .tech-inner p:not(.eyebrow),
  .access-inner p:not(.eyebrow):not(.access-badge) {
    font-size: 16px;
  }

  .fact-band strong {
    font-size: 22px;
  }

  .fact-band span {
    font-size: 13px;
  }

  .fact-band div {
    padding-right: 12px;
  }

  .fact-band div + div {
    padding-left: 12px;
  }

  .call-console {
    padding: 20px 16px;
  }

  .call-status {
    border-radius: var(--radius);
  }

  .orb-stage {
    width: min(210px, 56vw);
  }

  .persona-grid,
  .wf-grid,
  .roi-out-row {
    grid-template-columns: 1fr 1fr;
  }

  .wf-grid,
  .roi-out-row {
    grid-template-columns: 1fr;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .brand__product {
    display: none;
  }
}

/* ============================================================
   Embed mode (?embed=1 or embed.html): only the call console,
   compact, inside the dialog on aura-mind.de.
   ============================================================ */

:root[data-embed="1"],
:root[data-embed="1"] body {
  min-height: 0;
  background: var(--ground);
}

:root[data-embed="1"] .ambient,
:root[data-embed="1"] .paris-scene,
:root[data-embed="1"] .topbar,
:root[data-embed="1"] .footer,
:root[data-embed="1"]:not([data-embed-copy="1"]) .hero-copy,
:root[data-embed="1"] .fact-band,
:root[data-embed="1"] main > section:not(.hero) {
  display: none;
}

:root[data-embed="1"] main {
  max-width: none;
  padding: 16px;
}

:root[data-embed="1"] .hero {
  display: block;
  min-height: 0;
  padding: 0;
}

:root[data-embed="1"] .call-console {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  gap: 12px;
}

:root[data-embed="1"] .orb-stage {
  width: min(170px, 42vw, 34vh);
}

:root[data-embed="1"] .orb-copy strong {
  font-size: 19px;
}

:root[data-embed="1"] .orb-copy small {
  font-size: 13px;
}

:root[data-embed="1"] .transcript-feed {
  max-height: 168px;
}

/* wide dialog: the round control on the left, the controls on the right */
@media (min-width: 620px) {
  :root[data-embed="1"] main {
    padding: 20px 24px;
  }

  :root[data-embed="1"] .call-console {
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
    align-items: center;
    column-gap: 28px;
    row-gap: 16px;
  }

  :root[data-embed="1"] .orb {
    grid-column: 1;
  }

  :root[data-embed="1"] .console-controls {
    grid-column: 2;
    justify-items: start;
  }

  :root[data-embed="1"] .voice-picker,
  :root[data-embed="1"] .console-actions {
    justify-content: flex-start;
  }

  :root[data-embed="1"] .orb-stage {
    width: min(180px, 28vw);
  }

  :root[data-embed="1"] .transcript {
    grid-column: 1 / -1;
  }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
