:root {
  --paper: #f4f3ef;
  --surface: #fbfaf7;
  --ink: #24232a;
  --muted: #77747f;
  --line: #dedbe2;
  --accent: #685c88;
  --accent-soft: #e9e5f0;
  --good: #477260;
  --bad: #9b5f61;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code, .mono { font-family: var(--mono); }

.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 243, 239, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 690; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--ink); text-decoration: none; }

main { padding: 54px 0 80px; }
.hero { padding: 44px 0 48px; max-width: 820px; }
.wallet-hero { max-width: 900px; padding-bottom: 58px; }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; margin: 0; }
h1 { margin-top: 15px; font-size: clamp(42px, 7vw, 76px); font-weight: 650; }
h2 { font-size: clamp(27px, 4vw, 40px); font-weight: 630; }
h3 { font-size: 18px; font-weight: 650; }
.lead { margin: 22px 0 0; max-width: 720px; color: #5f5c66; font-size: clamp(18px, 2.4vw, 23px); }
.actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: var(--surface);
  background: var(--ink);
  font-weight: 650;
  font-size: 14px;
}
.button:hover { opacity: .9; text-decoration: none; }
.button.secondary { color: var(--ink); background: transparent; border-color: var(--line); }
.wallet-download-section { padding-top: 44px; }
.wallet-platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.wallet-platform { min-width: 0; display: flex; flex-direction: column; min-height: 440px; padding: 25px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.platform-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 28px; }
.platform-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 13px; color: var(--accent); background: var(--accent-soft); font: 700 14px var(--mono); }
.windows-icon { grid-template-columns: repeat(2, 15px); grid-template-rows: repeat(2, 15px); gap: 3px; background: #e6eef7; }
.windows-icon i { width: 15px; height: 15px; background: #3f73a9; }
.linux-icon { color: #5c5568; background: #ece9e2; font-size: 16px; }
.macos-icon { color: #4f5963; background: #e8ecee; font-size: 12px; letter-spacing: -.04em; }
.release-status { display: inline-flex; padding: 5px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.release-status.available { color: var(--good); background: #e6f0eb; }
.release-status.pending { color: #7e6c49; background: #f2ecde; }
.platform-name { display: block; color: var(--muted); font-size: 12px; font-weight: 650; }
.wallet-platform h3 { margin-top: 5px; font-size: 22px; }
.wallet-platform p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.wallet-platform dl { margin: 24px 0; padding: 0; border-top: 1px solid var(--line); }
.wallet-platform dl > div { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.wallet-platform dt { color: var(--muted); }
.wallet-platform dd { min-width: 0; margin: 0; overflow-wrap: anywhere; color: var(--ink); text-align: right; }
.platform-button { width: 100%; margin-top: auto; }
.button.is-placeholder { color: #8e8993; border-color: #d8d5db; background: #f3f1f2; cursor: default; pointer-events: none; }
.release-details { padding-top: 54px; }

.section { padding: 52px 0; border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.section-head p { max-width: 620px; margin: 0; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.card p { color: var(--muted); margin: 10px 0 0; }
.metric { font-size: clamp(24px, 4vw, 38px); font-weight: 620; letter-spacing: -.04em; }
.metric-label { margin-top: 4px; color: var(--muted); font-size: 13px; }
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
.status.offline::before { background: var(--bad); }

.search { display: flex; width: 100%; margin: 24px 0 32px; }
.search input {
  width: 100%; min-width: 0; min-height: 48px; padding: 0 15px;
  border: 1px solid var(--line); border-right: 0; border-radius: 8px 0 0 8px;
  color: var(--ink); background: var(--surface); outline: none; font: inherit;
}
.search input:focus { border-color: var(--accent); }
.search button { min-width: 110px; border: 0; border-radius: 0 8px 8px 0; color: white; background: var(--accent); font-weight: 650; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { color: var(--muted); font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .05em; }
tr:last-child td { border-bottom: 0; }
.hash { display: inline-block; max-width: 290px; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; font-family: var(--mono); }
.detail-list { margin: 22px 0 0; border-top: 1px solid var(--line); }
.detail-row { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.detail-row dt { color: var(--muted); }
.detail-row dd { margin: 0; overflow-wrap: anywhere; }
.positive { color: var(--good); }
.negative { color: var(--bad); }
.callout { padding: 18px 20px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 3px 9px 9px 3px; }
.command { padding: 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: #29272d; color: #f5f2f8; font-family: var(--mono); font-size: 13px; white-space: nowrap; }
.copy-row { display: flex; gap: 8px; align-items: stretch; }
.copy-row .command { flex: 1; }
.copy-button { padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); cursor: pointer; }

.footer { padding: 30px 0 42px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 760px) {
  .shell { width: min(100% - 24px, 1120px); }
  .nav { min-height: 62px; }
  .nav-links { gap: 12px; font-size: 13px; }
  .nav-links .optional { display: none; }
  main { padding-top: 24px; }
  .hero { padding-top: 28px; }
  .grid, .grid.two { grid-template-columns: 1fr; }
  .wallet-platforms { grid-template-columns: 1fr; }
  .wallet-platform { min-height: 405px; }
  .section-head { align-items: start; flex-direction: column; }
  .detail-row { grid-template-columns: 1fr; gap: 4px; }
  .footer-inner { flex-direction: column; }
}
