:root {
  color-scheme: dark;
  /* Deepest base; kept pitch black so the aurora glow reads against it. */
  --site-bg: #050505;
  /* App background aurora stops (AppTheme.background, dark). */
  --site-navy: #0d0f1a;
  --site-navy-2: #171829;
  --site-surface: rgba(20, 22, 38, 0.62);
  --site-surface-2: rgba(15, 17, 31, 0.72);
  --site-panel: rgba(255, 255, 255, 0.05);
  --site-panel-strong: rgba(255, 255, 255, 0.08);
  --site-border: rgba(255, 255, 255, 0.1);
  --site-border-strong: rgba(255, 255, 255, 0.16);
  /* Frosted-glass surface treatment, matching the app's GlassElevation. */
  --site-glass-border: rgba(255, 255, 255, 0.14);
  --site-glass-highlight: rgba(255, 255, 255, 0.22);
  --site-text: rgba(255, 255, 255, 0.94);
  --site-muted: rgba(255, 255, 255, 0.72);
  --site-faint: rgba(255, 255, 255, 0.5);
  --site-accent: #8c85fa;
  --site-accent-2: #5cbdfa;
  --site-accent-3: #fa75bd;
  --site-green: #5cd98c;
  --site-radius: 16px;
  --site-radius-sm: 11px;
  --site-radius-pill: 999px;
  --site-max: 1160px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--site-navy);
  color: var(--site-text);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  /* Deep navy gradient with the pitch-black base showing through at the foot. */
  background:
    linear-gradient(180deg, var(--site-navy-2), var(--site-navy) 46%, var(--site-bg) 100%);
}

/* Restrained aurora glow — purple, sky-blue, and pink, matching AppTheme. */
body::before {
  content: "";
  position: fixed;
  inset: -10% -10% 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(46% 38% at 16% 4%, rgba(140, 133, 250, 0.28), transparent 60%),
    radial-gradient(40% 34% at 88% 0%, rgba(92, 189, 250, 0.22), transparent 58%),
    radial-gradient(52% 40% at 70% 30%, rgba(250, 117, 189, 0.12), transparent 62%);
  filter: blur(8px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.4) 620px, transparent 1100px);
}

a {
  color: inherit;
}

button {
  font: inherit;
}

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

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.skip-link {
  position: fixed;
  display: inline-flex;
  align-items: center;
  left: 12px;
  top: 12px;
  z-index: 100;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #fff;
  color: #050505;
  font-size: 13px;
  font-weight: 800;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--site-border);
  background: rgba(13, 15, 26, 0.72);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(26px) saturate(1.4);
  -webkit-backdrop-filter: blur(26px) saturate(1.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--site-max), calc(100vw - 40px));
  min-height: 58px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: 0;
  text-decoration: none;
}

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

.brand span {
  color: var(--site-text);
  font-size: 14px;
  font-weight: 800;
}

.menu-toggle {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--site-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--site-text);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-5px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(5px);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: rotate(-45deg);
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--site-muted);
  font-size: 13px;
  font-weight: 650;
}

nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 40px;
  padding: 0 4px;
  border-radius: 999px;
  text-decoration: none;
  transition:
    background 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease,
    opacity 0.18s ease;
}

nav a:hover {
  color: var(--site-text);
}

nav a.is-active {
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--site-accent-2);
  outline-offset: 3px;
}

main {
  width: min(var(--site-max), calc(100vw - 40px));
  margin: 0 auto;
}

.hero {
  padding: clamp(26px, 3.6vw, 44px) 0 clamp(14px, 2vw, 22px);
  text-align: center;
}

.hero-copy {
  max-width: 780px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin: 0 auto 16px;
  color: var(--site-text);
  font-size: clamp(34px, 4.2vw, 50px);
  font-weight: 680;
  line-height: 1;
  text-wrap: balance;
}

h2 {
  margin-bottom: 14px;
  color: var(--site-text);
  font-size: clamp(32px, 4.7vw, 58px);
  font-weight: 650;
  line-height: 1;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  color: var(--site-text);
  font-size: 20px;
}

.lede,
.section p {
  color: var(--site-muted);
  font-size: 17px;
  line-height: 1.66;
}

.lede {
  max-width: 640px;
  margin: 0 auto;
  font-size: clamp(16px, 1.6vw, 18px);
}

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

