:root {
  color-scheme: light dark;
  --bg: #f5f5f7;
  --bg-elevated: #fbfbfd;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --surface-solid: #ffffff;
  --surface-muted: #ececf1;
  --ink: #101116;
  --muted: #5f626d;
  --faint: #6c707a;
  --line: rgba(16, 17, 22, 0.1);
  --line-strong: rgba(16, 17, 22, 0.16);
  --accent: #6757df;
  --accent-deep: #4d3ec5;
  --accent-soft: #eeecff;
  --warm: #dd7452;
  --green: #2daf5d;
  --amber: #d69321;
  --dark: #101116;
  --dark-surface: #191a20;
  --dark-line: rgba(255, 255, 255, 0.11);
  --shadow-sm: 0 10px 32px -24px rgba(22, 22, 32, 0.34), 0 1px 2px rgba(22, 22, 32, 0.06);
  --shadow-md: 0 24px 70px -42px rgba(20, 20, 30, 0.48), 0 4px 16px rgba(20, 20, 30, 0.05);
  --shadow-lg: 0 50px 120px -58px rgba(16, 17, 25, 0.58), 0 18px 42px rgba(16, 17, 25, 0.12);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace;
  --max: 1240px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --spring: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #090a0d;
    --bg-elevated: #0d0e12;
    --surface: rgba(25, 26, 32, 0.72);
    --surface-strong: rgba(25, 26, 32, 0.9);
    --surface-solid: #15161b;
    --surface-muted: #111217;
    --ink: #f5f5f7;
    --muted: #a4a6af;
    --faint: #858996;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.17);
    --accent: #8d7fff;
    --accent-deep: #a69bff;
    --accent-soft: rgba(112, 91, 232, 0.16);
    --warm: #ee8762;
    --green: #47ce73;
    --amber: #efb34b;
    --shadow-sm: 0 12px 34px -22px rgba(0, 0, 0, 0.76), 0 1px 2px rgba(0, 0, 0, 0.42);
    --shadow-md: 0 28px 78px -40px rgba(0, 0, 0, 0.84), 0 5px 18px rgba(0, 0, 0, 0.34);
    --shadow-lg: 0 52px 130px -54px rgba(0, 0, 0, 0.92), 0 18px 48px rgba(0, 0, 0, 0.46);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  font-size: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--ink);
  background: var(--bg);
  font: 400 1rem/1.6 var(--sans);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

button {
  color: inherit;
}

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

img {
  display: block;
  max-width: 100%;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[hidden] {
  display: none !important;
}

.wrap {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: 28px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: #4d3ec5;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.pressable {
  transform: translateZ(0);
  transition:
    transform 160ms var(--spring),
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 220ms ease,
    color 180ms ease;
}

.pressable:active {
  transform: scale(0.97);
  transition-duration: 90ms;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface-strong);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.36) inset, var(--shadow-sm);
  font-size: 0.88rem;
  font-weight: 720;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button-primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #765ff0, #5542ce);
  box-shadow: 0 12px 30px -18px rgba(91, 70, 211, 0.82), 0 1px 0 rgba(255, 255, 255, 0.22) inset;
}

.button-secondary {
  background: color-mix(in srgb, var(--surface-solid) 82%, transparent);
}

.button-large {
  min-height: 54px;
  padding: 15px 23px;
  font-size: 0.97rem;
}

.button-light {
  border-color: transparent;
  color: #111217;
  background: #f7f7fa;
}

.button-dark-ghost {
  border-color: rgba(255, 255, 255, 0.17);
  color: #f6f6f8;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: none;
}

@media (hover: hover) {
  .button:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--accent) 42%, var(--line-strong));
    box-shadow: var(--shadow-md);
  }

  .button-primary:hover {
    border-color: transparent;
    box-shadow: 0 18px 42px -20px rgba(91, 70, 211, 0.95), 0 1px 0 rgba(255, 255, 255, 0.22) inset;
  }

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

  .button.pressable:active {
    transform: scale(0.97);
  }
}

