:root {
  color-scheme: light;
  --bg: #fbfbff;
  --surface: #ffffff;
  --surface-2: #f4f1ff;
  --text: #101522;
  --muted: #5b6374;
  --line: rgba(105, 69, 255, 0.16);
  --accent: #6f45ff;
  --accent-2: #9e7bff;
  --accent-soft: rgba(111, 69, 255, 0.12);
  --shadow: 0 24px 80px rgba(28, 20, 74, 0.12);
  --radius: 24px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #07070c;
  --surface: #11101a;
  --surface-2: #181326;
  --text: #f6f3ff;
  --muted: #b8b1c8;
  --line: rgba(168, 131, 255, 0.22);
  --accent: #8a5cff;
  --accent-2: #c38aff;
  --accent-soft: rgba(138, 92, 255, 0.18);
  --shadow: 0 30px 120px rgba(105, 45, 180, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  background:
    radial-gradient(circle at 20% 0%, var(--accent-soft), transparent 32rem),
    radial-gradient(circle at 84% 18%, rgba(197, 139, 255, 0.12), transparent 28rem),
    var(--bg);
  color: var(--text);
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 14px 12px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  box-shadow: 0 12px 34px rgba(22, 15, 52, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 132px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.brand .logo-dark {
  display: none;
}

:root[data-theme="dark"] .brand .logo-light {
  display: none;
}

:root[data-theme="dark"] .brand .logo-dark {
  display: block;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 560;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: none;
}

.theme-toggle-item {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #7f8496;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.theme-toggle-item:hover {
  color: var(--text);
}

.theme-toggle-item.is-active {
  background: #e8ecff;
  color: #4e5dff;
  box-shadow: 0 8px 18px rgba(78, 93, 255, 0.16);
}

.theme-icon {
  font-size: 16px;
  line-height: 1;
}

.header-link {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(111, 69, 255, 0.38);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: color-mix(in srgb, var(--surface) 92%, var(--accent) 8%);
  font-size: 14px;
  font-weight: 650;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-link:hover {
  color: var(--accent);
  border-color: rgba(111, 69, 255, 0.58);
  background: color-mix(in srgb, var(--surface) 84%, var(--accent) 16%);
  transform: translateY(-1px);
}

.button,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(111, 69, 255, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(111, 69, 255, 0.34);
}

.button-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.button-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 96px);
  margin: 0 auto;
  padding: clamp(46px, 8vw, 96px) 0 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
  font-weight: 640;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  max-width: 800px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
  font-weight: 620;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.16;
  font-weight: 600;
}

.hero-lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

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

.audience-switch {
  display: inline-flex;
  gap: 6px;
  margin-top: 28px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.audience-tab {
  min-width: 96px;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 620;
}

.audience-tab.is-active {
  background: var(--accent);
  color: #fff;
}

.demo-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 78% 4%, rgba(156, 97, 255, 0.34), transparent 18rem),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, var(--accent) 8%), var(--surface));
  box-shadow: var(--shadow);
}

.demo-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.2;
}

.demo-topbar,
.demo-grid {
  position: relative;
  z-index: 1;
}

.demo-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(128px, auto) 54px;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.demo-session {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  overflow: hidden;
}

.demo-session > div {
  min-width: 0;
  overflow: hidden;
}

.demo-session strong,
.demo-session span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-session img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.demo-session .demo-avatar-dark {
  display: none;
}

:root[data-theme="dark"] .demo-session .demo-avatar-light {
  display: none;
}

:root[data-theme="dark"] .demo-session .demo-avatar-dark {
  display: block;
}

.demo-session strong,
.demo-session span {
  display: block;
}

.demo-session span,
.demo-status,
.panel-title small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 520;
}

.demo-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  min-width: 128px;
  white-space: nowrap;
}

.demo-status {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
  min-width: 0;
}

.demo-status.is-ended {
  margin-left: 0;
}

