@charset "UTF-8";
/* MaxTalk website: same visual language as maxcap.cc (ink, blue, paper, soft cards). */
:root {
  --ink: #182131;
  --muted: #727986;
  --faint: #a2a8b3;
  --blue: #2672ed;
  --violet: #7a3cff;
  --line: #e6e9ef;
  --paper: #f8f9fc;
  --radius: 22px;
  --brand: linear-gradient(135deg, #2672ed 0%, #7a3cff 100%);
  font-family: 'Avenir Next', 'PingFang SC', 'Noto Sans CJK SC', sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  font-weight: 400;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
svg.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.wrap {
  max-width: 1160px;
  width: calc(100% - 96px);
  margin-inline: auto;
}
.skip {
  position: fixed;
  top: -80px;
  left: 20px;
  padding: 14px;
  background: var(--ink);
  color: #fff;
  z-index: 100;
}
.skip:focus {
  top: 12px;
}

/* ---- header ---- */
.header {
  height: 88px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(230, 233, 239, 0.6);
  backdrop-filter: blur(18px);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.8px;
}
.brand img {
  border-radius: 9px;
}
.beta {
  font-size: 9px;
  letter-spacing: 1px;
  border: 1px solid #dce2eb;
  color: #767f8c;
  border-radius: 5px;
  padding: 4px 6px;
  margin-left: 3px;
}
.nav-end {
  display: flex;
  align-items: center;
  gap: 20px;
}
nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  font-weight: 500;
}
nav > a:hover,
.text-link:hover,
.footer a:hover,
.prose a:hover {
  color: var(--blue);
}
.nav-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}
.nav-download:hover {
  background: var(--blue);
  color: #fff !important;
}
.nav-download .icon {
  width: 16px;
  height: 16px;
}
.lang-switch {
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
}
.lang-switch:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 10px;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s;
}
.menu-toggle span:first-child {
  top: 15px;
}
.menu-toggle span:last-child {
  top: 23px;
}
.menu-toggle[aria-expanded='true'] span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.menu-toggle[aria-expanded='true'] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ---- hero ---- */
.hero {
  padding: 76px 0 40px;
}
.hero-top {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: end;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 1.6px;
  color: var(--muted);
  margin-bottom: 22px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(38, 114, 237, 0.15);
}
h1 {
  font-size: clamp(44px, 6.2vw, 78px);
  line-height: 1.04;
  letter-spacing: -2.6px;
  font-weight: 700;
}
.blue {
  color: var(--blue);
  position: relative;
  white-space: nowrap;
}
.blue::after {
  content: '';
  position: absolute;
  left: 2%;
  right: 4%;
  bottom: -0.08em;
  height: 0.09em;
  border-radius: 99px;
  background: var(--brand);
  opacity: 0.55;
}
.hero-copy p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
}
.actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 30px 0 22px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  border: 0;
}
.button.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(38, 114, 237, 0.28);
}
.button.primary:hover {
  background: #1d62d6;
}
.button .icon {
  width: 18px;
  height: 18px;
}
.text-link {
  font-size: 14px;
  font-weight: 600;
}
.text-link span {
  font-size: 18px;
}
.platform {
  font-size: 12px !important;
  color: var(--faint) !important;
  letter-spacing: 0.3px;
}
.platform span {
  margin: 0 6px;
}
.desktop-break {
  display: inline;
}

