:root {
  color-scheme: light dark;
  --bg: #071524;
  --bg-soft: #0d2236;
  --surface: #ffffff;
  --surface-alt: #f5f8fc;
  --text: #101828;
  --muted: #526174;
  --border: #d9e3ee;
  --brand: #0b6fe8;
  --brand-dark: #0757b8;
  --brand-deep: #063f8f;
  --brand-soft: #e8f3ff;
  --green: #3ddc84;
  --green-dark: #23a960;
  --green-soft: #e8fbf1;
  --amber: #b76b00;
  --amber-soft: #fff5df;
  --red: #b42318;
  --red-soft: #fff0ee;
  --shadow: 0 14px 36px rgba(16, 24, 40, .12);
  --shadow-button: 0 10px 20px rgba(7, 87, 184, .22);
  --radius: 14px;
  --radius-soft: 18px;
  --chrome-bg: #eef6ff;
  --chrome-border: #d9e3ee;
  --chrome-text: #101828;
  --chrome-muted: #526174;
  --chrome-active: #dcecff;
}

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

html {
  background: var(--chrome-bg);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: calc(72px + env(safe-area-inset-top, 0px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, #eef6ff 0, #f8fbff 360px, #ffffff 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 49;
  height: env(safe-area-inset-top, 0);
  background: var(--chrome-bg);
  content: "";
  pointer-events: none;
}

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

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  line-height: 1.12;
  letter-spacing: 0;
}

ul,
ol {
  color: var(--muted);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background-color: var(--chrome-bg);
  border-bottom: 1px solid var(--chrome-border);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--chrome-text);
  font-size: 18px;
  font-weight: 850;
  line-height: 1;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  transform: scaleX(-1);
}

.desk-nav {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

.desk-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--chrome-muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.desk-nav a:hover,
.desk-nav a[aria-current="page"] {
  color: var(--chrome-text);
  background: var(--chrome-active);
  text-decoration: none;
}

.desk-nav .nav-cta {
  margin-left: 8px;
  color: #fff;
  background: linear-gradient(180deg, var(--brand), var(--brand-dark));
  box-shadow: 0 8px 18px rgba(11, 111, 232, .22);
}

.desk-nav .nav-cta:hover,
.desk-nav .nav-cta[aria-current="page"] {
  color: #fff;
  background: var(--brand-dark);
}

.menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--chrome-border);
  border-radius: 12px;
  background: #fff;
  color: var(--chrome-text);
  cursor: pointer;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.menu-button {
  flex-direction: column;
  gap: 4px;
}

.mob-nav {
  display: none;
  border-top: 1px solid var(--chrome-border);
  background: var(--chrome-bg);
}

.mob-nav.open {
  display: block;
}

.mob-nav a {
  display: block;
  padding: 14px 20px;
  border-bottom: 1px solid var(--chrome-border);
  color: var(--chrome-text);
  font-weight: 750;
}

.mob-nav a:last-child {
  border-bottom: 0;
}

@media (min-width: 820px) {
  .desk-nav {
    display: flex;
  }

  .menu-button {
    display: none;
  }
}

.hero {
  padding: 44px 0 34px;
}

.hero-grid {
  display: grid;
  gap: 24px;
  align-items: stretch;
  max-width: 920px;
  margin: 0 auto;
}