.nav {
  position: fixed;
  z-index: 50;
  top: 12px;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.nav-inner {
  width: min(calc(100% - 24px), var(--max));
  height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding-inline: 15px;
  border: 1px solid transparent;
  border-radius: 20px;
  background: transparent;
  pointer-events: auto;
  transition:
    background-color 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    backdrop-filter 260ms ease;
}

.nav.scrolled .nav-inner,
.nav.menu-open .nav-inner {
  border-color: color-mix(in srgb, var(--line) 86%, transparent);
  background: color-mix(in srgb, var(--surface-strong) 84%, transparent);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  border-radius: 12px;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  box-shadow: 0 7px 18px -10px rgba(16, 17, 22, 0.58);
}

.brand > span {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand strong {
  font-size: 0.98rem;
  font-weight: 840;
  letter-spacing: 0.025em;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 630;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.nav-links a {
  padding: 9px 11px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 660;
  transition: color 160ms ease, background-color 160ms ease, transform 120ms ease;
}

.nav-links a:active {
  transform: scale(0.96);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.nav-download {
  min-height: 44px;
  padding: 10px 15px;
  font-size: 0.8rem;
  box-shadow: 0 9px 24px -18px rgba(91, 70, 211, 0.95);
}

.nav-download svg {
  width: 16px;
  height: 16px;
}

.lang {
  position: relative;
}

.lang-button,
.menu-button {
  border: 1px solid transparent;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.lang-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 11px;
  font-size: 0.78rem;
  font-weight: 680;
}

.lang-button > svg:first-child {
  width: 18px;
  height: 18px;
}

.lang-button .chevron {
  width: 12px;
  height: 12px;
  transition: transform 220ms var(--spring);
}

.lang.open .chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  min-width: 174px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-md);
  transform-origin: calc(100% - 20px) 0;
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  animation: menu-materialize 240ms var(--spring) both;
}

.lang-menu button {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  font-size: 0.8rem;
  font-weight: 620;
  text-align: left;
  cursor: pointer;
}

.lang-menu button .tick {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  opacity: 0;
  transform: scale(0.65);
  transition: opacity 160ms ease, transform 180ms var(--spring);
}

.lang-menu button.on {
  color: var(--ink);
  background: var(--accent-soft);
}

.lang-menu button.on .tick {
  opacity: 1;
  transform: scale(1);
}

.menu-button {
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  padding: 0;
  border-radius: 12px;
}

.menu-button span {
  position: absolute;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 260ms var(--spring);
}

.menu-button span:first-child {
  transform: translateY(-3.5px);
}

.menu-button span:last-child {
  transform: translateY(3.5px);
}

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

.menu-button[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu {
  position: relative;
  width: min(calc(100% - 24px), var(--max));
  margin-top: 8px;
  padding-block: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-md);
  pointer-events: auto;
  transform-origin: calc(100% - 28px) 0;
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  backdrop-filter: blur(26px) saturate(170%);
  animation: menu-materialize 260ms var(--spring) both;
}

.lang-menu.is-closing,
.mobile-menu.is-closing {
  pointer-events: none;
  animation: menu-dematerialize 150ms cubic-bezier(0.4, 0, 1, 1) both;
}

.mobile-menu a {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 10px 15px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 660;
}

.mobile-menu .mobile-release {
  margin-top: 5px;
  color: #fff;
  background: linear-gradient(135deg, #765ff0, #5542ce);
  justify-content: center;
}

@keyframes menu-materialize {
  from {
    opacity: 0;
    transform: translateY(-7px) scale(0.96);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes menu-dematerialize {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  to {
    opacity: 0;
    transform: translateY(-7px) scale(0.96);
    filter: blur(6px);
  }
}

@media (hover: hover) {
  .nav-links a:hover,
  .lang-button:hover,
  .menu-button:hover {
    color: var(--ink);
    background: var(--surface);
  }

  .lang-menu button:hover,
  .mobile-menu a:hover {
    color: var(--ink);
    background: var(--surface-muted);
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 108px 0 76px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 36%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg-elevated) 64%, transparent), var(--bg));
}

.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-ambient i {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.82;
}

.hero-ambient i:nth-child(1) {
  top: 110px;
  left: -7vw;
  width: 33vw;
  height: 33vw;
  background: radial-gradient(circle, color-mix(in srgb, var(--warm) 13%, transparent), transparent 68%);
}

.hero-ambient i:nth-child(2) {
  top: 30px;
  right: -4vw;
  width: 37vw;
  height: 37vw;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 17%, transparent), transparent 68%);
}

.hero-ambient i:nth-child(3) {
  bottom: 5%;
  left: 31%;
  width: 32vw;
  height: 18vw;
  background: radial-gradient(ellipse, color-mix(in srgb, #56a8ff 10%, transparent), transparent 70%);
}

.hero-inner {
  position: relative;
}

.hero-copy {
  max-width: 1050px;
  margin-inline: auto;
  text-align: center;
}

.release-pill {
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line));
  border-radius: 999px;
  color: var(--accent-deep);
  background: color-mix(in srgb, var(--accent-soft) 64%, var(--surface));
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0.012em;
}

.release-pill svg {
  width: 15px;
  height: 15px;
}

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

.hero h1 {
  max-width: 1120px;
  margin: 24px auto 0;
  font-size: clamp(3.15rem, 6.3vw, 5.75rem);
  font-weight: 760;
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero-lede {
  max-width: 820px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.55;
  letter-spacing: -0.018em;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

.trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 630;
}

.trust-row > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-row svg {
  width: 17px;
  height: 17px;
  color: var(--accent);
}

.hero-visual {
  position: relative;
  max-width: 1160px;
  margin: 36px auto 0;
  padding-inline: 34px;
}

.hero-shot {
  position: relative;
  aspect-ratio: 2.45 / 1;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line-strong) 84%, transparent);
  border-radius: 32px;
  background: #121318;
  box-shadow: var(--shadow-lg);
}