.demo-status span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 7px rgba(52, 211, 153, 0.14);
  animation: pulse 1.4s ease-in-out infinite;
}

.demo-status.is-ended span {
  background: #9aa0ad;
  box-shadow: none;
  animation: none;
}

.restart-demo {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(111, 69, 255, 0.3);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 88%, var(--accent) 12%);
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
}

.restart-demo:hover {
  border-color: rgba(111, 69, 255, 0.5);
  background: color-mix(in srgb, var(--surface) 80%, var(--accent) 20%);
}

.sound-control {
  display: grid;
  justify-items: center;
  gap: 3px;
  min-width: 50px;
}

.sound-control span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}

.sound-toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 650;
  cursor: pointer;
}

.sound-toggle.is-on {
  color: var(--accent);
  border-color: rgba(111, 69, 255, 0.28);
  box-shadow: 0 10px 22px rgba(111, 69, 255, 0.14);
}

.sound-toggle:not(.is-on) {
  color: #8b90a1;
  background: #f2f3f8;
}

.sound-toggle:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.sound-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}

.sound-toggle .icon-on {
  display: none;
}

.sound-toggle.is-on .icon-muted {
  display: none;
}

.sound-toggle.is-on .icon-on {
  display: block;
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 18px;
}

.transcript-panel,
.scenario-card,
.price-card,
.problem-grid article,
.benefit-grid article,
figure,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 92%, var(--accent) 8%);
}

.transcript-panel {
  position: relative;
  min-height: 560px;
  padding: 16px 16px 22px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  font-weight: 650;
}

.transcript-list {
  display: grid;
  gap: 12px;
  padding-bottom: 8px;
}

.transcript-window {
  height: 404px;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding: 0 4px 16px 0;
}

.line {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--line) 66%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  animation: rise 420ms ease both;
}

.speaker {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
}

.line p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.line.is-typing p::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 1em;
  margin-left: 3px;
  border-radius: 999px;
  background: var(--accent);
  vertical-align: -0.14em;
  animation: blink 0.8s steps(2, start) infinite;
}

.line strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 13px;
}

.summary-toggle-wrap {
  display: flex;
  justify-content: flex-start;
  margin: 12px 0 0;
  padding-left: 6px;
}

.summary-toggle {
  min-height: 36px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ececf4;
  color: #7f8292;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  box-shadow: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.summary-toggle:disabled {
  cursor: not-allowed;
  opacity: 1;
}

.summary-toggle.is-ready {
  border-color: rgba(111, 69, 255, 0.68);
  background: linear-gradient(135deg, #ffffff, rgba(111, 69, 255, 0.1));
  color: var(--accent);
  box-shadow:
    0 10px 24px rgba(111, 69, 255, 0.2),
    0 0 0 0 rgba(111, 69, 255, 0.26);
  animation: summaryReadyPulse 1.8s ease-in-out infinite;
}

.summary-toggle.is-ready:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 14px 30px rgba(111, 69, 255, 0.28),
    0 0 0 5px rgba(111, 69, 255, 0.1);
}

.session-summary {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition: max-height 900ms ease, opacity 500ms ease, transform 500ms ease;
}

.session-summary.is-open {
  max-height: 420px;
  opacity: 1;
  transform: translateY(0);
}

.session-summary ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.session-summary li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.session-summary li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.scenario-card ul,
.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scenario-card li,
.price-card li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}
.scenario-card li::before,
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}

.trust-strip div {
  padding: 18px;
  border-radius: 18px;
  background: var(--surface-2);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 130px) 0 0;
}

.reveal-item {
  --reveal-delay: 0ms;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 760ms ease,
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay);
  will-change: opacity, transform;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .summary-toggle.is-ready {
    animation: none;
  }
}

.split {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 44px;
  align-items: start;
}

.problem-grid,
.scenario-grid,
.benefit-grid,
.quote-grid,
.pricing-grid {
  display: grid;
  gap: 16px;
}

