:root { color-scheme: light; --bg: #f7f7f5; --text: #171717; --muted: #666; --line: #d8d8d3; --link: #174ea6; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); overflow-x: clip; }
body { background: var(--bg); color: var(--text); font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; margin: 0; overflow-x: clip; }
.theme-dark { color-scheme: dark; --bg: #030711; --text: #f8fafc; --muted: #94a3b8; --line: #1e293b; --link: #60a5fa; }
img, video, svg { display: block; height: auto; max-width: 100%; }
a { color: var(--link); text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }
.skip-link { background: var(--text); color: white; left: 1rem; padding: .6rem .8rem; position: absolute; top: -4rem; z-index: 2; }
.skip-link:focus { top: 1rem; }
.site-header, main, footer { margin-inline: auto; width: min(calc(100% - 2rem), 880px); }
.site-header { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 1rem; justify-content: space-between; padding: 1.25rem 0; position: relative; z-index: 40; }
.wordmark { color: var(--text); font-size: 1rem; font-weight: 700; text-decoration: none; }
nav { align-items: center; display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; }
nav > a { color: var(--muted); font-size: .9rem; text-decoration: none; }
nav > a:hover, nav > a:focus-visible { color: var(--text); }
nav > a[aria-current="page"] { color: var(--text); font-weight: 600; }

/* Dropdown nav (Apps / Games) */
.nav-drop { position: relative; }
.nav-drop-summary {
  align-items: center;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  font-size: .9rem;
  gap: .2rem;
  list-style: none;
  user-select: none;
}
.nav-drop-summary::-webkit-details-marker { display: none; }
.nav-drop-summary::marker { content: ""; }
.nav-drop-summary.is-current { color: var(--text); font-weight: 600; }
.nav-drop-summary:hover, .nav-drop-summary:focus-visible { color: var(--text); }
.nav-drop-label { line-height: 1; }
.nav-drop-chevron {
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  display: inline-block;
  height: .35rem;
  margin-left: .15rem;
  transform: rotate(45deg) translateY(-1px);
  width: .35rem;
}
.nav-drop[open] .nav-drop-chevron { transform: rotate(225deg) translateY(-1px); }
.nav-drop-panel {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .08);
  display: grid;
  gap: 0;
  left: 0;
  max-height: min(70vh, 28rem);
  min-width: 14rem;
  overflow: auto;
  padding: .4rem;
  position: absolute;
  top: calc(100% + .55rem);
  z-index: 50;
}
.nav-drop-panel a {
  border-radius: 8px;
  color: var(--text);
  display: block;
  font-size: .88rem;
  line-height: 1.25;
  padding: .55rem .7rem;
  text-decoration: none;
  white-space: nowrap;
}
.nav-drop-panel a:hover,
.nav-drop-panel a:focus-visible {
  background: rgba(23, 78, 166, .08);
  color: var(--link);
  outline: none;
}
.nav-drop-all {
  border-bottom: 1px solid var(--line);
  color: var(--muted) !important;
  font-weight: 600;
  margin-bottom: .2rem;
  padding-bottom: .65rem !important;
}
.theme-dark .nav-drop-panel {
  background: #0b1220;
  border-color: #1e293b;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .45);
}
.theme-dark .nav-drop-panel a:hover,
.theme-dark .nav-drop-panel a:focus-visible {
  background: rgba(96, 165, 250, .12);
}

/* Footer */
footer { color: var(--muted); font-size: .9rem; padding: 3rem 0 4rem; }
.site-footer-inner { align-items: center; display: flex; flex-wrap: wrap; gap: .55rem .85rem; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover, footer a:focus-visible { color: var(--link); text-decoration: underline; }
.footer-sep { color: var(--line); }
.hero { padding: clamp(2.25rem, 8vw, 5.5rem) 0 1.5rem; }
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(2.25rem, 9vw, 5.5rem); letter-spacing: -.055em; line-height: .95; margin-bottom: 1.25rem; overflow-wrap: anywhere; }
.hero p { color: var(--muted); font-size: clamp(1.05rem, 3vw, 1.35rem); margin: 0; }
.app-list { border-top: 1px solid var(--line); }
.app-row { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: 1.5rem; grid-template-columns: minmax(16rem, 1fr) minmax(16rem, 30rem); min-width: 0; padding: 1.75rem 0; }
.app-row > div { min-width: 0; }
.app-row-main { align-items: center; display: flex; gap: 1rem; min-width: 0; }
.app-row-copy { min-width: 0; }
.app-row-icon { border-radius: 18%; flex: 0 0 auto; height: 48px; object-fit: cover; width: 48px; }
.app-row h2 { font-size: 1.2rem; letter-spacing: -.02em; margin-bottom: .25rem; overflow-wrap: anywhere; }
.app-row h2 a { color: inherit; text-decoration: none; }
.app-row h2 a:hover, .app-row h2 a:focus-visible { color: var(--link); text-decoration: underline; }
.app-row p { color: var(--muted); margin-bottom: 0; max-width: 36rem; overflow-wrap: anywhere; }
.download-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; min-width: 0; }
.download-link { border: 1px solid var(--text); border-radius: 999px; color: var(--text); display: inline-flex; font-size: .9rem; font-weight: 600; min-height: 2.75rem; padding: .62rem 1rem; text-decoration: none; white-space: nowrap; }
.download-link:hover { background: var(--text); color: var(--bg); }
.theme-dark .download-link { border-color: #334155; background: #0b1220; }
.theme-dark .download-link:hover { background: #3b82f6; border-color: #3b82f6; color: #030711; }
.app-page { max-width: 42rem; min-width: 0; padding: clamp(2.5rem, 10vw, 7rem) 0; }
.app-page--with-promo { max-width: none; width: 100%; }
.app-page-split {
  align-items: start;
  display: grid;
  gap: 1.25rem 1.75rem;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}
.app-page-main { max-width: 42rem; min-width: 0; }
.app-promo-rail {
  margin: 0;
  max-width: 9rem;
  min-width: 0;
  width: 100%;
}
.app-promo-rail figure { margin: 0; }
.app-promo-rail video {
  aspect-ratio: 1080 / 1596;
  background: #111;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: block;
  height: auto;
  max-height: none;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}
.theme-dark .app-promo-rail video { background: #020617; border-color: #1e293b; }
.app-promo-rail figcaption {
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .01em;
  line-height: 1.35;
  margin-top: .45rem;
}
@media (min-width: 820px) {
  .app-page-split {
    grid-template-columns: minmax(0, 1fr) 10.75rem;
  }
  .app-promo-rail {
    max-width: none;
    position: sticky;
    top: 1.25rem;
  }
}
@media (max-width: 819px) {
  /* Compact phone peek on the right — does not steal the first viewport */
  .app-page-split {
    grid-template-columns: minmax(0, 1fr) 7.25rem;
    gap: 1rem;
  }
  .app-promo-rail { max-width: none; }
  .app-promo-rail figcaption { font-size: .72rem; }
}
.app-heading { align-items: center; display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; min-width: 0; }
.app-heading h1 { margin-bottom: 0; min-width: 0; }
.app-icon { border-radius: 18%; display: block; flex: 0 0 auto; height: 72px; object-fit: cover; width: 72px; }
.app-page h1 { font-size: clamp(2rem, 8vw, 4.5rem); }
.app-page > p:not(.back), .app-lede { color: var(--muted); font-size: 1.15rem; margin-bottom: 1.25rem; overflow-wrap: anywhere; }
.app-page .download-actions { justify-content: flex-start; margin-bottom: 1.75rem; margin-top: 1.75rem; }
.android-install-note { border-left: 3px solid var(--line); color: var(--muted); font-size: .95rem; margin-top: 1.5rem; padding-left: 1rem; }
.product-overview { border-top: 1px solid var(--line); margin-top: 2.75rem; padding-top: 2rem; }
.product-overview h2 { font-size: 1.45rem; letter-spacing: -.02em; margin: 0 0 .75rem; }
.product-overview > p { color: var(--muted); margin-bottom: 1.5rem; }
.feature-list { display: grid; gap: 1.25rem 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.feature-list li { border-top: 1px solid var(--line); color: var(--muted); min-width: 0; padding-top: .85rem; }
.feature-list strong { color: var(--text); display: block; margin-bottom: .25rem; }
.product-overview .product-meta { font-size: .9rem; margin: 1.75rem 0 0; }
.back { font-size: .9rem; margin-bottom: 2rem; }
.web-preview { margin: 1.5rem 0 0; max-width: 100%; min-width: 0; width: min(100%, 30rem); }
.web-preview-link { color: inherit; display: block; max-width: 100%; min-width: 0; text-decoration: none; }
.web-preview-link:focus-visible { border-radius: 12px; outline: 3px solid var(--link); outline-offset: 3px; }
.web-preview-link img { transition: opacity .15s ease, box-shadow .15s ease; }
.web-preview-link:hover img, .web-preview-link:focus-visible img { box-shadow: 0 0 0 1px var(--link); opacity: .94; }
.web-preview img, .web-preview video, .demo-video { background: #fff; border: 1px solid var(--line); border-radius: 12px; display: block; height: auto; max-height: 20rem; max-width: 100%; object-fit: contain; width: auto; }
.web-preview figcaption { color: var(--muted); font-size: .9rem; margin-top: .6rem; overflow-wrap: anywhere; }
.demo-gallery { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 2rem; min-width: 0; }
@media (min-width: 560px) { .demo-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .site-header, main, footer { width: min(calc(100% - 1.5rem), 880px); }
  .site-header { align-items: flex-start; flex-wrap: wrap; gap: .75rem; padding: 1rem 0; }
  nav { gap: .85rem; }
  .app-row { align-items: start; gap: 1rem; grid-template-columns: 1fr; padding: 1.35rem 0; }
  .app-row-main { align-items: flex-start; gap: .75rem; }
  .app-row-icon { height: 40px; width: 40px; }
  .download-actions { display: grid; gap: .5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: initial; width: 100%; }
  .download-link { align-items: center; font-size: .82rem; justify-content: center; line-height: 1.15; min-height: 2.75rem; padding: .5rem .6rem; text-align: center; white-space: normal; width: 100%; }
  .app-heading { align-items: flex-start; gap: .75rem; }
  .app-icon { height: 56px; width: 56px; }
  .app-page { padding: 2rem 0 3rem; }
  .app-page-split { gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
  .app-promo-rail { max-width: 20rem; }
  .app-page .download-actions { margin-top: 1.25rem; }
  .product-overview { margin-top: 2.25rem; padding-top: 1.5rem; }
  .feature-list { grid-template-columns: 1fr; }
  .web-preview { margin-top: 1.15rem; }
  .web-preview img, .web-preview video, .demo-video { border-radius: 10px; }
  .demo-gallery { gap: .75rem; margin-top: 1.5rem; }
}
@media (min-width: 420px) and (max-width: 640px) { .download-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Screen-reader only (install-copy live region) */
.sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* Downloads hub tabs: Apps | Install */
.hub-tabs { border-top: 1px solid var(--line); }
.tablist {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
}
.tab {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -.01em;
  margin: 0;
  min-height: 2.75rem;
  padding: .85rem 1.1rem .7rem 0;
  margin-right: 1.25rem;
}
.tab:hover { color: var(--text); }
.tab:focus-visible {
  color: var(--text);
  outline: 3px solid var(--link);
  outline-offset: 3px;
}
.tab[aria-selected="true"] {
  border-bottom-color: var(--text);
  color: var(--text);
}
.panel-lede {
  color: var(--muted);
  font-size: .95rem;
  margin: 1.25rem 0 0;
  max-width: 40rem;
}
.tabpanel .app-list { margin-top: .5rem; }

/* Install tab: grouped packages with inline copy */
.pkg-group { margin-top: 2rem; }
.pkg-group:first-of-type { margin-top: 1.5rem; }
.pkg-group-title {
  font-size: 1.2rem;
  letter-spacing: -.02em;
  margin: 0 0 .35rem;
}
.pkg-group-lede {
  color: var(--muted);
  font-size: .95rem;
  margin: 0 0 .75rem;
  max-width: 40rem;
}
.pkg-list { border-top: 1px solid var(--line); }
.pkg-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1rem 1.5rem;
  grid-template-columns: minmax(14rem, 1fr) minmax(16rem, 1.4fr);
  min-width: 0;
  padding: 1.15rem 0;
}
.pkg-main {
  align-items: center;
  display: flex;
  gap: .85rem;
  min-width: 0;
}
.pkg-icon {
  border-radius: 18%;
  flex: 0 0 auto;
  height: 40px;
  object-fit: cover;
  width: 40px;
}
.pkg-mark {
  align-items: center;
  background: #ecece8;
  border-radius: 18%;
  color: var(--muted);
  display: inline-flex;
  flex: 0 0 auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .95rem;
  font-weight: 600;
  height: 40px;
  justify-content: center;
  width: 40px;
}
.theme-dark .pkg-mark { background: #1e293b; }
.pkg-copy { min-width: 0; }
.pkg-copy h3 {
  font-size: 1.05rem;
  letter-spacing: -.01em;
  margin: 0 0 .2rem;
  overflow-wrap: anywhere;
}
.pkg-copy h3 a { color: inherit; text-decoration: none; }
.pkg-copy h3 a:hover,
.pkg-copy h3 a:focus-visible { color: var(--link); text-decoration: underline; }
.pkg-copy p {
  color: var(--muted);
  margin: 0;
  overflow-wrap: anywhere;
}
.pkg-install {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  display: grid;
  gap: .55rem .75rem;
  grid-template-columns: auto 1fr auto;
  min-width: 0;
  padding: .55rem .65rem .55rem .85rem;
}
.theme-dark .pkg-install { background: #0b1220; border-color: #1e293b; }
.pkg-install:focus-within {
  outline: 3px solid var(--link);
  outline-offset: 2px;
}
.pkg-registry {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pkg-install .install-text {
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .82rem;
  min-width: 0;
  overflow-x: auto;
  user-select: all;
  white-space: nowrap;
}
.pkg-install .install-copy {
  appearance: none;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  min-height: 2.25rem;
  min-width: 4.25rem;
  padding: .35rem .7rem;
  text-transform: uppercase;
}
.pkg-install .install-copy:hover {
  border-color: var(--text);
}
.pkg-install .install-copy:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 2px;
}
.pkg-install .install-copy.is-copied {
  border-color: var(--text);
}

@media (max-width: 700px) {
  .pkg-row {
    align-items: stretch;
    grid-template-columns: 1fr;
    padding: 1rem 0;
  }
  .pkg-install {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "reg copy"
      "cmd cmd";
  }
  .pkg-registry { grid-area: reg; }
  .pkg-install .install-text { grid-area: cmd; white-space: normal; }
  .pkg-install .install-copy { grid-area: copy; }
}
@media (max-width: 640px) {
  .tab { margin-right: .85rem; padding-right: .35rem; }
}

/* ============================================================
   Hub compatibility pills: platform as glyph, channel as word.
   Hub rows only. Per-app pages keep .download-actions/.download-link
   so the release patcher can still refresh their versioned hrefs.
   ============================================================ */
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  justify-content: flex-end;
  min-width: 0;
}
.pf {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  gap: .55rem;
  min-height: 2.75rem;
  padding: .4rem .85rem;
  text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease;
}
.pf:hover { border-color: var(--text); }
.pf:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }
.pf-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  min-width: 0;
}
.glyphs { align-items: center; display: inline-flex; gap: .28rem; }
.chan {
  font: 700 .66rem/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.chan--soft { color: var(--muted); }
.pf-sep {
  align-self: stretch;
  background: var(--line);
  flex: 0 0 auto;
  min-height: 1.4rem;
  width: 1px;
}
.pf-web .chan { letter-spacing: .09em; }
/* Web is a different verb: try it, rather than acquire it. A hairline sets it
   apart from the install chips that follow. Suppressed under 641px, where the
   row wraps and a divider can land at the end of a line. */
.pf-web { margin-right: .55rem; position: relative; }
@media (min-width: 641px) {
  .pf-web:not(:only-child)::after {
    background: var(--line);
    content: "";
    height: 1.4rem;
    position: absolute;
    right: -.55rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
  }
}
.theme-dark .pf { background: #0b1220; border-color: #334155; }
.theme-dark .pf:hover { border-color: #60a5fa; }

/* Device glyphs. One 24x24 grid, one stroke weight, currentColor throughout,
   so a single sprite works on the light ground, the dark ground, and inside
   a filled chip. Sizes are optical, not uniform: a globe set to the laptop's
   box carries far more ink and makes the row bulge. */
.ico {
  display: block;
  fill: none;
  flex: 0 0 auto;
  height: var(--ico, 20px);
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: var(--ico, 20px);
}
.ico--iphone { --ico: 19px; }
.ico--ipad { --ico: 20px; }
.ico--mac { --ico: 21px; }
.ico--tv { --ico: 21px; }
.ico--watch { --ico: 19px; }
.ico--android { --ico: 20px; }
.ico--web { --ico: 19px; }
.ico--ios { --ico: 19px; }
.ico--desktop { --ico: 21px; }
.ico--firefox { --ico: 20px; }

/* One pill per row carries every supported platform and opens the app page.
   It is the row's primary action, so it reads a step stronger than the Web
   link beside it — previously the App Store pill outranked the app title and
   sent people off-site before they saw the product page. */
.pf-go { border-color: var(--text); }
.pf-go .glyphs { gap: .34rem; }
.pf-arrow {
  color: var(--muted);
  font: 700 .95rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  margin-left: .1rem;
  transition: transform .15s ease;
}
.pf-go:hover .pf-arrow, .pf-go:focus-visible .pf-arrow { color: var(--text); transform: translateX(2px); }
/* Nothing has shipped yet for this app: everything behind the pill is a beta
   or a test build. */
.pf-pre { border-style: dashed; }
.theme-dark .pf-go { border-color: #94a3b8; }
@media (prefers-reduced-motion: reduce) { .pf-arrow { transition: none; } }

@media (max-width: 640px) {
  /* Rows now carry up to five per-platform chips instead of one combined pill,
     so they wrap as compact pills rather than stacking full width. */
  .row-actions { justify-content: flex-start; width: 100%; }
  .pf { justify-content: center; min-width: 6.5rem; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .pf { transition: none; }
}

/* For Developers: top highlight for curated a11y list */
.dev-highlight {
  margin: 0.25rem 0 0.5rem;
}
.dev-highlight-card {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #0f1419;
  color: #f5f5f5;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.dev-highlight-card:hover,
.dev-highlight-card:focus-visible {
  border-color: #1e3a8a;
  box-shadow: 0 10px 28px rgba(30, 58, 138, 0.18);
}
.dev-highlight-card:focus-visible {
  outline: 2px solid #1e3a8a;
  outline-offset: 2px;
}
.dev-highlight-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #101624;
}
.dev-highlight-copy {
  padding: 1.1rem 1.15rem 1.2rem;
}
.dev-highlight-kicker {
  margin: 0 0 0.35rem;
  color: #93c5fd;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.dev-highlight-copy h2 {
  margin: 0 0 0.4rem;
  text-wrap: balance;
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.dev-highlight-copy p {
  margin: 0;
  color: rgba(245, 245, 245, 0.78);
  font-size: 0.95rem;
  line-height: 1.45;
}
.dev-highlight-cta {
  display: inline-block;
  margin-top: 0.75rem;
  color: #bfdbfe;
  font-size: 0.88rem;
  font-weight: 600;
}
@media (min-width: 720px) {
  /* The art is a 1200x630 OG card that carries its own type: crop it and the
     wordmark reflows at random. Give it its native ratio, let the copy column
     match that height, and the two halves line up. */
  .dev-highlight-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }
  .dev-highlight-card img {
    aspect-ratio: 1200 / 630;
    height: auto;
    min-height: 0;
    align-self: stretch;
    object-fit: cover;
  }
  .dev-highlight-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.25rem 1.5rem;
  }
  .dev-highlight-copy p { max-width: 34ch; }
}

/* Beta signup (downloads index) */
.beta-signup { border: 1px solid var(--line); border-radius: 12px; margin-top: 1.25rem; padding: 1rem 1.1rem 1.05rem; }
.beta-signup h2 { font-size: 1.05rem; letter-spacing: -.01em; margin: 0 0 .25rem; }
.beta-lede { color: var(--muted); font-size: .92rem; margin: 0 0 .7rem; max-width: 40rem; }
.beta-note { color: var(--muted); font-size: .85rem; margin: .55rem 0 0; }
.beta-form { align-items: center; display: flex; flex-wrap: wrap; gap: .6rem .9rem; }
.beta-form input[type="email"] { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; color: var(--text); flex: 1 1 14rem; font: inherit; font-size: .95rem; min-width: 12rem; padding: .55rem .7rem; }
.beta-form input[type="email"]:focus-visible { outline: 3px solid var(--link); outline-offset: 1px; }
.beta-check { align-items: center; color: var(--text); display: inline-flex; font-size: .9rem; gap: .35rem; white-space: nowrap; }
.beta-form button { background: var(--text); border: 0; border-radius: 8px; color: var(--bg); cursor: pointer; font: inherit; font-size: .92rem; font-weight: 600; padding: .55rem 1rem; }
.beta-form button:hover { opacity: .85; }
.beta-form button:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.beta-form button[disabled] { cursor: wait; opacity: .6; }
.beta-hp { left: -9999px; position: absolute; }
.beta-status { font-size: .9rem; margin: .5rem 0 0; }
.beta-status.ok { color: #15803d; }
.theme-dark .beta-status.ok { color: #4ade80; }
.beta-status.err { color: #b91c1c; }
.theme-dark .beta-status.err { color: #f87171; }