.hero-platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
}

.hero-platforms a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border: 1px solid var(--site-border);
  border-radius: 999px;
  padding: 0 11px;
  background: rgba(255, 255, 255, 0.028);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 12px;
  font-weight: 760;
}

.hero-platforms a::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.22);
}

.hero-platforms a:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.primary-action,
.secondary-action,
.download-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 22px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.primary-action {
  background: linear-gradient(135deg, var(--site-accent), var(--site-accent-2));
  color: #0b0d18;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 18px 46px rgba(140, 133, 250, 0.34);
}

.primary-action:hover {
  filter: brightness(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 22px 56px rgba(140, 133, 250, 0.42);
}

.download-card a {
  border: 1px solid rgba(140, 133, 250, 0.5);
  background:
    linear-gradient(135deg, rgba(140, 133, 250, 0.22), rgba(92, 189, 250, 0.12)),
    rgba(255, 255, 255, 0.03);
  color: #fff;
}

.download-card a:hover {
  border-color: rgba(140, 133, 250, 0.8);
  background:
    linear-gradient(135deg, rgba(140, 133, 250, 0.32), rgba(92, 189, 250, 0.18)),
    rgba(255, 255, 255, 0.05);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
}

.secondary-action:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.075);
  color: #fff;
}

.download-note {
  width: fit-content;
  max-width: 100%;
  margin: 14px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 999px;
  padding: 2px 12px;
  background: rgba(255, 255, 255, 0.032);
  color: var(--site-muted);
  font-size: 14px;
}

.download-note a,
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.28);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.download-note a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.product-stage {
  position: relative;
  overflow: hidden;
  width: min(100%, 1040px);
  margin: clamp(8px, 1.6vw, 18px) auto 0;
  margin-bottom: clamp(18px, 2.4vw, 30px);
  padding: clamp(4px, 0.9vw, 10px) 0 clamp(14px, 2.2vw, 26px);
  perspective: 1800px;
}

.halo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(72vw, 780px);
  height: min(34vw, 380px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 48%, rgba(92, 189, 250, 0.18), transparent 48%),
    radial-gradient(circle at 64% 35%, rgba(140, 133, 250, 0.13), transparent 44%);
  filter: blur(42px);
  opacity: 0.68;
  transform: translate(-50%, -50%);
}

.app-window {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--site-glass-border);
  border-radius: 16px;
  background: var(--site-navy);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 34px 92px rgba(5, 6, 14, 0.7),
    0 0 60px rgba(140, 133, 250, 0.14);
}

.app-window-main {
  z-index: 2;
  width: min(100%, 960px);
  height: clamp(330px, 38vw, 500px);
  margin: 0 auto;
  transform: translateY(0) scale(0.99);
}

.app-window-main::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 72px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(13, 15, 26, 0.92));
}

.app-window-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.app-window-main picture {
  display: block;
  height: calc(100% - 38px);
}

.app-window-side {
  display: none;
}

.app-window-left {
  left: -2%;
  transform: translateY(34px) rotateY(20deg) rotateZ(-2deg);
}

.app-window-right {
  right: 1%;
  width: min(19%, 190px);
  transform: translateY(-18px) rotateY(-18deg) rotateZ(2deg);
}

.window-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.window-bar span:nth-child(1) {
  background: #ff5f57;
}

.window-bar span:nth-child(2) {
  background: #febc2e;
}

.window-bar span:nth-child(3) {
  background: #28c840;
}

.window-bar strong {
  position: absolute;
  left: 50%;
  color: var(--site-faint);
  font-size: 12px;
  font-weight: 700;
  transform: translateX(-50%);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 980px);
  margin: clamp(12px, 2vw, 18px) auto clamp(34px, 5vw, 58px);
  text-align: left;
}

.proof-strip span {
  display: flex;
  min-height: 92px;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--site-glass-border);
  border-radius: var(--site-radius);
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--site-surface-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px) saturate(1.25);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
  color: var(--site-muted);
  font-size: 13px;
  line-height: 1.45;
}