.hero-grid > * {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 900px) {
  .hero {
    padding: 64px 0 42px;
  }

  .hero-grid {
    gap: 30px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  margin-bottom: 14px;
  border: 1px solid #bcd6f6;
  border-radius: var(--radius);
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(34px, 8vw, 68px);
}

.hero .lead {
  max-width: 58ch;
  margin-top: 16px;
  font-size: clamp(16px, 2.2vw, 19px);
  overflow-wrap: break-word;
}

@media (min-width: 900px) {
  .hero h1 {
    font-size: clamp(44px, 6vw, 64px);
  }

  .hero .lead {
    font-size: 18px;
  }
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.full-width-actions {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}

.full-width-actions.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.full-width-actions .btn {
  width: 100%;
}

.centered-cta {
  justify-content: center;
}

.hero-actions {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

@media (min-width: 700px) {
  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.platform-button {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-soft);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

.platform-button:hover {
  border-color: #b7d6fb;
  background: var(--surface);
  text-decoration: none;
  transform: translateY(-1px);
}

.platform-button.android {
  border-color: rgba(61, 220, 132, .42);
  background: linear-gradient(180deg, rgba(61, 220, 132, .16), var(--surface));
}

.platform-button.android:hover {
  border-color: var(--green);
}

.platform-button.ios {
  border-color: rgba(16, 24, 40, .18);
  background: linear-gradient(180deg, rgba(16, 24, 40, .06), var(--surface));
}

.platform-button.ios:hover {
  border-color: #101828;
}

.platform-button strong,
.support-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.2;
}

.platform-button span,
.support-card span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.platform-version {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  margin-top: 8px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.platform-button.android .platform-version {
  border-color: rgba(61, 220, 132, .55);
  color: #08784f;
  background: var(--green-soft);
}

.platform-button.ios .platform-version {
  border-color: rgba(16, 24, 40, .18);
  color: var(--text);
  background: var(--surface-alt);
}

.platform-icon,
.support-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.apple-icon-light {
  display: block;
}

.apple-icon-dark {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--shadow-button);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.btn:hover {
  background: linear-gradient(180deg, var(--brand-dark), var(--brand-deep));
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(7, 87, 184, .28);
}

.btn.secondary {
  background: #fff;
  color: var(--brand-dark);
  border-color: #b7d6fb;
  box-shadow: 0 8px 18px rgba(16, 24, 40, .07);
}

.btn.secondary:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.btn.green {
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  box-shadow: 0 10px 20px rgba(16, 166, 106, .2);
}

.btn.green:hover {
  background: linear-gradient(180deg, #0b955d, #066b46);
}

.btn.small {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 13px;
  font-size: 13px;
}

.icon-btn {
  gap: 9px;
}

.icon-btn img {
  width: 22px;
  height: 22px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  object-fit: contain;
}

.panel,
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-soft);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel {
  padding: 20px;
}

.card {
  padding: 18px;
}

.status-list,
.feature-list,
.plain-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.status-list li,
.feature-list li,
.plain-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-alt);
  color: var(--muted);
}

.status-list strong,
.feature-list strong,
.plain-list strong {
  display: block;
  color: var(--text);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.badge.green {
  color: #076245;
  border-color: #bde7d8;
  background: var(--green-soft);
}

.badge.amber {
  color: var(--amber);
  border-color: #f5d9a4;
  background: var(--amber-soft);
}

.platform-links {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.platform-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, .78);
  color: var(--text);
  font-weight: 850;
  box-shadow: 0 8px 20px rgba(16, 24, 40, .06);
}

.platform-link:hover {
  border-color: #b7d6fb;
  background: #fff;
  text-decoration: none;
}

.platform-link span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.platform-link::after {
  content: ">";
  color: var(--brand);
  font-weight: 950;
}

.platform-choice {
  display: grid;
  gap: 12px;
  min-height: 100%;
}

.platform-choice h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
}

.platform-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 950;
}

.platform-mark.green {
  background: var(--green-soft);
  color: #076245;
}

.support-strip {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-soft);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.support-strip p {
  max-width: 620px;
}

.charlie-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-alt);
}

.charlie-row img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: contain;
}

.charlie-row strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
}

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

@media (min-width: 980px) {
  .support-grid {
    display: flex;
  }

  .support-card {
    flex: 1 1 0;
    justify-content: center;
  }
}

.support-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  min-height: 62px;
  padding: 8px 6px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 8px 18px rgba(16, 24, 40, .07);
}

.support-card:hover {
  border-color: #b7d6fb;
  text-decoration: none;
  transform: translateY(-1px);
}

.support-card .support-icon {
  width: 22px;
  height: 22px;
}

.support-card strong {
  margin-bottom: 0;
  font-size: 12px;
  line-height: 1;
}

.support-card span {
  display: inline;
}

.support-page {
  display: grid;
  gap: 16px;
  max-width: 920px;
}

.support-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 16px;
  align-items: center;
}

