:root {
  color-scheme: light;
  --ink: #101828;
  --ink-soft: #344054;
  --muted: #667085;
  --line: #dfe4ea;
  --line-strong: #c9d1dc;
  --paper: #fbfcfd;
  --surface: #ffffff;
  --surface-soft: #f2f5f8;
  --night: #111827;
  --sky: #e7f4ff;
  --blue: #1479bc;
  --orange: #f48120;
  --orange-soft: #fff0e2;
  --green: #16875d;
  --green-soft: #e4f7ef;
  --grid-line: rgba(17, 24, 39, 0.035);
  --nav-border: rgba(201, 209, 220, 0.78);
  --nav-surface: rgba(255, 255, 255, 0.86);
  --surface-glass: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --hero-glow: radial-gradient(circle, rgba(231, 244, 255, 0.9), rgba(231, 244, 255, 0));
  --orange-ink: #5c2d09;
  --orange-strong-ink: #89440d;
  --orange-hover-ink: #6f3509;
  --orange-hover: #ffe2c5;
  --sky-border: #b8d9ed;
  --sky-ink: #38576d;
  --warning-border: #efc69f;
  --warning-ink: #693a15;
  --warning-surface: #fff8f2;
  --scroll-thumb: rgba(52, 64, 84, 0.58);
  --android-primary: #006b5f;
  --android-primary-soft: #b4f1e5;
  --android-secondary-soft: #cbe9e1;
  --android-background: #f4f7f6;
  --android-surface: #ffffff;
  --android-ink: #171d1b;
  --android-muted: #3f4946;
  --android-line: #dae5e2;
  --android-button-ink: #ffffff;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 12px 28px rgba(16, 24, 40, 0.07);
  --shadow-lg: 0 34px 90px rgba(16, 24, 40, 0.14);
  --sans: Inter, "IBM Plex Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f8fafc;
  --ink-soft: #cbd5e1;
  --muted: #94a3b8;
  --line: #29364a;
  --line-strong: #3c4a60;
  --paper: #0b1220;
  --surface: #111b2c;
  --surface-soft: #172337;
  --sky: #10283b;
  --blue: #56b4e9;
  --orange-soft: #3a2414;
  --green: #4cc995;
  --green-soft: #12372c;
  --grid-line: rgba(148, 163, 184, 0.055);
  --nav-border: rgba(71, 85, 105, 0.72);
  --nav-surface: rgba(15, 23, 42, 0.86);
  --surface-glass: rgba(17, 27, 44, 0.84);
  --surface-strong: rgba(17, 27, 44, 0.95);
  --hero-glow: radial-gradient(circle, rgba(20, 121, 188, 0.18), rgba(20, 121, 188, 0));
  --orange-ink: #fdba74;
  --orange-strong-ink: #fdba74;
  --orange-hover-ink: #fed7aa;
  --orange-hover: #4b2d17;
  --sky-border: #28506a;
  --sky-ink: #b9dcf0;
  --warning-border: #734a27;
  --warning-ink: #fed7aa;
  --warning-surface: #2d1e15;
  --scroll-thumb: rgba(203, 213, 225, 0.58);
  --android-primary: #99d5ca;
  --android-primary-soft: #005047;
  --android-secondary-soft: #24413b;
  --android-background: #0f1513;
  --android-surface: #171d1b;
  --android-ink: #dfe4e1;
  --android-muted: #bec9c5;
  --android-line: #3f4946;
  --android-button-ink: #0f1513;
  --shadow-sm: 0 12px 28px rgba(0, 0, 0, 0.24);
  --shadow-lg: 0 34px 90px rgba(0, 0, 0, 0.36);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

body.is-page-transitioning {
  overflow: hidden;
}

.page-transition {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  overflow: hidden;
  place-items: center;
  color: white;
  background: var(--night);
  pointer-events: auto;
  animation: page-transition-failsafe 0s 2.5s forwards;
  will-change: transform;
}

.page-transition.is-managed {
  animation: none;
}

.page-transition::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 48%, rgba(20, 121, 188, 0.14), transparent 28%),
    radial-gradient(circle at 56% 54%, rgba(244, 129, 32, 0.08), transparent 24%);
  content: "";
}

.page-transition__brand {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 13px;
  line-height: 1;
  letter-spacing: -0.04em;
  will-change: transform, opacity;
}

.page-transition__brand strong {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 760;
}

