:root {
  --cream: #f4eae0;
  --cream-deep: #ecdfd2;
  --warm-gold: #b98d5f;
  --warm-gold-light: #d9bd9b;
  --navy: #12334b;
  --navy-deep: #092538;
  --charcoal: #393939;
  --muted: #6f6b68;
  --line: rgba(18, 51, 75, 0.14);
  --line-light: rgba(255, 255, 255, 0.18);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(18, 51, 75, 0.12);
  --shadow-soft: 0 14px 34px rgba(18, 51, 75, 0.08);
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", Arial, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--warm-gold-light);
  color: var(--navy-deep);
}

button,
textarea,
a {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

a {
  color: inherit;
}

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

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--warm-gold);
  outline-offset: 3px;
}

.page-width {
  width: min(1220px, calc(100% - 48px));
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: absolute;
  z-index: 20;
  top: 12px;
  left: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.82rem;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.topline {
  border-bottom: 1px solid rgba(18, 51, 75, 0.1);
  background: #f8f7f5;
  color: var(--charcoal);
  font-size: 0.76rem;
  letter-spacing: 0.015em;
}

.topline-inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topline p {
  margin: 0;
}

.topline-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--warm-gold);
  vertical-align: 1px;
}

.topline-note {
  color: var(--muted);
}

.header-main {
  display: flex;
  min-height: 114px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
  text-decoration: none;
}

.brand-logo {
  width: 74px;
  height: 58px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 3px;
  line-height: 1.1;
}

.brand-copy strong {
  color: var(--charcoal);
  font-size: 0.9rem;
  letter-spacing: 0.055em;
}

