:root {
  color-scheme: dark;
  --void: #05070c;
  --surface: #0b0f15;
  --surface-2: #10161e;
  --silver: #c9d1d9;
  --muted: #8994a6;
  --cyan: #7dd3fc;
  --cyan-strong: #38bdf8;
  --brass: #d4a853;
  --line: rgba(201, 209, 217, .14);
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--void); }
body {
  margin: 0;
  color: var(--silver);
  background:
    linear-gradient(rgba(125, 211, 252, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, .025) 1px, transparent 1px),
    var(--void);
  background-size: 80px 80px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 14px; background: var(--cyan); color: var(--void);
  transform: translateY(-150%); transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}
.no-script-notice {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: rgba(8,12,17,.92);
  color: var(--silver);
  line-height: 1.6;
}
.no-script-notice a {
  color: var(--cyan);
  font-weight: 700;
}

.site-header {
  position: absolute; z-index: 10; top: 0; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 64px), var(--max)); height: 92px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand > span:last-child { display: grid; line-height: 1; }
.brand strong { color: #fff; font-size: 18px; letter-spacing: .22em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 8px; letter-spacing: .36em; }
.brand-mark {
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%;
  display: grid; place-items: center; position: relative;
  background: radial-gradient(circle, rgba(125,211,252,.22), transparent 60%);
}
.brand-mark::before, .brand-mark::after, .brand-mark i {
  content: ""; position: absolute; border: 1px solid rgba(255,255,255,.48); border-radius: 50%;
}
.brand-mark::before { inset: 6px; }
.brand-mark::after { inset: 11px; background: var(--silver); box-shadow: 0 0 12px var(--cyan); }
.brand-mark i { inset: 2px 15px; border-color: var(--brass); }
nav { display: flex; align-items: center; gap: 34px; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; }
nav a { color: rgba(255,255,255,.72); transition: color .2s; }
nav a:hover, nav a:focus-visible { color: #fff; }
.nav-pill { border: 1px solid rgba(255,255,255,.22); padding: 11px 15px; }

.hero {
  min-height: 820px; height: 100svh; max-height: 980px; position: relative;
  display: flex; align-items: center; overflow: hidden;
}
.hero-art { position: absolute; inset: 0; background: url("/assets/roko-chain-remembers.png") 62% center/cover no-repeat; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,7,12,.98) 0%, rgba(5,7,12,.88) 27%, rgba(5,7,12,.28) 60%, rgba(5,7,12,.12) 100%),
    linear-gradient(0deg, var(--void) 0%, transparent 24%, rgba(5,7,12,.18) 100%);
}
.hero-content {
  position: relative; z-index: 2; width: min(calc(100% - 64px), var(--max));
  margin: 78px auto 0;
}
.eyebrow, .section-number {
  color: var(--cyan); font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 28px; height: 1px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 26px 0 28px; max-width: 700px; color: #f4f7fa;
  font-family: "Arial Narrow", "Roboto Condensed", Inter, sans-serif;
  font-size: clamp(68px, 8.4vw, 126px); line-height: .78; letter-spacing: -.055em; text-transform: uppercase;
}
h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1px rgba(201,209,217,.75); }
.hero-copy { max-width: 540px; color: #aab4c2; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; margin-top: 36px; }
.button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 36px;
  min-height: 54px; padding: 0 20px; border: 1px solid rgba(255,255,255,.2);
  font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
}
.button-primary { min-width: 235px; background: var(--silver); border-color: var(--silver); color: var(--void); }
.button-primary:hover { background: #fff; }
.button-quiet:hover { border-color: var(--cyan); }
.hero-status {
  position: absolute; z-index: 2; right: max(32px, calc((100vw - var(--max)) / 2)); bottom: 52px;
  display: flex; align-items: center; gap: 12px; padding-left: 18px; border-left: 1px solid rgba(255,255,255,.22);
}
.status-light { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 10px var(--brass); }
.status-light.live { background: #46d6a0; box-shadow: 0 0 10px #46d6a0; }
.hero-status span:last-child { display: grid; gap: 4px; }
.hero-status small { color: var(--muted); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.hero-status strong { color: #fff; font-size: 12px; font-weight: 600; }

.intro, .snapshot-grid, .seed, .restore, footer {
  width: min(calc(100% - 64px), var(--max)); margin-inline: auto;
}
.intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  padding: 132px 0 70px; align-items: end;
}
.intro h2, .restore h2 {
  margin-bottom: 0; color: #edf2f7; font-family: "Arial Narrow", "Roboto Condensed", Inter, sans-serif;
  font-size: clamp(46px, 6vw, 76px); line-height: .95; letter-spacing: -.045em; text-transform: uppercase;
}
.intro > p { max-width: 520px; margin-bottom: 8px; color: var(--muted); line-height: 1.75; }

.snapshot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.snapshot-card {
  position: relative; padding: 34px; background: linear-gradient(145deg, rgba(16,22,30,.96), rgba(8,12,17,.98));
  border: 1px solid var(--line); overflow: hidden;
}
.snapshot-card::after {
  content: ""; position: absolute; width: 360px; height: 360px; right: -180px; top: -180px;
  border: 1px solid rgba(125,211,252,.09); border-radius: 50%; box-shadow: 0 0 0 54px rgba(125,211,252,.025), 0 0 0 108px rgba(125,211,252,.018);
  pointer-events: none;
}
.snapshot-card.featured { border-top: 2px solid var(--cyan); }
.card-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 58px; }
.profile-icon {
  display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(125,211,252,.42);
  color: var(--cyan); font: 600 13px ui-monospace, SFMono-Regular, Menlo, monospace;
  transform: rotate(45deg);
}
.profile-icon::first-letter { transform: rotate(-45deg); }
.recommended, .complete { font-size: 9px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.recommended { color: var(--cyan); }
.complete { color: var(--brass); }
.card-kicker { color: var(--muted); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.snapshot-card h3 {
  color: #edf2f7; font-family: "Arial Narrow", "Roboto Condensed", Inter, sans-serif;
  font-size: clamp(40px, 4vw, 58px); line-height: .92; letter-spacing: -.035em; text-transform: uppercase;
}
.card-copy { min-height: 58px; max-width: 480px; color: var(--muted); line-height: 1.65; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; margin: 34px 0 20px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.metrics div { padding: 17px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metrics dt { color: var(--muted); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.metrics dd { margin: 8px 0 0; color: #e8edf5; font: 600 14px ui-monospace, SFMono-Regular, Menlo, monospace; }
.checksum {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  min-height: 50px; padding: 0 14px; background: #070a0e; border: 1px solid var(--line);
}
.checksum span { color: var(--muted); font-size: 8px; letter-spacing: .13em; }
.checksum code { overflow: hidden; color: #b8c1cd; font-size: 11px; text-overflow: ellipsis; }
.checksum button, .terminal-bar button {
  padding: 0; border: 0; background: none; color: var(--cyan); cursor: pointer;
  font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.download {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding: 18px 20px; background: var(--silver); color: var(--void);
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  transition: background .2s, transform .2s;
}
.download:not(.disabled):hover { background: #fff; transform: translateY(-2px); }
.download.disabled { opacity: .4; pointer-events: none; }
.peer-options {
  display: flex; flex-wrap: wrap; gap: 9px 16px; margin-top: 15px;
  color: var(--cyan); font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
}
.peer-options a { border-bottom: 1px solid rgba(125,211,252,.26); padding-bottom: 3px; }
.peer-options a:hover { color: #fff; border-color: #fff; }
.manifest-link { display: inline-block; margin-top: 17px; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.manifest-link:hover { color: var(--cyan); }
.snapshot-note {
  position: relative; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 20px;
  width: min(calc(100% - 64px), var(--max)); margin: 18px auto 0; padding: 20px 24px;
  border: 1px solid var(--line); background:
    linear-gradient(90deg, rgba(125,211,252,.055), transparent 36%),
    rgba(8,12,17,.88);
  overflow: hidden;
}
.snapshot-note::after {
  content: ""; position: absolute; right: -54px; width: 170px; height: 170px;
  border: 1px solid rgba(125,211,252,.08); border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(125,211,252,.018);
}
.note-mark {
  position: relative; width: 38px; height: 38px; border: 1px solid rgba(125,211,252,.32);
  display: grid; place-items: center; transform: rotate(45deg);
}
.note-mark::before, .note-mark::after, .note-mark i {
  content: ""; position: absolute; border: 1px solid rgba(125,211,252,.48); border-radius: 50%;
}
.note-mark::before { width: 20px; height: 20px; }
.note-mark::after { width: 8px; height: 8px; background: var(--cyan); box-shadow: 0 0 10px rgba(125,211,252,.7); }
.note-mark i { width: 28px; height: 10px; border-color: rgba(212,168,83,.35); }
.note-label {
  display: block; margin-bottom: 5px; color: var(--cyan); font-size: 9px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
}
.snapshot-note p { max-width: 850px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.note-code {
  position: relative; z-index: 1; color: rgba(201,209,217,.3);
  font: 9px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em;
}

.seed {
  display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px;
  padding: 118px 0 0;
}
.seed-heading h2 {
  margin-bottom: 28px; color: #edf2f7; font-family: "Arial Narrow", "Roboto Condensed", Inter, sans-serif;
  font-size: clamp(42px, 5vw, 68px); line-height: .95; letter-spacing: -.045em; text-transform: uppercase;
}
.seed-heading p:last-child { color: var(--muted); line-height: 1.75; }
.seed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.seed-card {
  min-height: 280px; padding: 24px; border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(125,211,252,.08), transparent 46%),
    linear-gradient(145deg, rgba(16,22,30,.94), rgba(8,12,17,.98));
}
.seed-index {
  display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 42px;
  border: 1px solid rgba(125,211,252,.34); color: var(--cyan);
  font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.seed-card h3 { color: #edf2f7; font-size: 17px; line-height: 1.25; }
.seed-card p { color: var(--muted); font-size: 13px; line-height: 1.65; }
.seed-command {
  grid-column: 1 / -1; margin-top: 18px; background: #080b10; border: 1px solid var(--line);
}
.seed-command .terminal-bar a {
  justify-self: end; color: var(--cyan); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.seed-command pre { margin: 0; padding: 26px; overflow-x: auto; color: var(--cyan); font-size: 13px; line-height: 1.65; }

.restore {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; padding: 150px 0 120px;
}
.restore-heading > p:last-child { max-width: 420px; margin-top: 30px; color: var(--muted); line-height: 1.7; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.steps li > span { color: var(--cyan); font: 11px ui-monospace, monospace; }
.steps h3 { margin-bottom: 7px; color: #edf2f7; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.steps p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.command-panel { grid-column: 1 / -1; margin-top: 4px; background: #080b10; border: 1px solid var(--line); }
.terminal-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 13px 17px; border-bottom: 1px solid var(--line); }
.terminal-bar > span { display: flex; gap: 6px; }
.terminal-bar i { width: 7px; height: 7px; border-radius: 50%; background: #29313b; }
.terminal-bar strong { color: var(--muted); font-size: 8px; letter-spacing: .2em; }
.terminal-bar button { justify-self: end; }
.command-panel pre { margin: 0; padding: 26px; overflow-x: auto; color: var(--cyan); font-size: 13px; }

footer {
  display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center;
  padding: 36px 0 54px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px;
}
footer > p { margin: 0; }
footer > p:nth-child(2) { text-align: center; }
.footer-meta { text-align: right; }
footer a:hover { color: var(--cyan); }

@media (max-width: 800px) {
  .site-header { width: calc(100% - 36px); height: 76px; }
  nav a:not(.nav-pill) { display: none; }
  .hero { min-height: 760px; max-height: none; }
  .hero-art { background-position: 63% center; opacity: .78; }
  .hero-shade { background: linear-gradient(90deg, rgba(5,7,12,.96), rgba(5,7,12,.4)), linear-gradient(0deg, var(--void), transparent 55%); }
  .hero-content { width: calc(100% - 36px); margin-top: 34px; }
  h1 { font-size: clamp(58px, 19vw, 86px); }
  .hero-copy { max-width: 92%; font-size: 15px; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 300px; }
  .hero-status { right: 18px; bottom: 28px; }
  .intro, .snapshot-grid, .snapshot-note, .seed, .restore, footer { width: calc(100% - 36px); }
  .snapshot-note { grid-template-columns: 36px 1fr; gap: 16px; padding: 18px; }
  .note-mark { width: 32px; height: 32px; }
  .note-code { display: none; }
  .intro, .snapshot-grid, .seed, .restore { grid-template-columns: 1fr; }
  .intro { gap: 34px; padding-top: 92px; }
  .seed { gap: 34px; padding-top: 92px; }
  .seed-grid { grid-template-columns: 1fr; }
  .snapshot-card { padding: 25px 20px; }
  .card-topline { margin-bottom: 44px; }
  .card-copy { min-height: auto; }
  .restore { gap: 50px; padding: 110px 0 90px; }
  .command-panel { grid-column: auto; }
  footer { grid-template-columns: 1fr; gap: 22px; }
  footer > p:nth-child(2), .footer-meta { text-align: left; }
}

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