:root {
  --ink: #101114;
  --ink-soft: #17191f;
  --paper: #f2f1ed;
  --paper-bright: #fbfbf8;
  --white: #ffffff;
  --muted: #686b73;
  --line: #d9d7d0;
  --cyan: #20d4ff;
  --violet: #b56aff;
  --coral: #ff6559;
  --lime: #c8ff4d;
  --demo-accent: #20d4ff;
  --page: min(1180px, calc(100% - 48px));
  --shadow: 0 28px 80px rgba(9, 10, 14, 0.16);
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

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

button {
  color: inherit;
  font: inherit;
}

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

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

.page-shell {
  width: var(--page);
  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: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 11px 15px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  width: 100%;
  border-bottom: 1px solid rgba(16, 17, 20, 0.08);
  background: rgba(251, 251, 248, 0.88);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: var(--page);
  height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

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

.brand img,
.footer-brand img {
  width: 102px;
  height: auto;
}

.brand > span,
.footer-brand > span {
  width: 1px;
  height: 22px;
  background: #c6c5bf;
}

.brand strong,
.footer-brand strong {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
}

.desktop-nav a {
  position: relative;
  padding-block: 8px;
}

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

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.lang-option {
  opacity: 0.34;
  transition: opacity 180ms ease;
}

.lang-option.is-active {
  opacity: 1;
}

.toggle-track {
  position: relative;
  width: 34px;
  height: 18px;
  border: 1px solid #c8c6c0;
  border-radius: 20px;
  background: #e8e6df;
}

.toggle-track i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform 220ms ease;
}

html[lang="zh-CN"] .toggle-track i {
  transform: translateX(16px);
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-small {
  min-height: 40px;
  padding-inline: 17px;
  font-size: 12px;
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-dark:hover {
  box-shadow: 0 12px 25px rgba(16, 17, 20, 0.18);
}

.button-accent {
  color: var(--ink);
  background: var(--cyan);
  box-shadow: 0 12px 30px rgba(32, 212, 255, 0.2);
}

.button-accent:hover {
  box-shadow: 0 16px 36px rgba(32, 212, 255, 0.28);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.04);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
}

.menu-button,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 910px;
  padding-top: 76px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 34%, rgba(68, 63, 131, 0.34), transparent 34%),
    radial-gradient(circle at 15% 88%, rgba(32, 212, 255, 0.1), transparent 27%),
    #101114;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -100px;
  top: 132px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 75px rgba(255, 255, 255, 0.025),
    0 0 0 150px rgba(255, 255, 255, 0.018);
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 720px;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  align-items: center;
  gap: 86px;
  padding-block: 70px 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #a8eefe;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow > span:first-child {
  width: 8px;
  height: 8px;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  background: var(--cyan);
}

.eyebrow-dark {
  color: #248ba4;
}

.hero h1,
.section-heading h2,
.flow-heading h2,
.integration-copy h2,
.closing-inner h2 {
  margin: 20px 0 0;
  font-weight: 680;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(60px, 6.3vw, 92px);
}

h1 em,
h2 em {
  color: var(--cyan);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-lede {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.live-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(200, 255, 77, 0.08);
}

.hero-visual {
  position: relative;
  width: min(100%, 560px);
  justify-self: end;
}

.hero-aura {
  position: absolute;
  inset: 12% 4%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(32, 212, 255, 0.4), rgba(181, 106, 255, 0.5));
  filter: blur(80px);
}

.hero-image-wrap {
  position: relative;
  width: 74%;
  margin-inline: auto;
  overflow: hidden;
  transform: rotate(2.5deg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
}

.hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 55%, rgba(4, 4, 8, 0.56));
}

.hero-image-wrap img {
  width: 100%;
  height: 570px;
  object-fit: cover;
}

.hero-glass {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(10, 10, 14, 0.62);
  backdrop-filter: blur(14px);
}

.hero-glass small,
.metric-chip small {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero-glass strong {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
}

.hero-glass strong i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

.hero-glass > span {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  font-size: 9px;
  font-weight: 800;
}

.metric-chip {
  position: absolute;
  z-index: 4;
  min-width: 170px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(29, 30, 38, 0.84);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.metric-chip strong {
  font-size: 18px;
}

.metric-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--cyan);
  font-size: 17px;
}