.brand-copy span {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 0.84rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.site-nav a {
  position: relative;
  padding-block: 10px;
  color: var(--charcoal);
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--warm-gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
  padding-top: clamp(42px, 7vw, 92px);
  padding-bottom: clamp(50px, 8vw, 108px);
}

.eyebrow,
.panel-kicker {
  margin: 0;
  color: var(--warm-gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.how-section h2,
.source-card h2 {
  margin: 17px 0 22px;
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(2.5rem, 5vw, 4.65rem);
}

.hero h1 em {
  color: var(--warm-gold);
  font-style: normal;
}

.hero-lead {
  max-width: 565px;
  margin: 0;
  color: #5c5854;
  font-size: clamp(1rem, 1.5vw, 1.17rem);
  line-height: 1.75;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 32px;
  color: var(--navy);
  font-size: 0.83rem;
  font-weight: 600;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-points i {
  color: var(--warm-gold);
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-visual {
  margin: 0;
}

.hero-visual-frame {
  position: relative;
  overflow: hidden;
  padding: 10px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.visual-stamp {
  position: absolute;
  right: 23px;
  bottom: 22px;
  padding: 9px 11px 8px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(18, 51, 75, 0.8);
  color: var(--white);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-align: center;
}

.visual-stamp b {
  color: var(--warm-gold-light);
  font-size: 0.65rem;
}

.hero-visual figcaption {
  margin-top: 11px;
  color: var(--muted);
  font-size: 0.76rem;
}

.notice-band {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 19px 24px;
  border: 1px solid rgba(185, 141, 95, 0.3);
  background: var(--cream);
}

.notice-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--warm-gold-light);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.notice-title {
  margin: 0;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
}

.notice-copy {
  max-width: 850px;
  margin: 3px 0 0;
  color: #665f59;
  font-size: 0.78rem;
}

.demo-badge {
  padding: 7px 10px;
  border: 1px solid rgba(18, 51, 75, 0.24);
  color: var(--navy);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.demo-section {
  padding-top: clamp(72px, 9vw, 126px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.section-heading h2,
.how-section h2,
.source-card h2 {
  max-width: 680px;
  margin-bottom: 0;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
}

.runtime-readout {
  display: grid;
  flex: 0 0 auto;
  gap: 3px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
  text-align: right;
}

.runtime-label {
  color: var(--muted);
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.runtime-state {
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
}

.demo-frame {
  overflow: hidden;
  border: 1px solid rgba(18, 51, 75, 0.12);
  background: #fbfaf9;
  box-shadow: var(--shadow);
}

.demo-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 10px 10px 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.demo-tab {
  position: relative;
  min-width: 152px;
  padding: 17px 22px 16px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.demo-tab::after {
  position: absolute;
  right: 18px;
  bottom: -1px;
  left: 18px;
  height: 2px;
  background: var(--warm-gold);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.demo-tab:hover,
.demo-tab.is-active {
  color: var(--navy);
}

.demo-tab.is-active::after {
  transform: scaleX(1);
}

.tab-panel {
  padding: clamp(22px, 4vw, 48px);
}

.chat-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(270px, 0.78fr);
  align-items: start;
  gap: 22px;
}

.panel-surface {
  border: 1px solid rgba(18, 51, 75, 0.13);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.chat-card,
.voice-card {
  padding: clamp(20px, 3vw, 32px);
}

.panel-topline,
.insight-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.panel-topline h3,
.insight-heading h3,
.voice-intro h3,
.process-grid h3 {
  margin: 7px 0 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 400;
  line-height: 1.25;
}

.status-chip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(185, 141, 95, 0.38);
  color: var(--warm-gold);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-chip.is-blocked,
.status-chip.is-error {
  border-color: rgba(170, 72, 55, 0.34);
  color: #a24d40;
}

.status-chip.is-ready,
.status-chip.is-live {
  border-color: rgba(53, 116, 87, 0.34);
  color: #357657;
}

.status-chip.is-connecting {
  border-color: rgba(18, 51, 75, 0.25);
  color: var(--navy);
}

.status-chip.is-ended {
  border-color: rgba(18, 51, 75, 0.2);
  color: var(--muted);
}

.qa-notice {
  display: flex;
  align-items: start;
  gap: 10px;
  margin-top: 22px;
  padding: 12px 13px;
  border-left: 2px solid var(--warm-gold);
  background: #fbf6f0;
  color: #665f59;
  font-size: 0.75rem;
  line-height: 1.55;
}

.qa-notice p {
  margin: 0;
}

.qa-notice strong {
  color: var(--navy);
}

.qa-icon {
  display: grid;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  place-items: center;
  border: 1px solid var(--warm-gold);
  border-radius: 50%;
  color: var(--warm-gold);
  font-family: var(--serif);
  font-size: 0.69rem;
  font-weight: 700;
}

.messages {
  display: flex;
  min-height: 220px;
  max-height: 390px;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  padding: 4px 3px 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--warm-gold-light) transparent;
  scrollbar-width: thin;
}

.message {
  max-width: min(88%, 570px);
  padding: 11px 14px 12px;
  border: 1px solid rgba(18, 51, 75, 0.1);
  background: #fbfaf9;
  color: var(--charcoal);
  font-size: 0.86rem;
  line-height: 1.55;
}

.message-assistant {
  align-self: flex-start;
  border-top-left-radius: 2px;
  border-bottom-right-radius: 13px;
}

.message-user {
  align-self: flex-end;
  border-color: rgba(18, 51, 75, 0.18);
  border-top-right-radius: 2px;
  border-bottom-left-radius: 13px;
  background: var(--navy);
  color: var(--white);
}

.message-system {
  align-self: stretch;
  border-color: rgba(170, 72, 55, 0.24);
  background: #fff7f4;
  color: #864b40;
}

.message-label {
  display: block;
  margin-bottom: 4px;
  color: var(--warm-gold);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.message-user .message-label {
  color: var(--warm-gold-light);
}

.message-system .message-label {
  color: #a24d40;
}

.message-body {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.typing-indicator {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 4px;
  margin-top: 1px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.typing-indicator span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--warm-gold);
  animation: pulse 1.2s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 140ms;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 280ms;
}

@keyframes pulse {
  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

.scenario-row {
  margin-top: 18px;
}

.scenario-row > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.scenario-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.scenario-buttons button,
.text-button {
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 0.73rem;
  font-weight: 700;
  text-align: left;
}

.scenario-buttons button {
  padding: 8px 10px;
  border: 1px solid rgba(18, 51, 75, 0.18);
  background: var(--white);
}

.scenario-buttons button:hover:not(:disabled),
.scenario-buttons button:focus-visible {
  border-color: var(--warm-gold);
  background: var(--cream);
}

.scenario-buttons button:disabled,
.text-button:disabled {
  opacity: 0.45;
}

.chat-composer {
  display: flex;
  align-items: end;
  gap: 10px;
  margin-top: 18px;
  padding: 8px;
  border: 1px solid rgba(18, 51, 75, 0.2);
  background: var(--white);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.chat-composer:focus-within {
  border-color: var(--warm-gold);
  box-shadow: 0 0 0 3px rgba(185, 141, 95, 0.13);
}

.chat-composer textarea {
  min-height: 42px;
  max-height: 142px;
  flex: 1;
  resize: none;
  border: 0;
  background: transparent;
  color: var(--charcoal);
  font-size: 0.87rem;
  line-height: 1.5;
  outline: 0;
  overflow-y: auto;
}

.chat-composer textarea::placeholder {
  color: #9a938e;
}

.send-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.send-button {
  min-height: 42px;
  padding: 0 13px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.76rem;
}

.send-button:hover:not(:disabled),
.primary-button:hover:not(:disabled) {
  background: var(--warm-gold);
  color: var(--navy-deep);
}

.send-button:disabled,
.primary-button:disabled,
.secondary-button:disabled {
  opacity: 0.42;
}

.composer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.68rem;
}

.text-button {
  flex: 0 0 auto;
  padding: 0;
  text-decoration: underline;
  text-decoration-color: var(--warm-gold-light);
  text-underline-offset: 3px;
}

.text-button:hover:not(:disabled) {
  color: var(--warm-gold);
}

.insight-column {
  display: grid;
  gap: 14px;
}

.insight-card,
.result-card,
.system-card {
  padding: 21px;
}

.insight-number {
  color: var(--warm-gold);
  font-family: var(--serif);
  font-size: 1.12rem;
}

.empty-state {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.65;
}

.summary-list {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 9px 13px;
  margin: 20px 0 0;
}

.summary-term {
  color: var(--muted);
  font-size: 0.69rem;
}

.summary-value {
  color: var(--navy);
  font-size: 0.77rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.result-card {
  border-color: rgba(185, 141, 95, 0.32);
  background: #fffcf8;
}

.result-led {
  width: 9px;
  height: 9px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--warm-gold);
  box-shadow: 0 0 0 4px rgba(185, 141, 95, 0.13);
}

.result-led.is-confirmed {
  background: #357657;
  box-shadow: 0 0 0 4px rgba(53, 118, 87, 0.13);
}

.result-content {
  display: grid;
  gap: 15px;
  margin-top: 18px;
}

.result-block {
  padding-top: 14px;
  border-top: 1px solid rgba(18, 51, 75, 0.11);
}

.result-block:first-child {
  padding-top: 0;
  border-top: 0;
}

.result-block-title {
  margin: 0;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.result-notice,
.result-detail {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.result-notice-success {
  color: #357657;
}

.result-notice-attention {
  padding: 9px 10px;
  border-left: 2px solid var(--warm-gold);
  background: var(--cream);
  color: var(--navy);
}

.result-list {
  display: grid;
  gap: 6px;
  margin: 8px 0 0;
  padding: 0 0 0 17px;
}

.slot-list {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.slot-button {
  padding: 9px 10px;
  border: 1px solid rgba(18, 51, 75, 0.2);
  background: var(--white);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: left;
}

.slot-button:hover,
.slot-button:focus-visible {
  border-color: var(--warm-gold);
  background: var(--cream);
}

.integration-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.integration-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(18, 51, 75, 0.09);
}

.integration-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.integration-list span {
  color: var(--muted);
  font-size: 0.72rem;
}

.integration-list strong {
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  text-align: right;
}

.integration-list strong[data-ready="false"] {
  color: #9b685d;
}

.system-footnote {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.55;
}

.voice-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  align-items: start;
  gap: clamp(30px, 6vw, 88px);
}

.voice-intro {
  padding: 19px 0;
}

.voice-intro h3 {
  max-width: 440px;
  margin-top: 15px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.16;
}

.voice-lead {
  max-width: 520px;
  margin: 23px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.voice-principles {
  display: grid;
  gap: 16px;
  margin-top: 33px;
}

.voice-principles > div {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
}

.voice-principles span {
  color: var(--warm-gold);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.voice-principles p {
  margin: 0;
  color: var(--charcoal);
  font-size: 0.81rem;
}

.voice-card {
  position: relative;
  overflow: hidden;
}

.voice-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--warm-gold), var(--navy));
  content: "";
}

.voice-orb {
  display: grid;
  width: 116px;
  height: 116px;
  margin: 30px auto 18px;
  place-items: center;
  border: 1px solid rgba(185, 141, 95, 0.45);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, rgba(255, 255, 255, 0.95), rgba(244, 234, 224, 0.7) 46%, rgba(185, 141, 95, 0.26));
  box-shadow: 0 0 0 13px rgba(185, 141, 95, 0.07), 0 0 0 26px rgba(185, 141, 95, 0.035);
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.voice-orb span {
  width: 23px;
  height: 31px;
  border: 2px solid var(--navy);
  border-radius: 15px 15px 12px 12px;
}

.voice-orb.is-live {
  box-shadow: 0 0 0 13px rgba(53, 118, 87, 0.1), 0 0 0 26px rgba(53, 118, 87, 0.05);
}

.voice-orb.is-speaking {
  transform: scale(1.04);
  animation: speaking 1.25s infinite ease-in-out;
}

@keyframes speaking {
  0%,
  100% {
    box-shadow: 0 0 0 13px rgba(53, 118, 87, 0.1), 0 0 0 26px rgba(53, 118, 87, 0.05);
  }

  50% {
    box-shadow: 0 0 0 18px rgba(53, 118, 87, 0.11), 0 0 0 36px rgba(53, 118, 87, 0.045);
  }
}

.voice-status {
  min-height: 48px;
  margin: 0 auto;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.55;
  text-align: center;
}

.voice-blocker {
  margin: 13px 0 0;
  padding: 10px 11px;
  border-left: 2px solid #a24d40;
  background: #fff7f4;
  color: #864b40;
  font-size: 0.75rem;
  line-height: 1.55;
}

.voice-consent {
  display: flex;
  align-items: start;
  gap: 9px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.55;
}

.voice-consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--warm-gold);
}

.voice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 19px;
}

.primary-button,
.secondary-button {
  min-height: 44px;
  padding: 0 15px;
  font-size: 0.76rem;
}

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

.secondary-button {
  border: 1px solid rgba(18, 51, 75, 0.2);
  background: var(--white);
  color: var(--navy);
}

.secondary-button:hover:not(:disabled) {
  border-color: var(--warm-gold);
  background: var(--cream);
}

.voice-transcript-wrap {
  margin-top: 24px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.transcript-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.transcript-heading span:last-child {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.voice-transcript {
  display: grid;
  max-height: 210px;
  gap: 9px;
  margin-top: 12px;
  overflow-y: auto;
  scrollbar-color: var(--warm-gold-light) transparent;
  scrollbar-width: thin;
}

.voice-transcript .empty-state {
  margin: 0;
}

.voice-line {
  display: grid;
  grid-template-columns: 67px minmax(0, 1fr);
  gap: 10px;
  margin: 0;
  padding: 7px 0;
  border-bottom: 1px solid rgba(18, 51, 75, 0.08);
  font-size: 0.77rem;
}

.voice-line-role {
  color: var(--warm-gold);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.voice-line-text {
  color: var(--charcoal);
  overflow-wrap: anywhere;
}

.voice-privacy {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.55;
}

.how-section {
  padding-top: clamp(86px, 11vw, 150px);
}

.section-heading.compact {
  align-items: end;
}

.section-note {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
  text-align: right;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-grid article {
  min-height: 202px;
  padding: 24px 25px 27px 0;
}

.process-grid article + article {
  padding-left: 25px;
  border-left: 1px solid var(--line);
}

.process-grid article:last-child {
  padding-right: 0;
}

.process-grid article > span {
  color: var(--warm-gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.process-grid h3 {
  margin-top: 19px;
  font-size: 1.34rem;
}

.process-grid p {
  max-width: 300px;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

.source-section {
  padding-top: clamp(75px, 10vw, 130px);
  padding-bottom: clamp(75px, 10vw, 128px);
}

.source-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.55fr);
  gap: 50px;
  align-items: end;
  padding: clamp(26px, 5vw, 55px);
  background: var(--navy);
  color: var(--white);
}

.source-card h2 {
  max-width: 600px;
  color: var(--white);
}

.source-description {
  max-width: 570px;
  margin: 19px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  line-height: 1.7;
}

.source-caveat {
  max-width: 570px;
  margin: 13px 0 0;
  color: var(--warm-gold-light);
  font-size: 0.73rem;
  line-height: 1.55;
}

.source-links {
  display: grid;
  align-self: end;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.23);
}

.source-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.23);
  color: var(--white);
  font-size: 0.77rem;
  font-weight: 600;
  text-decoration: none;
}

.source-links a span {
  color: var(--warm-gold-light);
  font-size: 1rem;
}

.source-links a:hover {
  color: var(--warm-gold-light);
}

.site-footer {
  padding: 27px 0 max(27px, env(safe-area-inset-bottom));
  background: #f8f7f5;
}

.footer-inner {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 35px;
  color: var(--muted);
  font-size: 0.7rem;
}

.footer-inner p {
  margin: 0;
}

.footer-brand {
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.footer-disclaimer {
  max-width: 370px;
  text-align: right;
}

@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 38px;
  }

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

  .hero-visual {
    max-width: 780px;
  }

  .chat-layout {
    grid-template-columns: 1fr;
  }

  .insight-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .system-card {
    grid-column: 1 / -1;
  }

  .voice-layout {
    grid-template-columns: 1fr;
  }

  .voice-intro {
    max-width: 730px;
  }

  .voice-card {
    width: min(100%, 680px);
    justify-self: end;
  }
}

@media (max-width: 720px) {
  .page-width {
    width: min(100% - 30px, 1220px);
  }

  .topline-inner {
    min-height: 34px;
    font-size: 0.68rem;
  }

  .topline-note {
    display: none;
  }

  .header-main {
    min-height: 94px;
    align-items: start;
    flex-direction: column;
    gap: 13px;
    padding-top: 17px;
    padding-bottom: 16px;
  }

  .brand-logo {
    width: 61px;
    height: 48px;
  }

  .brand-copy strong {
    font-size: 0.78rem;
  }

  .brand-copy span {
    font-size: 0.75rem;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.61rem;
  }

  .site-nav a {
    padding-block: 4px;
  }

  .site-nav a::after {
    bottom: 0;
  }

  .hero {
    padding-top: 45px;
    padding-bottom: 50px;
  }

  .hero h1 {
    margin-top: 14px;
    font-size: clamp(2.24rem, 11vw, 3.35rem);
  }

  .hero-lead {
    font-size: 0.93rem;
    line-height: 1.7;
  }

  .hero-points {
    display: grid;
    gap: 9px;
    margin-top: 25px;
  }

  .hero-visual-frame {
    padding: 6px;
  }

  .visual-stamp {
    right: 14px;
    bottom: 14px;
    padding: 6px 8px;
    font-size: 0.5rem;
  }

  .hero-visual figcaption {
    font-size: 0.68rem;
  }

  .notice-band {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 17px 15px;
  }

  .notice-mark {
    width: 31px;
    height: 31px;
    font-size: 0.9rem;
  }

  .notice-title {
    font-size: 0.77rem;
    line-height: 1.4;
  }

  .notice-copy {
    font-size: 0.69rem;
    line-height: 1.5;
  }

  .demo-badge {
    grid-column: 2;
    justify-self: start;
    font-size: 0.55rem;
  }

  .demo-section {
    padding-top: 68px;
  }

  .section-heading,
  .section-heading.compact {
    display: grid;
    align-items: start;
    gap: 18px;
    margin-bottom: 22px;
  }

  .section-heading h2,
  .how-section h2,
  .source-card h2 {
    font-size: 2rem;
  }

  .runtime-readout {
    justify-self: start;
    padding-left: 0;
    border-left: 0;
    text-align: left;
  }

  .demo-tabs {
    padding: 6px 6px 0;
  }

  .demo-tab {
    min-width: 0;
    flex: 1;
    padding: 14px 9px 13px;
    font-size: 0.7rem;
  }

  .demo-tab::after {
    right: 8px;
    left: 8px;
  }

  .tab-panel {
    padding: 15px;
  }

  .chat-card,
  .voice-card {
    padding: 18px 15px;
  }

  .panel-topline h3,
  .insight-heading h3 {
    font-size: 1.26rem;
  }

  .panel-kicker {
    font-size: 0.59rem;
  }

  .status-chip {
    padding: 6px 7px;
    font-size: 0.54rem;
  }

  .qa-notice {
    margin-top: 17px;
    padding: 10px;
    font-size: 0.69rem;
  }

  .messages {
    min-height: 220px;
    max-height: 360px;
    margin-top: 19px;
  }

  .message {
    max-width: 93%;
    padding: 10px 12px;
    font-size: 0.81rem;
  }

  .scenario-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .scenario-buttons button {
    width: 100%;
    font-size: 0.71rem;
  }

  .chat-composer {
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
  }

  .chat-composer textarea {
    min-height: 48px;
  }

  .send-button {
    width: 100%;
  }

  .composer-foot {
    align-items: start;
    flex-direction: column;
    gap: 5px;
    font-size: 0.64rem;
  }

  .insight-column {
    grid-template-columns: 1fr;
  }

  .system-card {
    grid-column: auto;
  }

  .integration-list li {
    gap: 7px;
  }

  .voice-intro {
    padding: 7px 0 2px;
  }

  .voice-intro h3 {
    font-size: 2rem;
  }

  .voice-lead {
    margin-top: 17px;
    font-size: 0.85rem;
  }

  .voice-principles {
    margin-top: 25px;
  }

  .voice-card {
    width: 100%;
  }

  .voice-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .transcript-heading {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }

  .section-note {
    max-width: 100%;
    font-size: 0.76rem;
    text-align: left;
  }

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

  .process-grid article,
  .process-grid article + article,
  .process-grid article:last-child {
    min-height: 0;
    padding: 23px 0;
    border: 0;
  }

  .process-grid article + article {
    border-top: 1px solid var(--line);
  }

  .process-grid h3 {
    margin-top: 11px;
  }

  .process-grid p {
    max-width: 100%;
  }

  .source-card {
    grid-template-columns: 1fr;
    gap: 27px;
    padding: 27px 20px;
  }

  .source-description {
    margin-top: 15px;
    font-size: 0.77rem;
  }

  .source-caveat {
    font-size: 0.69rem;
  }

  .footer-inner {
    align-items: start;
    flex-direction: column;
    gap: 17px;
  }

  .footer-disclaimer {
    max-width: 100%;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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