:root {
  color-scheme: light;
  --bg: #eef8ff;
  --panel: #ffffff;
  --ink: #123047;
  --muted: #5f7890;
  --line: #c8e2f5;
  --soft-line: #e4f3fd;
  --accent: #0284c7;
  --accent-ink: #075985;
  --blue: #38bdf8;
  --gold: #0ea5e9;
  --rose: #b84a62;
  --charcoal: #0f3f5f;
  --shadow: 0 22px 70px rgba(14, 116, 144, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(56, 189, 248, 0.22), transparent 32%),
    linear-gradient(300deg, rgba(125, 211, 252, 0.2), transparent 36%),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  user-select: none;
}

.shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
}

.is-hidden {
  display: none !important;
}

.language-screen {
  display: grid;
  gap: 22px;
  min-height: calc(100vh - 48px);
}

.site-home {
  padding-bottom: 34px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
}

.brand-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
}

.brand-strip strong,
.brand-lockup strong {
  display: block;
}

.brand-strip span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--charcoal);
  color: white;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

.brand-mark.small {
  width: 40px;
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.88rem;
  font-weight: 900;
}

.nav-links a {
  color: var(--charcoal);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--accent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 22px;
  align-items: stretch;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.98)),
    #ffffff;
  box-shadow: var(--shadow);
}

.hero-grid h1 {
  max-width: 870px;
  font-size: clamp(2.45rem, 6vw, 5.6rem);
  line-height: 0.96;
}