/* ---- showcase (interactive demo) ---- */
.showcase {
  margin-top: 64px;
  border-radius: 28px;
  background: linear-gradient(180deg, #f2f6ff 0%, #f8f9fc 100%);
  border: 1px solid #e3eaf8;
  padding: 22px 26px 26px;
}
.demo-topline {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}
.demo-topline > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mini-mark {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 11px;
}
.scene {
  position: relative;
  height: 470px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(1200px 400px at 15% -10%, rgba(122, 60, 255, 0.12), transparent 60%),
    radial-gradient(900px 400px at 100% 110%, rgba(38, 114, 237, 0.14), transparent 60%), #eef1f7;
}
.window {
  position: absolute;
  left: 7%;
  top: 34px;
  width: 64%;
  bottom: 34px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(24, 33, 49, 0.14);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.window-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.traffic {
  display: flex;
  gap: 6px;
}
.traffic i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}
.traffic i:nth-child(2) {
  background: #febc2e;
}
.traffic i:nth-child(3) {
  background: #28c840;
}
.window-body {
  position: relative;
  flex: 1;
}
/* Each demo mode shows one app scene. */
.app {
  position: absolute;
  inset: 0;
  padding: 22px 26px;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.35s,
    transform 0.35s;
  pointer-events: none;
}
.showcase[data-mode='dictate'] .app-chat,
.showcase[data-mode='transform'] .app-doc,
.showcase[data-mode='ask'] .app-doc,
.showcase[data-mode='act'] .app-chat {
  opacity: 1;
  transform: none;
}
.bubble {
  max-width: 72%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  background: #f1f3f7;
  margin-bottom: 12px;
}
.bubble.me {
  margin-left: auto;
  background: #e5efff;
}
.bubble small {
  display: block;
  font-size: 11px;
  color: var(--faint);
  margin-bottom: 2px;
}
.composer {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 22px;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--faint);
}
.composer .typed {
  color: var(--ink);
  display: none;
}
.showcase[data-mode='dictate'] .composer .typed {
  display: inline;
}
.showcase[data-mode='dictate'] .composer .placeholder {
  display: none;
}
.caret {
  display: inline-block;
  width: 1.5px;
  height: 16px;
  background: var(--blue);
  vertical-align: -3px;
  margin-left: 1px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.app-doc {
  padding-right: 22%;
}
/* The window title follows the app in front. */
.title-doc,
.showcase[data-mode='transform'] .title-chat,
.showcase[data-mode='ask'] .title-chat {
  display: none;
}
.showcase[data-mode='transform'] .title-doc,
.showcase[data-mode='ask'] .title-doc {
  display: inline;
}
.doc h3 {
  font-size: 20px;
  margin-bottom: 14px;
  letter-spacing: -0.4px;
}
.doc p {
  font-size: 14px;
  line-height: 1.8;
  color: #4a5262;
  margin-bottom: 10px;
}
.doc mark {
  background: rgba(38, 114, 237, 0.18);
  color: var(--ink);
  border-radius: 3px;
  padding: 1px 0;
}
.showcase[data-mode='ask'] .doc mark {
  background: transparent;
}

/* The MaxTalk HUD: the capsule and its card, over whatever app is in front. */
.hud {
  position: absolute;
  right: 5%;
  width: 34%;
  min-width: 250px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px);
  box-shadow:
    0 18px 50px rgba(24, 33, 49, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  padding: 16px 18px;
  font-size: 13px;
  transition:
    top 0.45s,
    opacity 0.35s;
}
.pill {
  top: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.rec {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff3b30;
  box-shadow: 0 0 0 5px rgba(255, 59, 48, 0.15);
  flex: none;
}
.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 22px;
  flex: 1;
}
.wave i {
  width: 3px;
  height: 100%;
  border-radius: 3px;
  background: var(--ink);
  opacity: 0.8;
  transform-origin: center;
  animation: wave 1.1s ease-in-out infinite;
}
.wave i:nth-child(odd) {
  animation-delay: -0.4s;
}
.wave i:nth-child(3n) {
  animation-delay: -0.7s;
}
@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.25);
  }
  50% {
    transform: scaleY(1);
  }
}
.timer {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-weight: 600;
}
.chip {
  flex: none;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 650;
  padding: 4px 9px;
  border-radius: 99px;
  background: rgba(24, 33, 49, 0.07);
}
.heard {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.5;
}
.card {
  top: 128px;
  opacity: 0;
}
.showcase[data-mode='transform'] .card-transform,
.showcase[data-mode='ask'] .card-ask,
.showcase[data-mode='act'] .card-act {
  opacity: 1;
}
.card header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  margin-bottom: 8px;
}
.card header i {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #fff;
  font-style: normal;
  font-size: 12px;
  background: var(--brand);
}
.card .said {
  border-left: 2px solid var(--line);
  padding-left: 9px;
  color: var(--muted);
  margin-bottom: 8px;
}
.card .out {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.card .fields {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
  color: #4a5262;
}
.card .buttons {
  display: flex;
  gap: 8px;
}
.card .buttons span {
  padding: 7px 12px;
  border-radius: 99px;
  background: rgba(24, 33, 49, 0.07);
  font-weight: 600;
  font-size: 12px;
}
.card .buttons span:first-child {
  background: var(--blue);
  color: #fff;
}
.showcase[data-mode='dictate'] .pill {
  top: 40px;
}
.done-tag {
  position: absolute;
  right: 5%;
  bottom: 40px;
  padding: 10px 16px;
  border-radius: 99px;
  background: rgba(24, 33, 49, 0.86);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.35s;
}
.showcase[data-mode='dictate'] .done-tag {
  opacity: 1;
}
.key-hint {
  position: absolute;
  left: 7%;
  bottom: 8px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
kbd {
  font-family: inherit;
  font-size: 11px;
  font-weight: 650;
  padding: 3px 7px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 var(--line);
}
.demo-controls {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.demo-controls button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}
.demo-controls button span {
  font-size: 11px;
  color: var(--faint);
}
.demo-controls button[aria-selected='true'] {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 6px 16px rgba(38, 114, 237, 0.14);
}
.demo-description {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  min-height: 22px;
}

/* ---- trust strip ---- */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 46px auto 0;
  font-size: 13px;
  font-weight: 600;
}
.trust div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3b4352;
}
.trust .icon {
  color: var(--blue);
}

