.releases { width: var(--page-container); padding: clamp(16px, 2.5vw, 28px) 0 clamp(72px, 10vw, 128px); margin-inline: auto; }
.rel-hero { max-width: 860px; margin-bottom: clamp(36px, 6vw, 72px); }
.rel-hero h1 { font-size: clamp(44px, 7vw, 96px); }
.rel-hero .lead { max-width: 46ch; }
.rel-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.rel-version { padding: 5px 12px; border-radius: 99px; background: var(--gold); color: var(--deep); font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.rel-shot { width: 100%; border-radius: 20px; box-shadow: 0 24px 48px -24px #0f2a3080, 0 0 0 1px #193b4314; background: var(--paper); }

/* The newest release: dark panel, its text beside a staggered mosaic of its crops. */
.rel-feature { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: 36px;
  background: radial-gradient(120% 90% at 100% 0%, #0b586599, transparent 60%), radial-gradient(80% 80% at 0% 100%, #bd914533, transparent 60%), var(--deep);
  color: var(--ivory); overflow: hidden; transition: transform .35s ease; }
.rel-feature:hover { transform: translateY(-3px); }
.rel-feature .rel-meta { color: #ffffffb3; }
.rel-feature h2 { font-size: clamp(34px, 4.6vw, 60px); margin: 18px 0 14px; }
.rel-feature p { font-size: 18px; line-height: 1.5; color: #ffffffcc; max-width: 40ch; }
.rel-points { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rel-points li { padding: 8px 14px; border-radius: 99px; background: #ffffff14; border: 1px solid #ffffff22; font-size: 14px; }
.rel-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.rel-mosaic .rel-shot:nth-child(1) { grid-row: span 2; }
.rel-mosaic .rel-shot:nth-child(2) { margin-top: 36px; transform: rotate(2deg); }
.rel-mosaic .rel-shot:nth-child(3) { transform: rotate(-2deg); }
.rel-mosaic .rel-shot:only-child { grid-column: span 2; max-width: 340px; margin-inline: auto; }

/* Older releases. */
.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; margin-top: 20px; }
.rel-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 28px; background: var(--paper); transition: transform .3s ease, box-shadow .3s ease; }
.rel-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px #0f2a3066; }
.rel-card .rel-cover { height: 220px; display: grid; place-items: center; overflow: hidden; border-radius: 20px; background: linear-gradient(160deg, #0b58651a, #bd91451f); }
.rel-card .rel-cover img { max-height: 190px; width: auto; border-radius: 14px; box-shadow: 0 18px 32px -18px #0f2a3080; }
.rel-card h3 { font-size: 22px; }
.rel-card p { color: var(--muted); line-height: 1.5; }
.rel-empty { padding: 48px; border-radius: 28px; background: var(--paper); color: var(--muted); font-size: 18px; text-align: center; }

/* Detail: bento tiles in brand colours. */
.rel-bento { display: grid; gap: 20px; }
.rel-tile { display: grid; gap: 22px; align-content: start; padding: clamp(22px, 3vw, 36px); border-radius: 32px; background: var(--paper); overflow: hidden; }
.rel-tile h2 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.03em; margin-bottom: 10px; }
.rel-tile p { font-size: 17px; line-height: 1.55; color: var(--muted); }
.rel-tile .rel-shot { max-width: 380px; margin-inline: auto; }
.rel-tile:nth-child(3n+2) { background: var(--deep); color: var(--ivory); }
.rel-tile:nth-child(3n+2) p { color: #ffffffc7; }
.rel-tile:nth-child(3n+3) { background: linear-gradient(160deg, #bd914533, #bd914514); }
.rel-back { display: inline-block; margin-top: 40px; }
@media (min-width: 820px) {
  .rel-feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rel-bento { grid-template-columns: repeat(6, 1fr); }
  .rel-tile { grid-column: span 3; }
  .rel-tile.wide { grid-column: span 6; grid-template-columns: minmax(0, 1fr) minmax(240px, 380px); align-items: center; gap: 40px; }
  .rel-tile:not(.wide) .rel-shot { order: -1; }
}
@media (prefers-reduced-motion: no-preference) {
  .rel-feature, .rel-card, .rel-tile { animation: rel-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .rel-grid > :nth-child(2), .rel-bento > :nth-child(2) { animation-delay: .08s; }
  .rel-grid > :nth-child(3), .rel-bento > :nth-child(3) { animation-delay: .16s; }
  .rel-grid > :nth-child(n+4), .rel-bento > :nth-child(n+4) { animation-delay: .24s; }
}
@keyframes rel-rise { from { opacity: 0; transform: translateY(18px); } }

/* What's new | Changelog switch. */
.rel-switch { display: flex; width: fit-content; gap: 4px; padding: 4px; margin: 0 auto clamp(32px, 5vw, 56px); border-radius: 99px; background: var(--paper); box-shadow: 0 0 0 1px #193b4314; }
/* Scrolled past it, a copy slides up and stays 10px above the bottom edge. */
.rel-switch.floating { position: fixed; left: 50%; bottom: calc(10px + env(safe-area-inset-bottom)); margin: 0; z-index: 50;
  box-shadow: 0 16px 36px -14px #0f2a3080, 0 0 0 1px #193b4314; transform: translate(-50%, calc(100% + 24px)); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.rel-switch.floating.shown { transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .rel-switch.floating { transition: none; } }
.rel-switch a { padding: 9px 18px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--muted); }
.rel-switch a[aria-current] { background: var(--deep); color: var(--ivory); }
.rel-platform { padding: 4px 10px; border-radius: 99px; box-shadow: inset 0 0 0 1px currentColor; font-size: 12px; font-weight: 650; }
.rel-more { display: inline-block; margin-top: 18px; font-weight: 650; color: var(--petrol); }
.rel-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Titles that open a release: no underline; on hover the text fills with a moving petrol-to-gold sheen. */
.rel-title { --sheen: var(--petrol), var(--gold), var(--petrol); background: linear-gradient(100deg, var(--sheen)) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; transition: color .25s; }
.rel-feature .rel-title { --sheen: var(--ivory), var(--gold), var(--ivory); }
a.rel-title:hover, a:hover > .rel-title, a:hover > div > .rel-title { color: transparent; animation: rel-sheen 1.8s linear infinite; }
@keyframes rel-sheen { to { background-position: -200% 0; } }

/* What else is new: one row per smaller change, title beside its text. */
.rel-else { margin-top: clamp(64px, 9vw, 120px); padding: 0; }
.rel-else > h2 { text-align: center; margin-bottom: clamp(28px, 5vw, 56px); }
.rel-else-row { display: grid; gap: 8px 48px; padding: 28px 0; border-top: 1px solid #193b431f; }
.rel-else-row h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 400; letter-spacing: -.015em; }
.rel-else-row p { color: var(--muted); font-size: 17px; line-height: 1.55; }
.rel-feature .rel-platform { color: #ffffffcc; }

/* Changelog. */
.cl { display: grid; gap: 32px; }
.cl-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.cl-filter button { padding: 8px 16px; border: 0; border-radius: 99px; background: var(--paper); color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.cl-filter button[aria-pressed="true"] { background: var(--deep); color: var(--ivory); }
.cl-nav { display: none; }
.cl-nav details + details { margin-top: 18px; }
.cl-nav summary { font-size: 20px; font-weight: 650; cursor: pointer; list-style-position: inside; }
.cl-nav ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.cl-nav a { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.cl-nav a::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: currentColor; opacity: .35; transition: height .2s, opacity .2s; }
.cl-nav a[aria-current] { color: var(--ink, inherit); font-weight: 600; }
.cl-nav a[aria-current]::before { height: 16px; opacity: 1; }
.cl-month { scroll-margin-top: 100px; padding: 0; }
.cl-month > h2 { font-size: 15px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; }
.cl-entry { padding: clamp(22px, 3vw, 36px) 0 clamp(36px, 5vw, 56px); border-top: 1px solid #193b431f; }
.cl-entry h3 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.03em; margin: 12px 0 14px; }
.cl-entry > p { font-size: 18px; line-height: 1.5; max-width: 52ch; }
.cl-changes { display: grid; gap: 26px 48px; margin-top: 30px; }
.cl-changes h4 { font-size: 18px; font-weight: 400; letter-spacing: -.01em; margin-bottom: 6px; }
.cl-changes p { color: var(--muted); line-height: 1.5; }
.cl-changes .rel-meta { margin-top: 8px; }
.cl[data-filter="web"] [data-platforms]:not([data-platforms~="web"]),
.cl[data-filter="ios"] [data-platforms]:not([data-platforms~="ios"]),
.cl[data-filter="android"] [data-platforms]:not([data-platforms~="android"]) { display: none; }
@media (min-width: 820px) {
  .cl { grid-template-columns: 200px minmax(0, 1fr); gap: 56px; }
  .cl-nav { display: block; position: sticky; top: 100px; align-self: start; }
  .cl-changes { grid-template-columns: 1fr 1fr; }
  .rel-else-row { grid-template-columns: 1fr 1fr; }
}