.metric-top {
  top: 15%;
  right: -3%;
}

.metric-bottom {
  bottom: 16%;
  left: -4%;
}

.metric-bottom strong {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.metric-bottom strong b {
  color: var(--lime);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.pulse-ring {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(200, 255, 77, 0.28);
  border-radius: 50%;
  box-shadow: inset 0 0 0 7px rgba(200, 255, 77, 0.06);
}

.signal-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.18);
}

.signal-grid {
  min-height: 112px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.signal-grid > div {
  min-height: 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-inline: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.signal-grid > div:first-child {
  padding-left: 0;
}

.signal-grid > div:last-child {
  border: 0;
}

.signal-grid strong {
  font-size: 18px;
  letter-spacing: -0.03em;
}

.signal-grid span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 10px;
  font-weight: 650;
}

.section {
  padding-block: 126px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.05fr 0.78fr;
  align-items: end;
  gap: 100px;
}

.section-heading h2,
.flow-heading h2,
.integration-copy h2,
.closing-inner h2 {
  font-size: clamp(46px, 5.3vw, 72px);
}

.section-heading > p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.placement-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.placement-tab {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background 180ms ease;
}

.placement-tab:last-child {
  border-right: 0;
}

.placement-tab:hover,
.placement-tab.is-active {
  background: var(--paper-bright);
}

.placement-tab > span:first-child {
  color: #a2a19b;
  font-size: 10px;
  font-weight: 800;
}

.placement-tab > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.placement-tab strong {
  font-size: 14px;
}

.placement-tab small {
  color: var(--muted);
  font-size: 10px;
}

.placement-tab.is-active {
  box-shadow: inset 0 -3px 0 var(--ink);
}

.placement-tab.is-active > span:first-child {
  color: #248ba4;
}

.demo-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, 0.65fr);
  gap: 18px;
  margin-top: 24px;
}

.browser-preview,
.control-panel {
  border: 1px solid var(--line);
  background: var(--paper-bright);
}

.browser-preview {
  min-width: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.browser-bar {
  height: 48px;
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  align-items: center;
  padding-inline: 16px;
  border-bottom: 1px solid var(--line);
  background: #ebe9e2;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c4c1b8;
}

.address-bar {
  justify-self: center;
  min-width: 280px;
  padding: 7px 18px;
  border: 1px solid #d4d1c8;
  border-radius: 7px;
  color: #85837d;
  background: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  text-align: center;
}

.browser-more {
  justify-self: end;
  color: #94918b;
  letter-spacing: 0.1em;
}

.publisher-page {
  min-height: 760px;
  background:
    linear-gradient(90deg, rgba(16, 17, 20, 0.026) 1px, transparent 1px),
    #fafaf7;
  background-size: 54px 54px;
}

.publisher-header {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 27px;
  border-bottom: 1px solid #dfddd6;
  background: rgba(250, 250, 247, 0.94);
}

.publisher-header > button {
  width: 28px;
  display: grid;
  gap: 5px;
  padding: 6px 0;
  border: 0;
  background: transparent;
}

.publisher-header > button span {
  width: 18px;
  height: 1px;
  display: block;
  background: var(--ink);
}

.publisher-header > a {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.publisher-header > a span {
  margin-left: 2px;
  color: #f04f3f;
  font-size: 10px;
}

.publisher-header nav {
  display: flex;
  align-items: center;
  gap: 19px;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.publisher-header nav b {
  padding: 7px 10px;
  color: var(--white);
  background: var(--ink);
}

.publisher-article {
  width: min(630px, calc(100% - 56px));
  margin-inline: auto;
  padding-block: 48px 72px;
}

.article-kicker {
  margin: 0;
  color: #f04f3f;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.publisher-article > h3 {
  margin: 13px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.article-deck {
  max-width: 530px;
  margin: 17px 0 0;
  color: #68675f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1.55;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.article-byline > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #2a2c33;
  font-size: 8px;
  font-weight: 800;
}

.article-byline p {
  margin: 0;
  font-size: 8px;
  font-weight: 750;
  line-height: 1.4;
}

.article-byline small {
  color: #88867f;
  font-size: 7px;
  font-weight: 500;
}

.player-shell {
  position: relative;
  margin-top: 28px;
  transition:
    width 260ms ease,
    transform 260ms ease;
}

.visual-player {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  color: var(--white);
  background: #11131a;
  box-shadow: 0 18px 42px rgba(14, 15, 19, 0.18);
}

.visual-player > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(0.9) contrast(1.05);
  transition:
    transform 8s linear,
    filter 300ms ease;
}

.player-shell.is-playing .visual-player > img {
  transform: scale(1.14);
  filter: saturate(1.08) contrast(1.06);
}

.player-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(7, 8, 11, 0.35), transparent 38%),
    linear-gradient(to top, rgba(7, 8, 11, 0.86), transparent 50%);
}

.ad-label {
  position: absolute;
  top: 15px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 5px;
  background: rgba(10, 11, 15, 0.5);
  backdrop-filter: blur(10px);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ad-label i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--demo-accent);
}