.proof-strip strong {
  display: block;
  margin-bottom: 4px;
  color: var(--site-text);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  scroll-margin-top: 76px;
  padding: clamp(64px, 8vw, 104px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head p {
  margin-bottom: 0;
}

.row-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.docs-grid,
.download-grid,
.steps,
.publish-grid,
.hosting-grid {
  display: grid;
  gap: 14px;
}

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

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

.steps,
.publish-grid,
.hosting-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.doc-card,
.download-card,
.release-panel,
.code-card,
.steps article,
.publish-grid article,
.hosting-grid article,
.status-list {
  border: 1px solid var(--site-glass-border);
  border-radius: var(--site-radius);
  background:
    linear-gradient(180deg, var(--site-glass-highlight), transparent 64px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    var(--site-surface);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 70px rgba(5, 6, 14, 0.5);
  backdrop-filter: blur(28px) saturate(1.3);
  -webkit-backdrop-filter: blur(28px) saturate(1.3);
}

.doc-card,
.download-card,
.steps article,
.publish-grid article,
.hosting-grid article {
  transition:
    border-color 0.18s ease,
    transform 0.18s ease,
    background 0.18s ease;
}

.doc-card:hover,
.download-card:hover,
.steps article:hover,
.publish-grid article:hover,
.hosting-grid article:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    var(--site-surface);
  transform: translateY(-2px);
}

.doc-card {
  display: flex;
  min-height: 236px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  text-decoration: none;
}

.doc-card.is-featured {
  background:
    linear-gradient(145deg, rgba(140, 133, 250, 0.15), rgba(92, 189, 250, 0.05)),
    var(--site-surface);
}

.doc-card span,
.publish-grid span,
.code-card > span {
  color: var(--site-faint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.doc-card strong {
  display: block;
  margin-top: auto;
  color: var(--site-text);
  font-size: 21px;
}

.doc-card p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.55;
}

.download-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 22px;
}

.download-card p {
  flex: 1;
  font-size: 15px;
}

.download-meta {
  display: block;
  margin-top: 13px;
  overflow-wrap: anywhere;
  color: var(--site-faint);
  font-size: 12px;
  line-height: 1.45;
}

.release-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 18px;
  padding: 22px;
}

.release-status {
  margin: 0;
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.55;
}

.asset-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.asset-list > a,
.asset-group {
  min-width: 0;
  border-radius: var(--site-radius-sm);
  background: rgba(255, 255, 255, 0.045);
}

.asset-list > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 16px;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
}

.asset-group {
  padding: 14px;
}

