:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  --bg: #08090d;
  --bg-2: #0b0d12;
  --surface: #0f1117;
  --surface-2: #141720;
  --surface-3: #191d27;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);
  --text: #f7f8ff;
  --muted: #a3a8b7;
  --dim: #6f7584;
  --accent: #dfe2ec;
  --accent-2: #ffffff;
  --display-accent: #10da5e;
  --display-accent-ink: #04150b;
  --success: #62d78d;
  --danger: #ff6171;
  --shadow: rgba(0, 0, 0, 0.52);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: #08090d;
  color: var(--text);
  text-rendering: geometricPrecision;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 220px),
    linear-gradient(180deg, #0a0b10 0%, #08090d 42%, #07080b 100%);
}

body::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.025), transparent);
  opacity: 0.55;
}

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

button,
a {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}

button {
  cursor: pointer;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  width: min(1120px, calc(100% - 36px));
  min-height: 58px;
  margin: 18px auto 0;
  padding: 8px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(10, 12, 17, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 58px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 4px;
  color: #f4f5fb;
  font-size: 15px;
  font-weight: 720;
}

.brand:hover {
  transform: translateY(-1px);
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.nav-links {
  display: inline-flex;
  justify-content: center;
  gap: 8px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 13px;
}

.nav-links a {
  min-height: 32px;
  padding: 7px 13px;
  border-radius: 999px;
}

.nav-links a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.nav-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-language {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #dfe2ec;
  font: inherit;
  font-size: 13px;
  font-weight: 780;
}

.nav-github {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #dfe2ec;
  font-size: 13px;
  font-weight: 760;
}

.nav-github svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.nav-language:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
}

.nav-github:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
}

main {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  gap: 64px;
  padding: 84px 0 132px;
}

.hero-copy {
  display: grid;
  justify-items: center;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 26px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: #dfe2ec;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-size: 13px;
  font-weight: 650;
}

.pill > span:first-child,
.status-badge i {
  width: 7px;
  flex: 0 0 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 18px rgba(98, 215, 141, 0.68);
}

.pill > span:not(:first-child) {
  min-width: 0;
}

.pill.small {
  margin-bottom: 18px;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  color: #fbfbff;
  font-size: clamp(48px, 6.4vw, 78px);
  font-weight: 680;
  line-height: 0.98;
  letter-spacing: 0;
}

html[lang="zh-CN"] h1 {
  max-width: 1040px;
  font-size: clamp(44px, 5.2vw, 64px);
  line-height: 1.2;
}

.hero-subtitle {
  max-width: 690px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 168px;
  min-height: 44px;
  padding: 0 21px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 760;
}

.primary-button img,
.secondary-button img {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 6px;
  object-fit: contain;
}

.primary-button {
  border: 1px solid rgba(255, 255, 255, 0.86);
  background: #f4f5fb;
  color: #090a0f;
  box-shadow:
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 18px 54px rgba(255, 255, 255, 0.12);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: #f4f5fb;
  color: #090a0f;
  box-shadow:
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 18px 54px rgba(255, 255, 255, 0.1);
}

.primary-button:hover,
.secondary-button:hover,
.nav-github:hover,
.nav-language:hover,
.receiver-fullscreen:hover,
.receiver-actions button:hover,
.mobile-primary:hover,
.mobile-danger:hover {
  transform: translateY(-2px);
}

.primary-button:hover {
  background: #ffffff;
  box-shadow:
    inset 0 -1px 0 rgba(0, 0, 0, 0.08),
    0 22px 66px rgba(255, 255, 255, 0.18);
}

.secondary-button:hover {
  border-color: rgba(255, 255, 255, 0.92);
  background: #ffffff;
  box-shadow:
    inset 0 -1px 0 rgba(0, 0, 0, 0.08),
    0 22px 66px rgba(255, 255, 255, 0.16);
}

.receiver-fullscreen:hover,
.mobile-primary:hover {
  box-shadow: 0 16px 42px rgba(16, 218, 94, 0.24);
}

.mobile-danger:hover {
  box-shadow: 0 16px 42px rgba(255, 97, 113, 0.22);
}