.player-title {
  position: absolute;
  left: 18px;
  bottom: 42px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.player-title small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.player-title strong {
  font-size: 21px;
  letter-spacing: -0.04em;
}

.main-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    background 180ms ease;
}

.main-play:hover {
  transform: translate(-50%, -50%) scale(1.06);
  background: var(--demo-accent);
}

.main-play svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.pause-icon {
  display: none;
}

.player-shell.is-playing .play-icon {
  display: none;
}

.player-shell.is-playing .pause-icon {
  display: block;
}

.player-shell.is-playing .main-play {
  opacity: 0;
}

.player-shell.is-playing:hover .main-play,
.main-play:focus-visible {
  opacity: 1;
}

.player-controls {
  position: absolute;
  right: 15px;
  bottom: 13px;
  left: 15px;
  display: grid;
  grid-template-columns: 20px 1fr 60px 18px 18px;
  align-items: center;
  gap: 8px;
  font-size: 8px;
}

.player-controls button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font-size: 9px;
}

.progress-track {
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.32);
}

.progress-track i {
  width: var(--progress, 0%);
  height: 100%;
  display: block;
  background: var(--demo-accent);
  transition: width 480ms linear;
}

.audio-player {
  min-height: 220px;
  display: none;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  align-items: center;
  padding: 26px;
  color: var(--white);
  background:
    radial-gradient(circle at 0 0, rgba(181, 106, 255, 0.26), transparent 48%),
    #15171d;
  box-shadow: 0 18px 42px rgba(14, 15, 19, 0.18);
}

.audio-cover {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(145deg, transparent 48%, rgba(255, 255, 255, 0.08) 49%, transparent 51%),
    linear-gradient(135deg, #a954ff, #3436b6 48%, #10141c);
}

.audio-cover::before,
.audio-cover::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 1px;
  transform: rotate(-35deg);
  background: rgba(255, 255, 255, 0.16);
}

.audio-cover::after {
  transform: rotate(35deg);
}

.audio-cover span {
  position: relative;
  z-index: 2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
}

.audio-cover i {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--demo-accent);
}

.audio-copy > small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.audio-copy > strong {
  display: block;
  margin-top: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 500;
}

.waveform {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 18px;
}

.waveform i {
  width: 3px;
  height: calc(9px + (var(--wave, 1) * 3px));
  display: block;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
}

.waveform i:nth-child(3n) { --wave: 7; }
.waveform i:nth-child(4n) { --wave: 12; }
.waveform i:nth-child(5n) { --wave: 4; }
.waveform i:nth-child(7n) { --wave: 9; }

.player-shell.is-playing .waveform i {
  animation: wave 800ms ease-in-out infinite alternate;
  background: var(--demo-accent);
}

.waveform i:nth-child(2n) { animation-delay: -200ms !important; }
.waveform i:nth-child(3n) { animation-delay: -400ms !important; }