.hero-text {
  max-width: 720px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.value-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.value-points > div {
  min-height: 112px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.value-points strong,
.review-strip strong {
  display: block;
  margin-bottom: 8px;
}

.value-points span,
.review-strip span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.45;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 950;
  text-decoration: none;
}

.primary-link {
  background: var(--accent);
  color: white;
}

.secondary-link {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.lead-login-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 22px;
  border: 1px solid #cfd7e3;
  border-radius: 8px;
  background: #f8fafc;
}

.lead-login-card h2 {
  font-size: 1.45rem;
}

.lead-login-form {
  display: grid;
  gap: 12px;
}

.signup-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.signup-progress span {
  display: grid;
  place-items: center;
  min-height: 34px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-align: center;
}

.signup-progress span.is-active {
  border-color: var(--accent);
  background: #e0f2fe;
  color: var(--accent-ink);
}

.signup-step {
  display: grid;
  gap: 12px;
}

.signup-step[hidden] {
  display: none;
}

.lead-login-form textarea {
  min-height: 96px;
}

.service-checks {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.service-checks legend {
  padding: 0 5px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.service-checks label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: start;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.3;
}

.service-checks input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.lead-login-form .primary-button,
.lead-login-form .secondary-button {
  width: 100%;
}

.otp-grid {
  display: grid;
  gap: 12px;
  padding-top: 4px;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.45;
}

.form-status.is-good {
  color: var(--accent-ink);
}

.form-status.is-error {
  color: #a3263f;
}

.script-preview {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(15, 118, 110, 0.35);
  border-radius: 8px;
  background: #ecfdf5;
}

.script-preview span {
  color: var(--accent-ink);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.script-preview p {
  margin: 0;
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.45;
}

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

.metric-strip > div,
.service-grid article,
.dashboard-preview > div,
.voice-demo-entry,
.review-strip article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
}

.metric-strip > div {
  min-height: 132px;
  padding: 18px;
}

.metric-strip span,
.dashboard-preview span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.metric-strip strong {
  display: block;
  margin: 8px 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.metric-strip small {
  color: var(--muted);
  line-height: 1.42;
}

.service-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(2, 1fr);
  gap: 12px;
}

.review-strip {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  gap: 12px;
}

.review-strip article {
  min-height: 160px;
  padding: 18px;
}

.section-heading {
  grid-row: span 2;
  padding: 24px;
}

.section-heading.slim {
  grid-row: auto;
}

.section-heading h2,
.decision-board h2,
.voice-demo-entry h2,
.telephony-readiness h2,
.testing-lab h2 {
  max-width: 720px;
  font-size: clamp(1.6rem, 3vw, 2.55rem);
  line-height: 1.05;
}

.service-grid article {
  min-height: 190px;
  padding: 20px;
}

.service-grid article span {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 950;
}

.service-grid h3 {
  margin: 16px 0 10px;
  font-size: 1.1rem;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.decision-board {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111827;
  color: white;
}

.decision-board .subtle,
.decision-board .eyebrow {
  color: #cbd5e1;
}

.dashboard-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.dashboard-preview > div {
  min-height: 130px;
  padding: 18px;
  background: #ffffff;
  color: var(--ink);
}

.dashboard-preview strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(1.6rem, 4vw, 2.55rem);
}

.telephony-readiness,
.testing-lab {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
}

.pipeline-grid,
.test-device-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.pipeline-grid article,
.test-device-grid > div {
  display: grid;
  gap: 8px;
  min-height: 138px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.pipeline-grid span,
.test-device-grid span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.45;
}

.pipeline-grid article > span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.pipeline-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.voice-demo-entry {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  align-items: center;
  padding: 24px;
}

.language-option.beta {
  border-color: rgba(200, 138, 34, 0.55);
  background: #fffaf0;
}

.site-footer {
  justify-content: center;
  padding-top: 4px;
}

.language-card {
  align-self: center;
  display: grid;
  gap: 28px;
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 48px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-copy {
  max-width: 760px;
}

.language-card h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.95;
}

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

.language-option {
  display: grid;
  gap: 8px;
  min-height: 138px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.language-option:hover,
.language-option:focus {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.13);
  outline: none;
}

.language-option strong {
  font-size: 1.18rem;
}

.language-option span {
  color: var(--muted);
  line-height: 1.4;
}

.signal-row,
.demo-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.signal-row span {
  min-height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--accent-ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.legal-links {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.legal-links.compact {
  justify-content: flex-end;
  margin-top: 10px;
}

.legal-links a,
.legal-back {
  color: var(--accent-ink);
  text-decoration: none;
}

.legal-links a:hover,
.legal-back:hover {
  text-decoration: underline;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(300px, 390px) 1fr;
  gap: 18px;
  min-height: calc(100vh - 48px);
}

.panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.settings-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  overflow: auto;
}

.agent-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
}

.product-head {
  display: grid;
  gap: 10px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow,
.label {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
}

.subtle {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.hint {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

select,
textarea,
input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
  color: var(--ink);
  outline: none;
}

select,
input {
  height: 44px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  min-height: 190px;
  padding: 12px;
  line-height: 1.5;
}

select:focus,
textarea:focus,
input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.13);
}

.customer-card,
.voice-demo,
.bridge-card,
.recording-card,
.sip-card,
.testing-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.customer-card strong,
.voice-demo strong,
.bridge-card strong,
.recording-card strong,
.sip-card strong,
.testing-card strong {
  display: block;
  margin-bottom: 4px;
}

.bridge-card ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.sip-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.button-row,
.test-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.button-row .secondary-button,
.test-buttons .secondary-button {
  min-height: 38px;
  padding: 0 12px;
  font-size: 0.84rem;
}

.config-preview {
  max-height: 220px;
  margin: 0;
  padding: 12px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111827;
  color: #d1fae5;
  font-size: 0.78rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.test-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.test-results > div {
  min-height: 70px;
  padding: 10px;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: white;
}

.test-results span {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.test-results strong {
  margin-top: 8px;
  font-size: 0.86rem;
}

.compact-field {
  gap: 6px;
  font-size: 0.9rem;
}

.compact-field input {
  height: 40px;
}

.consent-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.35;
}

.consent-check input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--accent);
}

.status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.status-grid > div,
.demo-metrics > div {
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  padding: 12px;
  background: #f8fafc;
}

.status-grid strong,
.demo-metrics strong {
  display: block;
  font-size: 1.04rem;
}

.demo-metrics {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.demo-metrics span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.topbar,
.controls,
.composer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar {
  justify-content: space-between;
}

.icon-button,
.primary-button,
.secondary-button,
.composer button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.icon-button {
  min-width: 70px;
  height: 40px;
  padding: 0 12px;
  background: #eef2f6;
  color: var(--ink);
  font-size: 0.78rem;
}

.orb {
  display: grid;
  place-items: center;
  align-self: center;
  position: relative;
  width: min(340px, 76vw);
  aspect-ratio: 1;
  margin: 28px 0 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 28%, rgba(255, 255, 255, 0.96), transparent 25%),
    radial-gradient(circle at 48% 62%, rgba(15, 118, 110, 0.97), rgba(31, 41, 55, 0.98));
  color: white;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.22);
}

.pulse {
  position: absolute;
  inset: 36px;
  border: 2px solid rgba(255, 255, 255, 0.36);
  border-radius: inherit;
}

.orb.listening .pulse,
.orb.thinking .pulse {
  animation: breathe 1.3s ease-in-out infinite;
}

