:root {
  --surface: #151d20;
  --line: #2b363a;
  --muted: #aab6b7;
  --mint: #bcebd5;
  background: #101618;
}

.shell { width: min(1200px, calc(100% - 96px)); }
.masthead { background: #101618; }
.nav { min-height: 76px; }
.nav .brand img { width: 136px; height: auto; }
.nav-cta.button { min-height: 40px; }
.product-nav { gap: 24px; }
.hero { background: #101618; }
.hero-grid { display: block; max-width: 1080px; padding: 56px 0 0; }
.hero-copy { text-align: center; }
.hero h1, html[lang="en"] .hero h1 { margin: 0; font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: 1.08; font-weight: 600; }
.hero h1 span { display: inline; }
.hero-summary { max-width: 40rem; margin: 16px auto 0; }
.actions { justify-content: center; margin-top: 24px; }
.hero-frame { margin: 36px auto 0; padding: 0; overflow: hidden; border-radius: 16px 16px 0 0; border-bottom: 0; background: #151d20; }
.hero-frame .demo-switch { padding: 8px 16px; margin: 0; border-bottom: 1px solid var(--line); }
.hero-frame .demo-image { aspect-ratio: 1600 / 750; border-radius: 0; }
.hero-frame .demo-image img { bottom: auto; top: 0; }
#login-demo .demo-image img { top: auto; bottom: 0; }

.leaders-section, .api-section, .product-showcase { padding-block: clamp(44px, 7vw, 84px); }
.leaders-heading { align-items: center; margin-bottom: 24px; }
.leaders-heading h2, .showcase-navigation h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); letter-spacing: -.025em; }
.market-entry { flex-shrink: 0; }
.market-note { margin-top: 16px; color: var(--muted); font-size: .92rem; }
.leader-grid { gap: 12px; }
.leader-card { padding: 20px; border-color: var(--line); border-radius: 12px; background: #151d20; }
.leader-card:focus-within, .leader-card:hover { border-color: #6c8c80; }
.leader-grade { border-color: var(--line); }
.leader-tags span { padding: 2px 6px; background: #20292c; }
.leader-link { color: var(--mint); background: #1e2a29; }
.api-section { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 32px; }
.api-flow { background: transparent; }
.product-showcase { display: block; }
.showcase-navigation { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.showcase-navigation h2 { margin: 0; }
.showcase-navigation .demo-switch { display: flex; }
.showcase-stage { border-radius: 12px; padding: 16px; }
.showcase-stage figure { height: clamp(280px, 47vw, 560px); }
.download-section { background: #1b2927; border-radius: 12px; }
.download-copy > .kicker { display: none; }
.download-copy h2 { margin-top: 0; }
.news-section { padding-bottom: 56px; }
footer { background: #101618; }

.help-launcher { width: 52px; height: 52px; justify-content: center; padding: 0; border-radius: 50%; }
.help-launcher > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.help-dialog { width: min(392px, calc(100% - 32px)); background: #151d20; border-radius: 16px; border-color: #425351; }
.help-dialog header { min-height: 60px; padding-inline: 16px; }
.help-dialog header h2 { font-size: 1rem; }
.help-dialog header .chat-mark { color: #bcebd5; }
.help-close { background: transparent; color: var(--muted); }
.help-messages { min-height: min(224px, 32dvh); gap: 8px; }
.help-message { border-radius: 12px; padding: 10px 12px; background: #202a2d; }
.help-message.question { background: #29443c; }
.help-topics { gap: 6px; }
.help-topics button { border-color: var(--line); background: transparent; }
.help-form { gap: 8px; }
.help-account-note { padding-top: 8px; }
.help-account-note a { margin-left: 0; color: var(--muted); }

@media (max-width: 1040px) {
  .shell { width: calc(100% - 56px); }
}
@media (max-width: 820px) {
  .nav { min-height: 64px; }
  .api-section { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 40px; }
  .hero-frame { margin-top: 24px; }
  .hero-frame .demo-image { aspect-ratio: 1600 / 1050; }
}
@media (max-width: 570px) {
  .shell { width: calc(100% - 32px); }
  .nav .brand img { width: 104px; }
  .nav-actions { gap: 12px; }
  .hero h1 span { display: block; }
  .hero h1, html[lang="en"] .hero h1 { font-size: clamp(2.25rem, 9vw, 3rem); }
  .hero-summary { font-size: .95rem; }
  .leaders-heading { align-items: start; }
  .leader-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .leader-card { padding: 12px; }
  .leader-identity h3, .leader-link { font-size: .8rem; }
  .leader-metrics { font-size: .7rem; }
  .leader-identity { gap: 4px; }
  .leader-avatar { flex-basis: 24px; height: 24px; }
  .leader-grade { padding: 0 4px; }
  .showcase-navigation .demo-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .showcase-stage { padding: 8px; }
  .showcase-stage figure { height: clamp(220px, 65vw, 300px); }
}