@keyframes wave {
  to { transform: scaleY(0.32); }
}

.audio-controls {
  display: grid;
  grid-template-columns: 34px 1fr 27px 27px 20px;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.audio-controls button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--demo-accent);
  cursor: pointer;
}

.audio-controls span,
.audio-controls b {
  color: rgba(255, 255, 255, 0.55);
  font-size: 8px;
  font-weight: 600;
}

.browser-preview[data-mode="audio"] .visual-player {
  display: none;
}

.browser-preview[data-mode="audio"] .audio-player {
  display: grid;
}

.browser-preview[data-mode="sticky"] .player-shell {
  width: 58%;
  margin-left: auto;
  transform: translate(18px, 22px);
}

.browser-preview[data-mode="sticky"] .player-shell::after {
  content: "STICKY";
  position: absolute;
  top: -18px;
  right: 0;
  color: #79766f;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.browser-preview[data-mode="sticky"] .player-title strong {
  font-size: 15px;
}

.browser-preview[data-mode="sticky"] .main-play {
  width: 44px;
  height: 44px;
}

.context-match {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  padding: 11px 13px;
  border: 1px solid #dedcd5;
  background: rgba(255, 255, 255, 0.72);
}

.match-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--demo-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--demo-accent) 16%, transparent);
}

.context-match p {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
}

.context-match strong {
  font-size: 8px;
}

.context-match small {
  color: #8a8881;
  font-size: 7px;
}

.context-match > b {
  color: #298a72;
  font-size: 7px;
  letter-spacing: 0.09em;
}

.article-body {
  margin: 24px 0 0;
  color: #55544f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  line-height: 1.75;
}

.article-lines {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.article-lines i {
  height: 5px;
  display: block;
  background: #e8e5de;
}

.article-lines i:nth-child(2) { width: 82%; }
.article-lines i:nth-child(3) { width: 58%; }

.control-panel {
  align-self: start;
  padding: 26px;
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(9, 10, 14, 0.08);
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.panel-heading small {
  color: #777972;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.panel-heading h3 {
  margin: 6px 0 0;
  font-size: 21px;
  letter-spacing: -0.04em;
}

.panel-heading > span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid #d8ded2;
  border-radius: 5px;
  color: #438268;
  background: #f3f8ee;
  font-size: 7px;
  letter-spacing: 0.08em;
}

.panel-heading > span i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6abb84;
}

.control-panel > p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.control-group {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.control-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.control-label span {
  color: #85847e;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.control-label small {
  color: #a4a39c;
  font-size: 7px;
}

.switch-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 11px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.switch-row > span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.switch-row b {
  font-size: 10px;
}

.switch-row small {
  color: #9b9993;
  font-size: 8px;
}

.switch-row > i {
  position: relative;
  width: 34px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 20px;
  background: #d5d3cd;
  transition: background 180ms ease;
}

.switch-row > i em {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  transition: transform 180ms ease;
}

.switch-row.is-on > i {
  background: var(--ink);
}

.switch-row.is-on > i em {
  transform: translateX(16px);
}

.swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 13px;
}

.swatch {
  position: relative;
  height: 34px;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
}

.swatch::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.swatch.is-active::after {
  border-color: rgba(16, 17, 20, 0.6);
}

.swatch.cyan { background: var(--cyan); }
.swatch.violet { background: var(--violet); }
.swatch.coral { background: var(--coral); }
.swatch.lime { background: var(--lime); }

.event-console {
  margin-top: 24px;
  overflow: hidden;
  border-radius: 10px;
  color: #dce0e8;
  background: #17191f;
}

.console-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.console-heading span {
  color: #9398a4;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.console-heading small {
  color: #757a85;
  font-size: 7px;
}

.event-console ol {
  margin: 0;
  padding: 6px 0;
  list-style: none;
}

.event-console li {
  display: grid;
  grid-template-columns: 24px 1fr 20px;
  align-items: center;
  padding: 8px 13px;
  color: #696f7b;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.event-console li i {
  font-style: normal;
}

.event-console li b {
  justify-self: end;
  color: #555b66;
}