.problem-grid {
  grid-template-columns: repeat(2, 1fr);
}

.problem-grid article,
.scenario-card,
.price-card,
.benefit-grid article,
figure {
  padding: clamp(20px, 3vw, 28px);
}

.problem-grid span,
.card-index {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent);
  font-weight: 650;
}

.problem-grid p,
.scenario-card p,
.benefit-grid p,
.price-card p,
figure blockquote,
.faq-list p {
  color: var(--muted);
  line-height: 1.55;
}

.section-heading {
  display: grid;
  gap: 0;
  margin-bottom: 32px;
}

.section-heading.compact {
  max-width: 680px;
}

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

.scenario-card {
  min-height: 360px;
}

.scenario-card.featured {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.24), transparent 13rem),
    linear-gradient(135deg, var(--accent), #32115f);
  color: #fff;
}

.scenario-card.featured p,
.scenario-card.featured li,
.scenario-card.featured .card-index {
  color: rgba(255, 255, 255, 0.82);
}

.benefit-grid {
  grid-template-columns: repeat(4, 1fr);
}

.benefit-grid article span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border: 1px solid rgba(111, 69, 255, 0.2);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(111, 69, 255, 0.18), rgba(156, 97, 255, 0.1)),
    var(--surface);
  color: #fff;
}

.benefit-grid article span svg {
  width: 25px;
  height: 25px;
  display: block;
  color: var(--accent);
}

.quote-grid {
  grid-template-columns: repeat(2, 1fr);
}

figure {
  margin: 0;
}

blockquote {
  margin: 0;
  font-size: 20px;
}

figcaption {
  margin-top: 18px;
  color: var(--accent);
  font-weight: 650;
}

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

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  gap: 16px;
}

.price-card.highlight {
  border-color: color-mix(in srgb, var(--accent) 72%, var(--line));
  box-shadow: var(--shadow);
  transform: none;
}

.pricing-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  line-height: 1;
  white-space: nowrap;
}

.price-row del {
  color: var(--muted);
  font-size: 24px;
  font-weight: 650;
}

.price-row strong {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
}

.price-card > span {
  margin-top: -12px;
  color: var(--muted);
}

.price-card .button {
  margin-top: auto;
}

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

.faq-list details {
  padding: 20px 24px;
}

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

.faq-list p {
  margin: 14px 0 0;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  padding: 30px 0 42px;
  color: var(--muted);
  font-size: 14px;
}

.footer-brand,
.footer-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand {
  gap: 24px;
}

.footer-brand span:first-child {
  color: var(--text);
  font-weight: 650;
}

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

.footer .theme-toggle {
  margin-left: 8px;
  margin-right: 0;
  padding: 5px;
  border: 1px solid rgba(111, 69, 255, 0.2);
  background: color-mix(in srgb, var(--surface) 92%, var(--accent) 8%);
  box-shadow: none;
  gap: 4px;
}

.footer .theme-toggle-item {
  width: 34px;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #8a8fa1;
}

.footer .theme-toggle-item.is-active {
  background: rgba(111, 69, 255, 0.1);
  border: 1px solid rgba(111, 69, 255, 0.22);
  color: var(--accent);
  box-shadow: none;
}

.footer .theme-toggle-item:hover {
  color: var(--text);
}

.footer .theme-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cookie-notice {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(940px, calc(100% - 32px));
  padding: 16px 16px 16px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  box-shadow: 0 18px 54px rgba(22, 15, 52, 0.16);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.cookie-notice a {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 62%, transparent);
  text-underline-offset: 3px;
}

.cookie-notice button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(111, 69, 255, 0.22);
}

.legal-main {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 128px 0 clamp(36px, 6vw, 72px);
}