.hero-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset;
  pointer-events: none;
}

.hero-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
}

.hero-visual figcaption {
  margin-top: 16px;
  color: var(--faint);
  font-size: 0.75rem;
  font-weight: 570;
  text-align: center;
}

.floating-note {
  position: absolute;
  z-index: 2;
  min-width: 190px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-radius: 15px;
  background: color-mix(in srgb, var(--surface-strong) 89%, transparent);
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(22px) saturate(175%);
  backdrop-filter: blur(22px) saturate(175%);
}

.floating-note b,
.floating-note small {
  display: block;
  line-height: 1.2;
}

.floating-note b {
  font-size: 0.75rem;
  font-weight: 760;
}

.floating-note small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 560;
}

.note-icon {
  width: 31px;
  height: 31px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  color: var(--accent);
  background: var(--accent-soft);
}

.note-icon svg {
  width: 17px;
  height: 17px;
}

.note-auth {
  top: 18%;
  left: -16px;
}

.note-health {
  top: 37%;
  right: -12px;
  min-width: 166px;
}

.note-family {
  right: 2%;
  bottom: 11%;
}

.status-light {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--green) 15%, transparent);
}

.signal-strip {
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 66%, transparent);
}

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

.signal-grid a {
  min-height: 82px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 26px;
  border-right: 1px solid var(--line);
  transition: background-color 180ms ease, transform 110ms ease, opacity 110ms ease;
}

.signal-grid a:active,
.mobile-menu a:active {
  transform: scale(0.985);
  opacity: 0.72;
}

.signal-grid a:first-child {
  border-left: 1px solid var(--line);
}

.signal-grid b {
  font-size: 0.85rem;
  font-weight: 780;
  letter-spacing: -0.012em;
}

.signal-grid span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 570;
}

@media (hover: hover) {
  .signal-grid a:hover {
    background: var(--surface);
  }
}

.section {
  position: relative;
  padding: 128px 0;
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 58px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 13px;
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 790;
  line-height: 1.2;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5.2vw, 4.9rem);
  font-weight: 730;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.section-heading p,
.section-lede {
  margin: 21px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.62;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}

.flow-section {
  background: var(--bg-elevated);
}

.route-map {
  display: grid;
  grid-template-columns: 1fr 0.37fr 1.12fr 0.37fr 1fr 0.37fr 1fr;
  align-items: center;
  margin-top: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface-solid) 92%, transparent), color-mix(in srgb, var(--accent-soft) 32%, var(--surface-solid)));
  box-shadow: var(--shadow-sm);
}

.route-node {
  position: relative;
  min-height: 188px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: color-mix(in srgb, var(--surface-solid) 86%, transparent);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.route-node-accent {
  border-color: color-mix(in srgb, var(--accent) 38%, var(--line));
  background:
    radial-gradient(circle at 90% 5%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 40%),
    color-mix(in srgb, var(--accent-soft) 58%, var(--surface-solid));
}

.route-number {
  position: absolute;
  top: 14px;
  right: 15px;
  color: var(--faint);
  font: 600 0.65rem/1 var(--mono);
}

.route-node small {
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 780;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.route-node strong {
  margin-top: 13px;
  font-size: clamp(1.05rem, 1.6vw, 1.33rem);
  font-weight: 730;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.route-node em {
  margin-top: 10px;
  color: var(--muted);
  font: normal 550 0.71rem/1.35 var(--mono);
}

.route-arrow {
  display: flex;
  align-items: center;
  color: var(--accent);
}

.route-arrow span {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 18%, transparent), var(--accent));
}

.route-arrow svg {
  width: 18px;
  height: 18px;
  margin-left: -5px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.value-card {
  min-height: 270px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: var(--surface-solid);
  box-shadow: var(--shadow-sm);
}

.value-icon,
.bento-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--accent);
  background: var(--accent-soft);
}