.event-console li.is-fired {
  color: #e9f8d6;
  background: rgba(200, 255, 77, 0.06);
}

.event-console li.is-fired b {
  color: var(--lime);
}

.capabilities-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 18%, rgba(181, 106, 255, 0.15), transparent 28%),
    #111216;
}

.capability-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.capability-orbit.one {
  width: 540px;
  height: 540px;
  top: -170px;
  right: -130px;
}

.capability-orbit.two {
  width: 380px;
  height: 380px;
  top: -90px;
  right: -50px;
}

.light-heading > p {
  color: rgba(255, 255, 255, 0.52);
}

.capability-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.5fr);
  gap: 22px;
  margin-top: 68px;
}

.capability-tabs {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.capability-tab {
  width: 100%;
  min-height: 105px;
  display: grid;
  grid-template-columns: 32px 1fr 22px;
  align-items: center;
  gap: 6px;
  padding: 0 18px 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.capability-tab:hover,
.capability-tab.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.045);
}

.capability-tab > span {
  align-self: start;
  margin-top: 26px;
  font-size: 8px;
  font-weight: 800;
}

.capability-tab > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.capability-tab strong {
  font-size: 14px;
}

.capability-tab small {
  max-width: 225px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 9px;
  line-height: 1.4;
}

.capability-tab > b {
  font-size: 15px;
  font-weight: 400;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.capability-tab.is-active > b {
  color: var(--cyan);
  transform: rotate(0);
}

.capability-stage {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  background: #1a1c22;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.32);
}

.stage-topbar {
  height: 50px;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  padding-inline: 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: #202229;
}

.stage-topbar > span {
  display: flex;
  gap: 5px;
}

.stage-topbar > span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4d515c;
}

.stage-topbar small {
  justify-self: center;
  color: #7f8490;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.stage-topbar > b {
  padding: 6px 8px;
  border: 1px solid rgba(200, 255, 77, 0.16);
  border-radius: 5px;
  color: var(--lime);
  background: rgba(200, 255, 77, 0.05);
  font-size: 6px;
  letter-spacing: 0.09em;
}

.feature-visual {
  min-height: 520px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 30px;
  padding: 48px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
}

.feature-copy > small {
  color: #66dfff;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.feature-copy h3 {
  margin: 15px 0 0;
  font-size: clamp(31px, 3vw, 43px);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.feature-copy > p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
  line-height: 1.7;
}

.feature-copy ul {
  display: grid;
  gap: 10px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.feature-copy li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
  line-height: 1.4;
}

.feature-copy li::before {
  content: "↳";
  color: var(--cyan);
}

.feature-image {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-glow {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(181, 106, 255, 0.28);
  filter: blur(70px);
}

.feature-image img {
  position: relative;
  z-index: 2;
  max-width: 92%;
  max-height: 390px;
  object-fit: contain;
  filter: drop-shadow(0 25px 30px rgba(0, 0, 0, 0.32));
  animation: featureIn 380ms ease both;
}

@keyframes featureIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
}

.feature-image > span {
  position: absolute;
  z-index: 3;
  right: 2%;
  bottom: 8%;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(17, 18, 22, 0.74);
  backdrop-filter: blur(12px);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.stage-signal {
  height: 48px;
  display: grid;
  grid-template-columns: 130px 1fr 40px;
  align-items: center;
  padding-inline: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #686d79;
  background: #202229;
  font-size: 7px;
}

.stage-signal > span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #a8afb8;
}

.stage-signal > span i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}

.stage-signal > div {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}

.stage-signal > div i {
  height: 2px;
  background: linear-gradient(90deg, #313641, var(--cyan), #313641);
  background-size: 200% 100%;
  animation: signal 1.7s linear infinite;
}

.stage-signal > div i:nth-child(2) { animation-delay: -0.25s; }
.stage-signal > div i:nth-child(3) { animation-delay: -0.5s; }
.stage-signal > div i:nth-child(4) { animation-delay: -0.75s; }
.stage-signal > div i:nth-child(5) { animation-delay: -1s; }

@keyframes signal {
  to { background-position: -200% 0; }
}

.stage-signal > small {
  justify-self: end;
}

.flow-section {
  background: #fbfbf8;
}

.flow-heading {
  text-align: center;
}

.flow-heading h2 {
  margin-inline: auto;
}

.flow-map {
  display: grid;
  grid-template-columns: 1fr 42px 1fr 42px 1fr 42px 1fr;
  align-items: stretch;
  margin-top: 72px;
}

.flow-map > article {
  position: relative;
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--paper-bright);
}