.page-transition__mark {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 3px;
  place-items: center;
  border-radius: 15px;
  color: var(--night);
  background: white;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.page-transition__mark svg {
  width: 28px;
  height: 28px;
}

@keyframes page-transition-failsafe {
  to {
    visibility: hidden;
    pointer-events: none;
  }
}

a {
  color: inherit;
}

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

button {
  font: inherit;
}

svg {
  display: block;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  color: white;
  background: var(--night);
  transform: translateY(-150%);
}

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

.scroll-progress {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.scrollbar-indicator {
  position: fixed;
  z-index: 90;
  top: 0;
  right: 3px;
  width: 6px;
  min-height: 40px;
  border-radius: 999px;
  background: var(--scroll-thumb);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
  will-change: transform, height, opacity;
}

html.scrollbar-visible .scrollbar-indicator {
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  html {
    scrollbar-color: transparent transparent;
  }

  html::-webkit-scrollbar {
    width: 14px;
  }

  html::-webkit-scrollbar-track,
  html::-webkit-scrollbar-thumb {
    background: transparent;
  }
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(820px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 14px;
  right: 0;
  left: 0;
  transition: transform 180ms ease;
}

.nav-shell {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 8px 18px;
  border: 1px solid var(--nav-border);
  border-radius: 18px;
  background: var(--nav-surface);
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.05);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled .nav-shell {
  box-shadow: var(--shadow-sm);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border-radius: 11px;
  color: white;
  background: var(--night);
}

.brand-mark svg {
  width: 21px;
  height: 21px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 9px 13px;
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 620;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--ink);
  background: var(--surface-soft);
}

.nav-demo-link {
  color: var(--orange-strong-ink);
  background: var(--orange-soft);
}

.nav-demo-link:hover {
  color: var(--orange-hover-ink);
  background: var(--orange-hover);
}

.theme-toggle {
  display: grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  margin-left: 4px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink-soft);
  background: var(--surface-soft);
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.theme-toggle:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  grid-area: 1 / 1;
}

.theme-toggle__sun,
.theme-toggle__text {
  display: none;
}

html[data-theme="dark"] .theme-toggle__moon {
  display: none;
}

html[data-theme="dark"] .theme-toggle__sun {
  display: block;
}

.nav-star {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
  padding: 10px 14px;
  border-radius: 11px;
  color: white;
  background: var(--night);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.nav-star:hover {
  background: #29364c;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.16);
}

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

html[data-theme="dark"] .brand-mark,
html[data-theme="dark"] .nav-star,
html[data-theme="dark"] .button-primary,
html[data-theme="dark"] .rail-icon.active,
html[data-theme="dark"] .release-version,
html[data-theme="dark"] .step-number {
  color: #0f172a;
  background: #f8fafc;
}

html[data-theme="dark"] .nav-star:hover,
html[data-theme="dark"] .button-primary:hover {
  background: #e2e8f0;
}

html[data-theme="dark"] .feature-card.night {
  border-color: #334155;
  background: #0f172a;
}

html[data-theme="dark"] .mail-window::before {
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 12px;
  color: var(--ink);
  background: var(--surface-soft);
  cursor: pointer;
}

.menu-button svg {
  width: 21px;
  height: 21px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 176px 0 92px;
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: -180px;
  left: 62%;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: var(--hero-glow);
  content: "";
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 72px;
  grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px var(--orange-soft);
  content: "";
}

.hero h1,
.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(48px, 6.5vw, 82px);
  line-height: 1.04;
  letter-spacing: -0.065em;
}

.hero h1 .title-line {
  display: block;
  color: var(--ink);
}

.hero h1 .title-accent {
  color: var(--blue);
}

.hero-copy {
  max-width: 590px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.75;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 720;
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

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

.button-primary {
  color: white;
  background: var(--night);
  box-shadow: 0 12px 26px rgba(16, 24, 40, 0.15);
}

.button-primary:hover {
  background: #29364c;
  box-shadow: 0 16px 32px rgba(16, 24, 40, 0.21);
}

.button-secondary {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--surface);
}

.button-secondary:hover {
  border-color: #9faaba;
  background: var(--surface-soft);
}

.button-cloudflare {
  color: var(--orange-ink);
  background: var(--orange-soft);
}

.button-cloudflare:hover {
  background: var(--orange-hover);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.hero-note svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.mail-window {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: rotate(0.7deg);
}

.hero-visual,
.architecture-map {
  transform-style: preserve-3d;
}

.mail-window::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  content: "";
  pointer-events: none;
}

.window-bar {
  display: flex;
  height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.window-title,
.window-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
}

.window-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.window-actions span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}

.mail-app {
  display: grid;
  min-height: 466px;
  grid-template-columns: 72px 205px 1fr;
}

.mail-rail {
  padding: 18px 12px;
  border-right: 1px solid var(--line);
  background: var(--surface-soft);
}

.rail-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 9px;
  place-items: center;
  border-radius: 13px;
  color: var(--muted);
}

.rail-icon.active {
  color: white;
  background: var(--night);
}

.rail-icon svg {
  width: 19px;
  height: 19px;
}

.mail-list {
  border-right: 1px solid var(--line);
  background: var(--surface-soft);
}

.list-heading {
  padding: 22px 18px 15px;
}

.list-heading small,
.message-label {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.list-heading strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

.inbox-item {
  padding: 15px 17px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.inbox-item.muted-item {
  color: var(--muted);
  background: transparent;
}

.inbox-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
}

.inbox-item strong {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.message-view {
  padding: 30px 27px;
}

.message-view h2 {
  margin: 8px 0 6px;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.message-meta {
  color: var(--muted);
  font-size: 11px;
}

.message-rule {
  height: 1px;
  margin: 22px 0;
  background: var(--line);
}

.message-line {
  height: 9px;
  margin-bottom: 10px;
  border-radius: 9px;
  background: var(--line);
}

.message-line.short {
  width: 62%;
}

.code-card {
  display: flex;
  margin-top: 27px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--sky-border);
  border-radius: 14px;
  background: var(--sky);
}

.code-card span {
  color: var(--sky-ink);
  font-size: 10px;
}

.code-card strong {
  font-family: var(--mono);
  font-size: 17px;
  letter-spacing: 0.09em;
}

.status-float {
  position: absolute;
  z-index: 3;
  right: -18px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(16px);
}

.status-float span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px var(--green-soft);
  transform-origin: center;
}

.proof-strip {
  border-block: 1px solid var(--line);
  background: var(--surface-glass);
}

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

.proof-item {
  padding: 25px 28px;
  border-right: 1px solid var(--line);
}

.proof-item:first-child {
  border-left: 1px solid var(--line);
}

.proof-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

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

.android-section {
  padding-top: 104px;
  padding-bottom: 104px;
}

.android-showcase {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 720px;
  align-items: center;
  gap: clamp(44px, 7vw, 92px);
  padding: clamp(38px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--surface) 0 52%, var(--android-background) 52% 100%);
  box-shadow: var(--shadow-sm);
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
}

.android-showcase::before {
  position: absolute;
  right: -180px;
  bottom: -220px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--android-primary-soft) 76%, transparent), transparent 68%);
  content: "";
  pointer-events: none;
}

.android-copy {
  position: relative;
  z-index: 1;
}

.android-title-row {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  color: var(--android-primary);
  font-size: 14px;
  font-weight: 750;
}

.android-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: var(--android-primary);
  background: var(--android-primary-soft);
}

.android-mark svg {
  width: 22px;
  height: 22px;
}

.android-copy h2 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.android-lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.android-features {
  display: grid;
  max-width: 650px;
  gap: 17px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.android-features li {
  display: grid;
  align-items: start;
  gap: 13px;
  color: var(--muted);
  font-size: 14px;
  grid-template-columns: 30px minmax(0, 1fr);
}

.android-features svg {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 9px;
  color: var(--android-primary);
  background: var(--android-primary-soft);
}

.android-features strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 15px;
}

.android-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button-android {
  color: var(--android-button-ink);
  background: var(--android-primary);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--android-primary) 24%, transparent);
}

.button-android:hover {
  background: color-mix(in srgb, var(--android-primary) 88%, var(--android-ink));
  box-shadow: 0 18px 36px color-mix(in srgb, var(--android-primary) 30%, transparent);
}

