:root {
  color-scheme: light;
  --bg: #f5f7ff;
  --surface: rgba(255, 255, 255, 0.82);
  --ink: #0b1020;
  --muted: #647084;
  --line: rgba(117, 132, 162, 0.24);
  --accent: #5b5cff;
  --accent-strong: #2727d9;
  --cyan: #00c2ff;
  --violet: #7c3cff;
  --magenta: #ff3d9a;
  --amber: #ffb347;
  --green: #17c964;
  --soft: rgba(255, 255, 255, 0.66);
  --ai-gradient: linear-gradient(135deg, #00c2ff 0%, #5b5cff 38%, #ff3d9a 72%, #ffb347 100%);
  --cool-gradient: linear-gradient(135deg, #eaf8ff 0%, #f2efff 48%, #fff0f8 100%);
  --dark-gradient: linear-gradient(135deg, #090e1d 0%, #101b3a 42%, #24133f 100%);
  --shadow: 0 24px 80px rgba(34, 42, 76, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(0, 194, 255, 0.14), rgba(124, 60, 255, 0.12) 42%, rgba(255, 61, 154, 0.1) 70%, rgba(255, 179, 71, 0.12)),
    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;
}

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

.hidden {
  display: none !important;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr);
  gap: 20px;
  align-items: center;
  width: min(1280px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 14px 0;
  background: rgba(245, 247, 255, 0.78);
  backdrop-filter: blur(18px);
}

.nav-brand,
.nav-links,
.nav-actions,
.hero-actions,
.proof-row,
.logo-strip,
.footer-links {
  display: flex;
  align-items: center;
}

.nav-brand {
  gap: 10px;
  font-weight: 900;
}

.brand-mark,
.mark {
  display: grid;
  place-items: center;
  background: var(--ai-gradient);
  color: #ffffff;
  border-radius: 8px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(91, 92, 255, 0.32);
}

.brand-mark {
  width: 42px;
  height: 42px;
  font-size: 12px;
}

.nav-links {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.nav-actions {
  justify-content: flex-end;
  gap: 10px;
}

.shell,
.hero-section,
.section,
.cta-band,
.site-footer {
  width: min(1280px, calc(100vw - 32px));
  margin: 0 auto;
}

.shell {
  padding: 28px 0;
}

.hero-section {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
  gap: 42px;
  align-items: center;
  padding: 34px 0 60px;
}

.hero-copy h1,
.section-head h2,
.split-section h2,
.cta-band h2 {
  letter-spacing: 0;
  margin: 0;
}

.hero-copy h1 {
  max-width: 790px;
  font-size: clamp(48px, 6.2vw, 92px);
  line-height: 0.93;
  background: linear-gradient(115deg, #0b1020 0%, #202c67 38%, #6b35ff 66%, #c4247d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  max-width: 720px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.48;
  margin: 24px 0 0;
}

.eyebrow {
  color: var(--accent-strong);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}

.hero-actions {
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.primary,
.ghost,
.text-link,
.back-link {
  min-height: 44px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.primary {
  border: 0;
  color: #ffffff;
  background: var(--ai-gradient);
  padding: 0 18px;
  box-shadow: 0 12px 30px rgba(91, 92, 255, 0.28);
}

.primary:hover {
  filter: saturate(1.12) brightness(0.98);
}

.small-primary {
  min-height: 40px;
}

.ghost {
  border: 1px solid rgba(91, 92, 255, 0.22);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  padding: 0 14px;
}

.text-link,
.back-link {
  border: 0;
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  padding: 0;
}

.proof-row {
  gap: 20px;
  flex-wrap: wrap;
  margin: 34px 0 0;
}

.proof-row div {
  min-width: 150px;
  border-left: 3px solid transparent;
  border-image: var(--ai-gradient) 1;
  padding-left: 12px;
}

.proof-row dt {
  font-size: 28px;
  font-weight: 900;
}

.proof-row dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.product-visual {
  background: var(--dark-gradient);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 540px;
  overflow: hidden;
}

.visual-toolbar {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #dfe8ea;
}

.visual-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #69808b;
}

.visual-toolbar strong {
  margin-left: 10px;
  font-size: 14px;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}

.visual-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.visual-card small,
.feature-card .icon {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.visual-card strong {
  font-size: 24px;
  line-height: 1.1;
  margin-top: 8px;
}

.visual-card p {
  color: var(--muted);
  line-height: 1.45;
  margin: 10px 0 0;
}

.dark-card {
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.16), rgba(124, 60, 255, 0.3)), #182341;
  color: #ffffff;
}

.dark-card p,
.dark-card small {
  color: #b7c6cc;
}

.accent-card {
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.2), rgba(255, 61, 154, 0.18), rgba(255, 179, 71, 0.24)), #ffffff;
}

.logo-strip {
  justify-content: space-between;
  gap: 14px;
  width: min(1280px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 18px 0 52px;
  color: #536179;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-wrap: wrap;
}

.section {
  padding: 74px 0;
}

.section-head {
  max-width: 880px;
  margin-bottom: 28px;
}

.section-head.narrow {
  max-width: 760px;
}

.section-head h2,
.split-section h2,
.cta-band h2 {
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1;
}

.section-head p,
.split-section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

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

.feature-card,
.control-grid div,
.use-case-grid article,
.auth-card,
.panel,
.metric,
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.feature-card,
.control-grid div,
.use-case-grid article {
  min-height: 220px;
  padding: 18px;
  box-shadow: 0 16px 44px rgba(53, 68, 110, 0.08);
}

.feature-card h3,
.use-case-grid h3 {
  margin: 36px 0 10px;
  font-size: 22px;
}

.feature-card p,
.use-case-grid p,
.control-grid span,
.site-footer p {
  color: var(--muted);
  line-height: 1.5;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(440px, 1.2fr);
  gap: 44px;
  align-items: start;
}

.steps {
  list-style: none;
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.steps strong {
  font-size: 18px;
}

.steps span {
  color: var(--muted);
  line-height: 1.5;
}

.security-band {
  background: var(--dark-gradient);
  color: #ffffff;
  width: 100%;
  max-width: none;
  padding: 82px max(16px, calc((100vw - 1280px) / 2));
}

.security-band .section-head p,
.security-band .control-grid span {
  color: #bdc8ce;
}

.security-band .eyebrow {
  color: #8fdcff;
}

.security-band .control-grid div {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.control-grid div {
  display: grid;
  gap: 12px;
}

.control-grid strong {
  font-size: 19px;
}

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

.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(440px, 1fr);
  gap: 44px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 18px;
}

.faq-list p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-top: 36px;
  margin-bottom: 30px;
  padding: 34px;
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.18), rgba(91, 92, 255, 0.18), rgba(255, 61, 154, 0.12)), rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(91, 92, 255, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
}

.footer-links {
  gap: 18px;
  color: var(--muted);
  font-weight: 800;
}

.footer-links button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  padding: 0;
}

.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 460px);
  gap: 28px;
  align-items: center;
}