.primary-button:focus-visible,
.secondary-button:focus-visible,
.nav-github:focus-visible,
.nav-language:focus-visible,
.receiver-fullscreen:focus-visible,
.receiver-actions button:focus-visible,
.mobile-primary:focus-visible,
.mobile-danger:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.22);
  outline-offset: 3px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.trust-row span {
  padding: 8px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 13px;
}

.product-preview {
  position: relative;
  --mx: 0;
  --my: 0;
  perspective: 1200px;
}

.product-preview::before {
  content: none;
}

.desktop-window {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 11%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032), transparent 34%, rgba(255, 255, 255, 0.02) 64%, transparent),
    rgba(10, 12, 17, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 38px 130px rgba(0, 0, 0, 0.54);
  transform:
    rotateX(calc(var(--my) * -1.1deg))
    rotateY(calc(var(--mx) * 1.45deg))
    translate3d(calc(var(--mx) * -5px), calc(var(--my) * -4px), 0);
  transform-style: preserve-3d;
  transition: transform 220ms ease-out;
}

.desktop-window::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 46px;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 24px 50%, #ff5f57 0 4px, transparent 4.5px),
    radial-gradient(circle at 42px 50%, #ffbd2e 0 4px, transparent 4.5px),
    radial-gradient(circle at 60px 50%, #28c840 0 4px, transparent 4.5px),
    rgba(12, 14, 20, 0.82);
  backdrop-filter: blur(16px);
  pointer-events: none;
}

.desktop-window::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 1;
  border-radius: 21px;
  background: linear-gradient(118deg, transparent 20%, rgba(255, 255, 255, 0.08) 38%, transparent 56%);
  opacity: 0.32;
  transform: translateX(-48%);
  animation: window-sheen 7s ease-in-out infinite;
  pointer-events: none;
}

.receiver-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 78px 34px 34px;
  background: rgba(8, 10, 15, 0.42);
}

.preview-theme-toggle,
.preview-panel-toggle {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 34px;
  min-height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(15, 17, 23, 0.86);
  color: var(--text);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.preview-theme-toggle {
  top: 58px;
  left: 20px;
  border-radius: 8px;
}

.preview-theme-toggle svg {
  width: 15px;
  height: 15px;
  opacity: 0.82;
}

.preview-panel-toggle {
  top: 58px;
  right: 329px;
  border-radius: 8px 0 0 8px;
}

.preview-panel-toggle span {
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(135deg);
}

.preview-theme-toggle:hover,
.preview-panel-toggle:hover,
.language-chip:hover,
.mobile-header span:hover,
.receiver-copy-row b:hover,
.receiver-quality span:hover,
.mobile-quality span:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
}

.preview-theme-toggle:hover,
.preview-panel-toggle:hover,
.language-chip:hover,
.mobile-header span:hover,
.receiver-copy-row b:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

.status-badge {
  position: absolute;
  top: 58px;
  left: 66px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 17, 23, 0.84);
  color: #eef4f1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-size: 13px;
  font-weight: 730;
}

.android-app-preview {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 13px;
  width: min(340px, 68%);
  min-width: 260px;
  overflow: hidden;
  padding: 24px 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.058), transparent 18%),
    linear-gradient(180deg, #171a23, #0d0f15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 28px 90px var(--shadow);
  transform:
    translate3d(calc(var(--mx) * 16px), calc(var(--my) * 13px), 34px)
    rotateX(calc(var(--my) * -2deg))
    rotateY(calc(var(--mx) * 2.4deg));
  transition: transform 220ms ease-out;
}

.android-app-preview::before {
  content: "";
  position: absolute;
  inset: 9px 35% auto;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.mobile-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
}

.mobile-header img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.mobile-header strong {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 17px;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-header span {
  display: grid;
  place-items: center;
  min-width: 42px;
  min-height: 30px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 12px;
  font-weight: 780;
}

.mobile-status-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 16px 8px 14px;
  text-align: center;
}

.mobile-status-card i {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(98, 215, 141, 0.1);
}

.mobile-status-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 680;
  line-height: 1.14;
}

.mobile-status-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.mobile-primary,
.mobile-danger {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 780;
}

.mobile-primary {
  background: var(--display-accent);
  color: var(--display-accent-ink);
}

.mobile-danger {
  background: rgba(255, 97, 113, 0.94);
}

