:root {
  color-scheme: light;
  --ink: #17231e;
  --muted: #5d6d65;
  --paper: #f5f7f2;
  --card: #ffffff;
  --line: #d7dfd8;
  --green: #245e46;
  --green-dark: #174332;
  --green-soft: #e3eee7;
  --amber: #835813;
  --amber-soft: #fff4d9;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
}

main,
footer {
  width: min(1040px, calc(100% - 40px));
  margin-inline: auto;
}

main { padding: 72px 0 48px; }

.hero { padding-bottom: 42px; border-bottom: 1px solid var(--line); }

.owner,
.eyebrow {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.owner { text-decoration: none; }
.owner:hover, a:hover { color: var(--green-dark); }

.eyebrow { margin: 24px 0 10px; }

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 { margin: 0 0 12px; font-size: 1.35rem; line-height: 1.2; }

.lead {
  max-width: 780px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.badges span {
  padding: 7px 11px;
  border: 1px solid #bdd0c3;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 720;
}
.badges .warning { border-color: #e6c778; background: var(--amber-soft); color: var(--amber); }

section { margin-top: 46px; }

.notice {
  padding: 26px;
  border: 1px solid #e6c778;
  border-radius: 18px;
  background: var(--amber-soft);
}
.notice p { margin: 0; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 26px; }
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid var(--green);
  border-radius: 10px;
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: none;
}
.button.primary { background: var(--green); color: white; }
.button.primary:hover { background: var(--green-dark); color: white; }

.label { margin: 22px 0 7px; color: var(--muted); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; }
pre {
  overflow-x: auto;
  margin: 0;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #eef1ec;
}
code { font-family: "SFMono-Regular", Consolas, monospace; font-size: 0.88em; }

.release-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 26px 0 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
}
.release-meta div { min-width: 0; padding: 15px 17px; background: var(--card); }
.release-meta dt { color: var(--muted); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; }
.release-meta dd { overflow-wrap: anywhere; margin: 4px 0 0; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid article { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.grid p { color: var(--muted); }
a { color: var(--green); text-underline-offset: 3px; }

footer { padding: 26px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }

@media (max-width: 680px) {
  main { padding-top: 42px; }
  .grid, .release-meta { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.5rem, 15vw, 4.3rem); }
}

@media (prefers-reduced-motion: no-preference) {
  .button { transition: background-color 140ms ease, color 140ms ease; }
}