.brand-panel {
  padding: 20px 0;
}

.mark {
  width: 72px;
  height: 72px;
  margin: 24px 0 28px;
}

.brand-panel h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}

.brand-panel p {
  max-width: 640px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.auth-card {
  padding: 22px;
  box-shadow: var(--shadow);
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.tab {
  border: 1px solid var(--line);
  background: #f8fafb;
  color: var(--ink);
  min-height: 42px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.tab.active {
  background: var(--ai-gradient);
  border-color: transparent;
  color: #ffffff;
}

.form {
  display: grid;
  gap: 14px;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.checkbox-label {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 42px;
}

.checkbox-label input {
  width: 18px;
  min-height: 18px;
  padding: 0;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  color: var(--ink);
  min-height: 42px;
  padding: 10px 12px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91, 92, 255, 0.16);
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.topbar h1 {
  margin: 2px 0 0;
  font-size: 34px;
  letter-spacing: 0;
}

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

.app-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 14px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.app-nav-button {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
  padding: 0 12px;
}

.app-nav-button.active,
.app-nav-button:hover {
  background: #ffffff;
  border-color: rgba(91, 92, 255, 0.18);
  color: var(--ink);
}

.metric {
  padding: 18px;
}

.metric span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 800;
}

.metric strong {
  display: block;
  font-size: 34px;
  margin-top: 4px;
}

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

.executive-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: start;
}

.panel {
  padding: 18px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.panel h2 {
  margin: 0;
  font-size: 20px;
}

.panel-copy {
  color: var(--muted);
  line-height: 1.45;
  margin: -4px 0 14px;
}

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

.signal-card {
  min-height: 142px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}

.signal-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.signal-card strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  margin: 12px 0;
}

.signal-card p {
  color: var(--muted);
  line-height: 1.35;
  margin: 0;
}

.signal-good {
  border-color: rgba(23, 201, 100, 0.28);
}

.signal-warning {
  border-color: rgba(255, 179, 71, 0.5);
  background: linear-gradient(135deg, rgba(255, 179, 71, 0.16), rgba(255, 255, 255, 0.94));
}

.signal-danger {
  border-color: rgba(255, 61, 154, 0.36);
  background: linear-gradient(135deg, rgba(255, 61, 154, 0.12), rgba(255, 255, 255, 0.94));
}

.meeting-actions,
.presentation-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meeting-room {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.room-stage {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  min-height: 104px;
  border: 1px solid rgba(91, 92, 255, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.12), rgba(124, 60, 255, 0.1), rgba(255, 255, 255, 0.9));
  padding: 16px;
}

.room-stage.is-live {
  color: #ffffff;
  background: var(--dark-gradient);
}

.room-stage strong {
  display: block;
  font-size: 20px;
}

.room-stage p {
  color: inherit;
  line-height: 1.45;
  margin: 6px 0 0;
  opacity: 0.76;
}

.room-stage span {
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
}

.participant-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.participant-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  padding: 10px;
}

.participant-card h3 {
  margin: 0;
  font-size: 14px;
}

.participant-card p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  margin: 3px 0 0;
}