.asset-group h4 {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.asset-link {
  display: block;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.asset-link span,
.asset-link small {
  display: block;
  overflow-wrap: anywhere;
}

.asset-link span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 800;
}

.asset-link small {
  margin-top: 3px;
  color: var(--site-faint);
  font-size: 12px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: 36px;
  align-items: center;
}

.code-card {
  padding: 22px;
  overflow: hidden;
}

.code-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.copy-command {
  min-height: 40px;
  border: 1px solid var(--site-border-strong);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.copy-command:hover {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

pre {
  margin: 16px 0 0;
  color: rgba(183, 247, 211, 0.9);
  overflow-x: auto;
  overflow-y: hidden;
  overflow-wrap: normal;
  white-space: pre;
  word-break: normal;
  line-height: 1.65;
  -webkit-overflow-scrolling: touch;
}

pre code {
  display: block;
  min-width: max-content;
}

.steps article,
.publish-grid article,
.hosting-grid article {
  padding: 22px;
}

.steps strong,
.hosting-grid strong {
  color: var(--site-text);
  font-size: 18px;
}

.steps p,
.publish-grid p,
.hosting-grid p {
  margin: 10px 0 0;
  font-size: 15px;
}

.publishing-section {
  padding-bottom: clamp(52px, 7vw, 86px);
}

.status-list {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.status-list span {
  padding: 13px 14px;
  border-radius: var(--site-radius-sm);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 34px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--site-faint);
  font-size: 14px;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: rgba(255, 255, 255, 0.56);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

@media (max-width: 960px) {
  .docs-grid,
  .download-grid,
  .steps,
  .publish-grid,
  .hosting-grid,
  .asset-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .release-panel,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 40px;
  }

  .app-window-side {
    display: none;
  }

  .app-window-main {
    transform: none;
  }

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

@media (max-width: 720px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
  }

  nav {
    flex-wrap: wrap;
    gap: 6px;
  }

  nav a {
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--site-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
  }

  nav a.is-active {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  }
}

@media (max-width: 640px) {
  body.menu-open {
    overflow: hidden;
  }

  main,
  .header-inner {
    width: min(100% - 24px, var(--site-max));
  }

  .site-header {
    position: static;
  }

  .menu-ready .site-header {
    position: sticky;
    background: rgba(13, 15, 26, 0.985);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .menu-ready .header-inner {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 12px;
    min-height: 64px;
  }

  .menu-ready .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    overflow: visible;
    padding-bottom: 2px;
  }

  .menu-ready nav {
    display: none;
    position: fixed;
    top: calc(64px + env(safe-area-inset-top));
    right: 0;
    left: 0;
    z-index: 19;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 10px;
    height: calc(100vh - 64px - env(safe-area-inset-top));
    height: calc(100dvh - 64px - env(safe-area-inset-top));
    width: auto;
    padding: 18px 12px max(18px, env(safe-area-inset-bottom));
    overflow-y: auto;
    border: 0;
    border-top: 1px solid var(--site-border);
    border-radius: 0;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
      rgba(13, 15, 26, 0.985);
    box-shadow: 0 22px 64px rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(18px) saturate(1.05);
    -webkit-backdrop-filter: blur(18px) saturate(1.05);
  }

  .menu-ready nav.is-open {
    display: grid;
  }

  nav a {
    justify-content: center;
    min-height: 40px;
    min-width: 0;
    padding: 0 8px;
    font-size: 12px;
    white-space: nowrap;
  }

  .menu-ready nav a {
    justify-content: flex-start;
    min-height: 54px;
    padding: 0 16px;
    border-radius: var(--site-radius-sm);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
  }

  .menu-ready nav a.is-active {
    background: rgba(255, 255, 255, 0.075);
    color: #fff;
  }

  .hero {
    padding: 24px 0 14px;
  }

  h1 {
    font-size: clamp(28px, 7.7vw, 32px);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .lede,
  .section p {
    font-size: 15.5px;
    line-height: 1.58;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 18px;
  }

  .hero-platforms {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-platforms a {
    justify-content: center;
    min-height: 38px;
    padding: 0 8px;
    font-size: 11.5px;
  }

  .docs-grid,
  .download-grid,
  .steps,
  .publish-grid,
  .hosting-grid,
  .asset-list {
    grid-template-columns: 1fr;
  }

  .primary-action,
  .secondary-action,
  .download-card a {
    width: 100%;
    min-height: 44px;
    padding: 0 10px;
    font-size: 13px;
  }

  .product-stage {
    margin-top: 12px;
    padding-top: 0;
  }

  .app-window-main {
    height: clamp(160px, 48vw, 210px);
  }

  .proof-strip {
    grid-template-columns: 1fr;
    margin-top: 8px;
    margin-bottom: 42px;
  }

  .download-note {
    display: none;
  }

  .window-bar strong {
    display: none;
  }

  .section {
    scroll-margin-top: 76px;
    padding: 58px 0;
  }

  .row-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .doc-card,
  .download-card {
    min-height: 0;
  }

  .code-card {
    padding: 18px;
  }

  .code-card-head {
    gap: 12px;
  }

  pre {
    font-size: 13.5px;
    line-height: 1.58;
    overflow-x: visible;
    white-space: pre-wrap;
  }

  pre code {
    min-width: 0;
  }

  .site-footer {
    align-items: center;
    flex-direction: column;
    gap: 6px;
    padding: 30px 20px;
    text-align: center;
  }

  .site-footer a {
    min-height: 36px;
  }
}

@media (max-width: 480px) {
  .app-window-main {
    width: min(74vw, 238px);
    height: clamp(232px, 76vw, 286px);
    border-radius: 18px;
  }

  .app-window-main .window-bar {
    display: none;
  }

  .app-window-main picture {
    height: 100%;
  }

  .app-window-main img {
    object-position: top center;
  }
}

@media (max-width: 390px) {
  .brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    padding-top: 22px;
  }
}

@media (max-width: 360px) {
  nav a {
    min-height: 40px;
    padding: 0 6px;
    font-size: 11.5px;
  }

  .primary-action,
  .secondary-action {
    padding: 0 8px;
    font-size: 12px;
  }

  .code-card {
    padding: 16px;
  }

  pre {
    font-size: 13px;
  }

  .app-window-main {
    width: min(74vw, 230px);
    height: clamp(226px, 76vw, 276px);
  }
}