.mobile-info-card {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.mobile-info-card span {
  color: var(--dim);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.mobile-info-card strong {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  font-weight: 660;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-quality {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.mobile-quality span {
  display: grid;
  place-items: center;
  min-height: 34px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 730;
}

.mobile-quality .is-active {
  background: var(--display-accent);
  color: var(--display-accent-ink);
}

.receiver-panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 0;
  overflow: hidden;
  padding: 68px 24px 20px;
  border-left: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 24%),
    rgba(15, 17, 23, 0.78);
  transform: translate3d(calc(var(--mx) * -8px), calc(var(--my) * -5px), 18px);
  transition: transform 220ms ease-out;
}

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

.language-chip {
  display: grid;
  place-items: center;
  min-width: 48px;
  min-height: 30px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 12px;
  font-weight: 780;
}

.eyebrow {
  margin: 0;
  color: var(--dim);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.receiver-panel h2,
.download-band h2 {
  margin: 0;
}

.receiver-panel h2 {
  font-size: 23px;
  font-weight: 680;
}

.qr-mock {
  align-self: center;
  display: block;
  width: min(100%, 188px);
  aspect-ratio: 1;
  margin: 4px 0;
  border: 10px solid #fff;
  border-radius: 14px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.28);
}

.receiver-fullscreen {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  background: var(--display-accent);
  color: var(--display-accent-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 780;
}

.receiver-panel dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.receiver-panel div {
  gap: 4px;
}

dt {
  color: var(--dim);
  font-size: 12px;
  font-weight: 750;
}

dd {
  margin: 0;
  color: var(--text);
  font-size: 15px;
}

.receiver-select {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 32px;
  padding: 0 34px 0 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #dfe2ed;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.receiver-select i {
  position: absolute;
  right: 13px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
}

.receiver-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.receiver-copy-row span {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.receiver-copy-row b {
  display: grid;
  place-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-size: 12px;
}

.receiver-quality {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.receiver-quality span {
  display: grid;
  place-items: center;
  min-height: 28px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 730;
}

.receiver-quality .is-active {
  background: var(--display-accent);
  color: var(--display-accent-ink);
}

.receiver-actions {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.receiver-actions button {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 780;
}

.receiver-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.receiver-danger {
  background: rgba(255, 97, 113, 0.94);
  color: #fff;
}

.section,
.workflow,
.download-band {
  margin: 0 0 168px;
}

.section h2,
.workflow h2 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 650;
  line-height: 1.08;
}

html[lang="zh-CN"] .section h2,
html[lang="zh-CN"] .workflow h2,
html[lang="zh-CN"] .download-band h2 {
  line-height: 1.32;
}

.section h2 em {
  color: var(--display-accent);
  font-style: normal;
}

.section-lead {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

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

.feature-grid article,
.download-band {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.044), transparent 100px),
    rgba(14, 16, 22, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 20px 70px rgba(0, 0, 0, 0.18);
}

.feature-grid article {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  padding: 24px;
  transition:
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 620ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 620ms cubic-bezier(0.16, 1, 0.3, 1),
    background 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 42%);
  opacity: 0;
  transition: opacity 620ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.feature-grid article:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 26px 84px rgba(0, 0, 0, 0.2);
}

.feature-grid article:hover::after {
  opacity: 1;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: #dfe2ec;
  font-size: 13px;
  font-weight: 800;
}

.feature-grid h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 650;
}

.feature-grid p,
.workflow-flow li span,
.download-band p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  line-height: 1.62;
}

.workflow {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.12fr);
  gap: 48px;
  align-items: center;
}

.workflow-copy {
  position: relative;
}

.workflow-signal {
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(3, 36px);
  gap: 10px;
  margin-top: 18px;
  padding: 8px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.workflow-signal span {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.workflow-signal span::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.72), var(--display-accent));
  transform: translateX(-110%);
  animation: signal-pass 3.2s linear infinite;
}

.workflow-signal span:nth-child(2)::after {
  animation-delay: 1.06s;
}

.workflow-signal span:nth-child(3)::after {
  animation-delay: 2.12s;
}

.workflow-flow {
  position: relative;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 38%),
    rgba(12, 14, 20, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 28px 90px rgba(0, 0, 0, 0.24);
  list-style: none;
}

