:root {
  color-scheme: dark;
  --ink: #0b0c0f;
  --ink-raised: #111318;
  --ink-soft: #171a20;
  --line: #292d35;
  --muted: #949aa6;
  --paper: #f2f0e9;
  --orange: #ff7118;
  --orange-soft: #2e1a10;
  --green: #69d69f;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgb(11 12 15 / 92%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .22em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--orange);
  color: #160b05;
  font-size: 14px;
  letter-spacing: 0;
}

.status { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgb(255 113 24 / 10%); }
.status.is-live .status-dot { background: var(--green); box-shadow: 0 0 0 5px rgb(105 214 159 / 10%); }

main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  min-height: 390px;
  padding: 86px 0 64px;
}

.eyebrow { margin: 0 0 14px; color: var(--orange); font: 700 11px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .18em; }
.hero h1 { max-width: 820px; margin: 0; font-size: clamp(48px, 8vw, 102px); font-weight: 640; line-height: .92; letter-spacing: -.065em; }
.lede { max-width: 660px; margin: 34px 0 0; color: var(--muted); font-size: clamp(16px, 2vw, 20px); line-height: 1.65; }

.release-stamp {
  display: grid;
  width: 150px;
  height: 150px;
  place-content: center;
  border: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  transform: rotate(3deg);
}
.release-stamp span { font: 700 10px ui-monospace, monospace; letter-spacing: .2em; }
.release-stamp strong { margin-top: 8px; color: var(--paper); font-size: 27px; letter-spacing: -.04em; }

.workspace { padding: clamp(24px, 5vw, 52px); border: 1px solid var(--line); background: var(--ink-raised); }
.workspace-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.workspace h2, .steps h2 { margin: 0; font-size: clamp(28px, 4vw, 44px); font-weight: 620; letter-spacing: -.045em; }

.copy-button, .primary-button {
  min-height: 46px;
  border: 0;
  background: var(--orange);
  color: #1a0d05;
  cursor: pointer;
  font-weight: 720;
  transition: transform 150ms ease, background 150ms ease, opacity 150ms ease;
}
.copy-button { padding: 0 18px; }
.primary-button { padding: 0 22px; }
.copy-button:hover:not(:disabled), .primary-button:hover { transform: translateY(-2px); background: #ff863d; }
.copy-button:disabled { cursor: not-allowed; opacity: .35; }

.terminal { margin-top: 34px; overflow: hidden; border: 1px solid #30343d; background: #090a0d; }
.terminal-bar { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 15px; border-bottom: 1px solid #24272e; }
.terminal-bar span { width: 8px; height: 8px; border-radius: 50%; background: #383c45; }
.terminal-bar span:first-child { background: var(--orange); }
.terminal-bar p { margin: 0 0 0 7px; color: #6f7580; font: 11px ui-monospace, monospace; }
.terminal pre { min-height: 114px; margin: 0; padding: 25px; overflow-x: auto; white-space: pre-wrap; word-break: break-word; }
.terminal code { color: #d9dce2; font: 13px/1.75 ui-monospace, SFMono-Regular, Consolas, monospace; }
.terminal code::before { content: "> "; color: var(--orange); }

.actions { display: flex; align-items: center; gap: 24px; margin-top: 22px; }
.text-link { color: var(--paper); font-size: 14px; text-decoration: none; }
.text-link span { color: var(--orange); }
.text-link.is-disabled { color: #5f646e; pointer-events: none; }

.release-grid { display: grid; grid-template-columns: 1.1fr .9fr; margin-top: 96px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.release-main { padding: 48px 48px 48px 0; border-right: 1px solid var(--line); }
.release-title-row { display: flex; align-items: start; justify-content: space-between; gap: 24px; }
.release-main h2 { margin: 0; font-size: clamp(28px, 4vw, 48px); font-weight: 620; letter-spacing: -.05em; }
.release-main h2 + p { margin: 12px 0 0; color: var(--muted); }
.version-chip { border: 1px solid var(--line); padding: 8px 11px; color: var(--orange); font: 12px ui-monospace, monospace; }
.release-facts { margin: 0; padding: 34px 0 34px 48px; }
.release-facts div { display: flex; justify-content: space-between; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.release-facts div:last-child { border-bottom: 0; }
.release-facts dt { color: var(--muted); font-size: 13px; }
.release-facts dd { margin: 0; text-align: right; font: 13px ui-monospace, monospace; }
.hash-row dd { max-width: 270px; overflow: hidden; text-overflow: ellipsis; }

.steps { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; padding: 110px 0; }
.steps ol { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li > span { color: var(--orange); font: 11px ui-monospace, monospace; }
.steps strong { font-size: 17px; }
.steps p { margin: 7px 0 0; color: var(--muted); line-height: 1.55; }

footer { display: flex; justify-content: space-between; padding: 28px clamp(20px, 5vw, 72px); border-top: 1px solid var(--line); color: #686e78; font: 10px ui-monospace, monospace; letter-spacing: .16em; }

.toast { position: fixed; right: 24px; bottom: 24px; padding: 13px 16px; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 650; opacity: 0; transform: translateY(12px); pointer-events: none; transition: 180ms ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 760px) {
  main { width: min(100% - 28px, 1180px); }
  .topbar { height: 64px; padding: 0 16px; }
  .status span:last-child { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 64px 0 44px; }
  .release-stamp { display: none; }
  .workspace { padding: 24px 18px; }
  .workspace-head { align-items: start; flex-direction: column; }
  .copy-button { width: 100%; }
  .actions { align-items: stretch; flex-direction: column; }
  .primary-button { width: 100%; }
  .text-link { text-align: center; }
  .release-grid { grid-template-columns: 1fr; margin-top: 70px; }
  .release-main { padding: 34px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .release-facts { padding: 20px 0; }
  .release-title-row { flex-direction: column; }
  .steps { grid-template-columns: 1fr; gap: 40px; padding: 80px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