.support-hero h2 {
  margin-bottom: 8px;
  font-size: clamp(24px, 4vw, 34px);
}

.support-hero img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: contain;
}

.charlie-profile {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 12px;
}

.charlie-profile img {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  object-fit: contain;
}

.charlie-profile h2 {
  font-size: 24px;
}

.command-list {
  display: grid;
  gap: 10px;
}

.command-list div {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 18px rgba(16, 24, 40, .05);
}

.command-list code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid #b7d6fb;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 850;
}

.command-list span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.charlie-capabilities {
  border-top: 0;
  padding-top: 16px;
}

.charlie-page .hero {
  padding-bottom: 12px;
}

.notification-tip {
  margin: 0 auto 28px;
  max-width: 760px;
}

.support-grid-large {
  margin-top: 0;
}

.support-channel-intro h2 {
  margin-bottom: 6px;
  font-size: 22px;
}

.support-channel-intro p {
  max-width: 680px;
}

.support-grid-large .support-card {
  min-height: 72px;
}

.support-form-card {
  scroll-margin-top: calc(92px + env(safe-area-inset-top, 0px));
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-soft);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.support-cta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 100%;
}

@media (min-width: 860px) {
  .support-cta {
    justify-content: flex-end;
  }
}

.support-form-card .section-header {
  margin-bottom: 18px;
}

.support-form {
  display: grid;
  gap: 14px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.conditional-field[hidden] {
  display: none;
}

.field span {
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
}

.field em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-alt);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  outline: none;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #8fb9ea;
  box-shadow: 0 0 0 4px rgba(47, 140, 255, .14);
}

.field ::placeholder {
  color: #8593a5;
}

.form-actions {
  display: grid;
  gap: 12px;
}

.form-actions .btn {
  width: 100%;
}

.form-note {
  margin: 0;
  font-size: 13px;
}

@media (min-width: 760px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 520px) {
  .support-card {
    flex-direction: row;
    gap: 9px;
    min-height: 44px;
    padding: 8px 12px;
  }

  .support-card .support-icon {
    width: 24px;
    height: 24px;
  }

  .support-card strong {
    font-size: 14px;
  }
}

.gallery {
  display: grid;
  gap: 12px;
  justify-items: center;
  width: min(100%, calc(100vw - 40px));
  max-width: calc(100vw - 40px);
  overflow: hidden;
}

.gallery-viewport {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  overscroll-behavior: contain;
  touch-action: pan-y;
  margin: 0;
  padding: 4px 0 8px;
  cursor: grab;
}

.gallery-viewport::-webkit-scrollbar {
  display: none;
}

.gallery-viewport:active {
  cursor: grabbing;
}

.gallery-track {
  --shot-w: clamp(190px, 61vw, 242px);
  --stack-shift: -34px;
  position: relative;
  width: min(100%, calc(var(--shot-w) + 150px));
  max-width: 100%;
  height: calc((var(--shot-w) * 2.09375) + 42px);
  max-height: 650px;
  margin: 0 auto;
  perspective: 900px;
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: var(--shot-w);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: translateX(-50%) scale(.72);
  opacity: 0;
  pointer-events: none;
  filter: saturate(.92);
  transition:
    transform .34s cubic-bezier(.2, .8, .2, 1),
    opacity .24s ease,
    filter .24s ease;
  will-change: transform, opacity;
}

.gallery-slide[data-stack="active"] {
  z-index: 5;
  opacity: 1;
  transform: translateX(calc(-50% + var(--stack-shift))) scale(1) rotate(0deg);
  pointer-events: auto;
  filter: saturate(1);
}

.gallery-slide[data-stack="next"] {
  z-index: 4;
  opacity: .8;
  transform: translateX(calc(-50% + var(--stack-shift) + 44px)) translateY(12px) scale(.94) rotate(4deg);
  pointer-events: auto;
}

.gallery-slide[data-stack="prev"] {
  z-index: 3;
  opacity: .72;
  transform: translateX(calc(-50% + var(--stack-shift) - 44px)) translateY(16px) scale(.91) rotate(-5deg);
  pointer-events: auto;
}