.orb span {
  position: relative;
  font-size: 1.08rem;
  font-weight: 900;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(0.88);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

.controls {
  justify-content: center;
  flex-wrap: wrap;
}

.primary-button,
.secondary-button,
.composer button {
  min-height: 44px;
  padding: 0 18px;
}

.primary-button {
  background: var(--accent);
  color: white;
}

.primary-button.is-live {
  background: var(--rose);
}

.secondary-button {
  background: #eef2f6;
  color: var(--ink);
}

.voice-demo button {
  justify-self: start;
}

.chat-log {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 240px;
  max-height: 44vh;
  margin: 22px 0;
  padding: 16px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.message {
  max-width: min(76%, 720px);
  padding: 12px 14px;
  border-radius: 8px;
  line-height: 1.45;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.message.user {
  align-self: flex-end;
  background: #e7f5f1;
}

.message.agent {
  align-self: flex-start;
  background: #fff6e7;
}

.message.error {
  align-self: flex-start;
  background: #ffecef;
}

.composer {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.composer input {
  flex: 1;
}

.composer button {
  background: var(--gold);
  color: #241706;
}

.legal-shell {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 54px;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 18px;
  font-weight: 900;
}

.legal-panel {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.legal-panel h1 {
  margin-bottom: 8px;
}

.legal-panel h2 {
  margin-top: 28px;
  font-size: 1.1rem;
}

.legal-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.admin-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 54px;
}

.auth-shell,
.dashboard-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 54px;
}

.auth-card,
.dashboard-hero {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 430px);
  gap: 22px;
  align-items: center;
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.auth-card h1,
.dashboard-hero h1 {
  max-width: 780px;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
}

.dashboard-hero {
  align-items: end;
}

.dashboard-hero .primary-button {
  justify-self: end;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.dashboard-metrics > div {
  min-height: 126px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
}

.dashboard-metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.dashboard-metrics strong {
  display: block;
  margin-top: 10px;
  font-size: 1.8rem;
}

.dashboard-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.admin-panel {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 420px);
  gap: 18px;
  align-items: end;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.admin-token-form {
  display: grid;
  gap: 12px;
}

.admin-readiness {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.admin-readiness > div {
  min-height: 76px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.admin-readiness span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-readiness strong {
  color: var(--charcoal);
  font-size: 0.95rem;
}

.admin-readiness strong.is-good {
  color: var(--accent-ink);
}

.admin-readiness strong.is-error {
  color: #a3263f;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.admin-card,
.admin-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
}

.admin-card {
  min-height: 112px;
  padding: 16px;
}

.admin-card span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.55rem;
}

.admin-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.admin-list {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 260px;
  padding: 18px;
}

.admin-list h2 {
  font-size: 1.1rem;
}

.compact-note {
  margin-top: -4px;
  margin-bottom: 12px;
  font-size: 0.82rem;
}

.admin-row {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: #fbfcfe;
}

.admin-row span,
.admin-row small,
.empty-state {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.admin-row small {
  word-break: break-word;
}

.checklist-row {
  grid-template-columns: 1fr auto;
  align-items: start;
}

.checklist-row small {
  grid-column: 1 / -1;
}

.checklist-row span {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.checklist-row.is-ready span {
  color: #0f766e;
  background: #ccfbf1;
}

.checklist-row.is-pending span {
  color: #9a3412;
  background: #ffedd5;
}

@media (max-width: 920px) {
  .site-nav,
  .hero-grid,
  .decision-board,
  .voice-demo-entry,
  .admin-panel,
  .auth-card,
  .dashboard-hero {
    grid-template-columns: 1fr;
  }

  .dashboard-hero .primary-button {
    justify-self: stretch;
  }

  .site-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .language-options,
  .signal-row,
  .metric-strip,
  .service-grid,
  .review-strip,
  .value-points,
  .dashboard-preview,
  .pipeline-grid,
  .test-device-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    grid-row: auto;
  }

  .language-option {
    min-height: 96px;
  }

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

  .settings-panel {
    order: 2;
  }

  .agent-panel {
    min-height: 74vh;
  }

  .chat-log {
    max-height: 38vh;
  }

  .message {
    max-width: 92%;
  }

  .sip-form,
  .test-results,
  .admin-grid,
  .admin-columns,
  .dashboard-metrics,
  .dashboard-columns,
  .admin-readiness {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 16px, 1240px);
    padding: 8px 0;
  }

  .brand-strip {
    min-height: 52px;
  }

  .language-card,
  .panel {
    box-shadow: none;
  }

  .demo-metrics {
    grid-template-columns: 1fr;
  }

  .composer {
    align-items: stretch;
    flex-direction: column;
  }

  .composer button {
    width: 100%;
  }
}