.legal-hero {
  padding: clamp(44px, 7vw, 76px) clamp(22px, 4vw, 46px) 34px;
  border-radius: 28px 28px 0 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(111, 69, 255, 0.1), transparent 34%),
    color-mix(in srgb, var(--surface) 94%, var(--accent) 6%);
}

.legal-hero h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 78px);
}

.legal-lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.legal-card {
  margin: 0;
  padding: clamp(26px, 4vw, 42px) clamp(22px, 4vw, 46px);
  border: 0;
  border-top: 1px solid color-mix(in srgb, var(--line) 62%, transparent);
  border-radius: 0;
  background: color-mix(in srgb, var(--surface) 94%, var(--accent) 6%);
  box-shadow: none;
}

.legal-card:last-of-type {
  border-radius: 0 0 28px 28px;
}

.legal-card h2 {
  margin: 0 0 16px;
  font-size: clamp(24px, 3vw, 34px);
}

.legal-card h3 {
  margin: 24px 0 10px;
  font-size: 20px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.legal-card p {
  margin: 0 0 14px;
}

.legal-card ul {
  margin: 0;
  padding-left: 20px;
}

.legal-card li + li {
  margin-top: 8px;
}

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

.legal-meta div {
  padding: 16px;
  border: 0;
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 88%, var(--accent) 12%);
}

.legal-meta span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
}

.legal-meta strong {
  color: var(--text);
}

.legal-note {
  background: color-mix(in srgb, var(--surface) 94%, var(--accent) 6%);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 7px rgba(52, 211, 153, 0.14);
  }
  50% {
    transform: scale(1.16);
    box-shadow: 0 0 0 10px rgba(52, 211, 153, 0.08);
  }
}

@keyframes summaryReadyPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow:
      0 10px 24px rgba(111, 69, 255, 0.2),
      0 0 0 0 rgba(111, 69, 255, 0.24);
  }
  50% {
    transform: translateY(-2px) scale(1.025);
    box-shadow:
      0 14px 28px rgba(111, 69, 255, 0.26),
      0 0 0 6px rgba(111, 69, 255, 0);
  }
}

@media (max-width: 1100px) and (min-width: 900px) {
  h1 {
    font-size: clamp(42px, 4.7vw, 52px);
  }

  .hero-lead {
    font-size: 18px;
  }
}

@media (max-width: 899px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  body.menu-open .nav,
  body.menu-open .header-actions {
    position: fixed;
    left: 16px;
    right: 16px;
    z-index: 60;
    display: flex;
    background: var(--surface);
    border: 1px solid var(--line);
  }

  body.menu-open .nav {
    top: 90px;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 22px 22px 0 0;
  }

  body.menu-open .header-actions {
    top: 276px;
    flex-direction: column;
    padding: 18px;
    border-radius: 0 0 22px 22px;
    border-top: 0;
  }

  body.menu-open .header-actions > * {
    width: 100%;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .demo-grid,
  .problem-grid,
  .scenario-grid,
  .benefit-grid,
  .quote-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .price-card.highlight {
    transform: none;
  }

}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .section,
  .trust-strip,
  .legal-main,
  .footer {
    width: min(100% - 24px, 1180px);
  }

  .footer .theme-toggle {
    margin-left: 0;
    margin-right: 0;
  }

  .legal-main {
    padding-top: 108px;
  }

  .legal-meta {
    grid-template-columns: 1fr;
  }

  .brand {
    width: 112px;
  }

  .hero {
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .hero-actions,
  .audience-switch {
    width: 100%;
  }

  .hero-actions .button,
  .audience-tab {
    flex: 1;
  }

  .demo-topbar {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
  }

  .demo-controls {
    justify-content: flex-start;
    min-width: 0;
    width: 100%;
  }

  .transcript-panel {
    min-height: auto;
  }

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

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

  .footer-nav {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .cookie-notice {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    bottom: 14px;
    padding: 16px;
  }

  .cookie-notice button {
    width: 100%;
  }
}