.gallery-slide[data-stack="next-2"] {
  z-index: 2;
  opacity: .42;
  transform: translateX(calc(-50% + var(--stack-shift) + 70px)) translateY(30px) scale(.86) rotate(7deg);
}

.gallery-slide[data-stack="prev-2"] {
  z-index: 1;
  opacity: .34;
  transform: translateX(calc(-50% + var(--stack-shift) - 70px)) translateY(34px) scale(.84) rotate(-7deg);
}

.gallery-slide img {
  width: 100%;
  aspect-ratio: 1280 / 2680;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
  border: 0;
  background: transparent;
}

.gallery-slide figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-align: center;
  opacity: 0;
  transition: opacity .2s ease;
}

.gallery-slide[data-stack="active"] figcaption {
  opacity: 1;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

@media (min-width: 900px) {
  .gallery-track {
    --shot-w: clamp(184px, 18vw, 228px);
    --stack-shift: -38px;
    width: min(100%, calc(var(--shot-w) + 230px));
    height: calc((var(--shot-w) * 2.09375) + 42px);
  }

  .gallery-slide[data-stack="next"] {
    transform: translateX(calc(-50% + var(--stack-shift) + 70px)) translateY(14px) scale(.93) rotate(4deg);
  }

  .gallery-slide[data-stack="prev"] {
    transform: translateX(calc(-50% + var(--stack-shift) - 70px)) translateY(18px) scale(.9) rotate(-5deg);
  }

  .gallery-slide[data-stack="next-2"] {
    transform: translateX(calc(-50% + var(--stack-shift) + 112px)) translateY(36px) scale(.84) rotate(7deg);
  }

  .gallery-slide[data-stack="prev-2"] {
    transform: translateX(calc(-50% + var(--stack-shift) - 112px)) translateY(40px) scale(.82) rotate(-7deg);
  }
}

.gallery-dot {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: var(--border);
  padding: 0;
}

.gallery-dot.active {
  width: 20px;
  background: var(--green);
}

.platform-ios-page .gallery-dot.active {
  background: var(--brand);
}

.section {
  padding: 46px 0;
  border-top: 1px solid var(--border);
}

.section.compact {
  padding: 30px 0;
}

.section.charlie-capabilities {
  border-top: 0;
  padding-top: 8px;
}

.section-header {
  max-width: 720px;
  margin-bottom: 22px;
}

.section-header h2 {
  font-size: clamp(24px, 4vw, 36px);
}

.section-header p {
  margin-top: 10px;
  font-size: 16px;
}

.grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 700px) {
  .grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

.split {
  display: grid;
  gap: 20px;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 28px;
  }
}

.card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.card-title-row h3 {
  margin-bottom: 0;
}

.card-title-row img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: none;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.meta-pill.green {
  border-color: rgba(61, 220, 132, .55);
  background: var(--green-soft);
  color: #08784f;
}

.card-title-row + .meta-pill {
  margin-bottom: 8px;
}

