:root {
  --bg: #070707; --card: #121212; --line: #242424; --text: #f2f2f2;
  --muted: #8a8a8a; --faint: #5a5a5a; --ac: #f05020; --ac2: #ff6a3a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", sans-serif;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1040px, calc(100% - 48px)); margin: 0 auto; }
header.bar {
  display: flex; align-items: center; gap: 22px;
  height: 72px; min-height: 72px; border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { height: 28px; width: auto; display: block; }
.brand strong { font-size: 14px; letter-spacing: .04em; font-weight: 650; }
header.bar nav {
  display: flex; gap: 22px; margin-left: auto;
  font-size: 13px; color: var(--muted); white-space: nowrap;
}
header.bar nav a:hover { color: var(--text); }
header.bar nav a.on { color: var(--text); }
header.bar .hdr-right {
  display: flex; gap: 16px; align-items: center; flex: 0 0 auto; flex-wrap: nowrap;
}
header.bar .hdr-right a.acct { font-size: 13px; color: var(--muted); white-space: nowrap; }
header.bar .hdr-right a.acct:hover { color: var(--text); }
header.bar .store-top { padding: 0 4px; margin: 0; font-size: 13px; }
.hero { padding: 72px 0 24px; }
.eyebrow { color: var(--ac); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; margin: 0 0 18px; }
h1 {
  font-size: clamp(40px, 5.6vw, 64px); line-height: 1.02; letter-spacing: -.045em;
  margin: 0 0 18px; font-weight: 700;
}
h1 em { color: var(--ac); font-style: normal; }
.lede { margin: 0 0 22px; color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 40em; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ac); color: #fff; border: 0; cursor: pointer;
  padding: 11px 18px; font: inherit; font-size: 13px; font-weight: 650; letter-spacing: .04em; border-radius: 2px;
}
.btn:hover { background: var(--ac2); }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn.ghost:hover { border-color: var(--text); }
.btn:disabled { opacity: .45; cursor: default; }
[hidden] { display: none !important; }
.meta { margin: 18px 0 0; color: var(--faint); font-size: 13px; line-height: 1.6; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 28px; }
.stats div { background: var(--bg); padding: 16px 18px 18px; }
.stats b { display: block; font-size: 28px; letter-spacing: -.03em; font-weight: 650; }
.stats span { color: var(--muted); font-size: 13px; }
.band { padding: 72px 0 8px; }
.block-title { position: relative; margin: 0 0 22px; min-height: 64px; }
.block-title .en {
  display: block; font-size: clamp(42px, 7vw, 72px); font-weight: 800; line-height: .86;
  letter-spacing: -.05em; text-transform: uppercase; color: rgba(242,242,242,.08);
  white-space: nowrap; overflow: hidden; user-select: none;
}
.block-title h2 { position: absolute; left: 0; bottom: 6px; margin: 0; font-size: clamp(22px, 3vw, 28px); letter-spacing: -.03em; }
.sub { color: var(--muted); margin: 0 0 28px; max-width: 42em; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pair + .pair { border-top: 0; }
.pair article { background: var(--bg); padding: 32px 28px 36px; }
.pair .k { color: var(--ac); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 12px; }
.pair h3 { margin: 0 0 10px; font-size: 22px; letter-spacing: -.03em; }
.pair p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.board { width: 100%; max-width: 100%; margin: 8px 0 0; }
.board picture { display: block; background: #0a0a0a; border: 1px solid var(--line); }
.board img { width: 100%; max-width: 100%; height: auto; display: block; vertical-align: top; }
.board figcaption { color: var(--faint); font-size: 13px; line-height: 1.6; margin-top: 10px; }
.steps { list-style: none; margin: 0 0 28px; padding: 0; }
.steps li {
  margin: 0; padding: 16px 0 16px 2.4em; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 15px; line-height: 1.7; position: relative;
}
.steps li::before {
  content: counter(step); counter-increment: step;
  position: absolute; left: 0; top: 16px; color: var(--ac); font-weight: 650;
}
.steps { counter-reset: step; }
.file {
  border: 1px solid var(--line); padding: 22px 24px; margin: 0 0 18px;
}
.file .k { color: var(--ac); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 8px; }
.file h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.03em; }
.file p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; word-break: break-all; }
.meter { height: 4px; background: #1c1c1c; margin: 18px 0 8px; }
.meter i { display: block; height: 100%; width: 0; background: var(--ac); }
#status { min-height: 1.6em; color: var(--text); margin: 8px 0 0; }
.log { list-style: none; margin: 22px 0 0; padding: 0; }
.log li { margin: 0; padding: 8px 0; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }
footer.site {
  border-top: 1px solid var(--line); margin-top: 48px; padding: 24px 0 40px;
  color: var(--faint); font-size: 12px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
footer.site a { color: var(--muted); }
html[dir="rtl"] .block-title h2 { left: auto; right: 0; }
html[dir="rtl"] .eyebrow, html[dir="rtl"] .pair .k, html[dir="rtl"] .file .k { letter-spacing: 0; }
@media (max-width: 800px) {
  .wrap { width: calc(100% - 32px); }
  header.bar { height: auto; min-height: 64px; flex-wrap: wrap; padding: 12px 0; }
  header.bar nav { display: flex; margin-left: 0; width: 100%; }
  header.bar .store-nav { display: none; }
  header.bar .hdr-right { flex-wrap: wrap; justify-content: flex-end; }
  .hero { padding: 40px 0 12px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .pair { grid-template-columns: 1fr; background: transparent; border: 0; }
  .pair article { padding: 22px 0; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
}