.android-meta {
  margin: 15px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.android-download-options {
  display: grid;
  max-width: 650px;
  align-items: start;
  gap: 16px;
  margin-top: 34px;
  grid-template-columns: minmax(0, 1fr) 168px;
}

.android-download-options .android-actions {
  margin-top: 0;
}

.android-qr-card {
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  background: var(--surface);
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.android-qr-card:hover {
  border-color: var(--android-primary);
  box-shadow: 0 18px 36px color-mix(in srgb, var(--android-primary) 14%, transparent);
}

.android-qr-card img {
  width: 140px;
  height: 140px;
  border-radius: 8px;
  image-rendering: pixelated;
}

.android-qr-card span,
.android-qr-card strong,
.android-qr-card small {
  display: block;
}

.android-qr-card strong {
  font-size: 13px;
}

.android-qr-card small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 10px;
}

.android-device-stage {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  min-height: 640px;
  place-items: center;
}

.android-phone {
  position: relative;
  width: min(340px, 100%);
  height: 650px;
  overflow: hidden;
  border: 9px solid #111513;
  border-radius: 45px;
  background: var(--android-background);
  box-shadow: 0 36px 80px rgba(11, 18, 16, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.android-phone::before {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 50%;
  width: 78px;
  height: 22px;
  border-radius: 99px;
  background: #111513;
  content: "";
  transform: translateX(-50%);
}

.android-phone__screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: var(--android-ink);
  background: var(--android-background);
  font-family: var(--sans);
}

.android-statusbar {
  display: flex;
  height: 42px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.android-appbar {
  display: grid;
  min-height: 76px;
  align-items: center;
  gap: 12px;
  margin: 0 8px;
  padding: 11px 13px;
  border-radius: 27px;
  background: var(--android-secondary-soft);
  grid-template-columns: 22px minmax(0, 1fr) 21px 34px;
}

.android-appbar > svg {
  width: 21px;
  height: 21px;
}

.android-appbar strong,
.android-appbar span {
  display: block;
}

.android-appbar strong {
  font-size: 16px;
  line-height: 1.2;
}

.android-appbar div > span {
  margin-top: 3px;
  color: var(--android-muted);
  font-size: 9px;
}

.android-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-size: 13px;
  font-weight: 750;
}

.android-avatar--account {
  width: 34px;
  height: 34px;
  color: var(--android-button-ink);
  background: var(--android-primary);
}

.android-avatar--teal {
  background: #147d71;
}

.android-avatar--blue {
  background: #3977ad;
}

.android-avatar--violet {
  background: #7253a5;
}

.android-mail-list {
  padding: 14px 7px 86px;
}

.android-mail-row {
  display: grid;
  min-height: 112px;
  align-items: start;
  gap: 9px;
  padding: 15px 8px;
  border-bottom: 1px solid var(--android-line);
  grid-template-columns: 38px minmax(0, 1fr) auto 18px;
}

.android-mail-row > div {
  min-width: 0;
}

.android-mail-row strong,
.android-mail-row b,
.android-mail-row span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.android-mail-row strong {
  font-size: 12px;
  line-height: 1.35;
}

.android-mail-row b {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.4;
}

.android-mail-row div > span {
  margin-top: 4px;
  color: var(--android-muted);
  font-size: 9px;
}

.android-mail-row time {
  color: var(--android-muted);
  font-size: 9px;
}

.android-mail-row > svg {
  width: 17px;
  height: 17px;
  margin-top: 28px;
  color: var(--android-muted);
}

.android-compose {
  position: absolute;
  right: 16px;
  bottom: 30px;
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border-radius: 17px;
  color: var(--android-ink);
  background: var(--android-primary-soft);
  box-shadow: 0 8px 22px rgba(0, 51, 45, 0.16);
  font-size: 12px;
  font-weight: 750;
}

.android-compose svg {
  width: 19px;
  height: 19px;
}

.android-gesture-bar {
  position: absolute;
  bottom: 7px;
  left: 50%;
  width: 88px;
  height: 4px;
  border-radius: 9px;
  background: var(--android-ink);
  opacity: 0.72;
  transform: translateX(-50%);
}

.android-release-chip {
  position: absolute;
  z-index: 3;
  top: 88px;
  right: -16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid var(--android-line);
  border-radius: 13px;
  color: var(--android-ink);
  background: color-mix(in srgb, var(--android-surface) 92%, transparent);
  box-shadow: 0 18px 34px rgba(11, 18, 16, 0.15);
  font-size: 11px;
  backdrop-filter: blur(14px);
}

.android-release-chip span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--android-primary);
  box-shadow: 0 0 0 4px var(--android-primary-soft);
}

.android-release-chip strong {
  font-family: var(--mono);
}

.android-download-hero {
  position: relative;
  overflow: hidden;
  padding: 174px 0 104px;
}

.android-download-hero::before {
  position: absolute;
  z-index: -1;
  top: 48px;
  right: -180px;
  width: 660px;
  height: 660px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--android-primary-soft) 70%, transparent), transparent 68%);
  content: "";
}

.android-download-hero__grid {
  display: grid;
  align-items: center;
  gap: clamp(52px, 8vw, 112px);
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.58fr);
}

.android-download-copy h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(52px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.065em;
}

.android-download-copy > p:first-of-type {
  max-width: 670px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
}

.android-download-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.android-download-facts span {
  padding: 7px 11px;
  border: 1px solid var(--android-line);
  border-radius: 999px;
  color: var(--android-primary);
  background: var(--android-primary-soft);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 750;
}

.android-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.android-download-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.android-download-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--android-line);
  border-radius: 28px;
  color: var(--android-ink);
  background: var(--android-background);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.android-download-card::after {
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--android-primary-soft);
  content: "";
  opacity: 0.55;
}

.android-download-card__heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
}

.android-download-card__heading div > span,
.android-download-card__heading strong {
  display: block;
}

.android-download-card__heading div > span {
  font-size: 13px;
  font-weight: 750;
}

.android-download-card__heading strong {
  margin-top: 2px;
  color: var(--android-muted);
  font-family: var(--mono);
  font-size: 10px;
}