.presence-dot {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #a6b0c0;
}

.presence-dot.online {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(23, 201, 100, 0.14);
}

.presentation-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  min-height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: var(--dark-gradient);
  color: #ffffff;
  padding: 22px;
}

.presentation-stage .eyebrow {
  color: #8fdcff;
}

.presentation-stage h3 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  margin: 0 0 18px;
}

.presentation-stage ul {
  display: grid;
  gap: 10px;
  max-width: 860px;
  margin: 0;
  padding-left: 20px;
}

.presentation-stage li {
  color: #d7e2ea;
  line-height: 1.42;
}

.standup-notes {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.standup-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  padding: 12px;
}

.standup-note h3 {
  margin: 0;
}

.standup-note p {
  color: var(--muted);
  line-height: 1.4;
  margin: 8px 0 0;
}

.standup-note strong {
  color: var(--ink);
}

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

.recommendation-columns h3 {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.recommendation-list {
  display: grid;
  gap: 8px;
}

.recommendation-card {
  width: 100%;
  min-height: 66px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  text-align: left;
  border: 1px solid rgba(91, 92, 255, 0.22);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 10px;
  cursor: pointer;
}

.recommendation-card:hover {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.1), rgba(124, 60, 255, 0.08), rgba(255, 61, 154, 0.06)), #ffffff;
}

.recommendation-card:disabled {
  cursor: default;
  opacity: 0.76;
}

.recommendation-card strong,
.recommendation-card small,
.recommendation-card em {
  display: block;
}

.recommendation-card strong {
  font-size: 14px;
  line-height: 1.15;
}

.recommendation-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-top: 4px;
}

.recommendation-card em {
  color: var(--accent-strong);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.catalog-card {
  width: 100%;
  min-height: 76px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  padding: 10px;
  cursor: pointer;
}

.catalog-card:hover {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.12), rgba(124, 60, 255, 0.1), rgba(255, 61, 154, 0.08)), #ffffff;
}

.catalog-card.is-recommended {
  border-color: rgba(91, 92, 255, 0.32);
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.1), rgba(124, 60, 255, 0.09), rgba(255, 255, 255, 0.95));
}

.catalog-card:disabled {
  cursor: default;
  opacity: 0.78;
}

.catalog-card:disabled:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.catalog-card strong,
.catalog-card small,
.catalog-card em {
  display: block;
}

.catalog-card strong {
  font-size: 14px;
  line-height: 1.15;
}

.catalog-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-top: 4px;
}

.catalog-card em {
  color: var(--accent-strong);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.catalog-icon,
.agent-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--cool-gradient);
  border: 1px solid var(--line);
}

.catalog-icon img {
  max-width: 24px;
  max-height: 24px;
}

.agent-avatar {
  background: var(--ai-gradient);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  overflow: hidden;
}

.human-avatar {
  background: #ffffff;
  border-color: rgba(91, 92, 255, 0.18);
}

.human-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.agent-profile-main,
.agent-name-row,
.agent-card-side {
  display: flex;
  align-items: center;
}

.agent-profile-main {
  gap: 12px;
  min-width: 0;
}

.agent-profile-card .agent-avatar {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
}

.agent-name-row {
  gap: 8px;
  flex-wrap: wrap;
}

.ai-agent-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: #5b1bbf;
  background: rgba(124, 60, 255, 0.1);
  border: 1px solid rgba(124, 60, 255, 0.22);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 8px;
  white-space: nowrap;
}

.agent-card-side {
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.agent-card-side small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.agent-command-form {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 14px;
}

.agent-command-result {
  border-color: rgba(124, 60, 255, 0.22);
}

.agent-command-result p {
  white-space: pre-line;
}

.advanced-entry {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 4px;
}

.advanced-entry summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 12px;
}

