:root {
  color-scheme: light;
  --paper: #f3f1e8;
  --surface: #fbfaf6;
  --ink: #26362c;
  --muted: #6d786c;
  --line: #d8d9cb;
  --green: #37553f;
  --green-deep: #263e2e;
  --gold: #ba8850;
  --warning-bg: #f4ead8;
  --warning-ink: #79572d;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input { font: inherit; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.masthead {
  height: 76px;
  padding: 0 clamp(22px, 6vw, 92px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -.025em; }
.brand-light { font-weight: 400; color: var(--muted); }
.brand-mark { position: relative; display: inline-flex; gap: 2px; align-items: end; height: 24px; width: 22px; }
.brand-mark span { width: 6px; border-radius: 6px 6px 2px 2px; background: var(--green); transform: rotate(-18deg); }
.brand-mark span:nth-child(1) { height: 13px; }
.brand-mark span:nth-child(2) { height: 21px; background: #70805c; }
.brand-mark span:nth-child(3) { height: 16px; background: var(--gold); }
.masthead-label, .eyebrow { font-size: 10px; line-height: 1.4; font-weight: 750; letter-spacing: .15em; }
.masthead-label { color: var(--muted); }

main { width: min(100% - 44px, 920px); margin: 0 auto; padding-bottom: 82px; }
.intro { padding: clamp(54px, 9vw, 106px) 0 42px; max-width: 720px; }
.eyebrow { color: var(--green); margin: 0 0 15px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 20px; font-size: clamp(38px, 7vw, 66px); line-height: 1.03; letter-spacing: -.055em; font-weight: 640; }
h1 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; color: var(--green); }
.intro-copy { max-width: 470px; color: var(--muted); line-height: 1.7; font-size: 15px; margin: 0; }

.access-panel { display: grid; grid-template-columns: auto minmax(210px, 1fr) minmax(270px, .9fr); gap: 25px; align-items: center; padding: 28px; border: 1px solid var(--line); background: var(--surface); }
.access-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #e7eadf; color: var(--green); }
.access-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.access-copy .eyebrow { margin-bottom: 8px; font-size: 9px; }
.access-copy h2, .release-heading h2 { font-size: 19px; letter-spacing: -.025em; margin: 0 0 7px; font-weight: 650; }
.access-copy > p:last-child { color: var(--muted); font-size: 12px; line-height: 1.5; margin: 0; }
.login-form label { display: block; margin: 0 0 7px; color: var(--muted); font-size: 11px; font-weight: 600; }
.input-row { display: flex; gap: 8px; }
input { min-width: 0; flex: 1; height: 42px; padding: 0 12px; border: 1px solid #c9cdbd; border-radius: 2px; background: #fff; color: var(--ink); }
.button { min-height: 42px; padding: 0 16px; border: 0; border-radius: 2px; cursor: pointer; font-size: 12px; font-weight: 700; white-space: nowrap; }
.button-dark { background: var(--green-deep); color: #fff; }
.button-dark:hover { background: #1c3224; }
.button-dark:disabled { opacity: .65; cursor: progress; }
.button-quiet { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.button-quiet:hover { color: var(--ink); background: var(--surface); }
.form-message { min-height: 17px; margin: 7px 0 -4px; color: #9a482f; font-size: 11px; }

.releases { padding: 58px 0 80px; }
.release-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 18px; }
.release-heading .eyebrow { margin-bottom: 7px; }
.docs-link { display: inline-flex; gap: 7px; margin-top: 8px; color: var(--green); font-size: 12px; font-weight: 650; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.release-list { display: grid; gap: 12px; }
.release-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px; padding: 25px 26px; border: 1px solid var(--line); background: var(--surface); }
.release-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.release-title { margin: 0; font-size: 20px; letter-spacing: -.025em; }
.release-date { color: var(--muted); font-size: 12px; margin: 0; }
.status { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 8px; background: var(--warning-bg); color: var(--warning-ink); border-radius: 2px; font-size: 10px; line-height: 1.4; font-weight: 700; }
.release-details { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 22px 0 0; }
.release-details h3 { margin: 0 0 8px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.release-details ul { margin: 0; padding-left: 17px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.release-details li + li { margin-top: 3px; }
.download-area { display: flex; flex-direction: column; align-items: stretch; justify-content: center; min-width: 145px; padding-left: 24px; border-left: 1px solid var(--line); }
.download-area .button { display: flex; justify-content: center; align-items: center; gap: 9px; text-decoration: none; }
.file-size { margin: 8px 0 0; text-align: center; color: var(--muted); font-size: 10px; }

.footer { display: flex; justify-content: space-between; gap: 15px; padding: 20px clamp(22px, 6vw, 92px); border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; letter-spacing: .025em; }
.footer a { color: inherit; }
.docs-main { width: min(100% - 44px, 760px); }
.docs-intro { padding-bottom: 30px; }
.docs-toc { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.docs-toc a { color: var(--green); font-size: 12px; font-weight: 650; text-decoration: none; }
.docs-toc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.docs-content { padding-bottom: 64px; }
.docs-section { padding: 42px 0 34px; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.docs-section .eyebrow { margin-bottom: 10px; font-size: 9px; }
.docs-section h2 { margin-bottom: 18px; font-size: clamp(23px, 4vw, 30px); letter-spacing: -.035em; }
.docs-section p, .docs-section li { color: var(--muted); font-size: 14px; line-height: 1.8; }
.docs-section ol, .docs-section ul { padding-left: 22px; }
.docs-section li + li { margin-top: 8px; }
.docs-section a { color: var(--green); }
.docs-section code { padding: 2px 5px; background: #e7eadf; color: var(--ink); border-radius: 2px; font-size: .9em; }
.docs-callout { margin: 20px 0 0; padding: 14px 16px; border-left: 3px solid var(--gold); background: var(--warning-bg); color: var(--warning-ink) !important; font-size: 12px !important; }
[hidden] { display: none !important; }

@media (max-width: 720px) {
  .masthead { height: 65px; }
  .masthead-label { font-size: 8px; }
  .access-panel { grid-template-columns: auto 1fr; gap: 16px; padding: 22px; }
  .login-form { grid-column: 1 / -1; }
  .release-card { grid-template-columns: 1fr; gap: 20px; padding: 22px; }
  .download-area { border-left: 0; border-top: 1px solid var(--line); padding: 18px 0 0; }
  .download-area .button { width: 100%; }
}
@media (max-width: 480px) {
  main { width: min(100% - 32px, 920px); }
  .masthead { padding: 0 16px; }
  .brand { gap: 8px; font-size: 13px; }
  .masthead-label { letter-spacing: .09em; }
  .intro { padding-top: 58px; }
  .intro-copy { font-size: 14px; }
  .input-row { flex-direction: column; }
  .input-row .button { width: 100%; }
  .release-details { grid-template-columns: 1fr; }
  .release-heading { align-items: center; }
  .docs-main { width: min(100% - 32px, 760px); }
  .docs-toc { gap: 10px 16px; }
  .footer { flex-direction: column; padding: 18px 16px; }
}