.workflow-flow::before {
  content: "";
  position: absolute;
  top: 47px;
  bottom: 47px;
  left: 49px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.workflow-flow::after {
  content: "";
  position: absolute;
  top: 48px;
  left: 49px;
  width: 1px;
  height: 58px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, var(--display-accent), transparent);
  filter: drop-shadow(0 0 6px rgba(16, 218, 94, 0.55));
  animation: flow-runner 4.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.workflow-flow li {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 20px 22px 22px 78px;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.028);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  animation: workflow-row 4.8s ease-in-out infinite;
}

.workflow-flow li:nth-child(2) {
  animation-delay: 1.6s;
}

.workflow-flow li:nth-child(3) {
  animation-delay: 3.2s;
}

.workflow-flow li::before {
  content: attr(data-step);
  position: absolute;
  top: 22px;
  left: 13px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: #11141c;
  color: #dfe2ec;
  font-size: 12px;
  font-weight: 780;
}

.workflow-flow li::after {
  content: "";
  position: absolute;
  top: 32px;
  left: 51px;
  right: 22px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.34), transparent);
  opacity: 0.42;
}

.workflow-flow strong {
  position: relative;
  z-index: 1;
  width: fit-content;
  color: #f5f6fb;
  font-size: 18px;
  font-weight: 650;
}

.workflow-flow li span {
  position: relative;
  z-index: 1;
  max-width: 430px;
  color: var(--muted);
}

@keyframes signal-pass {
  0%,
  26% {
    transform: translateX(-110%);
  }
  34%,
  58% {
    transform: translateX(0);
  }
  66%,
  100% {
    transform: translateX(110%);
  }
}

@keyframes flow-runner {
  0%,
  12% {
    transform: translateY(0);
    opacity: 0;
  }
  20%,
  76% {
    opacity: 1;
  }
  88%,
  100% {
    transform: translateY(232px);
    opacity: 0;
  }
}

@keyframes workflow-row {
  0%,
  20%,
  100% {
    background: rgba(255, 255, 255, 0.028);
    transform: translateY(0);
  }
  8%,
  15% {
    background: rgba(255, 255, 255, 0.055);
    transform: translateY(-1px);
  }
}

@keyframes window-sheen {
  0%,
  42% {
    transform: translateX(-58%);
    opacity: 0;
  }
  56% {
    opacity: 0.35;
  }
  82%,
  100% {
    transform: translateX(58%);
    opacity: 0;
  }
}

.download-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
}

.download-band h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 650;
}

.download-band p {
  max-width: 620px;
  margin: 12px 0 0;
}

@media (max-width: 920px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .desktop-window {
    grid-template-columns: 1fr;
  }

  .receiver-panel,
  .preview-panel-toggle {
    display: none;
  }

  .feature-grid,
  .workflow,
  .download-band {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .topbar {
    top: 10px;
    width: min(100% - 20px, 1120px);
    gap: 10px;
    border-radius: 16px;
  }

  .nav-actions {
    gap: 6px;
  }

  .nav-language {
    min-width: 40px;
    padding: 0 10px;
  }

  .nav-github {
    width: 40px;
    min-width: 40px;
    padding: 0;
  }

  .nav-github span {
    display: none;
  }

  main {
    width: min(100% - 20px, 1120px);
  }

  .hero {
    gap: 52px;
    padding: 72px 0 92px;
  }

  h1 {
    font-size: 45px;
  }

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

  .desktop-window {
    grid-template-columns: 1fr;
    min-height: 480px;
    border-radius: 16px;
  }

  .desktop-window::before {
    height: 40px;
  }

  .desktop-window::after {
    border-radius: 15px;
  }

  .receiver-stage {
    padding: 54px 18px 34px;
  }

  .preview-theme-toggle,
  .preview-panel-toggle,
  .status-badge {
    display: none;
  }

  .android-app-preview {
    width: min(320px, 88%);
    min-width: 0;
    transform: none;
  }

  .feature-grid article,
  .workflow-flow li,
  .download-band {
    border-radius: 10px;
  }

  .workflow-flow li {
    padding: 18px 10px 24px 76px;
    border-radius: 10px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 40px;
  }

  .pill {
    font-size: 12px;
  }
}

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

  .desktop-window,
  .android-app-preview,
  .receiver-panel {
    transform: none !important;
  }
}