.status {
  color: #2727d9;
  background: rgba(91, 92, 255, 0.1);
  border: 1px solid rgba(91, 92, 255, 0.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 9px;
  white-space: nowrap;
}

.wide,
.wide-panel {
  grid-column: 1 / -1;
}

.list,
.timeline {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfd;
}

.item-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.item h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

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

.item-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.small-button {
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 800;
}

.small-button:hover {
  border-color: var(--accent);
}

.danger-button {
  border-color: rgba(255, 61, 154, 0.34);
  color: #b70f5d;
}

.danger-button:hover {
  background: rgba(255, 61, 154, 0.08);
  border-color: rgba(255, 61, 154, 0.72);
}

.admin-business-card small {
  color: var(--muted);
  display: block;
  font-weight: 800;
  margin-top: 6px;
}

.timeline .item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px;
}

.compact-timeline .item {
  grid-template-columns: 140px minmax(0, 1fr);
}

.session-output {
  margin-top: 14px;
}

.session-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.session-item {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
}

.session-item span,
.session-item small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.session-item code {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

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

.command-center {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  justify-items: end;
  gap: 10px;
  pointer-events: none;
}

.command-toggle,
.command-panel {
  pointer-events: auto;
}

.command-toggle {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: var(--dark-gradient);
  box-shadow: var(--shadow);
  cursor: pointer;
  font-weight: 900;
  padding: 0 18px;
}

.command-panel {
  width: min(460px, calc(100vw - 32px));
  border: 1px solid rgba(91, 92, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  padding: 14px;
}

.command-panel-head,
.command-tabs,
.command-form,
.voice-command-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.command-panel-head {
  justify-content: space-between;
  margin-bottom: 10px;
}

.command-panel-head strong {
  font-size: 16px;
}

.command-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 0;
}

.command-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 10px;
}

.command-tab {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.command-tab.active {
  color: #ffffff;
  background: var(--ai-gradient);
  border-color: transparent;
}

.command-form {
  align-items: stretch;
}

.command-form input {
  min-width: 0;
}

.command-form .primary {
  flex: 0 0 auto;
}

.voice-command-row {
  display: none;
  justify-content: space-between;
  margin-top: 10px;
}

.command-center[data-command-mode="voice"] .voice-command-row {
  display: flex;
}

.command-result {
  min-height: 42px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  color: var(--muted);
  line-height: 1.35;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
}

.command-result[data-tone="success"] {
  color: #0f7a3b;
  border-color: rgba(23, 201, 100, 0.28);
  background: rgba(23, 201, 100, 0.08);
}

.command-result[data-tone="warning"] {
  color: #9a5a00;
  border-color: rgba(255, 179, 71, 0.48);
  background: rgba(255, 179, 71, 0.12);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 86px;
  transform: translateX(-50%);
  width: min(560px, calc(100vw - 32px));
  background: var(--ink);
  color: #ffffff;
  border-radius: 8px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  font-weight: 800;
}

@media (max-width: 1040px) {
  .site-nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-section,
  .split-section,
  .faq-section,
  .auth-layout {
    grid-template-columns: 1fr;
  }

  .product-visual {
    min-height: 0;
  }

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

@media (max-width: 900px) {
  .workspace-grid,
  .executive-grid,
  .form.compact {
    grid-template-columns: 1fr;
  }

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

  .presentation-stage {
    grid-template-columns: 1fr;
  }

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

  .metrics,
  .use-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline .item,
  .steps li,
  .session-items {
    grid-template-columns: 1fr;
  }

  .cta-band,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .shell,
  .hero-section,
  .section,
  .cta-band,
  .site-footer,
  .site-nav,
  .logo-strip {
    width: min(100% - 20px, 1280px);
  }

  .nav-actions {
    display: none;
  }

  .site-nav {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: 28px;
  }

  .hero-copy h1,
  .brand-panel h1 {
    font-size: 40px;
  }

  .hero-lede,
  .brand-panel p {
    font-size: 17px;
  }

  .feature-grid,
  .control-grid,
  .metrics,
  .use-case-grid,
  .visual-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .critical-signal-grid,
  .participant-grid {
    grid-template-columns: 1fr;
  }

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

  .command-center {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .command-panel {
    width: 100%;
  }

  .command-form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .command-toggle {
    justify-self: end;
  }

  .toast {
    bottom: 72px;
  }

  .room-stage {
    align-items: flex-start;
    flex-direction: column;
  }

  .agent-profile-card .item-row,
  .agent-profile-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .agent-card-side {
    align-items: flex-start;
  }
}