.value-icon svg,
.bento-icon svg {
  width: 22px;
  height: 22px;
}

.value-card h3,
.bento-card h3 {
  margin: 52px 0 0;
  font-size: 1.28rem;
  font-weight: 720;
  line-height: 1.18;
  letter-spacing: -0.034em;
}

.value-card p,
.bento-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.install-section {
  background:
    radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--warm) 7%, transparent), transparent 30%),
    var(--bg);
}

.install-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
  gap: clamp(48px, 7vw, 96px);
}

.install-copy {
  padding-top: 18px;
}

.install-copy h2,
.contract-copy h2 {
  font-size: clamp(2.5rem, 5.2vw, 5rem);
}

.install-copy .section-lede {
  margin-inline: 0;
}

.install-steps {
  display: grid;
  gap: 0;
  margin: 38px 0 28px;
  padding: 0;
  list-style: none;
}

.install-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding-bottom: 25px;
}

.install-steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 31px;
  bottom: 1px;
  left: 16px;
  width: 1px;
  background: var(--line-strong);
}

.install-steps li > span {
  width: 34px;
  height: 34px;
  display: grid;
  position: relative;
  z-index: 1;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: 50%;
  color: var(--accent);
  background: var(--bg);
  font: 700 0.72rem/1 var(--mono);
}

.install-steps h3 {
  margin: 2px 0 0;
  font-size: 1rem;
  font-weight: 730;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.install-steps p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 3px;
  border-radius: 8px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 720;
}

.text-link svg {
  width: 17px;
  height: 17px;
  transition: transform 180ms var(--spring);
}

.grok-caveat {
  max-width: 520px;
  margin: 13px 0 0;
  color: var(--faint);
  font-size: 0.7rem;
  line-height: 1.5;
}

@media (hover: hover) {
  .text-link:hover svg {
    transform: translateX(3px);
  }
}

.install-visual {
  position: sticky;
  top: 108px;
  margin: 0;
}

.install-shot {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 27px;
  background: #111217;
  box-shadow: var(--shadow-lg);
}

.install-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset;
  pointer-events: none;
}

.install-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.install-visual figcaption {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 6px 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.warning-dot {
  width: 18px;
  height: 18px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  margin-top: 1px;
  border-radius: 50%;
  color: #fff;
  background: var(--amber);
  font-size: 0.68rem;
  font-weight: 800;
}

.proof-section {
  overflow: hidden;
  color: #f5f5f7;
  background:
    radial-gradient(circle at 15% 0%, rgba(101, 81, 225, 0.24), transparent 33%),
    radial-gradient(circle at 88% 22%, rgba(220, 112, 79, 0.12), transparent 28%),
    #0c0d11;
}

.proof-section .eyebrow {
  color: #a99fff;
}

.proof-section .section-heading p {
  color: #a7a9b2;
}

.showcase {
  overflow: hidden;
  border: 1px solid var(--dark-line);
  border-radius: 30px;
  background: #15161c;
  box-shadow: 0 56px 120px -58px rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.showcase-tabs {
  display: flex;
  gap: 5px;
  padding: 8px;
  border-bottom: 1px solid var(--dark-line);
  background: rgba(255, 255, 255, 0.025);
}

.showcase-tab {
  min-height: 44px;
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: #8e909a;
  background: transparent;
  font-size: 0.79rem;
  font-weight: 680;
  cursor: pointer;
}

.showcase-tab[aria-selected="true"] {
  border-color: rgba(255, 255, 255, 0.09);
  color: #f7f7f9;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 8px 20px -14px rgba(0, 0, 0, 0.78);
}

.tab-status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #555863;
}

.showcase-tab[aria-selected="true"] .tab-status {
  background: #49d075;
  box-shadow: 0 0 0 4px rgba(73, 208, 117, 0.1);
}

.showcase-panels {
  padding: 12px;
}

.showcase-panel {
  position: relative;
  margin: 0;
  animation: panel-arrive 340ms var(--spring) both;
}

.showcase-swipe-hint {
  display: none;
}

.showcase-image-scroll,
.showcase-image-canvas {
  aspect-ratio: 2200 / 1077;
  overflow: hidden;
  position: relative;
}

.showcase-image-scroll {
  overflow: hidden;
  border-radius: 20px;
}

.showcase-image-canvas > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  background: #0d0e12;
}