.android-download-card h2 {
  position: relative;
  z-index: 1;
  margin: 28px 0 16px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.android-download-qr {
  position: relative;
  z-index: 1;
  display: inline-grid;
  padding: 10px;
  border: 1px solid var(--android-line);
  border-radius: 18px;
  background: white;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.android-download-qr:hover {
  border-color: var(--android-primary);
  box-shadow: 0 16px 36px rgba(0, 80, 71, 0.18);
}

.android-download-qr img {
  width: 192px;
  height: 192px;
  image-rendering: pixelated;
}

.android-download-card > p {
  position: relative;
  z-index: 1;
  max-width: 260px;
  margin: 15px auto 0;
  color: var(--android-muted);
  font-size: 12px;
}

.android-install-section {
  padding: 104px 0;
  border-block: 1px solid var(--line);
  background: var(--surface-glass);
}

.android-install-grid {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
  grid-template-columns: repeat(3, 1fr);
}

.android-install-grid li {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.android-install-grid li > span {
  color: var(--android-primary);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 750;
}

.android-install-grid h3 {
  margin: 44px 0 8px;
  font-size: 23px;
  letter-spacing: -0.035em;
}

.android-install-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.android-release-boundary {
  display: grid;
  align-items: start;
  gap: 48px;
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
}

.android-release-boundary h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.android-release-boundary p {
  margin: 0;
  color: var(--ink-soft);
}

.android-release-boundary p + p {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.section {
  padding: 112px 0;
}

.section-tight {
  padding: 84px 0;
}

.section-dark {
  color: white;
  background: var(--night);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 46px;
}

.section-kicker {
  display: block;
  margin-bottom: 13px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-dark .section-kicker {
  color: #83c8f3;
}

.section-heading h2,
.architecture-copy h2,
.cta-panel h2,
.deploy-section h2 {
  max-width: 730px;
  margin: 0;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.055em;
}

.section-heading p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-glass);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.feature-card.large {
  grid-column: span 7;
}

.feature-card.medium {
  grid-column: span 5;
}

.feature-card.third {
  min-height: 240px;
  grid-column: span 4;
}

.feature-card.sky {
  border-color: var(--sky-border);
  background: var(--sky);
}

.feature-card.night {
  border-color: var(--night);
  color: white;
  background: var(--night);
}

.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: var(--surface);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  margin: 0 0 9px;
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.feature-card p {
  max-width: 530px;
  margin: 0;
  color: var(--muted);
}

.feature-card.night p {
  color: #c9d1dc;
}

.feature-number {
  position: absolute;
  top: 24px;
  right: 27px;
  color: var(--line-strong);
  font-family: var(--mono);
  font-size: 12px;
}

.feature-card.night .feature-number {
  color: #667085;
}

.architecture-grid {
  display: grid;
  align-items: center;
  gap: 88px;
  grid-template-columns: 0.78fr 1.22fr;
}

.architecture-copy p {
  margin: 24px 0 0;
  color: #b9c2cf;
  font-size: 18px;
}

.architecture-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.architecture-tags span {
  padding: 7px 10px;
  border: 1px solid #344054;
  border-radius: 999px;
  color: #d0d5dd;
  font-family: var(--mono);
  font-size: 11px;
}

.architecture-map {
  display: grid;
  align-items: stretch;
  gap: 12px;
  grid-template-columns: 1fr 32px 1.15fr 32px 1fr;
}

.map-column {
  display: grid;
  gap: 12px;
}

.map-node {
  display: flex;
  min-height: 88px;
  align-items: center;
  gap: 13px;
  padding: 17px;
  border: 1px solid #344054;
  border-radius: 15px;
  background: #182235;
}

.map-node.primary {
  border-color: #4b7897;
  background: #173249;
}

.map-node.accent {
  border-color: #80502c;
  background: #342619;
}

.map-node svg {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  color: #83c8f3;
}

.map-node.accent svg {
  color: #ffad64;
}

.map-node strong,
.map-node span {
  display: block;
}

.map-node strong {
  font-size: 13px;
}

.map-node span {
  margin-top: 2px;
  color: #98a2b3;
  font-size: 10px;
}

.map-arrow {
  display: grid;
  place-items: center;
  color: #667085;
}

.map-arrow svg {
  width: 20px;
  height: 20px;
}

.release-panel {
  display: grid;
  gap: 30px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  grid-template-columns: auto 1fr auto;
}

.release-version {
  display: grid;
  width: 108px;
  height: 108px;
  place-items: center;
  border-radius: 18px;
  color: white;
  background: var(--night);
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
}

.release-copy h3 {
  margin: 6px 0 8px;
  font-size: 25px;
  letter-spacing: -0.035em;
}

.release-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.release-link {
  align-self: center;
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.release-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.release-actions {
  display: grid;
  align-self: center;
  justify-items: end;
  gap: 8px;
}

.release-source-link {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.release-source-link:hover {
  color: var(--blue);
}

.boundary-panel {
  display: grid;
  gap: 40px;
  padding: 42px;
  border: 1px solid var(--warning-border);
  border-radius: var(--radius-md);
  background: var(--warning-surface);
  grid-template-columns: 0.85fr 1.15fr;
}

.boundary-panel h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.boundary-panel ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.boundary-panel li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-soft);
}

.boundary-panel li svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 4px;
  color: var(--orange);
}

.cta-section {
  padding: 40px 0 112px;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 58px;
  border-radius: var(--radius-lg);
  color: white;
  background: var(--night);
}

.cta-panel::after {
  position: absolute;
  top: -110px;
  right: -90px;
  width: 340px;
  height: 340px;
  border: 74px solid rgba(131, 200, 243, 0.11);
  border-radius: 50%;
  content: "";
}

.cta-panel p {
  max-width: 600px;
  margin: 18px 0 0;
  color: #b9c2cf;
  font-size: 18px;
}

.cta-panel .button-secondary {
  border-color: #475467;
  color: white;
  background: transparent;
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-copy {
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--blue);
}

.page-hero {
  padding: 180px 0 82px;
}

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

.page-hero p {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.page-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.page-meta svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.page-meta strong {
  color: var(--ink-soft);
  font-weight: 750;
}

.release-history-section {
  padding: 12px 0 112px;
}

.release-history-shell {
  width: min(100% - 40px, 1040px);
}

.release-history-heading {
  display: grid;
  align-items: end;
  gap: 32px;
  margin-bottom: 42px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.6fr);
}

.release-history-heading h2 {
  margin: 6px 0 0;
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.release-sync-status {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.release-platform-jump {
  display: grid;
  gap: 16px;
  margin: 0 0 88px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.release-platform-jump__link {
  --release-platform-color: var(--blue);
  --release-platform-soft: color-mix(in srgb, var(--blue) 14%, var(--surface));
  display: grid;
  min-height: 96px;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  grid-template-columns: 48px minmax(0, 1fr) auto;
}

.release-platform-jump__link--android {
  --release-platform-color: var(--android-primary);
  --release-platform-soft: var(--android-primary-soft);
}

.release-platform-jump__link--float {
  --release-platform-color: var(--orange-strong-ink);
  --release-platform-soft: var(--orange-soft);
}

.release-platform-jump__link:hover {
  border-color: var(--release-platform-color);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.release-platform-jump__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  color: var(--release-platform-color);
  background: var(--release-platform-soft);
}

.release-platform-jump__icon svg {
  width: 24px;
  height: 24px;
}

.release-platform-jump__link small,
.release-platform-jump__link strong {
  display: block;
}

.release-platform-jump__link small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.release-platform-jump__link strong {
  margin-top: 3px;
  font-size: 18px;
}

.release-platform-jump__link b {
  color: var(--release-platform-color);
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
}

.release-stream {
  scroll-margin-top: 120px;
}

.release-stream + .release-stream {
  margin-top: 96px;
  padding-top: 96px;
  border-top: 1px solid var(--line);
}

.release-stream__heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 32px;
}

.release-stream__heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.release-stream__heading p {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.release-platform-label {
  flex: 0 0 auto;
  margin-top: 4px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--blue);
  background: color-mix(in srgb, var(--blue) 14%, var(--surface));
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.release-platform-label--android {
  color: var(--android-primary);
  background: var(--android-primary-soft);
}

.release-platform-label--float {
  color: var(--orange-strong-ink);
  background: var(--orange-soft);
}

.release-timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.release-timeline__item {
  position: relative;
  display: grid;
  gap: 22px;
  padding-bottom: 28px;
  grid-template-columns: 20px minmax(0, 1fr);
}

.release-timeline__item::before {
  position: absolute;
  top: 36px;
  bottom: -8px;
  left: 9px;
  width: 2px;
  background: var(--line);
  content: "";
}

.release-timeline__item:last-child {
  padding-bottom: 0;
}

.release-timeline__item:last-child::before {
  display: none;
}

.release-timeline__marker {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  margin-top: 28px;
  justify-self: center;
  border: 4px solid var(--surface);
  border-radius: 50%;
  background: var(--line-strong);
  box-shadow: 0 0 0 2px var(--line-strong);
}

.release-timeline__item:first-child .release-timeline__marker {
  background: var(--blue);
  box-shadow: 0 0 0 2px var(--blue);
}

.release-stream--android .release-timeline__item:first-child .release-timeline__marker {
  background: var(--android-primary);
  box-shadow: 0 0 0 2px var(--android-primary);
}

.release-stream--float .release-timeline__item:first-child .release-timeline__marker {
  background: var(--orange-strong-ink);
  box-shadow: 0 0 0 2px var(--orange-strong-ink);
}

.release-timeline__item--empty .release-timeline__marker,
.release-stream--float .release-timeline__item--empty .release-timeline__marker,
.release-stream--android .release-timeline__item--empty .release-timeline__marker {
  background: var(--surface);
  box-shadow: 0 0 0 2px var(--line-strong);
}

.release-entry {
  min-width: 0;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.release-entry__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.release-entry__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.release-entry__title-row h3 {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(25px, 4vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.release-entry__title-row h3 a {
  color: var(--ink);
  text-decoration: none;
}

.release-entry__title-row h3 a:hover {
  color: var(--blue);
}

.release-entry--empty h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.release-entry--empty p {
  margin: 10px 0 0;
  color: var(--muted);
}

.release-entry time {
  flex: 0 0 auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.release-badge {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--green);
  background: var(--green-soft);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.release-badge--prerelease {
  color: var(--orange-strong-ink);
  background: var(--orange-soft);
}

.release-badge--legacy {
  color: var(--orange-strong-ink);
  background: var(--orange-soft);
}

.release-badge--android {
  color: var(--android-primary);
  background: var(--android-primary-soft);
}

.release-notes {
  max-width: 75ch;
  padding-top: 6px;
  overflow-wrap: anywhere;
  color: var(--ink-soft);
}

.release-notes h3,
.release-notes h4,
.release-notes h5,
.release-notes h6 {
  margin: 30px 0 10px;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.release-notes h3 {
  font-size: 21px;
}

.release-notes h4,
.release-notes h5,
.release-notes h6 {
  font-size: 18px;
}

.release-notes p {
  margin: 18px 0 0;
}

.release-notes ul,
.release-notes ol {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
  padding-left: 23px;
}

.release-notes li::marker {
  color: var(--blue);
}

.release-notes a {
  color: var(--blue);
  font-weight: 650;
  text-underline-offset: 3px;
}

.release-notes code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--surface-soft);
  font-family: var(--mono);
  font-size: 0.88em;
}

.release-notes pre {
  overflow-x: auto;
  margin: 18px 0 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}

.release-notes pre code {
  padding: 0;
  border: 0;
  background: transparent;
}

.release-notes__empty {
  color: var(--muted);
}

.deploy-section {
  padding: 0 0 100px;
}

.deploy-section + .deploy-section {
  padding-top: 12px;
}

.deploy-section h2 {
  margin-bottom: 28px;
  font-size: clamp(32px, 4vw, 48px);
}

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

.path-card {
  display: flex;
  min-height: 350px;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.path-card.recommended {
  border-color: var(--sky-border);
  background: var(--sky);
}

.card-label {
  align-self: flex-start;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--sky-ink);
  background: var(--surface-glass);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.path-card h3 {
  margin: 24px 0 10px;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

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

.path-card ul {
  display: grid;
  gap: 9px;
  margin: 0 0 30px;
  padding: 0;
  color: var(--ink-soft);
  font-size: 14px;
  list-style: none;
}

.path-card li::before {
  margin-right: 9px;
  color: var(--green);
  content: "✓";
}

.path-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.requirements {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
}

.requirement {
  min-height: 164px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.requirement svg {
  width: 24px;
  height: 24px;
  margin-bottom: 24px;
  color: var(--blue);
}

.requirement strong,
.requirement span {
  display: block;
}

.requirement span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.steps {
  position: relative;
  display: grid;
  gap: 18px;
}

.step {
  display: grid;
  gap: 28px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  grid-template-columns: 56px 1fr;
}

.step-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: var(--night);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
}

.step h3 {
  margin: 2px 0 8px;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.config-table {
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.config-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.75fr) minmax(0, 1.25fr) auto;
}

.config-row + .config-row {
  border-top: 1px solid var(--line);
}

.config-row > * {
  padding: 12px 14px;
}

.config-key {
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 13px;
}

.config-value {
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13px;
  white-space: nowrap;
}

.copy-button {
  border: 0;
  color: var(--blue);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.copy-button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notice {
  display: flex;
  gap: 16px;
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--warning-border);
  border-radius: 14px;
  color: var(--warning-ink);
  background: var(--warning-surface);
}

.notice svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--orange);
}

.notice strong,
.notice span {
  display: block;
}

.notice span {
  margin-top: 3px;
  font-size: 14px;
}

.pages-note {
  display: grid;
  gap: 28px;
  padding: 34px;
  border: 1px solid var(--sky-border);
  border-radius: var(--radius-md);
  background: var(--sky);
  grid-template-columns: 1fr auto;
}

.pages-note h3 {
  margin: 0 0 7px;
  font-size: 25px;
  letter-spacing: -0.035em;
}

.pages-note p {
  max-width: 700px;
  margin: 0;
  color: var(--sky-ink);
}

.pages-badge {
  display: inline-flex;
  align-self: center;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--sky-ink);
  background: var(--surface);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.pages-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.api-hero {
  padding: 176px 0 74px;
  border-bottom: 1px solid var(--line);
}

.api-hero-grid {
  display: grid;
  align-items: end;
  gap: 70px;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.72fr);
}

.api-hero h1 {
  margin: 0;
  font-size: clamp(66px, 9vw, 118px);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.api-hero p {
  max-width: 670px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.api-hero code,
.docs-content code {
  font-family: var(--mono);
}

.api-base-card {
  display: grid;
  gap: 10px;
  padding: 26px;
  border-radius: 18px;
  color: white;
  background: var(--night);
  box-shadow: var(--shadow-sm);
  grid-template-columns: 1fr auto;
}

.api-base-card > span {
  grid-column: 1 / -1;
  color: #98a2b3;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.api-base-card code {
  overflow: hidden;
  font-family: var(--mono);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.api-base-card .copy-button {
  color: #83c8f3;
}

.api-instance-link {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid #344054;
  color: #ffb977;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.api-instance-link:hover {
  color: #ffd3aa;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.docs-mobile-links {
  display: none;
}

.docs-layout {
  display: grid;
  align-items: start;
  gap: 70px;
  padding-top: 68px;
  padding-bottom: 112px;
  grid-template-columns: 210px minmax(0, 1fr);
}

.docs-sidebar {
  position: sticky;
  top: 106px;
}

.docs-sidebar-inner {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
}

.docs-sidebar-title {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.docs-sidebar nav {
  display: grid;
  gap: 3px;
}

.docs-sidebar nav a {
  padding: 8px 10px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 620;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.docs-sidebar nav a:hover,
.docs-sidebar nav a.active {
  color: var(--ink);
  background: var(--surface-soft);
}

.docs-sidebar nav a.active {
  box-shadow: inset 3px 0 var(--blue);
}

.docs-source-link {
  display: block;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.docs-source-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.docs-content {
  width: min(100%, 870px);
}

.api-section {
  padding: 0 0 78px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 112px;
}

.api-section + .api-section {
  padding-top: 78px;
}

.api-section h2,
.api-source-panel h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.api-section > p {
  margin: 20px 0 0;
  color: var(--ink-soft);
}

.api-lead {
  max-width: 760px;
  font-size: 18px;
}

.api-fact-grid {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  grid-template-columns: repeat(4, 1fr);
}

.api-fact {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.api-fact strong,
.api-fact span {
  display: block;
}

.api-fact strong {
  font-family: var(--mono);
  font-size: 16px;
}

.api-fact span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.api-callout {
  display: flex;
  gap: 14px;
  margin-top: 26px;
  padding: 18px;
  border-radius: 13px;
}

.api-callout.warning {
  border: 1px solid var(--warning-border);
  color: var(--warning-ink);
  background: var(--warning-surface);
}

.api-callout.info {
  border: 1px solid var(--sky-border);
  color: var(--sky-ink);
  background: var(--sky);
}

.api-callout svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.api-callout strong,
.api-callout span {
  display: block;
}

.api-callout span {
  margin-top: 3px;
  font-size: 13px;
}

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

.auth-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.auth-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 12px;
  color: var(--blue);
  background: var(--sky);
}

.auth-icon svg {
  width: 21px;
  height: 21px;
}

.auth-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.auth-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.code-block {
  overflow: hidden;
  margin-top: 22px;
  border: 1px solid #344054;
  border-radius: 15px;
  color: #e4e7ec;
  background: #101828;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.12);
}

.code-head {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 1px solid #344054;
  color: #98a2b3;
  background: #182235;
  font-family: var(--mono);
  font-size: 10px;
}

.code-head button {
  border: 0;
  color: #83c8f3;
  background: transparent;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.code-head button:hover {
  color: white;
}

.code-block pre {
  overflow-x: auto;
  margin: 0;
  padding: 22px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.8;
  tab-size: 2;
}

.code-block code {
  font-family: inherit;
}

.code-key {
  color: #83c8f3;
}

.code-string {
  color: #a6e3c8;
}

.code-number {
  color: #ffb977;
}

.code-boolean {
  color: #d5b8ff;
}

.code-method {
  font-weight: 800;
}

.code-method.get {
  color: #83c8f3;
}

.endpoint-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 27px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.endpoint-heading code {
  overflow-x: auto;
  font-size: 13px;
  white-space: nowrap;
}

.method {
  display: inline-grid;
  min-width: 56px;
  height: 27px;
  place-items: center;
  border-radius: 7px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.method.get {
  color: #075f94;
  background: #dcefff;
}

.method.post {
  color: #08613e;
  background: #dff7eb;
}

.method.put {
  color: #6b4a00;
  background: #fff1c7;
}

.method.patch {
  color: #5a3f93;
  background: #eee6ff;
}

.method.delete {
  color: #9f2f2f;
  background: #ffe4e4;
}

.token-flow {
  display: grid;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
}

.token-flow > div {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}

.token-flow span,
.token-flow strong,
.token-flow small {
  display: block;
}

.token-flow span {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 9px;
}

.token-flow strong {
  margin-top: 5px;
  font-size: 13px;
}

.token-flow small {
  overflow: hidden;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.token-flow i {
  color: var(--line-strong);
  font-style: normal;
}

.api-rules {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  list-style: none;
}

.api-rules li {
  display: grid;
  gap: 18px;
  padding: 14px 17px;
  grid-template-columns: 92px 1fr;
}

.api-rules li + li {
  border-top: 1px solid var(--line);
}

.api-rules strong {
  font-size: 13px;
}

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

.api-subheading {
  margin: 42px 0 0;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.compact-endpoints {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  grid-template-columns: repeat(2, 1fr);
}

.compact-endpoints > div {
  display: grid;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  grid-template-columns: auto minmax(0, 1fr);
}

.compact-endpoints code {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-endpoints small {
  grid-column: 2;
  color: var(--muted);
  font-size: 10px;
}

.admin-grid {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  grid-template-columns: repeat(2, 1fr);
}

.admin-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.admin-grid strong,
.admin-grid code,
.admin-grid span {
  display: block;
}

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

.admin-grid code {
  overflow: hidden;
  margin-top: 14px;
  color: var(--blue);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-grid span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.status-list {
  display: grid;
  gap: 0;
  overflow: hidden;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.status-list > div {
  display: grid;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  grid-template-columns: 54px 120px 1fr;
}

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

.status-list > div > code {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.status-list strong {
  font-size: 13px;
}

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

.endpoint-search {
  display: grid;
  min-height: 56px;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
  grid-template-columns: auto 1fr auto;
}

.endpoint-search:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20, 121, 188, 0.12);
}

.endpoint-search svg {
  width: 20px;
  height: 20px;
  color: var(--muted);
}

.endpoint-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
}

.endpoint-search input::placeholder {
  color: #98a2b3;
}

.endpoint-search kbd {
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: var(--surface-soft);
  font-family: var(--mono);
  font-size: 11px;
}

.endpoint-count {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

.endpoint-table {
  overflow: hidden;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}

.endpoint-row {
  display: grid;
  min-height: 62px;
  align-items: center;
  gap: 15px;
  padding: 13px 16px;
  grid-template-columns: 58px minmax(260px, 1fr) minmax(220px, 0.8fr);
}

.endpoint-row + .endpoint-row {
  border-top: 1px solid var(--line);
}

.endpoint-row code {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.endpoint-row p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.endpoint-row[hidden],
.endpoint-empty[hidden] {
  display: none;
}

.endpoint-empty {
  margin-top: 18px;
  padding: 30px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  color: var(--muted);
  text-align: center;
}

.api-source-panel {
  display: grid;
  align-items: end;
  gap: 34px;
  margin-top: 78px;
  padding: 38px;
  border-radius: 20px;
  color: white;
  background: var(--night);
  grid-template-columns: 1fr auto;
}

.api-source-panel p {
  max-width: 600px;
  margin: 14px 0 0;
  color: #b9c2cf;
}

.api-source-panel .button {
  white-space: nowrap;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

:focus-visible {
  outline: 3px solid rgba(20, 121, 188, 0.35);
  outline-offset: 3px;
}

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

  .hero-grid {
    gap: 58px;
    grid-template-columns: 1fr;
  }

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

  .mail-window {
    width: min(760px, 100%);
  }

  .status-float {
    right: 18px;
  }

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

  .proof-item:nth-child(3) {
    border-left: 1px solid var(--line);
  }

  .proof-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .android-showcase {
    background: linear-gradient(160deg, var(--surface) 0 51%, var(--android-background) 51% 100%);
    grid-template-columns: 1fr;
  }

  .android-copy h2,
  .android-lead,
  .android-features {
    max-width: 720px;
  }

  .android-device-stage {
    min-height: 660px;
  }

  .android-release-chip {
    right: calc(50% - 205px);
  }

  .android-download-hero__grid {
    grid-template-columns: 1fr;
  }

  .android-download-copy > p:first-of-type {
    max-width: 760px;
  }

  .android-download-card {
    width: min(420px, 100%);
  }

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

  .feature-card.large,
  .feature-card.medium {
    grid-column: span 6;
  }

  .feature-card.third {
    grid-column: span 4;
  }

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

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

  .api-hero-grid {
    gap: 42px;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.7fr);
  }

  .docs-layout {
    gap: 42px;
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .api-fact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .token-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .token-flow i {
    display: none;
  }

  .endpoint-row {
    grid-template-columns: 58px minmax(200px, 1fr);
  }

  .endpoint-row p {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .container,
  .narrow {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    top: 8px;
  }

  .nav-shell {
    position: relative;
    min-height: 58px;
    padding: 7px 8px 7px 14px;
    border-radius: 15px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .menu-button {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
  }

  .nav-links[data-open="true"] {
    display: grid;
  }

  .nav-link,
  .nav-star,
  .theme-toggle {
    justify-content: flex-start;
    margin: 0;
    padding: 12px 13px;
  }

  .theme-toggle {
    display: flex;
    width: 100%;
    height: auto;
    gap: 10px;
    border-color: transparent;
    background: transparent;
  }

  .theme-toggle:hover {
    background: var(--surface-soft);
  }

  .theme-toggle__text {
    display: inline;
    font-size: 14px;
    font-weight: 620;
  }

  .hero,
  .page-hero {
    padding-top: 134px;
  }

  .hero {
    padding-bottom: 68px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .hero-copy,
  .page-hero p {
    font-size: 17px;
  }

  .mail-window {
    min-height: 460px;
    border-radius: 20px;
    transform: none;
  }

  .mail-app {
    min-height: 406px;
    grid-template-columns: 58px 145px 1fr;
  }

  .mail-rail {
    padding: 15px 7px;
  }

  .rail-icon {
    width: 42px;
    height: 42px;
  }

  .list-heading {
    padding-inline: 13px;
  }

  .inbox-item {
    padding-inline: 12px;
  }

  .message-view {
    padding: 25px 18px;
  }

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

  .proof-item,
  .proof-item:first-child,
  .proof-item:nth-child(3) {
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .proof-item + .proof-item {
    border-top: 1px solid var(--line);
  }

  .section,
  .section-tight {
    padding: 78px 0;
  }

  .android-section {
    padding: 78px 0;
  }

  .android-showcase {
    min-height: 0;
    gap: 44px;
    padding: 30px 22px;
    border-radius: 24px;
  }

  .android-copy h2 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .android-device-stage {
    min-height: 610px;
  }

  .android-phone {
    width: min(310px, 100%);
    height: 600px;
    border-width: 8px;
    border-radius: 40px;
  }

  .android-release-chip {
    top: 72px;
    right: calc(50% - 175px);
  }

  .android-download-options {
    grid-template-columns: 1fr;
  }

  .android-qr-card {
    display: flex;
    align-items: center;
    justify-items: initial;
    gap: 16px;
    text-align: left;
  }

  .android-qr-card img {
    width: 104px;
    height: 104px;
  }

  .android-download-hero {
    padding: 134px 0 78px;
  }

  .android-download-copy h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .android-download-copy > p:first-of-type {
    margin-top: 22px;
    font-size: 17px;
  }

  .android-download-card {
    padding: 24px;
  }

  .android-install-section {
    padding: 78px 0;
  }

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

  .android-install-grid li {
    min-height: 0;
  }

  .android-install-grid h3 {
    margin-top: 28px;
  }

  .android-release-boundary {
    gap: 28px;
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
    margin-bottom: 32px;
  }

  .section-heading p {
    margin-top: 18px;
  }

  .feature-grid,
  .path-grid {
    grid-template-columns: 1fr;
  }

  .feature-card.large,
  .feature-card.medium,
  .feature-card.third {
    min-height: 0;
    grid-column: auto;
  }

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

  .map-arrow {
    min-height: 26px;
    transform: rotate(90deg);
  }

  .release-panel,
  .boundary-panel,
  .pages-note {
    grid-template-columns: 1fr;
  }

  .release-actions {
    align-self: auto;
    justify-items: start;
  }

  .release-link {
    align-self: auto;
  }

  .release-history-shell {
    width: min(100% - 28px, 1040px);
  }

  .release-history-heading {
    align-items: start;
    gap: 16px;
    grid-template-columns: 1fr;
  }

  .release-sync-status {
    text-align: left;
  }

  .release-platform-jump {
    gap: 12px;
    margin-bottom: 64px;
    grid-template-columns: 1fr;
  }

  .release-stream + .release-stream {
    margin-top: 72px;
    padding-top: 72px;
  }

  .release-entry__header {
    flex-direction: column;
    gap: 12px;
  }

  .cta-panel {
    padding: 38px 28px;
    border-radius: 24px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .api-hero {
    padding: 136px 0 56px;
  }

  .api-hero-grid {
    grid-template-columns: 1fr;
  }

  .api-hero h1 {
    font-size: clamp(60px, 20vw, 84px);
  }

  .api-base-card {
    padding: 20px;
  }

  .docs-mobile-links {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-top: 16px;
    padding-bottom: 16px;
    scrollbar-width: none;
  }

  .docs-mobile-links::-webkit-scrollbar {
    display: none;
  }

  .docs-mobile-links a {
    flex: 0 0 auto;
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-soft);
    background: var(--surface);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
  }

  .docs-layout {
    display: block;
    padding-top: 42px;
    padding-bottom: 78px;
  }

  .docs-sidebar {
    display: none;
  }

  .docs-content {
    width: 100%;
  }

  .api-section {
    padding-bottom: 62px;
  }

  .api-section + .api-section {
    padding-top: 62px;
  }

  .api-fact-grid,
  .auth-grid,
  .compact-endpoints,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .code-block pre {
    padding: 18px;
    font-size: 11px;
  }

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

  .api-rules li {
    gap: 5px;
    grid-template-columns: 1fr;
  }

  .status-list > div {
    gap: 5px 12px;
    grid-template-columns: 48px 1fr;
  }

  .status-list span {
    grid-column: 2;
  }

  .endpoint-row {
    gap: 8px 12px;
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .endpoint-row p {
    grid-column: 1 / -1;
  }

  .api-source-panel {
    align-items: start;
    padding: 30px 24px;
    grid-template-columns: 1fr;
  }

  .api-source-panel .button {
    justify-self: start;
  }

  .config-row {
    grid-template-columns: minmax(110px, 0.7fr) minmax(0, 1.3fr) auto;
  }
}

@media (max-width: 520px) {
  .android-actions .button {
    width: 100%;
  }

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

  .android-download-qr img {
    width: min(192px, 100%);
    height: auto;
  }

  .android-device-stage {
    min-height: 570px;
  }

  .android-phone {
    width: min(286px, 100%);
    height: 560px;
  }

  .android-appbar {
    grid-template-columns: 20px minmax(0, 1fr) 20px 30px;
  }

  .android-avatar--account {
    width: 30px;
    height: 30px;
  }

  .android-mail-row {
    gap: 7px;
    grid-template-columns: 34px minmax(0, 1fr) auto 16px;
  }

  .android-mail-row .android-avatar {
    width: 34px;
    height: 34px;
  }

  .android-release-chip {
    right: 0;
  }

  .release-history-section {
    padding-bottom: 78px;
  }

  .release-timeline__item {
    gap: 14px;
    grid-template-columns: 16px minmax(0, 1fr);
  }

  .release-timeline__item::before {
    left: 7px;
  }

  .release-timeline__marker {
    width: 12px;
    height: 12px;
    border-width: 3px;
  }

  .release-entry {
    padding: 24px 20px;
  }

  .release-platform-jump__link {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .release-platform-jump__icon {
    width: 44px;
    height: 44px;
  }

  .release-platform-jump__link b {
    grid-column: 2;
  }

  .release-stream__heading {
    flex-direction: column;
    gap: 10px;
  }

  .mail-app {
    grid-template-columns: 56px 1fr;
  }

  .mail-list {
    display: none;
  }

  .status-float {
    right: 12px;
    bottom: 18px;
  }

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

  .step {
    gap: 18px;
    padding: 24px;
    grid-template-columns: 1fr;
  }

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

  .config-key {
    grid-column: 1 / -1;
    padding-bottom: 5px;
  }

  .config-value,
  .copy-button {
    padding-top: 6px;
  }

  .api-fact-grid,
  .token-flow {
    grid-template-columns: 1fr;
  }

  .api-base-card {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

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

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

  .scroll-progress {
    display: none;
  }

  .page-transition {
    display: none;
  }
}