.card ul {
  margin: 8px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.card li {
  margin: 6px 0;
}

.card .meta {
  margin-bottom: 12px;
}

.callout {
  padding: 14px;
  border: 1px solid #f5d9a4;
  border-radius: var(--radius);
  background: var(--amber-soft);
  color: #7a4600;
}

.callout p {
  color: #7a4600;
}

.install-confidence {
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.install-confidence h2 {
  margin-bottom: 9px;
  font-size: 18px;
}

.install-confidence ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.install-confidence li {
  color: var(--muted);
}

.steps {
  margin: 0;
  padding-left: 22px;
}

.steps li {
  margin-bottom: 10px;
}

.release {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.release + .release {
  margin-top: 12px;
}

.release-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.release-head strong {
  font-size: 18px;
}

.release ul {
  margin: 0;
  padding-left: 20px;
}

.release li {
  margin: 5px 0;
}

.release p {
  margin: 0;
}

.release-details,
.release-history {
  margin-top: 16px;
}

.release-details > summary,
.release-history > summary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--brand-dark);
  background: transparent;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.release-details > summary:hover,
.release-history > summary:hover {
  color: var(--brand);
  background: var(--brand-soft);
  border-color: #c8def8;
}

.release-details > summary:active,
.release-history > summary:active {
  color: var(--brand-deep);
  transform: translateY(1px);
}

.release-details > summary::-webkit-details-marker,
.release-history > summary::-webkit-details-marker {
  display: none;
}

.release-details > summary::after,
.release-history > summary::after {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  margin-left: 8px;
  border: 1.5px solid #8fb9ea;
  border-radius: 999px;
  background-color: #eef6ff;
  background-image: url("../images/chevron-down.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 6px 14px rgba(7, 87, 184, .08);
  content: "";
  opacity: 1;
  transform: rotate(0deg);
  transform-origin: 50% 50%;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.release-details[open] > summary,
.release-history[open] > summary {
  margin-bottom: 12px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-color: #c8def8;
}

.release-details[open] > summary::after,
.release-history[open] > summary::after {
  border-color: #2f6fce;
  background-color: #e0efff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 8px 18px rgba(7, 87, 184, .14);
  transform: rotate(180deg);
}

.release-detail-grid {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-alt), var(--surface));
}

.release-detail-grid h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.release-detail-grid section {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.release-history {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--surface-alt));
}

.release-history > summary {
  display: flex;
  width: 100%;
  min-height: 44px;
  padding: 0 2px;
  border: 0;
  border-radius: 0;
  color: var(--text);
  background: transparent;
  font-size: 18px;
}

.release-history > summary:hover,
.release-history[open] > summary {
  color: var(--text);
  background: transparent;
  border-color: transparent;
}

.history-list {
  position: relative;
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.history-list::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 6px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand), var(--border));
  content: "";
}

.history-list > .release-details {
  position: relative;
  margin: 0;
}

.history-list > .release-details::before {
  position: absolute;
  top: 18px;
  left: -21px;
  z-index: 1;
  width: 12px;
  height: 12px;
  border: 3px solid var(--surface-alt);
  border-radius: 999px;
  background: var(--brand);
  content: "";
}

.history-list > .release-details > summary {
  display: flex;
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  background: var(--surface);
  box-shadow: 0 8px 18px rgba(16, 24, 40, .05);
}

.history-list > .release-details > summary:hover {
  color: var(--brand-dark);
  background: var(--surface);
  border-color: #bfd8f4;
}

.history-list > .release-details[open] > summary {
  margin-bottom: 0;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-color: #bfd8f4;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
}

.history-list > .release-details > ul {
  margin: 0;
  padding: 12px 14px 14px 32px;
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  background: var(--surface);
  box-shadow: 0 10px 22px rgba(16, 24, 40, .06);
}

.page-title {
  padding: 46px 0 30px;
}

.page-title h1 {
  font-size: clamp(32px, 6vw, 56px);
}

.page-title p {
  max-width: 720px;
  margin-top: 12px;
  font-size: 17px;
}

.tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.tab-button {
  flex: 1;
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.tab-button.active {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 1px 4px rgba(16, 24, 40, .12);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.legal h2 {
  margin: 26px 0 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 20px;
}

.legal ul {
  padding-left: 22px;
}

.site-footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

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

.footer-links a {
  color: var(--muted);
  font-weight: 700;
}

.warning {
  color: var(--red);
  background: var(--red-soft);
  border-color: #f7c5c0;
}

@media (prefers-color-scheme: dark) {
  body {
    color: #eef5ff;
    background:
      linear-gradient(180deg, #071524 0, #0b1d30 420px, #071524 100%);
  }

  :root {
    --surface: #0f2338;
    --surface-alt: #0b1d30;
    --text: #eef5ff;
    --muted: #aec0d3;
    --border: #223a53;
    --brand: #2f8cff;
    --brand-dark: #176bd4;
    --brand-deep: #0d55ad;
    --brand-soft: #102d4d;
    --green: #20c987;
    --green-dark: #0b8f5d;
    --green-soft: #0c2d25;
    --amber-soft: #35250b;
    --red-soft: #3c1715;
    --shadow: 0 14px 36px rgba(0, 0, 0, .28);
    --chrome-bg: #071524;
    --chrome-border: rgba(255, 255, 255, .1);
    --chrome-text: #eef5ff;
    --chrome-muted: #c9d7e8;
    --chrome-active: rgba(255, 255, 255, .08);
  }

  .mob-nav,
  .menu-button,
  .btn.secondary,
  .badge,
  .release {
    background: #0f2338;
  }

  .btn.secondary {
    color: #d8ebff;
    border-color: #365d82;
  }

  .platform-link {
    background: rgba(15, 35, 56, .82);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
  }

  .platform-link:hover {
    background: #142b45;
    border-color: #3a6c9f;
  }

  .platform-mark {
    color: #d8ebff;
  }

  .platform-mark.green {
    color: #a7f3d0;
  }

  .platform-button,
  .support-card {
    background: #0f2338;
  }

  .support-card:hover {
    background: #142b45;
    border-color: #3a6c9f;
  }

  .command-list code {
    color: #ffd98c;
    border-color: #6d4a14;
    background: #35250b;
  }

  .platform-button.android {
    border-color: rgba(61, 220, 132, .38);
    background: linear-gradient(180deg, rgba(61, 220, 132, .12), #0f2338);
  }

  .platform-button.android:hover {
    border-color: var(--green);
    background: linear-gradient(180deg, rgba(61, 220, 132, .18), #142b45);
  }

  .platform-button.ios {
    border-color: rgba(238, 245, 255, .3);
    background: linear-gradient(180deg, rgba(238, 245, 255, .08), #0f2338);
  }

  .platform-button.ios:hover {
    border-color: #fff;
    background: linear-gradient(180deg, rgba(238, 245, 255, .12), #142b45);
  }

  .platform-button.android .platform-version {
    color: #a7f3d0;
    border-color: rgba(61, 220, 132, .45);
  }

  .platform-button.ios .platform-version {
    color: #fff;
    border-color: rgba(238, 245, 255, .3);
    background: #142b45;
  }

  .meta-pill {
    background: #0b1d30;
  }

  .meta-pill.green {
    color: #a7f3d0;
    border-color: rgba(61, 220, 132, .45);
  }

  .apple-icon-light {
    display: none;
  }

  .apple-icon-dark {
    display: block;
  }

  .tab-button.active {
    background: #172f4a;
    color: #d8ebff;
  }

  .release-detail-grid section {
    background: #0b1d30;
  }

  .release-detail-grid,
  .release-history {
    background: linear-gradient(180deg, #0f2338, #0b1d30);
  }

  .release-details[open] > summary,
  .release-history[open] > summary {
    color: #d8ebff;
  }

  .release-details > summary:hover,
  .release-details[open] > summary {
    background: #102d4d;
    border-color: #365d82;
  }

  .release-details > summary::after,
  .release-history > summary::after {
    border-color: #4f7fb3;
    background: #102d4d;
    background-image: url("../images/chevron-down.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px 22px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 8px 18px rgba(0, 0, 0, .22);
  }

  .release-details[open] > summary::after,
  .release-history[open] > summary::after {
    border-color: #7eb6ff;
    background-color: #123b68;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 10px 22px rgba(0, 0, 0, .28);
  }

  .release-history > summary,
  .release-history > summary:hover,
  .release-history[open] > summary {
    color: #eef5ff;
    background: transparent;
    border-color: transparent;
  }

  .history-list::before {
    background: linear-gradient(180deg, #2f8cff, #223a53);
  }

  .history-list > .release-details::before {
    border-color: #0b1d30;
    background: #2f8cff;
  }

  .history-list > .release-details > summary {
    color: #eef5ff;
    background: #0f2338;
    border-color: #223a53;
    box-shadow: none;
  }

  .history-list > .release-details > summary:hover,
  .history-list > .release-details[open] > summary {
    color: #d8ebff;
    background: #102d4d;
    border-color: #365d82;
  }

  .history-list > .release-details > ul {
    background: #0f2338;
    border-color: #223a53;
    box-shadow: none;
  }

  .badge.green {
    color: #a7f3d0;
    border-color: #1e604a;
  }

  .badge.amber,
  .callout,
  .callout p {
    color: #ffd98c;
    border-color: #6d4a14;
  }

  .warning {
    color: #ffb4ac;
    border-color: #7a2e29;
  }
}
