:root {
  color-scheme: light;
  --bg: var(--site-bg);
  --text: var(--site-text);
  --muted: var(--site-muted);
  --quiet: #687488;
  --line: var(--site-line);
  --accent: var(--site-blue);
  --head-height: 64px;
  --scroll-track: #f1f4fa;
  --scroll-thumb: #c3cedf;
  --scroll-hover: #a9b8ce;
  --scroll-active: #8ea2be;
  font-family: var(--site-font);
}

.release-home {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(ellipse 40% 48% at 16% 43%, #e6f2ff, transparent 74%),
    radial-gradient(ellipse 48% 58% at 55% 29%, #dfeaff, transparent 74%),
    radial-gradient(ellipse 42% 55% at 96% 40%, #fbdce9, transparent 75%),
    radial-gradient(ellipse 48% 47% at 80% 80%, #e9ddfb, transparent 72%),
    linear-gradient(145deg, #fff 7%, #f7faff 66%, #f9f5fc);
}
.release-header { position: relative; z-index: 1; background: rgb(255 255 255 / .73); box-shadow: var(--site-nav-shadow); }
.release-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--head-height);
}
.release-header .brand img { filter: drop-shadow(0 3px 7px rgb(172 34 63 / .22)); }
.release-nav { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 99px; background: rgb(17 22 34 / .045); }
.release-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding-inline: clamp(9px, 1.2vw, 16px);
  border-radius: 99px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.release-nav a:hover { background: #fff; color: var(--text); }

.release-main {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  grid-template-areas: "intro stage" "download stage";
  align-content: center;
  gap: clamp(22px, 4svh, 42px) clamp(22px, 4vw, 58px);
  padding-block: clamp(24px, 4svh, 50px);
}
.release-main:focus { outline: none; }
.release-intro { grid-area: intro; display: grid; align-self: end; justify-items: start; }
.release-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  padding: 6px 13px;
  border: 1px solid rgb(255 255 255 / .94);
  border-radius: 99px;
  background: linear-gradient(150deg, rgb(255 255 255 / .85), rgb(202 225 249 / .59));
  backdrop-filter: blur(16px) saturate(140%);
  color: #30547c;
  font-weight: 650;
  font-size: 13px;
  line-height: 1.35;
  box-shadow: inset 0 1px 1px rgb(255 255 255 / .85), 0 5px 15px rgb(43 80 132 / .11);
}
.release-status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #558dc3;
  content: "";
}
.release-intro h1 { font-size: clamp(54px, 7.4vw, 110px); font-weight: 850; line-height: 1.02; letter-spacing: -.06em; }
.release-version {
  display: block;
  width: fit-content;
  padding-top: .12em;
}
.release-version .version-mark { display: block; width: auto; height: 1.1em; }
.version-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.release-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 27px;
}
.release-actions .button {
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 99px;
  font-size: 15px;
  line-height: normal;
  transition: transform .18s, background .18s, box-shadow .18s;
}
.release-actions .button:hover { transform: translateY(-1px); }
.release-actions .icon { width: 16px; height: 16px; }
.release-preview { background: #111622; color: #fff; box-shadow: 0 10px 24px rgb(17 22 34 / .18); }
.release-preview:hover { background: #263147; }
.release-notes { border-color: var(--line); background: #fff; color: var(--text); box-shadow: 0 6px 18px rgb(17 22 34 / .05); }
.release-notes:hover { background: #f8faff; }

.release-showcase {
  grid-area: stage;
  align-self: center;
  width: 100%;
}
.release-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 1.19;
  max-height: min(68svh, 580px);
}
.release-phone {
  position: absolute;
  top: 54%;
  height: 75%;
  aspect-ratio: 578 / 1205;
  filter: drop-shadow(0 21px 24px rgb(17 26 46 / .23));
  transform: translate(-50%, -50%);
}
.release-phone--left { left: 18%; }
.release-phone--right { left: 82%; }
.release-phone--center { top: 49%; left: 50%; height: 90%; }
.release-phone::after {
  position: absolute;
  inset: 0;
  background: url("/3.0/scene-phone-frame.webp") center / 100% 100% no-repeat;
  content: "";
}
.release-phone img {
  position: absolute;
  inset: 1% auto auto 2.08%;
  width: 94.81%;
  height: 97.93%;
  border-radius: 14.5% / 6.8%;
  object-fit: cover;
}

.release-download { grid-area: download; display: flex; flex-wrap: wrap; align-self: start; align-items: center; gap: 9px 14px; }
.release-download h2 { color: var(--muted); font-size: 13px; font-weight: 650; }
.release-platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.release-platform { min-height: 42px; padding-inline: 14px; border-color: var(--line); background: #fff; color: var(--text); font-size: 13px; }
.release-platform:hover { border-color: #bdcfe9; background: #f2f7ff; }
.release-platform .icon { color: var(--accent); }
.release-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 5px 16px;
  min-height: 46px;
  padding-block: 8px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 12px;
}
.release-footer small { font-size: inherit; }
.release-footer a:hover { color: var(--accent); }

.release-home .package-dialog { border-color: var(--line); border-radius: 24px; background: #fff; box-shadow: 0 22px 70px rgb(17 22 34 / .22); }
.release-home .package-dialog::backdrop { background: rgb(17 22 34 / .3); }
.release-home .dialog-close, .release-home .sponsor-inline-action { background: #f2f5fa; }
.release-home .dialog-close:hover { background: #e5ecf7; }
.release-home .package-choice { background: #f8fafd; }
.release-home a.package-choice:hover { border-color: #bdcfe9; background: #eef5ff; }

@media (max-width: 760px) {
  .release-home {
    background:
      radial-gradient(ellipse 80% 48% at 10% 59%, #e0eaff, transparent 72%),
      radial-gradient(ellipse 80% 52% at 99% 55%, #f8dfed, transparent 74%),
      linear-gradient(150deg, #fff 4%, #f6f9ff 80%);
  }
  .release-main {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "stage" "download";
    justify-items: center;
    gap: clamp(15px, 3svh, 25px);
    padding-block: clamp(18px, 3svh, 32px);
  }
  .release-intro { justify-items: center; text-align: center; }
  .release-status { margin-bottom: 11px; }
  .release-intro h1 { font-size: clamp(43px, 11.9vw, 68px); }
  .release-version { display: inline-block; padding: 0; }
  .release-version .version-mark { height: .78em; }
  .release-actions { justify-content: center; margin-top: 19px; }
  .release-showcase { width: min(100%, 485px); }
  .release-stage { height: clamp(182px, 72vw, 348px); max-height: clamp(140px, calc(100svh - 454px), 348px); }
  .release-phone--left { left: 21%; }
  .release-phone--right { left: 79%; }
  .release-download { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; --head-height: 56px; }
  .release-header .brand { gap: 7px; font-size: 14px; }
  .release-header .brand img { width: 32px; height: 32px; }
  .release-header .brand small { margin-top: 3px; font-size: 8px; }
  .release-nav a { padding-inline: 8px; font-size: 12px; }
  .release-download h2 { flex-basis: 100%; }
}

@media (max-width: 360px) {
  .release-actions .button { padding-inline: 13px; font-size: 14px; }
}

.release-footer { display:grid; grid-template-columns:1fr auto 1fr; }
.release-filing { justify-self:center; text-decoration:underline; text-underline-offset:.2em; }
@media (max-width:560px) { .release-footer { grid-template-columns:1fr; justify-items:center; text-align:center; } }