/* ---- sections ---- */
.section {
  padding: 120px 0 0;
}
.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.kicker {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 1.6px;
  color: var(--blue);
  margin-bottom: 18px;
}
h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.12;
  letter-spacing: -1.6px;
  font-weight: 700;
}
.section-head p {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}
.feature {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.feature:nth-child(even) .feature-art {
  order: -1;
}
.feature .number {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 1.2px;
  color: var(--faint);
  margin-bottom: 16px;
}
.feature h3 {
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}
.feature p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}
.feature ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: #3b4352;
}
.feature li {
  display: flex;
  gap: 8px;
}
.feature li .icon {
  width: 18px;
  height: 18px;
  color: var(--blue);
  margin-top: 1px;
}
.feature-art {
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.keycap-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}
.keycap {
  min-width: 64px;
  height: 52px;
  padding: 0 12px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 650;
  background: linear-gradient(180deg, #fff, #f1f3f7);
  border: 1px solid #d9dee8;
  box-shadow: 0 3px 0 #d9dee8;
}
.keycap-row strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}
.keycap-row span {
  font-size: 13px;
  color: var(--muted);
}
.meter {
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}
.meter-head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.meter-head span {
  color: var(--muted);
  font-weight: 500;
}
.bar {
  height: 8px;
  border-radius: 99px;
  background: #edf0f5;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--brand);
}
.offline {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.offline span,
.providers span {
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 99px;
  background: #fff;
  border: 1px solid var(--line);
}
.action-list {
  display: grid;
  gap: 10px;
}
.action-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14px;
}
.action-list b {
  font-weight: 600;
}
.action-list em {
  margin-left: auto;
  font-style: normal;
  font-size: 11px;
  font-weight: 650;
  padding: 4px 8px;
  border-radius: 99px;
  background: rgba(38, 114, 237, 0.1);
  color: var(--blue);
}
.action-list em.ask {
  background: rgba(255, 149, 0, 0.12);
  color: #b56400;
}
.providers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.flow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}
.flow i {
  font-style: normal;
  color: var(--faint);
}

/* ---- use cases ---- */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.case {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 28px;
  background: #fff;
}
.case .num {
  font-size: 12px;
  color: var(--faint);
  font-weight: 650;
  margin-bottom: 18px;
}
.case h3 {
  font-size: 20px;
  margin-bottom: 12px;
  letter-spacing: -0.4px;
}
.case p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}
.case .say {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--paper);
  font-size: 13px;
  color: #3b4352;
}

