@font-face {
  font-family: "Gellix";
  src: url("https://sendbird.com/fonts/gellix/Gellix-Regular.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gellix";
  src: url("https://sendbird.com/fonts/gellix/Gellix-Medium.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gellix";
  src: url("https://sendbird.com/fonts/gellix/Gellix-SemiBold.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gellix";
  src: url("https://sendbird.com/fonts/gellix/Gellix-Bold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Now Text";
  src: url("https://sendbird.com/fonts/helvetica-now-text/HelveticaNowText-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Now Text Medium";
  src: url("https://sendbird.com/fonts/helvetica-now-text/HelveticaNowText-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b1220;
  --muted: #566170;
  --quiet: #8490a1;
  --line: #dce5ee;
  --line-strong: #bed0df;
  --soft: #f2f7fb;
  --warm: #f8fbff;
  --warm-strong: #e9f2fa;
  --surface: #ffffff;
  --panel: #ffffff;
  --accent: #006cff;
  --accent-deep: #004fbd;
  --accent-soft: #e7f1ff;
  --teal: #00a989;
  --cyan: #19a7ce;
  --green: #1d8f6f;
  --gold: #b37d12;
  --radius: 8px;
  --shadow: 0 26px 70px rgba(12, 34, 58, 0.12);
  --shadow-soft: 0 16px 45px rgba(12, 34, 58, 0.09);
  --font-display: "Gellix", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-body: "Helvetica Now Text", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-latin: "Helvetica Now Text Medium", "Helvetica Now Text", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --page-max: 1360px;
  --page-gutter: 48px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(0, 108, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #f8fbff 0, #ffffff 660px, #f3f8fc 100%);
  background-size: 112px 100%, auto;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 0 34px;
  background: rgba(248, 251, 255, 0.92);
  border-bottom: 1px solid rgba(11, 18, 32, 0.09);
  backdrop-filter: blur(22px) saturate(1.15);
  transition: min-height 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  min-height: 62px;
  box-shadow: 0 14px 42px rgba(16, 17, 15, 0.075);
}

.site-header.is-scrolled .nav-item,
.site-header.is-scrolled .nav-link,
.site-header.is-scrolled .nav-trigger {
  min-height: 64px;
}

.site-header.is-scrolled .mega-menu {
  top: 62px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-latin);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 34% 38%, #fff 0 10%, transparent 11%),
    radial-gradient(circle at 62% 38%, #fff 0 10%, transparent 11%),
    linear-gradient(135deg, var(--accent), var(--teal));
  box-shadow: inset -6px -6px 0 rgba(255, 255, 255, 0.18);
}

.nav,
.header-actions {
  display: flex;
  align-items: center;
}

.nav {
  justify-content: center;
  gap: 15px;
  color: #172033;
  font-size: 14.5px;
  font-weight: 500;
}

.nav-link,
.nav-trigger,
.text-link {
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-trigger:hover,
.nav-item.is-active .nav-trigger,
.text-link:hover {
  color: var(--accent-deep);
}

.nav-item {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
}

.nav-link,
.nav-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 72px;
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 500;
  cursor: pointer;
}

.nav-link::after,
.nav-trigger::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--accent-deep);
  opacity: 0;
  transform: scaleX(0.72);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover::after,
.nav-item:hover .nav-trigger::after {
  opacity: 1;
  transform: scaleX(1);
}

.chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.nav-item:hover .chevron,
.nav-item.is-active .chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

.mega-menu {
  position: fixed;
  top: 72px;
  left: 50%;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(300px, 0.9fr);
  width: min(680px, calc(100vw - 48px));
  min-height: 324px;
  padding: 0;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 60px rgba(16, 17, 15, 0.11);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -10px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.mega-menu--simple {
  grid-template-columns: minmax(0, 1fr);
  width: min(390px, calc(100vw - 48px));
  min-height: auto;
}

.mega-menu--wide {
  width: min(560px, calc(100vw - 48px));
}

.mega-menu--wide .mega-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 26px;
}

.mega-menu--wide .mega-label {
  grid-column: 1 / -1;
}

.nav-item:hover .mega-menu,
.nav-item.is-active .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-column {
  padding: 18px 28px 26px;
}

.mega-column--split {
  border-left: 1px solid #dce5ee;
}

.mega-label {
  margin: 0 0 20px;
  color: #667386;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.mega-link {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  color: var(--ink);
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.mega-link:hover {
  color: var(--accent-deep);
  transform: translateX(4px);
}

.mega-link strong {
  display: block;
  margin-bottom: 3px;
  color: inherit;
  font-size: 16px;
  line-height: 1.2;
}

.mega-link em {
  display: block;
  max-width: 280px;
  color: #666b63;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.32;
}

.mega-link--simple {
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  padding: 11px 0;
}

.mega-link--simple strong {
  margin: 0;
  font-size: 15px;
}

.mega-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #dce5ee;
  border-radius: 8px;
  background: #eef5fb;
}

.external-mark {
  display: inline-block;
  margin-left: 2px;
  font-size: 13px;
  transform: rotate(45deg);
  transform-origin: center;
}

.header-actions {
  justify-content: flex-end;
  gap: 22px;
  font-size: 15px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
}

.pill-button,
.outline-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: var(--radius);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.pill-button {
  color: #fff;
  background: #0b1220;
  box-shadow: 0 14px 30px rgba(11, 18, 32, 0.18);
}

.pill-button--small {
  min-height: 44px;
  padding: 0 22px;
}

.outline-button {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
}

.button-arrow {
  display: inline-block;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.pill-button:hover {
  background: var(--accent-deep);
  box-shadow: 0 16px 34px rgba(58, 26, 159, 0.18);
}

.outline-button:hover {
  border-color: var(--ink);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(16, 17, 15, 0.08);
}

.pill-button:active,
.outline-button:active {
  transform: translateY(0);
}

.pill-button:hover .button-arrow,
.outline-button:hover .button-arrow {
  opacity: 1;
  transform: translateX(0);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(520px, 1.02fr);
  align-items: center;
  gap: 44px;
  max-width: 1340px;
  min-height: 780px;
  margin: 0 auto;
  padding: 118px 48px 68px;
}

.hero-copy,
.showcase-copy,
.developer-copy,
.security-copy,
.section-copy,
.faq-title,
.faq-list {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-deep);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.eyebrow--inverse {
  color: var(--accent-deep);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  letter-spacing: -0.2px;
}

h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 600;
  line-height: 1;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(50px, 4.4vw, 56px);
  font-weight: 600;
  line-height: 1.3;
}

h3 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(42px, 3.3vw, 48px);
  font-weight: 600;
  line-height: 1.3;
}

.hero-subtitle,
.section-copy p:not(.eyebrow),
.showcase-copy p,
.developer-copy p,
.security-copy p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.3;
}

.hero-subtitle {
  max-width: 590px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.app-shell {
  position: relative;
  display: grid;
  grid-template-columns: 230px 1fr;
  min-width: 0;
  min-height: 500px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(242, 247, 251, 0.94)),
    linear-gradient(90deg, rgba(0, 108, 255, 0.08), transparent 42%);
  box-shadow: var(--shadow);
}

.conversation-list,
.chat-window {
  min-width: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
}

.conversation-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 14px;
  border-right: 1px solid var(--line);
}

.search-row {
  height: 42px;
  margin-bottom: 6px;
  border-radius: 8px;
  background: #e8f1f8;
}

.contact,
.chat-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact {
  min-height: 68px;
  padding: 10px;
  border-radius: 8px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.contact.active,
.contact:hover {
  background: var(--accent-soft);
  transform: translateX(2px);
}

.contact strong,
.chat-topbar strong,
.floating-panel strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.contact em,
.chat-topbar em,
.floating-panel span {
  display: block;
  color: #777781;
  font-size: 12px;
  font-style: normal;
}

.contact.muted {
  opacity: 0.65;
}

.avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.avatar.accent {
  background: var(--accent);
}

.avatar.blue {
  background: #4c5c87;
}

.avatar.green {
  background: #537c68;
}

.avatar.orange {
  background: #9c7b25;
}

.chat-window {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.chat-topbar {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.message-row {
  display: flex;
  margin-top: 22px;
}

.message-row.outgoing {
  justify-content: flex-end;
}

.message-row.short .bubble {
  max-width: 270px;
}

.bubble {
  max-width: 340px;
  padding: 14px 16px;
  border: 1px solid #dce5ee;
  border-radius: 14px 14px 14px 4px;
  background: #f2f7fb;
  font-size: 15px;
  overflow-wrap: break-word;
}

.outgoing .bubble {
  color: #fff;
  border-color: var(--accent-deep);
  border-radius: 14px 14px 4px 14px;
  background: var(--accent-deep);
}

.message-card {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  max-width: 360px;
  margin-top: 22px;
  padding: 12px;
  border: 1px solid #d9e9f7;
  border-radius: 10px;
  background: #ffffff;
}

.message-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.card-image {
  min-height: 72px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(0, 108, 255, 0.82), rgba(11, 18, 32, 0.72)),
    repeating-linear-gradient(45deg, transparent 0 10px, rgba(255, 255, 255, 0.2) 10px 14px);
}

.composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  margin-top: auto;
  padding: 0 8px 0 18px;
  border-radius: 14px;
  background: #e8f1f8;
  color: #667386;
  font-size: 14px;
}

.composer button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--ink);
  cursor: pointer;
}

.floating-panel {
  position: absolute;
  z-index: 3;
  padding: 16px 18px;
  border: 1px solid rgba(0, 108, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 42px rgba(12, 34, 58, 0.12);
  backdrop-filter: blur(12px);
}

.floating-panel.ai {
  top: 54px;
  right: -20px;
  animation: floatY 4.2s ease-in-out infinite;
}

.floating-panel.stats {
  left: -32px;
  bottom: 54px;
  animation: floatY 5s ease-in-out 0.4s infinite;
}

.floating-panel.stats strong {
  font-size: 27px;
}

.logo-strip {
  padding: 28px 0 42px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.logo-strip p {
  margin-bottom: 28px;
  color: var(--quiet);
  font-weight: 600;
}

.marquee {
  overflow: hidden;
  width: 100%;
  contain: paint;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 42px;
  animation: marquee 34s linear infinite;
}

.marquee-track span {
  min-width: max-content;
  color: #172033;
  font-family: var(--font-latin);
  font-size: 22px;
  font-weight: 700;
  opacity: 0.68;
}

.intro-section,
.proof-section,
.product-links,
.faq-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 104px 48px;
}

.section-copy {
  max-width: 780px;
  margin-bottom: 42px;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
  gap: 14px;
}

.feature-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.feature-card:first-child {
  grid-row: span 2;
  min-height: 390px;
  background:
    linear-gradient(145deg, rgba(231, 241, 255, 0.92), rgba(255, 255, 255, 0.8)),
    var(--surface);
}

.feature-card:hover {
  transform: translateY(-4px);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 36px;
  margin-bottom: 56px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-deep);
  background: rgba(255, 255, 255, 0.82);
  font-family: var(--font-latin);
  font-weight: 700;
}

.feature-card:first-child .feature-icon {
  margin-bottom: 142px;
}

.feature-card p,
.story-card p,
.product-link em,
.faq-list p {
  color: var(--muted);
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.82fr);
  align-items: center;
  gap: 64px;
  max-width: 1340px;
  margin: 0 auto;
  padding: 104px 48px;
  background: transparent;
}

.showcase-visual {
  position: relative;
  min-height: 540px;
  overflow: hidden;
}

.phone {
  position: absolute;
  width: 284px;
  height: 508px;
  padding: 18px;
  border: 8px solid #0b1220;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(12, 34, 58, 0.12);
}

.phone-left {
  left: 4%;
  top: 20px;
  transform: rotate(-3deg);
}

.phone-right {
  right: 8%;
  top: 0;
  transform: rotate(4deg);
}

.phone-header,
.mini-list,
.mini-photo,
.mini-bubble {
  border-radius: 12px;
}

.phone-header {
  width: 60%;
  height: 28px;
  margin: 6px auto 34px;
  background: #e8f1f8;
}

.mini-bubble {
  width: 66%;
  height: 56px;
  margin: 16px 0;
  background: #eef5fb;
}

.mini-bubble.wide {
  width: 88%;
}

.mini-bubble.accent-line {
  width: 82%;
  background: var(--accent-soft);
}

.mini-list {
  height: 118px;
  margin-top: 26px;
  background: #ffffff;
  border: 1px solid var(--accent);
}

.mini-list.small {
  height: 72px;
  margin-top: 16px;
  border: 0;
  background: #e8f1f8;
}

.mini-photo {
  height: 180px;
  margin-bottom: 26px;
  background:
    linear-gradient(135deg, rgba(0, 108, 255, 0.84), rgba(11, 18, 32, 0.68)),
    radial-gradient(circle at 24% 26%, rgba(255,255,255,0.85) 0 9%, transparent 10%);
}

.showcase-copy {
  max-width: 520px;
}

.use-case-list {
  display: grid;
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.use-case-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  transition: color 0.2s ease, padding 0.2s ease, background 0.2s ease;
}

.use-case-list a:hover {
  padding-left: 10px;
  color: var(--accent-deep);
  background: rgba(231, 241, 255, 0.62);
}

.developer-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1fr);
  align-items: center;
  gap: 64px;
  padding: 108px 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(0, 108, 255, 0.08), transparent 48%),
    #edf5fb;
  color: var(--ink);
}

.developer-section > * {
  max-width: 620px;
}

.developer-copy {
  justify-self: end;
}

.developer-copy p {
  color: var(--muted);
}

.code-card {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.code-tabs {
  display: flex;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: #f2f7fb;
}

.code-tabs span {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.code-tabs .active {
  color: #fff;
  background: var(--ink);
}

pre {
  margin: 0;
  padding: 28px;
  overflow-x: auto;
  color: #172033;
  font-size: 15px;
  line-height: 1.75;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.story-card {
  display: grid;
  grid-template-columns: 0.32fr 1fr;
  gap: 34px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  box-shadow: none;
}

.story-card:last-child {
  border-bottom: 1px solid var(--line);
}

.story-card p,
.story-card .metric-row {
  grid-column: 2;
}

.story-logo {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.metric-row span {
  color: var(--muted);
  font-size: 13px;
}

.metric-row strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-latin);
  font-size: 28px;
}

.security-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1fr);
  align-items: center;
  gap: 64px;
  min-height: 660px;
  padding: 104px 48px;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff, #f3f8fc);
}

.security-copy {
  justify-self: end;
  max-width: 600px;
}

.security-copy p {
  color: var(--muted);
}

.compliance-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.compliance-icons span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  font-weight: 600;
}

.network-visual {
  position: relative;
  min-height: 460px;
  max-width: 620px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(rgba(16,17,15,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,17,15,0.06) 1px, transparent 1px),
    #f8fbff;
  background-size: 44px 44px;
}

.node {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 8px rgba(0, 108, 255, 0.08);
}

.n1 { left: 16%; top: 22%; }
.n2 { left: 68%; top: 18%; }
.n3 { left: 78%; top: 62%; }
.n4 { left: 28%; top: 74%; }
.n5 { left: 48%; top: 44%; background: var(--cyan); }

.route {
  position: absolute;
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(0,108,255,0), rgba(0,169,137,0.78), rgba(0,108,255,0));
}

.r1 { left: 18%; top: 25%; width: 320px; transform: rotate(7deg); }
.r2 { left: 49%; top: 47%; width: 230px; transform: rotate(45deg); }
.r3 { left: 29%; top: 75%; width: 250px; transform: rotate(-38deg); }

.network-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 250px;
  padding: 22px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,251,0.9);
  box-shadow: var(--shadow-soft);
}

.network-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.link-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 0.95fr;
  gap: 14px;
}

.product-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  transition: transform 0.25s ease, background 0.25s ease;
}

.product-link:first-child {
  background: var(--accent-soft);
}

.product-link:hover {
  transform: translateY(-4px);
  background: var(--surface);
}

.product-link span {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

.product-link em {
  font-style: normal;
}

.faq-section {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 70px;
  border-top: 1px solid var(--line);
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  position: relative;
  padding: 28px 44px 28px 0;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.summary-toggle-icon {
  position: absolute;
  right: 4px;
  top: 28px;
  color: var(--accent-deep);
}

.summary-toggle-icon > svg {
  width: 20px;
  height: 20px;
}

.summary-toggle-icon--minus {
  display: none;
}

details[open] .summary-toggle-icon--plus {
  display: none;
}

details[open] .summary-toggle-icon--minus {
  display: inline-grid;
}

details p {
  max-width: 700px;
  margin-bottom: 28px;
}

.final-cta {
  padding: 88px 48px;
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(231, 241, 255, 0.9), rgba(255, 255, 255, 0.84)),
    #f3f8fc;
  text-align: center;
}

.final-cta h2 {
  max-width: 760px;
  margin: 0 auto 30px;
}

.final-cta .hero-actions {
  justify-content: center;
}

.pill-button--inverse {
  color: #fff;
  background: #0b1220;
  box-shadow: 0 14px 30px rgba(11, 18, 32, 0.18);
}

.outline-button--inverse {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.64);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 48px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #f3f8fc;
}

.footer p {
  max-width: 560px;
  margin: 0;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero .reveal {
  opacity: 1;
  transform: none;
}

.platform-hero .reveal {
  opacity: 1;
  transform: none;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .site-header {
    padding: 0 24px;
  }

  .nav {
    gap: 12px;
    font-size: 14px;
  }

  .hero,
  .showcase,
  .developer-section,
  .security-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    min-height: auto;
    padding-top: 126px;
    overflow: hidden;
  }

  .developer-copy,
  .security-copy {
    justify-self: start;
  }

  .developer-section > *,
  .security-copy {
    max-width: 760px;
  }

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

  .feature-card:first-child {
    grid-row: auto;
    min-height: 260px;
  }

  .feature-card:first-child .feature-icon {
    margin-bottom: 56px;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: auto auto;
    min-height: 68px;
    max-height: 100vh;
    overflow-y: auto;
  }

  .menu-toggle {
    justify-self: end;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.2s ease;
  }

  .site-header.is-open .menu-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .site-header.is-open .menu-toggle span:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

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

  .site-header.is-open .nav,
  .site-header.is-open .header-actions {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .site-header.is-open .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-top: 18px;
    width: 100%;
  }

  .site-header.is-open .header-actions {
    padding-bottom: 20px;
  }

  .nav-item,
  .nav-link,
  .nav-trigger,
  .site-header.is-scrolled .nav-item,
  .site-header.is-scrolled .nav-link,
  .site-header.is-scrolled .nav-trigger {
    width: 100%;
    min-height: 52px;
  }

  .nav-item {
    display: block;
    border-bottom: 1px solid #ecedf4;
  }

  .nav-link,
  .nav-trigger {
    justify-content: space-between;
    width: 100%;
    padding: 0;
    font-size: 18px;
  }

  .nav-link::after,
  .nav-trigger::after {
    display: none;
  }

  .mega-menu,
  .site-header.is-scrolled .mega-menu {
    position: static;
    display: none;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-height: 0;
    margin: 0 0 14px;
    border: 1px solid #ecedf4;
    border-radius: 12px;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-item:hover .mega-menu,
  .nav-item:focus-within .mega-menu {
    display: none;
  }

  .nav-item.is-active .mega-menu,
  .nav-item.is-active:focus-within .mega-menu {
    display: grid;
  }

  .mega-column {
    display: block;
    padding: 16px;
  }

  .mega-menu--wide .mega-column {
    display: block;
  }

  .mega-column--split {
    border-top: 1px solid #ecedf4;
    border-left: 0;
  }

  .mega-link {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 12px 0;
  }

  .mega-link strong {
    font-size: 15px;
  }

  .mega-link em {
    max-width: none;
  }

  .hero,
  .intro-section,
  .showcase,
  .developer-section,
  .proof-section,
  .security-section,
  .product-links,
  .faq-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero {
    gap: 42px;
    width: 100%;
    max-width: 100%;
    padding-top: 110px;
    text-align: center;
  }

  h1 {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    font-size: 44px;
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: 38px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
  }

  .hero-actions {
    justify-content: center;
  }

  .app-shell {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    padding: 10px;
    overflow: hidden;
  }

  .conversation-list {
    display: none;
  }

  .chat-window {
    width: 100%;
    max-width: 100%;
    min-height: 500px;
    overflow: hidden;
  }

  .floating-panel {
    display: none;
  }

  .feature-grid,
  .story-grid,
  .link-grid,
  .faq-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 28px 0;
  }

  .story-card p,
  .story-card .metric-row {
    grid-column: auto;
  }

  .feature-card {
    min-height: 240px;
  }

  .feature-icon {
    margin-bottom: 42px;
  }

  .showcase-visual {
    min-height: 500px;
  }

  .phone {
    width: 242px;
    height: 438px;
  }

  .phone-left {
    left: 0;
  }

  .phone-right {
    right: 0;
  }

  .developer-section,
  .security-section {
    gap: 36px;
    overflow: hidden;
  }

  .code-card {
    min-width: 0;
  }

  pre {
    font-size: 13px;
    white-space: pre-wrap;
    word-break: break-word;
  }

  pre code {
    white-space: pre-wrap;
    word-break: break-word;
  }

  .network-visual {
    min-height: 360px;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 32px 22px;
  }

  .footer p {
    text-align: left;
  }
}

@media (max-width: 430px) {
  .hero-actions,
  .final-cta .hero-actions {
    flex-direction: column;
  }

  .pill-button,
  .outline-button {
    width: 100%;
  }

  .chat-window {
    padding: 16px;
  }

  .bubble {
    max-width: 260px;
  }

  .message-card {
    grid-template-columns: 1fr;
  }

  .phone-right {
    right: -28px;
  }

  .phone-left {
    left: -28px;
  }
}

/* First-version product-page restore, matched to the latest reference image. */
:root {
  --sb-ink: #090912;
  --sb-muted: #6d6d78;
  --sb-soft: #f5f3fb;
  --sb-line: #eceaf5;
  --sb-purple: #7518d9;
  --sb-blue: #316aff;
  --sb-magenta: #b956ff;
  --sb-grad: linear-gradient(94deg, #316aff 0%, #b956ff 100%);
  --sb-font: "Gellix", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --sb-body: "Helvetica Now Text", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}

body {
  background: #fff;
  color: var(--sb-ink);
  font-family: var(--sb-body);
  letter-spacing: 0;
}

.site-header {
  min-height: 74px;
  padding: 0 48px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #ececf2;
  box-shadow: none;
  backdrop-filter: none;
}

.site-header.is-scrolled {
  min-height: 74px;
  box-shadow: none;
}

.brand {
  gap: 10px;
  font-family: var(--sb-font);
  font-size: 23px;
  font-weight: 900;
  color: #050508;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 27% 31%, rgba(255,255,255,0.96) 0 9%, transparent 10%),
    linear-gradient(145deg, #8f2cf5 0%, #6b20df 44%, #286cff 100%);
  box-shadow: inset -7px -7px 0 rgba(31, 86, 248, 0.42);
}

.nav {
  gap: 30px;
  margin-left: 52px;
  color: #1b1a20;
  font-family: var(--sb-font);
  font-size: 14px;
  font-weight: 900;
}

.nav-item,
.nav-link,
.nav-trigger,
.site-header.is-scrolled .nav-item,
.site-header.is-scrolled .nav-link,
.site-header.is-scrolled .nav-trigger {
  min-height: 74px;
}

.nav-link,
.nav-trigger {
  gap: 0;
  font-weight: 900;
}

.chevron {
  display: none;
}

.nav-link::after,
.nav-trigger::after {
  display: none;
}

.nav-link:hover,
.nav-trigger:hover,
.nav-item.is-active .nav-trigger {
  color: #6d18e5;
}

.mega-menu,
.site-header.is-scrolled .mega-menu {
  top: 74px;
  border: 1px solid #eceaf5;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 24px 60px rgba(29, 22, 60, 0.12);
}

.mega-label {
  font-family: var(--sb-font);
  color: #7b7786;
}

.mega-link strong {
  font-family: var(--sb-font);
}

.mega-icon {
  border-color: #eceaf5;
  background: #f5f3fb;
}

.header-actions {
  gap: 24px;
  font-family: var(--sb-font);
  font-size: 14px;
  font-weight: 900;
}

.login-link {
  color: #050508;
}

.login-link:hover {
  color: #6d18e5;
}

.pill-button,
.outline-button {
  min-height: 52px;
  border-radius: 8px;
  padding: 0 29px;
  font-family: var(--sb-font);
  font-size: 15px;
  font-weight: 900;
}

.pill-button {
  background: var(--sb-grad);
  box-shadow: 0 20px 34px rgba(117, 24, 217, 0.22);
}

.pill-button:hover {
  background: var(--sb-grad);
  box-shadow: 0 22px 38px rgba(117, 24, 217, 0.25);
}

.pill-button--small {
  min-height: 44px;
  min-width: 137px;
  padding: 0 22px;
  font-size: 14px;
}

.outline-button {
  min-width: 182px;
  color: #101016;
  border: 1.5px solid #0d0d12;
  background: #fff;
  box-shadow: none;
}

.outline-button:hover {
  border-color: #0d0d12;
  box-shadow: none;
}

.button-arrow {
  display: none;
}

.hero {
  grid-template-columns: minmax(0, 0.83fr) minmax(640px, 1.17fr);
  gap: 50px;
  max-width: 1360px;
  min-height: 830px;
  padding: 74px 48px 52px;
}

.hero-copy {
  align-self: center;
  padding-top: 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sb-purple);
  font-family: var(--sb-font);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  font-family: var(--sb-font);
}

h1 {
  max-width: 560px;
  margin: 0 0 26px;
  color: #060608;
  font-size: clamp(64px, 5.8vw, 84px);
  font-weight: 900;
  line-height: 0.975;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 550px;
  margin-bottom: 34px;
  color: #696974;
  font-size: 21px;
  line-height: 1.36;
}

.hero-actions {
  gap: 14px;
}

.hero-actions .pill-button {
  min-width: 260px;
}

.hero-visual {
  align-self: center;
  padding-top: 42px;
}

.app-shell {
  grid-template-columns: 244px minmax(0, 1fr);
  min-height: 520px;
  padding: 14px;
  border: 1px solid #e8e2fa;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff 0%, #fbfaff 100%);
  box-shadow: 0 34px 70px rgba(35, 30, 62, 0.12);
}

.conversation-list,
.chat-window {
  border-radius: 15px;
  background: rgba(255,255,255,0.96);
}

.conversation-list {
  gap: 13px;
  padding: 20px 14px;
  border-right: 1px solid #eae7f3;
}

.search-row {
  height: 42px;
  margin-bottom: 6px;
  border-radius: 10px;
  background: #efedf7;
}

.contact {
  min-height: 68px;
  padding: 10px 12px;
  border-radius: 12px;
}

.contact.active,
.contact:hover {
  background: #f0ecfb;
  transform: none;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.avatar.accent {
  background: linear-gradient(135deg, #b64eff, #6d18e5);
}

.avatar.blue {
  background: linear-gradient(135deg, #77d3ff, #4b74ff);
}

.avatar.green {
  background: linear-gradient(135deg, #82dfbc, #34bb86);
}

.avatar.orange {
  background: linear-gradient(135deg, #ffd89b, #ffb257);
}

.contact strong,
.chat-topbar strong,
.floating-panel strong,
.message-card strong {
  font-family: var(--sb-font);
  color: #17151d;
  font-size: 14px;
  font-weight: 900;
}

.contact em,
.chat-topbar em,
.floating-panel span {
  color: #8b8795;
  font-size: 12px;
  font-weight: 600;
}

.chat-window {
  padding: 22px;
}

.chat-topbar {
  padding-bottom: 23px;
  border-bottom: 1px solid #eeeaf7;
}

.message-row {
  margin-top: 23px;
}

.bubble {
  max-width: 350px;
  padding: 13px 16px;
  border: 0;
  border-radius: 12px;
  background: #f0eef7;
  color: #24222a;
  font-size: 15px;
  line-height: 1.3;
}

.outgoing .bubble {
  border: 0;
  border-radius: 12px;
  background: var(--sb-grad);
}

.message-card {
  grid-template-columns: 78px 1fr;
  gap: 15px;
  max-width: 360px;
  margin-top: 22px;
  padding: 12px;
  border: 1px solid #e9e3f7;
  border-radius: 16px;
  background: #fff;
}

.message-card p {
  color: #76727f;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.card-image {
  min-height: 72px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6d94ff, #b55aff);
}

.composer {
  min-height: 54px;
  padding: 0 8px 0 18px;
  border-radius: 12px;
  background: #f0eef7;
}

.composer button {
  border-radius: 12px;
  background: #7518d9;
  font-family: var(--sb-font);
}

.floating-panel {
  border: 1px solid #e9e3f7;
  border-radius: 12px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 18px 36px rgba(35, 30, 62, 0.12);
}

.floating-panel.ai {
  top: 53px;
  right: -20px;
  min-width: 239px;
  animation: none;
}

.floating-panel.stats {
  left: -32px;
  bottom: 54px;
  min-width: 162px;
  animation: none;
}

.floating-panel.stats strong {
  font-size: 29px;
  line-height: 1;
}

.logo-strip {
  min-height: 168px;
  padding: 36px 0 36px;
  border-color: #ececf2;
  background: #fff;
}

.logo-strip p {
  margin: 0 0 28px;
  color: #73717c;
  font-family: var(--sb-font);
  font-size: 16px;
  font-weight: 900;
}

.marquee-track {
  gap: 42px;
  animation: marquee 40s linear infinite;
}

.marquee-track span {
  color: #61616b;
  font-family: var(--sb-font);
  font-size: 24px;
  font-weight: 900;
  opacity: 1;
}

@media (max-width: 1120px) {
  .site-header {
    padding: 0 24px;
  }

  .nav {
    gap: 18px;
    margin-left: 12px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    padding-top: 120px;
  }

  .hero-copy,
  .hero-visual {
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
    padding: 0 20px;
    background: #fff;
  }

  .brand {
    font-size: 22px;
  }

  .site-header.is-open {
    align-items: start;
  }

  .site-header.is-open .nav {
    margin-left: 0;
  }

  .nav-link,
  .nav-trigger {
    font-size: 18px;
  }

  .header-actions {
    gap: 16px;
  }

  .hero {
    padding-top: 112px;
    padding-bottom: 42px;
    text-align: left;
  }

  h1 {
    margin-left: 0;
    margin-right: 0;
    font-size: 48px;
    line-height: 0.98;
  }

  .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
    font-size: 18px;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .app-shell {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 18px;
  }

  .chat-window {
    min-height: 470px;
  }
}

@media (max-width: 430px) {
  .hero-actions .pill-button,
  .hero-actions .outline-button {
    min-width: 0;
  }

  .marquee-track span {
    font-size: 20px;
  }
}

/* Reference navbar restore: Chinese top navigation with wide product dropdown. */
.site-header {
  grid-template-columns: auto 1fr auto;
  min-height: 74px;
  padding: 0 70px;
  border-top: 1px solid #e3e5eb;
  border-bottom: 1px solid #d7d9e2;
  background: rgba(255, 255, 255, 0.98);
  font-family: var(--font-latin);
}

.site-header.is-scrolled {
  min-height: 74px;
}

.brand {
  width: 74px;
  min-width: 74px;
  height: 50px;
  justify-content: center;
  gap: 0;
  border: 1px solid #dde1eb;
  border-radius: 8px;
  background: #f7f8fb;
  padding: 0;
  font-size: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}

.brand-logo {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-name {
  display: none;
  color: #0e1117;
  font-family: var(--font-latin);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: max-content;
  margin: 0 auto;
  transform: none;
  justify-content: flex-start;
  gap: 0;
  font-family: var(--font-latin);
  font-size: 16px;
  font-weight: 500;
  color: #0e1117;
}

.nav-item,
.nav-link,
.nav-trigger,
.site-header.is-scrolled .nav-item,
.site-header.is-scrolled .nav-link,
.site-header.is-scrolled .nav-trigger {
  min-height: 74px;
}

.nav-link,
.nav-trigger {
  gap: 7px;
  padding: 0 33px;
  font-weight: 500;
  line-height: 22px;
}

.nav-link:focus,
.nav-trigger:focus,
.brand:focus,
.mega-link:focus,
.nav-link:focus-visible,
.nav-trigger:focus-visible,
.brand:focus-visible,
.mega-link:focus-visible {
  outline: none;
}

.nav-link {
  align-items: center;
}

.chevron {
  display: block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
}

.nav-item:hover .chevron,
.nav-item.is-active .chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

.nav-trigger::after,
.nav-link::after {
  display: block;
  height: 2px;
  bottom: -1px;
  right: auto;
  left: 0;
  width: 100%;
  background: #742bff;
  transform: none;
}

.nav-trigger::after {
  width: calc(100% - 14px);
}

.nav-link::after,
.nav-trigger::after,
.nav-link:hover::after,
.nav-item:hover .nav-trigger::after,
.nav-item.is-active .nav-trigger::after {
  opacity: 0;
}

.nav-link:hover,
.nav-trigger:hover,
.nav-item.is-active .nav-trigger,
.nav-link--active,
.nav-item--active .nav-trigger {
  color: #742bff;
  background: rgba(116, 43, 255, 0.08);
}

.nav-link:hover::after,
.nav-trigger:hover::after,
.nav-item:hover:not(.is-active) .nav-trigger::after {
  opacity: 1;
}

.nav-item.is-active .nav-trigger::after,
.nav-item.is-active:hover .nav-trigger::after,
.nav-item.is-active .nav-trigger:hover::after {
  opacity: 0;
}

.nav-link--active::after,
.nav-item--active .nav-trigger::after {
  opacity: 0;
}

.header-actions {
  display: none;
}

.mega-menu,
.site-header.is-scrolled .mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(390px, calc(100vw - 48px));
  min-height: 0;
  border: 1px solid #dfe2eb;
  border-top: 1px solid #e6e8ef;
  border-radius: 0 0 14px 14px;
  background: #fff;
  box-shadow: 0 24px 56px rgba(18, 21, 33, 0.12);
  transform: translate(-50%, -8px);
}

.nav-item:hover .mega-menu,
.nav-item.is-active .mega-menu,
.nav-item:focus-within .mega-menu {
  transform: translate(-50%, 0);
}

.mega-menu--product {
  position: absolute;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  left: 50% !important;
  width: 520px;
  max-width: calc(100vw - (var(--page-gutter) * 2));
  height: auto;
  margin-left: 0;
  overflow: hidden;
  border-right: 1px solid #dfe2eb;
  border-bottom: 1px solid #dfe2eb;
  border-left: 1px solid #dfe2eb;
  border-top: 1px solid #dfe2eb;
  border-radius: 0 0 14px 14px;
  background: #fff;
  box-shadow: 0 24px 56px rgba(18, 21, 33, 0.12);
  transform: translate(-50%, -8px) !important;
}

.nav-item:hover .mega-menu--product,
.nav-item.is-active .mega-menu--product,
.nav-item:focus-within .mega-menu--product {
  transform: translate(-50%, 0) !important;
}

.mega-menu--product .mega-column {
  display: grid;
  gap: 8px;
  padding: 20px;
  min-width: 0;
}

.mega-menu--product .mega-label {
  margin: 0 0 8px;
}

.mega-menu--product .mega-link {
  min-height: 92px;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: 10px;
}

.mega-menu--product .mega-link:hover {
  border-color: #d9ccff;
  background: #f7f3ff;
}

.mega-menu--product .mega-link em {
  max-width: 360px;
  line-height: 1.42;
}

.mega-menu--simple:not(.mega-menu--product),
.mega-menu--wide {
  width: min(540px, calc(100vw - 96px));
}

.mega-label {
  margin: 0 0 22px;
  color: #7b8090;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

.mega-link {
  align-items: flex-start;
  gap: 12px;
  min-height: 72px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #0e1117;
}

.mega-link:hover {
  color: #0e1117;
  background: #f5f6fa;
  transform: none;
}

.mega-link--simple {
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: flex-start;
}

.mega-link strong {
  margin: 0 0 4px;
  color: #0e1117;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}

.mega-link em {
  max-width: 235px;
  color: #686f80;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.28;
  text-align: left;
}

.mega-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: #f1f2f6;
}

.mega-icon::before,
.mega-icon::after {
  background: #0e1117;
}

.mega-menu--simple:not(.mega-menu--product) .mega-link,
.mega-menu--wide:not(.mega-menu--product) .mega-link {
  grid-template-columns: minmax(0, 1fr);
  min-height: 52px;
  padding: 10px 12px;
}

.mega-menu--simple:not(.mega-menu--product) .mega-icon,
.mega-menu--wide:not(.mega-menu--product) .mega-icon {
  display: none;
}

.external-mark {
  margin-left: 2px;
  font-size: 15px;
  transform: none;
}

/* Homepage outline content refinements. */
.site-header .header-actions {
  display: flex;
  justify-content: flex-end;
  justify-self: end;
  width: auto;
  position: relative;
  z-index: 45;
}

.site-header .pill-button--small {
  min-width: 116px;
  min-height: 42px;
  padding: 0 20px;
}

.site-header,
.site-header.is-scrolled {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 80px;
  height: 80px;
  padding: 0 72px;
  border-top: 0;
  border-bottom: 0;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 24, 40, 0.08);
}

.header-right {
  display: flex;
  position: absolute;
  inset: 0 72px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-width: 0;
  pointer-events: none;
}

.header-right .nav,
.header-right .header-actions {
  pointer-events: auto;
}

.site-header .brand {
  width: auto;
  min-width: 0;
  height: 80px;
  gap: 10px;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  box-shadow: none !important;
  font-size: inherit;
}

.site-header .brand-logo {
  width: 40px;
  height: 40px;
}

.site-header .brand-name {
  display: inline-flex;
  color: #0e1117;
  font-family: var(--font-latin);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.nav {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-68%);
  width: auto;
  margin: 0;
  gap: 24px;
}

.site-header .header-actions {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.nav-item,
.nav-link,
.nav-trigger,
.site-header.is-scrolled .nav-item,
.site-header.is-scrolled .nav-link,
.site-header.is-scrolled .nav-trigger {
  min-height: 80px;
}

.nav-link,
.nav-trigger {
  padding: 0;
}

.product-links--enterprise,
.product-links--resources {
  padding-top: 72px;
}

.footer {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: flex-start;
  gap: 52px;
  padding: 52px 70px;
  background: #f7f8fb;
}

.footer > .brand {
  width: auto;
  min-width: 0;
  height: auto;
  justify-content: flex-start;
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: inherit;
}

.footer > .brand .brand-logo {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer > .brand .brand-name {
  display: inline-flex;
  color: #0e1117;
  font-family: var(--font-latin);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 28px;
  width: 100%;
}

.footer-grid div {
  display: grid;
  gap: 9px;
}

.footer-grid strong {
  margin-bottom: 6px;
  color: #0e1117;
  font-family: var(--font-latin);
  font-size: 14px;
  font-weight: 500;
}

.footer-grid a {
  color: #686f80;
  font-size: 13px;
  line-height: 1.25;
}

.footer-grid a:hover {
  color: #742bff;
}

.platform-page .feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.platform-page .feature-card,
.platform-page .feature-card:first-child {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  grid-row: auto;
  min-height: 290px;
  background: rgba(255, 255, 255, 0.72);
}

.platform-page .feature-card:first-child {
  background:
    linear-gradient(145deg, rgba(237, 230, 255, 0.9), rgba(255, 255, 255, 0.82)),
    var(--surface);
}

.platform-page .feature-card .feature-icon,
.platform-page .feature-card:first-child .feature-icon {
  margin-bottom: 42px;
}

.platform-page .feature-card .text-link {
  align-self: end;
  color: #742bff;
  font-weight: 800;
}

.platform-page .architecture-stack {
  margin-top: 28px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #e6e3f3;
  border-radius: 999px;
  color: #4f4b5e;
  background: rgba(255,255,255,0.8);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(560px, 1fr);
  align-items: center;
  gap: 58px;
  max-width: var(--page-max);
  min-height: 760px;
  margin: 0 auto;
  padding: 112px var(--page-gutter) 58px;
}

.page-hero-copy {
  max-width: 590px;
}

.page-hero h1 {
  max-width: 620px;
}

.architecture-section,
.compare-section,
.trial-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 48px;
}

.architecture-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
}

.architecture-flow span {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px solid #e4e0f2;
  border-radius: 8px;
  background: #fff;
  color: #0e1117;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 16px 34px rgba(35, 30, 62, 0.07);
}

.architecture-flow b {
  display: none;
}

.compare-table {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(120px, 0.8fr));
  overflow: hidden;
  border: 1px solid #deddea;
  border-radius: 8px;
  background: #fff;
}

.compare-table--three {
  grid-template-columns: 1.2fr repeat(2, minmax(140px, 0.8fr));
}

.compare-table div {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-right: 1px solid #eceaf5;
  border-bottom: 1px solid #eceaf5;
  color: #5f6170;
  font-size: 14px;
}

.compare-table div:nth-child(-n + 4),
.compare-table:not(.compare-table--three) div:nth-child(4n + 1):not(:first-child),
.compare-table--three div:nth-child(3n + 1):not(:first-child) {
  color: #101016;
  font-weight: 800;
}

.compare-table--three div:nth-child(-n + 3) {
  color: #101016;
  font-weight: 800;
}

.compare-table--three div:nth-child(4) {
  color: #101016;
  font-weight: 800;
}

.trial-section {
  border-top: 1px solid #eceaf5;
  background: linear-gradient(180deg, #fff, #faf8ff);
}

.trial-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 900px;
}

.trial-form label {
  display: grid;
  gap: 8px;
  color: #565563;
  font-size: 14px;
  font-weight: 700;
}

.trial-form .full {
  grid-column: 1 / -1;
}

.trial-form input,
.trial-form select,
.trial-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid #dfe2eb;
  border-radius: 8px;
  background: #fff;
  color: #101016;
  font: inherit;
}

.trial-form textarea {
  min-height: 116px;
  padding-top: 14px;
  resize: vertical;
}

.trial-form button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.solution-section,
.media-feature-section,
.stack-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 48px;
}

.solution-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: center;
}

.solution-copy {
  max-width: 560px;
}

.solution-copy h2,
.media-feature-copy h2,
.stack-section h2 {
  margin: 0 0 18px;
  color: #050508;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.96;
  letter-spacing: 0;
}

.solution-copy p,
.media-feature-copy p,
.stack-section .section-copy p {
  color: #656879;
  font-size: 18px;
  line-height: 1.72;
}

.solution-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.solution-stats span,
.deployment-list span {
  display: grid;
  gap: 4px;
  min-height: 84px;
  padding: 16px;
  border: 1px solid #e5e1f4;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(35, 30, 62, 0.06);
}

.solution-stats strong,
.deployment-list strong {
  color: #0e1117;
  font-size: 23px;
  line-height: 1;
}

.solution-stats em,
.deployment-list em {
  color: #737587;
  font-style: normal;
  font-size: 13px;
  line-height: 1.35;
}

.solution-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid #dfdcf0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(28, 23, 58, 0.11);
}

.solution-panel img,
.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-panel img {
  aspect-ratio: 16 / 10;
}

.solution-panel--soft img {
  opacity: 0.88;
}

.solution-overlay {
  position: absolute;
  inset: auto 18px 18px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
}

.solution-overlay strong {
  color: #0e1117;
  font-size: 18px;
}

.solution-overlay span {
  color: #656879;
  font-size: 14px;
}

.capability-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.capability-strip article,
.component-grid article,
.cooperation-grid article {
  min-height: 170px;
  padding: 22px;
  border: 1px solid #e4e0f2;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 34px rgba(35, 30, 62, 0.06);
}

.capability-strip h3,
.component-grid h3,
.cooperation-grid h3 {
  margin: 0 0 10px;
  color: #0e1117;
  font-size: 19px;
}

.capability-strip p,
.component-grid p,
.cooperation-grid p {
  margin: 0;
  color: #666979;
  line-height: 1.6;
}

.architecture-stack {
  display: grid;
  gap: 12px;
}

.stack-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #e4e0f2;
  border-radius: 10px;
  background: #fff;
}

.stack-row strong {
  display: flex;
  align-items: center;
  padding: 18px;
  background: #f7f3ff;
  color: #6d18e5;
}

.stack-row span {
  display: flex;
  align-items: center;
  padding: 18px;
  color: #5f6170;
  line-height: 1.55;
}

.media-feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 46px;
  align-items: center;
}

.media-frame {
  overflow: hidden;
  border: 1px solid #dfdcf0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(28, 23, 58, 0.12);
}

.media-frame img {
  aspect-ratio: 16 / 10;
}

.media-feature-list,
.deployment-list,
.component-grid,
.cooperation-grid {
  display: grid;
  gap: 14px;
}

.media-feature-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.media-feature-list span {
  padding: 14px 16px;
  border: 1px solid #e6e2f3;
  border-radius: 999px;
  background: #fff;
  color: #3f4050;
  font-weight: 800;
  text-align: center;
}

.deployment-list,
.component-grid,
.cooperation-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1180px) {
  .site-header {
    padding: 0 32px;
  }

  .nav-link,
  .nav-trigger {
    padding: 0 14px;
    font-size: 15px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }

  .page-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    padding-top: 120px;
  }

  .architecture-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .solution-layout,
  .media-feature-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .capability-strip,
  .deployment-list,
  .component-grid,
  .cooperation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --page-gutter: 22px;
  }

  .site-header {
    display: grid;
    grid-template-columns: auto auto;
    padding: 0 20px;
    height: auto;
    min-height: 80px;
    max-height: 100vh;
    overflow-y: auto;
  }

  .site-header.is-open {
    align-items: start;
  }

  .site-header .brand {
    width: auto;
    min-width: 0;
    height: 48px;
  }

  .site-header .brand-logo {
    width: 34px;
    height: 34px;
  }

  .site-header .brand-name {
    font-size: 17px;
  }

  .header-right {
    display: none;
    position: static;
    inset: auto;
    pointer-events: auto;
  }

  .site-header.is-open .header-right {
    display: flex;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .site-header.is-open .nav {
    position: static;
    right: auto;
    left: auto;
    top: auto;
    transform: none;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  .nav-link,
  .nav-trigger {
    padding: 0;
    font-size: 18px;
  }

  .mega-menu,
  .site-header.is-scrolled .mega-menu {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    transform: none;
  }

  .nav-item:hover .mega-menu,
  .nav-item.is-active .mega-menu,
  .nav-item:focus-within .mega-menu {
    transform: none;
  }

  .mega-menu--product {
    grid-template-columns: minmax(0, 1fr);
    left: auto !important;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: auto;
    border: 1px solid #dfe2eb;
    border-radius: 12px;
    transform: none !important;
  }

  .nav-item:hover .mega-menu--product,
  .nav-item.is-active .mega-menu--product,
  .nav-item:focus-within .mega-menu--product {
    transform: none !important;
  }

  .mega-menu--product .mega-column {
    padding: 14px;
  }

  .header-actions {
    display: none !important;
  }

  .site-header.is-open .header-actions {
    position: static;
    top: auto;
    right: auto;
    transform: none;
    display: flex !important;
    justify-content: flex-start;
    padding: 16px 0 20px;
  }

  .footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 36px 22px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }

  .page-hero,
  .architecture-section,
  .compare-section,
  .trial-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .page-hero {
    padding-top: 110px;
    text-align: center;
  }

  .page-hero-copy,
  .page-hero h1 {
    max-width: 100%;
  }

  .hero-tags {
    justify-content: center;
  }

  .architecture-flow,
  .trial-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .solution-section,
  .media-feature-section,
  .stack-section {
    padding: 64px 22px;
  }

  .solution-stats,
  .capability-strip,
  .media-feature-list,
  .deployment-list,
  .component-grid,
  .cooperation-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stack-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .solution-copy h2,
  .media-feature-copy h2,
  .stack-section h2 {
    font-size: 40px;
  }

  .compare-table {
    grid-template-columns: minmax(150px, 1fr) repeat(3, minmax(110px, 0.8fr));
    overflow-x: auto;
  }

  .compare-table--three {
    grid-template-columns: minmax(150px, 1fr) repeat(2, minmax(110px, 0.8fr));
  }

  .compare-table div {
    min-width: 110px;
  }
}

@media (max-width: 1180px) {
  .platform-page .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .platform-page .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .platform-page .feature-card,
  .platform-page .feature-card:first-child {
    min-height: 0;
  }
}

/* Platform homepage rhythm redesign. */
.platform-redesign {
  background: #fff;
  overflow-x: clip;
}

.platform-redesign .platform-hero,
.platform-redesign .what-section,
.platform-redesign .product-composition-section,
.platform-redesign .product-split,
.platform-redesign .workflow-section,
.platform-redesign .edition-path,
.platform-redesign .metric-band,
.platform-redesign .resources-editorial,
.platform-redesign .gradient-cta,
.platform-redesign .platform-capabilities,
.platform-redesign .system-architecture-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 104px 48px;
}

.platform-redesign .platform-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(520px, 1fr);
  align-items: center;
  gap: 64px;
  min-height: 720px;
  padding-top: 132px;
  padding-bottom: 72px;
}

.platform-hero-copy h1,
.what-title h2,
.split-copy h2,
.dark-section-copy h2,
.resources-title h2,
.gradient-cta h2 {
  margin: 0;
  color: #050508;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.2px;
  line-height: 1;
}

.platform-hero-copy h1 {
  max-width: 660px;
  font-size: clamp(48px, 5vw, 64px);
  line-height: 1;
}

.platform-hero-copy .hero-subtitle {
  max-width: 660px;
  margin-top: 26px;
  font-size: 20px;
  line-height: 26px;
}

.platform-hero-visual {
  position: relative;
  isolation: isolate;
  min-height: 560px;
}

.platform-hero-visual--screens {
  display: block;
}

.hero-screen {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(116, 43, 255, 0.18);
  border-radius: 26px;
  background: #050914;
  box-shadow: 0 28px 80px rgba(26, 20, 60, 0.18);
}

.hero-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-screen--chat {
  left: 0;
  top: 32px;
  width: min(96%, 680px);
  aspect-ratio: 1448 / 1086;
  z-index: 1;
}

.hero-screen--meeting {
  right: 0;
  bottom: 18px;
  width: min(72%, 500px);
  aspect-ratio: 1448 / 1086;
  border-color: rgba(61, 124, 255, 0.34);
  box-shadow: 0 30px 90px rgba(38, 84, 210, 0.24);
  z-index: 2;
}

.platform-capabilities {
  display: grid;
  justify-items: center;
  gap: 42px;
  padding-top: 82px;
}

.platform-capabilities-heading {
  display: grid;
  justify-items: center;
  text-align: center;
}

.platform-capabilities-heading h2 {
  max-width: 860px;
  margin: 0;
  color: #050508;
  font-family: var(--font-display);
  font-size: clamp(50px, 4.4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.2px;
  line-height: 1.3;
}

.platform-capabilities-heading p:last-child,
.what-title p:last-child {
  max-width: 760px;
  margin: 16px 0 0;
  color: #666979;
  font-size: 18px;
  line-height: 26px;
}

.capability-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  width: 100%;
  gap: 24px;
}

.capability-bento-card {
  display: grid;
  grid-template-rows: auto auto;
  align-content: space-between;
  overflow: hidden;
  min-height: 540px;
  padding: 26px;
  border: 1px solid #e6e2f3;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(32, 28, 64, 0.09);
}

.capability-bento-copy {
  display: grid;
  align-content: start;
  gap: 14px;
}

.capability-bento-card h3 {
  margin: 0;
  color: #11121a;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.2px;
  line-height: 1.3;
}

.capability-bento-card p {
  max-width: 540px;
  margin: 0;
  color: #666979;
  font-size: 18px;
  line-height: 26px;
}

.capability-bento-card--im,
.capability-bento-card--rtc {
  align-content: start;
  gap: 24px;
}

.capability-points {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.capability-points span {
  padding: 7px 9px;
  border: 1px solid #e6e2f3;
  border-radius: 999px;
  background: #faf9ff;
  color: #4f5262;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.bento-chat-visual,
.bento-meeting-visual {
  min-width: 0;
}

.bento-chat-visual {
  display: grid;
  grid-template-columns: 34% minmax(0, 1fr);
  height: 300px;
  border: 1px solid #e5e1f4;
  border-radius: 24px;
  background: #fff;
}

.bento-chat-sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
  border-right: 1px solid #ece9f7;
  background: #faf9ff;
}

.bento-chat-sidebar span {
  height: 34px;
  border-radius: 14px;
  background: #ece8f7;
}

.bento-chat-sidebar span:nth-child(2) {
  background: #dcd4ff;
}

.bento-chat-thread {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 22px;
}

.bento-chat-thread span {
  height: 34px;
  border-radius: 18px;
  background: #f0eef9;
}

.bento-chat-thread span:nth-child(2) {
  width: 68%;
  margin-left: auto;
  background: linear-gradient(135deg, #742bff, #3d7cff);
}

.bento-chat-thread span:nth-child(3) {
  height: 64px;
  border: 1px solid #e5e1f4;
  background: #fff;
}

.bento-chat-thread span:nth-child(4) {
  width: 48%;
}

.bento-chat-thread span:nth-child(5) {
  width: 58%;
  margin-left: auto;
  background: #e8f2ff;
}

.bento-meeting-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
  height: 300px;
  padding: 18px;
  border: 1px solid #e5e1f4;
  border-radius: 24px;
  background: #07101f;
}

.bento-meeting-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bento-meeting-grid span {
  min-height: 92px;
  border: 1px solid rgba(83, 145, 255, 0.38);
  border-radius: 18px;
  background: linear-gradient(135deg, #edf6ff, #e9e2ff);
}

.bento-meeting-grid span:nth-child(2),
.bento-meeting-grid span:nth-child(3) {
  background: linear-gradient(135deg, #1b2f54, #3d7cff);
}

.bento-member-list {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(105, 143, 255, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.bento-member-list span {
  height: 28px;
  border-radius: 999px;
  background: rgba(236, 242, 255, 0.18);
}

.bento-call-controls {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 11px;
  border: 1px solid rgba(105, 143, 255, 0.22);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
}

.bento-call-controls i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(61, 124, 255, 0.28);
}

.bento-call-controls i:nth-child(2) {
  background: #742bff;
}

.bento-call-controls i:nth-child(4) {
  background: #ff4f72;
}

.what-section {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 44px 68px;
  padding: 84px 64px;
  border-radius: 34px;
  background: #faf9ff;
}

.what-title {
  grid-column: 1 / -1;
  max-width: 780px;
}

.what-title h2,
.split-copy h2,
.resources-title h2 {
  font-size: clamp(50px, 4.4vw, 56px);
  font-weight: 600;
  line-height: 1.3;
}

.what-title h2 {
  font-size: clamp(50px, 4.4vw, 56px);
  line-height: 1.3;
}

.what-architecture {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 400px;
  padding: 32px;
  border: 1px solid #e6e2f3;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(32, 28, 64, 0.08);
}

.arch-node {
  display: grid;
  place-items: center;
  width: min(100%, 260px);
  min-height: 58px;
  padding: 12px 18px;
  border: 1px solid #e3dff1;
  border-radius: 18px;
  background: #fff;
  color: #11121a;
  font-weight: 850;
  text-align: center;
}

.arch-node--server {
  color: #fff;
  background: linear-gradient(135deg, #742bff, #3d7cff);
}

.arch-line {
  width: 2px;
  height: 34px;
  background: #d8d1ec;
}

.arch-branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100%, 360px);
  height: 48px;
}

.arch-branches span {
  position: relative;
}

.arch-branches span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 48px;
  background: #d8d1ec;
}

.arch-branches span:nth-child(2)::after {
  content: "";
  position: absolute;
  left: -50%;
  right: -50%;
  top: 0;
  height: 2px;
  background: #d8d1ec;
}

.arch-node-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 420px);
}

.arch-node-row span {
  display: grid;
  place-items: center;
  min-height: 48px;
  border-radius: 16px;
  background: #f4efff;
  color: #4d2aa0;
  font-weight: 850;
}

.what-list {
  display: grid;
  gap: 28px;
}

.what-list article {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid #ece9f7;
}

.what-list article > span {
  color: #742bff;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
}

.what-list h3 {
  margin: 0 0 10px;
  color: #11121a;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
}

.what-list p,
.split-copy p,
.resources-title p {
  color: #666979;
  font-size: 18px;
  line-height: 26px;
}

.product-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 86px;
}

.product-split--video {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  padding-top: 48px;
}

.split-copy ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 28px;
  padding: 0;
  list-style: none;
}

.split-copy li {
  position: relative;
  padding-left: 24px;
  color: #2f3140;
  font-weight: 750;
}

.split-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #742bff;
}

.product-window {
  min-height: 420px;
  aspect-ratio: 1.42;
  border: 1px solid #e2def0;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(32, 28, 64, 0.1);
}

.chat-product-window {
  display: grid;
  grid-template-columns: 32% 1fr;
  overflow: hidden;
}

.window-sidebar {
  background:
    linear-gradient(#f1eff8 0 0) 24px 36px / 64% 18px no-repeat,
    linear-gradient(#e8e4f4 0 0) 24px 82px / 78% 52px no-repeat,
    linear-gradient(#e8e4f4 0 0) 24px 154px / 62% 52px no-repeat,
    #faf9ff;
  border-right: 1px solid #ece9f7;
}

.window-main {
  display: grid;
  align-content: center;
  gap: 20px;
  padding: 44px;
}

.window-main span {
  height: 48px;
  border-radius: 18px;
  background: #f0eef9;
}

.window-main span:nth-child(2) {
  width: 68%;
  margin-left: auto;
  background: linear-gradient(135deg, #742bff, #3d7cff);
}

.window-main span:nth-child(3) {
  width: 82%;
  height: 92px;
  border: 1px solid #e5e1f4;
  background: #fff;
}

.window-main b {
  color: #742bff;
}

.meeting-product-window {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
  padding: 22px;
}

.meeting-tile {
  border-radius: 20px;
  background: linear-gradient(135deg, #edf6ff, #e9e2ff);
}

.meeting-tile.large {
  grid-row: span 2;
  background: linear-gradient(135deg, #dff7ff, #ded4ff);
}

.meeting-control-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 18px;
}

.meeting-control-row span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f0eef9;
}

.meeting-control-row span:nth-child(2) {
  background: #742bff;
}

.system-architecture-section {
  margin: 40px auto 60px;
  padding: 78px 64px;
  scroll-margin-top: 100px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 12%, rgba(116, 43, 255, 0.34), transparent 34%),
    radial-gradient(circle at 86% 40%, rgba(61, 124, 255, 0.18), transparent 32%),
    #0d1021;
  color: #fff;
  overflow: hidden;
}

.system-architecture-copy {
  display: grid;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto 48px;
  text-align: center;
}

.system-architecture-copy h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0;
}

.system-architecture-copy p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(246, 248, 255, 0.74);
  font-size: 18px;
  line-height: 1.64;
}

.system-architecture-canvas {
  position: relative;
  display: grid;
  gap: 26px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid rgba(224, 232, 255, 0.13);
  border-radius: 28px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    rgba(255, 255, 255, 0.045);
  background-size: 34px 34px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

.system-layer-card,
.system-side-panel,
.system-server-core {
  border: 1px solid rgba(224, 232, 255, 0.14);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.system-layer-card {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  min-height: 112px;
  padding: 22px;
  border-radius: 22px;
}

.system-layer-card--experience {
  background:
    linear-gradient(135deg, rgba(116, 43, 255, 0.22), rgba(61, 124, 255, 0.1)),
    rgba(255, 255, 255, 0.075);
}

.system-layer-card--infra {
  background:
    linear-gradient(135deg, rgba(61, 124, 255, 0.16), rgba(116, 43, 255, 0.09)),
    rgba(255, 255, 255, 0.065);
}

.system-layer-label,
.system-panel-kicker {
  color: rgba(221, 226, 255, 0.68);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
}

.system-layer-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.system-layer-label::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #9f7cff, #5ea0ff);
  box-shadow: 0 0 22px rgba(116, 43, 255, 0.75);
}

.system-chip-row,
.system-chip-grid,
.system-service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.system-chip-row--large {
  gap: 12px;
}

.system-chip-row span,
.system-chip-grid span,
.system-service-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid rgba(208, 219, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.085);
  color: rgba(249, 250, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.system-chip-row--large span {
  min-height: 48px;
  padding: 12px 18px;
  border-color: rgba(172, 154, 255, 0.27);
  background: rgba(116, 43, 255, 0.18);
  font-size: 16px;
}

.system-architecture-flow {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) 58px minmax(300px, 1.18fr) 58px minmax(220px, 0.82fr);
  align-items: center;
  gap: 0;
}

.system-side-panel,
.system-server-core {
  position: relative;
  min-width: 0;
  border-radius: 24px;
}

.system-side-panel {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 300px;
  padding: 24px;
}

.system-side-panel h3,
.system-server-core h3 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.18;
}

.system-server-core {
  display: grid;
  gap: 18px;
  min-height: 360px;
  padding: 34px 30px;
  border-color: rgba(164, 134, 255, 0.48);
  background:
    radial-gradient(circle at 50% 0%, rgba(116, 43, 255, 0.42), transparent 48%),
    linear-gradient(145deg, rgba(116, 43, 255, 0.28), rgba(61, 124, 255, 0.16)),
    rgba(255, 255, 255, 0.09);
  box-shadow:
    0 28px 80px rgba(25, 13, 74, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.system-server-core h3 {
  font-size: 34px;
}

.system-server-glow {
  position: absolute;
  inset: -34px 22% auto;
  height: 72px;
  border-radius: 999px;
  background: rgba(116, 43, 255, 0.56);
  filter: blur(34px);
  pointer-events: none;
}

.system-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.system-service-grid span {
  min-height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  white-space: normal;
}

.system-service-grid span:last-child {
  grid-column: 1 / -1;
}

.system-flow-line {
  position: relative;
  z-index: 2;
  height: 2px;
  background: linear-gradient(90deg, rgba(133, 104, 255, 0.2), rgba(109, 161, 255, 0.92));
}

.system-flow-line::before,
.system-flow-line::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.system-flow-line::before {
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(142, 170, 255, 0.95);
  box-shadow: 0 0 16px rgba(116, 43, 255, 0.85);
}

.system-flow-line::after {
  right: -1px;
  width: 10px;
  height: 10px;
  border-top: 2px solid rgba(142, 186, 255, 0.95);
  border-right: 2px solid rgba(142, 186, 255, 0.95);
  transform: translateY(-50%) rotate(45deg);
}

.system-flow-line--right {
  background: linear-gradient(90deg, rgba(109, 161, 255, 0.92), rgba(133, 104, 255, 0.2));
}

.dark-architecture {
  margin: 80px 0;
  padding: 112px 48px 124px;
  background: #0e1020;
  color: #fff;
}

.dark-section-copy,
.architecture-map {
  max-width: 1240px;
  margin: 0 auto;
}

.dark-section-copy h2 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(50px, 4.4vw, 56px);
  line-height: 1.3;
}

.architecture-map {
  display: grid;
  grid-template-columns: minmax(132px, 1fr) 42px minmax(132px, 1fr) 42px minmax(132px, 1fr) 42px minmax(132px, 1fr) 42px minmax(132px, 1fr);
  align-items: center;
  margin-top: 64px;
}

.architecture-map span {
  min-height: 118px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  color: #f5f2ff;
  text-align: center;
  font-weight: 850;
}

.architecture-map b {
  display: block;
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, rgba(122, 87, 255, 0.2), rgba(78, 140, 255, 0.9));
}

.architecture-map b::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1px;
  width: 9px;
  height: 9px;
  border-top: 2px solid rgba(120, 170, 255, 0.95);
  border-right: 2px solid rgba(120, 170, 255, 0.95);
  transform: translateY(-50%) rotate(45deg);
}

.workflow-section .section-copy {
  margin-bottom: 54px;
}

.developer-access-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(390px, 0.76fr);
  align-items: center;
  gap: 72px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 34px;
  height: 1px;
  background: #e3dff1;
}

.timeline article {
  position: relative;
  padding-top: 78px;
}

.timeline article > span {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #742bff;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(116, 43, 255, 0.26);
}

.timeline h3 {
  margin: 0 0 12px;
  color: #11121a;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
}

.timeline p {
  margin: 0;
  color: #666979;
  font-size: 18px;
  line-height: 26px;
}

.developer-preview {
  overflow: hidden;
  border: 1px solid #242840;
  border-radius: 28px;
  background: #0e1020;
  box-shadow: 0 30px 90px rgba(32, 28, 64, 0.18);
}

.developer-preview-top {
  display: flex;
  gap: 8px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.developer-preview-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
}

.developer-preview pre {
  margin: 0;
  padding: 28px 26px 24px;
  color: #eceaff;
  font-size: 13px;
  line-height: 1.72;
  white-space: pre-wrap;
}

.sdk-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 26px 28px;
}

.sdk-tag-list span {
  padding: 8px 11px;
  border: 1px solid rgba(150, 139, 255, 0.32);
  border-radius: 999px;
  background: rgba(116, 43, 255, 0.14);
  color: #ddd8ff;
  font-size: 12px;
  font-weight: 800;
}

.platform-redesign :is(a, button, summary):focus-visible,
.site-header :is(a, button):focus-visible,
.footer :is(a, button):focus-visible {
  outline: 3px solid rgba(116, 43, 255, 0.42);
  outline-offset: 4px;
  border-radius: 8px;
}

.footer-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.edition-path {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr);
  align-items: center;
  gap: 52px;
}

.edition-column {
  padding: 44px 0;
  border-top: 1px solid #e6e2f3;
  border-bottom: 1px solid #e6e2f3;
}

.edition-column h2 {
  margin: 0 0 18px;
  color: #11121a;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.3;
}

.edition-column p {
  color: #666979;
  font-size: 18px;
  line-height: 26px;
}

.edition-arrow {
  display: grid;
  justify-items: center;
  gap: 14px;
  color: #742bff;
  font-weight: 850;
  text-align: center;
}

.edition-arrow b {
  font-size: 52px;
  line-height: 1;
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.metric-item strong {
  display: block;
  color: #11121a;
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 92px);
  line-height: 0.9;
}

.metric-item span {
  display: block;
  margin-top: 16px;
  color: #666979;
  font-size: 17px;
  font-weight: 800;
}

.resources-editorial {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
  align-items: start;
  gap: 96px;
}

.resource-list {
  border-top: 1px solid #e6e2f3;
}

.resource-list a {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid #e6e2f3;
}

.resource-list span {
  color: #11121a;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
}

.resource-list em {
  color: #666979;
  font-style: normal;
  font-size: 18px;
  line-height: 26px;
}

.resource-list a:hover span {
  color: #742bff;
}

.gradient-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  margin-bottom: 92px;
  border-radius: 34px;
  background: linear-gradient(135deg, #6f2cff, #3d7cff 56%, #20c8e8);
  color: #fff;
}

.gradient-cta h2 {
  max-width: 780px;
  color: #fff;
  font-size: clamp(50px, 4.4vw, 56px);
  line-height: 1.3;
}

.platform-redesign .hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.platform-redesign .hero-actions .pill-button,
.platform-redesign .hero-actions .outline-button {
  min-height: 52px;
}

.platform-redesign .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* Reference screenshot rhythm pass: compact homepage section geometry. */
.platform-redesign .platform-hero,
.platform-redesign .what-section,
.platform-redesign .product-composition-section,
.platform-redesign .product-split,
.platform-redesign .workflow-section,
.platform-redesign .edition-path,
.platform-redesign .metric-band,
.platform-redesign .resources-editorial,
.platform-redesign .gradient-cta,
.platform-redesign .platform-capabilities,
.platform-redesign .system-architecture-section,
.platform-redesign .faq-section {
  max-width: 1120px;
  padding-left: 40px;
  padding-right: 40px;
}

.platform-redesign .platform-hero {
  grid-template-columns: minmax(0, 0.88fr) minmax(470px, 1.12fr);
  gap: 48px;
  min-height: 610px;
  padding-top: 108px;
  padding-bottom: 42px;
}

.platform-hero-copy h1 {
  max-width: 470px;
}

.platform-hero-copy .hero-subtitle {
  max-width: 500px;
  margin-top: 18px;
  margin-bottom: 26px;
}

.platform-hero-visual {
  min-height: 450px;
}

.hero-screen--chat {
  top: 18px;
  width: min(94%, 560px);
}

.hero-screen--meeting {
  bottom: 12px;
  width: min(68%, 390px);
}

.platform-capabilities {
  gap: 30px;
  padding-top: 46px;
  padding-bottom: 48px;
}

.platform-capabilities-heading h2 {
  max-width: 720px;
}

.platform-capabilities-heading p:last-child {
  max-width: 620px;
  margin-top: 10px;
}

.capability-bento {
  gap: 28px;
}

.capability-bento-card {
  min-height: 330px;
  padding: 24px;
  border-radius: 18px;
}

.capability-bento-card--im,
.capability-bento-card--rtc {
  gap: 18px;
}

.capability-bento-card h3 {
  font-size: 24px;
}

.capability-bento-card p {
  font-size: 15px;
  line-height: 22px;
}

.capability-points {
  gap: 6px;
}

.capability-points span {
  padding: 6px 8px;
  font-size: 11px;
}

.bento-chat-visual,
.bento-meeting-visual {
  height: 178px;
  border-radius: 16px;
}

.bento-chat-sidebar {
  gap: 8px;
  padding: 14px;
}

.bento-chat-sidebar span {
  height: 24px;
  border-radius: 10px;
}

.bento-chat-thread {
  gap: 8px;
  padding: 16px;
}

.bento-chat-thread span {
  height: 24px;
  border-radius: 12px;
}

.bento-chat-thread span:nth-child(3) {
  height: 42px;
}

.bento-meeting-visual {
  grid-template-columns: minmax(0, 1fr) 74px;
  gap: 9px;
  padding: 12px;
}

.bento-meeting-grid {
  gap: 7px;
}

.bento-meeting-grid span {
  min-height: 54px;
  border-radius: 12px;
}

.bento-member-list {
  gap: 6px;
  padding: 8px;
  border-radius: 12px;
}

.bento-member-list span {
  height: 18px;
}

.bento-call-controls {
  gap: 9px;
  padding: 8px;
  border-radius: 16px;
}

.bento-call-controls i {
  width: 26px;
  height: 26px;
}

.what-section {
  gap: 30px 48px;
  padding-top: 50px;
  padding-bottom: 50px;
  border-radius: 18px;
}

.what-title {
  max-width: 620px;
}

.what-title h2,
.split-copy h2,
.resources-title h2,
.dark-section-copy h2,
.gradient-cta h2 {
  font-size: clamp(34px, 3.6vw, 46px);
  line-height: 1.08;
}

.what-title p:last-child {
  max-width: 620px;
  margin-top: 10px;
}

.what-architecture {
  min-height: 280px;
  padding: 24px;
  border-radius: 18px;
}

.what-list {
  gap: 18px;
}

.what-list article {
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 20px;
}

.what-list article > span {
  font-size: 28px;
}

.what-list h3,
.timeline h3,
.resource-list span {
  font-size: 22px;
}

.what-list p,
.split-copy p,
.resources-title p,
.timeline p,
.edition-column p,
.resource-list em {
  font-size: 15px;
  line-height: 22px;
}

.product-split {
  gap: 56px;
  padding-top: 52px;
  padding-bottom: 52px;
}

.product-window {
  min-height: 300px;
  border-radius: 18px;
}

.window-main {
  gap: 14px;
  padding: 30px;
}

.window-main span {
  height: 34px;
}

.window-main span:nth-child(3) {
  height: 62px;
}

.split-copy ul {
  gap: 8px;
  margin: 18px 0 18px;
}

.dark-architecture {
  max-width: 1120px;
  margin: 28px auto;
  padding: 54px 40px;
  border-radius: 18px;
}

.architecture-map {
  margin-top: 34px;
}

.architecture-map span {
  min-height: 82px;
  border-radius: 16px;
  font-weight: 600;
}

.workflow-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.workflow-section .section-copy {
  margin-bottom: 32px;
}

.developer-access-layout {
  gap: 44px;
}

.timeline {
  gap: 26px;
}

.timeline article {
  padding-top: 60px;
}

.timeline article > span {
  width: 48px;
  height: 48px;
  font-weight: 600;
}

.timeline::before {
  top: 24px;
}

.developer-preview {
  border-radius: 18px;
}

.developer-preview pre {
  padding: 22px;
  font-size: 12px;
  line-height: 1.6;
}

.edition-path {
  gap: 32px;
  padding-top: 44px;
  padding-bottom: 44px;
}

.edition-column {
  padding: 28px 0;
}

.edition-column h2 {
  font-size: 34px;
  line-height: 1.08;
}

.metric-band {
  gap: 28px;
  padding-top: 34px;
  padding-bottom: 34px;
}

.metric-item strong {
  font-size: clamp(42px, 4.5vw, 64px);
}

.resources-editorial {
  gap: 58px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.resource-list a {
  gap: 18px;
  padding: 17px 0;
}

.gradient-cta {
  gap: 34px;
  min-height: 136px;
  margin-bottom: 34px;
  padding-top: 34px;
  padding-bottom: 34px;
  border-radius: 18px;
}

.faq-section {
  gap: 44px;
  padding-top: 42px;
  padding-bottom: 42px;
}

summary {
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 18px;
}

.footer {
  padding: 36px 70px;
}

.platform-redesign .platform-capabilities {
  padding-top: 46px;
  padding-bottom: 48px;
}

.platform-redesign .what-section {
  padding-top: 50px;
  padding-bottom: 50px;
}

.platform-redesign .system-architecture-section {
  margin-top: 34px;
  margin-bottom: 34px;
  padding-top: 58px;
  padding-bottom: 58px;
}

.platform-redesign .product-split {
  padding-top: 52px;
  padding-bottom: 52px;
}

.platform-redesign .workflow-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.platform-redesign .edition-path {
  padding-top: 44px;
  padding-bottom: 44px;
}

.platform-redesign .metric-band {
  padding-top: 34px;
  padding-bottom: 34px;
}

.platform-redesign .resources-editorial {
  padding-top: 48px;
  padding-bottom: 48px;
}

.platform-redesign .gradient-cta {
  padding-top: 34px;
  padding-bottom: 34px;
}

@media (max-width: 1180px) {
  .platform-redesign .platform-hero,
  .platform-capabilities,
  .product-split,
  .what-section,
  .system-architecture-flow,
  .resources-editorial,
  .edition-path,
  .developer-access-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .platform-hero-visual {
    min-height: 520px;
  }

  .capability-bento {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    max-width: 760px;
  }

  .capability-bento-card {
    min-height: 520px;
  }

  .metric-band,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .architecture-map {
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    gap: 18px;
  }

  .architecture-map b {
    display: none;
  }

  .system-architecture-canvas {
    max-width: 760px;
  }

  .system-architecture-flow {
    gap: 16px;
  }

  .system-side-panel,
  .system-server-core {
    min-height: 0;
  }

  .system-flow-line {
    justify-self: center;
    width: 2px;
    height: 34px;
    background: linear-gradient(180deg, rgba(133, 104, 255, 0.2), rgba(109, 161, 255, 0.92));
  }

  .system-flow-line::before {
    left: 50%;
    top: -3px;
    transform: translateX(-50%);
  }

  .system-flow-line::after {
    top: auto;
    right: 50%;
    bottom: -2px;
    transform: translateX(50%) rotate(135deg);
  }

  .timeline::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .platform-redesign .platform-hero,
  .platform-redesign .what-section,
  .platform-redesign .product-split,
  .platform-redesign .workflow-section,
  .platform-redesign .edition-path,
  .platform-redesign .metric-band,
  .platform-redesign .resources-editorial,
  .platform-redesign .gradient-cta,
  .platform-redesign .platform-capabilities,
  .platform-redesign .system-architecture-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .platform-redesign .platform-hero {
    padding-top: 104px;
    padding-bottom: 34px;
    min-height: auto;
    gap: 32px;
  }

  .platform-redesign .platform-capabilities {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .platform-redesign .what-section,
  .platform-redesign .product-split,
  .platform-redesign .workflow-section,
  .platform-redesign .resources-editorial,
  .platform-redesign .system-architecture-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .platform-redesign .edition-path,
  .platform-redesign .metric-band,
  .platform-redesign .gradient-cta {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .platform-hero-visual {
    min-height: 300px;
    overflow: hidden;
  }

  .hero-screen {
    border-radius: 20px;
  }

  .hero-screen--chat {
    top: 0;
    width: 100%;
  }

  .hero-screen--meeting {
    right: 0;
    bottom: 0;
    width: 68%;
  }

  .what-list article,
  .resource-list a {
    grid-template-columns: minmax(0, 1fr);
  }

  .what-section {
    gap: 28px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .platform-capabilities {
    gap: 24px;
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .capability-bento {
    grid-template-columns: minmax(0, 1fr);
    max-width: none;
    gap: 18px;
  }

  .capability-bento-card {
    min-height: auto;
    gap: 18px;
    padding: 20px;
    border-radius: 18px;
  }

  .capability-bento-card h3 {
    font-size: 23px;
  }

  .capability-points {
    gap: 7px;
  }

  .capability-points span {
    padding: 7px 9px;
    font-size: 11px;
  }

  .bento-chat-visual {
    grid-template-columns: 96px minmax(0, 1fr);
    height: 220px;
    border-radius: 18px;
  }

  .bento-chat-sidebar,
  .bento-chat-thread {
    padding: 18px;
  }

  .bento-chat-sidebar {
    gap: 12px;
  }

  .bento-chat-sidebar span,
  .bento-chat-thread span {
    height: 34px;
  }

  .bento-chat-thread {
    gap: 12px;
  }

  .bento-chat-thread span:nth-child(3) {
    height: 66px;
  }

  .bento-meeting-visual {
    grid-template-columns: minmax(0, 1fr);
    height: 250px;
    border-radius: 18px;
  }

  .bento-member-list {
    display: none;
  }

  .bento-call-controls {
    padding: 12px;
  }

  .what-architecture {
    min-height: 260px;
    padding: 18px;
  }

  .arch-node {
    min-height: 44px;
    border-radius: 16px;
  }

  .arch-line {
    height: 20px;
  }

  .arch-branches {
    height: 26px;
  }

  .arch-branches span::before {
    height: 26px;
  }

  .arch-node-row {
    gap: 8px;
  }

  .arch-node-row span {
    min-height: 36px;
  }

  .platform-capabilities-heading h2,
  .what-title h2 {
    max-width: 100%;
    font-size: 44px;
    line-height: 48px;
  }

  .platform-capabilities-heading p:last-child,
  .what-title p:last-child {
    font-size: 16px;
    line-height: 1.62;
  }

  .what-list {
    gap: 22px;
  }

  .what-list article {
    gap: 12px;
    padding-bottom: 24px;
  }

  .what-list article > span {
    font-size: 30px;
  }

  .arch-node-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .system-architecture-section {
    border-radius: 18px;
  }

  .system-architecture-copy {
    gap: 12px;
    margin-bottom: 26px;
    text-align: left;
  }

  .system-architecture-copy h2 {
    font-size: 34px;
    line-height: 38px;
  }

  .system-architecture-copy p:last-child {
    font-size: 16px;
    line-height: 1.62;
  }

  .system-architecture-canvas {
    gap: 16px;
    padding: 16px;
    border-radius: 20px;
    background-size: 26px 26px;
  }

  .system-layer-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 18px;
    border-radius: 18px;
  }

  .system-side-panel,
  .system-server-core {
    gap: 14px;
    padding: 20px;
    border-radius: 18px;
  }

  .system-side-panel h3 {
    font-size: 22px;
  }

  .system-server-core h3 {
    font-size: 28px;
  }

  .system-chip-row span,
  .system-chip-grid span,
  .system-service-grid span {
    min-height: 34px;
    white-space: normal;
    font-size: 13px;
  }

  .system-service-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-window {
    min-height: 0;
    aspect-ratio: 1.18;
  }

  .product-split {
    gap: 30px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .product-split--video .split-copy {
    order: 2;
  }

  .product-split--video .split-visual {
    order: 1;
  }

  .architecture-map {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .architecture-map b {
    justify-self: center;
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, rgba(122, 87, 255, 0.2), rgba(78, 140, 255, 0.9));
  }

  .architecture-map b::after {
    top: auto;
    right: 50%;
    bottom: -1px;
    transform: translateX(50%) rotate(135deg);
  }

  .timeline,
  .metric-band {
    grid-template-columns: minmax(0, 1fr);
  }

  .developer-access-layout {
    gap: 30px;
  }

  .developer-preview {
    border-radius: 22px;
  }

  .developer-preview pre {
    font-size: 12px;
  }

  .metric-band {
    gap: 24px;
  }

  .resources-editorial {
    gap: 34px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .resource-list a {
    gap: 10px;
    padding: 18px 0;
  }

  .edition-arrow {
    justify-items: start;
    gap: 8px;
  }

  .gradient-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    padding-top: 30px;
    padding-bottom: 30px;
    border-radius: 18px;
  }

  .platform-redesign .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .platform-redesign .hero-actions .pill-button,
  .platform-redesign .hero-actions .outline-button {
    width: 100%;
  }

  .footer-grid {
    align-items: start;
  }
}

/* Homepage layout stability pass: preserve existing visuals while keeping the hero
   and the next section from sharing the first viewport. */
.platform-redesign .platform-hero {
  min-height: 100dvh;
  align-content: center;
}

.platform-redesign .platform-capabilities {
  scroll-margin-top: 96px;
}

.platform-redesign .platform-hero-visual {
  width: 100%;
  contain: layout;
}

.platform-redesign .hero-screen {
  max-width: 100%;
}

@media (min-width: 1181px) {
  .platform-redesign .platform-hero {
    min-height: max(720px, 100dvh);
    padding-top: 116px;
    padding-bottom: 72px;
  }

  .platform-redesign .platform-hero-visual {
    min-height: clamp(460px, 39vw, 560px);
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .platform-redesign .platform-hero {
    min-height: 100dvh;
  }

  .platform-redesign .platform-hero-visual {
    min-height: clamp(460px, 52vw, 540px);
  }

  .platform-redesign .capability-bento {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .platform-redesign .platform-hero {
    min-height: 100dvh;
  }

  .platform-redesign .platform-hero-copy {
    min-width: 0;
  }

  .platform-redesign .platform-hero-visual {
    min-height: clamp(300px, 78vw, 360px);
  }

  .platform-redesign .hero-screen--chat {
    left: 0;
    right: 0;
  }

  .platform-redesign .hero-screen--meeting {
    max-width: 72%;
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto;
    align-items: center;
    min-height: 80px;
    padding: 0 32px;
    overflow-y: visible;
  }

  .site-header .brand {
    min-width: 0;
  }

  .menu-toggle {
    justify-self: end;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.2s ease;
  }

  .site-header.is-open {
    align-items: start;
    max-height: 100dvh;
    overflow-y: auto;
  }

  .site-header.is-open .menu-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .site-header.is-open .menu-toggle span:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

  .header-right {
    display: none;
    position: static;
    inset: auto;
    pointer-events: auto;
  }

  .site-header.is-open .header-right {
    display: flex;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .site-header.is-open .nav {
    display: flex;
    position: static;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    margin: 12px 0 0;
    color: #172033;
  }

  .site-header.is-open .header-actions {
    display: flex;
    justify-content: flex-start;
    padding: 16px 0 22px;
  }

  .nav-item,
  .nav-link,
  .nav-trigger,
  .site-header.is-scrolled .nav-item,
  .site-header.is-scrolled .nav-link,
  .site-header.is-scrolled .nav-trigger {
    width: 100%;
    min-height: 54px;
  }

  .nav-item {
    display: block;
    border-bottom: 1px solid #ecedf4;
  }

  .nav-link,
  .nav-trigger {
    justify-content: space-between;
    padding: 0;
    font-size: 18px;
    line-height: 1.25;
    white-space: normal;
  }

  .nav-link::after,
  .nav-trigger::after {
    display: none;
  }

  .mega-menu,
  .site-header.is-scrolled .mega-menu {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: auto;
    transform: none;
  }

  .nav-item:hover .mega-menu,
  .nav-item.is-active .mega-menu,
  .nav-item:focus-within .mega-menu {
    transform: none;
  }

  .mega-menu--product,
  .mega-menu--simple,
  .mega-menu--wide {
    left: auto !important;
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    transform: none !important;
  }

  .mega-menu--product {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .site-header {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* Global layout system: stable page/section/container/grid/media primitives. */
:root {
  --layout-header: 80px;
  --layout-container: 1120px;
  --layout-container-wide: 1240px;
  --layout-gutter: clamp(22px, 4vw, 48px);
  --layout-section-y: clamp(72px, 8vw, 104px);
  --layout-section-y-compact: clamp(48px, 6vw, 72px);
  --layout-grid-gap: clamp(24px, 4vw, 58px);
  --layout-card-gap: clamp(14px, 2vw, 28px);
  --layout-media-ratio: 16 / 10;
}

html {
  scroll-padding-top: calc(var(--layout-header) + 16px);
}

body {
  min-width: 0;
}

.site-page,
.platform-redesign {
  width: 100%;
  min-width: 0;
  overflow-x: clip;
}

.site-page > section,
.platform-redesign > section {
  position: relative;
  min-width: 0;
  scroll-margin-top: calc(var(--layout-header) + 16px);
}

.site-page > section:not(.final-cta),
.platform-redesign > section:not(.platform-hero):not(.gradient-cta) {
  overflow: clip;
}

.page-hero,
.intro-section,
.proof-section,
.product-links,
.faq-section,
.architecture-section,
.compare-section,
.trial-section,
.solution-section,
.media-feature-section,
.stack-section,
.platform-redesign .what-section,
.platform-redesign .product-composition-section,
.platform-redesign .product-split,
.platform-redesign .workflow-section,
.platform-redesign .edition-path,
.platform-redesign .metric-band,
.platform-redesign .resources-editorial,
.platform-redesign .gradient-cta,
.platform-redesign .platform-capabilities,
.platform-redesign .system-architecture-section,
.platform-redesign .faq-section {
  width: min(100%, var(--layout-container));
  max-width: var(--layout-container);
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--layout-gutter);
  padding-left: var(--layout-gutter);
}

.intro-section,
.proof-section,
.product-links,
.faq-section,
.architecture-section,
.compare-section,
.trial-section,
.solution-section,
.media-feature-section,
.stack-section {
  padding-top: var(--layout-section-y);
  padding-bottom: var(--layout-section-y);
}

.platform-redesign .what-section,
.platform-redesign .product-split,
.platform-redesign .workflow-section,
.platform-redesign .resources-editorial,
.platform-redesign .platform-capabilities,
.platform-redesign .system-architecture-section,
.platform-redesign .faq-section {
  padding-top: var(--layout-section-y-compact);
  padding-bottom: var(--layout-section-y-compact);
}

.platform-redesign .edition-path,
.platform-redesign .metric-band,
.platform-redesign .gradient-cta {
  padding-top: clamp(34px, 5vw, 56px);
  padding-bottom: clamp(34px, 5vw, 56px);
}

.page-hero {
  min-height: max(720px, 100dvh);
  padding-top: calc(var(--layout-header) + clamp(36px, 5vw, 64px));
  padding-bottom: clamp(56px, 7vw, 84px);
}

.page-hero,
.solution-layout,
.media-feature-layout,
.developer-access-layout,
.product-split,
.platform-redesign .platform-hero {
  gap: var(--layout-grid-gap);
}

.feature-grid,
.link-grid,
.component-grid,
.cooperation-grid,
.deployment-list,
.capability-strip,
.metric-band,
.timeline,
.resource-list,
.solution-stats,
.media-feature-list,
.trial-form {
  gap: var(--layout-card-gap);
  min-width: 0;
}

.hero-visual,
.platform-hero-visual,
.showcase-visual,
.split-visual,
.media-frame,
.solution-panel,
.developer-preview,
.product-window,
.app-shell,
.platform-visual,
.what-architecture,
.system-architecture-canvas,
.capability-bento-card,
.bento-chat-visual,
.bento-meeting-visual {
  min-width: 0;
  max-width: 100%;
  contain: layout paint;
}

.media-frame,
.solution-panel,
.developer-preview,
.product-window,
.app-shell,
.platform-visual {
  aspect-ratio: var(--layout-media-ratio);
}

.hero-visual .app-shell,
.platform-visual,
.app-shell {
  width: 100%;
  min-height: 0;
  height: auto;
}

img,
video,
canvas,
svg {
  max-width: 100%;
}

.hero-screen img,
.media-frame img,
.solution-panel img {
  width: 100%;
  height: 100%;
}

.hero-screen,
.floating-panel,
.solution-overlay,
.system-server-glow {
  max-width: 100%;
}

.platform-redesign .platform-hero {
  width: min(100%, var(--layout-container));
  max-width: var(--layout-container);
  min-height: 100dvh;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--layout-gutter);
  padding-left: var(--layout-gutter);
}

.platform-redesign .platform-capabilities {
  margin-top: 0;
}

@media (min-width: 1181px) {
  :root {
    --layout-header: 80px;
    --layout-gutter: 40px;
  }

  .site-page .hero-visual {
    min-height: auto;
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  :root {
    --layout-header: 80px;
    --layout-container: 100%;
    --layout-gutter: 40px;
    --layout-section-y: 80px;
    --layout-section-y-compact: 56px;
    --layout-grid-gap: 44px;
  }

  .page-hero,
  .solution-layout,
  .media-feature-layout,
  .product-split,
  .developer-access-layout,
  .resources-editorial,
  .edition-path,
  .what-section,
  .platform-redesign .platform-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-hero {
    min-height: 100dvh;
  }

  .hero-visual,
  .platform-visual,
  .app-shell {
    width: min(100%, 760px);
  }

  .hero-visual {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  :root {
    --layout-header: 80px;
    --layout-container: 100%;
    --layout-gutter: 22px;
    --layout-section-y: 64px;
    --layout-section-y-compact: 42px;
    --layout-grid-gap: 30px;
    --layout-card-gap: 14px;
  }

  .page-hero,
  .platform-redesign .platform-hero {
    min-height: 100dvh;
    padding-top: calc(var(--layout-header) + 28px);
    padding-bottom: 38px;
  }

  .page-hero,
  .solution-layout,
  .media-feature-layout,
  .product-split,
  .developer-access-layout,
  .resources-editorial,
  .edition-path,
  .what-section,
  .platform-redesign .platform-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-grid,
  .link-grid,
  .component-grid,
  .cooperation-grid,
  .deployment-list,
  .capability-strip,
  .metric-band,
  .timeline,
  .solution-stats,
  .media-feature-list,
  .trial-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual,
  .platform-visual,
  .app-shell,
  .media-frame,
  .solution-panel,
  .product-window,
  .developer-preview {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .app-shell,
  .platform-visual {
    overflow: hidden;
  }

  .floating-panel {
    display: none;
  }

  .media-feature-section:nth-of-type(even) .media-feature-layout > .media-frame,
  .product-split--video .split-visual {
    order: -1;
  }
}

/* Platform capabilities: two-column product visual layout. */
.platform-redesign .platform-capabilities {
  align-items: start;
  justify-items: stretch;
  gap: clamp(28px, 4vw, 44px);
}

.platform-redesign .platform-capabilities-heading {
  justify-items: center;
}

.platform-redesign .platform-capabilities-heading h2 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(34px, 3.7vw, 52px);
  line-height: 1.14;
}

.platform-redesign .platform-capabilities-heading p:last-child {
  max-width: 720px;
}

.platform-redesign .capability-bento {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(26px, 3vw, 34px);
  width: 100%;
  max-width: none;
}

.platform-redesign .capability-bento-card {
  display: grid;
  grid-template-rows: auto auto;
  gap: 26px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  contain: none;
}

.platform-redesign .capability-visual-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1.42 / 1;
  border-radius: 16px;
  background: #f4f4f6;
  box-shadow: inset 0 0 0 1px rgba(20, 24, 40, 0.04);
}

.platform-redesign .capability-bento-copy {
  gap: 14px;
  max-width: 520px;
}

.platform-redesign .capability-bento-card h3 {
  font-size: 22px;
  line-height: 1.2;
}

.platform-redesign .capability-bento-card p {
  max-width: 500px;
  color: #4f5262;
  font-size: 18px;
  line-height: 1.6;
}

.platform-redesign .capability-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 36px;
  color: #742bff;
  font-weight: 700;
  line-height: 1.2;
}

.platform-redesign .capability-link span {
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.platform-redesign .capability-link:hover span {
  transform: translateX(3px);
}

.platform-redesign .capability-visual-frame .bento-chat-visual,
.platform-redesign .capability-visual-frame .bento-meeting-visual {
  position: absolute;
  inset: 0;
  height: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.platform-redesign .capability-visual-frame .bento-chat-visual {
  display: block;
  background:
    radial-gradient(circle at 16% 86%, rgba(116, 43, 255, 0.16), transparent 20%),
    linear-gradient(180deg, #ffffff, #f6f6f8);
}

.platform-redesign .capability-visual-frame .bento-chat-visual::before {
  content: "";
  position: absolute;
  left: 6%;
  bottom: -20%;
  width: 45%;
  aspect-ratio: 0.58;
  border: 7px solid #050508;
  border-bottom: 0;
  border-radius: 34px 34px 0 0;
  background:
    linear-gradient(#f0f0f2 0 0) 8% 12% / 84% 10% no-repeat,
    linear-gradient(#d9ccff 0 0) 45% 26% / 43% 9% no-repeat,
    linear-gradient(#ffffff 0 0) 18% 42% / 52% 17% no-repeat,
    linear-gradient(#d9ccff 0 0) 42% 66% / 45% 10% no-repeat,
    #fbfbfd;
  box-shadow: 0 18px 45px rgba(22, 23, 34, 0.08);
}

.platform-redesign .capability-visual-frame .bento-chat-sidebar,
.platform-redesign .capability-visual-frame .bento-chat-thread {
  display: none;
}

.platform-redesign .bento-code-panel {
  position: absolute;
  right: 5%;
  top: 45%;
  z-index: 2;
  display: grid;
  gap: 9px;
  width: 56%;
  padding: 26px 28px;
  border-radius: 8px;
  background: #262626;
  box-shadow: 0 18px 42px rgba(20, 20, 25, 0.26);
}

.platform-redesign .bento-code-panel::before {
  content: "";
  width: 38px;
  height: 8px;
  border-radius: 999px;
  background:
    radial-gradient(circle, #ff5f56 0 45%, transparent 46%) 0 0 / 10px 8px no-repeat,
    radial-gradient(circle, #ffbd2e 0 45%, transparent 46%) 14px 0 / 10px 8px no-repeat,
    radial-gradient(circle, #27c93f 0 45%, transparent 46%) 28px 0 / 10px 8px no-repeat;
}

.platform-redesign .bento-code-panel span {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.platform-redesign .bento-code-panel span:nth-child(2) {
  width: 72%;
}

.platform-redesign .bento-code-panel span:nth-child(3) {
  width: 88%;
  background: rgba(196, 159, 255, 0.9);
}

.platform-redesign .bento-code-panel span:nth-child(4) {
  width: 62%;
}

.platform-redesign .capability-visual-frame .bento-meeting-visual {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.08fr);
  gap: 14px;
  padding: 12px 12px 12px 13%;
  background: #f4f4f6;
}

.platform-redesign .bento-live-card {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at 58% 28%, #d06747 0 20%, transparent 21%),
    linear-gradient(135deg, #f7fafc, #e9edf4);
}

.platform-redesign .bento-live-card span {
  position: absolute;
  left: 16px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: #ff3f45;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.platform-redesign .capability-visual-frame .bento-meeting-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.platform-redesign .capability-visual-frame .bento-meeting-grid span {
  min-height: 0;
  border: 0;
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.86) 0 17%, transparent 18%),
    linear-gradient(145deg, #25262c, #0f1016);
}

.platform-redesign .capability-visual-frame .bento-meeting-grid span:nth-child(1),
.platform-redesign .capability-visual-frame .bento-meeting-grid span:nth-child(4) {
  background:
    radial-gradient(circle at 52% 32%, #eadfd5 0 18%, transparent 19%),
    linear-gradient(145deg, #f5f1ec, #d8dbe3);
}

.platform-redesign .capability-visual-frame .bento-meeting-grid span:nth-child(2) {
  background:
    radial-gradient(circle at 52% 34%, #d7ab8c 0 18%, transparent 19%),
    linear-gradient(145deg, #eff3f5, #14151b);
}

.platform-redesign .capability-visual-frame .bento-meeting-grid span:nth-child(3) {
  background:
    radial-gradient(circle at 52% 34%, #7341d6 0 17%, transparent 18%),
    linear-gradient(145deg, #25262c, #161720);
}

.platform-redesign .capability-visual-frame .bento-call-controls {
  position: absolute;
  right: 18px;
  bottom: 14px;
  display: flex;
  gap: 9px;
  padding: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(5, 5, 8, 0.74);
}

.platform-redesign .capability-visual-frame .bento-call-controls i {
  width: 24px;
  height: 24px;
}

@media (max-width: 900px) {
  .platform-redesign .capability-bento {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .platform-redesign .capability-bento-copy {
    max-width: 640px;
  }
}

@media (max-width: 760px) {
  .platform-redesign .platform-capabilities-heading h2 {
    font-size: clamp(27px, 7.1vw, 38px);
    line-height: 1.16;
  }

  .platform-redesign .capability-visual-frame {
    aspect-ratio: 1.18 / 1;
    border-radius: 14px;
  }

  .platform-redesign .bento-code-panel {
    right: 5%;
    top: 47%;
    width: 61%;
    padding: 18px;
  }

  .platform-redesign .capability-visual-frame .bento-chat-visual::before {
    left: 5%;
    width: 52%;
  }

  .platform-redesign .capability-visual-frame .bento-meeting-visual {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    padding-left: 7%;
  }
}

/* Wide global layout system: 1440px content rhythm and full-width section bands. */
:root {
  --page-max: 1440px;
  --page-gutter: clamp(24px, 4vw, 64px);
  --layout-container: 1440px;
  --layout-container-wide: 1440px;
  --layout-gutter: clamp(24px, 4vw, 64px);
  --layout-section-y: clamp(84px, 7vw, 132px);
  --layout-section-y-compact: clamp(68px, 6vw, 108px);
  --layout-grid-gap: clamp(56px, 6vw, 112px);
  --layout-card-gap: clamp(24px, 2.8vw, 42px);
}

.site-header,
.site-header.is-scrolled {
  padding-inline: var(--layout-gutter);
}

.header-right {
  inset-inline: var(--layout-gutter);
}

.site-page > section:not(.page-hero):not(.final-cta):nth-of-type(even),
.platform-redesign .platform-capabilities,
.platform-redesign .workflow-section,
.platform-redesign .resources-editorial {
  isolation: isolate;
}

.site-page > section:not(.page-hero):not(.final-cta):nth-of-type(even)::before,
.platform-redesign .platform-capabilities::before,
.platform-redesign .workflow-section::before,
.platform-redesign .resources-editorial::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  pointer-events: none;
}

.site-page > section:not(.page-hero):not(.final-cta):nth-of-type(even)::before,
.platform-redesign .platform-capabilities::before {
  background:
    linear-gradient(rgba(116, 43, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 43, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 18% 10%, rgba(116, 43, 255, 0.08), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fbfaff 100%);
  background-size: 36px 36px, 36px 36px, auto, auto;
}

.platform-redesign .workflow-section::before,
.platform-redesign .resources-editorial::before {
  background:
    radial-gradient(circle at 78% 12%, rgba(61, 124, 255, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.page-hero,
.intro-section,
.proof-section,
.product-links,
.faq-section,
.architecture-section,
.compare-section,
.trial-section,
.solution-section,
.media-feature-section,
.stack-section,
.platform-redesign .platform-hero,
.platform-redesign .what-section,
.platform-redesign .workflow-section,
.platform-redesign .edition-path,
.platform-redesign .metric-band,
.platform-redesign .resources-editorial,
.platform-redesign .gradient-cta,
.platform-redesign .platform-capabilities,
.platform-redesign .system-architecture-section,
.platform-redesign .faq-section {
  width: min(100%, var(--layout-container));
  max-width: var(--layout-container);
  padding-inline: var(--layout-gutter);
}

.platform-redesign .platform-hero {
  grid-template-columns: minmax(0, 0.88fr) minmax(620px, 1.12fr);
  gap: clamp(72px, 7vw, 124px);
  min-height: max(780px, 100dvh);
  padding-top: calc(var(--layout-header) + clamp(64px, 6vw, 96px));
  padding-bottom: clamp(72px, 7vw, 108px);
}

.page-hero {
  grid-template-columns: minmax(0, 0.86fr) minmax(640px, 1.14fr);
  gap: clamp(72px, 7vw, 120px);
  min-height: max(760px, 100dvh);
}

.platform-hero-copy h1 {
  max-width: 620px;
}

.platform-hero-copy .hero-subtitle {
  max-width: 640px;
}

.platform-redesign .platform-hero-visual {
  min-height: clamp(540px, 38vw, 650px);
}

.hero-screen--chat {
  width: min(98%, 760px);
}

.hero-screen--meeting {
  width: min(70%, 560px);
}

.platform-redesign .platform-capabilities {
  gap: clamp(38px, 4vw, 58px);
}

.platform-redesign .platform-capabilities-heading h2 {
  max-width: none;
}

.platform-redesign .platform-capabilities-heading p:last-child {
  max-width: 780px;
}

.platform-redesign .capability-bento {
  gap: clamp(36px, 4vw, 56px);
}

.platform-redesign .capability-visual-frame {
  aspect-ratio: 1.55 / 1;
}

.platform-redesign .capability-bento-copy {
  max-width: 620px;
}

.platform-redesign .what-section {
  grid-template-columns: minmax(420px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(48px, 6vw, 92px);
}

.what-architecture {
  min-height: clamp(380px, 30vw, 500px);
}

.system-architecture-section {
  border-radius: 34px;
}

.system-architecture-canvas {
  max-width: 1280px;
}

.system-architecture-flow {
  grid-template-columns: minmax(260px, 0.86fr) 72px minmax(360px, 1.18fr) 72px minmax(260px, 0.86fr);
}

.developer-access-layout {
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, 0.86fr);
  gap: clamp(72px, 7vw, 120px);
}

.timeline {
  gap: clamp(34px, 3vw, 52px);
}

.edition-path {
  gap: clamp(56px, 6vw, 96px);
}

.metric-band {
  gap: clamp(36px, 5vw, 86px);
}

.resources-editorial {
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(72px, 8vw, 132px);
}

.feature-grid,
.link-grid,
.component-grid,
.cooperation-grid,
.deployment-list,
.solution-stats,
.media-feature-list,
.trial-form {
  gap: var(--layout-card-gap);
}

.site-page .feature-grid,
.platform-page .feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.feature-card:first-child {
  padding: clamp(26px, 2.8vw, 42px);
}

.solution-layout,
.media-feature-layout,
.product-split {
  gap: var(--layout-grid-gap);
}

.hero-visual,
.platform-visual,
.app-shell,
.media-frame,
.solution-panel,
.product-window,
.developer-preview,
.capability-visual-frame,
.hero-screen {
  aspect-ratio: var(--layout-media-ratio);
}

.footer {
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(56px, 6vw, 96px);
  padding-inline: var(--layout-gutter);
}

.footer-grid {
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  gap: clamp(22px, 2.4vw, 38px);
}

@media (min-width: 1600px) {
  .site-header,
  .site-header.is-scrolled {
    padding-inline: clamp(64px, calc((100vw - 1440px) / 2 + 64px), 160px);
  }

  .header-right {
    inset-inline: clamp(64px, calc((100vw - 1440px) / 2 + 64px), 160px);
  }
}

@media (min-width: 1181px) and (max-width: 1320px) {
  :root {
    --layout-gutter: 48px;
    --layout-grid-gap: 64px;
  }

  .platform-redesign .platform-hero,
  .page-hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(540px, 1.08fr);
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  :root {
    --layout-container: 100%;
    --layout-container-wide: 100%;
    --layout-gutter: 40px;
    --layout-section-y: 82px;
    --layout-section-y-compact: 64px;
    --layout-grid-gap: 48px;
    --layout-card-gap: 24px;
  }

  .platform-redesign .platform-hero,
  .page-hero,
  .platform-redesign .what-section,
  .developer-access-layout,
  .resources-editorial,
  .edition-path {
    grid-template-columns: minmax(0, 1fr);
  }

  .platform-redesign .platform-hero {
    min-height: auto;
  }

  .site-page .feature-grid,
  .platform-page .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .system-architecture-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .system-flow-line {
    width: 2px;
    height: 42px;
    justify-self: center;
    background: linear-gradient(180deg, rgba(133, 104, 255, 0.2), rgba(109, 161, 255, 0.92));
  }
}

@media (max-width: 760px) {
  :root {
    --layout-container: 100%;
    --layout-container-wide: 100%;
    --layout-gutter: 22px;
    --layout-section-y: 64px;
    --layout-section-y-compact: 46px;
    --layout-grid-gap: 32px;
    --layout-card-gap: 16px;
  }

  .site-header,
  .site-header.is-scrolled {
    padding-inline: var(--layout-gutter);
  }

  .page-hero,
  .platform-redesign .platform-hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    padding-top: calc(var(--layout-header) + 32px);
    padding-bottom: 44px;
  }

  .platform-redesign .what-section,
  .developer-access-layout,
  .resources-editorial,
  .edition-path,
  .system-architecture-flow {
    grid-template-columns: minmax(0, 1fr);
  }

  .platform-redesign .platform-hero-visual {
    width: 100%;
    min-height: clamp(300px, 78vw, 360px);
  }

  .platform-redesign .what-title,
  .platform-redesign .resources-title,
  .platform-redesign .what-architecture,
  .platform-redesign .resource-list {
    width: 100%;
    max-width: 100%;
  }

  .platform-redesign .platform-capabilities-heading h2 {
    white-space: normal;
  }

  .site-page .feature-grid,
  .platform-page .feature-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: var(--layout-gutter);
  }
}

/* OpenIM design spec system: unified iOS-like spacing, typography, containers. */
:root {
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-56: 56px;
  --space-64: 64px;
  --space-80: 80px;
  --space-96: 96px;
  --space-120: 120px;
  --text-primary: #0d0d0d;
  --text-secondary: #424242;
  --text-tertiary: #757575;
  --text-muted: #9194a8;
  --bg-page: #ffffff;
  --bg-soft: #f7f7f7;
  --bg-card: #f2f3f7;
  --border-light: #e3e5ef;
  --radius-button-sm: 12px;
  --radius-button: 14px;
  --radius-card-sm: 16px;
  --radius-card: 24px;
  --radius-float: 28px;
  --layout-header: 72px;
  --layout-container: 1280px;
  --layout-container-wide: 1440px;
  --layout-gutter: 80px;
  --layout-section-y: 120px;
  --layout-section-y-compact: 96px;
  --layout-grid-gap: 96px;
  --layout-card-gap: 32px;
  --layout-media-ratio: 4 / 3;
  --font-display: "Inter", "SF Pro Display", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "SF Pro Display", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-latin: "Inter", "SF Pro Display", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --page-max: var(--layout-container);
  --page-gutter: var(--layout-gutter);
}

html {
  scroll-padding-top: calc(var(--layout-header) + var(--space-24));
}

body {
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.site-header,
.site-header.is-scrolled {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--layout-header);
  min-height: var(--layout-header);
  width: 100%;
  padding-inline: max(var(--layout-gutter), calc((100vw - var(--layout-container)) / 2 + var(--layout-gutter)));
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(227, 229, 239, 0.82);
  box-shadow: 0 8px 24px rgba(20, 24, 40, 0.06);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
  backdrop-filter: blur(18px) saturate(1.18);
}

.header-right {
  inset-inline: max(var(--layout-gutter), calc((100vw - var(--layout-container)) / 2 + var(--layout-gutter)));
  gap: var(--space-24);
}

.site-header .brand {
  height: var(--layout-header);
}

.site-header .brand-logo,
.footer > .brand .brand-logo {
  width: 40px;
  height: 40px;
}

.site-header .brand-name,
.footer > .brand .brand-name {
  color: var(--text-primary);
  font-family: var(--font-latin);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
}

.nav {
  gap: var(--space-32);
}

.nav-item,
.nav-link,
.nav-trigger,
.site-header.is-scrolled .nav-item,
.site-header.is-scrolled .nav-link,
.site-header.is-scrolled .nav-trigger {
  min-height: var(--layout-header);
}

.nav-link,
.nav-trigger {
  gap: 6px;
  color: #202433;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 0;
}

.nav-link::after,
.nav-trigger::after {
  height: 2px;
  bottom: 18px;
}

.site-header .pill-button--small {
  min-width: auto;
  min-height: 42px;
  height: 42px;
  padding: 0 20px;
  border-radius: var(--radius-button-sm);
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
}

.mega-menu,
.site-header.is-scrolled .mega-menu {
  top: var(--layout-header);
  border-radius: 0 0 var(--radius-float) var(--radius-float);
  box-shadow: 0 24px 64px rgba(20, 24, 40, 0.1);
}

.page-hero,
.intro-section,
.proof-section,
.product-links,
.architecture-section,
.compare-section,
.trial-section,
.solution-section,
.media-feature-section,
.stack-section,
.platform-redesign .platform-hero,
.platform-redesign .what-section,
.platform-redesign .workflow-section,
.platform-redesign .edition-path,
.platform-redesign .metric-band,
.platform-redesign .resources-editorial,
.platform-redesign .gradient-cta,
.platform-redesign .platform-capabilities,
.platform-redesign .system-architecture-section,
.platform-redesign .faq-section,
.site-page .faq-section {
  width: min(100%, var(--layout-container));
  max-width: var(--layout-container);
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--layout-gutter);
  padding-left: var(--layout-gutter);
}

.intro-section,
.proof-section,
.product-links,
.architecture-section,
.compare-section,
.trial-section,
.solution-section,
.media-feature-section,
.stack-section,
.site-page .faq-section {
  padding-top: var(--layout-section-y-compact);
  padding-bottom: var(--layout-section-y-compact);
}

.platform-redesign .platform-capabilities,
.platform-redesign .what-section,
.platform-redesign .workflow-section,
.platform-redesign .resources-editorial,
.platform-redesign .system-architecture-section,
.platform-redesign .faq-section {
  padding-top: var(--layout-section-y);
  padding-bottom: var(--layout-section-y);
}

.platform-redesign .edition-path,
.platform-redesign .metric-band,
.platform-redesign .gradient-cta {
  padding-top: var(--space-80);
  padding-bottom: var(--space-80);
}

.page-hero,
.platform-redesign .platform-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: var(--space-96);
  min-height: auto;
  padding-top: calc(var(--layout-header) + var(--space-96));
  padding-bottom: var(--space-120);
}

.platform-redesign .platform-hero {
  align-content: center;
  min-height: calc(100dvh + 24px);
}

.page-hero-copy,
.platform-hero-copy {
  max-width: 640px;
}

.page-hero h1,
.platform-hero-copy h1 {
  max-width: 640px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(56px, 4.45vw, 64px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.hero-subtitle,
.platform-hero-copy .hero-subtitle {
  max-width: 640px;
  margin-top: var(--space-24);
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0;
}

.hero-actions,
.platform-redesign .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
  margin-top: var(--space-40);
}

.pill-button,
.outline-button,
.platform-redesign .hero-actions .pill-button,
.platform-redesign .hero-actions .outline-button {
  min-height: 52px;
  height: 52px;
  padding: 0 28px;
  border-radius: var(--radius-button);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 0;
}

.outline-button {
  font-weight: 600;
}

.eyebrow {
  margin: 0 0 var(--space-16);
  color: #742bff;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-copy,
.platform-capabilities-heading,
.faq-title,
.system-architecture-copy {
  gap: 0;
}

.section-copy h2,
.faq-title h2,
.platform-capabilities-heading h2,
.what-title h2,
.resources-title h2,
.system-architecture-copy h2,
.workflow-section .section-copy h2,
.gradient-cta h2 {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(40px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.section-copy p:not(.eyebrow),
.platform-capabilities-heading p:last-child,
.what-title p:last-child,
.resources-title p,
.system-architecture-copy p:last-child {
  max-width: 820px;
  margin-top: var(--space-20);
  color: var(--text-secondary);
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0;
}

.platform-capabilities {
  gap: var(--space-56);
}

.platform-capabilities-heading {
  max-width: 820px;
  margin-inline: auto;
}

.platform-redesign .capability-bento {
  gap: var(--layout-card-gap);
}

.capability-bento-card,
.feature-card,
.feature-card:first-child,
.component-grid article,
.cooperation-grid article,
.deployment-list span,
.product-link,
.faq-list details {
  border: 1px solid rgba(227, 229, 239, 0.86);
  border-radius: var(--radius-card);
  background: var(--bg-card);
  box-shadow: none;
}

.feature-card,
.feature-card:first-child,
.component-grid article,
.cooperation-grid article,
.deployment-list span,
.product-link {
  padding: var(--space-32);
}

.capability-bento-card {
  gap: var(--space-24);
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.platform-redesign .capability-visual-frame {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-card);
  background: var(--bg-card);
  box-shadow: inset 0 0 0 1px rgba(227, 229, 239, 0.82);
}

.capability-bento-card h3,
.feature-card h3,
.component-grid h3,
.cooperation-grid h3,
.deployment-list strong,
.what-list h3,
.timeline h3 {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 0;
}

.capability-bento-card p,
.feature-card p,
.component-grid p,
.cooperation-grid p,
.deployment-list em,
.what-list p,
.timeline p,
.edition-column p,
.resource-list em,
.faq-list p {
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0;
}

.capability-link,
.text-link,
.product-link span {
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}

.feature-grid,
.link-grid,
.component-grid,
.cooperation-grid,
.deployment-list,
.trial-form,
.capability-bento {
  gap: var(--layout-card-gap);
}

.site-page .feature-grid,
.platform-page .feature-grid,
.component-grid,
.cooperation-grid,
.deployment-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.what-section {
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  gap: var(--space-64) var(--space-96);
  border-radius: var(--radius-card);
  background: var(--bg-soft);
}

.what-title {
  max-width: 820px;
}

.what-architecture {
  min-height: 420px;
  padding: var(--space-32);
  border-color: var(--border-light);
  border-radius: var(--radius-card);
  box-shadow: none;
}

.what-list {
  gap: var(--space-32);
}

.what-list article {
  grid-template-columns: 56px minmax(0, 1fr);
  gap: var(--space-24);
  padding-bottom: var(--space-32);
}

.what-list article > span,
.metric-item strong {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.system-architecture-section {
  margin-top: var(--space-80);
  margin-bottom: var(--space-80);
  border-radius: var(--radius-float);
}

.system-architecture-copy {
  max-width: 860px;
  margin-bottom: var(--space-64);
}

.system-architecture-copy h2 {
  color: #fff;
}

.system-architecture-copy p:last-child {
  color: rgba(255, 255, 255, 0.76);
}

.system-architecture-canvas,
.system-layer-card,
.system-side-panel,
.system-server-core,
.developer-preview {
  border-radius: var(--radius-card);
}

.developer-access-layout {
  gap: var(--space-96);
}

.timeline {
  gap: var(--space-48);
}

.timeline article > span {
  width: 64px;
  height: 64px;
  font-weight: 700;
}

.edition-path {
  gap: var(--space-64);
}

.edition-column {
  padding: var(--space-48) 0;
}

.edition-column h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
}

.metric-band {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-48);
}

.metric-item strong {
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.05;
}

.metric-item span {
  margin-top: var(--space-12);
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 26px;
}

.resources-editorial {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: var(--space-96);
}

.resource-list a {
  grid-template-columns: 0.42fr 1fr;
  gap: var(--space-24);
  padding: var(--space-24) 0;
}

.resource-list span {
  color: var(--text-primary);
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
}

.gradient-cta,
.final-cta {
  border-radius: var(--radius-float);
}

.gradient-cta {
  gap: var(--space-56);
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: var(--space-64);
}

.faq-list {
  gap: var(--space-12);
}

.faq-list details {
  padding: 0 var(--space-24);
  background: #fff;
}

summary {
  min-height: 64px;
  padding: var(--space-20) 0;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
}

.trial-form input,
.trial-form select,
.trial-form textarea {
  min-height: 52px;
  border-color: var(--border-light);
  border-radius: var(--radius-button);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 24px;
}

.trial-form button {
  height: 52px;
  border-radius: var(--radius-button);
}

.hero-visual,
.platform-visual,
.app-shell,
.media-frame,
.solution-panel,
.product-window,
.developer-preview {
  border-radius: var(--radius-card);
}

.platform-redesign .platform-hero-visual {
  min-height: 560px;
}

.hero-screen {
  border-radius: var(--radius-float);
}

.hero-screen--chat {
  width: min(92%, 660px);
}

.hero-screen--meeting {
  width: min(66%, 480px);
}

.footer {
  grid-template-columns: 190px minmax(0, 1fr);
  gap: var(--space-64);
  padding: var(--space-64) max(var(--layout-gutter), calc((100vw - var(--layout-container)) / 2 + var(--layout-gutter)));
  background: var(--bg-soft);
}

.footer-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: var(--space-24);
}

.footer-grid strong {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.footer-grid a {
  color: var(--text-tertiary);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

@media (min-width: 1600px) {
  :root {
    --layout-container: 1440px;
    --layout-gutter: 96px;
    --page-max: var(--layout-container);
    --page-gutter: var(--layout-gutter);
  }
}

@media (max-width: 1180px) {
  :root {
    --layout-container: 100%;
    --layout-gutter: 32px;
    --layout-section-y: 96px;
    --layout-section-y-compact: 80px;
    --layout-grid-gap: 64px;
    --layout-card-gap: 24px;
  }

  .site-header,
  .site-header.is-scrolled {
    padding-inline: var(--layout-gutter);
  }

  .header-right {
    inset-inline: var(--layout-gutter);
  }

  .page-hero,
  .platform-redesign .platform-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-64);
    padding-top: calc(var(--layout-header) + var(--space-80));
    padding-bottom: var(--space-96);
  }

  .platform-redesign .platform-hero {
    min-height: auto;
  }

  .platform-redesign .platform-hero-visual {
    min-height: 500px;
  }

  .site-page .feature-grid,
  .platform-page .feature-grid,
  .component-grid,
  .cooperation-grid,
  .deployment-list,
  .platform-redesign .capability-bento,
  .metric-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .what-section,
  .developer-access-layout,
  .resources-editorial,
  .edition-path,
  .faq-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: var(--layout-gutter);
  }

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

@media (max-width: 760px) {
  :root {
    --layout-gutter: 20px;
    --layout-section-y: 80px;
    --layout-section-y-compact: 64px;
    --layout-grid-gap: 40px;
    --layout-card-gap: 16px;
  }

  .site-header,
  .site-header.is-scrolled {
    height: var(--layout-header);
    min-height: var(--layout-header);
    padding-inline: var(--layout-gutter);
  }

  .site-header .brand {
    height: var(--layout-header);
  }

  .page-hero,
  .platform-redesign .platform-hero {
    gap: var(--space-40);
    padding-top: calc(var(--layout-header) + var(--space-56));
    padding-bottom: var(--space-80);
  }

  .page-hero h1,
  .platform-hero-copy h1 {
    font-size: clamp(40px, 10.5vw, 44px);
    line-height: 1.18;
    letter-spacing: -0.01em;
  }

  .hero-subtitle,
  .platform-hero-copy .hero-subtitle {
    margin-top: var(--space-20);
    font-size: 16px;
    line-height: 26px;
  }

  .section-copy h2,
  .faq-title h2,
  .platform-capabilities-heading h2,
  .what-title h2,
  .resources-title h2,
  .system-architecture-copy h2,
  .workflow-section .section-copy h2,
  .gradient-cta h2 {
    font-size: clamp(32px, 8.8vw, 36px);
    line-height: 1.22;
  }

  .section-copy p:not(.eyebrow),
  .platform-capabilities-heading p:last-child,
  .what-title p:last-child,
  .resources-title p,
  .system-architecture-copy p:last-child {
    font-size: 16px;
    line-height: 26px;
  }

  .hero-actions,
  .platform-redesign .hero-actions {
    margin-top: var(--space-32);
  }

  .pill-button,
  .outline-button,
  .platform-redesign .hero-actions .pill-button,
  .platform-redesign .hero-actions .outline-button {
    width: 100%;
    justify-content: center;
  }

  .platform-redesign .platform-hero-visual {
    min-height: clamp(300px, 78vw, 360px);
  }

  .site-page .feature-grid,
  .platform-page .feature-grid,
  .component-grid,
  .cooperation-grid,
  .deployment-list,
  .platform-redesign .capability-bento,
  .metric-band,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-card,
  .feature-card:first-child,
  .component-grid article,
  .cooperation-grid article,
  .deployment-list span,
  .product-link {
    padding: var(--space-24);
  }

  .what-section {
    gap: var(--space-40);
  }

  .what-list article {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: var(--space-16);
  }

  .resource-list a {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-8);
  }

  .footer {
    gap: var(--space-40);
    padding: var(--space-48) var(--layout-gutter);
  }
}

/* Design spec precision pass: override older high-specificity homepage rules. */
.platform-redesign .platform-capabilities-heading h2,
.platform-redesign .what-title h2,
.platform-redesign .resources-title h2,
.platform-redesign .workflow-section .section-copy h2,
.platform-redesign .faq-title h2,
.platform-redesign .gradient-cta h2 {
  font-size: clamp(40px, 3.2vw, 48px);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.platform-redesign .platform-capabilities-heading p:last-child,
.platform-redesign .what-title p:last-child,
.platform-redesign .resources-title p,
.platform-redesign .workflow-section .section-copy p:not(.eyebrow),
.platform-redesign .faq-list p {
  font-size: 18px;
  line-height: 30px;
  font-weight: 400;
}

.platform-redesign .resources-editorial,
.platform-redesign .faq-section {
  gap: var(--space-64);
}

@media (max-width: 1180px) {
  .platform-redesign .platform-capabilities-heading h2,
  .platform-redesign .what-title h2,
  .platform-redesign .resources-title h2,
  .platform-redesign .workflow-section .section-copy h2,
  .platform-redesign .faq-title h2,
  .platform-redesign .gradient-cta h2 {
    font-size: clamp(36px, 4.2vw, 44px);
  }
}

@media (max-width: 760px) {
  .platform-redesign .platform-capabilities-heading h2,
  .platform-redesign .what-title h2,
  .platform-redesign .resources-title h2,
  .platform-redesign .workflow-section .section-copy h2,
  .platform-redesign .faq-title h2,
  .platform-redesign .gradient-cta h2 {
    font-size: clamp(32px, 8.8vw, 36px);
    line-height: 1.22;
    white-space: normal;
  }

  .platform-redesign .platform-capabilities-heading p:last-child,
  .platform-redesign .what-title p:last-child,
  .platform-redesign .resources-title p,
  .platform-redesign .workflow-section .section-copy p:not(.eyebrow),
  .platform-redesign .faq-list p {
    font-size: 16px;
    line-height: 26px;
  }

  .platform-redesign .resources-editorial,
  .platform-redesign .faq-section {
    gap: var(--space-40);
  }
}

/* Homepage CTA reference pass. */
.platform-redesign .gradient-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, var(--layout-container));
  max-width: var(--layout-container);
  min-height: 356px;
  margin: clamp(44px, 5vw, 72px) auto clamp(46px, 5vw, 72px);
  padding: 70px var(--layout-gutter) 76px;
  gap: 36px;
  border-radius: 46px;
  background: linear-gradient(112deg, #5535f4 0%, #3d57fb 44%, #2b88fb 100%);
  box-shadow: 0 28px 70px rgba(56, 83, 171, 0.18);
  color: #fff;
  text-align: center;
}

.platform-redesign .gradient-cta-copy {
  display: grid;
  justify-items: center;
  gap: 20px;
}

.platform-redesign .gradient-cta h2 {
  max-width: none;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(42px, 3.35vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.platform-redesign .gradient-cta-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.platform-redesign .gradient-cta-actions {
  justify-content: center;
  gap: 16px;
  margin-top: 0;
}

.platform-redesign .gradient-cta-actions .pill-button,
.platform-redesign .gradient-cta-actions .outline-button {
  height: 56px;
  min-height: 56px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 800;
  line-height: 24px;
  box-shadow: none;
}

.platform-redesign .gradient-cta-primary {
  min-width: 200px;
  padding: 0 30px;
  color: #4c4af1;
  background: #fff;
}

.platform-redesign .gradient-cta-primary:hover {
  color: #3f3ee8;
  background: #fff;
  box-shadow: 0 14px 28px rgba(24, 36, 116, 0.12);
}

.platform-redesign .gradient-cta-secondary {
  min-width: 200px;
  padding: 0 30px;
  border: 0;
  color: #fff;
  background: rgba(45, 65, 190, 0.46);
}

.platform-redesign .gradient-cta-secondary:hover {
  color: #fff;
  border-color: transparent;
  background: rgba(42, 62, 178, 0.58);
  box-shadow: none;
}

@media (max-width: 1180px) {
  .platform-redesign .gradient-cta {
    width: calc(100% - 64px);
    padding-right: 48px;
    padding-left: 48px;
  }
}

@media (max-width: 760px) {
  .platform-redesign .gradient-cta {
    width: calc(100% - 40px);
    min-height: 0;
    padding: 52px 24px 56px;
    gap: 30px;
    border-radius: 30px;
  }

.platform-redesign .gradient-cta h2 {
    font-size: clamp(31px, 8.7vw, 38px);
    line-height: 1.2;
    white-space: normal;
  }

  .platform-redesign .gradient-cta-copy p {
    max-width: 300px;
    font-size: 16px;
    line-height: 25px;
  }

  .platform-redesign .gradient-cta-actions {
    width: 100%;
    gap: 12px;
  }

  .platform-redesign .gradient-cta-actions .pill-button,
  .platform-redesign .gradient-cta-actions .outline-button {
    width: 100%;
    max-width: 260px;
    font-size: 16px;
  }
}

/* Header polish: keep navigation text clean, no tinted blocks behind items. */
.site-header .nav-link,
.site-header .nav-trigger,
.site-header .nav-link:hover,
.site-header .nav-trigger:hover,
.site-header .nav-item.is-active .nav-trigger,
.site-header .nav-link--active,
.site-header .nav-item--active .nav-trigger {
  background: transparent;
  box-shadow: none;
}

  .site-header .nav-link:hover::after,
  .site-header .nav-trigger:hover::after,
  .site-header .nav-item:hover .nav-trigger::after {
    opacity: 1;
  }


/* Final footer system: compact links and align columns with header navigation. */
.footer {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: flex-start;
  gap: clamp(36px, 5vw, 72px);
  padding: 56px max(var(--layout-gutter), calc((100vw - var(--layout-container)) / 2 + var(--layout-gutter)));
  border-top: 1px solid #e7e9f1;
  background: #f7f8fb;
}

.footer > .brand {
  width: auto;
  min-width: 0;
  height: auto;
  justify-content: flex-start;
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: clamp(20px, 2.6vw, 36px);
  width: 100%;
}

.footer-grid div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.footer-grid strong {
  margin: 0 0 6px;
  color: #111527;
  font-family: var(--font-latin);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.footer-grid a,
.footer-grid .footer-disabled {
  color: #727b8d;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  text-decoration: none;
}

.footer-grid a {
  transition: color 160ms ease;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: #742bff;
}

.footer-grid .footer-disabled {
  cursor: default;
  opacity: 0.72;
}

.footer-copyright {
  margin: 28px 0 0;
  color: #727b8d;
  font-size: 13px;
  line-height: 18px;
}

@media (max-width: 980px) {
  .footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

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

@media (max-width: 560px) {
  .footer {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
}

/* Open source community page. */
.community-page {
  background: #fff;
  color: var(--text-primary);
  font-family: var(--font-body);
}

.community-page .reveal {
  opacity: 1;
  transform: none;
}

.community-hero,
.community-repos,
.community-join,
.community-wechat {
  box-sizing: border-box;
  width: min(100%, var(--layout-container));
  max-width: var(--layout-container);
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--layout-gutter);
  padding-left: var(--layout-gutter);
  scroll-margin-top: calc(var(--layout-header) + var(--space-24));
}

.community-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
  align-items: center;
  gap: var(--layout-grid-gap);
  min-height: calc(100svh - var(--layout-header));
  padding-top: calc(var(--layout-header) + var(--space-56));
  padding-bottom: var(--layout-section-y-compact);
}

.community-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(52px, 4.6vw, 76px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0;
}

.community-hero-copy .hero-subtitle {
  max-width: 690px;
}

.community-hero-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid #e5e9f3;
  border-radius: var(--radius-float);
  background:
    radial-gradient(circle at 76% 18%, rgba(116, 43, 255, 0.18), transparent 30%),
    linear-gradient(180deg, #fbfcff 0%, #f3f6fb 100%);
  box-shadow: 0 28px 80px rgba(32, 28, 64, 0.09);
}

.community-terminal {
  position: absolute;
  left: 42px;
  right: 42px;
  top: 64px;
  overflow: hidden;
  border-radius: 28px;
  background: #101426;
  color: #e9ecff;
  box-shadow: 0 30px 80px rgba(16, 20, 38, 0.22);
}

.community-terminal-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.community-terminal-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.community-terminal-bar strong {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.community-command {
  padding: 28px;
  color: #f4f6ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 17px;
  line-height: 28px;
}

.community-pulse-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 28px 28px;
}

.community-pulse-grid span {
  min-height: 86px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 800;
}

.community-contributors {
  position: absolute;
  right: 42px;
  bottom: 54px;
  width: 260px;
  padding: 28px;
  border: 1px solid #e2e7f1;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 62px rgba(32, 28, 64, 0.13);
}

.community-contributors strong {
  display: block;
  color: #742bff;
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
}

.community-contributors span {
  display: block;
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 24px;
}

.community-metrics {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
  width: min(100%, var(--layout-container));
  max-width: var(--layout-container);
  margin: 0 auto;
  padding: clamp(64px, 7vw, 92px) var(--layout-gutter);
  overflow: hidden;
  border: 1px solid rgba(227, 229, 239, 0.9);
  border-radius: var(--radius-float);
  background:
    radial-gradient(circle at 50% 6%, rgba(116, 43, 255, 0.15), transparent 34%),
    radial-gradient(circle at 8% 92%, rgba(61, 124, 255, 0.1), transparent 30%),
    linear-gradient(rgba(116, 43, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 124, 255, 0.045) 1px, transparent 1px),
    #fbfcff;
  background-size: auto, auto, 42px 42px, 42px 42px, auto;
}

.community-metric {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 220px;
  padding: clamp(28px, 3.3vw, 44px) 20px 34px;
  text-align: center;
  border: 1px solid rgba(210, 218, 239, 0.9);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 255, 0.9));
  box-shadow: 0 28px 70px rgba(32, 28, 64, 0.08);
  transform-style: preserve-3d;
}

.community-metric::before {
  content: "";
  position: absolute;
  right: 18px;
  bottom: -18px;
  left: 18px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(116, 43, 255, 0.2), transparent 66%);
  filter: blur(4px);
  z-index: -1;
}

.community-metric::after {
  content: "";
  position: absolute;
  right: 18%;
  bottom: 18px;
  left: 18%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(61, 124, 255, 0), rgba(61, 124, 255, 0.62), rgba(116, 43, 255, 0));
}

.community-metric--featured {
  min-height: 250px;
  margin-top: -24px;
  border-color: rgba(116, 43, 255, 0.28);
  background:
    radial-gradient(circle at 50% 0%, rgba(116, 43, 255, 0.13), transparent 42%),
    linear-gradient(180deg, #fff, #f5f7ff);
  box-shadow: 0 36px 90px rgba(74, 69, 214, 0.16);
}

.community-metric strong {
  color: #151327;
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 700;
  line-height: 1;
}

.community-metric--featured strong {
  color: #5b25ff;
  font-size: clamp(58px, 6.4vw, 96px);
}

.community-metric span {
  margin-top: 14px;
  color: #657080;
  font-size: 17px;
  font-weight: 700;
}

.community-metric em {
  margin-top: 8px;
  color: #8a94a6;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 18px;
}

.community-repos,
.community-join,
.community-wechat {
  padding-top: var(--layout-section-y);
  padding-bottom: var(--layout-section-y);
}

.repo-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--layout-card-gap);
}

.repo-card {
  display: grid;
  align-content: start;
  min-height: 300px;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid #e5e9f3;
  border-radius: 30px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 20px 54px rgba(32, 28, 64, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.repo-card:hover {
  border-color: rgba(116, 43, 255, 0.36);
  box-shadow: 0 28px 70px rgba(32, 28, 64, 0.1);
  transform: translateY(-3px);
}

.repo-card--primary {
  grid-column: span 2;
  background:
    radial-gradient(circle at 86% 12%, rgba(116, 43, 255, 0.15), transparent 32%),
    #fff;
}

.repo-language {
  width: fit-content;
  min-height: 34px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(116, 43, 255, 0.1);
  color: #742bff;
  font-size: 13px;
  font-weight: 800;
}

.repo-card h3 {
  margin: 24px 0 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 600;
  line-height: 1.12;
}

.repo-card p {
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 27px;
}

.repo-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
  margin-top: 28px;
}

.repo-card div strong {
  color: #171b2a;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
}

.repo-card div em {
  margin-right: 8px;
  color: #778092;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.community-center-action {
  display: flex;
  justify-content: center;
  margin-top: var(--space-40);
}

.community-join {
  border-radius: var(--radius-float);
  background:
    linear-gradient(rgba(116, 43, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 43, 255, 0.045) 1px, transparent 1px),
    #f8f9fd;
  background-size: 34px 34px;
}

.community-join-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--layout-card-gap);
}

.community-join-card {
  min-height: 282px;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid #e5e9f3;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 48px rgba(32, 28, 64, 0.055);
}

.community-join-card span {
  color: #742bff;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
}

.community-join-card h3 {
  margin: 22px 0 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 36px;
}

.community-join-card p {
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 28px;
}

.community-wechat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: var(--layout-grid-gap);
  align-items: center;
}

.community-wechat-copy h2 {
  max-width: 760px;
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(42px, 4vw, 64px);
  font-weight: 600;
  line-height: 1.05;
}

.community-wechat-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--text-secondary);
  font-size: 19px;
  line-height: 31px;
}

.community-wechat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.wechat-card {
  display: grid;
  justify-items: center;
  padding: 34px;
  border: 1px solid #e5e9f3;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(32, 28, 64, 0.08);
}

.qr-frame {
  display: grid;
  grid-template-columns: repeat(3, 44px);
  gap: 10px;
  padding: 24px;
  border-radius: 24px;
  background: #f4f6fb;
}

.qr-frame span {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #141827;
}

.qr-frame span:nth-child(2),
.qr-frame span:nth-child(4),
.qr-frame span:nth-child(8) {
  background: #742bff;
}

.qr-frame span:nth-child(5),
.qr-frame span:nth-child(6) {
  background: #d9e0ee;
}

.wechat-card strong {
  margin-top: 22px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 32px;
}

.wechat-card p {
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 23px;
}

.slack-card {
  min-height: 360px;
  align-content: center;
}

.slack-mark {
  position: relative;
  width: 132px;
  height: 132px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), transparent 38%),
    linear-gradient(145deg, rgba(66, 133, 244, 0.12), rgba(116, 43, 255, 0.18));
  box-shadow:
    inset 0 0 0 1px rgba(224, 229, 242, 0.95),
    0 22px 46px rgba(32, 28, 64, 0.1);
}

.slack-mark span {
  position: absolute;
  display: block;
  border-radius: 999px;
}

.slack-mark span:nth-child(1) {
  left: 30px;
  top: 56px;
  width: 72px;
  height: 18px;
  background: #36c5f0;
}

.slack-mark span:nth-child(2) {
  left: 56px;
  top: 30px;
  width: 18px;
  height: 72px;
  background: #2eb67d;
}

.slack-mark span:nth-child(3) {
  left: 30px;
  top: 30px;
  width: 18px;
  height: 72px;
  background: #ecb22e;
  transform: rotate(90deg);
}

.slack-mark span:nth-child(4) {
  left: 56px;
  top: 56px;
  width: 18px;
  height: 72px;
  background: #e01e5a;
  transform: rotate(90deg);
}

.slack-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 22px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3867ff, #a64cff);
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(116, 43, 255, 0.2);
}

@media (max-width: 1180px) {
  .community-hero,
  .community-wechat {
    grid-template-columns: minmax(0, 1fr);
  }

  .community-hero-visual {
    min-height: 520px;
  }

  .repo-list,
  .community-join-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .community-hero,
  .community-repos,
  .community-join,
  .community-wechat {
    padding-right: var(--layout-gutter);
    padding-left: var(--layout-gutter);
  }

  .community-hero {
    min-height: auto;
    padding-top: calc(var(--layout-header) + 46px);
  }

  .community-hero-copy h1 {
    font-size: 48px;
    line-height: 1.03;
  }

  .community-hero-visual {
    min-height: 430px;
  }

  .community-terminal {
    inset: 26px 18px auto;
  }

  .community-command {
    padding: 22px;
    font-size: 13px;
    line-height: 22px;
  }

  .community-pulse-grid {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 22px 22px;
  }

  .community-pulse-grid span {
    min-height: 52px;
    padding: 15px;
  }

  .community-contributors {
    right: 18px;
    bottom: 22px;
    left: 18px;
    width: auto;
    padding: 22px;
  }

  .community-contributors strong {
    font-size: 42px;
  }

  .community-metrics,
  .repo-list,
  .community-join-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .community-metric {
    min-height: 142px;
    padding: 30px 20px;
  }

  .community-metric + .community-metric {
    border-top: 1px solid rgba(210, 218, 239, 0.9);
    border-left: 0;
  }

  .community-metric--featured {
    min-height: 168px;
    margin-top: 0;
  }

  .repo-card--primary {
    grid-column: auto;
  }

  .community-join {
    border-radius: 0;
  }

  .community-wechat-copy h2 {
    font-size: 40px;
  }

  .community-wechat-actions {
    flex-direction: column;
  }

  .community-wechat-actions .pill-button,
  .community-wechat-actions .outline-button {
    width: 100%;
    justify-content: center;
  }
}

/* Chat product page refresh: scoped layout and readability fixes. */
.im-product-page .im-experience-section,
.im-product-page .im-advanced-section,
.im-product-page .im-client-path-section,
.im-product-page .im-video-entry-section {
  box-sizing: border-box;
  width: min(100%, var(--layout-container));
  max-width: var(--layout-container);
  margin-right: auto;
  margin-left: auto;
  padding: var(--layout-section-y-compact) var(--layout-gutter);
  scroll-margin-top: calc(var(--layout-header) + var(--space-24));
}

.im-product-page .hero-subtitle--support {
  margin-top: 8px;
}

.im-product-page .reveal {
  opacity: 1;
  transform: none;
}

.im-product-page > section {
  box-sizing: border-box;
}

.im-product-page .im-quote-bubble {
  display: grid;
  gap: 7px;
  max-width: 78%;
  padding: 12px 14px;
  border-left: 3px solid #742bff;
  border-radius: 16px;
  background: #f0f3fa;
  color: #222637;
}

.im-product-page .im-quote-bubble em {
  color: #742bff;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 16px;
}

.im-product-page .im-quote-bubble span {
  font-size: 13px;
  line-height: 20px;
}

.im-experience-layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: stretch;
}

.im-experience-layout--showcase {
  display: block;
}

.im-experience-preview {
  position: sticky;
  top: calc(var(--layout-header) + 28px);
  display: grid;
  align-content: start;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid #e4e8f2;
  border-radius: var(--radius-float);
  background:
    radial-gradient(circle at 72% 8%, rgba(116, 43, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #fbfcff 0%, #f4f7fc 100%);
  box-shadow: 0 28px 80px rgba(32, 28, 64, 0.08);
}

.im-experience-preview--showcase {
  position: relative;
  top: auto;
  grid-template-columns: minmax(250px, 0.58fr) minmax(0, 1.42fr);
  align-items: center;
  gap: clamp(28px, 4vw, 48px);
  min-height: 620px;
  padding: clamp(28px, 4vw, 54px);
  background:
    radial-gradient(circle at 18% 22%, rgba(116, 43, 255, 0.14), transparent 30%),
    radial-gradient(circle at 86% 14%, rgba(61, 124, 255, 0.11), transparent 28%),
    linear-gradient(180deg, #fbfcff 0%, #f6f8fd 100%);
}

.im-showcase-phone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.im-showcase-phone-glow {
  position: absolute;
  inset: 16% 6% 10% 0;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 20%, rgba(116, 43, 255, 0.18), transparent 40%),
    linear-gradient(145deg, rgba(17, 19, 35, 0.12), rgba(61, 124, 255, 0.08));
  filter: blur(2px);
}

.im-showcase-phone figure {
  position: relative;
  z-index: 1;
  width: min(92%, 326px);
  aspect-ratio: 720 / 1517;
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: clamp(38px, 9vw, 56px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 18%),
    linear-gradient(155deg, #151a24 0%, #3b4355 10%, #0f1420 34%, #31394b 72%, #0b101a 100%);
  box-shadow:
    0 34px 72px rgba(24, 28, 47, 0.22),
    0 16px 30px rgba(116, 43, 255, 0.12);
}

.im-showcase-phone figure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.6),
    inset 0 0 0 7px rgba(10, 14, 22, 0.96),
    inset 0 0 18px rgba(255, 255, 255, 0.28);
}

.im-showcase-phone-screen {
  position: absolute;
  inset: clamp(10px, 1.2vw, 13px);
  z-index: 1;
  overflow: hidden;
  border-radius: clamp(30px, 7.5vw, 45px);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(226, 231, 242, 0.78);
}

.im-showcase-phone img {
  display: block;
  width: 100%;
  max-width: none;
  max-height: none;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: none;
  transition: opacity 180ms ease;
}

.im-showcase-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.im-showcase-feature-card {
  appearance: none;
  display: grid;
  align-content: start;
  min-height: 166px;
  padding: clamp(20px, 2vw, 26px);
  border: 1px solid rgba(226, 231, 242, 0.96);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(32, 28, 64, 0.055);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.im-showcase-feature-card:hover,
.im-showcase-feature-card.is-active {
  border-color: rgba(116, 43, 255, 0.28);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 54px rgba(32, 28, 64, 0.1);
  transform: translateY(-2px);
}

.im-showcase-feature-card:focus-visible {
  outline: 3px solid rgba(116, 43, 255, 0.22);
  outline-offset: 3px;
}

.im-showcase-features span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(116, 43, 255, 0.1);
  color: #742bff;
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
}

.im-showcase-features .im-feature-icon svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.im-showcase-feature-card:nth-child(2) span {
  background: rgba(255, 199, 87, 0.18);
  color: #b77900;
}

.im-showcase-feature-card:nth-child(3) span {
  background: rgba(61, 124, 255, 0.12);
  color: #2f65d8;
}

.im-showcase-feature-card:nth-child(4) span {
  background: rgba(32, 201, 151, 0.13);
  color: #0c8f6a;
}

.im-showcase-feature-card:nth-child(5) span {
  background: rgba(236, 72, 153, 0.12);
  color: #c02672;
}

.im-showcase-feature-card:nth-child(6) span {
  background: rgba(14, 165, 233, 0.12);
  color: #0284c7;
}

.im-showcase-features h3 {
  margin: 18px 0 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.35vw, 20px);
  font-weight: 760;
  line-height: 1.28;
}

.im-showcase-features p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 23px;
}

@media (max-width: 1180px) {
  .im-experience-preview--showcase {
    grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
    gap: 28px;
    padding: 34px;
  }

  .im-showcase-phone {
    min-height: 520px;
  }

  .im-showcase-phone figure {
    width: min(90%, 310px);
  }

  .im-showcase-feature-card {
    min-height: 170px;
    padding: 22px;
  }
}

@media (max-width: 900px) {
  .im-experience-preview--showcase {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .im-showcase-phone {
    min-height: 520px;
  }

  .im-showcase-phone figure {
    width: min(58vw, 310px);
  }
}

@media (max-width: 760px) {
  .im-experience-preview--showcase {
    gap: 24px;
    padding: 22px;
    border-radius: 26px;
  }

  .im-showcase-phone {
    min-height: 480px;
  }

  .im-showcase-phone figure {
    width: min(70vw, 286px);
  }

  .im-showcase-features {
    grid-template-columns: minmax(0, 1fr);
  }

  .im-showcase-feature-card {
    min-height: 0;
  }
}

.im-preview-toolbar {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  padding: 0 22px;
  border-bottom: 1px solid #e7ebf4;
  background: rgba(255, 255, 255, 0.72);
}

.im-preview-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d8deeb;
}

.im-preview-toolbar strong {
  margin-left: 8px;
  color: #1b2030;
  font-size: 14px;
}

.im-preview-chat {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 44px);
}

.im-preview-message {
  display: grid;
  gap: 10px;
  width: 78%;
  padding: 18px;
  border: 1px solid #e2e7f1;
  border-radius: 20px 20px 20px 6px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(32, 28, 64, 0.08);
}

.im-preview-message--out {
  justify-self: end;
  border: 0;
  border-radius: 20px 20px 6px 20px;
  background: linear-gradient(135deg, #742bff, #3d7cff);
  color: #fff;
}

.im-preview-message em {
  color: #742bff;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.im-preview-message--out em {
  color: rgba(255, 255, 255, 0.78);
}

.im-preview-message p {
  margin: 0;
  color: #232838;
  font-size: 16px;
  line-height: 26px;
}

.im-preview-message--out p {
  color: #fff;
}

.im-preview-sync {
  display: grid;
  grid-template-columns: 1fr 38px 1fr 38px 1fr;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}

.im-preview-sync span {
  display: grid;
  place-items: center;
  min-height: 54px;
  border: 1px solid #e1e6f1;
  border-radius: 18px;
  background: #fff;
  color: #252a3a;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(32, 28, 64, 0.07);
}

.im-preview-sync i {
  height: 2px;
  background: linear-gradient(90deg, rgba(116, 43, 255, 0.18), rgba(61, 124, 255, 0.85));
}

.im-experience-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--layout-card-gap);
}

.im-experience-list article {
  display: grid;
  align-content: start;
  min-height: 246px;
  padding: clamp(24px, 2.7vw, 34px);
  border: 1px solid #e4e8f2;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(32, 28, 64, 0.055);
}

.im-experience-list span,
.im-client-path article span {
  color: #742bff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  line-height: 20px;
}

.im-experience-list h3,
.im-client-path article h3,
.im-entry-list strong {
  margin: 16px 0 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 760;
  line-height: 30px;
}

.im-experience-list p,
.im-client-path article p,
.im-entry-list span {
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 26px;
}

.im-client-path-section {
  position: relative;
  border-radius: var(--radius-float);
  background: #f8f7fc;
}

.im-client-path-section .section-copy {
  margin-bottom: clamp(34px, 4.5vw, 54px);
}

.im-product-page .im-feature-matrix--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 42px);
  padding-top: 6px;
}

.im-product-page .im-feature-matrix--five li {
  font-size: 14px;
  line-height: 21px;
}

.im-code-section--developer {
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
}

.im-advanced-section {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-float);
  background:
    radial-gradient(circle at 92% 0%, rgba(116, 43, 255, 0.10), transparent 34%),
    linear-gradient(180deg, #fbfcff 0%, #f5f7ff 100%);
}

.im-advanced-section .section-copy {
  max-width: 820px;
}

.im-advanced-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--layout-card-gap);
}

.im-advanced-grid article {
  display: grid;
  align-content: start;
  min-height: 250px;
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid rgba(224, 229, 241, 0.96);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(32, 28, 64, 0.055);
}

.advanced-chat-ui {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 126px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid #e4e9f4;
  border-radius: 22px;
  background:
    linear-gradient(rgba(116, 43, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 124, 255, 0.045) 1px, transparent 1px),
    #f8faff;
  background-size: 18px 18px;
}

.advanced-chat-ui--image {
  display: block;
  aspect-ratio: 1448 / 1086;
  min-height: 0;
  padding: 0;
  background: #f8faff;
}

.advanced-chat-ui--image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.advanced-chat-ui--search-context img {
  object-fit: contain;
}

.advanced-chat-bubble {
  display: block;
  width: fit-content;
  max-width: 88%;
  padding: 10px 13px;
  border: 1px solid #e4e9f4;
  border-radius: 16px 16px 16px 6px;
  background: #fff;
  color: #202433;
  font-size: 13px;
  font-weight: 750;
  line-height: 19px;
  box-shadow: 0 10px 24px rgba(32, 28, 64, 0.055);
}

.advanced-chat-bubble--out {
  justify-self: end;
  border-color: transparent;
  border-radius: 16px 16px 6px 16px;
  background: linear-gradient(135deg, #742bff, #3d7cff);
  color: #fff;
}

.advanced-chat-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.advanced-chat-status strong,
.advanced-chat-status em,
.advanced-label,
.advanced-search-bar {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid #e3e8f2;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #525c72;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 16px;
}

.advanced-chat-status strong {
  color: #742bff;
}

.advanced-search-bar {
  width: 100%;
  justify-content: flex-start;
  border-radius: 14px;
  color: #742bff;
}

.advanced-wave {
  display: flex;
  gap: 5px;
  align-items: center;
  width: fit-content;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(116, 43, 255, 0.12), rgba(61, 124, 255, 0.10));
}

.advanced-wave i {
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #742bff, #3d7cff);
}

.advanced-wave i:nth-child(1) { height: 18px; }
.advanced-wave i:nth-child(2) { height: 30px; }
.advanced-wave i:nth-child(3) { height: 23px; }
.advanced-wave i:nth-child(4) { height: 34px; }

.advanced-chat-ui--labels {
  grid-template-columns: repeat(2, minmax(0, auto));
  align-content: center;
}

.advanced-label {
  border-color: rgba(116, 43, 255, 0.16);
  background: rgba(116, 43, 255, 0.07);
  color: #742bff;
}

.im-advanced-grid h3 {
  margin: 22px 0 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 760;
  line-height: 29px;
}

.im-advanced-grid p {
  margin: 20px 0 0;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 650;
  line-height: 26px;
}

.im-advanced-action {
  display: flex;
  justify-content: center;
  margin-top: var(--space-40);
}

.im-entry-list {
  display: grid;
  gap: 14px;
  margin: var(--space-28) 0;
}

.im-entry-list article {
  padding: 18px 20px;
  border: 1px solid #e4e8f2;
  border-radius: 20px;
  background: #fff;
}

.im-entry-list strong,
.im-entry-list span {
  display: block;
}

.im-entry-list strong {
  margin: 0;
  font-size: 18px;
  line-height: 25px;
}

.im-entry-list span {
  margin-top: 6px;
  font-size: 15px;
  line-height: 23px;
}

.im-code-window--tabs {
  min-height: 520px;
}

.im-code-tabs {
  flex-wrap: wrap;
}

.im-code-tabs button {
  min-height: 34px;
  padding: 8px 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.im-code-tabs button.active,
.im-code-tabs button:hover,
.im-code-tabs button:focus-visible {
  background: rgba(116, 43, 255, 0.34);
  color: #fff;
  outline: none;
}

.im-code-window pre[hidden] {
  display: none;
}

.im-client-path {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr) 64px minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
}

.im-client-path article {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  align-content: start;
  min-height: 318px;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid rgba(218, 224, 239, 0.96);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(32, 28, 64, 0.055);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.im-client-path article:hover {
  border-color: rgba(116, 43, 255, 0.28);
  box-shadow: 0 22px 50px rgba(32, 28, 64, 0.075);
  transform: translateY(-2px);
}

.im-client-path article span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 32px;
  border: 1px solid rgba(116, 43, 255, 0.16);
  border-radius: 999px;
  background: rgba(116, 43, 255, 0.07);
  font-size: 13px;
  line-height: 1;
}

.im-client-path article h3 {
  margin-top: 22px;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.16;
}

.im-client-path article p {
  margin-top: 14px;
  font-size: 16px;
  line-height: 27px;
}

.im-client-path i {
  position: relative;
  align-self: center;
  height: 1px;
  background: rgba(116, 43, 255, 0.22);
}

.im-client-path i::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 9px;
  height: 9px;
  border-top: 1.5px solid rgba(116, 43, 255, 0.72);
  border-right: 1.5px solid rgba(116, 43, 255, 0.72);
  transform: translateY(-50%) rotate(45deg);
}

.im-path-fit {
  display: flex;
  gap: 4px;
  align-items: baseline;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #edf0f6;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 22px;
}

.im-path-fit strong {
  flex: 0 0 auto;
  color: var(--text-primary);
  font-size: inherit;
  font-weight: 800;
}

.im-client-path .im-path-fit span {
  display: inline;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: inherit;
  font-weight: 500;
  line-height: inherit;
}

.im-client-path .text-link {
  align-self: end;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  color: #742bff;
  font-size: 14px;
  font-weight: 800;
  line-height: 20px;
  text-decoration: none;
}

.im-client-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #e2e7f1;
  border-bottom: 1px solid #e2e7f1;
}

.im-client-options article {
  display: grid;
  align-content: start;
  min-height: 280px;
  padding: clamp(24px, 3vw, 38px);
  background: transparent;
}

.im-client-options article + article {
  border-left: 1px solid #e2e7f1;
}

.im-client-options article > span {
  color: #742bff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 850;
}

.im-client-options h3 {
  margin: 18px 0 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(26px, 2.3vw, 34px);
  line-height: 1.12;
}

.im-client-options p {
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 27px;
}

.im-client-options .text-link {
  align-self: end;
  justify-self: start;
  margin-top: 24px;
  color: #742bff;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.im-reliability-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--layout-card-gap);
}

.im-reliability-panel article {
  min-height: 230px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.im-reliability-panel strong {
  display: block;
  margin-bottom: 18px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 30px;
}

.im-reliability-panel span {
  display: inline-flex;
  margin: 0 8px 10px 0;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 750;
}

.im-product-page .im-dark-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(116, 43, 255, 0.32), transparent 42%),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    #0d1021;
  background-size: auto, 34px 34px, 34px 34px, auto;
}

.im-product-page .im-dark-section::before {
  display: none;
  content: none;
}

.im-video-entry-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: var(--layout-grid-gap);
  align-items: center;
}

.im-video-entry-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid #e4e8f2;
  border-radius: var(--radius-float);
  background:
    radial-gradient(circle at 76% 18%, rgba(116, 43, 255, 0.15), transparent 30%),
    linear-gradient(180deg, #fbfcff 0%, #f4f7fc 100%);
  box-shadow: 0 24px 70px rgba(32, 28, 64, 0.08);
}

.im-video-grid {
  position: absolute;
  inset: 44px 44px 94px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.im-video-grid span {
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(116, 43, 255, 0.2), rgba(61, 124, 255, 0.12)),
    #fff;
  box-shadow: inset 0 0 0 1px #e4e8f2;
}

.im-video-grid span:nth-child(2),
.im-video-grid span:nth-child(3) {
  background:
    radial-gradient(circle at 50% 26%, rgba(116, 43, 255, 0.2), transparent 30%),
    #fff;
}

.im-video-controls {
  position: absolute;
  left: 50%;
  bottom: 36px;
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(17, 21, 38, 0.9);
  transform: translateX(-68%);
}

.im-video-controls i {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.im-video-controls i:nth-child(2) {
  background: #742bff;
}

.im-product-page .final-cta p:not(.eyebrow) {
  max-width: 640px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 29px;
}

@media (max-width: 1180px) {
  .im-experience-layout,
  .im-code-section--developer,
  .im-video-entry-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .im-experience-preview {
    position: relative;
    top: auto;
    min-height: 520px;
  }

  .im-product-page .im-feature-matrix--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .im-client-path {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .im-client-path i {
    width: 2px;
    height: 42px;
    justify-self: center;
    background: rgba(116, 43, 255, 0.22);
  }

  .im-client-path i::after {
    top: auto;
    right: 50%;
    bottom: 0;
    transform: translateX(50%) rotate(135deg);
  }
}

@media (max-width: 760px) {
  .im-product-page .im-experience-section,
  .im-product-page .im-advanced-section,
  .im-product-page .im-client-path-section,
  .im-product-page .im-video-entry-section {
    padding-right: var(--layout-gutter);
    padding-left: var(--layout-gutter);
  }

  .im-experience-list,
  .im-product-page .im-feature-matrix--five {
    grid-template-columns: minmax(0, 1fr);
  }

  .im-experience-preview {
    min-height: 440px;
  }

  .im-preview-chat {
    padding: 22px;
  }

  .im-preview-message {
    width: 92%;
  }

  .im-preview-sync {
    grid-template-columns: minmax(0, 1fr);
  }

  .im-preview-sync i {
    width: 2px;
    height: 22px;
    justify-self: center;
  }

  .im-code-window--tabs {
    min-height: 0;
  }

  .im-client-path-section {
    border-radius: 26px;
  }

  .im-client-path article {
    min-height: 0;
    padding: 24px;
    border-radius: 20px;
  }

  .im-code-tabs {
    padding: 14px;
  }

  .im-code-window pre {
    padding: 20px;
  }

  .im-video-entry-visual {
    min-height: 350px;
  }

  .im-video-grid {
    inset: 28px 24px 86px;
    gap: 10px;
  }
}

/* Developer dropdown: keep it as a single-column menu. */
.mega-menu--developer,
.site-header.is-scrolled .mega-menu--developer {
  width: min(390px, calc(100vw - 48px));
}

.mega-menu--developer .mega-column,
.mega-menu--wide.mega-menu--developer .mega-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 2px;
  column-gap: 0;
}

.mega-menu--developer .mega-label,
.mega-menu--wide.mega-menu--developer .mega-label {
  grid-column: auto;
}

/* Fix RTC dark section contrast: prevent global even-section wash from covering dark UI. */
.rtc-product-page .rtc-dark-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(116, 43, 255, 0.22), transparent 36%),
    #0d1021 !important;
  background-size: 34px 34px, 34px 34px, auto, auto;
  color: #fff;
}

.rtc-product-page .rtc-dark-section::before {
  display: none !important;
  content: none !important;
}

.rtc-product-page .rtc-dark-section > * {
  position: relative;
  z-index: 1;
}

.rtc-product-page .rtc-dark-section .eyebrow,
.rtc-product-page .rtc-dark-copy h2,
.rtc-product-page .rtc-dark-copy p,
.rtc-product-page .rtc-call-flow span,
.rtc-product-page .rtc-quality-grid span {
  opacity: 1;
  color: #fff;
}

.rtc-product-page .rtc-dark-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.rtc-product-page .rtc-call-flow span,
.rtc-product-page .rtc-quality-grid span {
  background: rgba(255, 255, 255, 0.11);
}

/* Global CTA readability: inverse eyebrow text must stay legible on gradient banners. */
.final-cta .eyebrow--inverse,
.site-page .final-cta .eyebrow--inverse,
.platform-redesign .gradient-cta .eyebrow--inverse {
  display: inline-flex;
  width: fit-content;
  margin-bottom: var(--space-16);
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(24, 20, 64, 0.24);
}

/* RTC product page v2: product-detail rhythm, feature matrix, SDK tabs. */
.rtc-product-page .rtc-value-section,
.rtc-product-page .rtc-matrix-section,
.rtc-product-page .rtc-sdk-section,
.rtc-product-page .rtc-control-section,
.rtc-product-page .rtc-other-product-section {
  box-sizing: border-box;
  width: min(100%, var(--layout-container));
  max-width: var(--layout-container);
  margin-right: auto;
  margin-left: auto;
  padding: var(--layout-section-y-compact) var(--layout-gutter);
  scroll-margin-top: calc(var(--layout-header) + var(--space-24));
}

.rtc-product-page .rtc-hero .hero-subtitle br {
  display: block;
}

.rtc-visual-canvas--product {
  background:
    radial-gradient(circle at 78% 14%, rgba(116, 43, 255, 0.16), transparent 32%),
    radial-gradient(circle at 14% 82%, rgba(61, 124, 255, 0.13), transparent 28%),
    linear-gradient(180deg, #fbfcff 0%, #eef4ff 100%);
}

.rtc-meeting-window--rich {
  left: 32px;
  top: 44px;
  width: min(76%, 650px);
}

.rtc-meeting-grid--rich span {
  position: relative;
  display: grid;
  align-content: end;
  padding: 14px;
  overflow: hidden;
}

.rtc-meeting-grid--rich span::before {
  content: "";
  position: absolute;
  inset: 18% 28% auto;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
}

.rtc-meeting-grid--rich b,
.rtc-meeting-grid--rich em {
  position: relative;
  z-index: 1;
  color: rgba(20, 24, 38, 0.74);
  font-size: 12px;
  font-style: normal;
  line-height: 18px;
}

.rtc-phone-call--rich {
  top: 142px;
  z-index: 3;
}

.rtc-phone-call--rich small {
  color: #747b8f;
  font-size: 12px;
  font-weight: 700;
}

.rtc-share-status {
  position: absolute;
  right: 44px;
  bottom: 52px;
  z-index: 4;
  display: grid;
  gap: 6px;
  width: 290px;
  padding: 18px 20px;
  border: 1px solid #dde5f4;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 64px rgba(32, 28, 64, 0.14);
}

.rtc-meeting-window--rich {
  z-index: 2;
}

.rtc-meeting-window--rich .rtc-meeting-grid span:nth-child(3),
.rtc-meeting-window--rich .rtc-meeting-grid span:nth-child(5) {
  color: transparent;
}

.rtc-meeting-window--rich .rtc-meeting-grid span:nth-child(3) b,
.rtc-meeting-window--rich .rtc-meeting-grid span:nth-child(5) b {
  opacity: 0;
}

.rtc-share-status strong {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 800;
}

.rtc-share-status span {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 19px;
}

.rtc-value-section .section-copy {
  max-width: 780px;
  margin-bottom: var(--space-64);
}

.rtc-value-story {
  display: grid;
  gap: clamp(64px, 8vw, 112px);
}

.rtc-value-row {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: var(--space-96);
}

.rtc-value-row--reverse {
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
}

.rtc-value-row--reverse .rtc-story-visual {
  order: 2;
}

.rtc-value-copy {
  max-width: 560px;
}

.rtc-value-copy h3 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(34px, 3.1vw, 48px);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.rtc-value-copy p {
  margin: var(--space-20) 0 0;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 30px;
}

.rtc-value-copy ul {
  display: grid;
  gap: 12px;
  margin: var(--space-28) 0 0;
  padding: 0;
  list-style: none;
}

.rtc-value-copy li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #282d3c;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.rtc-story-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(227, 229, 239, 0.95);
  border-radius: var(--radius-float);
  background:
    linear-gradient(rgba(116, 43, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 124, 255, 0.05) 1px, transparent 1px),
    #f8faff;
  background-size: 34px 34px;
}

.rtc-story-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.rtc-story-visual--calls .rtc-story-image {
  width: 122%;
  max-width: none;
}

.rtc-story-visual--meeting .rtc-story-image {
  width: 120%;
  max-width: none;
  transform: translateX(36px);
}

.rtc-story-visual--network .rtc-story-image {
  width: 112%;
  max-width: none;
}

.rtc-duo-call,
.rtc-mini-grid,
.rtc-wide-meeting,
.rtc-device-stack,
.rtc-network-card {
  position: absolute;
  border: 1px solid #e0e6f2;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(32, 28, 64, 0.1);
}

.rtc-duo-call {
  left: 38px;
  top: 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 68%;
  padding: 20px;
}

.rtc-duo-call span {
  min-height: 172px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(116,43,255,.24), rgba(61,124,255,.16));
}

.rtc-duo-call strong,
.rtc-duo-call em {
  grid-column: 1 / -1;
  color: var(--text-primary);
  font-style: normal;
  line-height: 22px;
}

.rtc-mini-grid {
  right: 34px;
  bottom: 44px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 210px;
  padding: 16px;
}

.rtc-mini-grid span {
  min-height: 74px;
  border-radius: 16px;
  background: #edf2ff;
}

.rtc-wide-meeting {
  inset: 38px;
  display: grid;
  grid-template-columns: 1fr 142px;
  grid-template-rows: 1fr auto;
  gap: 14px;
  padding: 20px;
}

.rtc-wide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.rtc-wide-grid span {
  min-height: 92px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(116,43,255,.20), rgba(61,124,255,.15));
}

.rtc-wide-meeting aside {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: #f4f6fb;
}

.rtc-wide-meeting aside strong {
  font-size: 13px;
  line-height: 18px;
}

.rtc-wide-meeting aside i {
  height: 28px;
  border-radius: 999px;
  background: #fff;
}

.rtc-wide-controls {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.rtc-wide-controls b {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #eef2fa;
}

.rtc-wide-controls b:nth-child(3) {
  background: linear-gradient(135deg, #742bff, #3d7cff);
}

.rtc-device-stack {
  left: 44px;
  top: 52px;
  display: grid;
  gap: 12px;
  width: 240px;
  padding: 20px;
}

.rtc-device-stack span,
.rtc-network-card b {
  min-height: 42px;
  padding: 11px 14px;
  border-radius: 14px;
  background: #f0f4ff;
  color: #24293a;
  font-size: 14px;
  font-weight: 800;
}

.rtc-network-card {
  right: 38px;
  bottom: 54px;
  display: grid;
  gap: 12px;
  width: 300px;
  padding: 22px;
}

.rtc-network-card strong {
  color: var(--text-primary);
  font-size: 18px;
}

.rtc-network-card em {
  color: var(--text-secondary);
  font-style: normal;
  line-height: 24px;
}

.rtc-feature-matrix {
  padding-top: 4px;
}

.rtc-feature-matrix article {
  min-width: 0;
}

.rtc-meeting-showcase--detailed {
  min-height: 560px;
}

.rtc-meeting-showcase--detailed .rtc-screen-share em {
  display: block;
  margin-top: 6px;
  color: #742bff;
  font-style: normal;
  font-weight: 750;
}

.rtc-member-list--status span {
  display: flex;
  align-items: center;
  height: auto;
  min-height: 34px;
  padding: 0 12px;
  color: #4f586b;
  font-size: 12px;
  font-weight: 700;
}

.rtc-meeting-dock {
  position: absolute;
  left: 50%;
  bottom: 34px;
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #e3e7f2;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 46px rgba(32, 28, 64, 0.12);
  transform: translateX(-50%);
}

.rtc-meeting-dock i {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #edf2ff;
}

.rtc-meeting-dock i:nth-child(3) {
  background: linear-gradient(135deg, #742bff, #3d7cff);
}

.rtc-sdk-section .section-copy {
  max-width: 860px;
}

.rtc-product-page .rtc-sdk-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.42fr) minmax(0, 0.58fr);
  align-items: center;
  gap: var(--layout-grid-gap);
}

.rtc-integration-copy {
  max-width: 560px;
}

.rtc-integration-copy h2 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(38px, 3.6vw, 58px);
  font-weight: 800;
  line-height: 1.04;
}

.rtc-integration-copy p:not(.eyebrow) {
  margin: var(--space-20) 0 0;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 30px;
}

.rtc-integration-list {
  display: grid;
  gap: 16px;
  margin: var(--space-32) 0;
}

.rtc-integration-list article {
  padding-left: 18px;
  border-left: 2px solid rgba(116, 43, 255, 0.22);
}

.rtc-integration-list strong,
.rtc-integration-list span {
  display: block;
}

.rtc-integration-list strong {
  color: var(--text-primary);
  font-size: 18px;
  line-height: 25px;
}

.rtc-integration-list span {
  margin-top: 5px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 24px;
}

.rtc-integration-visual {
  position: relative;
  min-height: 520px;
}

.rtc-integration-visual--image {
  display: grid;
  min-height: 0;
  place-items: center;
}

.rtc-integration-image {
  display: block;
  width: min(100%, 760px);
  height: auto;
  border-radius: clamp(18px, 2.1vw, 30px);
  object-fit: contain;
  filter: drop-shadow(0 28px 64px rgba(32, 28, 64, 0.12));
  user-select: none;
  -webkit-user-drag: none;
}

.rtc-integration-meeting {
  position: absolute;
  inset: 30px 42px 56px 0;
  padding: 22px;
  border: 1px solid #e3e8f2;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(32, 28, 64, 0.12);
}

.rtc-integration-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.rtc-integration-top strong {
  color: #202433;
  font-size: 18px;
}

.rtc-integration-top span {
  color: #747d90;
  font-size: 13px;
  font-weight: 800;
}

.rtc-integration-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rtc-integration-grid span {
  min-height: 118px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.8), transparent 18%),
    linear-gradient(135deg, rgba(116, 43, 255, 0.22), rgba(61, 124, 255, 0.14));
}

.rtc-integration-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.rtc-integration-controls i {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #eef2fa;
}

.rtc-integration-controls i:nth-child(3) {
  background: linear-gradient(135deg, #742bff, #3d7cff);
}

.rtc-integration-phone,
.rtc-integration-recording,
.rtc-integration-state {
  position: absolute;
  z-index: 2;
  border: 1px solid #e3e8f2;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 54px rgba(32, 28, 64, 0.12);
}

.rtc-integration-phone {
  right: 0;
  top: 84px;
  display: grid;
  place-items: center;
  width: 190px;
  min-height: 258px;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(145deg, #171d33, #3d7cff);
}

.rtc-integration-phone strong,
.rtc-integration-phone span {
  position: relative;
  z-index: 1;
}

.rtc-integration-phone span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.rtc-integration-phone i {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.rtc-integration-recording {
  left: 34px;
  bottom: 18px;
  width: 245px;
  padding: 16px 18px;
  border-radius: 20px;
}

.rtc-integration-state {
  right: 30px;
  bottom: 42px;
  width: 250px;
  padding: 16px 18px;
  border-radius: 20px;
}

.rtc-integration-recording strong,
.rtc-integration-state strong {
  display: block;
  color: var(--text-primary);
  font-size: 15px;
}

.rtc-integration-recording span,
.rtc-integration-state span {
  display: block;
  margin-top: 5px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  line-height: 19px;
}

.rtc-sdk-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-28);
  align-items: start;
}

.rtc-sdk-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1.08fr) 46px minmax(0, 1fr) 46px minmax(0, 1fr);
  align-items: center;
  gap: 0;
  min-height: 0;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid #e3e8f2;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(32, 28, 64, 0.045);
}

.rtc-sdk-flow span,
.rtc-sdk-flow strong {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 74px;
  padding: 14px 16px;
  border: 1px solid #e3e8f2;
  border-radius: 18px;
  background: #f8faff;
  color: #202433;
  text-align: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 820;
  line-height: 24px;
}

.rtc-sdk-flow strong {
  background: linear-gradient(135deg, #742bff, #3d7cff);
  color: #fff;
}

.rtc-sdk-flow i {
  position: relative;
  height: 1px;
  background: rgba(116, 43, 255, 0.22);
}

.rtc-sdk-flow i::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid rgba(116, 43, 255, 0.72);
  border-right: 1.5px solid rgba(116, 43, 255, 0.72);
  transform: translateY(-50%) rotate(45deg);
}

.rtc-sdk-stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--layout-card-gap);
}

.rtc-sdk-stages article {
  min-height: 270px;
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid #e3e8f2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(32, 28, 64, 0.04);
}

.rtc-sdk-stages span {
  color: #742bff;
  font-size: 13px;
  font-weight: 850;
}

.rtc-sdk-stages h3 {
  margin: 6px 0 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 30px;
}

.rtc-sdk-stages p {
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 24px;
}

.rtc-stage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.rtc-stage-tags em {
  min-height: 30px;
  padding: 7px 10px;
  border: 1px solid #e4e8f2;
  border-radius: 999px;
  background: #f8faff;
  color: #3a4052;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 16px;
}

.rtc-sdk-tabs {
  display: grid;
  gap: 8px;
}

.rtc-sdk-tabs button {
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid #e3e8f2;
  border-radius: 14px;
  background: #fff;
  color: #34394b;
  text-align: left;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
}

.rtc-sdk-tabs button.active,
.rtc-sdk-tabs button:hover {
  border-color: rgba(116, 43, 255, 0.32);
  background: rgba(116, 43, 255, 0.08);
  color: #742bff;
}

.rtc-code-window {
  min-height: 360px;
  overflow: hidden;
  border-radius: 26px;
  background: #101426;
  box-shadow: 0 30px 76px rgba(16, 20, 38, 0.2);
}

.rtc-code-window pre {
  display: none;
  margin: 0;
  padding: 34px;
  color: #edf0ff;
  white-space: pre-wrap;
}

.rtc-code-window pre.active {
  display: block;
}

.rtc-code-window code {
  font-size: 15px;
  line-height: 28px;
}

.rtc-platform-cloud {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--space-8);
}

.rtc-platform-cloud span {
  min-height: 36px;
  padding: 9px 13px;
  border: 1px solid #e4e8f2;
  border-radius: 999px;
  background: #fff;
  color: #3a4052;
  font-size: 13px;
  font-weight: 750;
}

.rtc-sdk-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: var(--space-16);
  margin-top: var(--space-12);
}

.rtc-control-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.42fr) minmax(0, 0.58fr);
  align-items: center;
  gap: var(--layout-grid-gap);
}

.rtc-control-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 14px;
  min-height: 460px;
  padding: var(--space-40);
  border: 1px solid #e3e8f2;
  border-radius: var(--radius-float);
  background:
    radial-gradient(circle at 50% 0%, rgba(116, 43, 255, 0.12), transparent 35%),
    #f8faff;
}

.rtc-control-flow div {
  display: grid;
  place-items: center;
  width: min(100%, 360px);
  min-height: 72px;
  border-radius: 20px;
  background: #fff;
  color: #202433;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 18px 48px rgba(32, 28, 64, 0.08);
}

.rtc-control-flow div:nth-of-type(2) {
  background: linear-gradient(135deg, #742bff, #3d7cff);
  color: #fff;
}

.rtc-control-flow b {
  width: 2px;
  height: 34px;
  background: linear-gradient(180deg, rgba(116, 43, 255, 0.2), rgba(61, 124, 255, 0.72));
}

.rtc-control-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid #e3e8f2;
  border-radius: var(--radius-float);
  background:
    linear-gradient(rgba(116, 43, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 124, 255, 0.045) 1px, transparent 1px),
    #f8faff;
  background-size: 26px 26px;
}

.rtc-control-panel article {
  min-height: 122px;
  padding: 20px;
  border: 1px solid #e3e8f2;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(32, 28, 64, 0.045);
}

.rtc-control-panel span,
.rtc-control-panel strong {
  display: block;
}

.rtc-control-panel span {
  color: #742bff;
  font-size: 13px;
  font-weight: 850;
}

.rtc-control-panel strong {
  margin-top: 18px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 31px;
}

.rtc-control-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(420px, 42vw, 640px);
  overflow: visible;
}

.rtc-control-visual::before {
  content: "";
  position: absolute;
  inset: 13% 5% 8% 4%;
  border-radius: 42px;
  background:
    radial-gradient(circle at 78% 24%, rgba(57, 119, 255, 0.16), transparent 38%),
    radial-gradient(circle at 25% 68%, rgba(58, 151, 255, 0.12), transparent 42%);
  filter: blur(10px);
  opacity: 0.82;
  pointer-events: none;
}

.rtc-control-image {
  position: relative;
  z-index: 1;
  display: block;
  width: min(118%, 880px);
  height: auto;
  max-width: none;
  filter: drop-shadow(0 28px 58px rgba(35, 72, 130, 0.13));
}

.rtc-other-product-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--layout-grid-gap);
}

.rtc-other-product-section .media-feature-copy {
  max-width: 560px;
}

.rtc-other-product-section .outline-button {
  margin-top: 26px;
}

.rtc-other-product-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.rtc-other-product-image {
  display: block;
  width: min(100%, 720px);
  height: auto;
  max-width: 100%;
  border-radius: clamp(24px, 2.6vw, 36px);
}

.rtc-call-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-40);
}

.rtc-call-flow span {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255,255,255,0.92);
  font-weight: 800;
  text-align: center;
}

.rtc-call-flow b {
  display: none;
}

@media (max-width: 1180px) {
  .rtc-value-row,
  .rtc-value-row--reverse,
  .rtc-product-page .rtc-sdk-section,
  .rtc-control-section,
  .rtc-other-product-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .rtc-product-continuity,
  .im-client-options,
  .im-reliability-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .rtc-product-panel + .rtc-product-panel {
    margin-left: 0;
    margin-top: -26px;
  }

  .rtc-product-panel--call {
    transform: none;
  }

  .rtc-call-shot {
    width: min(112%, 620px);
    margin-right: auto;
    margin-left: auto;
    transform: none;
  }

  .im-client-options article + article {
    border-top: 1px solid #e2e7f1;
    border-left: 0;
  }

  .rtc-sdk-flow {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 12px;
  }

  .rtc-sdk-flow span,
  .rtc-sdk-flow strong {
    width: min(100%, 520px);
  }

  .rtc-sdk-flow i {
    width: 2px;
    height: 28px;
    background: linear-gradient(180deg, rgba(116, 43, 255, 0.18), rgba(61, 124, 255, 0.78));
  }

  .rtc-sdk-flow i::after {
    right: 50%;
    top: auto;
    bottom: 0;
    transform: translateX(50%) rotate(135deg);
  }

  .rtc-sdk-stages {
    grid-template-columns: minmax(0, 1fr);
  }

  .rtc-value-row--reverse .rtc-story-visual {
    order: 0;
  }

  .rtc-value-copy {
    max-width: 760px;
  }

  .rtc-call-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .im-advanced-grid,
  .sdk-capability-grid,
  .sdk-why-grid,
  .rtc-sdk-stages {
    grid-template-columns: minmax(0, 1fr);
  }

  .im-advanced-grid article,
  .sdk-capability-grid article {
    min-height: 0;
  }

  .sdk-capability-section,
  .sdk-chat-section,
  .sdk-voice-section {
    padding-right: var(--layout-gutter);
    padding-left: var(--layout-gutter);
  }

  .sdk-voice-flow,
  .rtc-sdk-flow {
    min-height: 0;
  }

  .rtc-product-continuity {
    min-height: 0;
  }

  .rtc-integration-visual {
    min-height: 460px;
  }

  .rtc-integration-visual--image {
    min-height: 0;
  }

  .rtc-integration-image {
    width: min(100%, 620px);
  }

  .rtc-control-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .rtc-control-visual {
    min-height: 0;
    margin: 8px 0 0;
  }

  .rtc-control-image {
    width: min(100%, 520px);
  }

  .rtc-product-page .rtc-value-section,
  .rtc-product-page .rtc-matrix-section,
  .rtc-product-page .rtc-sdk-section,
  .rtc-product-page .rtc-control-section,
  .rtc-product-page .rtc-other-product-section {
    padding-right: var(--layout-gutter);
    padding-left: var(--layout-gutter);
  }

  .rtc-product-page .rtc-hero .hero-subtitle br {
    display: none;
  }

  .rtc-share-status {
    right: 18px;
    bottom: 22px;
    left: 18px;
    width: auto;
  }

  .rtc-story-visual {
    min-height: 430px;
  }

  .rtc-duo-call {
    left: 18px;
    top: 24px;
    width: calc(100% - 36px);
  }

  .rtc-mini-grid {
    right: 18px;
    bottom: 22px;
    width: calc(100% - 90px);
  }

  .rtc-wide-meeting {
    inset: 18px;
    grid-template-columns: minmax(0, 1fr);
  }

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

  .rtc-wide-meeting aside {
    display: none;
  }

  .rtc-device-stack,
  .rtc-network-card {
    left: 18px;
    right: 18px;
    width: auto;
  }

  .rtc-device-stack {
    top: 22px;
  }

  .rtc-network-card {
    bottom: 22px;
  }

  .rtc-sdk-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rtc-code-window {
    min-height: 300px;
  }

  .rtc-code-window pre {
    padding: 22px;
  }

  .rtc-code-window code {
    font-size: 13px;
    line-height: 24px;
  }

  .rtc-sdk-actions {
    display: grid;
  }

  .rtc-sdk-actions .pill-button,
  .rtc-sdk-actions .outline-button {
    width: 100%;
    justify-content: center;
  }

  .rtc-control-flow {
    min-height: 0;
    padding: var(--space-24);
  }

  .rtc-other-product-visual {
    min-height: 360px;
    border-radius: 26px;
  }

  .rtc-call-flow {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* RTC page stability: keep product content readable even after anchor jumps or fast viewport checks. */
.rtc-product-page .reveal {
  opacity: 1;
  transform: none;
}

.rtc-product-page .rtc-core-section,
.rtc-product-page .rtc-list-section,
.rtc-product-page .rtc-meeting-section,
.rtc-product-page .rtc-path-section,
.rtc-product-page .rtc-platform-section,
.rtc-product-page .rtc-dark-section,
.rtc-product-page .rtc-integration-section {
  box-sizing: border-box;
}

/* OpenIM RTC product page. */
.rtc-product-page .rtc-core-section,
.rtc-product-page .rtc-list-section,
.rtc-product-page .rtc-meeting-section,
.rtc-product-page .rtc-path-section,
.rtc-product-page .rtc-platform-section,
.rtc-product-page .rtc-dark-section,
.rtc-product-page .rtc-integration-section {
  width: min(100%, var(--layout-container));
  max-width: var(--layout-container);
  margin-right: auto;
  margin-left: auto;
  padding: var(--layout-section-y-compact) var(--layout-gutter);
  scroll-margin-top: calc(var(--layout-header) + var(--space-24));
}

.rtc-product-page .rtc-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1.1fr);
}

.rtc-product-page .rtc-hero-visual {
  contain: layout;
  overflow: visible;
}

.rtc-hero-visual,
.rtc-visual-canvas {
  min-height: 610px;
}

.rtc-visual-canvas {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(227, 229, 239, 0.9);
  border-radius: var(--radius-float);
  background:
    radial-gradient(circle at 78% 12%, rgba(61, 124, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #fbfcff 0%, #f2f6ff 100%);
  box-shadow: 0 28px 80px rgba(32, 28, 64, 0.1);
}

.rtc-meeting-window {
  position: absolute;
  left: 38px;
  top: 54px;
  width: min(78%, 620px);
  padding: 18px;
  border: 1px solid #e2e7f3;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(32, 28, 64, 0.12);
}

.rtc-meeting-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 0 4px 16px;
  color: #202433;
}

.rtc-meeting-top strong {
  font-size: 18px;
  line-height: 24px;
}

.rtc-meeting-top span {
  color: #7b8192;
  font-size: 12px;
}

.rtc-meeting-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 10px;
}

.rtc-meeting-grid span {
  min-height: 112px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(116, 43, 255, 0.22), rgba(61, 124, 255, 0.18)),
    #eef3ff;
}

.rtc-meeting-grid span:first-child {
  grid-row: span 2;
  min-height: 234px;
}

.rtc-control-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.rtc-control-bar i,
.rtc-phone-actions i {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #f0f3fa;
}

.rtc-control-bar i:nth-child(3),
.rtc-phone-actions i:nth-child(2) {
  background: linear-gradient(135deg, #742bff, #3d7cff);
}

.rtc-phone-call {
  position: absolute;
  right: 34px;
  top: 124px;
  display: grid;
  justify-items: center;
  gap: 12px;
  width: 190px;
  padding: 20px 16px;
  border: 1px solid #e2e7f3;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 64px rgba(32, 28, 64, 0.16);
}

.rtc-phone-call strong {
  font-size: 16px;
}

.rtc-phone-call span {
  color: #742bff;
  font-weight: 800;
}

.rtc-phone-call > div:not(.rtc-phone-actions) {
  width: 96px;
  height: 96px;
  border-radius: 32px;
  background: linear-gradient(135deg, #742bff, #3d7cff);
}

.rtc-phone-actions {
  display: flex;
  gap: 10px;
}

.rtc-code-card {
  position: absolute;
  right: 42px;
  bottom: 48px;
  width: 370px;
  padding: 22px;
  border-radius: 24px;
  background: #101426;
  color: #edf0ff;
  box-shadow: 0 30px 76px rgba(16, 20, 38, 0.22);
}

.rtc-code-card code {
  font-size: 13px;
  line-height: 24px;
}

.rtc-core-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--layout-card-gap);
}

.rtc-core-grid article {
  display: grid;
  align-content: start;
  min-height: 260px;
  padding: var(--space-32);
  border: 1px solid #e4e8f2;
  border-radius: var(--radius-card);
  background: #f7f8fc;
}

.rtc-core-grid strong {
  color: #742bff;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.rtc-core-grid h3,
.rtc-group-showcase strong {
  margin: var(--space-32) 0 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 750;
  line-height: 32px;
}

.rtc-core-grid p {
  margin: var(--space-12) 0 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 26px;
}

.rtc-check-list,
.rtc-platform-grid,
.rtc-quality-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.rtc-check-list span,
.rtc-platform-grid span {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid #e4e8f2;
  border-radius: 16px;
  background: #fff;
  color: #252b3f;
  font-size: 15px;
  font-weight: 750;
  box-shadow: 0 14px 36px rgba(32, 28, 64, 0.05);
}

.rtc-meeting-section,
.rtc-integration-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: var(--layout-grid-gap);
}

.rtc-meeting-showcase {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius-float);
  background:
    radial-gradient(circle at 30% 18%, rgba(116, 43, 255, 0.12), transparent 30%),
    #f5f7fb;
}

.rtc-meeting-showcase-image {
  display: block;
  width: 122%;
  max-width: none;
  height: auto;
  object-fit: contain;
}

.rtc-meeting-showcase--detailed {
  min-height: auto;
  overflow: visible;
  background: transparent;
}

.rtc-meeting-showcase--detailed .rtc-meeting-showcase-image {
  width: 100%;
  max-width: 100%;
}

.rtc-screen-share,
.rtc-host-panel,
.rtc-member-list {
  position: absolute;
  border: 1px solid #e3e7f2;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(32, 28, 64, 0.1);
}

.rtc-screen-share {
  left: 34px;
  top: 42px;
  width: 58%;
  min-height: 300px;
  padding: 24px;
}

.rtc-screen-share strong,
.rtc-host-panel strong {
  display: block;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 28px;
}

.rtc-screen-share span {
  display: block;
  height: 42px;
  margin-top: 16px;
  border-radius: 14px;
  background: #edf2ff;
}

.rtc-host-panel {
  right: 34px;
  top: 96px;
  width: 260px;
  padding: 22px;
}

.rtc-host-panel em {
  display: block;
  margin-top: 12px;
  color: var(--text-secondary);
  font-style: normal;
  line-height: 25px;
}

.rtc-member-list {
  right: 82px;
  bottom: 42px;
  display: grid;
  gap: 12px;
  width: 230px;
  padding: 18px;
}

.rtc-member-list span {
  height: 34px;
  border-radius: 999px;
  background: #edf2ff;
}

.rtc-path {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr) 72px minmax(0, 1fr);
  align-items: center;
  gap: 0;
}

.rtc-path article {
  display: grid;
  gap: 12px;
  min-height: 180px;
  padding: var(--space-32);
  border: 1px solid #e4e8f2;
  border-radius: var(--radius-card);
  background: #fff;
}

.rtc-path span {
  color: #742bff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rtc-path strong {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 32px;
}

.rtc-path b {
  height: 2px;
  background: linear-gradient(90deg, rgba(116, 43, 255, 0.18), rgba(61, 124, 255, 0.8));
}

.rtc-path-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--space-24);
}

.rtc-path-tags span {
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(116, 43, 255, 0.1);
  color: #742bff;
  font-size: 13px;
  font-weight: 700;
}

.rtc-product-continuity {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(18px, 2vw, 28px);
  min-height: 0;
  margin-top: var(--space-48);
}

.rtc-product-panel {
  position: relative;
  width: 100%;
  min-height: 300px;
  padding: 22px;
  border: 1px solid #e3e8f2;
  border-radius: 30px;
  background:
    linear-gradient(rgba(116, 43, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 124, 255, 0.045) 1px, transparent 1px),
    #fff;
  background-size: 22px 22px;
  box-shadow: 0 22px 54px rgba(32, 28, 64, 0.07);
}

.rtc-product-panel + .rtc-product-panel {
  margin-left: 0;
}

.rtc-product-panel--call {
  z-index: 2;
  transform: none;
}

.rtc-product-panel--chat {
  z-index: 1;
  min-height: 300px;
  padding: 22px;
  overflow: hidden;
}

.rtc-product-panel--meeting {
  z-index: 3;
}

.rtc-product-panel > span {
  color: #742bff;
  font-size: 13px;
  font-weight: 850;
}

.rtc-product-panel--chat > span {
  position: static;
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.rtc-chat-product-image {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 18px auto 0;
  filter: drop-shadow(0 24px 58px rgba(32, 28, 64, 0.12));
  user-select: none;
  -webkit-user-drag: none;
}

.rtc-chat-mini,
.rtc-call-mini,
.rtc-meeting-mini {
  margin-top: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 0 0 1px #e5e9f3;
}

.rtc-chat-mini {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.rtc-chat-mini b {
  color: #202433;
  font-size: 18px;
}

.rtc-chat-mini p {
  width: fit-content;
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px 16px 16px 6px;
  background: #f0f3fb;
  color: #303649;
}

.rtc-chat-mini em {
  justify-self: end;
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(116, 43, 255, 0.1);
  color: #742bff;
  font-style: normal;
  font-weight: 800;
}

.rtc-call-mini {
  display: grid;
  place-items: center;
  min-height: 220px;
  color: #fff;
  background: linear-gradient(145deg, #742bff, #3d7cff);
}

.rtc-call-mini strong {
  margin-top: 40px;
  font-family: var(--font-display);
  font-size: 26px;
}

.rtc-call-mini small {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.rtc-call-mini i {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.rtc-call-shot {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 18px auto 0;
  transform: none;
  filter: drop-shadow(0 22px 42px rgba(32, 28, 64, 0.12));
}

.rtc-meeting-mini {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
}

.rtc-meeting-mini b {
  min-height: 76px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(116, 43, 255, 0.18), rgba(61, 124, 255, 0.12));
}

.rtc-meeting-mini em {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 56, 92, 0.1);
  color: #e6385c;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.rtc-meeting-mini--image {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.rtc-meeting-mini--image img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 18px auto 0;
  transform: none;
  filter: drop-shadow(0 22px 42px rgba(32, 28, 64, 0.12));
  user-select: none;
  -webkit-user-drag: none;
}

@media (max-width: 1180px) {
  .rtc-product-continuity {
    grid-template-columns: minmax(0, 1fr);
    max-width: 620px;
    margin-right: auto;
    margin-left: auto;
  }

  .rtc-product-panel--chat {
    min-height: 300px;
  }

  .rtc-chat-product-image {
    width: 100%;
    max-width: 520px;
    margin: 18px auto 0;
  }

  .rtc-call-shot,
  .rtc-meeting-mini--image img {
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  .rtc-product-panel--chat > span {
    position: static;
  }

  .rtc-chat-product-image {
    width: 100%;
    margin: 18px auto 0;
  }
}

@media (max-width: 1180px) {
  .rtc-product-continuity {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }

  .rtc-product-panel + .rtc-product-panel {
    margin-left: 0;
    margin-top: -26px;
  }

  .rtc-product-panel--call {
    transform: none;
  }

  .rtc-call-shot,
  .rtc-meeting-mini--image img {
    width: min(100%, 760px);
    margin-right: auto;
    margin-left: auto;
    transform: none;
  }
}

.rtc-dark-section {
  margin-top: var(--space-64);
  margin-bottom: var(--space-64);
  border-radius: var(--radius-float);
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    #0d1021;
  background-size: 34px 34px;
  color: #fff;
}

.rtc-dark-copy {
  max-width: 840px;
  margin: 0 auto var(--space-48);
  text-align: center;
}

.rtc-dark-copy h2 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(40px, 3.4vw, 52px);
  line-height: 1.12;
}

.rtc-dark-copy p:not(.eyebrow) {
  color: rgba(255,255,255,0.72);
  font-size: 18px;
  line-height: 30px;
}

.rtc-quality-grid span {
  min-height: 58px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  font-weight: 750;
}

@media (max-width: 1180px) {
  .rtc-product-page .rtc-hero,
  .rtc-meeting-section,
  .rtc-integration-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .rtc-core-grid,
  .rtc-check-list,
  .rtc-platform-grid,
  .rtc-quality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rtc-path {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .rtc-path b {
    width: 2px;
    height: 42px;
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .rtc-product-page .rtc-core-section,
  .rtc-product-page .rtc-list-section,
  .rtc-product-page .rtc-meeting-section,
  .rtc-product-page .rtc-path-section,
  .rtc-product-page .rtc-platform-section,
  .rtc-product-page .rtc-dark-section,
  .rtc-product-page .rtc-integration-section {
    padding-right: var(--layout-gutter);
    padding-left: var(--layout-gutter);
  }

  .rtc-hero-visual,
  .rtc-visual-canvas {
    min-height: 520px;
  }

  .rtc-meeting-window {
    left: 18px;
    top: 28px;
    width: calc(100% - 36px);
  }

  .rtc-meeting-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rtc-meeting-grid span:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 130px;
  }

  .rtc-phone-call {
    display: none;
  }

  .rtc-code-card {
    right: 18px;
    bottom: 22px;
    left: 18px;
    width: auto;
  }

  .rtc-core-grid,
  .rtc-check-list,
  .rtc-platform-grid,
  .rtc-quality-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .rtc-meeting-showcase {
    min-height: 620px;
  }

  .rtc-screen-share,
  .rtc-host-panel,
  .rtc-member-list {
    position: static;
    width: auto;
    margin: 0 18px 18px;
  }

  .rtc-screen-share {
    margin-top: 18px;
  }

  .rtc-dark-section {
    border-radius: 0;
  }
}

/* Direct architecture image replacement. */
.platform-redesign .product-architecture-image {
  display: block;
  max-width: 1280px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 34px;
  background: transparent;
  box-shadow: 0 28px 80px rgba(41, 42, 84, 0.12);
}

.platform-redesign .product-architecture-image::before {
  content: none;
}

.platform-redesign .product-architecture-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1448 / 1086;
  object-fit: contain;
}

@media (max-width: 760px) {
  .platform-redesign .product-architecture-image {
    border-radius: 22px;
    box-shadow: 0 18px 48px rgba(41, 42, 84, 0.1);
  }
}

/* Platform composition and product architecture modules. */
.platform-redesign .product-composition-section {
  margin-top: clamp(32px, 5vw, 64px);
  margin-bottom: clamp(44px, 6vw, 76px);
  border-radius: 34px;
  background: #fff;
  color: var(--text-primary);
}

.platform-redesign .product-composition-copy {
  max-width: 760px;
  margin: 0 auto var(--space-48);
  text-align: center;
}

.platform-redesign .product-composition-copy h2 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(38px, 3.4vw, 52px);
  font-weight: 700;
  line-height: 1.12;
}

.platform-redesign .product-composition-copy p:last-child {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 30px;
}

.platform-redesign .system-architecture-section {
  margin-top: clamp(44px, 6vw, 84px);
  margin-bottom: clamp(64px, 7vw, 104px);
  overflow: visible;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 18%, rgba(116, 43, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f6f8ff 100%);
  color: var(--text-primary);
}

.platform-redesign .system-architecture-copy {
  max-width: 840px;
  margin: 0 auto var(--space-56);
  text-align: center;
}

.platform-redesign .system-architecture-copy h2 {
  color: var(--text-primary);
  font-size: clamp(40px, 3.6vw, 56px);
  font-weight: 700;
  line-height: 1.12;
}

.platform-redesign .system-architecture-copy p:last-child {
  max-width: 760px;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 30px;
}

.platform-redesign .composition-card-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  max-width: 1160px;
  margin: 0 auto;
}

.platform-redesign .composition-card-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 148px;
  padding: clamp(20px, 2.2vw, 26px);
  border: 1px solid rgba(224, 229, 242, 0.96);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(32, 28, 64, 0.045);
}

.platform-redesign .composition-card-list article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: rgba(0, 108, 255, 0.09);
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.platform-redesign .composition-card-list h3 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 760;
  line-height: 1.28;
}

.platform-redesign .composition-card-list p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 23px;
}

@media (max-width: 760px) {
  .platform-redesign .product-composition-section,
  .platform-redesign .system-architecture-section {
    border-radius: 24px;
  }

  .platform-redesign .composition-card-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .platform-redesign .composition-card-list article {
    min-height: 0;
    border-radius: 16px;
  }
}

.product-architecture-canvas {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) minmax(430px, 1.18fr) minmax(150px, 0.72fr);
  align-items: center;
  gap: clamp(34px, 4.2vw, 64px);
  max-width: 1280px;
  min-height: 820px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px);
  overflow: hidden;
  border: 1px solid rgba(214, 222, 242, 0.9);
  border-radius: 34px;
  background:
    linear-gradient(rgba(116, 43, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 124, 255, 0.04) 1px, transparent 1px),
    rgba(255, 255, 255, 0.92);
  background-size: 40px 40px;
  box-shadow: 0 26px 80px rgba(32, 28, 64, 0.08);
}

.product-architecture-canvas::before {
  content: "";
  position: absolute;
  inset: 8% 26%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(116, 43, 255, 0.18), transparent 62%);
  filter: blur(24px);
  pointer-events: none;
}

.architecture-node-cloud,
.architecture-main-stack {
  position: relative;
  z-index: 2;
}

.architecture-node-cloud {
  display: grid;
  gap: 18px;
}

.architecture-node-cloud span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(185, 198, 234, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #29304a;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  box-shadow: 0 14px 34px rgba(32, 28, 64, 0.055);
}

.architecture-node-cloud--left span:nth-child(2),
.architecture-node-cloud--left span:nth-child(5),
.architecture-node-cloud--right span:nth-child(1),
.architecture-node-cloud--right span:nth-child(4) {
  transform: translateX(18px);
}

.architecture-node-cloud--left span:nth-child(3),
.architecture-node-cloud--right span:nth-child(3),
.architecture-node-cloud--right span:nth-child(6) {
  transform: translateX(-12px);
}

.architecture-main-stack {
  display: grid;
  gap: 22px;
}

.architecture-main-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 194px;
  padding: 28px;
  border: 1px solid rgba(214, 222, 242, 0.95);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 54px rgba(32, 28, 64, 0.08);
}

.architecture-main-card p {
  margin: 0;
  color: #742bff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.architecture-main-card h3 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 750;
  line-height: 1.12;
}

.architecture-main-card strong {
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 600;
  line-height: 25px;
}

.architecture-main-card .system-chip-row,
.architecture-main-card .system-service-grid {
  gap: 9px;
  margin-top: 4px;
}

.architecture-main-card .system-chip-row span,
.architecture-main-card .system-service-grid span {
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(203, 212, 237, 0.8);
  border-radius: 999px;
  background: #f5f7ff;
  color: #3b425c;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.architecture-main-card .system-service-grid {
  display: flex;
  flex-wrap: wrap;
}

.architecture-main-card--server {
  min-height: 246px;
  padding: 34px;
  border-color: rgba(120, 101, 255, 0.54);
  background:
    radial-gradient(circle at 22% 0%, rgba(255, 255, 255, 0.24), transparent 34%),
    linear-gradient(135deg, #742bff 0%, #3d7cff 100%);
  color: #fff;
  box-shadow: 0 30px 86px rgba(76, 62, 196, 0.3);
  transform: scale(1.035);
}

.architecture-main-card--server p,
.architecture-main-card--server h3,
.architecture-main-card--server strong {
  color: #fff;
}

.architecture-main-card--server p {
  color: rgba(255, 255, 255, 0.74);
}

.architecture-main-card--server strong {
  color: rgba(255, 255, 255, 0.88);
}

.architecture-main-card--server .system-service-grid span {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.architecture-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.architecture-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, rgba(116, 43, 255, 0.08), rgba(75, 135, 255, 0.46), rgba(116, 43, 255, 0.08));
  transform-origin: center;
}

.architecture-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(99, 126, 255, 0.72);
  transform: translateY(-50%);
}

.architecture-line--left {
  left: 17%;
  width: 27%;
}

.architecture-line--right {
  right: 17%;
  width: 27%;
}

.architecture-line--left::after {
  right: -2px;
}

.architecture-line--right::after {
  left: -2px;
}

.architecture-line--one {
  top: 30%;
}

.architecture-line--two {
  top: 50%;
}

.architecture-line--three {
  top: 70%;
}

.architecture-line--left.architecture-line--one,
.architecture-line--right.architecture-line--three {
  transform: rotate(10deg);
}

.architecture-line--left.architecture-line--three,
.architecture-line--right.architecture-line--one {
  transform: rotate(-10deg);
}

@media (max-width: 1180px) {
  .product-architecture-canvas {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .architecture-node-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .architecture-node-cloud span {
    transform: none !important;
  }

  .architecture-lines {
    display: none;
  }

  .architecture-main-stack {
    order: 2;
  }

  .architecture-node-cloud--left {
    order: 1;
  }

  .architecture-node-cloud--right {
    order: 3;
  }
}

@media (max-width: 760px) {
  .product-architecture-canvas {
    padding: 24px;
    border-radius: 26px;
  }

  .architecture-main-card,
  .architecture-main-card--server {
    min-height: 0;
    padding: 24px;
    transform: none;
  }

  .architecture-main-card h3 {
    font-size: 26px;
  }

  .architecture-node-cloud {
    gap: 10px;
  }

  .architecture-node-cloud span {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 13px;
  }
}

.mega-link--disabled,
.mega-link--disabled:hover {
  color: #8b92a3;
  cursor: default;
  transform: none;
}

.mega-link--disabled strong,
.mega-link--disabled em {
  color: inherit;
}

.resource-list .resource-entry {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: var(--space-24);
  padding: var(--space-24) 0;
  border-bottom: 1px solid #e6e2f3;
}

.resource-entry--disabled {
  cursor: default;
}

.resource-entry--disabled span,
.resource-entry--disabled em,
.footer-grid .footer-disabled {
  color: #8b92a3;
}

.resource-list .resource-entry:not(.resource-entry--disabled):hover span {
  color: #742bff;
}

.footer-grid .footer-disabled {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

@media (min-width: 1181px) {
  .footer-grid {
    grid-template-columns: repeat(6, minmax(120px, 1fr));
  }
}

@media (max-width: 760px) {
  .resource-list .resource-entry {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-8);
  }
}

/* OpenIM IM product page. */
.im-product-page {
  background: #fff;
}

.im-product-page .im-bento-section,
.im-product-page .im-message-types,
.im-product-page .im-split-section,
.im-product-page .im-dark-section,
.im-product-page .im-code-section,
.im-product-page .im-client-section {
  width: min(100%, var(--layout-container));
  max-width: var(--layout-container);
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--layout-gutter);
  padding-left: var(--layout-gutter);
  scroll-margin-top: calc(var(--layout-header) + var(--space-24));
}

.im-product-page .im-bento-section,
.im-product-page .im-message-types,
.im-product-page .im-matrix-section,
.im-product-page .im-group-section,
.im-product-page .im-client-section {
  padding-top: var(--layout-section-y-compact);
  padding-bottom: var(--layout-section-y-compact);
}

.im-product-page .im-matrix-section,
.im-product-page .im-group-section {
  width: min(100%, var(--layout-container));
  max-width: var(--layout-container);
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--layout-gutter);
  padding-left: var(--layout-gutter);
}

.im-product-page .im-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(560px, 1.08fr);
}

.im-hero-visual {
  min-height: 590px;
}

.im-hero-canvas {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border: 1px solid rgba(227, 229, 239, 0.9);
  border-radius: var(--radius-float);
  background:
    radial-gradient(circle at 78% 12%, rgba(116, 43, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #fbfcff 0%, #f1f5fb 100%);
  box-shadow: 0 28px 80px rgba(32, 28, 64, 0.1);
}

.im-window {
  position: absolute;
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(213, 218, 234, 0.9);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 62px rgba(36, 41, 74, 0.13);
}

.im-window--desktop {
  left: 40px;
  top: 64px;
  width: min(82%, 610px);
  min-height: 386px;
  grid-template-columns: 190px minmax(0, 1fr);
}

.im-window--desktop aside {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  border-right: 1px solid #edf0f7;
  background: #f6f8fc;
}

.im-search {
  display: block;
  height: 36px;
  border-radius: 12px;
  background: #e8edf7;
}

.im-thread {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
}

.im-thread.is-active {
  background: #fff;
  box-shadow: 0 12px 24px rgba(32, 28, 64, 0.08);
}

.im-thread i {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, #742bff, #3d7cff);
}

.im-thread b,
.im-thread em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.im-thread b {
  color: #141827;
  font-size: 13px;
  line-height: 18px;
}

.im-thread em {
  color: #84899a;
  font-size: 11px;
  font-style: normal;
  line-height: 16px;
}

.im-window--desktop section {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 20px;
}

.im-window--desktop header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf0f7;
}

.im-window--desktop header strong,
.im-window--desktop header span {
  display: block;
}

.im-window--desktop header strong {
  color: #141827;
  font-size: 16px;
  line-height: 22px;
}

.im-window--desktop header span {
  color: #7b8192;
  font-size: 12px;
  line-height: 18px;
}

.im-bubble-row {
  display: flex;
}

.im-bubble-row.outgoing {
  justify-content: flex-end;
}

.im-bubble-row span {
  max-width: 76%;
  padding: 12px 14px;
  border-radius: 16px 16px 16px 5px;
  background: #f0f3fa;
  color: #222637;
  font-size: 13px;
  line-height: 20px;
}

.im-bubble-row.outgoing span {
  border-radius: 16px 16px 5px 16px;
  background: linear-gradient(135deg, #742bff, #3d7cff);
  color: #fff;
}

.im-attachment {
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: 82%;
  padding: 12px;
  border: 1px solid #e7eaf3;
  border-radius: 18px;
}

.im-attachment i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #e9efff;
}

.im-attachment strong,
.im-attachment em {
  display: block;
}

.im-attachment strong {
  font-size: 13px;
  line-height: 18px;
}

.im-attachment em {
  color: #7b8192;
  font-size: 12px;
  font-style: normal;
  line-height: 18px;
}

.im-composer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  padding: 0 8px 0 14px;
  border-radius: 14px;
  background: #f5f7fb;
  color: #8b91a2;
  font-size: 12px;
}

.im-composer button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 11px;
  background: #742bff;
  color: #fff;
}

.im-phone {
  position: absolute;
  right: 28px;
  top: 116px;
  display: grid;
  gap: 12px;
  width: 176px;
  padding: 18px 14px;
  border: 1px solid rgba(213, 218, 234, 0.9);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 62px rgba(36, 41, 74, 0.16);
}

.im-phone > span {
  justify-self: center;
  width: 42px;
  height: 5px;
  border-radius: 999px;
  background: #dfe4ef;
}

.im-phone div {
  display: grid;
  gap: 3px;
  padding: 12px;
  border-radius: 16px;
  background: #f6f8fc;
}

.im-phone strong,
.im-phone em {
  display: block;
}

.im-phone strong {
  font-size: 13px;
  line-height: 18px;
}

.im-phone em {
  color: #818798;
  font-size: 11px;
  font-style: normal;
  line-height: 16px;
}

.im-code-card {
  position: absolute;
  right: 42px;
  bottom: 44px;
  width: 360px;
  margin: 0;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: #101426;
  color: #e9ecff;
  box-shadow: 0 28px 70px rgba(16, 20, 38, 0.22);
}

.im-code-card code {
  font-size: 13px;
  line-height: 22px;
}

.im-bento-grid {
  display: grid;
  grid-template-columns: 1.14fr 0.86fr 0.86fr;
  gap: var(--layout-card-gap);
}

.im-bento-card {
  display: grid;
  align-content: end;
  min-height: 250px;
  padding: var(--space-32);
  overflow: hidden;
  border: 1px solid #e5e8f2;
  border-radius: var(--radius-card);
  background: #f4f6fb;
}

.im-bento-card--large {
  grid-row: span 2;
  min-height: 532px;
  background:
    radial-gradient(circle at 72% 18%, rgba(116, 43, 255, 0.16), transparent 32%),
    #f6f8fc;
}

.im-bento-card--wide {
  grid-column: span 2;
  min-height: 250px;
  background: #fff;
}

.im-bento-card strong {
  color: #742bff;
  font-family: var(--font-display);
  font-size: clamp(54px, 5vw, 76px);
  font-weight: 800;
  line-height: 0.95;
}

.im-bento-card h3 {
  margin: var(--space-20) 0 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
}

.im-bento-card p {
  margin: var(--space-12) 0 0;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 28px;
}

.im-mini-chat {
  align-self: start;
  display: grid;
  gap: 14px;
  margin-bottom: var(--space-56);
}

.im-mini-chat span {
  display: block;
  width: 72%;
  height: 36px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(32, 28, 64, 0.08);
}

.im-mini-chat span:nth-child(even) {
  justify-self: end;
  width: 60%;
  background: linear-gradient(135deg, #742bff, #3d7cff);
}

.im-message-types {
  position: relative;
  overflow: hidden;
}

.im-feature-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
  padding: 10px 0 32px;
  border-bottom: 1px solid #e7e8ee;
}

.im-feature-matrix article {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.im-feature-matrix h3 {
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid #e4e6ec;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 750;
  line-height: 26px;
}

.im-feature-matrix ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.im-feature-matrix li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 19px;
  color: #2d3142;
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
}

.message-wall {
  display: grid;
  gap: 16px;
  overflow: hidden;
  padding: 12px 0;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.message-wall-row {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: im-wall-scroll 32s linear infinite;
}

.message-wall-row--reverse {
  animation-direction: reverse;
  transform: translateX(-120px);
}

.message-wall-row span {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 74px;
  padding: 0 22px;
  border: 1px solid #e4e8f2;
  border-radius: 18px;
  background: #fff;
  color: #1d2233;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 16px 40px rgba(32, 28, 64, 0.06);
}

@keyframes im-wall-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-38%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .message-wall-row {
    animation: none;
  }
}

.im-split-section,
.im-code-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.86fr);
  align-items: center;
  gap: var(--layout-grid-gap);
  padding-top: var(--layout-section-y-compact);
  padding-bottom: var(--layout-section-y-compact);
}

.im-group-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--layout-card-gap);
}

.im-group-showcase article {
  display: grid;
  align-content: start;
  min-height: 184px;
  padding: var(--space-28);
  border: 1px solid #e4e8f2;
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at 100% 0%, rgba(116, 43, 255, 0.1), transparent 44%),
    #f7f8fc;
}

.im-group-showcase strong {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 750;
  line-height: 30px;
}

.im-group-showcase span {
  margin-top: var(--space-12);
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 24px;
}

.im-product-ui {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius-float);
  background:
    radial-gradient(circle at 30% 18%, rgba(116, 43, 255, 0.14), transparent 28%),
    #f5f7fb;
}

.im-ui-panel {
  position: absolute;
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid #e3e7f2;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(32, 28, 64, 0.1);
}

.im-ui-panel strong {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 28px;
}

.im-ui-panel--sessions {
  left: 34px;
  top: 42px;
  width: 285px;
}

.im-ui-panel--group {
  right: 34px;
  top: 96px;
  width: 285px;
}

.im-ui-panel--friends {
  left: 124px;
  right: 92px;
  bottom: 42px;
}

.im-ui-panel--sessions span {
  display: flex;
  justify-content: space-between;
  min-height: 42px;
  padding: 11px 12px;
  border-radius: 14px;
  background: #f5f7fb;
  color: #202433;
  font-weight: 700;
}

.im-ui-panel--sessions .active {
  background: rgba(116, 43, 255, 0.1);
  color: #742bff;
}

.im-ui-panel--sessions em {
  font-style: normal;
}

.im-member-row {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 38px;
}

.im-member-row i {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, #742bff, #3d7cff);
}

.im-ui-panel--friends p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 26px;
}

.im-dark-section {
  margin-top: var(--space-64);
  margin-bottom: var(--space-64);
  padding-top: var(--layout-section-y-compact);
  padding-bottom: var(--layout-section-y-compact);
  border-radius: var(--radius-float);
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    #0d1021;
  background-size: 34px 34px;
  color: #fff;
}

.im-product-page .im-client-path-section + .im-dark-section {
  margin-top: clamp(84px, 8vw, 128px);
}

.im-dark-copy {
  max-width: 860px;
  margin: 0 auto var(--space-56);
  text-align: center;
}

.im-dark-copy h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(40px, 3.4vw, 52px);
  font-weight: 700;
  line-height: 1.12;
}

.im-dark-copy p:not(.eyebrow) {
  margin: var(--space-20) 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 30px;
}

.im-flow-map {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) 72px minmax(220px, 1fr) 72px minmax(160px, 0.8fr);
  align-items: center;
  gap: 0;
}

.im-flow-node,
.im-flow-core {
  display: grid;
  place-items: center;
  min-height: 138px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}

.im-flow-core {
  min-height: 172px;
  background:
    radial-gradient(circle at 50% 0%, rgba(116, 43, 255, 0.46), transparent 52%),
    rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 30px;
}

.im-flow-arrow {
  height: 2px;
  background: linear-gradient(90deg, rgba(116, 43, 255, 0.18), rgba(113, 166, 255, 0.92));
}

.im-flow-services {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: var(--space-48);
}

.im-flow-services span {
  min-height: 42px;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.im-code-section {
  grid-template-columns: minmax(380px, 0.8fr) minmax(0, 1.2fr);
}

.im-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--space-24);
}

.im-tag-row span {
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(116, 43, 255, 0.1);
  color: #742bff;
  font-size: 13px;
  font-weight: 700;
}

.im-code-window {
  overflow: hidden;
  border-radius: 28px;
  background: #101426;
  color: #e9ecff;
  box-shadow: 0 26px 72px rgba(16, 20, 38, 0.18);
}

.im-code-tabs {
  display: flex;
  gap: 8px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.im-code-tabs span {
  min-height: 34px;
  padding: 8px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 700;
}

.im-code-tabs .active {
  background: rgba(116, 43, 255, 0.32);
  color: #fff;
}

.im-code-window pre {
  margin: 0;
  padding: 28px;
  overflow-x: auto;
}

.im-code-window code {
  font-size: 14px;
  line-height: 25px;
}

.im-client-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--layout-card-gap);
}

.im-client-grid article {
  display: grid;
  align-content: start;
  min-height: 300px;
  padding: var(--space-40);
  border-radius: var(--radius-card);
  background: #f5f7fb;
}

.im-client-grid span {
  color: #742bff;
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
}

.im-client-grid h3 {
  margin: var(--space-32) 0 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 36px;
}

.im-client-grid p {
  margin: var(--space-16) 0 0;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 28px;
}

@media (max-width: 1180px) {
  .im-product-page .im-hero,
  .im-product-page .im-split-section,
  .im-product-page .im-code-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .im-flow-map {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .im-flow-services {
    margin-top: var(--space-28);
  }

  .im-flow-arrow {
    width: 2px;
    height: 44px;
    justify-self: center;
  }

  .im-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .im-feature-matrix,
  .im-group-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .im-bento-card--large,
  .im-bento-card--wide {
    grid-column: span 2;
    grid-row: auto;
  }

}

@media (max-width: 760px) {
  .im-product-page .im-bento-section,
  .im-product-page .im-message-types,
  .im-product-page .im-matrix-section,
  .im-product-page .im-group-section,
  .im-product-page .im-split-section,
  .im-product-page .im-dark-section,
  .im-product-page .im-code-section,
  .im-product-page .im-client-section {
    padding-right: var(--layout-gutter);
    padding-left: var(--layout-gutter);
  }

  .im-hero-visual,
  .im-hero-canvas {
    min-height: 520px;
  }

  .im-window--desktop {
    left: 18px;
    top: 34px;
    width: calc(100% - 36px);
    min-height: 330px;
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .im-window--desktop aside {
    padding: 12px;
  }

  .im-window--desktop section {
    padding: 14px;
  }

  .im-thread {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .im-thread i,
  .im-phone {
    display: none;
  }

  .im-code-card {
    right: 18px;
    bottom: 22px;
    left: 18px;
    width: auto;
  }

  .im-bento-grid,
  .im-feature-matrix,
  .im-group-showcase,
  .im-client-grid {
    grid-template-columns: minmax(0, 1fr);
  }


  .im-bento-card,
  .im-bento-card--large,
  .im-bento-card--wide {
    grid-column: auto;
    min-height: 0;
  }

  .message-wall-row span {
    min-height: 58px;
    padding: 0 14px;
    font-size: 15px;
  }

  .im-product-ui {
    min-height: 620px;
  }

  .im-ui-panel--sessions,
  .im-ui-panel--group,
  .im-ui-panel--friends {
    position: static;
    width: auto;
    margin: 0 18px 18px;
  }

  .im-ui-panel--sessions {
    margin-top: 18px;
  }

  .im-dark-section {
    border-radius: 0;
  }

  .im-flow-node,
  .im-flow-core {
    min-height: 112px;
    font-size: 19px;
  }

  .im-flow-core {
    font-size: 24px;
  }

  .im-code-window pre {
    padding: 22px;
  }
}

.site-header .nav-item.is-active .nav-trigger::after,
.site-header .nav-item.is-active:hover .nav-trigger::after,
.site-header .nav-link--active::after,
.site-header .nav-item--active .nav-trigger::after {
  opacity: 0;
}

/* Site page parity: make every product/resource page follow the platform page system. */
.site-page {
  background: var(--bg-page);
}

.site-page > section {
  scroll-margin-top: calc(var(--layout-header) + var(--space-24));
}

.site-page .page-hero,
.site-page .intro-section,
.site-page .media-feature-section,
.site-page .stack-section,
.site-page .product-links,
.site-page .compare-section,
.site-page .trial-section,
.site-page .final-cta,
.site-page .faq-section {
  width: min(100%, var(--layout-container));
  max-width: var(--layout-container);
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--layout-gutter);
  padding-left: var(--layout-gutter);
}

.site-page .page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: var(--space-96);
  min-height: calc(100dvh + 24px);
  padding-top: calc(var(--layout-header) + var(--space-96));
  padding-bottom: var(--space-120);
}

.site-page .page-hero-copy {
  max-width: 640px;
}

.site-page .page-hero h1 {
  max-width: 640px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(56px, 4.45vw, 64px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.site-page .hero-subtitle {
  max-width: 640px;
  margin-top: var(--space-24);
  color: var(--text-secondary);
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
}

.site-page .hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-top: var(--space-24);
}

.site-page .hero-tags span {
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  background: #fff;
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
}

.site-page .hero-visual {
  width: 100%;
  min-height: 560px;
  justify-self: stretch;
  contain: layout paint;
}

.site-page .hero-visual .app-shell,
.site-page .platform-visual {
  width: 100%;
  min-height: 520px;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-float);
  border: 1px solid rgba(227, 229, 239, 0.9);
  background: #fff;
  box-shadow: 0 24px 70px rgba(32, 28, 64, 0.08);
}

.site-page .floating-panel {
  border-radius: var(--radius-card-sm);
  box-shadow: 0 18px 48px rgba(32, 28, 64, 0.1);
}

.site-page .intro-section,
.site-page .media-feature-section,
.site-page .stack-section,
.site-page .product-links,
.site-page .compare-section,
.site-page .trial-section,
.site-page .faq-section {
  padding-top: var(--layout-section-y-compact);
  padding-bottom: var(--layout-section-y-compact);
}

.site-page .intro-section:nth-of-type(even),
.site-page .stack-section,
.site-page .product-links {
  isolation: isolate;
}

.site-page .intro-section:nth-of-type(even)::before,
.site-page .stack-section::before,
.site-page .product-links::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: linear-gradient(180deg, #fff, var(--bg-soft));
  pointer-events: none;
}

.site-page .section-copy {
  max-width: 820px;
  margin-bottom: var(--space-56);
}

.site-page .section-copy h2,
.site-page .media-feature-copy h2,
.site-page .stack-section h2,
.site-page .faq-title h2 {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(40px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.site-page .section-copy p:not(.eyebrow),
.site-page .media-feature-copy p,
.site-page .stack-section .section-copy p {
  margin-top: var(--space-20);
  color: var(--text-secondary);
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
}

.site-page .feature-grid,
.site-page .link-grid,
.site-page .component-grid,
.site-page .cooperation-grid,
.site-page .deployment-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--layout-card-gap);
}

.site-page .feature-card,
.site-page .feature-card:first-child,
.site-page .component-grid article,
.site-page .cooperation-grid article,
.site-page .deployment-list span,
.site-page .product-link {
  display: grid;
  align-content: start;
  gap: var(--space-12);
  min-height: 0;
  padding: var(--space-32);
  border: 1px solid rgba(227, 229, 239, 0.9);
  border-radius: var(--radius-card);
  background: var(--bg-card);
  box-shadow: none;
}

.site-page .feature-icon,
.site-page .feature-card:first-child .feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 0 var(--space-12);
  border-radius: 14px;
  background: rgba(116, 43, 255, 0.1);
  color: #742bff;
  font-size: 14px;
  font-weight: 700;
}

.site-page .feature-card h3,
.site-page .component-grid h3,
.site-page .cooperation-grid h3,
.site-page .deployment-list strong,
.site-page .product-link span {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
}

.site-page .feature-card p,
.site-page .component-grid p,
.site-page .cooperation-grid p,
.site-page .deployment-list em,
.site-page .product-link em {
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}

.site-page .architecture-stack {
  display: grid;
  gap: var(--space-16);
}

.site-page .stack-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr);
  gap: var(--space-32);
  padding: var(--space-24) 0;
  border-bottom: 1px solid var(--border-light);
}

.site-page .stack-row strong {
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.site-page .stack-row span {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 28px;
}

.site-page .media-feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  align-items: center;
  gap: var(--space-96);
}

.site-page .media-feature-copy {
  max-width: 560px;
}

.site-page .media-frame {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-card);
  background: var(--bg-card);
  box-shadow: none;
}

.site-page .media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-page .media-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-top: var(--space-24);
}

.site-page .media-feature-list span {
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(116, 43, 255, 0.1);
  color: #742bff;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.site-page .final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-56);
  margin: var(--space-80) auto;
  padding-top: var(--space-64);
  padding-bottom: var(--space-64);
  border-radius: var(--radius-float);
  background: linear-gradient(135deg, #6f2cff, #3d7cff 56%, #20c8e8);
  color: #fff;
}

.site-page .final-cta h2 {
  max-width: 760px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(40px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.16;
}

.site-page .faq-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: var(--space-64);
}

@media (max-width: 1180px) {
  .site-page .page-hero,
  .site-page .media-feature-layout,
  .site-page .faq-section {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-64);
  }

  .site-page .page-hero {
    min-height: auto;
    padding-top: calc(var(--layout-header) + var(--space-80));
    padding-bottom: var(--space-96);
  }

  .site-page .hero-visual,
  .site-page .hero-visual .app-shell,
  .site-page .platform-visual {
    min-height: 500px;
  }

  .site-page .feature-grid,
  .site-page .link-grid,
  .site-page .component-grid,
  .site-page .cooperation-grid,
  .site-page .deployment-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-page .media-feature-section:nth-of-type(even) .media-feature-layout > .media-frame {
    order: 0;
  }
}

@media (max-width: 760px) {
  .site-page .page-hero {
    gap: var(--space-40);
    padding-top: calc(var(--layout-header) + var(--space-56));
    padding-bottom: var(--space-80);
  }

  .site-page .page-hero h1 {
    font-size: clamp(40px, 10.5vw, 44px);
    line-height: 1.18;
  }

  .site-page .hero-subtitle {
    font-size: 16px;
    line-height: 26px;
  }

  .site-page .hero-visual,
  .site-page .hero-visual .app-shell,
  .site-page .platform-visual {
    min-height: clamp(300px, 78vw, 360px);
  }

  .site-page .intro-section,
  .site-page .media-feature-section,
  .site-page .stack-section,
  .site-page .product-links,
  .site-page .compare-section,
  .site-page .trial-section,
  .site-page .faq-section {
    padding-top: var(--layout-section-y);
    padding-bottom: var(--layout-section-y);
  }

  .site-page .section-copy {
    margin-bottom: var(--space-40);
  }

  .site-page .section-copy h2,
  .site-page .media-feature-copy h2,
  .site-page .stack-section h2,
  .site-page .faq-title h2,
  .site-page .final-cta h2 {
    font-size: clamp(32px, 8.8vw, 36px);
    line-height: 1.22;
  }

  .site-page .section-copy p:not(.eyebrow),
  .site-page .media-feature-copy p,
  .site-page .stack-section .section-copy p {
    font-size: 16px;
    line-height: 26px;
  }

  .site-page .feature-grid,
  .site-page .link-grid,
  .site-page .component-grid,
  .site-page .cooperation-grid,
  .site-page .deployment-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-page .feature-card,
  .site-page .feature-card:first-child,
  .site-page .component-grid article,
  .site-page .cooperation-grid article,
  .site-page .deployment-list span,
  .site-page .product-link {
    padding: var(--space-24);
  }

  .site-page .stack-row {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-8);
  }

  .site-page .media-feature-layout {
    gap: var(--space-40);
  }

.site-page .final-cta {
    display: grid;
    gap: var(--space-32);
    margin: var(--space-48) auto;
    padding-top: var(--space-48);
    padding-bottom: var(--space-48);
  }
}

.platform-redesign .metric-band,
.metric-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #e8e8ec;
  border-bottom: 1px solid #e8e8ec;
  background: #fafafa;
}

.metric-band .reveal {
  opacity: 1;
  transform: none;
}

.metric-item {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 196px;
  padding: 42px 28px;
  text-align: center;
}

.metric-item + .metric-item {
  border-left: 1px solid #e8e8ec;
}

.metric-item strong {
  display: block;
  color: #151327;
  font-family: var(--font-display);
  font-size: clamp(44px, 4vw, 54px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.metric-item span {
  display: block;
  margin-top: 14px;
  color: #657080;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
}

@media (max-width: 900px) {
  .platform-redesign .metric-band,
  .metric-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-item {
    min-height: 168px;
  }

  .metric-item:nth-child(odd) {
    border-left: 0;
  }

  .metric-item:nth-child(n + 3) {
    border-top: 1px solid #e8e8ec;
  }
}

@media (max-width: 560px) {
  .platform-redesign .metric-band,
  .metric-band {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 0;
  }

  .metric-item {
    min-height: 142px;
    padding: 30px 20px;
  }

  .metric-item + .metric-item {
    border-top: 1px solid #e8e8ec;
    border-left: 0;
  }

  .metric-item strong {
    font-size: 44px;
  }

  .metric-item span {
    margin-top: 10px;
    font-size: 15px;
  }
}

.nav-link--active,
.nav-item--active .nav-trigger,
.site-header.is-scrolled .nav-link--active,
.site-header.is-scrolled .nav-item--active .nav-trigger {
  color: #742bff;
  background: rgba(116, 43, 255, 0.08);
}

.nav-link--active::after,
.nav-item--active .nav-trigger::after {
  opacity: 1;
}

@media (max-width: 760px) {
  .site-header.is-open,
  .site-header.is-scrolled.is-open {
    height: auto;
    min-height: var(--layout-header);
    align-items: start;
    padding-bottom: 16px;
  }

  .site-header.is-open .header-right {
    display: flex;
    position: static;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .site-header.is-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin-top: 10px;
  }

  .site-header.is-open .header-actions {
    display: flex;
    width: 100%;
    padding-top: 16px;
  }

  .site-header.is-open .header-actions .pill-button {
    width: 100%;
    justify-content: center;
  }

  .site-header.is-open .nav-link,
  .site-header.is-open .nav-trigger {
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    padding: 0;
  }

  .site-header.is-open .nav-item {
    width: 100%;
    border-bottom: 1px solid #ecedf4;
  }

  .site-header.is-open .mega-menu {
    position: static;
    display: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 14px;
    border-radius: 12px;
    opacity: 1;
    pointer-events: auto;
    transform: none !important;
  }

  .site-header.is-open .nav-item.is-active .mega-menu,
  .site-header.is-open .nav-item:focus-within .mega-menu {
    display: grid;
  }
}

/* Final header override: no active/hover background panels in the desktop nav. */
.site-header .nav-link,
.site-header .nav-trigger,
.site-header .nav-item.is-active .nav-trigger,
.site-header .nav-link--active,
.site-header .nav-item--active .nav-trigger,
.site-header.is-scrolled .nav-link--active,
.site-header.is-scrolled .nav-item--active .nav-trigger {
  color: #202433;
  background: transparent;
  box-shadow: none;
}

.site-header .nav-link:hover,
.site-header .nav-trigger:hover,
.site-header .nav-item:hover .nav-trigger {
  color: #742bff;
  background: transparent;
  box-shadow: none;
}

.site-header .nav-link--active::after,
.site-header .nav-item--active .nav-trigger::after,
.site-header .nav-item.is-active .nav-trigger::after {
  opacity: 0;
}

.site-header .nav-link:hover::after,
.site-header .nav-trigger:hover::after,
.site-header .nav-item:hover .nav-trigger::after {
  opacity: 1;
}


/* Footer final cascade guard. Keep footer synced to the header columns plus Legal. */
@media (min-width: 981px) {
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  }
}

/* SDK page: developer-product rhythm. */
.sdk-page {
  background: #fff;
}

.sdk-page .reveal {
  opacity: 1;
  transform: none;
}

.sdk-hero,
.sdk-capability-section,
.sdk-platform-strip-section,
.sdk-list-section,
.sdk-chat-section,
.sdk-voice-section,
.sdk-client-path-section,
.sdk-integration-section,
.sdk-why-section {
  box-sizing: border-box;
  width: min(100%, var(--layout-container));
  max-width: var(--layout-container);
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--layout-gutter);
  padding-left: var(--layout-gutter);
  scroll-margin-top: calc(var(--layout-header) + var(--space-24));
}

.sdk-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(540px, 1.12fr);
  align-items: center;
  gap: var(--layout-grid-gap);
  min-height: calc(100svh - var(--layout-header));
  padding-top: calc(var(--layout-header) + var(--space-56));
  padding-bottom: var(--layout-section-y-compact);
}

.sdk-hero-copy h1 {
  max-width: 800px;
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(52px, 5.2vw, 84px);
  font-weight: 800;
  line-height: 0.99;
  letter-spacing: 0;
}

.sdk-hero-copy .hero-subtitle {
  max-width: 720px;
}

.sdk-hero-copy .hero-subtitle--support {
  margin-top: 10px;
}

.sdk-hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 590px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.sdk-hero-image {
  display: block;
  width: min(112%, 820px);
  height: auto;
  max-width: none;
  object-fit: contain;
}

.sdk-editor {
  position: absolute;
  left: 42px;
  right: 42px;
  top: 52px;
  overflow: hidden;
  border-radius: 28px;
  background: #101426;
  color: #e9ecff;
  box-shadow: 0 30px 80px rgba(16, 20, 38, 0.22);
}

.sdk-editor-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sdk-editor-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.sdk-editor-bar strong {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.sdk-editor pre {
  margin: 0;
  padding: 28px;
  overflow-x: auto;
}

.sdk-editor code {
  color: #eef2ff;
  font-size: 15px;
  line-height: 27px;
}

.sdk-platform-tags {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 178px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sdk-platform-tags span {
  min-height: 42px;
  padding: 11px 16px;
  border: 1px solid #e3e8f3;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #242a3a;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(32, 28, 64, 0.07);
}

.sdk-module-map {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 48px;
  display: grid;
  grid-template-columns: 1fr 44px 1fr 44px 1fr;
  align-items: center;
  gap: 10px;
}

.sdk-module-map span,
.sdk-module-map strong {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 14px;
  border: 1px solid #e3e8f3;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  color: #1d2233;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
}

.sdk-module-map strong {
  background: linear-gradient(135deg, #742bff, #3d7cff);
  color: #fff;
}

.sdk-module-map i {
  height: 2px;
  background: linear-gradient(90deg, rgba(116, 43, 255, 0.18), rgba(61, 124, 255, 0.85));
}

.sdk-event-card {
  position: absolute;
  right: 52px;
  top: 300px;
  display: grid;
  gap: 6px;
  width: 230px;
  padding: 20px;
  border: 1px solid #e4e8f2;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 62px rgba(32, 28, 64, 0.13);
}

.sdk-event-card strong {
  color: #742bff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
}

.sdk-event-card em {
  color: var(--text-secondary);
  font-size: 13px;
  font-style: normal;
}

.sdk-platform-strip-section,
.sdk-list-section,
.sdk-chat-section,
.sdk-voice-section,
.sdk-client-path-section,
.sdk-integration-section,
.sdk-why-section {
  padding-top: var(--layout-section-y);
  padding-bottom: var(--layout-section-y);
}

.sdk-platform-strip-section {
  padding-top: clamp(22px, 4vw, 44px);
  padding-bottom: clamp(44px, 6vw, 76px);
}

.sdk-capability-section {
  position: relative;
  overflow: hidden;
  padding-top: clamp(70px, 8vw, 112px);
  padding-bottom: clamp(70px, 8vw, 112px);
  border-radius: var(--radius-float);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 18% 12%, rgba(61, 124, 255, 0.24), transparent 30%),
    radial-gradient(circle at 82% 82%, rgba(116, 43, 255, 0.26), transparent 34%),
    #141126;
  background-size: 88px 88px, 88px 88px, auto, auto, auto;
}

.sdk-capability-section .section-copy {
  max-width: 780px;
}

.sdk-capability-section .eyebrow {
  color: #b99cff;
}

.sdk-capability-section .section-copy h2 {
  color: #fff;
}

.sdk-capability-section .section-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.sdk-insight-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
}

.sdk-insight-panel {
  position: relative;
  min-height: clamp(360px, 34vw, 450px);
  padding: clamp(34px, 4vw, 56px);
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.08);
  border-style: solid;
  border-width: 0 1px 1px 0;
}

.sdk-insight-panel:nth-child(even) {
  border-right-width: 0;
}

.sdk-insight-panel:nth-child(n + 3) {
  border-bottom-width: 0;
}

.sdk-insight-panel--copy {
  display: grid;
  align-content: center;
}

.sdk-insight-panel--visual {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1), transparent 46%),
    linear-gradient(135deg, rgba(116, 43, 255, 0.16), rgba(61, 124, 255, 0.08));
}

.sdk-insight-panel--image {
  padding: 0;
  background: #0e0a24;
}

.sdk-insight-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.sdk-insight-panel > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: #b99cff;
  font-size: 13px;
  font-weight: 800;
  line-height: 18px;
}

.sdk-insight-panel h3 {
  max-width: 560px;
  margin: 14px 0 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(34px, 3.5vw, 52px);
  font-weight: 780;
  line-height: 1.05;
  letter-spacing: 0;
}

.sdk-insight-panel p {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.72;
}

.sdk-insight-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sdk-insight-metrics strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 820;
  line-height: 1.1;
}

.sdk-insight-metrics em {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-body);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.35;
}

.sdk-insight-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.sdk-insight-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.5;
}

.sdk-analytics-card {
  width: min(100%, 370px);
  min-height: 310px;
  padding: 36px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 238, 167, 0.58), transparent 34%),
    radial-gradient(circle at 88% 20%, rgba(119, 229, 255, 0.42), transparent 34%),
    radial-gradient(circle at 50% 92%, rgba(249, 181, 229, 0.42), transparent 36%),
    #fff;
  box-shadow: 0 28px 70px rgba(4, 8, 26, 0.26);
}

.sdk-analytics-card > span {
  display: block;
  color: #1d2233;
  font-size: 13px;
  font-weight: 850;
}

.sdk-analytics-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.sdk-analytics-stats strong {
  display: grid;
  place-items: center;
  min-height: 58px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  color: #202433;
  font-size: 18px;
  box-shadow: 0 12px 28px rgba(32, 28, 64, 0.06);
}

.sdk-analytics-chart {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 12px;
  height: 150px;
  margin-top: 34px;
  padding: 18px 18px 10px;
  border-radius: 18px;
  background:
    linear-gradient(rgba(32, 40, 72, 0.08) 1px, transparent 1px),
    rgba(255, 255, 255, 0.58);
  background-size: 100% 28px, auto;
}

.sdk-analytics-chart i {
  width: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #742bff, #12162c);
}

.sdk-analytics-chart i:nth-child(1) { height: 34px; opacity: 0.45; }
.sdk-analytics-chart i:nth-child(2) { height: 68px; opacity: 0.7; }
.sdk-analytics-chart i:nth-child(3) { height: 46px; opacity: 0.55; }
.sdk-analytics-chart i:nth-child(4) { height: 94px; }
.sdk-analytics-chart i:nth-child(5) { height: 58px; opacity: 0.74; }
.sdk-analytics-chart i:nth-child(6) { height: 76px; opacity: 0.62; }
.sdk-analytics-chart i:nth-child(7) { height: 40px; opacity: 0.48; }

.sdk-chat-widget {
  width: min(100%, 390px);
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 238, 167, 0.55), transparent 34%),
    radial-gradient(circle at 72% 8%, rgba(119, 229, 255, 0.38), transparent 30%),
    #fff;
  box-shadow: 0 28px 70px rgba(4, 8, 26, 0.28);
}

.sdk-chat-widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 22px;
  border-bottom: 1px solid #eef1f7;
}

.sdk-chat-widget-head strong {
  color: #202433;
  font-size: 15px;
}

.sdk-chat-widget-head span {
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f0ebff;
  color: #742bff;
  font-size: 12px;
  font-weight: 800;
}

.sdk-chat-bubble {
  width: fit-content;
  max-width: 78%;
  margin: 18px 22px;
  padding: 13px 16px;
  border-radius: 16px;
  color: #283044;
  font-size: 14px;
  font-weight: 760;
  box-shadow: 0 14px 34px rgba(32, 28, 64, 0.08);
}

.sdk-chat-bubble--in {
  background: #fff;
}

.sdk-chat-bubble--out {
  margin-left: auto;
  background: linear-gradient(135deg, #742bff, #2268ff);
  color: #fff;
}

.sdk-insight-panel--flow {
  place-items: start center;
  gap: 20px;
}

.sdk-insight-panel--flow h3 {
  max-width: 520px;
  margin-bottom: 8px;
  font-size: clamp(28px, 2.8vw, 42px);
}

.sdk-insight-panel--resources {
  background:
    radial-gradient(circle at 92% 12%, rgba(116, 43, 255, 0.12), transparent 34%),
    #fff;
}

.sdk-resource-mini-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  width: 100%;
}

.sdk-resource-mini-list a {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid #e3e8f2;
  border-radius: 18px;
  background: #f8faff;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.sdk-resource-mini-list a:hover,
.sdk-resource-mini-list a:focus-visible {
  border-color: rgba(116, 43, 255, 0.36);
  transform: translateY(-1px);
  outline: none;
}

.sdk-resource-mini-list strong {
  color: var(--text-primary);
  font-size: 16px;
  line-height: 22px;
}

.sdk-resource-mini-list span {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 20px;
}

.sdk-capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--layout-card-gap);
}

.sdk-capability-grid article {
  display: grid;
  align-content: start;
  min-height: 390px;
  padding: clamp(30px, 3.4vw, 48px);
  border: 1px solid #e2e7f1;
  border-radius: var(--radius-float);
  background:
    radial-gradient(circle at 100% 0%, rgba(116, 43, 255, 0.11), transparent 38%),
    #fff;
  box-shadow: 0 20px 54px rgba(32, 28, 64, 0.06);
}

.sdk-capability-grid article > span {
  color: #742bff;
  font-size: 14px;
  font-weight: 850;
  line-height: 20px;
}

.sdk-capability-grid h3 {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(34px, 3.2vw, 50px);
  font-weight: 780;
  line-height: 1.1;
}

.sdk-capability-grid p {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 29px;
}

.sdk-capability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 34px;
}

.sdk-capability-tags em {
  padding: 8px 12px;
  border: 1px solid #e4e8f2;
  border-radius: 999px;
  background: #f8faff;
  color: #373d50;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.sdk-capability-grid .outline-button {
  align-self: end;
  justify-self: start;
}

.sdk-chat-section {
  border-radius: var(--radius-float);
  background: #f7f8fc;
}

.sdk-voice-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr);
  gap: var(--layout-grid-gap);
  align-items: center;
}

.sdk-voice-boundary {
  display: grid;
  gap: 14px;
  margin: var(--space-28) 0 0;
}

.sdk-voice-boundary article {
  padding: 18px 20px;
  border: 1px solid #e3e8f2;
  border-radius: 20px;
  background: #fff;
}

.sdk-voice-boundary h3 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 27px;
}

.sdk-voice-boundary p,
.sdk-boundary-note {
  margin: 7px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 24px;
}

.sdk-boundary-note {
  margin: var(--space-20) 0 0;
}

.sdk-voice-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 14px;
  min-height: 460px;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid #e2e7f1;
  border-radius: var(--radius-float);
  background:
    radial-gradient(circle at 50% 0%, rgba(116, 43, 255, 0.12), transparent 36%),
    #f8faff;
}

.sdk-voice-flow span,
.sdk-voice-flow strong {
  display: grid;
  place-items: center;
  width: min(100%, 380px);
  min-height: 70px;
  padding: 15px;
  border: 1px solid #e3e8f3;
  border-radius: 22px;
  background: #fff;
  color: #202433;
  text-align: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 820;
}

.sdk-voice-flow strong {
  background: linear-gradient(135deg, #742bff, #3d7cff);
  color: #fff;
}

.sdk-voice-flow i {
  width: 2px;
  height: 30px;
  background: linear-gradient(180deg, rgba(116, 43, 255, 0.18), rgba(61, 124, 255, 0.85));
}

.sdk-logo-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sdk-platform-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(74px, 8vw, 108px);
  justify-content: center;
  gap: clamp(12px, 1.7vw, 20px);
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 2px 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(116, 43, 255, 0.34) transparent;
}

.sdk-platform-strip::-webkit-scrollbar {
  height: 6px;
}

.sdk-platform-strip::-webkit-scrollbar-track {
  background: transparent;
}

.sdk-platform-strip::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(116, 43, 255, 0.32);
}

.sdk-platform-strip a {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid #e5e9f3;
  border-radius: 24px;
  background:
    radial-gradient(circle at 78% 18%, rgba(116, 43, 255, 0.1), transparent 34%),
    #fff;
  color: #111827;
  box-shadow: 0 18px 42px rgba(32, 28, 64, 0.07);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.sdk-platform-strip a:hover,
.sdk-platform-strip a:focus-visible {
  border-color: rgba(116, 43, 255, 0.5);
  box-shadow: 0 22px 54px rgba(32, 28, 64, 0.11);
  transform: translateY(-2px);
  outline: none;
}

.sdk-platform-strip svg {
  display: block;
  width: clamp(34px, 4vw, 52px);
  height: clamp(34px, 4vw, 52px);
}

.sdk-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.sdk-card-list article {
  display: grid;
  align-content: start;
  min-height: 280px;
  padding: clamp(28px, 3vw, 42px);
  border-top: 1px solid #dfe4ee;
  background: #fff;
  scroll-margin-top: calc(var(--layout-header) + var(--space-32));
  transition: border-color 180ms ease, transform 180ms ease;
}

.sdk-card-list article:hover {
  border-color: rgba(116, 43, 255, 0.42);
  transform: translateY(-2px);
}

.sdk-card-list article:target {
  border-color: rgba(116, 43, 255, 0.65);
  box-shadow: inset 0 3px 0 #742bff;
}

.sdk-card-list article > span {
  color: #742bff;
  font-size: 13px;
  font-weight: 800;
  line-height: 18px;
}

.sdk-card-list h3 {
  margin: 18px 0 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(28px, 2.8vw, 42px);
  font-weight: 780;
  line-height: 1.08;
}

.sdk-card-list p {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 29px;
}

.sdk-card-list div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.sdk-card-list a,
.sdk-client-path .text-link {
  color: #742bff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.sdk-client-path {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr) 58px minmax(0, 1fr);
  align-items: center;
  gap: 0;
}

.sdk-client-path article {
  min-height: 310px;
  padding: clamp(28px, 3vw, 42px);
  border: 1px solid #e5e9f3;
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(116, 43, 255, 0.1), transparent 42%),
    #fff;
  box-shadow: 0 20px 54px rgba(32, 28, 64, 0.06);
}

.sdk-client-path article > span {
  color: #742bff;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
}

.sdk-client-path h3 {
  margin: 22px 0 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 36px;
}

.sdk-client-path p {
  margin: 14px 0 22px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 27px;
}

.sdk-client-path > i {
  height: 2px;
  background: linear-gradient(90deg, rgba(116, 43, 255, 0.2), rgba(61, 124, 255, 0.78));
}

.sdk-integration-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr);
  gap: var(--layout-grid-gap);
  align-items: center;
  border-radius: var(--radius-float);
  background: #f7f8fc;
}

.sdk-api-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid #e2e7f1;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 20px 54px rgba(32, 28, 64, 0.06);
}

.sdk-api-flow span,
.sdk-api-flow strong {
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: 16px;
  border: 1px solid #e3e8f3;
  border-radius: 22px;
  color: #1d2233;
  text-align: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 780;
  line-height: 24px;
}

.sdk-api-flow strong {
  background: linear-gradient(135deg, #742bff, #3d7cff);
  color: #fff;
}

.sdk-api-flow em {
  display: block;
  margin-top: 5px;
  color: #727b8d;
  font-family: var(--font-latin);
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
}

.sdk-api-flow i {
  width: 2px;
  height: 28px;
  justify-self: center;
  background: linear-gradient(180deg, rgba(116, 43, 255, 0.18), rgba(61, 124, 255, 0.85));
}

.sdk-why-section {
  background: #fff;
}

.sdk-why-section .section-copy {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.sdk-why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 4.2vw, 64px);
  margin-top: clamp(42px, 5vw, 66px);
}

.sdk-why-grid article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-content: start;
  column-gap: 16px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.sdk-why-grid h3 {
  margin: 0;
  padding-top: 5px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(20px, 1.6vw, 25px);
  font-weight: 850;
  line-height: 30px;
}

.sdk-why-grid p {
  grid-column: 1 / -1;
  margin: 16px 0 0;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 28px;
}

.sdk-why-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(116, 43, 255, 0.1);
  color: #6b55ff;
}

.sdk-boundary-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-16);
  margin-top: var(--space-40);
}

.sdk-boundary-actions > :where(.pill-button, .outline-button) {
  flex: 0 0 200px;
  justify-content: center;
  text-align: center;
}

@media (max-width: 1180px) {
  .sdk-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sdk-page .final-cta p:not(.eyebrow) {
  max-width: 640px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 29px;
}

@media (max-width: 1180px) {
  .sdk-hero,
  .sdk-voice-section,
  .sdk-integration-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .sdk-insight-bento {
    grid-template-columns: minmax(0, 1fr);
  }

  .sdk-insight-panel {
    border-right-width: 0;
  }

  .sdk-insight-panel:nth-child(n + 3) {
    border-bottom-width: 1px;
  }

  .sdk-insight-panel:last-child {
    border-bottom-width: 0;
  }

  .sdk-capability-grid,
  .sdk-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sdk-client-path {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .sdk-client-path > i {
    width: 2px;
    height: 38px;
    justify-self: center;
  }
}

/* Tutorials page: searchable developer tutorial index. */
.tutorials-page {
  background: #fff;
}

.tutorials-page .reveal {
  opacity: 1;
  transform: none;
}

.tutorials-hero,
.tutorials-browser,
.tutorials-cta {
  box-sizing: border-box;
  width: min(100%, var(--layout-container));
  max-width: var(--layout-container);
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--layout-gutter);
  padding-left: var(--layout-gutter);
  scroll-margin-top: calc(var(--layout-header) + var(--space-24));
}

.tutorials-hero {
  padding-top: calc(var(--layout-header) + 96px);
  padding-bottom: 72px;
}

.tutorials-hero-copy {
  max-width: 900px;
}

.tutorials-hero h1 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 128px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0;
}

.tutorials-hero .hero-subtitle {
  max-width: 780px;
}

.tutorial-search {
  display: grid;
  gap: 10px;
  max-width: 680px;
  margin-top: 34px;
}

.tutorial-search span {
  color: #742bff;
  font-size: 13px;
  font-weight: 800;
}

.tutorial-search input {
  width: 100%;
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid #dfe4ee;
  border-radius: 18px;
  background: #fff;
  color: var(--text-primary);
  font: inherit;
  font-size: 16px;
  box-shadow: 0 16px 42px rgba(32, 28, 64, 0.055);
}

.tutorial-search input:focus {
  border-color: rgba(116, 43, 255, 0.46);
  outline: none;
  box-shadow: 0 0 0 4px rgba(116, 43, 255, 0.1);
}

.tutorials-browser {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
  padding-top: 42px;
  padding-bottom: var(--layout-section-y);
}

.tutorial-filters {
  position: sticky;
  top: calc(var(--layout-header) + 24px);
  display: grid;
  gap: 26px;
  padding: 24px;
  border: 1px solid #e5e9f3;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(32, 28, 64, 0.06);
}

.tutorial-filter-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.tutorial-filter-header strong {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 20px;
}

.tutorial-filter-header button,
.tutorial-filters fieldset button {
  border: 0;
  background: transparent;
  color: #742bff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.tutorial-filters fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  border: 0;
}

.tutorial-filters legend {
  width: 100%;
  margin-bottom: 4px;
  color: #232838;
  font-size: 14px;
  font-weight: 800;
}

.tutorial-filters fieldset button {
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid #e2e7f1;
  border-radius: 999px;
  color: #606a7d;
  background: #fff;
}

.tutorial-filters fieldset button.is-active,
.tutorial-filters fieldset button:hover {
  border-color: rgba(116, 43, 255, 0.34);
  background: rgba(116, 43, 255, 0.08);
  color: #742bff;
}

.tutorial-results {
  min-width: 0;
}

.tutorial-results-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

.tutorial-results-head h2 {
  max-width: 760px;
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(36px, 3.4vw, 56px);
  font-weight: 800;
  line-height: 1.05;
}

.tutorial-results-head > span {
  color: #727b8d;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.tutorial-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--layout-card-gap);
}

.tutorial-card {
  display: grid;
  overflow: hidden;
  border: 1px solid #e5e9f3;
  border-radius: 28px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 18px 52px rgba(32, 28, 64, 0.055);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.tutorial-card:hover {
  border-color: rgba(116, 43, 255, 0.36);
  box-shadow: 0 26px 68px rgba(32, 28, 64, 0.1);
  transform: translateY(-3px);
}

.tutorial-cover {
  display: grid;
  place-items: center;
  min-height: 178px;
  background:
    radial-gradient(circle at 78% 18%, rgba(116, 43, 255, 0.22), transparent 34%),
    linear-gradient(180deg, #fbfcff 0%, #f2f6fc 100%);
}

.tutorial-cover span {
  min-height: 48px;
  padding: 14px 18px;
  border-radius: 16px;
  background: #101426;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 18px 44px rgba(16, 20, 38, 0.18);
}

.tutorial-cover--server span,
.tutorial-cover--api span {
  background: linear-gradient(135deg, #742bff, #3d7cff);
}

.tutorial-cover--flutter span,
.tutorial-cover--rn span {
  background: #1d4ed8;
}

.tutorial-cover--source span,
.tutorial-cover--wasm span {
  background: #111827;
}

.tutorial-card-body {
  display: grid;
  align-content: start;
  padding: 24px;
}

.tutorial-card h3 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 780;
  line-height: 30px;
}

.tutorial-card p {
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 25px;
}

.tutorial-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tutorial-tags button,
.tutorial-tags [data-tag-filter] {
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid #e2e7f1;
  border-radius: 999px;
  background: #fff;
  color: #606a7d;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.tutorial-tags button:hover,
.tutorial-tags [data-tag-filter]:hover,
.tutorial-tags [data-tag-filter]:focus-visible {
  color: #742bff;
  border-color: rgba(116, 43, 255, 0.36);
  outline: none;
}

.tutorial-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #edf0f6;
}

.tutorial-meta span,
.tutorial-meta em {
  color: #727b8d;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.tutorial-empty {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 68px 24px;
  border: 1px dashed #dce2ee;
  border-radius: 28px;
  text-align: center;
}

.tutorial-empty h3 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 28px;
}

.tutorial-empty p {
  margin: 0 0 8px;
  color: var(--text-secondary);
}

.tutorial-load {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.tutorials-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin-bottom: var(--space-64);
  padding-top: 56px;
  padding-bottom: 56px;
  border-radius: var(--radius-float);
  background: #f7f8fc;
}

.tutorials-cta h2 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 1.08;
}

.tutorials-cta p:not(.eyebrow) {
  max-width: 660px;
  margin: 16px 0 0;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 29px;
}

@media (max-width: 1180px) {
  .tutorials-browser {
    grid-template-columns: minmax(0, 1fr);
  }

  .tutorial-filters {
    position: static;
  }

  .tutorial-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tutorials-cta {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .tutorials-hero,
  .tutorials-browser,
  .tutorials-cta {
    padding-right: var(--layout-gutter);
    padding-left: var(--layout-gutter);
  }

  .tutorials-hero {
    padding-top: calc(var(--layout-header) + 46px);
  }

  .tutorials-hero h1 {
    font-size: 68px;
  }

  .tutorial-results-head {
    align-items: start;
    flex-direction: column;
  }

  .tutorial-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tutorials-cta {
    border-radius: 0;
  }

  .tutorials-cta .hero-actions,
  .tutorials-cta .pill-button,
  .tutorials-cta .outline-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .sdk-hero,
  .sdk-capability-section,
  .sdk-platform-strip-section,
  .sdk-list-section,
  .sdk-client-path-section,
  .sdk-integration-section,
  .sdk-why-section {
    padding-right: var(--layout-gutter);
    padding-left: var(--layout-gutter);
  }

  .sdk-hero {
    min-height: auto;
    padding-top: calc(var(--layout-header) + 46px);
  }

  .sdk-hero-copy h1 {
    font-size: 46px;
    line-height: 1.03;
  }

  .sdk-hero-visual {
    min-height: clamp(320px, 72vw, 520px);
  }

  .sdk-hero-image {
    width: min(100%, 560px);
  }

  .sdk-platform-strip {
    justify-content: start;
    padding-right: 4px;
    padding-left: 4px;
  }

  .sdk-capability-section {
    border-radius: 0;
  }

  .sdk-insight-bento {
    border-radius: 18px;
  }

  .sdk-insight-panel {
    min-height: 0;
    padding: 26px;
  }

  .sdk-insight-panel h3 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .sdk-insight-metrics {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .sdk-analytics-card,
  .sdk-chat-widget {
    width: 100%;
  }

  .sdk-editor {
    inset: 24px 18px auto;
  }

  .sdk-editor pre {
    padding: 22px;
  }

  .sdk-editor code {
    font-size: 12px;
    line-height: 22px;
  }

  .sdk-platform-tags {
    left: 18px;
    right: 18px;
    bottom: 194px;
  }

  .sdk-module-map {
    left: 18px;
    right: 18px;
    bottom: 24px;
    grid-template-columns: minmax(0, 1fr);
  }

  .sdk-module-map i {
    width: 2px;
    height: 20px;
    justify-self: center;
  }

  .sdk-event-card {
    top: 266px;
    right: 18px;
    width: 210px;
  }

  .sdk-card-list,
  .sdk-why-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sdk-integration-section {
    border-radius: 0;
  }
}

/* Enterprise page redesign */
.enterprise-page {
  --enterprise-max: 1440px;
  --enterprise-gutter: clamp(24px, 4vw, 64px);
  --enterprise-purple: #742bff;
  --enterprise-blue: #2268ff;
  --enterprise-ink: #101828;
  --enterprise-muted: #667085;
  --enterprise-line: #e5e7f0;
  --enterprise-soft: #f7f8ff;
  background: #fff;
  color: var(--enterprise-ink);
}

.enterprise-page .reveal {
  opacity: 1;
  transform: none;
}

.enterprise-page section {
  scroll-margin-top: 96px;
}

.enterprise-container {
  width: min(100%, var(--enterprise-max));
  margin: 0 auto;
  padding-right: var(--enterprise-gutter);
  padding-left: var(--enterprise-gutter);
}

.enterprise-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--layout-header, 80px) + 88px) 0 104px;
  background:
    radial-gradient(circle at 82% 18%, rgba(116, 43, 255, 0.16), transparent 28%),
    radial-gradient(circle at 18% 12%, rgba(34, 104, 255, 0.1), transparent 30%),
    linear-gradient(180deg, #fbfcff 0%, #fff 78%);
}

.enterprise-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(116, 43, 255, 0.18), transparent);
}

.enterprise-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
}

.enterprise-hero-copy {
  max-width: 690px;
}

.enterprise-hero-copy h1,
.enterprise-section-head h2,
.enterprise-contact-copy h2,
.enterprise-faq-title h2 {
  margin: 0;
  color: var(--enterprise-ink);
  font-family: var(--font-display);
  letter-spacing: 0;
}

.enterprise-hero-copy h1 {
  max-width: 680px;
  font-size: clamp(54px, 5vw, 82px);
  line-height: 0.98;
}

.enterprise-lead {
  margin: 28px 0 0;
  color: #3f4858;
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.65;
}

.enterprise-lead--secondary {
  margin-top: 10px;
  color: var(--enterprise-muted);
}

.enterprise-hero .hero-actions {
  margin-top: 36px;
}

.enterprise-hero-visual {
  min-width: 0;
}

.enterprise-product-board {
  position: relative;
  min-height: 610px;
  border: 1px solid rgba(116, 43, 255, 0.14);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(247, 248, 255, 0.72)),
    radial-gradient(circle at 22% 18%, rgba(116, 43, 255, 0.12), transparent 24%);
  box-shadow: 0 30px 90px rgba(24, 34, 82, 0.13);
}

.enterprise-chat-preview,
.enterprise-meeting-preview,
.enterprise-admin-preview,
.enterprise-code-tag,
.enterprise-float-tag,
.enterprise-contact-card,
.enterprise-plan-card,
.enterprise-production-points article,
.enterprise-process-line article {
  box-shadow: 0 18px 50px rgba(18, 24, 51, 0.08);
}

.enterprise-chat-preview {
  position: absolute;
  top: 58px;
  left: 44px;
  width: 58%;
  overflow: hidden;
  border: 1px solid rgba(116, 43, 255, 0.16);
  border-radius: 24px;
  background: #fff;
}

.enterprise-window-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid #edf0f8;
}

.enterprise-window-head span {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: #d7ddea;
}

.enterprise-window-head strong {
  margin-left: auto;
  color: #475467;
  font-size: 12px;
}

.enterprise-chat-body {
  display: grid;
  grid-template-columns: 92px 1fr;
  min-height: 278px;
}

.enterprise-chat-body aside {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 22px 16px;
  background: #f6f7fb;
}

.enterprise-chat-body aside i {
  height: 38px;
  border-radius: 12px;
  background: #fff;
}

.enterprise-chat-body > div {
  padding: 28px 24px;
}

.enterprise-chat-body b {
  display: block;
  width: 44%;
  height: 14px;
  margin-bottom: 26px;
  border-radius: 99px;
  background: #d9e1f3;
}

.bubble-line {
  width: 72%;
  height: 34px;
  margin: 0 0 16px;
  border-radius: 16px 16px 16px 6px;
  background: #eef2ff;
}

.bubble-line.short {
  width: 54%;
}

.bubble-line.accent {
  width: 66%;
  margin-left: auto;
  border-radius: 16px 16px 6px 16px;
  background: linear-gradient(135deg, var(--enterprise-purple), var(--enterprise-blue));
}

.enterprise-meeting-preview {
  position: absolute;
  top: 155px;
  right: 34px;
  width: 42%;
  padding: 18px;
  border: 1px solid rgba(34, 104, 255, 0.18);
  border-radius: 26px;
  background: #111827;
}

.meeting-grid-mini {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.meeting-grid-mini span {
  aspect-ratio: 1.3;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,0.75) 0 12%, transparent 13%),
    linear-gradient(145deg, #2d3651, #1b2235);
}

.meeting-controls-mini {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.meeting-controls-mini i {
  width: 28px;
  height: 28px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
}

.enterprise-admin-preview {
  position: absolute;
  left: 64px;
  bottom: 58px;
  width: 38%;
  padding: 22px;
  border: 1px solid rgba(116, 43, 255, 0.16);
  border-radius: 22px;
  background: #fff;
}

.enterprise-admin-preview strong {
  display: block;
  margin-bottom: 18px;
  color: #172033;
  font-size: 16px;
}

.enterprise-admin-preview span {
  display: block;
  height: 10px;
  margin-top: 12px;
  border-radius: 99px;
  background: #e9edf7;
}

.enterprise-admin-preview span:nth-child(3) {
  width: 72%;
}

.enterprise-admin-preview span:nth-child(4) {
  width: 54%;
}

.enterprise-code-tag {
  position: absolute;
  right: 48px;
  bottom: 88px;
  padding: 16px 18px;
  border: 1px solid rgba(116, 43, 255, 0.16);
  border-radius: 16px;
  background: #fff;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.enterprise-float-tag {
  position: absolute;
  padding: 10px 14px;
  border: 1px solid rgba(116, 43, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #42307d;
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.enterprise-float-tag.tag-one {
  top: 34px;
  right: 120px;
}

.enterprise-float-tag.tag-two {
  right: 28px;
  top: 345px;
}

.enterprise-float-tag.tag-three {
  left: 38%;
  bottom: 34px;
}

.enterprise-section {
  padding: clamp(76px, 8vw, 124px) 0;
}

.enterprise-section-head {
  max-width: 850px;
  margin-bottom: 44px;
}

.enterprise-section-head h2,
.enterprise-contact-copy h2,
.enterprise-faq-title h2 {
  font-size: clamp(38px, 3.8vw, 62px);
  line-height: 1.04;
}

.enterprise-section-head p:not(.eyebrow),
.enterprise-contact-copy > p {
  margin: 18px 0 0;
  color: var(--enterprise-muted);
  font-size: 19px;
  line-height: 1.68;
}

.enterprise-plans-section,
.enterprise-capability-section,
.enterprise-process-section {
  background: #fff;
}

.enterprise-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.enterprise-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 32px;
  border: 1px solid var(--enterprise-line);
  border-radius: 28px;
  background: #fff;
}

.enterprise-plan-card--featured {
  border-color: rgba(116, 43, 255, 0.35);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--enterprise-purple), var(--enterprise-blue)) border-box;
}

.enterprise-plan-card--featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(90deg, var(--enterprise-purple), var(--enterprise-blue));
}

.enterprise-plan-label {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: #f1ecff;
  color: var(--enterprise-purple);
  font-size: 12px;
  font-weight: 900;
}

.enterprise-plan-card h3 {
  margin: 24px 0 0;
  color: var(--enterprise-ink);
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.08;
}

.enterprise-plan-card p {
  margin: 16px 0 0;
  color: var(--enterprise-muted);
  font-size: 15.5px;
  line-height: 1.7;
}

.enterprise-plan-card .enterprise-plan-fit {
  color: #344054;
  font-weight: 800;
}

.enterprise-plan-card ul,
.enterprise-capability-copy ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.enterprise-plan-card li,
.enterprise-capability-copy li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #344054;
  font-size: 15px;
  line-height: 1.45;
}

.enterprise-plan-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  margin-top: auto;
  padding: 0 18px;
  border: 1px solid rgba(116, 43, 255, 0.2);
  border-radius: 999px;
  color: var(--enterprise-purple);
  font-size: 14px;
  font-weight: 900;
}

.enterprise-plan-link--featured,
.enterprise-plan-link:hover {
  background: linear-gradient(135deg, var(--enterprise-purple), var(--enterprise-blue));
  color: #fff;
}

.enterprise-compare-section,
.enterprise-production-section,
.enterprise-faq-section {
  background:
    radial-gradient(circle at 12% 0%, rgba(116, 43, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #fbfcff 0%, #f6f8ff 100%);
}

.enterprise-compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--enterprise-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(18, 24, 51, 0.06);
}

.enterprise-compare-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  color: #344054;
  font-size: 15px;
  line-height: 1.35;
}

.enterprise-compare-table th,
.enterprise-compare-table td {
  padding: 18px 22px;
  border-bottom: 1px solid #edf0f7;
  text-align: left;
}

.enterprise-compare-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
  color: var(--enterprise-ink);
  font-weight: 900;
}

.enterprise-compare-table td:not(:first-child),
.enterprise-compare-table th:not(:first-child) {
  text-align: center;
}

.enterprise-compare-table td:nth-child(4),
.enterprise-compare-table th:nth-child(4) {
  color: #4f1fcc;
  font-weight: 900;
}

.enterprise-compare-table .compare-group th {
  padding-top: 24px;
  padding-bottom: 10px;
  background: #f7f8ff;
  color: #6b3ef6;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.enterprise-capability-stack {
  display: grid;
  gap: 48px;
}

.enterprise-capability-row {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.86fr);
  gap: clamp(40px, 6vw, 92px);
  align-items: center;
}

.enterprise-capability-row--reverse .enterprise-capability-visual {
  order: 2;
}

.enterprise-capability-visual {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(116, 43, 255, 0.12);
  border-radius: 32px;
  background:
    radial-gradient(circle at 18% 18%, rgba(116, 43, 255, 0.13), transparent 32%),
    #f8f9ff;
}

.enterprise-capability-copy span {
  display: inline-flex;
  color: var(--enterprise-purple);
  font-size: 13px;
  font-weight: 900;
}

.enterprise-capability-copy h3 {
  margin: 16px 0 0;
  color: var(--enterprise-ink);
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.06;
}

.enterprise-capability-copy p {
  margin: 18px 0 0;
  color: var(--enterprise-muted);
  font-size: 18px;
  line-height: 1.72;
}

.client-frame {
  position: absolute;
  border: 1px solid rgba(116, 43, 255, 0.16);
  background: #fff;
  box-shadow: 0 18px 46px rgba(18, 24, 51, 0.08);
}

.client-frame.desktop {
  left: 44px;
  top: 54px;
  width: 58%;
  height: 250px;
  border-radius: 22px;
}

.client-frame.desktop span {
  display: block;
  height: 40px;
  border-bottom: 1px solid #edf0f7;
}

.client-frame.desktop b,
.client-frame.desktop i {
  display: block;
  height: 16px;
  margin: 26px 28px 0;
  border-radius: 999px;
  background: #e8edf8;
}

.client-frame.desktop b {
  width: 46%;
}

.client-frame.desktop i:nth-child(3) {
  width: 72%;
}

.client-frame.desktop i:nth-child(4) {
  width: 58%;
  background: linear-gradient(90deg, var(--enterprise-purple), var(--enterprise-blue));
}

.client-frame.mobile {
  right: 42px;
  bottom: 34px;
  width: 168px;
  height: 292px;
  border-radius: 28px;
}

.client-frame.mobile span {
  display: block;
  width: 38px;
  height: 5px;
  margin: 16px auto 26px;
  border-radius: 99px;
  background: #cfd6e5;
}

.client-frame.mobile i {
  display: block;
  height: 42px;
  margin: 14px 18px;
  border-radius: 14px;
  background: #eef2ff;
}

.im-card {
  position: absolute;
  border: 1px solid rgba(116, 43, 255, 0.14);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(18, 24, 51, 0.08);
}

.im-card-main {
  left: 48px;
  top: 48px;
  width: 52%;
  padding: 26px;
}

.im-card strong {
  display: block;
  margin-bottom: 18px;
  color: #172033;
  font-size: 14px;
}

.im-card span,
.im-card i,
.im-meter b {
  display: block;
  height: 12px;
  margin-top: 12px;
  border-radius: 999px;
  background: #e7ebf5;
}

.im-card span:nth-child(3) {
  width: 78%;
}

.im-card span:nth-child(4) {
  width: 56%;
  background: #d9d6ff;
}

.im-card-side {
  right: 44px;
  top: 118px;
  width: 32%;
  padding: 22px;
}

.im-card-side i:nth-child(3) {
  width: 72%;
}

.im-card-side i:nth-child(4) {
  width: 48%;
}

.im-meter {
  position: absolute;
  left: 74px;
  right: 68px;
  bottom: 54px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.im-meter b {
  height: 72px;
  margin: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #f2efff, #dfe8ff);
}

.meeting-panel-large {
  position: absolute;
  inset: 42px;
  display: grid;
  grid-template-columns: 1fr 126px;
  gap: 14px;
  padding: 16px;
  border-radius: 24px;
  background: #111827;
}

.meeting-grid-large {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.meeting-grid-large span {
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,0.72) 0 10%, transparent 11%),
    linear-gradient(145deg, #313d5b, #202941);
}

.meeting-panel-large aside {
  display: grid;
  gap: 10px;
}

.meeting-panel-large aside i {
  border-radius: 14px;
  background: rgba(255,255,255,0.12);
}

.meeting-panel-large footer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.meeting-panel-large footer b {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
}

.enterprise-production-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(116, 43, 255, 0.16);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(18, 24, 51, 0.07);
}

.enterprise-production-flow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 22px;
  border: 1px solid #e7e9f3;
  border-radius: 999px;
  background: #fff;
  color: #344054;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.enterprise-production-flow .flow-main {
  border: 0;
  background: linear-gradient(135deg, var(--enterprise-purple), var(--enterprise-blue));
  color: #fff;
}

.enterprise-production-flow i {
  flex: 1 1 auto;
  min-width: 26px;
  height: 1px;
  background: linear-gradient(90deg, rgba(116, 43, 255, 0.2), rgba(34, 104, 255, 0.36));
}

.enterprise-production-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.enterprise-production-points article {
  padding: 28px;
  border: 1px solid var(--enterprise-line);
  border-radius: 24px;
  background: #fff;
}

.enterprise-production-points h3,
.enterprise-process-line h3 {
  margin: 0;
  color: var(--enterprise-ink);
  font-family: var(--font-display);
  font-size: 22px;
}

.enterprise-production-points p,
.enterprise-process-line p {
  margin: 12px 0 0;
  color: var(--enterprise-muted);
  font-size: 15px;
  line-height: 1.6;
}

.enterprise-contact-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.22), transparent 30%),
    linear-gradient(135deg, #5a21e8 0%, #1d64f2 100%);
}

.enterprise-contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.35;
}

.enterprise-contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(560px, 1fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
}

.enterprise-anchor {
  position: absolute;
  top: -96px;
}

.enterprise-contact-copy h2,
.enterprise-contact-copy p,
.enterprise-contact-copy .eyebrow {
  color: #fff;
}

.enterprise-contact-copy > p {
  opacity: 0.82;
}

.enterprise-contact-note {
  display: grid;
  gap: 12px;
  max-width: 480px;
  margin-top: 34px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 24px;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.enterprise-contact-note strong {
  font-family: var(--font-display);
  font-size: 20px;
}

.enterprise-contact-note span {
  opacity: 0.82;
  font-size: 15px;
  line-height: 1.6;
}

.enterprise-contact-note a {
  width: fit-content;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.enterprise-contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.enterprise-contact-card {
  min-height: 250px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 28px;
  background: rgba(255,255,255,0.95);
}

.enterprise-contact-card span {
  color: var(--enterprise-purple);
  font-size: 13px;
  font-weight: 900;
}

.enterprise-contact-card strong {
  display: block;
  margin-top: 22px;
  color: var(--enterprise-ink);
  font-family: var(--font-display);
  font-size: clamp(24px, 1.8vw, 32px);
  line-height: 1.08;
  word-break: normal;
  overflow-wrap: anywhere;
}

.enterprise-contact-card strong a[href^="mailto:"] {
  font-size: clamp(20px, 1.35vw, 24px);
  line-height: 1.15;
  white-space: nowrap;
}

/* Open source page final typography alignment */
.community-page,
.community-page :where(p, a, button, span, em, strong, li, summary) {
  font-family: var(--font-body);
  letter-spacing: 0;
}

.community-page :where(h1, h2, h3),
.community-page :where(.community-metric strong, .repo-card div strong) {
  font-family: var(--font-display);
  letter-spacing: 0;
}

.community-page .community-hero-copy h1 {
  font-size: clamp(52px, 4.6vw, 76px);
  font-weight: 600;
  line-height: 1.02;
}

.community-page .community-wechat-copy h2 {
  font-size: clamp(42px, 4vw, 64px);
  font-weight: 600;
}

.community-page .community-metric strong,
.community-page .repo-card h3,
.community-page .repo-card div strong,
.community-page .community-join-card h3,
.community-page .community-join-card span {
  font-weight: 600;
}

/* Curated tutorials page */
.tutorials-page--curated {
  --tutorial-max: 1440px;
  --tutorial-gutter: clamp(24px, 4vw, 64px);
  background: #fff;
  color: var(--text-primary);
  font-family: var(--font-body);
}

.tutorials-page--curated .reveal {
  opacity: 1;
  transform: none;
}

.tutorials-page--curated :where(section) {
  scroll-margin-top: calc(var(--layout-header) + 24px);
}

.tutorials-page--curated .tutorials-hero,
.tutorial-start-section,
.tutorial-video-section,
.tutorial-practice-section,
.tutorial-routing-section,
.tutorials-page--curated .tutorials-cta {
  width: min(100%, var(--tutorial-max));
  max-width: var(--tutorial-max);
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--tutorial-gutter);
  padding-left: var(--tutorial-gutter);
}

.tutorials-page--curated .tutorials-hero {
  min-height: auto;
  padding-top: calc(var(--layout-header) + 82px);
  padding-bottom: 74px;
  background:
    radial-gradient(circle at 18% 8%, rgba(116, 43, 255, 0.1), transparent 28%),
    linear-gradient(180deg, #fbfcff 0%, #fff 100%);
}

.tutorials-page--curated .tutorials-hero-copy {
  max-width: 760px;
}

.tutorials-page--curated .tutorials-hero h1 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(56px, 6vw, 92px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

.tutorials-page--curated .tutorials-hero .hero-subtitle {
  max-width: 720px;
  margin-top: 24px;
  color: var(--text-secondary);
  font-size: 20px;
  line-height: 1.65;
}

.tutorial-start-section,
.tutorial-video-section,
.tutorial-practice-section,
.tutorial-routing-section {
  padding-top: clamp(76px, 8vw, 116px);
  padding-bottom: clamp(76px, 8vw, 116px);
}

.tutorial-routing-section {
  padding-bottom: clamp(28px, 3.2vw, 44px);
}

.tutorial-video-section,
.tutorial-routing-section {
  background:
    linear-gradient(90deg, rgba(116, 43, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #fbfcff 0%, #f7f8ff 100%);
  background-size: 72px 100%, auto;
}

.tutorial-section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.tutorial-section-head h2,
.tutorial-practice-copy h2,
.tutorials-page--curated .tutorials-cta h2 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(38px, 3.8vw, 58px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: 0;
}

.tutorial-section-head p:not(.eyebrow),
.tutorial-practice-copy p,
.tutorials-page--curated .tutorials-cta p:not(.eyebrow) {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.7;
}

.tutorial-bento {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.tutorial-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.tutorial-featured-card,
.tutorial-side-card,
.tutorial-video-card,
.tutorial-route-card,
.tutorial-path-card {
  color: inherit;
  text-decoration: none;
}

.tutorial-path-card {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 390px;
  padding: clamp(28px, 3vw, 38px);
  overflow: hidden;
  border: 1px solid #e5e9f3;
  border-radius: 30px;
  background:
    radial-gradient(circle at 86% 14%, rgba(116, 43, 255, 0.09), transparent 28%),
    #fff;
  box-shadow: 0 18px 52px rgba(32, 28, 64, 0.055);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.tutorial-path-card:hover {
  border-color: rgba(116, 43, 255, 0.34);
  box-shadow: 0 26px 72px rgba(32, 28, 64, 0.11);
  transform: translateY(-3px);
}

.tutorial-path-card::after {
  content: "";
  position: absolute;
  top: 68px;
  right: -34px;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, rgba(116, 43, 255, 0.2), rgba(61, 124, 255, 0));
}

.tutorial-path-card:last-child::after {
  display: none;
}

.tutorial-path-number {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #f0ebff;
  color: #742bff;
  font-size: 13px;
  font-weight: 800;
}

.tutorial-path-visual {
  display: grid;
  min-height: 118px;
  align-items: center;
  margin-top: 26px;
  margin-bottom: 30px;
  padding: 20px;
  border: 1px solid rgba(226, 231, 242, 0.96);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(116, 43, 255, 0.055), rgba(61, 124, 255, 0.04)),
    #fbfcff;
}

.tutorial-path-visual span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(116, 43, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #3b4261;
  font-size: 12px;
  font-weight: 760;
  text-align: center;
  box-shadow: 0 12px 28px rgba(32, 28, 64, 0.045);
}

.tutorial-path-visual i {
  display: block;
  background: linear-gradient(90deg, rgba(116, 43, 255, 0.28), rgba(61, 124, 255, 0.16));
}

.tutorial-path-visual--flow,
.tutorial-path-visual--server {
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 10px;
}

.tutorial-path-visual--flow i,
.tutorial-path-visual--server i {
  height: 1px;
}

.tutorial-path-visual--sdk {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tutorial-path-visual--sdk span:nth-child(1) {
  background: #f0ebff;
  color: #742bff;
}

.tutorial-path-visual--sdk span:nth-child(2) {
  background: #eef5ff;
  color: #2563eb;
}

.tutorial-path-visual--sdk span:nth-child(3) {
  background: #ecfdf5;
  color: #059669;
}

.tutorial-path-visual--sdk span:nth-child(4) {
  background: #fff7ed;
  color: #c2410c;
}

.tutorial-path-card h3 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(24px, 2vw, 31px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: 0;
}

.tutorial-path-card p {
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

.tutorial-path-card strong {
  display: inline-flex;
  width: fit-content;
  margin-top: 28px;
  color: #742bff;
  font-size: 15px;
  font-weight: 760;
}

.tutorial-featured-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: stretch;
  gap: 0;
  min-height: 520px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(116, 43, 255, 0.16);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 24px 74px rgba(32, 28, 64, 0.09);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.tutorial-featured-card:hover,
.tutorial-side-card:hover,
.tutorial-video-card:hover,
.tutorial-route-card:hover {
  border-color: rgba(116, 43, 255, 0.36);
  box-shadow: 0 28px 78px rgba(32, 28, 64, 0.12);
  transform: translateY(-3px);
}

.tutorial-featured-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef2ff;
}

.tutorial-featured-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.tutorial-featured-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(16, 20, 38, 0.03), rgba(16, 20, 38, 0.2));
}

.tutorial-featured-media .play-icon,
.tutorial-featured-media em {
  z-index: 2;
}

.tutorial-featured-media em {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(16, 20, 38, 0.76);
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.tutorial-featured-card:hover .tutorial-featured-media img {
  transform: scale(1.035);
}

.tutorial-featured-card:hover .tutorial-featured-media .play-icon {
  background: linear-gradient(135deg, #742bff, #2268ff);
}

.tutorial-featured-card:hover .tutorial-featured-media .tutorial-video-card:hover .play-icon {
  background: linear-gradient(135deg, #742bff, #2268ff);
}

.tutorial-video-cover em {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(16, 20, 38, 0.76);
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.tutorial-video-card h3 {
  padding: 22px 22px 0;
  font-size: 21px;
  line-height: 1.2;
}

.tutorial-video-card p {
  padding: 0 22px 24px;
}

.tutorial-practice-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 1fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: start;
}

.tutorial-practice-copy {
  position: sticky;
  top: calc(var(--layout-header) + 40px);
}

.tutorial-practice-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.82fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: stretch;
}

.tutorial-practice-list {
  border-top: 1px solid #e3e5ef;
}

.tutorial-practice-list a {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 24px;
  gap: 22px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid #e3e5ef;
  color: inherit;
  text-decoration: none;
  transition: background 180ms ease, padding-left 180ms ease;
}

.tutorial-practice-list a:hover,
.tutorial-practice-list a:focus-visible {
  padding-left: 14px;
  background: linear-gradient(90deg, rgba(116, 43, 255, 0.06), transparent 72%);
  outline: none;
}

.tutorial-practice-list a > span {
  color: #742bff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
}

.tutorial-practice-list h3 {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.15;
}

.tutorial-practice-list em {
  display: inline-flex;
  margin-top: 12px;
  color: #742bff;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.tutorial-practice-list strong {
  color: #742bff;
  font-size: 26px;
  transition: transform 180ms ease;
}

.tutorial-practice-list a:hover strong {
  transform: translateX(4px);
}

.tutorial-practice-preview {
  position: sticky;
  top: calc(var(--layout-header) + 40px);
  min-height: 430px;
  overflow: hidden;
  border: 1px solid #e5e9f3;
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 18%, rgba(116, 43, 255, 0.15), transparent 30%),
    linear-gradient(180deg, #fbfcff 0%, #eef4ff 100%);
  box-shadow: 0 22px 68px rgba(32, 28, 64, 0.08);
}

.tutorial-practice-preview-panel {
  position: absolute;
  inset: 24px;
  display: grid;
  align-content: stretch;
  overflow: hidden;
  border: 1px solid rgba(226, 231, 242, 0.9);
  border-radius: 24px;
  background: #101426;
  color: #e8ecff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.tutorial-practice-preview-panel pre {
  margin: 0;
  padding: 28px;
  white-space: pre-wrap;
}

.tutorial-practice-preview-panel code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  line-height: 1.8;
}

.tutorial-terminal-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tutorial-terminal-head span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #20c997;
}

.tutorial-terminal-head strong {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.tutorial-preview-diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: 16px;
  height: 100%;
  padding: 34px;
  background:
    linear-gradient(90deg, rgba(116, 43, 255, 0.08) 1px, transparent 1px),
    #fbfcff;
  background-size: 42px 100%, auto;
}

.tutorial-preview-diagram span {
  display: grid;
  place-items: center;
  min-height: 58px;
  border: 1px solid rgba(116, 43, 255, 0.16);
  border-radius: 16px;
  background: #fff;
  color: #242a3a;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(32, 28, 64, 0.07);
}

.tutorial-preview-diagram i {
  width: 2px;
  height: 22px;
  justify-self: center;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(116, 43, 255, 0.7), rgba(34, 104, 255, 0.35));
}

.tutorial-practice-preview--wasm {
  opacity: 1;
  transform: translateY(0);
}

.tutorial-practice-showcase:has(.tutorial-practice-item--deploy:hover) .tutorial-practice-preview-panel,
.tutorial-practice-showcase:has(.tutorial-practice-item--deploy:focus-visible) .tutorial-practice-preview-panel,
.tutorial-practice-showcase:has(.tutorial-practice-item--custom:hover) .tutorial-practice-preview-panel,
.tutorial-practice-showcase:has(.tutorial-practice-item--custom:focus-visible) .tutorial-practice-preview-panel,
.tutorial-practice-showcase:has(.tutorial-practice-item--api:hover) .tutorial-practice-preview-panel,
.tutorial-practice-showcase:has(.tutorial-practice-item--api:focus-visible) .tutorial-practice-preview-panel {
  opacity: 0;
  transform: translateY(10px);
}

.tutorial-practice-showcase:has(.tutorial-practice-item--wasm:hover) .tutorial-practice-preview--wasm,
.tutorial-practice-showcase:has(.tutorial-practice-item--wasm:focus-visible) .tutorial-practice-preview--wasm,
.tutorial-practice-showcase:has(.tutorial-practice-item--deploy:hover) .tutorial-practice-preview--deploy,
.tutorial-practice-showcase:has(.tutorial-practice-item--deploy:focus-visible) .tutorial-practice-preview--deploy,
.tutorial-practice-showcase:has(.tutorial-practice-item--custom:hover) .tutorial-practice-preview--custom,
.tutorial-practice-showcase:has(.tutorial-practice-item--custom:focus-visible) .tutorial-practice-preview--custom,
.tutorial-practice-showcase:has(.tutorial-practice-item--api:hover) .tutorial-practice-preview--api,
.tutorial-practice-showcase:has(.tutorial-practice-item--api:focus-visible) .tutorial-practice-preview--api {
  opacity: 1;
  transform: translateY(0);
}

.tutorial-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tutorial-route-card {
  display: grid;
  align-content: start;
  min-height: 250px;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid #e5e9f3;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(32, 28, 64, 0.055);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.tutorial-route-card span {
  font-size: 30px;
}

.tutorials-page--curated .tutorials-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin-top: clamp(28px, 3.4vw, 48px);
  margin-bottom: var(--space-64);
  padding-top: 56px;
  padding-bottom: 56px;
  border-radius: var(--radius-float);
  background: linear-gradient(135deg, #f5f2ff, #f7fbff);
}

@media (max-width: 1180px) {
  .tutorial-bento,
  .tutorial-path-grid,
  .tutorial-featured-card,
  .tutorial-practice-section,
  .tutorial-practice-showcase {
    grid-template-columns: minmax(0, 1fr);
  }

  .tutorial-practice-copy,
  .tutorial-practice-preview {
    position: static;
  }

  .tutorial-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tutorials-page--curated .tutorials-cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .tutorial-route-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tutorial-path-card::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .tutorials-page--curated .tutorials-hero,
  .tutorial-start-section,
  .tutorial-video-section,
  .tutorial-practice-section,
  .tutorial-routing-section,
  .tutorials-page--curated .tutorials-cta {
    padding-right: var(--layout-gutter);
    padding-left: var(--layout-gutter);
  }

  .tutorials-page--curated .tutorials-hero {
    padding-top: calc(var(--layout-header) + 48px);
    padding-bottom: 54px;
  }

  .tutorials-page--curated .tutorials-hero h1 {
    font-size: 58px;
  }

  .tutorials-page--curated .tutorials-hero .hero-subtitle,
  .tutorial-section-head p:not(.eyebrow),
  .tutorial-practice-copy p,
  .tutorials-page--curated .tutorials-cta p:not(.eyebrow) {
    font-size: 16px;
  }

  .tutorial-featured-card {
    min-height: auto;
    border-radius: 24px;
  }

  .tutorial-path-card {
    min-height: 0;
    padding: 24px;
    border-radius: 24px;
  }

  .tutorial-path-visual {
    min-height: 104px;
    margin-top: 22px;
    margin-bottom: 24px;
    padding: 16px;
  }

  .tutorial-path-visual--flow,
  .tutorial-path-visual--server {
    grid-template-columns: minmax(0, 1fr);
  }

  .tutorial-path-visual--flow i,
  .tutorial-path-visual--server i {
    width: 1px;
    height: 14px;
    justify-self: center;
  }

  .tutorial-featured-copy {
    padding: 24px;
  }

  .tutorial-code-visual pre {
    padding: 22px;
  }

  .tutorial-code-visual code {
    font-size: 12px;
  }

  .tutorial-side-card {
    min-height: auto;
    padding: 24px;
    border-radius: 22px;
  }

  .tutorial-video-grid,
  .tutorial-route-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tutorial-practice-list a {
    grid-template-columns: 38px minmax(0, 1fr) 18px;
    gap: 14px;
    padding: 24px 0;
  }

  .tutorial-practice-list a:hover,
  .tutorial-practice-list a:focus-visible {
    padding-left: 10px;
  }

  .tutorial-practice-preview {
    min-height: 330px;
    border-radius: 24px;
  }

  .tutorial-practice-preview-panel {
    inset: 16px;
    border-radius: 20px;
  }

  .tutorials-page--curated .tutorials-cta {
    border-radius: 0;
  }

  .tutorials-page--curated .tutorials-cta .hero-actions,
  .tutorials-page--curated .tutorials-cta .pill-button,
.tutorials-page--curated .tutorials-cta .outline-button {
    width: 100%;
    justify-content: center;
  }
}

/* Enterprise comparison compact table */
.enterprise-page .enterprise-compare-wrap {
  border-color: #e5e9f3;
  background: #fff;
  box-shadow: 0 20px 64px rgba(32, 28, 64, 0.08);
}

.enterprise-page .enterprise-compare-table {
  min-width: 920px;
  color: var(--text-primary);
  background: #fff;
}

.enterprise-page .enterprise-compare-table th,
.enterprise-page .enterprise-compare-table td {
  height: 68px;
  padding: 20px 24px;
  border-color: #e7eaf3;
  color: #344054;
  font-size: 15px;
}

.enterprise-page .enterprise-compare-table thead th {
  height: 96px;
  background: #fbfcff;
  color: var(--text-primary);
  font-weight: 800;
}

.enterprise-page .enterprise-compare-table thead th strong,
.enterprise-page .enterprise-compare-table thead th span {
  display: block;
}

.enterprise-page .enterprise-compare-table thead th span {
  margin-top: 10px;
  color: #7a8496;
  font-size: 14px;
  font-weight: 600;
}

.enterprise-page .enterprise-compare-table th:nth-child(3),
.enterprise-page .enterprise-compare-table td:nth-child(3) {
  background: #f8f5ff;
}

.enterprise-page .enterprise-compare-table th:nth-child(4),
.enterprise-page .enterprise-compare-table td:nth-child(4) {
  background: #f3f8ff;
}

.enterprise-page .enterprise-compare-table th:nth-child(3) strong,
.enterprise-page .enterprise-compare-table th:nth-child(4) strong,
.enterprise-page .compare-check,
.enterprise-page .compare-text {
  color: #742bff;
  font-weight: 800;
}

.enterprise-page .compare-check,
.enterprise-page .compare-cross {
  font-size: 22px;
  line-height: 1;
}

.enterprise-page .compare-cross {
  color: #aab2c1;
  font-weight: 300;
}

.enterprise-page .compare-muted {
  color: #7a8496;
  font-weight: 700;
}

@media (max-width: 760px) {
  .enterprise-page .enterprise-compare-table {
    min-width: 840px;
  }

  .enterprise-page .enterprise-compare-table th,
  .enterprise-page .enterprise-compare-table td {
    padding: 18px 18px;
  }
}

/* Enterprise simplified pricing page */
.enterprise-page--pricing {
  --pricing-max: 1240px;
  --pricing-gutter: clamp(24px, 4vw, 56px);
  --pricing-purple: #742bff;
  --pricing-blue: #2268ff;
  --pricing-line: #e4e7f0;
  --pricing-muted: #606a7a;
  background: #fff;
  color: var(--text-primary);
}

.enterprise-page--pricing .reveal {
  opacity: 1;
  transform: none;
}

.enterprise-page--pricing section {
  scroll-margin-top: calc(var(--layout-header) + 24px);
}

.enterprise-pricing-container {
  width: min(100%, var(--pricing-max));
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--pricing-gutter);
  padding-left: var(--pricing-gutter);
}

.enterprise-pricing-hero {
  padding: calc(var(--layout-header) + 96px) 0 96px;
  background:
    radial-gradient(circle at 50% 8%, rgba(116, 43, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #fbfcff 0%, #fff 100%);
}

.enterprise-pricing-hero-inner {
  display: grid;
  justify-items: center;
  max-width: 880px;
  text-align: center;
}

.enterprise-pricing-hero h1 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(58px, 7vw, 104px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

.enterprise-pricing-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--pricing-muted);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.62;
}

.enterprise-pricing-hero .hero-actions {
  justify-content: center;
  margin-top: 34px;
}

.enterprise-pricing-hero .hero-actions .pill-button,
.enterprise-pricing-hero .hero-actions .outline-button {
  min-width: 220px;
  min-height: 54px;
  padding-right: 28px;
  padding-left: 28px;
}

.enterprise-pricing-section {
  padding: clamp(76px, 8vw, 112px) 0;
}

.enterprise-pricing-section--compact {
  padding-top: clamp(34px, 4vw, 58px);
}

.enterprise-pricing-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.enterprise-pricing-head h2,
.enterprise-talk-copy h2,
.enterprise-faq-simple-section h2 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 62px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: 0;
}

.enterprise-pricing-head p:not(.eyebrow),
.enterprise-talk-copy p {
  margin: 16px 0 0;
  color: var(--pricing-muted);
  font-size: 18px;
  line-height: 1.65;
}

.enterprise-pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: 32px;
  border: 1px solid var(--pricing-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(32, 28, 64, 0.06);
}

.pricing-card--featured {
  border-color: rgba(116, 43, 255, 0.42);
  box-shadow: 0 24px 74px rgba(116, 43, 255, 0.14);
}

.pricing-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pricing-purple), var(--pricing-blue));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.pricing-card-kicker {
  display: inline-flex;
  color: var(--pricing-purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin: 18px 0 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 600;
  line-height: 1.05;
}

.pricing-card p {
  min-height: 54px;
  margin: 16px 0 0;
  color: var(--pricing-muted);
  font-size: 16px;
  line-height: 1.65;
}

.pricing-card ul {
  display: grid;
  gap: 13px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #303849;
  font-size: 15px;
  line-height: 1.42;
}

.pricing-card-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  margin-top: auto;
  padding: 0 20px;
  border: 1px solid rgba(116, 43, 255, 0.22);
  border-radius: 999px;
  color: var(--pricing-purple);
  font-size: 14px;
  font-weight: 800;
}

.pricing-card-cta--featured,
.pricing-card-cta:hover {
  border-color: transparent;
  background: linear-gradient(135deg, var(--pricing-purple), var(--pricing-blue));
  color: #fff;
}

.pricing-compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--pricing-line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(116, 43, 255, 0.035), rgba(255, 255, 255, 0) 92px),
    #fff;
  box-shadow: 0 18px 56px rgba(32, 28, 64, 0.055);
}

.pricing-compare-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  color: #303849;
  font-size: 16px;
}

.pricing-compare-table th,
.pricing-compare-table td {
  padding: 23px 26px;
  border-right: 1px solid #edf0f7;
  border-bottom: 1px solid #edf0f7;
  text-align: left;
}

.pricing-compare-table th:last-child,
.pricing-compare-table td:last-child {
  border-right: 0;
}

.pricing-compare-table thead th {
  background: rgba(255, 255, 255, 0.82);
  color: var(--text-primary);
  font-weight: 800;
}

.pricing-compare-table thead th span {
  display: block;
  margin-top: 8px;
  color: #858d9b;
  font-size: 13px;
  font-weight: 700;
}

.pricing-compare-table thead th:nth-child(3) {
  background: linear-gradient(180deg, rgba(34, 104, 255, 0.075), rgba(116, 43, 255, 0.026));
  color: var(--pricing-purple);
}

.pricing-compare-table thead th:nth-child(4) {
  background: linear-gradient(180deg, rgba(116, 43, 255, 0.12), rgba(116, 43, 255, 0.04));
  color: var(--pricing-purple);
}

.pricing-compare-table th:not(:first-child),
.pricing-compare-table td:not(:first-child) {
  text-align: center;
}

.pricing-compare-table td:nth-child(2),
.pricing-compare-table td:nth-child(3) {
  color: #667085;
}

.pricing-compare-table td:nth-child(3) {
  background: rgba(34, 104, 255, 0.018);
}

.pricing-compare-table td:nth-child(4) {
  background: rgba(116, 43, 255, 0.026);
  color: var(--pricing-purple);
}

.pricing-compare-table td:first-child {
  color: #303849;
  font-weight: 500;
}

.compare-mark,
.compare-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  color: var(--pricing-purple);
  font-weight: 900;
}

.compare-mark {
  font-size: 22px;
  line-height: 1;
}

.compare-mark--muted,
.compare-text--muted {
  color: #98a1b2;
}

.compare-text {
  font-size: 14px;
  letter-spacing: 0;
}

.pricing-compare-group th {
  padding-top: 24px;
  padding-bottom: 10px;
  border-right: 0;
  background: linear-gradient(90deg, rgba(116, 43, 255, 0.1), rgba(34, 104, 255, 0.045));
  color: var(--pricing-purple);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.enterprise-talk-section {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 8vw, 118px) 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #5d22e8 0%, #1d66f5 100%);
  background-size: 72px 72px, 72px 72px, auto;
}

.enterprise-talk-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.enterprise-talk-copy h2,
.enterprise-talk-copy p,
.enterprise-talk-copy .eyebrow {
  color: #fff;
}

.enterprise-talk-copy p {
  opacity: 0.84;
}

.enterprise-talk-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.enterprise-talk-cards--single {
  grid-template-columns: minmax(0, min(100%, 460px));
}

.talk-card {
  display: grid;
  grid-template-rows: auto minmax(44px, auto) minmax(48px, auto) auto;
  justify-items: start;
  align-content: start;
  min-height: 248px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 52px rgba(13, 24, 57, 0.14);
  text-align: left;
}

.talk-card span {
  color: var(--pricing-purple);
  font-size: 13px;
  font-weight: 800;
}

.talk-card strong {
  display: block;
  margin-top: 20px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 600;
  line-height: 1.08;
  word-break: break-word;
}

.talk-card strong a[href^="mailto:"] {
  font-size: clamp(20px, 1.4vw, 24px);
  white-space: nowrap;
}

.talk-card p {
  min-height: 46px;
  margin: 14px 0 0;
  color: var(--pricing-muted);
  font-size: 15px;
  line-height: 1.5;
}

.talk-card > a:last-child {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  min-height: 42px;
  margin-top: 24px;
  padding: 0 18px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.enterprise-process-simple-section {
  padding-top: clamp(72px, 7vw, 104px);
  padding-bottom: clamp(58px, 6vw, 88px);
}

.enterprise-process-simple {
  position: relative;
  display: grid;
  gap: 36px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(116, 43, 255, 0.16);
  border-radius: 30px;
  background:
    radial-gradient(circle at 16% 18%, rgba(34, 104, 255, 0.1), transparent 28%),
    linear-gradient(180deg, #fbfcff 0%, #fff 100%);
  box-shadow: 0 22px 70px rgba(32, 28, 64, 0.075);
}

.process-flow-label {
  display: flex;
  justify-content: center;
}

.process-flow-label span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid rgba(116, 43, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--pricing-muted);
  font-size: 14px;
  font-weight: 800;
}

.process-flow-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  align-items: start;
  margin: 0;
  padding: 12px 0 0;
  list-style: none;
}

.process-flow-list::before,
.process-flow-list::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 35px;
  left: 10%;
  right: 10%;
  height: 2px;
  border-radius: 999px;
}

.process-flow-list::before {
  background: #dfe6f3;
}

.process-flow-list::after {
  right: auto;
  width: 0;
  background: linear-gradient(90deg, #2268ff, #a93fff);
}

.process-flow-step {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 112px;
  padding: 0 12px;
  background: transparent;
  text-align: center;
}

.process-flow-step:not(:last-child)::after {
  display: none;
}

.process-flow-step--active {
  background: transparent;
  box-shadow: none;
}

.process-flow-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border: 2px solid #dfe6f3;
  border-radius: 999px;
  background: #fff;
  color: var(--pricing-purple);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(32, 28, 64, 0.08);
}

.process-flow-step--active .process-flow-icon {
  border-color: transparent;
  background: linear-gradient(135deg, #2268ff 0%, #a93fff 100%);
  color: #fff;
  box-shadow: 0 18px 44px rgba(116, 43, 255, 0.28);
}

.process-flow-step strong {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
}

.process-flow-step--active strong {
  color: var(--pricing-purple);
}

.enterprise-faq-simple-section {
  padding-top: clamp(54px, 6vw, 84px);
  background: #fbfcff;
}

.enterprise-faq-simple-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: start;
}

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

.enterprise-faq-simple-section details {
  border: 1px solid var(--pricing-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
}

.enterprise-faq-simple-section summary {
  color: var(--text-primary);
}

.enterprise-faq-simple-section details p {
  color: var(--pricing-muted);
}

@media (max-width: 1180px) {
  .enterprise-pricing-cards,
  .enterprise-talk-grid,
  .enterprise-faq-simple-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing-card {
    min-height: auto;
  }

  .process-flow-list {
    min-width: 760px;
  }
}

@media (max-width: 760px) {
  .enterprise-pricing-container {
    padding-right: var(--layout-gutter, 24px);
    padding-left: var(--layout-gutter, 24px);
  }

  .enterprise-pricing-hero {
    padding-top: calc(var(--layout-header) + 54px);
    padding-bottom: 68px;
  }

  .enterprise-pricing-hero h1 {
    font-size: 48px;
  }

  .enterprise-pricing-hero .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .enterprise-pricing-hero .hero-actions .pill-button,
  .enterprise-pricing-hero .hero-actions .outline-button {
    width: 100%;
    max-width: none;
  }

  .enterprise-pricing-hero p:not(.eyebrow),
  .enterprise-pricing-head p:not(.eyebrow),
  .enterprise-talk-copy p {
    font-size: 16px;
  }

  .enterprise-pricing-section {
    padding: 68px 0;
  }

  .pricing-card,
  .talk-card {
    padding: 24px;
    border-radius: 22px;
  }

  .pricing-compare-table {
    min-width: 840px;
  }

  .enterprise-talk-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .enterprise-process-simple {
    gap: 22px;
    padding: 22px;
    border-radius: 24px;
    overflow-x: auto;
    contain: layout paint;
  }

  .process-flow-label {
    justify-content: flex-start;
  }

  .process-flow-list {
    grid-template-columns: repeat(5, 132px);
    width: max-content;
    min-width: 660px;
  }

  .process-flow-step {
    min-height: 98px;
    padding: 0 8px;
  }
}

.enterprise-contact-card p {
  margin: 14px 0 0;
  color: var(--enterprise-muted);
  font-size: 15px;
  line-height: 1.5;
}

.enterprise-contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 28px;
  padding: 0 18px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.enterprise-process-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--enterprise-line);
  border-radius: 28px;
  background: #fff;
  overflow: hidden;
}

/* Product screenshot system: Sendbird-like product media, adapted to OpenIM style. */
.product-shot-collage,
.product-shot-mini {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(223, 228, 242, 0.9);
  background:
    radial-gradient(circle at 78% 14%, rgba(116, 43, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #fbfcff 0%, #eef4ff 100%);
}

.product-shot-collage {
  min-height: 590px;
  border-radius: var(--radius-float, 34px);
  box-shadow: 0 28px 80px rgba(32, 28, 64, 0.1);
}

.product-shot-mini {
  height: 178px;
  border-radius: 18px;
}

.product-shot-card,
.product-shot-mini figure {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(224, 229, 242, 0.95);
  background: #fff;
  box-shadow: 0 22px 64px rgba(32, 28, 64, 0.12);
}

.product-shot-card img,
.product-shot-mini img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.product-shot-card--desktop {
  left: 28px;
  top: 58px;
  width: min(82%, 620px);
  aspect-ratio: 16 / 10.2;
  border-radius: 26px;
}

.product-shot-card--phone {
  width: min(34%, 220px);
  aspect-ratio: 946 / 2048;
  border-radius: 30px;
}

.product-shot-card--phone-front {
  right: 40px;
  bottom: 42px;
  z-index: 3;
}

.product-shot-card--secondary {
  z-index: 2;
}

.product-shot-card--floating {
  z-index: 4;
  width: min(34%, 270px);
  aspect-ratio: 946 / 2048;
  border-radius: 26px;
}

.hero-screen--chat img,
.hero-screen--meeting img {
  object-position: top center;
}

.product-shot-mini figure:first-child {
  left: 18px;
  top: 18px;
  width: 72%;
  height: 136px;
  border-radius: 16px;
}

.product-shot-mini figure:nth-child(2) {
  right: 18px;
  bottom: 16px;
  z-index: 2;
  width: 25%;
  height: 126px;
  border-radius: 18px;
}

.product-shot-mini--rtc figure:first-child {
  left: 20px;
  width: 34%;
  height: 138px;
  border-radius: 18px;
}

.product-shot-mini--rtc figure:nth-child(2) {
  right: 20px;
  width: 52%;
  height: 132px;
}

.product-shot-collage--im .product-shot-card--floating {
  right: 34px;
  top: 34px;
  width: min(28%, 220px);
  max-height: 330px;
}

.product-shot-collage--im-experience {
  min-height: 520px;
  border: 0;
  background:
    radial-gradient(circle at 24% 14%, rgba(61, 124, 255, 0.1), transparent 28%),
    #f7f9fd;
  box-shadow: none;
}

.product-shot-collage--im-experience .product-shot-card--phone {
  left: 48px;
  top: 34px;
  width: min(34%, 220px);
}

.product-shot-collage--im-experience .product-shot-card--secondary {
  right: 42px;
  top: 74px;
  width: min(31%, 200px);
}

.product-shot-collage--im-experience .product-shot-card--floating {
  left: 34%;
  bottom: 34px;
  width: min(32%, 210px);
  max-height: 300px;
}

.product-shot-collage--im-rtc {
  min-height: 420px;
  border: 0;
  background:
    radial-gradient(circle at 68% 16%, rgba(116, 43, 255, 0.12), transparent 30%),
    #f7f9fd;
  box-shadow: none;
}

.product-shot-collage--im-rtc .product-shot-card--phone {
  left: 14%;
  top: 42px;
  width: min(30%, 190px);
}

.product-shot-collage--im-rtc .product-shot-card--secondary {
  right: 13%;
  top: 34px;
  width: min(31%, 200px);
}

.product-shot-collage--im-rtc-single {
  display: grid;
  place-items: center;
  min-height: 420px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.product-shot-collage--im-rtc-single img {
  display: block;
  width: min(100%, 720px);
  height: auto;
  border-radius: clamp(24px, 2.6vw, 36px);
}

.product-shot-collage--rtc-im {
  min-height: 430px;
  border: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(116, 43, 255, 0.12), transparent 32%),
    #f7f9fd;
  box-shadow: none;
}

.product-shot-collage--rtc-im .product-shot-card--desktop {
  left: 36px;
  top: 62px;
  width: min(72%, 520px);
}

.product-shot-collage--rtc-im .product-shot-card--secondary {
  right: 44px;
  bottom: 34px;
  width: min(29%, 188px);
}

.product-shot-collage--rtc-im .product-shot-card--floating {
  right: 24px;
  top: 42px;
  width: min(25%, 168px);
  max-height: 260px;
}

.product-shot-collage--rtc-hero .product-shot-card--hero-phone {
  left: 44px;
  top: 34px;
  width: min(31%, 220px);
}

.product-shot-collage--rtc-hero .product-shot-card--meeting {
  right: 48px;
  top: 62px;
  width: min(31%, 220px);
}

.product-shot-collage--rtc-hero .product-shot-card--floating {
  left: 39%;
  bottom: 36px;
  width: min(34%, 260px);
  max-height: 360px;
}

.product-shot-collage--rtc-hero-cutout {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 610px;
  height: 100%;
  aspect-ratio: 4 / 3;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.product-shot-collage--rtc-hero-cutout img {
  display: block;
  width: min(100%, 720px);
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  transform: translateY(-42px);
}

.product-shot-collage--rtc-call,
.product-shot-collage--rtc-meeting,
.product-shot-collage--meeting-detail {
  min-height: inherit;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.product-shot-collage--rtc-call .product-shot-card--phone,
.product-shot-collage--rtc-meeting .product-shot-card--phone {
  left: 54px;
  top: 32px;
  width: min(38%, 230px);
}

.product-shot-collage--rtc-call .product-shot-card--secondary,
.product-shot-collage--rtc-meeting .product-shot-card--secondary {
  right: 48px;
  bottom: 34px;
  width: min(38%, 230px);
}

.product-shot-collage--meeting-detail .product-shot-card--phone {
  left: 42px;
  top: 34px;
  width: min(36%, 230px);
}

.product-shot-collage--meeting-detail .product-shot-card--secondary {
  right: 44px;
  top: 72px;
  width: min(34%, 215px);
}

.product-shot-collage--meeting-detail .product-shot-card--floating {
  left: 34%;
  bottom: 36px;
  width: min(32%, 230px);
  max-height: 330px;
}

@media (max-width: 1180px) {
  .product-shot-collage--im .product-shot-card--desktop {
    width: 76%;
  }

  .product-shot-card--phone,
  .product-shot-card--floating {
    width: min(34%, 210px);
  }
}

@media (max-width: 760px) {
  .product-shot-collage {
    min-height: 520px;
    border-radius: 26px;
  }

  .product-shot-card--desktop {
    left: 18px;
    top: 28px;
    width: calc(100% - 36px);
  }

  .product-shot-card--phone,
  .product-shot-card--floating {
    border-radius: 24px;
  }

  .product-shot-collage--im .product-shot-card--phone-front {
    right: 22px;
    bottom: 26px;
    width: min(42%, 180px);
  }

  .product-shot-collage--im .product-shot-card--floating,
  .product-shot-collage--im-experience .product-shot-card--floating,
  .product-shot-collage--rtc-hero .product-shot-card--floating,
  .product-shot-collage--meeting-detail .product-shot-card--floating {
    display: none;
  }

  .product-shot-mini {
    height: 230px;
  }

  .product-shot-mini figure:first-child,
  .product-shot-mini--rtc figure:first-child {
    left: 14px;
    top: 16px;
    width: calc(100% - 28px);
    height: 132px;
  }

  .product-shot-mini figure:nth-child(2),
  .product-shot-mini--rtc figure:nth-child(2) {
    right: 18px;
    bottom: 14px;
    width: 34%;
    height: 118px;
  }

  .product-shot-collage--im-experience,
  .product-shot-collage--im-rtc,
  .product-shot-collage--rtc-im,
  .product-shot-collage--rtc-call,
  .product-shot-collage--rtc-meeting,
  .product-shot-collage--meeting-detail {
    min-height: 500px;
  }

  .product-shot-collage--im-experience .product-shot-card--phone,
  .product-shot-collage--im-rtc .product-shot-card--phone,
  .product-shot-collage--rtc-im .product-shot-card--phone,
  .product-shot-collage--rtc-call .product-shot-card--phone,
  .product-shot-collage--rtc-meeting .product-shot-card--phone,
  .product-shot-collage--meeting-detail .product-shot-card--phone {
    left: 24px;
    top: 26px;
    width: min(48%, 180px);
  }

  .product-shot-collage--im-experience .product-shot-card--secondary,
  .product-shot-collage--im-rtc .product-shot-card--secondary,
  .product-shot-collage--rtc-im .product-shot-card--secondary,
  .product-shot-collage--rtc-call .product-shot-card--secondary,
  .product-shot-collage--rtc-meeting .product-shot-card--secondary,
  .product-shot-collage--meeting-detail .product-shot-card--secondary {
    right: 22px;
    bottom: 24px;
    top: auto;
    width: min(48%, 180px);
  }

  .product-shot-collage--rtc-im .product-shot-card--desktop {
    left: 18px;
    top: 34px;
    width: calc(100% - 36px);
  }

  .product-shot-collage--rtc-im .product-shot-card--secondary {
    right: 20px;
    bottom: 22px;
    width: min(38%, 150px);
  }

  .product-shot-collage--rtc-im .product-shot-card--floating {
    display: none;
  }

  .product-shot-collage--rtc-hero .product-shot-card--hero-phone {
    left: 22px;
    top: 28px;
    width: min(48%, 180px);
  }

  .product-shot-collage--rtc-hero .product-shot-card--meeting {
    right: 22px;
    bottom: 28px;
    top: auto;
    width: min(48%, 180px);
  }

  .product-shot-collage--rtc-hero-cutout {
    min-height: clamp(330px, 84vw, 380px);
    border-radius: 0;
  }

  .product-shot-collage--rtc-hero-cutout img {
    width: min(100%, 430px);
    max-height: none;
    transform: translateY(-20px);
  }
}

.enterprise-process-line article {
  position: relative;
  min-height: 210px;
  padding: 28px;
  border-right: 1px solid var(--enterprise-line);
  background: #fff;
  box-shadow: none;
}

.enterprise-process-line article:last-child {
  border-right: 0;
}

.enterprise-process-line span {
  display: inline-flex;
  margin-bottom: 52px;
  color: var(--enterprise-purple);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
}

.enterprise-process-line article::after {
  content: "";
  position: absolute;
  top: 64px;
  left: 28px;
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, var(--enterprise-purple), rgba(34, 104, 255, 0.25));
}

.enterprise-faq-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}

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

.enterprise-faq-section details {
  border: 1px solid var(--enterprise-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
}

.enterprise-faq-section summary {
  color: var(--enterprise-ink);
}

.enterprise-faq-section details p {
  color: var(--enterprise-muted);
}

@media (max-width: 1180px) {
  .enterprise-hero-grid,
  .enterprise-contact-grid,
  .enterprise-capability-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .enterprise-hero-copy {
    max-width: 760px;
  }

  .enterprise-product-board {
    min-height: 560px;
  }

  .enterprise-plan-grid,
  .enterprise-production-points {
    grid-template-columns: minmax(0, 1fr);
  }

  .enterprise-plan-card {
    min-height: auto;
  }

  .enterprise-capability-row--reverse .enterprise-capability-visual {
    order: 0;
  }

  .enterprise-production-flow {
    align-items: stretch;
    flex-direction: column;
  }

  .enterprise-production-flow i {
    width: 2px;
    height: 28px;
    min-width: 0;
    margin: 0 auto;
  }

  .enterprise-process-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .enterprise-process-line article {
    border-bottom: 1px solid var(--enterprise-line);
  }

  .enterprise-process-line article:nth-child(2n) {
    border-right: 0;
  }

  .enterprise-process-line article:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  .enterprise-container {
    padding-right: var(--layout-gutter, 24px);
    padding-left: var(--layout-gutter, 24px);
  }

  .enterprise-hero {
    padding-top: calc(var(--layout-header, 80px) + 46px);
    padding-bottom: 70px;
  }

  .enterprise-hero-copy h1 {
    font-size: 44px;
    line-height: 1.04;
  }

  .enterprise-lead {
    font-size: 16px;
    line-height: 1.68;
  }

  .enterprise-hero .hero-actions,
  .enterprise-hero .pill-button,
  .enterprise-hero .outline-button {
    width: 100%;
    justify-content: center;
  }

  .enterprise-product-board {
    min-height: 500px;
    border-radius: 26px;
  }

  .enterprise-chat-preview {
    top: 28px;
    left: 18px;
    width: calc(100% - 36px);
  }

  .enterprise-chat-body {
    grid-template-columns: 68px 1fr;
    min-height: 220px;
  }

  .enterprise-chat-body > div {
    padding: 22px 16px;
  }

  .enterprise-meeting-preview {
    top: 292px;
    right: 18px;
    width: 58%;
  }

  .enterprise-admin-preview {
    left: 18px;
    bottom: 26px;
    width: 48%;
    padding: 18px;
  }

  .enterprise-code-tag,
  .enterprise-float-tag {
    display: none;
  }

  .enterprise-section {
    padding: 72px 0;
  }

  .enterprise-section-head {
    margin-bottom: 30px;
  }

  .enterprise-section-head h2,
  .enterprise-contact-copy h2,
  .enterprise-faq-title h2 {
    font-size: 34px;
    line-height: 1.1;
  }

  .enterprise-section-head p:not(.eyebrow),
  .enterprise-contact-copy > p {
    font-size: 16px;
    line-height: 1.7;
  }

  .enterprise-plan-card,
  .enterprise-contact-card,
  .enterprise-production-points article,
  .enterprise-process-line article {
    padding: 24px;
    border-radius: 22px;
  }

  .enterprise-capability-visual {
    min-height: 310px;
    border-radius: 24px;
  }

  .client-frame.desktop {
    left: 22px;
    top: 32px;
    width: 66%;
    height: 210px;
  }

  .client-frame.mobile {
    right: 20px;
    bottom: 24px;
    width: 122px;
    height: 226px;
  }

  .im-card-main {
    left: 22px;
    top: 28px;
    width: 62%;
    padding: 20px;
  }

  .im-card-side {
    right: 20px;
    top: 116px;
    width: 40%;
    padding: 18px;
  }

  .im-meter {
    left: 24px;
    right: 24px;
    bottom: 28px;
  }

  .meeting-panel-large {
    inset: 20px;
    grid-template-columns: 1fr;
  }

  .meeting-panel-large aside {
    display: none;
  }

  .enterprise-contact-grid {
    gap: 30px;
  }

  .enterprise-contact-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .enterprise-process-line {
    grid-template-columns: minmax(0, 1fr);
  }

  .enterprise-process-line article,
  .enterprise-process-line article:nth-child(2n) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--enterprise-line);
  }

  .enterprise-process-line article:last-child {
    grid-column: auto;
    border-bottom: 0;
  }

  .enterprise-process-line span {
    margin-bottom: 34px;
  }

  .enterprise-faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Product-shot refinement: keep uploaded UI screenshots readable inside OpenIM frames. */
.product-shot-card img,
.product-shot-mini img,
.hero-screen img {
  object-fit: contain;
  background: #fff;
}

.platform-redesign .platform-hero-visual--screens {
  min-height: 540px;
  overflow: hidden;
  border: 1px solid rgba(223, 228, 242, 0.9);
  border-radius: 34px;
  background:
    radial-gradient(circle at 76% 18%, rgba(116, 43, 255, 0.12), transparent 30%),
    radial-gradient(circle at 18% 76%, rgba(61, 124, 255, 0.1), transparent 34%),
    linear-gradient(180deg, #fbfcff 0%, #eef4ff 100%);
  box-shadow: 0 34px 90px rgba(32, 28, 64, 0.11);
}

.platform-redesign .platform-hero-visual--screens .hero-screen {
  border-color: rgba(224, 229, 242, 0.95);
  background: #fff;
  box-shadow: 0 24px 70px rgba(32, 28, 64, 0.13);
}

.platform-redesign .platform-hero-visual--screens .hero-screen--chat {
  left: 28px;
  top: 54px;
  width: min(78%, 560px);
  aspect-ratio: 1024 / 860;
  border-radius: 28px;
}

.platform-redesign .platform-hero-visual--screens .hero-screen--meeting {
  right: 28px;
  bottom: 38px;
  width: min(66%, 430px);
  aspect-ratio: 1680 / 1280;
  border-radius: 28px;
  z-index: 3;
}

.platform-redesign .platform-hero-visual--cutout {
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  contain: none;
}

.platform-redesign .platform-hero-image {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  object-fit: contain;
  transform: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 30px 72px rgba(42, 64, 150, 0.14));
}

.platform-feature-strip {
  width: min(100%, var(--layout-container));
  margin: 0 auto;
  padding: clamp(56px, 7vw, 86px) var(--layout-gutter);
  background: #fff;
}

.platform-feature-head {
  display: grid;
  gap: 12px;
  max-width: 680px;
  margin-bottom: 32px;
}

.platform-feature-head h2 {
  margin: 0;
  color: #111527;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.18;
  letter-spacing: 0;
}

.platform-feature-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(22, 29, 49, 0.11);
  border-bottom: 1px solid rgba(22, 29, 49, 0.11);
}

.platform-feature-columns article {
  padding: 28px clamp(20px, 2.4vw, 34px);
  border-right: 1px solid rgba(22, 29, 49, 0.11);
}

.platform-feature-columns article:last-child {
  border-right: 0;
}

.platform-feature-columns h3 {
  margin: 0 0 10px;
  color: #14182a;
  font-size: 19px;
  line-height: 1.35;
}

.platform-feature-columns p {
  margin: 0;
  color: #667085;
  font-size: 15px;
  line-height: 1.75;
}

.openim-architecture-map {
  display: grid;
  gap: 18px;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(82, 70, 150, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(116, 43, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, #fbfbff 0%, #f6f8ff 100%);
  background-size: 56px 100%, auto;
  box-shadow: 0 24px 80px rgba(47, 55, 112, 0.08);
}

.arch-lane,
.arch-core,
.arch-side-grid article {
  border: 1px solid rgba(92, 89, 150, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 40px rgba(40, 48, 90, 0.055);
}

.arch-lane,
.arch-core {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.arch-label {
  color: #5b3fff;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.03em;
}

.arch-chip-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.arch-chip-grid span,
.arch-core-grid span,
.arch-split strong {
  display: grid;
  min-height: 42px;
  place-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(84, 93, 160, 0.12);
  border-radius: 14px;
  background: #fff;
  color: #17203a;
  font-size: 14px;
  font-weight: 680;
  text-align: center;
}

.arch-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.arch-core {
  border-color: rgba(91, 63, 255, 0.28);
  background: linear-gradient(135deg, #ffffff, #f3f1ff);
}

.arch-core-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.arch-side-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 18px;
}

.arch-side-grid article {
  padding: 20px;
}

.arch-side-grid p {
  margin: 10px 0 0;
  color: #3d4663;
  font-size: 14px;
  line-height: 1.4;
}

.arch-arrow {
  width: 2px;
  height: 24px;
  margin: -4px auto;
  border-radius: 99px;
  background: linear-gradient(#9b8dff, #5b3fff);
  position: relative;
}

.arch-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 9px;
  height: 9px;
  border-right: 2px solid #5b3fff;
  border-bottom: 2px solid #5b3fff;
  transform: translateX(-50%) rotate(45deg);
}

@media (max-width: 900px) {
  .platform-feature-columns,
  .arch-side-grid,
  .arch-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .platform-feature-columns article {
    border-right: 0;
    border-bottom: 1px solid rgba(22, 29, 49, 0.11);
  }

  .platform-feature-columns article:last-child {
    border-bottom: 0;
  }

  .arch-chip-grid,
  .arch-core-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .platform-redesign .platform-hero-visual--screens {
    min-height: 500px;
  }

  .platform-redesign .platform-hero-visual--screens .hero-screen--chat {
    width: 76%;
  }

  .platform-redesign .platform-hero-visual--screens .hero-screen--meeting {
    width: min(68%, 390px);
  }

  .platform-redesign .platform-hero-visual--cutout {
    min-height: 0;
  }

  .platform-redesign .platform-hero-image {
    max-width: 680px;
    transform: none;
  }
}

@media (max-width: 760px) {
  .platform-redesign .platform-hero-visual--screens {
    min-height: 500px;
    border-radius: 26px;
  }

  .platform-redesign .platform-hero-visual--screens .hero-screen--chat {
    left: 18px;
    top: 30px;
    width: calc(100% - 36px);
  }

  .platform-redesign .platform-hero-visual--screens .hero-screen--meeting {
    right: 18px;
    bottom: 26px;
    width: calc(100% - 54px);
  }

  .platform-redesign .platform-hero-visual--cutout {
    min-height: 0;
  }

  .platform-redesign .platform-hero-image {
    max-width: 390px;
    transform: none;
  }
}

.wechat-card .qr-frame {
  display: grid;
  place-items: center;
  grid-template-columns: none;
  gap: 0;
  width: min(258px, 100%);
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
  box-shadow: inset 0 0 0 1px rgba(224, 229, 242, 0.95);
}

.wechat-card .qr-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  background: #fff;
}

.platform-redesign .capability-bento-card--rtc .product-shot-mini--rtc-single {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
}

.platform-redesign .capability-bento-card--rtc .product-shot-mini--rtc-single figure:first-child {
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  box-shadow: none;
}

.platform-redesign .capability-bento-card--rtc .product-shot-mini--rtc-single img {
  object-fit: cover;
  object-position: center;
}

.platform-redesign .capability-visual-frame > .product-shot-mini {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
}

.platform-redesign .capability-bento-card--im .product-shot-mini--im figure:first-child {
  left: 20px;
  top: 20px;
  width: calc(100% - 116px);
  height: calc(100% - 40px);
  border-radius: 18px;
}

.platform-redesign .capability-bento-card--im .product-shot-mini--im figure:nth-child(2) {
  right: 22px;
  bottom: 26px;
  width: 26%;
  height: 62%;
  border-radius: 20px;
}

.platform-redesign .capability-bento-card--im .product-shot-mini--im.product-shot-mini--im-composite figure:first-child {
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  box-shadow: none;
}

.platform-redesign .capability-bento-card--im .product-shot-mini--im.product-shot-mini--im-composite img {
  object-fit: cover;
  object-position: center;
}

.platform-redesign .capability-bento-card--rtc .product-shot-mini--rtc-single figure:first-child {
  inset: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 760px) {
  .platform-redesign .capability-bento-card--im .product-shot-mini--im figure:first-child {
    left: 14px;
    top: 14px;
    width: calc(100% - 28px);
    height: calc(100% - 28px);
  }

  .platform-redesign .capability-bento-card--im .product-shot-mini--im figure:nth-child(2) {
    right: 18px;
    bottom: 18px;
    width: 34%;
    height: 56%;
  }
}

/* IM product page: real SDK/API code tabs. */
.im-product-page .im-code-window--tabs {
  min-height: 520px;
  background: #0d1020;
  color: #cbd5e1;
}

.im-product-page .im-code-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.im-product-page .im-code-window--tabs .im-code-tabs {
  flex: 1;
  padding: 0;
  border-bottom: 0;
}

.im-product-page .im-code-tabs button {
  color: #94a3b8;
}

.im-product-page .im-code-tabs button.active,
.im-product-page .im-code-tabs button:hover,
.im-product-page .im-code-tabs button:focus-visible {
  background: rgba(124, 92, 255, 0.2);
  color: #ffffff;
}

.im-code-copy {
  flex: 0 0 auto;
  min-width: 72px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #dbeafe;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.im-code-copy:hover,
.im-code-copy:focus-visible {
  border-color: rgba(167, 139, 250, 0.58);
  background: rgba(124, 92, 255, 0.18);
  color: #ffffff;
  outline: none;
}

.im-product-page .im-code-window pre {
  min-height: 388px;
  padding: 26px 24px 28px;
  background: #0d1020;
}

.im-product-page .im-code-window code {
  display: block;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 0;
}

.im-product-page .code-line {
  display: grid;
  grid-template-columns: 32px minmax(max-content, 1fr);
  gap: 16px;
  min-height: 24px;
  line-height: 24px;
}

.im-product-page .line-no {
  color: #475569;
  text-align: right;
  user-select: none;
}

.im-product-page .line-code {
  white-space: pre;
}

.im-product-page .tok-keyword {
  color: #a78bfa;
}

.im-product-page .tok-fn {
  color: #93c5fd;
}

.im-product-page .tok-string {
  color: #86efac;
}

.im-product-page .tok-number {
  color: #fbbf24;
}

.im-product-page .tok-comment {
  color: #64748b;
}

@media (max-width: 760px) {
  .im-product-page .im-code-toolbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
  }

  .im-code-copy {
    align-self: flex-end;
  }

  .im-product-page .im-code-window pre {
    min-height: 360px;
    padding: 20px 16px 22px;
  }

  .im-product-page .im-code-window code {
    font-size: 13px;
    line-height: 0;
  }

  .im-product-page .code-line {
    grid-template-columns: 28px minmax(max-content, 1fr);
    gap: 12px;
    min-height: 22px;
    line-height: 22px;
  }
}

/* Open source page typography sync: align with the shared site-page system. */
.community-page,
.community-page :where(p, a, button, span, em, strong, li, summary) {
  font-family: var(--font-body);
  letter-spacing: 0;
}

.community-page :where(h1, h2, h3),
.community-page :where(.community-metric strong, .repo-card div strong) {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.community-page .community-hero-copy h1 {
  max-width: 640px;
  font-size: clamp(56px, 4.45vw, 64px);
  font-weight: 700;
  line-height: 1.16;
}

.community-page .hero-subtitle,
.community-page .community-hero-copy .hero-subtitle {
  max-width: 640px;
  margin-top: var(--space-24);
  color: var(--text-secondary);
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
}

.community-page .section-copy h2,
.community-page .community-wechat-copy h2 {
  color: var(--text-primary);
  font-size: clamp(40px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.16;
}

.community-page .section-copy p:not(.eyebrow),
.community-page .community-wechat-copy p:not(.eyebrow) {
  max-width: 820px;
  margin-top: var(--space-20);
  color: var(--text-secondary);
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
}

.community-page .repo-card h3,
.community-page .community-join-card h3 {
  color: var(--text-primary);
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
}

.community-page .repo-card p,
.community-page .community-join-card p,
.community-page .community-contributors span,
.community-page .wechat-card p {
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}

.community-page .community-join-card span,
.community-page .repo-language,
.community-page .repo-card div em {
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.community-page .community-metric strong {
  font-size: clamp(40px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.16;
}

.community-page .community-metric span {
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
}

.community-page .community-contributors strong {
  font-size: clamp(40px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.16;
}

.community-page .wechat-card strong {
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
}

@media (max-width: 760px) {
  .community-page .community-hero-copy h1 {
    font-size: clamp(40px, 10.5vw, 44px);
    line-height: 1.18;
  }

  .community-page .hero-subtitle,
  .community-page .community-hero-copy .hero-subtitle,
  .community-page .section-copy p:not(.eyebrow),
  .community-page .community-wechat-copy p:not(.eyebrow),
  .community-page .repo-card p,
  .community-page .community-join-card p {
    font-size: 16px;
    line-height: 26px;
  }

  .community-page .section-copy h2,
  .community-page .community-wechat-copy h2 {
    font-size: clamp(32px, 8.8vw, 36px);
    line-height: 1.22;
  }
}

/* IM hero single supplied visual. */
.im-product-page .product-shot-collage--im-hero-single {
  min-height: 0;
  width: 100%;
  min-height: 560px;
  height: 100%;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.im-product-page .product-shot-collage--im-hero-single img {
  display: block;
  width: min(112%, 660px);
  height: auto;
  max-width: none;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 760px) {
  .im-product-page .product-shot-collage--im-hero-single {
    min-height: clamp(300px, 78vw, 360px);
  }

  .im-product-page .product-shot-collage--im-hero-single img {
    width: min(118%, 430px);
  }
}

/* Content CTA button pairs: keep side-by-side buttons equal outside the header. */
main .hero-actions > :where(.pill-button, .outline-button),
main .community-wechat-actions > :where(.pill-button, .outline-button),
main .rtc-sdk-actions > :where(.pill-button, .outline-button) {
  flex: 0 0 200px;
  width: 200px;
  min-width: 200px;
  justify-content: center;
  padding-right: 22px;
  padding-left: 22px;
  text-align: center;
}

main .hero-actions > .pill-button,
main .hero-actions > .outline-button,
main .community-wechat-actions > .pill-button,
main .community-wechat-actions > .outline-button,
main .rtc-sdk-actions > .pill-button,
main .rtc-sdk-actions > .outline-button {
  flex-basis: 200px;
  width: 200px;
  min-width: 200px;
}

@media (max-width: 760px) {
  main .hero-actions > :where(.pill-button, .outline-button),
  main .community-wechat-actions > :where(.pill-button, .outline-button),
  main .rtc-sdk-actions > :where(.pill-button, .outline-button) {
    flex-basis: 100%;
    width: 100%;
    max-width: 260px;
  }

  main .hero-actions > .pill-button,
  main .hero-actions > .outline-button,
  main .community-wechat-actions > .pill-button,
  main .community-wechat-actions > .outline-button,
  main .rtc-sdk-actions > .pill-button,
  main .rtc-sdk-actions > .outline-button {
    flex-basis: 100%;
    width: 100%;
    min-width: 0;
  }
}

/* Global CTA text alignment: label, title, and body share one left edge. */
.site-page .final-cta,
.platform-redesign .gradient-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: stretch;
  text-align: left;
}

.site-page .final-cta > div:first-child,
.platform-redesign .gradient-cta-copy {
  display: grid;
  justify-items: start;
  max-width: 760px;
  text-align: left;
}

.site-page .final-cta .eyebrow,
.platform-redesign .gradient-cta .eyebrow {
  margin-right: 0;
  margin-left: 0;
  color: rgba(255, 255, 255, 0.82);
  text-align: left;
}

.site-page .final-cta h2,
.platform-redesign .gradient-cta h2 {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  text-align: left;
  text-shadow: 0 1px 2px rgba(14, 18, 46, 0.08);
}

.site-page .final-cta p:not(.eyebrow),
.platform-redesign .gradient-cta-copy p {
  max-width: 760px;
  margin-top: var(--space-16);
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
}

.site-page .final-cta .hero-actions,
.platform-redesign .gradient-cta-actions {
  justify-content: flex-end;
  margin-top: 0;
}

@media (max-width: 1180px) {
  .site-page .final-cta,
  .platform-redesign .gradient-cta {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-32);
  }

  .site-page .final-cta .hero-actions,
  .platform-redesign .gradient-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .site-page .final-cta,
  .platform-redesign .gradient-cta {
    text-align: left;
  }

  .site-page .final-cta .hero-actions,
  .platform-redesign .gradient-cta-actions {
    align-items: flex-start;
  }
}

.platform-redesign .gradient-cta {
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: clamp(32px, 5vw, 72px);
}

.platform-redesign .gradient-cta-copy {
  min-width: 0;
  max-width: 780px;
}

.platform-redesign .gradient-cta h2 {
  max-width: 780px;
  white-space: normal;
}

.platform-redesign .gradient-cta-actions {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  min-width: max-content;
}

@media (max-width: 1180px) {
  .platform-redesign .gradient-cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .platform-redesign .gradient-cta-actions {
    min-width: 0;
  }
}

/* Developer dropdown: size to the single-column content instead of the wide menu. */
.site-header .mega-menu--developer,
.site-header.is-scrolled .mega-menu--developer,
.mega-menu--wide.mega-menu--developer {
  width: min(360px, calc(100vw - 48px));
  min-width: 0;
  max-width: 360px;
}

.site-header .mega-menu--developer .mega-column {
  width: 100%;
  max-width: 300px;
}

.site-header .mega-menu--developer .mega-link {
  width: 100%;
}

.site-header .mega-menu--developer .mega-link em {
  max-width: 260px;
}

@media (max-width: 760px) {
  .site-header .mega-menu--developer,
  .site-header.is-scrolled .mega-menu--developer,
  .mega-menu--wide.mega-menu--developer {
    width: 100%;
    max-width: none;
  }

  .site-header .mega-menu--developer .mega-column {
    max-width: none;
  }
}

/* Header dropdown consistency: product menu must look identical on hover, click, and active product pages. */
@media (min-width: 761px) {
  .site-header .nav-item.has-mega {
    position: relative;
  }

  .site-header .nav-trigger:focus,
  .site-header .nav-trigger:focus-visible,
  .site-header .nav-item.is-active .nav-trigger {
    outline: none;
    border-color: transparent;
    box-shadow: none;
  }

  .site-header .mega-menu--product,
  .site-header.is-scrolled .mega-menu--product {
    top: 100%;
    left: 50% !important;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: min(520px, calc(100vw - 48px));
    min-width: 0;
    max-width: min(520px, calc(100vw - 48px));
    min-height: 0;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #dfe2eb;
    border-radius: 0 0 14px 14px;
    background: #fff;
    box-shadow: 0 24px 56px rgba(18, 21, 33, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(-50%, -8px, 0) !important;
  }

  .site-header .nav-item:hover > .mega-menu--product,
  .site-header .nav-item.is-active > .mega-menu--product,
  .site-header .nav-item:focus-within > .mega-menu--product {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(-50%, 0, 0) !important;
  }

  .site-header .mega-menu--product .mega-column {
    display: grid;
    gap: 8px;
    width: 100%;
    min-width: 0;
    padding: 20px;
  }

  .site-header .mega-menu--product .mega-label {
    margin: 0 0 8px;
  }

  .site-header .mega-menu--product .mega-link {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 92px;
    padding: 16px;
    border: 1px solid transparent;
    border-radius: 10px;
  }

  .site-header .mega-menu--product .mega-link em {
    max-width: 360px;
  }
}

/* FAQ cards should not inherit the legacy list top divider. */
.faq-list,
.enterprise-faq-simple-section .faq-list,
.enterprise-faq-section .faq-list {
  border-top: 0 !important;
}

/* Open source hero reference recreation. */
.community-page {
  background: #fff;
}

.community-page .community-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(420px, 0.72fr) minmax(650px, 1.28fr);
  align-items: center;
  gap: clamp(44px, 5.2vw, 86px);
  width: 100%;
  max-width: none;
  min-height: 941px;
  margin: 0;
  padding: 106px clamp(80px, 6.45vw, 108px) 78px;
  overflow: hidden;
  background:
    radial-gradient(circle at 98% 4%, rgba(124, 88, 255, 0.2), transparent 28%),
    radial-gradient(circle at 77% 91%, rgba(106, 62, 255, 0.16), transparent 22%),
    linear-gradient(118deg, #ffffff 0%, #fbfbff 40%, #f3eeff 100%);
}

.community-page .community-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(117deg, rgba(255, 255, 255, 0.94) 0 34%, rgba(255, 255, 255, 0.22) 66%, rgba(245, 238, 255, 0.66) 100%);
}

.community-page .community-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -170px;
  z-index: -1;
  width: 860px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(101, 56, 255, 0.18), transparent 64%);
  filter: blur(4px);
}

.community-hero-orbits {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.community-hero-orbits span {
  position: absolute;
  border: 1px solid rgba(101, 56, 255, 0.13);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.community-hero-orbits span:first-child {
  right: -22px;
  top: 36px;
  width: 1040px;
  height: 540px;
}

.community-hero-orbits span:nth-child(2) {
  right: 74px;
  bottom: 76px;
  width: 1160px;
  height: 430px;
  border-color: rgba(101, 56, 255, 0.11);
}

.community-hero-orbits i {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #fff 0 18%, #9b7cff 45%, rgba(101, 56, 255, 0.16) 72%);
  box-shadow: 0 0 20px rgba(101, 56, 255, 0.45);
}

.community-hero-orbits i:nth-of-type(1) {
  right: 42px;
  top: 154px;
}

.community-hero-orbits i:nth-of-type(2) {
  right: 146px;
  top: 520px;
  width: 16px;
  height: 16px;
}

.community-hero-orbits i:nth-of-type(3) {
  left: 41.8%;
  top: 422px;
  width: 18px;
  height: 18px;
}

.community-page .community-hero-copy {
  position: relative;
  z-index: 2;
  align-self: start;
  padding-top: 72px;
}

.community-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin: 0 0 42px;
  padding: 0 25px;
  border-radius: 999px;
  background: rgba(110, 75, 255, 0.1);
  color: #4b27ff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.community-hero-badge span {
  position: relative;
  color: #4b27ff;
  font-size: 18px;
}

.community-hero-badge span,
.community-float-card--contributors > span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 18px;
}

.community-hero-badge span::before,
.community-hero-badge span::after,
.community-float-card--contributors > span::before,
.community-float-card--contributors > span::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: currentColor;
}

.community-hero-badge span::before,
.community-float-card--contributors > span::before {
  width: 8px;
  height: 8px;
  box-shadow: -7px 3px 0 -1px currentColor, 7px 3px 0 -1px currentColor;
}

.community-hero-badge span::after,
.community-float-card--contributors > span::after {
  bottom: 0;
  width: 18px;
  height: 8px;
  border-radius: 999px 999px 4px 4px;
  opacity: 0.74;
}

.community-page .community-hero-copy h1 {
  max-width: 575px;
  margin: 0;
  color: #071226;
  font-family: var(--font-display);
  font-size: clamp(78px, 5.45vw, 91px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.13;
}

.community-page .community-hero-copy h1 strong {
  display: block;
  margin-top: 4px;
  background: linear-gradient(92deg, #104cff 0%, #7144ff 62%, #8b31ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font: inherit;
}

.community-page .community-hero-copy .hero-subtitle {
  max-width: 575px;
  margin-top: 28px;
  color: #455063;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.75;
}

.community-page .community-hero-copy .hero-actions {
  gap: 28px;
  margin-top: 45px;
}

.community-page .community-hero-copy .pill-button,
.community-page .community-hero-copy .outline-button {
  min-width: 230px;
  min-height: 76px;
  border-radius: 14px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.community-page .community-hero-copy .pill-button {
  gap: 12px;
  background: linear-gradient(135deg, #0759ff 0%, #8f33ff 100%);
  box-shadow: 0 20px 40px rgba(75, 39, 255, 0.24);
}

.community-page .community-hero-copy .pill-button em {
  font-style: normal;
  font-size: 27px;
  line-height: 1;
}

.community-page .community-hero-copy .outline-button {
  border: 1px solid rgba(13, 22, 42, 0.24);
  background: rgba(255, 255, 255, 0.64);
  color: #101522;
  box-shadow: none;
}

.community-page .community-hero-visual {
  position: relative;
  min-height: 760px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.community-dashboard {
  position: absolute;
  top: 2px;
  left: 50%;
  width: min(100%, 706px);
  min-height: 648px;
  overflow: hidden;
  border: 1px solid rgba(206, 214, 241, 0.26);
  border-radius: 39px;
  background:
    radial-gradient(circle at 50% 108%, rgba(94, 57, 255, 0.34), transparent 28%),
    linear-gradient(180deg, #111a2d 0%, #0b1222 100%);
  box-shadow:
    0 42px 82px rgba(20, 26, 47, 0.22),
    0 8px 0 rgba(76, 50, 232, 0.2);
  transform: translateX(-46%);
}

.community-dashboard::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 48px;
  height: 56px;
  background: radial-gradient(ellipse at center, rgba(112, 67, 255, 0.7), transparent 65%);
  filter: blur(10px);
}

.community-dashboard-chrome {
  min-height: 126px;
  padding: 28px 38px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.community-window-dots {
  display: flex;
  gap: 11px;
  height: 28px;
  align-items: center;
}

.community-window-dots span {
  width: 14px;
  height: 14px;
  border-radius: 999px;
}

.community-window-dots span:nth-child(1) { background: #ff5c62; }
.community-window-dots span:nth-child(2) { background: #ffc229; }
.community-window-dots span:nth-child(3) { background: #2cce5f; }

.community-dashboard-topline {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 152px 42px 48px;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.community-repo-name {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: #fff;
}

.community-repo-name > span {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 9px;
  background: linear-gradient(135deg, #865eff, #4c25ff);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(102, 72, 255, 0.36);
}

.community-repo-name strong {
  overflow: hidden;
  color: #f7f8ff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  background: rgba(5, 10, 24, 0.28);
  color: rgba(224, 230, 247, 0.52);
  font-size: 14px;
}

.community-search span {
  width: 13px;
  height: 13px;
  border: 1.8px solid currentColor;
  border-radius: 50%;
}

.community-search span::after {
  content: "";
  display: block;
  width: 6px;
  height: 1.8px;
  margin: 9px 0 0 9px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
}

.community-bell {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 66%, transparent 0 4px, rgba(230, 235, 255, 0.9) 4px 6px, transparent 6px),
    linear-gradient(180deg, transparent 0 9px, rgba(230, 235, 255, 0.9) 9px 11px, transparent 11px),
    rgba(5, 10, 24, 0.28);
}

.community-avatar {
  position: relative;
  width: 42px;
  height: 42px;
  border: 3px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 34%, #f3d0b8 0 18%, transparent 19%),
    linear-gradient(180deg, #314768 0 46%, #f0c9a9 47% 62%, #252d44 63%);
}

.community-avatar span {
  position: absolute;
  right: -4px;
  bottom: 1px;
  width: 12px;
  height: 12px;
  border: 2px solid #132039;
  border-radius: 999px;
  background: #1bd66b;
}

.community-page .community-command {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 58px;
  margin: 26px 40px 0;
  padding: 0 21px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background: rgba(6, 12, 28, 0.36);
  color: #f8f9ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 17px;
  line-height: 1;
}

.community-command span { color: rgba(235, 238, 255, 0.48); }
.community-command strong { color: #895eff; font-weight: 800; }

.community-command i {
  margin-left: auto;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(235, 238, 255, 0.6);
  border-radius: 4px;
  box-shadow: 4px -4px 0 -2px #111a2d, 4px -4px 0 0 rgba(235, 238, 255, 0.42);
}

.community-page .community-pulse-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 28px 40px 40px;
}

.community-pulse-grid article {
  position: relative;
  display: grid;
  grid-template-columns: 49px minmax(0, 1fr);
  gap: 17px;
  align-items: center;
  min-height: 114px;
  padding: 21px 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 13px;
  background:
    radial-gradient(circle at 28% 8%, rgba(97, 122, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(42, 56, 91, 0.78), rgba(22, 33, 58, 0.84));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.community-pulse-icon {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border-radius: 11px;
  background: linear-gradient(135deg, #2d6cff 0%, #853dff 86%);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 14px 24px rgba(69, 71, 255, 0.32);
}

.community-pulse-grid article:nth-child(2) .community-pulse-icon,
.community-pulse-grid article:nth-child(3) .community-pulse-icon,
.community-pulse-grid article:nth-child(4) .community-pulse-icon,
.community-pulse-grid article:nth-child(5) .community-pulse-icon,
.community-pulse-grid article:nth-child(6) .community-pulse-icon {
  font-size: 15px;
}

.community-pulse-grid h3 {
  margin: 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.1;
}

.community-pulse-grid p {
  margin: 9px 0 0;
  color: rgba(230, 236, 255, 0.62);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
}

.community-pulse-grid em {
  display: block;
  width: min(100%, 200px);
  height: 5px;
  margin-top: 19px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, #2b77ff 0 24%, #9b66ff 24% 42%, transparent 42%),
    rgba(120, 139, 184, 0.18);
}

.community-mini-avatars {
  position: absolute;
  right: 17px;
  bottom: 17px;
  display: flex;
  align-items: center;
}

.community-mini-avatars span {
  display: block;
  min-height: 0;
  width: 27px;
  height: 27px;
  margin-left: -8px;
  padding: 0;
  border: 2px solid rgba(245, 239, 232, 0.92);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 32%, #efc7b5 0 20%, transparent 21%),
    linear-gradient(180deg, #34496b 0 54%, #d58f6b 55%);
}

.community-mini-avatars span:nth-child(2) {
  background:
    radial-gradient(circle at 50% 32%, #ead3c2 0 20%, transparent 21%),
    linear-gradient(180deg, #25344f 0 54%, #b77051 55%);
}

.community-mini-avatars span:nth-child(3) {
  background:
    radial-gradient(circle at 50% 32%, #f4d9cd 0 20%, transparent 21%),
    linear-gradient(180deg, #171d2d 0 54%, #e7b49b 55%);
}

.community-mini-avatars span:nth-child(4) {
  background:
    radial-gradient(circle at 50% 32%, #f0c6a6 0 20%, transparent 21%),
    linear-gradient(180deg, #6f3c50 0 54%, #c17a50 55%);
}

.community-mini-avatars b {
  margin-left: 5px;
  color: rgba(235, 238, 255, 0.82);
  font-size: 13px;
}

.community-float-card {
  position: absolute;
  z-index: 3;
  display: grid;
  align-content: start;
  border: 1px solid rgba(232, 232, 250, 0.86);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 28px 52px rgba(76, 58, 172, 0.14);
  backdrop-filter: blur(18px);
}

.community-float-card > span {
  color: #6d4aff;
  font-weight: 900;
}

.community-float-card strong {
  color: #111a2d;
  font-family: var(--font-display);
  font-weight: 850;
  letter-spacing: 0;
}

.community-float-card em {
  color: #14203b;
  font-style: normal;
  font-weight: 700;
}

.community-float-card i {
  display: block;
  width: 100%;
  height: 40px;
  margin-top: 10px;
  background:
    linear-gradient(135deg, transparent 0 12%, rgba(111, 72, 255, 0.9) 12% 14%, transparent 14% 28%, rgba(111, 72, 255, 0.9) 28% 31%, transparent 31% 44%, rgba(111, 72, 255, 0.9) 44% 47%, transparent 47% 100%);
  mask-image: radial-gradient(ellipse at center, #000 68%, transparent 70%);
  opacity: 0.86;
}

.community-float-card--stars {
  left: 0;
  top: 410px;
  width: 147px;
  min-height: 176px;
  padding: 26px 21px 14px;
}

.community-float-card--stars > span { font-size: 34px; }
.community-float-card--stars strong { margin-top: 17px; font-size: 30px; line-height: 1; }
.community-float-card--stars em { margin-top: 10px; font-size: 14px; }

.community-float-card--contributors {
  right: -6px;
  top: 132px;
  width: 164px;
  min-height: 143px;
  padding: 24px 20px 12px;
}

.community-float-card--contributors > span {
  position: absolute;
  left: 20px;
  top: 26px;
  font-size: 27px;
}

.community-float-card--contributors strong {
  margin-left: 48px;
  font-size: 31px;
  line-height: 1;
}

.community-float-card--contributors em { margin-top: 15px; font-size: 14px; }
.community-float-card--contributors i { height: 35px; margin-top: 8px; }

.community-float-card--discussions {
  right: 20px;
  bottom: 92px;
  width: 147px;
  min-height: 188px;
  padding: 22px 20px 12px;
}

.community-float-card--discussions > span { font-size: 31px; }
.community-float-card--discussions em { margin-top: 19px; font-size: 16px; line-height: 1.35; }
.community-float-card--discussions strong { margin-top: 14px; color: #4a31ff; font-size: 24px; }

.community-float-card--commits {
  right: 302px;
  bottom: 6px;
  grid-template-columns: 33px 1fr;
  width: 199px;
  min-height: 121px;
  padding: 24px 21px 18px;
}

.community-float-card--commits > span {
  grid-row: span 2;
  font-size: 39px;
  line-height: 1;
}

.community-float-card--commits em {
  color: #22296a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.community-float-card--commits strong {
  margin-top: 10px;
  font-size: 24px;
  line-height: 1;
}

.community-float-card--commits div {
  grid-column: 1 / -1;
  display: flex;
  align-items: end;
  gap: 8px;
  justify-content: flex-end;
  height: 36px;
  margin-top: 6px;
}

.community-float-card--commits b {
  width: 8px;
  border-radius: 999px 999px 2px 2px;
  background: linear-gradient(180deg, rgba(130, 86, 255, 0.46), rgba(130, 86, 255, 0.14));
}

.community-float-card--commits b:nth-child(1) { height: 6px; }
.community-float-card--commits b:nth-child(2) { height: 12px; }
.community-float-card--commits b:nth-child(3) { height: 17px; }
.community-float-card--commits b:nth-child(4) { height: 22px; }
.community-float-card--commits b:nth-child(5) { height: 29px; }
.community-float-card--commits b:nth-child(6) { height: 24px; }
.community-float-card--commits b:nth-child(7) { height: 35px; }

@media (max-width: 1280px) {
  .community-page .community-hero {
    grid-template-columns: minmax(520px, 0.82fr) minmax(560px, 1.18fr);
    padding-right: 48px;
    padding-left: 48px;
  }

  .community-page .community-hero-copy h1 {
    font-size: clamp(64px, 6vw, 78px);
  }

  .community-dashboard {
    transform: translateX(-45%) scale(0.92);
    transform-origin: top center;
  }

  .community-float-card--contributors { right: -4px; }
  .community-float-card--discussions { right: 8px; }
}

@media (max-width: 1080px) {
  .community-page .community-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    min-height: auto;
    padding-top: 104px;
  }

  .community-page .community-hero-copy {
    max-width: 760px;
  }

  .community-page .community-hero-visual {
    min-height: 710px;
  }

  .community-dashboard {
    left: 50%;
    transform: translateX(-50%);
  }

  .community-float-card--stars { left: 4px; }
}

@media (max-width: 760px) {
  .community-page .community-hero {
    padding: 104px 20px 56px;
    background:
      radial-gradient(circle at 94% 9%, rgba(124, 88, 255, 0.18), transparent 32%),
      linear-gradient(140deg, #fff 0%, #fbfbff 42%, #f4efff 100%);
  }

  .community-hero-badge {
    min-height: 40px;
    margin-bottom: 28px;
    padding: 0 18px;
    font-size: 16px;
  }

  .community-page .community-hero-copy h1 {
    max-width: 350px;
    font-size: clamp(54px, 14vw, 68px);
    line-height: 1.1;
  }

  .community-page .community-hero-copy .hero-subtitle {
    max-width: 340px;
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.72;
  }

  .community-page .community-hero-copy .hero-actions {
    flex-direction: column;
    gap: 14px;
    margin-top: 30px;
    align-items: stretch;
  }

  .community-page .community-hero-copy .pill-button,
  .community-page .community-hero-copy .outline-button {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    justify-content: center;
    font-size: 18px;
  }

  .community-page .community-hero-visual {
    min-height: 555px;
  }

  .community-dashboard {
    top: 12px;
    width: 640px;
    min-height: 620px;
    border-radius: 31px;
    transform: translateX(-50%) scale(0.55);
    transform-origin: top center;
  }

  .community-float-card {
    transform: scale(0.72);
    transform-origin: center;
  }

  .community-float-card--stars {
    left: -18px;
    top: 308px;
  }

  .community-float-card--contributors {
    right: -30px;
    top: 94px;
  }

  .community-float-card--discussions {
    right: -25px;
    bottom: 68px;
  }

  .community-float-card--commits {
    right: 82px;
    bottom: 12px;
  }

  .community-hero-orbits span:first-child {
    right: -420px;
    top: 126px;
  }

  .community-hero-orbits span:nth-child(2) {
    right: -500px;
    bottom: 60px;
  }
}

/* Open source hero typography sync: keep the recreated visual, use site-wide type rhythm. */
.community-page .community-hero-copy {
  padding-top: clamp(84px, 8vw, 104px);
}

.community-page .community-hero-badge {
  min-height: 34px;
  margin-bottom: var(--space-28);
  padding: 0 16px;
  font-size: 14px;
  font-weight: 800;
}

.community-page .community-hero-badge span,
.community-page .community-float-card--contributors > span {
  width: 18px;
  height: 15px;
}

.community-page .community-hero-badge span::before,
.community-page .community-float-card--contributors > span::before {
  width: 6px;
  height: 6px;
  box-shadow: -6px 3px 0 -1px currentColor, 6px 3px 0 -1px currentColor;
}

.community-page .community-hero-badge span::after,
.community-page .community-float-card--contributors > span::after {
  width: 15px;
  height: 7px;
}

.community-page .community-hero-copy h1 {
  max-width: 640px;
  font-size: clamp(56px, 4.45vw, 64px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.community-page .community-hero-copy h1 strong {
  margin-top: 0;
  font: inherit;
}

.community-page .hero-subtitle,
.community-page .community-hero-copy .hero-subtitle {
  max-width: 640px;
  margin-top: var(--space-24);
  color: var(--text-secondary);
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
}

.community-page .community-hero-copy .hero-actions {
  gap: 16px;
  margin-top: var(--space-32);
}

.community-page .community-hero-copy .pill-button,
.community-page .community-hero-copy .outline-button {
  min-width: 200px;
  width: 200px;
  min-height: 50px;
  padding-right: 22px;
  padding-left: 22px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
}

.community-page .community-hero-copy .pill-button em {
  font-size: 19px;
}

@media (max-width: 760px) {
  .community-page .community-hero-copy {
    padding-top: 0;
  }

  .community-page .community-hero-badge {
    min-height: 32px;
    margin-bottom: var(--space-24);
    padding: 0 14px;
    font-size: 13px;
  }

  .community-page .community-hero-copy h1 {
    max-width: 350px;
    font-size: clamp(40px, 10.5vw, 44px);
    line-height: 1.18;
  }

  .community-page .hero-subtitle,
  .community-page .community-hero-copy .hero-subtitle {
    max-width: 350px;
    margin-top: var(--space-20);
    font-size: 16px;
    line-height: 26px;
  }

  .community-page .community-hero-copy .hero-actions {
    gap: 14px;
    margin-top: var(--space-28);
  }

  .community-page .community-hero-copy .pill-button,
  .community-page .community-hero-copy .outline-button {
    width: 100%;
    max-width: 260px;
    min-height: 50px;
    font-size: 16px;
  }
}

/* Open source hero sizing parity with other product pages. */
.community-page .community-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: var(--space-96);
  width: min(100%, var(--layout-container));
  max-width: var(--layout-container);
  min-height: calc(100dvh + 24px);
  margin-right: auto;
  margin-left: auto;
  padding: calc(var(--layout-header) + var(--space-96)) var(--layout-gutter) var(--space-120);
  overflow: visible;
}

.community-page .community-hero-copy {
  align-self: center;
  max-width: 640px;
  padding-top: 0;
}

.community-page .community-hero-visual {
  width: 100%;
  min-height: 590px;
  justify-self: stretch;
}

.community-page .community-dashboard {
  top: 18px;
  left: 50%;
  transform: translateX(-50%) scale(0.78);
  transform-origin: top center;
}

.community-page .community-float-card {
  transform: scale(0.82);
  transform-origin: center;
}

.community-page .community-float-card--stars {
  left: 4px;
  top: 318px;
}

.community-page .community-float-card--contributors {
  right: -2px;
  top: 112px;
}

.community-page .community-float-card--discussions {
  right: 14px;
  bottom: 118px;
}

.community-page .community-float-card--commits {
  right: 210px;
  bottom: 50px;
}

@media (max-width: 1180px) {
  .community-page .community-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    min-height: auto;
    padding-top: calc(var(--layout-header) + var(--space-64));
    padding-bottom: var(--layout-section-y-compact);
  }

  .community-page .community-hero-visual {
    min-height: 610px;
  }

  .community-page .community-dashboard {
    transform: translateX(-50%) scale(0.84);
  }

  .community-page .community-float-card {
    transform: scale(0.86);
  }
}

@media (max-width: 760px) {
  .community-page .community-hero {
    padding: calc(var(--layout-header) + 46px) var(--layout-gutter) var(--layout-section-y-compact);
  }

  .community-page .community-hero-visual {
    min-height: 555px;
  }

  .community-page .community-dashboard {
    top: 12px;
    transform: translateX(-50%) scale(0.55);
  }

  .community-page .community-float-card {
    transform: scale(0.72);
  }

  .community-page .community-float-card--stars {
    left: -18px;
    top: 308px;
  }

  .community-page .community-float-card--contributors {
    right: -30px;
    top: 94px;
  }

  .community-page .community-float-card--discussions {
    right: -25px;
    bottom: 68px;
  }

  .community-page .community-float-card--commits {
    right: 82px;
    bottom: 12px;
  }
}

/* Open source hero full-bleed background guard. */
.community-page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #fff;
}

.community-page::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 0;
  height: max(calc(100dvh + 24px), 1120px);
  pointer-events: none;
  background:
    linear-gradient(rgba(112, 72, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 72, 255, 0.028) 1px, transparent 1px),
    radial-gradient(circle at 96% 12%, rgba(124, 88, 255, 0.2), transparent 30%),
    radial-gradient(circle at 78% 84%, rgba(106, 62, 255, 0.16), transparent 24%),
    linear-gradient(118deg, #ffffff 0%, #fbfbff 42%, #f3eeff 100%);
  background-size: 40px 40px, 40px 40px, auto, auto, auto;
}

.community-page .community-hero {
  z-index: 1;
  background: transparent;
}

.community-page > section:not(.community-hero) {
  z-index: 2;
}

.community-page .community-metrics,
.community-page .community-repos,
.community-page .community-join,
.community-page .community-wechat,
.community-page .faq-section {
  position: relative;
  background-color: #fff;
}

.community-page .community-hero::before {
  display: none;
  content: none;
}

.community-page .community-hero::after {
  display: none;
  content: none;
}

.community-page .community-hero-orbits {
  display: none;
}

.community-page .community-metrics {
  width: 100%;
  max-width: none;
  margin-top: 0;
  margin-bottom: 0;
  padding-right: max(var(--layout-gutter), calc((100vw - var(--layout-container)) / 2 + var(--layout-gutter)));
  padding-left: max(var(--layout-gutter), calc((100vw - var(--layout-container)) / 2 + var(--layout-gutter)));
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.community-page .community-repos,
.community-page .community-join,
.community-page .community-wechat {
  background-clip: padding-box;
}

/* Open source hero supplied visual. */
.community-page .community-hero-visual {
  display: grid;
  place-items: center;
  contain: layout;
  overflow: visible;
}

.community-page .community-hero-image {
  display: block;
  width: min(116%, 680px);
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 28px 66px rgba(76, 58, 172, 0.16));
}

@media (max-width: 1180px) {
  .community-page .community-hero-image {
    width: min(104%, 760px);
  }
}

@media (max-width: 760px) {
  .community-page .community-hero-image {
    width: min(128%, 520px);
  }
}

/* Global chip alignment: keep tag-style bubbles centered across product pages. */
:where(
  .hero-tags,
  .system-chip-row,
  .system-chip-grid,
  .system-service-grid,
  .sdk-tag-list,
  .rtc-path-tags,
  .im-flow-services,
  .im-tag-row,
  .sdk-platform-tags,
  .tutorial-tags
) > :where(span, button, [data-tag-filter]),
:where(.enterprise-float-tag, .pricing-badge) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Global background cleanup: only flatten oversized section color blocks and FAQ bubbles. */
.platform-redesign .what-section,
.site-page :is(.sdk-integration-section, .sdk-why-section, .im-client-path-section),
.tutorials-page--curated :is(.tutorial-start-section, .tutorial-routing-section),
.enterprise-page--pricing :is(.enterprise-pricing-section--compact, .enterprise-faq-simple-section),
.community-page :is(.community-repos, .community-join, .community-wechat, .faq-section) {
  background: transparent;
  background-color: transparent;
  box-shadow: none;
}

.site-page .intro-section:nth-of-type(even)::before,
.site-page .stack-section::before,
.site-page .product-links::before {
  background: transparent;
}

.faq-list {
  gap: 0;
  border-top: 1px solid rgba(224, 229, 242, 0.95);
}

.faq-list details,
.enterprise-faq-simple-section details,
.enterprise-faq-section details {
  border: 0;
  border-bottom: 1px solid rgba(224, 229, 242, 0.95);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.faq-list details:hover,
.enterprise-faq-simple-section details:hover,
.enterprise-faq-section details:hover {
  background: rgba(248, 250, 255, 0.56);
  box-shadow: none;
}

.platform-redesign .capability-bento-card {
  overflow: hidden;
  padding: clamp(22px, 2.4vw, 28px);
  border: 1px solid rgba(227, 229, 239, 0.92);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(32, 28, 64, 0.06);
}

.platform-redesign .capability-bento {
  align-items: stretch;
}

.platform-redesign .capability-bento-card {
  grid-template-rows: auto 1fr;
  height: 100%;
}

.platform-redesign .capability-bento-copy {
  grid-template-rows: auto 1fr auto;
}

.platform-redesign .capability-link {
  align-self: end;
  margin-top: 4px;
}

.platform-redesign :is(.what-list article, .resource-list a) {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* Open source GitHub repository list: match the supplied light GitHub card reference. */
.community-page .community-repos {
  --repo-reference-width: 980px;
  padding-top: clamp(72px, 7vw, 104px);
  padding-bottom: clamp(72px, 7vw, 104px);
  background: #fff;
}

.community-page .community-repos .section-copy {
  max-width: var(--repo-reference-width);
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.community-page .community-repos .section-copy .eyebrow {
  color: #1f2937;
}

.community-page .repo-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  width: min(100%, var(--repo-reference-width));
  margin: 44px auto 0;
}

.community-page .repo-card,
.community-page .repo-card.repo-card--primary,
:is(.platform-redesign, .site-page, .tutorials-page--curated, .enterprise-page--pricing) .community-page .repo-card,
:is(.platform-redesign, .site-page, .tutorials-page--curated, .enterprise-page--pricing) .community-page .repo-card.repo-card--primary {
  grid-column: auto;
  display: flex;
  flex-direction: column;
  min-height: 104px;
  padding: 16px 20px 15px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.035);
  color: #111827;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.community-page .repo-card:hover,
.community-page .repo-card:focus-visible,
:is(.platform-redesign, .site-page, .tutorials-page--curated, .enterprise-page--pricing) .community-page .repo-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.055);
  transform: translateY(-1px);
}

/* Final cleanup guard: remove only large section color blocks and FAQ bubbles. */
.platform-redesign .what-section,
.site-page :is(.sdk-integration-section, .sdk-why-section, .im-client-path-section),
.tutorials-page--curated :is(.tutorial-start-section, .tutorial-routing-section),
.enterprise-page--pricing :is(.enterprise-pricing-section--compact, .enterprise-faq-simple-section),
.community-page :is(.community-repos, .community-join, .community-wechat, .faq-section) {
  background: transparent;
  background-color: transparent;
  box-shadow: none;
}

.site-page .intro-section:nth-of-type(even)::before,
.site-page .stack-section::before,
.site-page .product-links::before {
  background: transparent;
}

.faq-list,
.enterprise-faq-simple-section .faq-list,
.enterprise-faq-section .faq-list {
  gap: 0;
  border-top: 1px solid rgba(224, 229, 242, 0.95);
  background: transparent;
}

.faq-list details,
.enterprise-faq-simple-section details,
.enterprise-faq-section details {
  border: 0;
  border-bottom: 1px solid rgba(224, 229, 242, 0.95);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.faq-list details:hover,
.enterprise-faq-simple-section details:hover,
.enterprise-faq-section details:hover {
  background: rgba(248, 250, 255, 0.56);
  box-shadow: none;
}

.community-page .repo-card:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.34);
  outline-offset: 3px;
}

.community-page .repo-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.community-page .repo-card h3,
.community-page .repo-card .repo-card-top h3 {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  margin: 0;
  color: #2563eb;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  overflow-wrap: anywhere;
}

.community-page .repo-card h3 svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-right: 8px;
  fill: #6b7280;
}

.community-page .repo-arrow {
  flex: 0 0 auto;
  color: #6b7280;
  font-size: 17px;
  line-height: 1;
  transition: color 160ms ease, transform 160ms ease;
}

.community-page .repo-card:hover .repo-arrow,
.community-page .repo-card:focus-visible .repo-arrow {
  color: #2563eb;
  transform: translateX(2px);
}

.community-page .repo-card p,
.community-page .repo-card > p {
  margin: 11px 0 0;
  color: #4b5563;
  display: -webkit-box;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.community-page .repo-card .repo-meta,
.community-page .repo-card div.repo-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 14px;
  margin-top: 10px;
  color: #6b7280;
  font-size: 12px;
  line-height: 16px;
}

.community-page .repo-language,
:is(.platform-redesign, .site-page, .tutorials-page--curated, .enterprise-page--pricing) .community-page .repo-language {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #6b7280;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}

.community-page .repo-language::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 999px;
  background: var(--repo-language-color, #1cc4df);
}

.community-page .repo-language--typescript::before {
  background: #75b8ff;
}

.community-page .repo-language--dart::before {
  background: #7fc1ff;
}

.community-page .repo-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #6b7280;
  white-space: nowrap;
}

.community-page .repo-stat svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.community-page .community-center-action {
  margin-top: 32px;
}

@media (max-width: 860px) {
  .community-page .repo-list {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
  }
}

@media (max-width: 520px) {
  .community-page .repo-list {
    gap: 12px;
    margin-top: 32px;
  }

  .community-page .repo-card,
  .community-page .repo-card.repo-card--primary {
    min-height: 112px;
    padding: 16px;
  }
}

/* Cross-page typography parity: use the platform page scale everywhere. */
:where(.platform-redesign, .site-page, .enterprise-page--pricing, .tutorials-page--curated),
:where(.platform-redesign, .site-page, .enterprise-page--pricing, .tutorials-page--curated)
  :where(p, a, button, span, em, strong, li, summary, label, input, textarea, select, th, td) {
  font-family: var(--font-body);
  letter-spacing: 0;
}

:where(.platform-redesign, .site-page, .enterprise-page--pricing, .tutorials-page--curated)
  :where(h1, h2, h3, h4) {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

:where(.platform-redesign, .site-page, .enterprise-page--pricing, .tutorials-page--curated)
  :where(pre, code, kbd, samp, pre *, code *) {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

:where(.platform-redesign, .site-page, .enterprise-page--pricing, .tutorials-page--curated)
  :where(.eyebrow) {
  margin: 0 0 var(--space-16);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

:where(.platform-redesign, .site-page, .enterprise-page--pricing, .tutorials-page--curated)
  :where(.platform-hero-copy h1, .page-hero h1, .community-hero-copy h1, .enterprise-pricing-hero h1, .tutorials-hero h1) {
  max-width: 640px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(56px, 4.45vw, 64px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

:where(.platform-redesign, .site-page, .enterprise-page--pricing, .tutorials-page--curated)
  :where(.hero-subtitle, .platform-hero-copy .hero-subtitle, .community-hero-copy .hero-subtitle, .enterprise-pricing-hero p:not(.eyebrow), .tutorials-hero p:not(.eyebrow)) {
  max-width: 640px;
  margin-top: var(--space-24);
  color: var(--text-secondary);
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0;
}

:where(.platform-redesign, .site-page, .enterprise-page--pricing, .tutorials-page--curated)
  :where(.section-copy h2, .faq-title h2, .platform-capabilities-heading h2, .what-title h2, .resources-title h2, .system-architecture-copy h2, .workflow-section .section-copy h2, .gradient-cta h2, .media-feature-copy h2, .stack-section h2, .community-wechat-copy h2, .enterprise-pricing-head h2, .enterprise-talk-copy h2, .enterprise-faq-simple-section h2, .tutorials-section h2, .tutorials-cta h2, .final-cta h2) {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(40px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

:where(.platform-redesign, .site-page, .enterprise-page--pricing, .tutorials-page--curated)
  :where(.section-copy p:not(.eyebrow), .platform-capabilities-heading p:last-child, .what-title p:last-child, .resources-title p, .system-architecture-copy p:last-child, .media-feature-copy p, .stack-section .section-copy p, .community-wechat-copy p:not(.eyebrow), .enterprise-pricing-head p:not(.eyebrow), .enterprise-talk-copy p, .tutorials-section p:not(.eyebrow), .tutorials-cta p:not(.eyebrow)) {
  max-width: 820px;
  margin-top: var(--space-20);
  color: var(--text-secondary);
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0;
}

:where(.platform-redesign, .site-page, .enterprise-page--pricing, .tutorials-page--curated)
  :where(.feature-card h3, .component-grid h3, .cooperation-grid h3, .deployment-list strong, .product-link span, .capability-bento-card h3, .community-join-card h3, .wechat-card strong, .tutorial-featured-card h3, .tutorial-side-card h3, .tutorial-video-card h3, .tutorial-route-card h3, .pricing-card h3, .enterprise-contact-card strong) {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: -0.01em;
}

:where(.platform-redesign, .site-page, .enterprise-page--pricing, .tutorials-page--curated)
  :where(.feature-card p, .component-grid p, .cooperation-grid p, .deployment-list em, .product-link em, .capability-bento-card p, .community-join-card p, .wechat-card p, .tutorial-featured-card p, .tutorial-side-card p, .tutorial-video-card p, .tutorial-route-card p, .pricing-card p, .pricing-card li, .faq-list p) {
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0;
}

:where(.platform-redesign, .site-page, .enterprise-page--pricing, .tutorials-page--curated)
  :where(.pill-button, .outline-button, .hero-actions .pill-button, .hero-actions .outline-button) {
  min-height: 52px;
  height: 52px;
  padding: 0 28px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 0;
}

.community-page .repo-card h3,
.community-page .repo-card .repo-card-top h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0;
}

.community-page .repo-card p,
.community-page .repo-card > p {
  font-size: 13px;
  line-height: 20px;
}

.community-page .repo-card .repo-meta,
.community-page .repo-card div.repo-meta,
.community-page .repo-language {
  font-size: 12px;
  line-height: 16px;
}

@media (max-width: 760px) {
  :where(.platform-redesign, .site-page, .enterprise-page--pricing, .tutorials-page--curated)
    :where(.platform-hero-copy h1, .page-hero h1, .community-hero-copy h1, .enterprise-pricing-hero h1, .tutorials-hero h1) {
    font-size: clamp(40px, 10.5vw, 44px);
    line-height: 1.18;
  }

  :where(.platform-redesign, .site-page, .enterprise-page--pricing, .tutorials-page--curated)
    :where(.hero-subtitle, .platform-hero-copy .hero-subtitle, .community-hero-copy .hero-subtitle, .enterprise-pricing-hero p:not(.eyebrow), .tutorials-hero p:not(.eyebrow)) {
    font-size: 16px;
    line-height: 26px;
  }

  :where(.platform-redesign, .site-page, .enterprise-page--pricing, .tutorials-page--curated)
    :where(.section-copy h2, .faq-title h2, .platform-capabilities-heading h2, .what-title h2, .resources-title h2, .system-architecture-copy h2, .workflow-section .section-copy h2, .gradient-cta h2, .media-feature-copy h2, .stack-section h2, .community-wechat-copy h2, .enterprise-pricing-head h2, .enterprise-talk-copy h2, .enterprise-faq-simple-section h2, .tutorials-section h2, .tutorials-cta h2, .final-cta h2) {
    font-size: clamp(32px, 8.8vw, 36px);
    line-height: 1.22;
  }
}

/* High-priority typography enforcement for pages with older page-specific overrides. */
.platform-redesign .platform-hero-copy h1,
.site-page .page-hero h1,
.site-page.sdk-page .sdk-hero h1,
.site-page.community-page .community-hero-copy h1,
.enterprise-page--pricing .enterprise-pricing-hero h1,
.tutorials-page--curated h1,
.tutorials-page--curated .tutorials-hero h1 {
  max-width: 640px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(56px, 4.45vw, 64px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.platform-redesign h2,
.site-page h2,
.site-page.sdk-page h2,
.enterprise-page--pricing h2,
.tutorials-page--curated h2,
.tutorials-page--curated .tutorial-section-head h2 {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(40px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.platform-redesign :is(.hero-subtitle, .platform-hero-copy .hero-subtitle),
.site-page :is(.hero-subtitle, .page-hero-copy .hero-subtitle, .sdk-hero-copy .hero-subtitle, .community-hero-copy .hero-subtitle),
.enterprise-page--pricing .enterprise-pricing-hero p:not(.eyebrow),
.tutorials-page--curated :is(.tutorials-hero p:not(.eyebrow), .tutorial-hero p:not(.eyebrow), section:first-child p:not(.eyebrow)) {
  max-width: 640px;
  margin-top: var(--space-24);
  color: var(--text-secondary);
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0;
}

.platform-redesign :is(.section-copy p:not(.eyebrow), .platform-capabilities-heading p:last-child, .what-title p:last-child, .resources-title p, .system-architecture-copy p:last-child),
.site-page :is(.section-copy p:not(.eyebrow), .media-feature-copy p, .stack-section .section-copy p, .community-wechat-copy p:not(.eyebrow)),
.enterprise-page--pricing :is(.enterprise-pricing-head p:not(.eyebrow), .enterprise-talk-copy p),
.tutorials-page--curated :is(.tutorials-section p:not(.eyebrow), .tutorials-cta p:not(.eyebrow)) {
  max-width: 820px;
  margin-top: var(--space-20);
  color: var(--text-secondary);
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0;
}

.platform-redesign :is(.feature-card h3, .capability-bento-card h3),
.site-page :is(.feature-card h3, .component-grid h3, .cooperation-grid h3, .deployment-list strong, .product-link span, .community-join-card h3, .wechat-card strong),
.enterprise-page--pricing :is(.pricing-card h3, .enterprise-contact-card strong),
.tutorials-page--curated :is(.tutorial-featured-card h3, .tutorial-side-card h3, .tutorial-video-card h3, .tutorial-route-card h3) {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: -0.01em;
}

.community-page .repo-card h3,
.community-page .repo-card .repo-card-top h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0;
}

.enterprise-page--pricing .enterprise-talk-section {
  background:
    linear-gradient(90deg, rgba(9, 14, 34, 0.28) 0%, rgba(9, 14, 34, 0.08) 46%, rgba(9, 14, 34, 0) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(135deg, #5420d9 0%, #145ce8 100%);
}

.enterprise-page--pricing .enterprise-talk-copy h2,
.enterprise-page--pricing .enterprise-talk-copy .eyebrow {
  color: #ffffff;
  text-shadow: 0 16px 40px rgba(7, 12, 30, 0.18);
}

.enterprise-page--pricing .enterprise-talk-copy p.eyebrow {
  color: #ffffff;
}

.enterprise-page--pricing .enterprise-talk-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.86);
  text-shadow: 0 10px 28px rgba(7, 12, 30, 0.16);
}

.site-page.im-product-page .im-dark-section {
  background:
    linear-gradient(rgba(255, 255, 255, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.052) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(116, 43, 255, 0.2), transparent 38%),
    #090d1c;
}

.site-page.im-product-page .im-dark-copy h2 {
  color: #ffffff;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.site-page.im-product-page .im-dark-copy .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.site-page.im-product-page .im-dark-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
}

.site-page.sdk-page .final-cta h2 {
  color: #ffffff;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.site-page.sdk-page .final-cta .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.site-page.sdk-page .final-cta p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.88);
}

/* SDK hero parity with the platform hero: same page rhythm, unrestricted visual. */
.site-page.sdk-page .sdk-hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 4vw, 64px);
  min-height: calc(100svh - var(--layout-header));
  padding-top: calc(var(--layout-header) + clamp(72px, 8vw, 104px));
  padding-bottom: clamp(72px, 9vw, 120px);
}

.site-page.sdk-page .sdk-hero-copy {
  max-width: 640px;
}

.site-page.sdk-page .sdk-hero-copy h1 {
  max-width: 640px;
}

.site-page.sdk-page .sdk-hero-copy .hero-subtitle {
  max-width: 620px;
}

.site-page.sdk-page .sdk-hero-visual {
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  contain: none;
}

.site-page.sdk-page .sdk-hero-image {
  position: static;
  justify-self: center;
  width: 100%;
  max-width: 760px;
  height: auto;
  object-fit: contain;
  transform: none;
  filter: none;
}

@media (max-width: 1180px) {
  .site-page.sdk-page .sdk-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
    padding-top: calc(var(--layout-header) + 64px);
  }

  .site-page.sdk-page .sdk-hero-copy {
    max-width: 720px;
  }

  .site-page.sdk-page .sdk-hero-image {
    position: static;
    left: auto;
    justify-self: center;
    width: 100%;
    max-width: 760px;
    transform: none;
  }
}

@media (max-width: 760px) {
  .site-page.sdk-page .sdk-hero {
    gap: 32px;
    min-height: auto;
    padding-top: calc(var(--layout-header) + 44px);
    padding-bottom: 64px;
  }

  .site-page.sdk-page .sdk-hero-image {
    width: 100%;
    max-width: 620px;
    transform: none;
  }
}

@media (max-width: 760px) {
  .platform-redesign .platform-hero-copy,
  .site-page .page-hero-copy,
  .site-page.sdk-page .sdk-hero-copy,
  .site-page.community-page .community-hero-copy,
  .enterprise-page--pricing .enterprise-pricing-hero-inner,
  .tutorials-page--curated .tutorials-hero-copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .platform-redesign .platform-hero-copy h1,
  .site-page .page-hero h1,
  .site-page.sdk-page .sdk-hero h1,
  .site-page.community-page .community-hero-copy h1,
  .enterprise-page--pricing .enterprise-pricing-hero h1,
  .tutorials-page--curated h1,
  .tutorials-page--curated .tutorials-hero h1 {
    max-width: 100%;
    font-size: clamp(36px, 9.4vw, 40px);
    line-height: 1.18;
    overflow-wrap: break-word;
  }

  .platform-redesign h2,
  .site-page h2,
  .site-page.sdk-page h2,
  .enterprise-page--pricing h2,
  .tutorials-page--curated h2,
  .tutorials-page--curated .tutorial-section-head h2 {
    font-size: clamp(32px, 8.8vw, 36px);
    line-height: 1.22;
  }

  .platform-redesign :is(.hero-subtitle, .platform-hero-copy .hero-subtitle),
  .site-page :is(.hero-subtitle, .page-hero-copy .hero-subtitle, .sdk-hero-copy .hero-subtitle, .community-hero-copy .hero-subtitle),
  .enterprise-page--pricing .enterprise-pricing-hero p:not(.eyebrow),
  .tutorials-page--curated :is(.tutorials-hero p:not(.eyebrow), .tutorial-hero p:not(.eyebrow), section:first-child p:not(.eyebrow)) {
    max-width: 100%;
    font-size: 16px;
    line-height: 26px;
    overflow-wrap: break-word;
  }
}

/* Tutorials page reference-layout refresh: clean license-page style spacing. */
.tutorials-page--curated {
  --tutorial-max: 1320px;
  --tutorial-gutter: clamp(24px, 5vw, 72px);
  background: #fff;
}

.tutorials-page--curated .tutorials-hero,
.tutorial-start-section,
.tutorial-video-section,
.tutorial-practice-section,
.tutorial-routing-section {
  width: min(100%, var(--tutorial-max));
  max-width: var(--tutorial-max);
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--tutorial-gutter);
  padding-left: var(--tutorial-gutter);
}

.tutorials-page--curated .tutorials-hero {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding-top: calc(var(--layout-header) + 92px);
  padding-bottom: 108px;
  background: #fff;
}

.tutorials-page--curated .tutorials-hero-copy {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.tutorials-page--curated .tutorials-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #8f61bd;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.tutorials-page--curated .tutorials-hero h1 {
  max-width: none;
  margin: 0;
  color: #17152b;
  font-size: clamp(46px, 4.2vw, 64px);
  font-weight: 760;
  line-height: 1;
  letter-spacing: -0.02em;
}

.tutorials-page--curated .tutorials-hero .hero-subtitle {
  max-width: 560px;
  margin: 18px auto 0;
  color: #697082;
  font-size: 17px;
  line-height: 1.7;
}

.tutorial-start-section,
.tutorial-video-section,
.tutorial-practice-section,
.tutorial-routing-section {
  padding-top: 64px;
  padding-bottom: 76px;
  background: #fff;
}

.tutorial-video-section,
.tutorial-routing-section {
  background: #fff;
  background-size: auto;
}

.tutorial-section-head,
.tutorial-practice-copy {
  max-width: 560px;
  margin-bottom: 38px;
}

.tutorial-section-head .eyebrow,
.tutorial-practice-copy .eyebrow {
  color: #8f61bd;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tutorials-page--curated .tutorial-section-head h2,
.tutorials-page--curated .tutorial-practice-copy h2,
.tutorials-page--curated h2 {
  margin: 0;
  color: #17152b;
  font-size: clamp(34px, 3vw, 44px);
  font-weight: 760;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.tutorial-section-head p:not(.eyebrow),
.tutorial-practice-copy p {
  max-width: 560px;
  margin: 20px 0 0;
  color: #697082;
  font-size: 17px;
  line-height: 1.62;
}

.tutorial-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tutorial-path-card {
  display: grid;
  min-height: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  text-decoration: none;
}

.tutorial-path-card:hover {
  border-color: transparent;
  box-shadow: none;
  transform: translateY(-3px);
}

.tutorial-path-card::after {
  display: none;
}

.tutorial-path-visual {
  order: 1;
  min-height: 260px;
  margin: 0 0 22px;
  padding: 28px;
  overflow: hidden;
  border: 0;
  border-radius: 7px;
  background:
    radial-gradient(circle at 70% 25%, rgba(116, 43, 255, 0.22), transparent 28%),
    linear-gradient(135deg, #111833 0%, #1e5bff 55%, #f2f5ff 100%);
  box-shadow: none;
}

.tutorial-path-card:nth-child(2) .tutorial-path-visual {
  background:
    radial-gradient(circle at 76% 28%, rgba(55, 179, 255, 0.35), transparent 26%),
    linear-gradient(135deg, #102033 0%, #175a8d 56%, #eaf7ff 100%);
}

.tutorial-path-card:nth-child(3) .tutorial-path-visual {
  background:
    radial-gradient(circle at 78% 28%, rgba(255, 183, 106, 0.28), transparent 30%),
    linear-gradient(135deg, #2a1b14 0%, #7d5a49 55%, #f5efe8 100%);
}

.tutorial-path-visual--image,
.tutorial-path-visual--sdk-image,
.tutorial-path-visual--server-image {
  aspect-ratio: 1466 / 1073;
  min-height: 0;
  padding: 0;
  background: #f7fbff;
}

.tutorial-path-visual--server-image {
  background: #f4f3ff;
  aspect-ratio: 1466 / 1073;
}

.tutorial-path-visual--image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tutorial-path-visual--sdk-image img,
.tutorial-path-visual--server-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.tutorial-path-visual--server-image img {
  object-fit: cover;
  transform: scale(1.12);
}

.tutorial-path-visual span {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.88);
  color: #17152b;
}

.tutorial-path-visual i {
  background: rgba(255, 255, 255, 0.62);
}

.tutorial-path-number {
  order: 2;
  width: fit-content;
  min-height: 30px;
  margin-bottom: 12px;
  padding: 0;
  background: transparent;
  color: #8f61bd;
  font-size: 13px;
  font-weight: 700;
}

.tutorial-path-card h3 {
  order: 3;
  margin: 0;
  color: #17152b;
  font-size: clamp(22px, 1.7vw, 28px);
  font-weight: 760;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.tutorial-path-card p {
  order: 4;
  margin: 12px 0 0;
  color: #697082;
  font-size: 16px;
  line-height: 1.62;
}

.tutorial-path-card strong {
  order: 5;
  margin-top: 18px;
  color: #17152b;
  font-size: 15px;
}

.tutorial-video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.tutorial-video-card {
  display: grid;
  align-content: start;
  min-height: 100%;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(226, 232, 243, 0.95);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.tutorial-video-card:hover {
  border-color: rgba(116, 43, 255, 0.24);
  box-shadow: 0 22px 56px rgba(15, 23, 42, 0.11);
  transform: translateY(-3px);
}

.tutorial-video-cover {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  background: #080f1a;
}

.tutorial-video-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 56% 48%, rgba(116, 43, 255, 0.2), transparent 26%),
    linear-gradient(180deg, rgba(8, 15, 26, 0), rgba(8, 15, 26, 0.18));
}

.tutorial-video-cover img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 260ms ease;
}

.tutorial-video-card:hover .tutorial-video-cover img {
  transform: scale(1.055);
}

.tutorial-video-cover .play-icon {
  position: relative;
  z-index: 2;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #fff;
  color: #742bff;
  box-shadow: 0 16px 36px rgba(116, 43, 255, 0.28);
  transition: transform 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.tutorial-video-cover .play-icon > svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}

.tutorial-video-card:hover .tutorial-video-cover .play-icon {
  color: #742bff;
  transform: scale(1.04);
  box-shadow: 0 18px 42px rgba(116, 43, 255, 0.36);
}

.tutorials-page--curated .tutorial-video-card h3 {
  margin: 18px 0 0;
  padding: 0;
  color: #17152b;
  font-size: 22px;
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: 0;
}

.tutorials-page--curated .tutorial-video-card p {
  margin: 12px 0 0;
  padding: 0;
  color: #7a8294;
  font-size: 15px;
  line-height: 1.58;
}

.tutorial-practice-section {
  display: block;
}

.tutorial-practice-copy {
  position: static;
}

.tutorial-practice-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.78fr);
  gap: 48px;
}

.tutorial-practice-list {
  border-top: 1px solid #ececf2;
}

.tutorial-practice-list a {
  border-bottom: 1px solid #ececf2;
}

.tutorial-practice-list a:hover,
.tutorial-practice-list a:focus-visible {
  background: #faf7ff;
}

.tutorial-practice-list h3 {
  color: #17152b;
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 740;
  line-height: 1.18;
}

.tutorial-practice-list p {
  color: #697082;
}

.tutorial-practice-preview {
  border: 1px solid #ececf2;
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(143, 97, 189, 0.08) 1px, transparent 1px),
    #fbfbfd;
  background-size: 54px 100%, auto;
  box-shadow: none;
}

.tutorial-routing-section {
  padding-bottom: 104px;
}

.tutorial-route-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tutorial-route-card {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.tutorial-route-card:hover {
  border-color: transparent;
  box-shadow: none;
  transform: translateY(-3px);
}

.tutorial-route-card span {
  color: #17152b;
  font-size: 26px;
  font-weight: 760;
}

.tutorial-route-card p {
  color: #697082;
}

@media (max-width: 1180px) {
  .tutorial-path-grid,
  .tutorial-video-grid,
  .tutorial-route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tutorial-practice-showcase {
    grid-template-columns: minmax(0, 1fr);
  }

  .tutorial-practice-preview {
    position: relative;
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .tutorials-page--curated .tutorials-hero {
    min-height: 280px;
    padding-top: calc(var(--layout-header) + 54px);
    padding-bottom: 70px;
  }

  .tutorials-page--curated .tutorials-hero h1 {
    font-size: clamp(42px, 13vw, 52px);
  }

  .tutorial-start-section,
  .tutorial-video-section,
  .tutorial-practice-section,
  .tutorial-routing-section {
    padding-top: 52px;
    padding-bottom: 58px;
  }

  .tutorial-path-grid,
  .tutorial-video-grid,
  .tutorial-route-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tutorial-path-visual {
    min-height: 210px;
  }

  .tutorial-practice-showcase {
    gap: 28px;
  }
}

.tutorials-page--curated .tutorial-resource-section {
  width: 100%;
  max-width: none;
  margin-top: clamp(56px, 7vw, 96px);
  padding: clamp(40px, 5vw, 56px) max(var(--tutorial-gutter), calc((100vw - var(--tutorial-max)) / 2 + var(--tutorial-gutter))) clamp(68px, 7vw, 84px);
  background: #fff;
}

.tutorials-page--curated .tutorial-resource-head {
  max-width: none;
  margin-bottom: clamp(38px, 5vw, 58px);
  text-align: center;
}

.tutorials-page--curated .tutorial-resource-head h2 {
  margin: 0;
  color: #11131a;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: 0;
}

.tutorials-page--curated .tutorial-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.3vw, 32px);
}

.tutorials-page--curated .tutorial-resource-card {
  display: flex;
  min-height: 250px;
  padding: 32px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(30, 35, 54, 0.12);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(33, 37, 56, 0.035);
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.tutorials-page--curated .tutorial-resource-card:hover,
.tutorials-page--curated .tutorial-resource-card:focus-visible {
  border-color: rgba(103, 78, 255, 0.28);
  box-shadow: 0 22px 48px rgba(46, 42, 84, 0.08);
  transform: translateY(-3px);
}

.tutorials-page--curated .tutorial-resource-card:focus-visible {
  outline: 3px solid rgba(103, 78, 255, 0.18);
  outline-offset: 4px;
}

.tutorials-page--curated .tutorial-resource-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 14px;
  background: #f0ecff;
  color: #6948ff;
  font-size: 0;
}

.tutorials-page--curated .tutorial-resource-icon svg {
  width: 24px;
  height: 24px;
}

.tutorials-page--curated .tutorial-resource-title {
  margin: 0 0 12px;
  color: #151823;
  font-size: 20px;
  font-weight: 760;
  line-height: 1.3;
}

.tutorials-page--curated .tutorial-resource-card p {
  max-width: 32ch;
  margin: 0;
  color: #666b76;
  font-size: 15px;
  line-height: 1.75;
}

.tutorials-page--curated .tutorial-resource-card strong {
  display: inline-flex;
  margin-top: auto;
  align-items: center;
  gap: 8px;
  color: #5b3fff;
  font-size: 15px;
  font-weight: 720;
  line-height: 1.2;
}

.tutorials-page--curated .tutorial-resource-card strong svg {
  width: 15px;
  height: 15px;
  transition: transform 180ms ease;
}

.tutorials-page--curated .tutorial-resource-card:hover strong svg,
.tutorials-page--curated .tutorial-resource-card:focus-visible strong svg {
  transform: translate(2px, -2px);
}

.tutorials-page--curated .tutorial-resource-card:nth-child(3):hover strong svg,
.tutorials-page--curated .tutorial-resource-card:nth-child(3):focus-visible strong svg {
  transform: translateX(3px);
}

@media (max-width: 980px) {
  .tutorials-page--curated .tutorial-resource-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .tutorials-page--curated .tutorial-resource-section {
    margin-top: 40px;
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .tutorials-page--curated .tutorial-resource-card {
    min-height: 232px;
    padding: 28px;
  }
}

/* SDK overview bento: keep the reference-style dark module insulated from global section resets. */
.site-page.sdk-page .sdk-capability-section {
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-float);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 18% 12%, rgba(61, 124, 255, 0.25), transparent 30%),
    radial-gradient(circle at 82% 82%, rgba(116, 43, 255, 0.3), transparent 34%),
    #141126;
  background-size: 88px 88px, 88px 88px, auto, auto, auto;
}

.site-page.sdk-page .sdk-capability-section::before {
  display: none;
  content: none;
}

.site-page.sdk-page .sdk-capability-section .eyebrow,
.site-page.sdk-page .sdk-insight-panel > span {
  color: #c7b3ff;
}

.site-page.sdk-page .sdk-capability-section .section-copy h2,
.site-page.sdk-page .sdk-insight-panel h3 {
  color: #fff;
  letter-spacing: 0;
}

.site-page.sdk-page .sdk-capability-section .section-copy p,
.site-page.sdk-page .sdk-insight-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.site-page.sdk-page .sdk-insight-bento {
  margin-top: clamp(36px, 5vw, 58px);
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(10, 8, 24, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(2px);
}

.site-page.sdk-page .sdk-insight-panel {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(20, 17, 38, 0.58);
}

.site-page.sdk-page .sdk-insight-panel--copy {
  background:
    radial-gradient(circle at 8% 14%, rgba(116, 43, 255, 0.14), transparent 32%),
    rgba(20, 17, 38, 0.72);
}

.site-page.sdk-page .sdk-insight-panel--visual {
  background:
    radial-gradient(circle at 52% 50%, rgba(255, 255, 255, 0.11), transparent 46%),
    linear-gradient(135deg, rgba(116, 43, 255, 0.2), rgba(61, 124, 255, 0.09)),
    rgba(20, 17, 38, 0.74);
}

.site-page.sdk-page .sdk-insight-panel--image {
  padding: 0;
  background: #0e0a24;
}

.site-page.sdk-page .sdk-insight-metrics strong,
.site-page.sdk-page .sdk-insight-list li {
  color: #fff;
}

.site-page.sdk-page .sdk-insight-metrics em {
  color: rgba(255, 255, 255, 0.58);
}

.site-page.sdk-page .sdk-insight-panel--resources {
  align-content: center;
  justify-items: start;
  place-items: initial;
  background:
    radial-gradient(circle at 20% 82%, rgba(255, 239, 172, 0.22), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(119, 229, 255, 0.18), transparent 30%),
    linear-gradient(145deg, rgba(184, 167, 255, 0.28), rgba(61, 124, 255, 0.1)),
    rgba(20, 17, 38, 0.76);
}

.site-page.sdk-page .sdk-insight-panel--resources h3 {
  max-width: 620px;
  font-size: clamp(28px, 3vw, 42px);
}

.site-page.sdk-page .sdk-flow-mini {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr) 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  margin-top: 30px;
}

.site-page.sdk-page .sdk-flow-mini strong {
  display: grid;
  min-height: 74px;
  padding: 14px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.site-page.sdk-page .sdk-flow-mini strong:nth-of-type(2) {
  background: linear-gradient(135deg, #742bff, #3d7cff);
  box-shadow: 0 18px 46px rgba(80, 58, 216, 0.24);
}

.site-page.sdk-page .sdk-flow-mini i {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(185, 156, 255, 0.9));
}

.site-page.sdk-page .sdk-resource-mini-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin-top: 28px;
}

.site-page.sdk-page .sdk-resource-mini-list a {
  display: grid;
  gap: 7px;
  min-height: 92px;
  padding: 16px;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.site-page.sdk-page .sdk-resource-mini-list a:hover,
.site-page.sdk-page .sdk-resource-mini-list a:focus-visible {
  border-color: rgba(199, 179, 255, 0.56);
  background: rgba(255, 255, 255, 0.14);
  outline: none;
  transform: translateY(-2px);
}

.site-page.sdk-page .sdk-resource-mini-list strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
}

.site-page.sdk-page .sdk-resource-mini-list span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  .site-page.sdk-page .sdk-insight-panel {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .site-page.sdk-page .sdk-capability-section {
    border-radius: 24px;
  }

  .site-page.sdk-page .sdk-insight-panel {
    padding: 28px;
  }

  .site-page.sdk-page .sdk-insight-panel--image {
    padding: 0;
  }

  .site-page.sdk-page .sdk-insight-panel h3 {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.12;
  }

  .site-page.sdk-page .sdk-insight-metrics,
  .site-page.sdk-page .sdk-resource-mini-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-page.sdk-page .sdk-insight-metrics {
    gap: 16px;
  }

  .site-page.sdk-page .sdk-flow-mini {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-page.sdk-page .sdk-flow-mini i {
    width: 2px;
    height: 26px;
    justify-self: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(185, 156, 255, 0.9));
  }
}

/* IM page client path: reference-style image cards with floating content panels. */
.site-page.im-product-page .im-client-path-section {
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-float);
  background:
    radial-gradient(circle at 12% 8%, rgba(116, 43, 255, 0.08), transparent 34%),
    linear-gradient(180deg, #fbfcff 0%, #f6f8ff 100%),
    #fbfcff;
}

.site-page.im-product-page .im-client-options--cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.4vw, 34px);
  overflow: visible;
  border: 0;
}

.site-page.im-product-page .im-client-options--cards article + article {
  border-left: 0;
}

.site-page.im-product-page .im-client-option {
  display: grid;
  grid-template-rows: 156px auto;
  min-height: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
}

.site-page.im-product-page .im-client-option-visual {
  position: relative;
  overflow: hidden;
  min-height: 176px;
  border-radius: 24px 24px 12px 12px;
  background:
    radial-gradient(circle at 26% 26%, rgba(255, 255, 255, 0.82) 0 10%, transparent 11%),
    radial-gradient(circle at 74% 22%, rgba(116, 43, 255, 0.26), transparent 28%),
    linear-gradient(135deg, #eef5ff, #ded8ff);
}

.site-page.im-product-page .im-client-option-visual::before,
.site-page.im-product-page .im-client-option-visual::after {
  content: "";
  position: absolute;
  border-radius: 18px;
}

.site-page.im-product-page .im-client-option-visual::before {
  inset: 26px 24px auto;
  height: 74px;
  background:
    linear-gradient(#dfe5f0 0 0) 18px 18px / 38% 8px no-repeat,
    linear-gradient(#c9d2e2 0 0) 18px 38px / 62% 8px no-repeat,
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 42px rgba(32, 28, 64, 0.08);
}

.site-page.im-product-page .im-client-option-visual::after {
  right: 22px;
  bottom: 22px;
  width: 42%;
  height: 74px;
  background:
    linear-gradient(#ffffff 0 0) 16px 18px / 54% 8px no-repeat,
    linear-gradient(#d7caff 0 0) 16px 40px / 72% 8px no-repeat,
    linear-gradient(135deg, rgba(116, 43, 255, 0.72), rgba(61, 124, 255, 0.64));
  box-shadow: 0 18px 42px rgba(47, 64, 170, 0.18);
}

.site-page.im-product-page .im-client-option--sdk .im-client-option-visual {
  background: #f4f0ff;
}

.site-page.im-product-page .im-client-option--sdk .im-client-option-visual::before,
.site-page.im-product-page .im-client-option--sdk .im-client-option-visual::after {
  display: none;
}

.site-page.im-product-page .im-client-option-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.site-page.im-product-page .im-client-option-visual--image::before,
.site-page.im-product-page .im-client-option-visual--image::after {
  display: none;
}

.site-page.im-product-page .im-client-option--client .im-client-option-visual--image {
  background: #f2f0ff;
}

.site-page.im-product-page .im-client-option--client .im-client-option-visual--image img {
  object-position: center 42%;
}

.site-page.im-product-page .im-client-option--demo .im-client-option-visual {
  background:
    radial-gradient(circle at 72% 24%, rgba(61, 124, 255, 0.2), transparent 28%),
    linear-gradient(135deg, #eef8ff, #e9f3f0);
}

.site-page.im-product-page .im-client-option--demo .im-client-option-visual::before {
  background:
    linear-gradient(#16b78f 0 0) 18px 18px / 28% 8px no-repeat,
    linear-gradient(#d7e4ef 0 0) 18px 38px / 68% 8px no-repeat,
    rgba(255, 255, 255, 0.8);
}

.site-page.im-product-page .im-client-option--demo .im-client-option-visual::after {
  background:
    radial-gradient(circle at 20% 50%, #2cc99f 0 12%, transparent 13%),
    linear-gradient(#ffffff 0 0) 44px 18px / 42% 8px no-repeat,
    linear-gradient(#ffffff 0 0) 44px 40px / 58% 8px no-repeat,
    linear-gradient(135deg, #31d6a7, #3d7cff);
}

.site-page.im-product-page .im-client-option--client .im-client-option-visual {
  background:
    radial-gradient(circle at 24% 24%, rgba(255, 255, 255, 0.84) 0 10%, transparent 11%),
    radial-gradient(circle at 76% 18%, rgba(61, 124, 255, 0.2), transparent 30%),
    linear-gradient(135deg, #f3f7ff, #e6ecff);
}

.site-page.im-product-page .im-client-option--client .im-client-option-visual::before {
  left: 28px;
  right: auto;
  width: 42%;
  height: 116px;
  border-radius: 22px 22px 0 0;
  background:
    linear-gradient(#ecf0f8 0 0) 18px 18px / 62% 8px no-repeat,
    linear-gradient(#d7caff 0 0) 18px 42px / 76% 9px no-repeat,
    linear-gradient(#fff 0 0) 18px 70px / 54% 16px no-repeat,
    rgba(255, 255, 255, 0.86);
}

.site-page.im-product-page .im-client-option--client .im-client-option-visual::after {
  width: 48%;
  background:
    linear-gradient(#fff 0 0) 16px 18px / 58% 8px no-repeat,
    linear-gradient(#d7caff 0 0) 16px 40px / 68% 8px no-repeat,
    linear-gradient(135deg, #742bff, #3d7cff);
}

.site-page.im-product-page .im-client-option-body {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 230px;
  margin: -52px 14px 0;
  padding: clamp(24px, 2.4vw, 32px);
  align-content: start;
  border: 1px solid rgba(228, 232, 243, 0.92);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 50px rgba(32, 28, 64, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-page.im-product-page .im-client-option:hover .im-client-option-body {
  border-color: rgba(116, 43, 255, 0.24);
  box-shadow: 0 26px 62px rgba(32, 28, 64, 0.12);
  transform: translateY(-4px);
}

.site-page.im-product-page .im-client-option h3 {
  margin: 0;
  color: #14244a;
  font-family: var(--font-display);
  font-size: clamp(21px, 1.9vw, 27px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0;
}

.site-page.im-product-page .im-client-option p {
  margin: 16px 0 0;
  color: #596578;
  font-size: 15px;
  line-height: 1.68;
}

.site-page.im-product-page .im-client-option-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  margin-top: auto;
  padding-top: 24px;
}

.site-page.im-product-page .im-client-option .text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #334155;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.site-page.im-product-page .im-client-option .text-link:hover,
.site-page.im-product-page .im-client-option .text-link:focus-visible {
  color: #742bff;
  outline: none;
}

@media (max-width: 980px) {
  .site-page.im-product-page .im-client-options--cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .site-page.im-product-page .im-client-option {
    grid-template-rows: 140px auto;
  }
}

@media (max-width: 760px) {
  .site-page.im-product-page .im-client-path-section {
    border-radius: 24px;
  }

  .site-page.im-product-page .im-client-option-body {
    min-height: 0;
    margin-right: 10px;
    margin-left: 10px;
    padding: 24px;
  }

  .site-page.im-product-page .im-client-option h3 {
    font-size: 22px;
  }
}

/* Tutorials deep-dive list: remove the right preview frame and keep the list balanced. */
.tutorials-page--curated .tutorial-practice-showcase {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.tutorials-page--curated .tutorial-practice-list {
  width: min(100%, 920px);
}

.tutorials-page--curated .tutorial-practice-preview {
  display: none;
}

/* Unified OpenIM icon system: Lucide UI icons and Simple Icons brand marks. */
:where([data-icon], [data-brand-icon]) {
  display: inline-grid;
  place-items: center;
  color: currentColor;
  line-height: 0;
}

:where([data-icon], [data-brand-icon]) > svg {
  display: block;
  width: 24px;
  height: 24px;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-brand-icon] > svg {
  fill: currentColor;
  stroke: none;
}

.mega-icon,
.im-feature-icon,
.tutorial-resource-icon,
.process-flow-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(116, 43, 255, 0.1);
  color: #742bff;
}

.process-flow-icon {
  background: #fff;
  box-shadow:
    0 0 0 12px rgba(255, 255, 255, 0.96),
    0 12px 30px rgba(32, 28, 64, 0.08);
}

.mega-icon::before,
.mega-icon::after {
  content: none !important;
  display: none !important;
}

.mega-icon > svg,
.tutorial-resource-icon > svg,
.process-flow-icon > svg {
  width: 20px;
  height: 20px;
}

.im-feature-icon > svg,
.feature-icon > svg,
.community-pulse-icon > svg {
  width: 24px;
  height: 24px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(116, 43, 255, 0.1);
  color: #742bff;
  font-size: 0;
}

.inline-list-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: #742bff;
}

.inline-list-icon > svg {
  width: 16px;
  height: 16px;
}

.im-feature-matrix .inline-list-icon {
  color: #0e1117;
}

.enterprise-plan-card .inline-list-icon,
.enterprise-capability-copy .inline-list-icon {
  color: var(--enterprise-purple);
}

.pricing-card .inline-list-icon {
  color: var(--pricing-purple);
}

.inline-list-icon--circle {
  width: 20px;
  height: 20px;
  margin-top: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.inline-list-icon--circle > svg {
  width: 12px;
  height: 12px;
}

.eyebrow-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: currentColor;
}

.eyebrow-icon > svg {
  width: 16px;
  height: 16px;
}

.text-link-icon {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  color: currentColor;
}

.text-link-icon > svg {
  width: 15px;
  height: 15px;
}

.play-icon {
  display: grid;
  place-items: center;
  color: #742bff;
}

.play-icon > svg {
  width: 24px;
  height: 24px;
  margin-left: 2px;
  fill: currentColor;
  stroke: none;
}

.tutorial-video-card:hover .play-icon,
.tutorial-featured-card:hover .tutorial-featured-media .play-icon {
  color: #fff;
}

.tutorial-video-card:hover .tutorial-video-cover .play-icon {
  color: #742bff;
}

.tutorial-resource-card strong [data-icon] {
  display: inline-grid;
  margin-left: 6px;
  vertical-align: -3px;
}

.tutorial-resource-card strong [data-icon] > svg {
  width: 16px;
  height: 16px;
}

.sdk-platform-strip [data-brand-icon] > svg,
.sdk-platform-strip .brand-fallback {
  width: 28px;
  height: 28px;
}

.sdk-platform-strip .brand-fallback {
  display: grid;
  place-items: center;
  color: currentColor;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.compare-mark {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #16a34a;
  font-size: 0;
}

.compare-mark--muted {
  color: #a8b0c2;
}

.compare-mark > svg {
  width: 18px;
  height: 18px;
}

.community-page .repo-octicon,
.community-page .repo-arrow,
.community-page .repo-stat [data-icon],
.community-page .repo-stat > svg {
  flex: 0 0 auto;
}

.community-page .repo-octicon {
  width: 15px;
  height: 15px;
  margin-right: 8px;
  color: #6b7280;
}

.community-page .repo-octicon > svg {
  width: 15px;
  height: 15px;
}

.community-page .repo-arrow {
  width: 17px;
  height: 17px;
  color: #6b7280;
  transition: color 160ms ease, transform 160ms ease;
}

.community-page .repo-arrow > svg {
  width: 17px;
  height: 17px;
}

.community-page .repo-stat > svg {
  width: 12px;
  height: 12px;
}

.platform-redesign .platform-hero-copy,
.site-page .page-hero-copy,
.site-page.sdk-page .sdk-hero-copy,
.community-page .community-hero-copy,
.enterprise-page--pricing .enterprise-pricing-hero-inner,
.tutorials-page--curated .tutorials-hero-copy {
  max-width: min(640px, calc(100vw - 40px));
  min-width: 0;
}

@media (max-width: 760px) {
  .platform-redesign .platform-hero,
  .site-page .page-hero,
  .site-page.sdk-page .sdk-hero,
  .community-page .community-hero,
  .enterprise-page--pricing .enterprise-pricing-hero,
  .tutorials-page--curated .tutorials-hero {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .platform-redesign .platform-hero-copy,
  .site-page .page-hero-copy,
  .site-page.sdk-page .sdk-hero-copy,
  .community-page .community-hero-copy,
  .enterprise-page--pricing .enterprise-pricing-hero-inner,
  .tutorials-page--curated .tutorials-hero-copy {
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    min-width: 0 !important;
  }

  .platform-redesign .platform-hero-copy h1,
  .site-page .page-hero h1,
  .site-page.sdk-page .sdk-hero h1,
  .community-page .community-hero-copy h1,
  .enterprise-page--pricing .enterprise-pricing-hero h1,
  .tutorials-page--curated h1,
  .tutorials-page--curated .tutorials-hero h1,
  .platform-redesign .platform-hero-copy .hero-subtitle,
  .site-page .page-hero-copy .hero-subtitle,
  .site-page.sdk-page .sdk-hero-copy .hero-subtitle,
  .community-page .community-hero-copy .hero-subtitle,
  .enterprise-page--pricing .enterprise-pricing-hero p:not(.eyebrow),
  .tutorials-page--curated .tutorials-hero .hero-subtitle {
    max-width: 100% !important;
    overflow-wrap: break-word;
    white-space: normal !important;
  }
}