.flow-map > article > span {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #aaa8a2;
  font-size: 8px;
  font-weight: 800;
}

.flow-map > article.featured {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 20px 50px rgba(16, 17, 20, 0.18);
}

.flow-map > article.featured > span {
  color: rgba(255, 255, 255, 0.4);
}

.flow-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  margin-bottom: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 18px;
}

.featured .flow-icon {
  border-color: rgba(255, 255, 255, 0.17);
}

.edge-icon img {
  width: 16px;
  height: 16px;
}

.flow-map article > small {
  color: #7a7c76;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.featured > small {
  color: var(--cyan) !important;
}

.flow-map h3 {
  margin: 10px 0 0;
  font-size: 18px;
  letter-spacing: -0.035em;
}

.flow-map article > p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.flow-map .featured > p {
  color: rgba(255, 255, 255, 0.5);
}

.flow-map > i {
  align-self: center;
  justify-self: center;
  color: #999791;
  font-style: normal;
  font-size: 20px;
}

.integration-section {
  color: var(--white);
  background:
    radial-gradient(circle at 17% 80%, rgba(32, 212, 255, 0.08), transparent 25%),
    #18191e;
}

.integration-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 95px;
}

.integration-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  line-height: 1.7;
}

.integration-points {
  display: grid;
  margin-top: 35px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.integration-points > div {
  min-height: 72px;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.integration-points > div > span {
  color: #737781;
  font-size: 8px;
  font-weight: 800;
}

.integration-points p {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.integration-points strong {
  font-size: 12px;
}

.integration-points small {
  color: rgba(255, 255, 255, 0.4);
  font-size: 9px;
}

.code-console {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: #0f1014;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.28);
}

.code-topbar {
  height: 48px;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  padding-inline: 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #202228;
}

.code-topbar > span {
  display: flex;
  gap: 5px;
}

.code-topbar > span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #555964;
}

.code-topbar > small {
  justify-self: center;
  color: #888d98;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
}

.code-topbar > b {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--lime);
  font-size: 7px;
  letter-spacing: 0.09em;
}

.code-topbar > b i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}

