:root {
  color-scheme: dark;
  --ink: #05090d;
  --panel: rgba(8, 15, 20, .92);
  --panel-soft: rgba(14, 25, 31, .78);
  --line: rgba(162, 197, 202, .22);
  --cyan: #23d1e5;
  --cyan-soft: #91e9f0;
  --orange: #ff9b2e;
  --text: #edf5f5;
  --muted: #9bacaf;
  --danger: #ffb15c;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 5%, rgba(29, 118, 130, .18), transparent 28rem),
    linear-gradient(180deg, #04070a, #071016 55%, #04070a);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .015em;
}
a { color: inherit; }
.topbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(3, 7, 10, .9);
  backdrop-filter: blur(14px);
  position: relative;
  z-index: 4;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--cyan); color: var(--cyan); font-weight: 900; font-size: 24px;
  clip-path: polygon(14% 0, 86% 0, 100% 14%, 100% 86%, 86% 100%, 14% 100%, 0 86%, 0 14%);
  box-shadow: inset 0 0 20px rgba(35, 209, 229, .16);
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 14px; letter-spacing: .17em; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 10px; letter-spacing: .22em; }
.status { color: var(--cyan-soft); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.status i { width: 8px; height: 8px; display: inline-block; margin-right: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }

.hero { min-height: 690px; position: relative; isolation: isolate; overflow: hidden; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.88) contrast(1.06); z-index: -3; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(2, 5, 8, .96) 0%, rgba(2, 5, 8, .7) 46%, rgba(2, 5, 8, .18) 78%), linear-gradient(0deg, #050a0e 0%, transparent 32%); }
.hero-content { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 118px 0 110px; }
.eyebrow { margin: 0 0 14px; color: var(--cyan); font-size: 12px; font-weight: 900; letter-spacing: .2em; }
h1 { max-width: 780px; margin: 0; font-size: clamp(50px, 7vw, 92px); line-height: .91; letter-spacing: -.045em; text-transform: uppercase; text-shadow: 0 4px 34px #000; }
h1 em { color: transparent; -webkit-text-stroke: 1px var(--cyan-soft); font-style: normal; }
.lede { max-width: 610px; margin: 30px 0 0; color: #c5d1d2; font-size: clamp(17px, 2vw, 21px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 38px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; padding: 0 28px; border: 1px solid var(--line); color: inherit; font: inherit; font-weight: 900; font-size: 13px; letter-spacing: .13em; text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: #001014; background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 30px rgba(35, 209, 229, .22); }
.button.secondary { background: rgba(4, 10, 14, .68); }
.button.disabled, .button:disabled { pointer-events: none; color: #718184; background: #182125; border-color: #313d41; box-shadow: none; cursor: default; }
.device-note { margin-top: 16px; color: var(--muted); font-size: 12px; }

.release-wrap, .section { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.release-wrap { margin-top: -65px; position: relative; z-index: 2; }
.release-card { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px 48px; padding: 34px; border: 1px solid var(--line); border-top: 2px solid var(--cyan); background: var(--panel); box-shadow: 0 26px 70px rgba(0, 0, 0, .4); }
.release-card h2 { margin: 0; font-size: clamp(28px, 4vw, 45px); letter-spacing: -.025em; }
.release-card h2 small { color: var(--muted); font-size: .46em; }
.release-status { color: var(--muted); margin: 12px 0 0; }
.release-facts { margin: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
.release-facts div { display: grid; grid-template-columns: 110px 1fr; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
dt { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
dd { margin: 0; overflow-wrap: anywhere; font-size: 13px; text-align: right; }
.hash-panel { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; background: #03080b; border: 1px solid var(--line); }
.hash-panel span { color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.hash-panel code { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--cyan-soft); font-size: 11px; }
.hash-panel button { color: var(--text); background: transparent; border: 1px solid var(--line); padding: 8px 12px; font-weight: 800; cursor: pointer; }
.hash-panel button:disabled { color: #5c686b; cursor: default; }

.section { padding: 110px 0 25px; }
.section-heading { max-width: 700px; }
.section h2 { margin: 0; font-size: clamp(32px, 5vw, 56px); letter-spacing: -.04em; line-height: 1.03; text-transform: uppercase; }
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { min-height: 220px; display: flex; gap: 20px; padding: 25px; background: var(--panel-soft); border: 1px solid var(--line); }
.steps span { color: var(--orange); font-size: 13px; font-weight: 900; }
.steps h3 { margin: 0 0 14px; font-size: 20px; text-transform: uppercase; }
.steps p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 14px; }
.warning { margin-top: 18px; padding: 22px 25px; display: grid; grid-template-columns: 210px 1fr; gap: 24px; border: 1px solid rgba(255, 155, 46, .42); background: rgba(61, 33, 8, .22); }
.warning strong { color: var(--danger); letter-spacing: .12em; font-size: 12px; }
.warning p { margin: 0; color: #c8c1b8; line-height: 1.55; font-size: 14px; }
.changes { padding-bottom: 110px; }
.changes ul { margin: 42px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.changes li { padding: 20px 20px 20px 48px; position: relative; color: #c9d3d4; border: 1px solid var(--line); background: rgba(10, 18, 23, .62); line-height: 1.5; }
.changes li::before { content: "+"; position: absolute; left: 20px; color: var(--cyan); font-weight: 900; }
footer { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px max(24px, calc((100vw - var(--max)) / 2)); color: #6e7d80; border-top: 1px solid var(--line); font-size: 10px; letter-spacing: .15em; }

dialog { width: min(620px, calc(100% - 32px)); padding: 0; color: var(--text); border: 1px solid rgba(35, 209, 229, .56); border-top: 3px solid var(--cyan); background: #071016; box-shadow: 0 32px 100px rgba(0, 0, 0, .8), 0 0 44px rgba(35, 209, 229, .12); }
dialog::backdrop { background: rgba(0, 4, 7, .86); backdrop-filter: blur(7px); }
dialog form { position: relative; padding: 38px; }
dialog h2 { margin: 0; font-size: clamp(28px, 6vw, 44px); line-height: 1; letter-spacing: -.035em; text-transform: uppercase; }
.dialog-copy { margin: 20px 0 28px; color: var(--muted); line-height: 1.6; }
dialog label { display: block; margin-bottom: 9px; color: var(--cyan-soft); font-size: 11px; font-weight: 900; letter-spacing: .15em; }
dialog input { width: 100%; min-height: 64px; padding: 0 18px; color: var(--text); border: 1px solid rgba(145, 233, 240, .44); outline: none; background: #02070a; font: 800 25px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .3em; }
dialog input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(35, 209, 229, .12); }
.dialog-error { min-height: 24px; margin: 10px 0 0; color: var(--danger); font-size: 13px; }
.dialog-actions { display: grid; grid-template-columns: 1fr 1.35fr; gap: 12px; margin-top: 15px; }
.dialog-close { position: absolute; top: 14px; right: 18px; padding: 5px 9px; color: var(--muted); border: 0; background: transparent; font-size: 31px; cursor: pointer; }

@media (max-width: 760px) {
  .topbar { min-height: 68px; }
  .status { display: none; }
  .hero { min-height: 660px; }
  .hero-art { object-position: 65% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(2,5,8,.94), rgba(2,5,8,.45)), linear-gradient(0deg, #050a0e 0%, transparent 42%); }
  .hero-content { padding-top: 92px; }
  .button { width: 100%; }
  .release-card { grid-template-columns: 1fr; padding: 25px; }
  .hash-panel { grid-template-columns: 1fr auto; }
  .hash-panel span { grid-column: 1 / -1; }
  .steps, .changes ul { grid-template-columns: 1fr; }
  .steps li { min-height: 0; }
  .warning { grid-template-columns: 1fr; gap: 9px; }
  dialog form { padding: 32px 22px 24px; }
  .dialog-actions { grid-template-columns: 1fr; }
  footer { align-items: flex-start; flex-direction: column; }
}

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