/* ---- FAQ ---- */
.faq {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-list summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: '+';
  font-size: 20px;
  color: var(--muted);
  transition: transform 0.2s;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list details p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.faq-list a,
.prose a {
  color: var(--blue);
}

/* ---- download ---- */
.download {
  margin: 120px auto 0;
  border-radius: 32px;
  padding: 72px 48px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(800px 300px at 20% 0%, rgba(122, 60, 255, 0.55), transparent 60%),
    radial-gradient(700px 300px at 90% 100%, rgba(38, 114, 237, 0.6), transparent 60%), #141b2b;
}
.download .kicker {
  color: #9fc0ff;
}
.download h2 {
  color: #fff;
}
.download > p {
  margin: 18px auto 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.7;
}
.download .button.primary {
  margin-top: 34px;
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}
.download .button.primary:hover {
  background: #e8efff;
}
.download-meta {
  margin-top: 16px !important;
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.6) !important;
}
.download-note {
  margin-top: 8px !important;
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.5) !important;
}
.download-note a {
  color: #9fc0ff;
}

/* ---- footer ---- */
.footer {
  padding: 56px 0 48px;
  margin-top: 80px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer nav {
  gap: 22px;
  font-size: 13px;
}

/* ---- simple pages (install guide, privacy) ---- */
.page {
  padding: 72px 0 0;
}
.prose {
  max-width: 760px;
}
.prose h1 {
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -1.8px;
  margin-bottom: 18px;
}
.prose .lead {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 40px;
}
.prose h2 {
  font-size: 24px;
  letter-spacing: -0.5px;
  margin: 48px 0 14px;
}
.prose p,
.prose li {
  font-size: 15px;
  line-height: 1.85;
  color: #3b4352;
}
.prose p + p {
  margin-top: 12px;
}
.prose ol,
.prose ul {
  padding-left: 22px;
  display: grid;
  gap: 8px;
}
.prose .note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 14px;
}
.code {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #141b2b;
  color: #e8edf7;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 13px;
  overflow-x: auto;
}
.code code {
  flex: 1;
  white-space: pre;
}
.code button {
  flex: none;
  border: 0;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ---- responsive ---- */
@media (max-width: 1024px) {
  .hero-top,
  .feature,
  .faq {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .feature:nth-child(even) .feature-art {
    order: 0;
  }
  .window {
    width: 86%;
    left: 7%;
  }
  .hud {
    right: 4%;
    width: 52%;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .header {
    height: 68px;
  }
  .menu-toggle {
    display: block;
  }
  #navigation {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
    display: none;
  }
  #navigation.is-open {
    display: flex;
  }
  #navigation > a {
    padding: 14px 0;
    width: 100%;
    font-size: 16px;
  }
  .nav-download {
    margin-top: 10px;
    justify-content: center;
  }
  .hero {
    padding-top: 44px;
  }
  .desktop-break {
    display: none;
  }
  .showcase {
    padding: 16px;
  }
  .scene {
    height: 520px;
  }
  .window {
    left: 4%;
    width: 92%;
    top: 20px;
    bottom: 150px;
  }
  .hud {
    left: 6%;
    right: 6%;
    width: auto;
    min-width: 0;
  }
  .app-doc {
    padding-right: 26px;
  }
  .pill {
    top: auto;
    bottom: 20px;
  }
  .showcase[data-mode='dictate'] .pill {
    top: auto;
  }
  .card {
    top: auto;
    bottom: 20px;
  }
  .showcase:not([data-mode='dictate']) .pill {
    opacity: 0;
  }
  .done-tag {
    bottom: 88px;
  }
  .key-hint {
    display: none;
  }
  .demo-controls,
  .trust {
    grid-template-columns: 1fr 1fr;
  }
  .cases {
    grid-template-columns: 1fr;
  }
  .section {
    padding-top: 88px;
  }
  .download {
    padding: 52px 22px;
    border-radius: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