.code-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-tabs button {
  min-width: 86px;
  padding: 13px 16px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  color: #6f7480;
  background: transparent;
  cursor: pointer;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.code-tabs button.is-active {
  color: var(--white);
  box-shadow: inset 0 -2px 0 var(--cyan);
}

.code-console pre {
  min-height: 420px;
  margin: 0;
  padding: 34px;
  overflow: auto;
  color: #dce0e8;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  line-height: 1.9;
  tab-size: 2;
}

.code-comment { color: #616874; }
.code-key { color: #c18cff; }
.code-fn { color: #5ddeff; }
.code-string { color: #d4ff82; }
.code-bool { color: #ff8f87; }
.code-number { color: #ffc65c; }

.code-footer {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #717682;
  background: #16181d;
  font-size: 8px;
}

.code-footer > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #afb5bf;
}

.code-footer > span i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}

.closing-section {
  position: relative;
  overflow: hidden;
  padding-block: 110px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(32, 212, 255, 0.12), transparent 34%),
    linear-gradient(120deg, #6332a5 0%, #3430a7 48%, #18285d 100%);
}

.closing-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: radial-gradient(circle, white 1px, transparent 1px);
  background-size: 28px 28px;
}

.closing-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
}

.closing-orbit.one {
  width: 520px;
  height: 520px;
  right: -120px;
  bottom: -300px;
}

.closing-orbit.two {
  width: 360px;
  height: 360px;
  right: -40px;
  bottom: -220px;
}

.closing-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.65fr;
  align-items: end;
  gap: 110px;
}

.closing-action p {
  margin: 0 0 27px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 15px;
  line-height: 1.65;
}

footer {
  color: #cbcdd2;
  background: #0c0d10;
}

.footer-inner {
  min-height: 110px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 44px;
}

.footer-brand img {
  filter: invert(1) brightness(3);
}

.footer-brand > span {
  background: rgba(255, 255, 255, 0.2);
}

.footer-inner > p {
  margin: 0;
  color: #70737c;
  font-size: 9px;
}

.toast {
  position: fixed;
  z-index: 150;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 17px;
  transform: translateY(20px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  color: var(--white);
  background: #1a1c22;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 200ms ease,
    opacity 200ms ease;
  font-size: 10px;
}

.toast span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
}

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

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

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

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 22px;
  }

  .hero-grid {
    gap: 45px;
  }

  .metric-top {
    right: 0;
  }

  .demo-workbench {
    grid-template-columns: 1.35fr 0.65fr;
  }

  .control-panel {
    padding: 22px;
  }

  .feature-visual {
    padding: 36px;
  }

  .flow-map {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .flow-map > i {
    display: none;
  }

  .integration-grid {
    gap: 55px;
  }
}

@media (max-width: 860px) {
  :root {
    --page: min(100% - 36px, 680px);
  }

  .desktop-nav,
  .desktop-cta {
    display: none;
  }

  .menu-button {
    width: 36px;
    height: 36px;
    display: grid;
    align-content: center;
    justify-items: end;
    gap: 6px;
    padding: 8px 4px;
    border: 0;
    background: transparent;
  }

  .menu-button > span:not(.sr-only) {
    width: 24px;
    height: 1px;
    display: block;
    background: var(--ink);
    transition: transform 180ms ease;
  }

  .menu-button > span:nth-child(2) {
    width: 17px;
  }

  .menu-button[aria-expanded="true"] > span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] > span:nth-child(2) {
    width: 24px;
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .mobile-menu {
    display: none;
    gap: 20px;
    padding: 22px 18px 28px;
    border-top: 1px solid var(--line);
    background: var(--paper-bright);
    font-size: 14px;
    font-weight: 750;
  }

  .mobile-menu.is-open {
    display: grid;
  }

  .hero {
    min-height: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 65px;
    padding-block: 90px 80px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .eyebrow,
  .hero-actions,
  .hero-note {
    justify-content: center;
  }

  .hero-lede {
    margin-inline: auto;
  }

  .hero-visual {
    width: min(100%, 560px);
    justify-self: center;
  }

  .hero-image-wrap {
    width: 68%;
  }

  .signal-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-block: 18px;
  }

  .signal-grid > div {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .signal-grid > div:nth-child(2) {
    border-right: 0;
  }

  .signal-grid > div:nth-child(n + 3) {
    border-bottom: 0;
  }

  .signal-grid > div:first-child {
    padding-left: 24px;
  }

  .section {
    padding-block: 92px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-heading > p {
    max-width: 560px;
  }

  .demo-workbench {
    grid-template-columns: 1fr;
  }

  .control-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 22px;
  }

  .panel-heading,
  .control-panel > p,
  .event-console {
    grid-column: 1 / -1;
  }

  .control-group {
    align-self: start;
  }

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

  .capability-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-left: 1px solid rgba(255, 255, 255, 0.13);
  }

  .capability-tab {
    border-right: 1px solid rgba(255, 255, 255, 0.13);
  }

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

  .integration-grid,
  .closing-inner {
    grid-template-columns: 1fr;
  }

  .integration-grid {
    gap: 65px;
  }

  .closing-inner {
    gap: 36px;
  }

  .closing-action {
    max-width: 520px;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-inner > p:last-child {
    display: none;
  }
}

@media (max-width: 620px) {
  :root {
    --page: min(100% - 28px, 520px);
  }

  .nav-shell {
    height: 68px;
  }

  .brand img {
    width: 92px;
  }

  .brand > span,
  .brand strong {
    display: none;
  }

  .nav-actions {
    gap: 14px;
  }

  .hero {
    padding-top: 68px;
  }

  .hero-grid {
    gap: 62px;
    padding-block: 72px 70px;
  }

  .hero h1 {
    font-size: clamp(52px, 17vw, 72px);
  }

  .hero-lede {
    font-size: 16px;
  }

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

  .hero-image-wrap {
    width: 78%;
  }

  .hero-image-wrap img {
    height: 440px;
  }

  .metric-chip {
    min-width: 143px;
    padding: 12px;
  }

  .metric-chip strong {
    font-size: 15px;
  }

  .metric-icon,
  .pulse-ring {
    width: 29px;
    height: 29px;
  }

  .metric-top {
    top: 12%;
    right: -2%;
  }

  .metric-bottom {
    bottom: 13%;
    left: -2%;
  }

  .signal-grid strong {
    font-size: 15px;
  }

  .signal-grid > div {
    padding: 16px 12px;
  }

  .signal-grid > div:first-child {
    padding-left: 12px;
  }

  .section {
    padding-block: 78px;
  }

  .section-heading h2,
  .flow-heading h2,
  .integration-copy h2,
  .closing-inner h2 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .placement-tabs {
    margin-top: 42px;
  }

  .placement-tab {
    min-height: 76px;
    justify-content: center;
    padding: 10px 5px;
  }

  .placement-tab > span:first-child,
  .placement-tab small {
    display: none;
  }

  .placement-tab strong {
    font-size: 11px;
    text-align: center;
  }

  .browser-bar {
    grid-template-columns: 50px 1fr 30px;
    padding-inline: 10px;
  }

  .address-bar {
    min-width: 0;
    width: 100%;
    padding-inline: 8px;
  }

  .publisher-page {
    min-height: 0;
  }

  .publisher-header {
    height: 56px;
    padding-inline: 15px;
  }

  .publisher-header nav span {
    display: none;
  }

  .publisher-article {
    width: calc(100% - 30px);
    padding-block: 34px 46px;
  }

  .publisher-article > h3 {
    font-size: 34px;
  }

  .article-deck {
    font-size: 12px;
  }

  .player-title strong {
    font-size: 17px;
  }

  .player-title small,
  .ad-label span {
    font-size: 6px;
  }

  .main-play {
    width: 48px;
    height: 48px;
  }

  .player-controls {
    grid-template-columns: 17px 1fr 52px 16px;
  }

  .player-controls > span:last-child {
    display: none;
  }

  .browser-preview[data-mode="sticky"] .player-shell {
    width: 72%;
    transform: translate(5px, 16px);
  }

  .audio-player {
    grid-template-columns: 105px 1fr;
    gap: 15px;
    padding: 18px;
  }

  .audio-copy > strong {
    font-size: 17px;
  }

  .waveform {
    height: 38px;
    gap: 3px;
  }

  .audio-controls {
    grid-template-columns: 30px 1fr 22px 22px;
  }

  .audio-controls > span:last-child {
    display: none;
  }

  .control-panel {
    grid-template-columns: 1fr;
  }

  .panel-heading,
  .control-panel > p,
  .event-console {
    grid-column: auto;
  }

  .capability-tabs {
    grid-template-columns: 1fr;
  }

  .capability-tab {
    min-height: 84px;
  }

  .feature-visual {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }

  .feature-copy h3 {
    font-size: 34px;
  }

  .feature-image {
    min-height: 320px;
  }

  .stage-topbar {
    grid-template-columns: 50px 1fr;
  }

  .stage-topbar > b {
    display: none;
  }

  .stage-signal {
    grid-template-columns: 110px 1fr;
  }

  .stage-signal > small {
    display: none;
  }

  .flow-map {
    grid-template-columns: 1fr;
  }

  .flow-map > article {
    min-height: 230px;
  }

  .flow-icon {
    margin-bottom: 28px;
  }

  .code-console pre {
    min-height: 390px;
    padding: 24px 18px;
    font-size: 9px;
  }

  .closing-section {
    padding-block: 84px;
  }

  .footer-inner {
    min-height: 130px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