.showcase-panel figcaption {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 20px 10px 10px;
}

.showcase-panel figcaption span {
  max-width: 760px;
}

.showcase-panel figcaption b,
.showcase-panel figcaption small {
  display: block;
}

.showcase-panel figcaption b {
  font-size: 0.97rem;
  font-weight: 720;
  letter-spacing: -0.018em;
}

.showcase-panel figcaption small {
  margin-top: 5px;
  color: #9d9fa8;
  font-size: 0.77rem;
  line-height: 1.5;
}

.showcase-panel figcaption .capability-note {
  margin-top: 8px;
  color: #d7a36d;
  font-size: 0.7rem;
}

.showcase-panel figcaption em {
  flex: 0 0 auto;
  color: #858994;
  font: normal 580 0.67rem/1.3 var(--mono);
}

@keyframes panel-arrive {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.995);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.contract-section {
  overflow: hidden;
  background: var(--bg-elevated);
}

.contract-ambient {
  position: absolute;
  top: -18%;
  right: -10%;
  width: 48vw;
  height: 48vw;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 9%, transparent), transparent 67%);
  pointer-events: none;
}

.contract-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: clamp(54px, 8vw, 110px);
}

.contract-copy {
  position: relative;
}

.contract-copy > p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.64;
}

.contract-points {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-block: 1px solid var(--line);
}

.contract-points > div {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 12px;
  padding: 17px 0;
}

.contract-points > div + div {
  border-top: 1px solid var(--line);
}

.contract-points > div > span {
  padding-top: 3px;
  color: var(--accent);
  font: 660 0.68rem/1.2 var(--mono);
}

.contract-points p {
  margin: 0;
}

.contract-points b,
.contract-points small {
  display: block;
}

.contract-points b {
  font-size: 0.91rem;
  font-weight: 720;
}

.contract-points small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.5;
}

.contract-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.contract-actions .button-light {
  color: #fff;
  background: #4d3ec5;
}

.contract-actions .button-dark-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.code-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  color: #e5e5ea;
  background:
    radial-gradient(circle at 100% 0%, rgba(110, 86, 232, 0.17), transparent 34%),
    #15161b;
  box-shadow: var(--shadow-lg);
}

.code-top,
.code-status {
  min-height: 52px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.085);
  color: #888b95;
  font: 580 0.7rem/1 var(--mono);
}

.code-top > span {
  display: flex;
  gap: 6px;
}

.code-top i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff5f57;
}

.code-top i:nth-child(2) {
  background: #febc2e;
}

.code-top i:nth-child(3) {
  background: #28c840;
}

.code-top strong {
  color: #bfc1c8;
  font-weight: 620;
}

.code-top em {
  justify-self: end;
  font-style: normal;
}

.code-card pre {
  margin: 0;
  padding: 31px 28px 34px;
  overflow-x: auto;
  color: #b9bbc3;
  font: 500 clamp(0.69rem, 1.3vw, 0.84rem)/1.78 var(--mono);
  tab-size: 2;
}

.code-key {
  color: #ca91e9;
}

.code-string {
  color: #83c9a1;
}

.code-comment {
  color: #858994;
}

.code-status {
  min-height: 54px;
  grid-template-columns: 1fr auto;
  border-top: 1px solid rgba(255, 255, 255, 0.085);
  border-bottom: 0;
}

.code-status > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #77d499;
}

.code-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #41ca70;
  box-shadow: 0 0 0 4px rgba(65, 202, 112, 0.1);
}

.code-status code {
  color: #858994;
}

.core-section {
  background: var(--bg);
}

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

.bento-card {
  min-height: 330px;
  padding: 29px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: var(--surface-solid);
  box-shadow: var(--shadow-sm);
}

