/* ============================================================
   Changelog — editorial release notes
   ============================================================ */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  position: relative;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% -6%, rgba(237, 246, 13, 0.38), transparent 34rem),
    radial-gradient(circle at 4% 18%, rgba(171, 176, 166, 0.22), transparent 30rem),
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px),
    var(--paper);
  background-attachment: fixed;
  background-size: auto, auto, 120px 120px, 120px 120px, auto;
}

a {
  color: var(--ink);
  text-decoration-color: var(--line-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.2s ease, background 0.2s ease;
}

a:hover {
  color: var(--ink);
  background: var(--acid);
}

/* ---------------- Top bar ---------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 0 clamp(18px, 5vw, 72px);
  background: rgba(245, 246, 240, 0.7);
  border-bottom: 1px solid var(--line-soft);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  background: none;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  width: 32px;
  height: 32px;
  padding: 6px;
  background: var(--ink);
  border: 0;
  border-radius: 50%;
  transform: rotate(-12deg);
}

.brand-mark i {
  background: var(--acid);
}

.brand-mark i:nth-child(2) {
  margin-top: 3px;
  margin-bottom: 3px;
}

.brand-mark i:nth-child(3) {
  margin-top: 7px;
}

.brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.18em;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
}

.back-link {
  padding: 8px 13px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.back-link:hover {
  color: var(--acid);
  background: var(--ink);
  border-color: var(--ink);
}

/* ---------------- Hero ---------------- */

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(60px, 9vw, 126px) 0 80px;
}

.hero {
  position: relative;
  padding-bottom: clamp(42px, 6vw, 76px);
  border-bottom: 1px solid var(--ink);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 40px;
  height: 1px;
  background: var(--ink);
  content: "";
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 142px);
  font-weight: 650;
  font-variation-settings: "wght" 650;
  letter-spacing: -0.065em;
  line-height: 0.82;
}

.hero h1::after {
  display: inline-block;
  width: 0.08em;
  height: 0.74em;
  margin-left: 0.06em;
  background: var(--acid);
  content: "";
}

.lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.lead + .lead {
  margin-top: 9px;
}

.contents {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0 0;
}

.contents a {
  padding: 8px 14px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 550;
  text-decoration: none;
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease,
    transform 0.22s ease;
}

.contents a:hover {
  color: var(--ink);
  background: var(--acid);
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* ---------------- Sections ---------------- */

.section {
  padding: clamp(48px, 6.5vw, 82px) 0 0;
  scroll-margin-top: 92px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.section-heading span {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--ink);
  background: var(--acid);
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 620;
  font-variation-settings: "wght" 620;
  letter-spacing: -0.045em;
  line-height: 1;
}

/* ---------------- Releases ---------------- */

.release-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.release {
  position: relative;
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 18px 28px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.24s ease, padding 0.24s ease;
}

.release:hover {
  background: rgba(255, 255, 255, 0.52);
  padding-left: 16px;
}

.release-tag {
  align-self: start;
  padding-top: 2px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.release-tag::before {
  display: inline-block;
  width: 14px;
  height: 2px;
  margin: 0 7px 2px 0;
  background: var(--acid);
  content: "";
}

.release p,
.copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.92;
}

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

.copy {
  padding: 28px 30px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  border-left: 4px solid var(--acid);
  border-radius: 0 24px 24px 0;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.copy ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
  line-height: 1.9;
}

.copy li + li {
  margin-top: 8px;
}

code {
  padding: 0.12em 0.4em;
  color: var(--ink);
  background: var(--acid-ghost);
  border: 1px solid rgba(17, 17, 16, 0.14);
  border-radius: 4px;
  font: 0.9em/1.4 var(--font-mono);
}

del {
  color: var(--faint);
  text-decoration-color: var(--line-strong);
}

strong {
  color: var(--ink);
  font-weight: 650;
}

/* ---------------- Footer ---------------- */

.page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 80px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-footer a {
  color: var(--muted);
  text-decoration: none;
}

.page-footer a:hover {
  color: var(--ink);
  background: none;
}

@media (max-width: 760px) {
  .topbar {
    min-height: 62px;
    padding: 0 16px;
  }

  .brand strong {
    font-size: 10px;
  }

  .brand small {
    display: none;
  }

  .page-shell {
    width: calc(100% - 32px);
    padding-top: 48px;
    padding-bottom: 54px;
  }

  .eyebrow {
    margin-bottom: 16px;
    font-size: 8px;
    letter-spacing: 0.12em;
  }

  h1 {
    font-size: clamp(58px, 20vw, 96px);
  }

  .lead {
    margin-top: 22px;
    font-size: 12.5px;
    line-height: 1.85;
  }

  .contents {
    margin-top: 24px;
    gap: 6px;
  }

  .contents a {
    padding: 7px 11px;
    font-size: 10px;
  }

  .section {
    padding-top: 46px;
  }

  .section-heading {
    gap: 12px;
    margin-bottom: 18px;
  }

  .section-heading span {
    width: 28px;
    height: 28px;
    font-size: 8px;
  }

  .release {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 20px 6px 20px 0;
  }

  .release:hover {
    padding-left: 6px;
  }

  .release p,
  .copy p {
    font-size: 12.5px;
    line-height: 1.9;
  }

  .copy {
    padding: 20px 18px;
    border-radius: 0 18px 18px 0;
  }

  .page-footer {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .release,
  .contents a {
    transition: none;
  }
}
