:root {
  color-scheme: dark;
  --bg: #0d1110;
  --surface: #121714;
  --text: #f4f7f5;
  --muted: #aab6af;
  --accent: #70e679;
  --line: #2a342e;
  --warning: #8f7430;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: linear-gradient(135deg, rgba(23, 52, 31, .62), transparent 42%) no-repeat, var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.58;
}

button, input, textarea, select { font: inherit; }
.nav, main, footer { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--text);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.035em;
  text-decoration: none;
}

.brand span { color: var(--accent); }

nav { display: flex; }
nav button {
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  padding: 7px 11px;
  cursor: pointer;
}
nav button + button { border-left: 0; }
nav button.active { color: var(--bg); background: var(--accent); }

.hero { padding: 80px 0 72px; max-width: 900px; }
.eyebrow {
  color: var(--accent);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: .22em 0;
  max-width: 900px;
  font-size: clamp(40px, 7vw, 74px);
  font-weight: 760;
  letter-spacing: -.045em;
  line-height: 1.04;
}

.lead { max-width: 760px; color: var(--muted); font-size: 20px; line-height: 1.55; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 0; }

.button {
  padding: 13px 20px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}
.button.primary { background: var(--accent); color: #071009; border-color: var(--accent); }
.button.disabled { pointer-events: none; opacity: .45; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.grid article {
  min-width: 0;
  padding: 30px 28px;
}
.grid article + article { border-left: 1px solid var(--line); }
.grid article:first-child { padding-left: 0; }
.grid article:last-child { padding-right: 0; }

.grid h2, .notice h2 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  letter-spacing: -.025em;
  line-height: 1.2;
}

.grid p, .notice p { color: var(--muted); }
.grid p { margin-bottom: 0; }
.notice {
  margin: 0;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}
.notice li { color: var(--muted); margin: .45rem 0; }
.notice a { color: var(--accent); }
.notice.warning { border-left: 3px solid var(--warning); padding-left: 24px; }

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 24px 0;
  border: 1px solid var(--line);
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background: rgba(18, 23, 20, .56);
}
.plan + .plan { border-left: 1px solid var(--line); }
.plan strong { font-size: 1.05rem; }
.plan span { color: var(--accent); font-size: 1.5rem; font-weight: 800; }

footer { display: flex; gap: 22px; padding: 42px 0; }
footer a { color: var(--accent); }

.changelog-page { max-width: 920px; }
.changelog-hero { padding: 72px 0 44px; border-bottom: 1px solid var(--line); }
.changelog-hero h1 {
  margin: .22em 0;
  font-size: clamp(38px, 6vw, 64px);
  letter-spacing: -.04em;
  line-height: 1.06;
}
.back-link { display: inline-block; margin-top: 22px; color: var(--accent); text-decoration: none; }
.release-history { padding-bottom: 24px; }
.release-entry { padding: 38px 0 42px; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.release-entry:target { border-left: 3px solid var(--accent); padding-left: 22px; }
.release-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.release-heading h2 { margin: 0; font-size: clamp(1.7rem, 4vw, 2.35rem); letter-spacing: -.035em; }
.release-heading time { color: var(--muted); white-space: nowrap; }
.release-channels { display: flex; flex-wrap: wrap; gap: 8px; margin: 13px 0 25px; }
.release-channels span { border: 1px solid var(--line); color: var(--muted); padding: 4px 9px; font-size: .86rem; }
.release-entry h3 { margin: 0 0 12px; font-size: 1.16rem; }
.release-entry ul { margin: 0; padding-left: 1.25rem; color: var(--muted); }
.release-entry li { margin: .42rem 0; }
.release-message { padding: 42px 0; color: var(--muted); border-bottom: 1px solid var(--line); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 760px) {
  .nav, main, footer { width: min(100% - 32px, 1120px); }
  .hero { padding: 44px 0 52px; }
  .hero h1 { font-size: clamp(38px, 12vw, 54px); }
  .lead { font-size: 18px; }
  .actions { flex-direction: column; }
  .button { text-align: center; }
  .grid, .plans { grid-template-columns: 1fr; }
  .grid article { padding: 26px 0; }
  .grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .notice { padding: 32px 0; }
  .notice.warning { padding-left: 18px; }
  footer { flex-wrap: wrap; }
  .changelog-hero { padding: 44px 0 36px; }
  .release-heading { display: block; }
  .release-heading time { display: block; margin-top: 5px; }
  .release-entry:target { padding-left: 14px; }
}