.bento-card .bento-label {
  display: inline-block;
  margin-top: 28px;
  color: var(--accent);
  font-size: 0.67rem;
  font-weight: 780;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.bento-card h3 {
  max-width: 520px;
  margin-top: 11px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.bento-card p {
  max-width: 550px;
  font-size: 0.9rem;
}

.bento-monitor {
  min-height: 580px;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  gap: 46px;
  padding: 34px 0 34px 36px;
  background:
    radial-gradient(circle at 8% 5%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 40%),
    var(--surface-solid);
}

.bento-monitor .bento-label {
  margin-top: 0;
}

.bento-monitor img {
  width: 100%;
  height: auto;
  min-height: 420px;
  object-fit: cover;
  object-position: left center;
  border: 1px solid var(--line-strong);
  border-right: 0;
  border-radius: 22px 0 0 22px;
  box-shadow: var(--shadow-md);
}

.download-section {
  padding-top: 70px;
  background: var(--bg);
}

.download-card {
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: 70px;
  padding: clamp(42px, 7vw, 82px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  color: #f7f7f9;
  background:
    radial-gradient(circle at 8% 0%, rgba(115, 90, 235, 0.35), transparent 37%),
    radial-gradient(circle at 95% 100%, rgba(221, 116, 82, 0.2), transparent 34%),
    #111217;
  box-shadow: var(--shadow-lg);
}

.download-glow {
  position: absolute;
  top: -120px;
  right: 16%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(113, 90, 232, 0.16);
  filter: blur(55px);
  pointer-events: none;
}

.download-copy,
.download-side {
  position: relative;
}

.release-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #bbb4ff;
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.release-mark i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #47ce73;
  box-shadow: 0 0 0 5px rgba(71, 206, 115, 0.11);
}

.download-card h2 {
  max-width: 690px;
  margin-top: 18px;
  font-size: clamp(2.6rem, 5.6vw, 5.35rem);
}

.download-copy > p {
  max-width: 660px;
  margin: 23px 0 0;
  color: #aeb0b9;
  font-size: 1.02rem;
  line-height: 1.63;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.download-side {
  display: grid;
  gap: 16px;
}

.platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.platforms > span {
  min-height: 98px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.8rem;
  font-weight: 710;
}

.platforms small {
  margin-top: 5px;
  color: #858892;
  font-size: 0.63rem;
  font-weight: 520;
  line-height: 1.35;
}

.install-command {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.install-command > span {
  display: block;
  margin-bottom: 10px;
  color: #8f929b;
  font-size: 0.66rem;
  font-weight: 690;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.install-command > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.install-command code {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: #e2e3e8;
  font: 500 0.71rem/1.45 var(--mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  min-height: 34px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  color: #d7d8de;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.67rem;
  font-weight: 680;
  cursor: pointer;
}

.copy-button svg {
  width: 15px;
  height: 15px;
}

.copy-status {
  min-height: 1em;
  margin: 7px 0 -8px;
  color: #74d596;
  font-size: 0.65rem;
}

footer {
  padding: 72px 0 42px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.footer-grid > div:first-child > p {
  max-width: 510px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.footer-links a {
  display: inline-flex;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
}

.footer-links a:active {
  opacity: 0.58;
}

.footer-note {
  grid-column: 1 / -1;
  margin: 7px 0 0;
  color: var(--faint);
  font: 540 0.68rem/1.5 var(--mono);
}

@media (hover: hover) {
  .footer-links a:hover {
    color: var(--ink);
  }
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.993);
  transition:
    opacity 480ms ease,
    transform 560ms var(--spring);
  will-change: transform, opacity;
}

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

.value-grid .reveal:nth-child(2),
.bento-grid .reveal:nth-child(2) {
  transition-delay: 50ms;
}

.value-grid .reveal:nth-child(3),
.bento-grid .reveal:nth-child(3) {
  transition-delay: 100ms;
}

.bento-grid .reveal:nth-child(4) {
  transition-delay: 150ms;
}

[lang^="zh"] .hero h1,
[lang="ja"] .hero h1,
[lang="ko"] .hero h1,
[lang^="zh"] .section h2,
[lang="ja"] .section h2,
[lang="ko"] .section h2 {
  letter-spacing: -0.02em;
}

@media (max-width: 1080px) {
  .nav-links {
    gap: 0;
  }

  .nav-links a {
    padding-inline: 8px;
  }

  .lang-button span {
    display: none;
  }

  .lang-button .chevron {
    display: none;
  }

  .route-map {
    grid-template-columns: 1fr 0.24fr 1fr 0.24fr 1fr 0.24fr 1fr;
    padding: 20px;
  }

  .route-node {
    min-height: 174px;
    padding: 18px;
  }

  .install-grid {
    grid-template-columns: 0.86fr 1.14fr;
    gap: 46px;
  }

  .contract-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 52px;
  }

  .download-card {
    gap: 40px;
    padding-inline: 50px;
  }
}

@media (max-width: 880px) {
  .nav-links {
    display: none;
  }

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

  .nav-actions {
    grid-column: 2;
  }

  .menu-button {
    display: grid;
  }

  .hero {
    padding-top: 104px;
  }

  .hero h1 {
    font-size: clamp(3rem, 10.3vw, 5.6rem);
  }

  .hero-visual {
    margin-top: 36px;
    padding-inline: 10px;
  }

  .floating-note {
    min-width: 168px;
  }

  .note-auth {
    left: -10px;
  }

  .note-health {
    right: -5px;
  }

  .route-map {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .route-node {
    min-height: auto;
    padding: 23px;
  }

  .route-arrow {
    width: 32px;
    height: 38px;
    justify-self: center;
    transform: rotate(90deg);
  }

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

  .value-card {
    min-height: 0;
  }

  .value-card h3 {
    margin-top: 34px;
  }

  .install-grid,
  .contract-grid {
    grid-template-columns: 1fr;
  }

  .install-visual {
    position: relative;
    top: auto;
  }

  .contract-copy {
    max-width: 720px;
  }

  .code-card {
    max-width: 720px;
    width: 100%;
    margin-inline: auto;
  }

  .bento-monitor {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 34px 0 0 34px;
  }

  .bento-monitor > div {
    padding-right: 34px;
  }

  .bento-monitor img {
    min-height: 0;
    max-height: 440px;
    border-right: 0;
    border-bottom: 0;
    border-radius: 22px 0 0 0;
  }

  .download-card {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 700px) {
  .wrap {
    padding-inline: 18px;
  }

  .nav {
    top: 8px;
  }

  .nav-inner {
    width: calc(100% - 16px);
    height: 60px;
    padding-inline: 10px;
    border-radius: 17px;
  }

  .brand img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .brand small {
    display: none;
  }

  .nav-download {
    display: none;
  }

  .lang-button,
  .menu-button {
    width: 44px;
    height: 44px;
    min-height: 44px;
    justify-content: center;
    padding: 0;
  }

  .lang-menu {
    right: -48px;
  }

  .mobile-menu {
    width: calc(100% - 16px);
    margin-top: 7px;
  }

  .hero {
    min-height: 0;
    padding: 104px 0 68px;
  }

  .release-pill {
    font-size: 0.7rem;
  }

  .hero h1 {
    margin-top: 18px;
    font-size: clamp(2.62rem, 13.6vw, 4.15rem);
    line-height: 1;
    letter-spacing: -0.04em;
  }

  .hero-lede {
    margin-top: 18px;
    font-size: 0.95rem;
    line-height: 1.56;
  }

  .hero-actions {
    margin-top: 23px;
  }

  .hero-actions .button {
    min-width: 0;
    flex: 1 1 154px;
    padding-inline: 14px;
    font-size: 0.86rem;
  }

  .trust-row {
    display: none;
  }

  .hero-visual {
    margin-top: 34px;
    padding-inline: 0;
  }

  .hero-shot {
    aspect-ratio: 4 / 5;
    border-radius: 23px;
  }

  .hero-shot img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% center;
  }

  .hero-visual figcaption {
    padding-inline: 28px;
  }

  .floating-note {
    min-width: 0;
    padding: 9px 10px;
    border-radius: 13px;
  }

  .floating-note small {
    display: none;
  }

  .floating-note b {
    font-size: 0.68rem;
  }

  .note-icon {
    width: 27px;
    height: 27px;
  }

  .note-auth {
    top: 13%;
    left: -7px;
  }

  .note-health {
    top: auto;
    right: -6px;
    bottom: 17%;
  }

  .note-family {
    display: none;
  }

  .signal-grid {
    grid-template-columns: 1fr;
    padding-block: 6px;
  }

  .signal-grid a,
  .signal-grid a:first-child {
    min-height: 63px;
    padding: 12px 4px;
    border: 0;
  }

  .signal-grid a + a {
    border-top: 1px solid var(--line);
  }

  .section {
    padding: 92px 0;
  }

  .section-heading {
    margin-bottom: 39px;
  }

  .eyebrow {
    font-size: 0.68rem;
  }

  .section h2,
  .install-copy h2,
  .contract-copy h2 {
    font-size: clamp(2.25rem, 12vw, 3.7rem);
    line-height: 1.06;
  }

  .section-heading p,
  .section-lede {
    margin-top: 17px;
    font-size: 0.96rem;
  }

  .route-map {
    padding: 12px;
    border-radius: 24px;
  }

  .route-node {
    border-radius: 17px;
  }

  .value-card,
  .bento-card {
    padding: 23px;
    border-radius: 21px;
  }

  .install-copy {
    padding-top: 0;
  }

  .install-visual {
    margin-top: 2px;
  }

  .install-shot {
    aspect-ratio: 4 / 3;
    border-radius: 22px;
  }

  .install-shot img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 52% center;
  }

  .proof-section {
    padding-bottom: 76px;
  }

  .showcase {
    border-radius: 23px;
  }

  .showcase-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .showcase-tabs::-webkit-scrollbar {
    display: none;
  }

  .showcase-tab {
    min-width: max-content;
    flex: 0 0 auto;
    scroll-snap-align: center;
  }

  .showcase-panels {
    padding: 8px;
  }

  .showcase-image-scroll {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .showcase-swipe-hint {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(14, 15, 20, 0.68);
    box-shadow: 0 7px 18px -12px rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    font: 650 0.76rem/1 var(--mono);
    pointer-events: none;
  }

  .showcase-image-scroll::-webkit-scrollbar {
    display: none;
  }

  .showcase-image-canvas {
    width: 760px;
    scroll-snap-align: start;
  }

  .showcase-image-canvas > img {
    width: 100%;
    max-width: none;
    border-radius: 16px;
  }

  .showcase-panel figcaption {
    display: block;
    padding: 17px 8px 9px;
  }

  .showcase-panel figcaption em {
    display: block;
    margin-top: 12px;
  }

  .contract-grid {
    gap: 46px;
  }

  .contract-actions .button {
    width: 100%;
  }

  .code-top,
  .code-status {
    padding-inline: 14px;
  }

  .code-top em {
    display: none;
  }

  .code-card pre {
    padding: 24px 20px 28px;
    font-size: 0.7rem;
  }

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

  .bento-monitor {
    grid-column: auto;
    padding: 26px 0 0 23px;
  }

  .bento-monitor > div {
    padding-right: 23px;
  }

  .bento-monitor img {
    width: 100%;
    max-width: 100%;
    height: 310px;
    object-position: left center;
  }

  .bento-monitor {
    overflow: hidden;
  }

  .bento-card {
    min-height: 280px;
  }

  .bento-card h3 {
    font-size: 1.75rem;
  }

  .download-section {
    padding-top: 45px;
  }

  .download-card {
    min-height: 0;
    gap: 42px;
    padding: 38px 23px;
    border-radius: 25px;
  }

  .download-card h2 {
    font-size: clamp(2.4rem, 12.5vw, 3.85rem);
  }

  .download-actions .button {
    width: 100%;
  }

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

  .platforms > span {
    min-height: 76px;
  }

  .install-command > div {
    align-items: stretch;
    flex-direction: column;
  }

  .install-command code {
    overflow: visible;
    white-space: normal;
    word-break: break-word;
  }

  .copy-button {
    min-height: 44px;
    justify-content: center;
  }

  footer {
    padding-top: 58px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-note {
    grid-column: auto;
  }
}

@media (max-width: 380px) {
  .brand > span {
    display: none;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .release-pill {
    max-width: 100%;
  }
}

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

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

  .js .reveal,
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .nav.scrolled .nav-inner,
  .nav.menu-open .nav-inner,
  .lang-menu,
  .mobile-menu,
  .floating-note,
  .showcase-swipe-hint {
    background: var(--surface-solid);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .showcase-swipe-hint {
    background: #15161c;
  }
}

@media (prefers-contrast: more) {
  :root {
    --faint: #5f626d;
    --line: rgba(16, 17, 22, 0.32);
    --line-strong: rgba(16, 17, 22, 0.5);
  }

  .nav.scrolled .nav-inner,
  .lang-menu,
  .mobile-menu,
  .floating-note,
  .button {
    background: var(--surface-solid);
  }

  .button-primary {
    background: var(--accent-deep);
  }

  .download-card .button-dark-ghost {
    border-color: #ffffff;
    color: #ffffff;
    background: #111217;
  }
}

@media (prefers-color-scheme: dark) and (prefers-contrast: more) {
  :root {
    --faint: #a4a6af;
    --line: rgba(255, 255, 255, 0.34);
    --line-strong: rgba(255, 255, 255, 0.52);
  }

  .button-primary,
  .contract-actions .button-light {
    color: #ffffff;
    background: #4d3ec5;
  }

  .download-card .button-light {
    color: #111217;
    background: #f7f7fa;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav.scrolled .nav-inner,
  .nav.menu-open .nav-inner,
  .lang-menu,
  .mobile-menu,
  .floating-note {
    background: var(--surface-solid);
  }
}
