:root {
  --bg: #0d1418;
  --panel: #111b20;
  --panel-strong: #16242a;
  --line: #344852;
  --text: #eef4f6;
  --muted: #afc0c8;
  --amber: #f1a33c;
  --amber-bright: #ffc15c;
  --green: #52b788;
  --steel: #7f98a3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #0d1418 url("bg.jpg") center / cover fixed;
  color: var(--text);
  font: 15px/1.7 system-ui, "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 11, 14, .93), rgba(7, 11, 14, .62));
}
a, button, summary { outline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--amber-bright); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
  padding: 0 max(20px, calc((100vw - 1160px) / 2));
  background: rgba(8, 13, 16, .95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; font-weight: 700; white-space: nowrap; }
.brand img { width: 36px; height: 36px; }
.topbar nav { display: flex; justify-content: flex-end; gap: 18px; flex: 1; min-width: 0; }
.topbar nav a, .topbar button { color: var(--muted); background: none; border: 0; text-decoration: none; white-space: nowrap; }
.topbar nav a:hover, .topbar nav a:focus-visible { color: #fff; }
.topbar button { flex: 0 0 auto; padding: 7px 10px; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; }

main { max-width: 1160px; margin: auto; }
.intro {
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: 84px;
  padding: 72px 20px 64px;
}
.eyebrow { margin: 0; color: var(--amber); font-size: 12px; font-weight: 700; }
.intro h1 { max-width: 760px; margin: 8px 0 17px; font-size: 50px; line-height: 1.16; overflow-wrap: anywhere; }
.intro h1 span { display: block; }
.lead { max-width: 720px; margin: 0; color: #d1dce0; font-size: 18px; }
.service-note { max-width: 720px; margin: 18px 0 0; padding-left: 14px; border-left: 3px solid var(--green); color: var(--muted); }
.actions, .inline-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.actions { margin-top: 28px; }
.actions a, .steps a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
}
.actions a:hover, .steps a:hover { border-color: var(--amber); }
.actions .primary { background: var(--amber); border-color: var(--amber); color: #111; font-weight: 700; }
.status { display: grid; gap: 0; margin: 0; padding: 13px 0; border-block: 1px solid var(--line); }
.status div { padding: 12px 0; }
.status dt { color: var(--muted); font-size: 12px; }
.status dd { margin: 2px 0 0; font-size: 19px; font-weight: 700; }

.band { padding: 70px 20px; border-top: 1px solid rgba(106, 132, 144, .38); scroll-margin-top: 68px; }
.section-head { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; margin-bottom: 32px; }
.section-head > span { color: var(--amber); font: 700 22px/1.25 ui-monospace, monospace; }
.section-head h2 { margin: 0; font-size: 30px; line-height: 1.25; overflow-wrap: anywhere; }
.section-head p { max-width: 820px; margin: 6px 0 0; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.steps li, .grid article { min-width: 0; padding: 23px; background: rgba(16, 25, 30, .96); }
.steps li { display: grid; grid-template-rows: auto 1fr auto; border-top: 2px solid var(--amber); }
.steps strong, .grid h3 { font-size: 17px; }
.steps p, .grid p { color: var(--muted); }
.steps .inline-actions { align-items: flex-start; }
.steps .inline-actions a { padding-inline: 11px; }

.crypto-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.crypto-flow li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 20px; background: rgba(16, 25, 30, .94); border-left: 3px solid var(--steel); }
.crypto-flow li > span { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--amber); border-radius: 50%; color: var(--amber-bright); font: 700 13px ui-monospace, monospace; }
.crypto-flow strong { font-size: 17px; }
.crypto-flow p { margin: 6px 0 0; color: var(--muted); }
.crypto-details { margin-top: 18px; border: 1px solid var(--line); background: rgba(12, 20, 24, .96); }
.crypto-details summary { padding: 17px 20px; color: var(--amber-bright); cursor: pointer; font-weight: 700; }
.crypto-details[open] summary { border-bottom: 1px solid var(--line); }
.crypto-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; padding: 8px 20px 20px; }
.crypto-detail-grid article { padding: 16px 0; border-bottom: 1px solid rgba(106, 132, 144, .3); }
.crypto-detail-grid h3 { margin: 0; font-size: 16px; }
.crypto-detail-grid p { margin: 6px 0 0; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.grid article { display: flex; flex-direction: column; border-top: 2px solid var(--steel); }
.grid article p { flex: 1; }
.client-link { align-self: flex-start; margin-top: 8px; color: var(--amber-bright); font-weight: 700; text-underline-offset: 3px; }
.client-link:hover { color: #fff; }
.warning-band .grid article { border-color: var(--amber); }

.scenario-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.scenario-list article { min-width: 0; padding: 22px; background: rgba(16, 25, 30, .94); border-top: 2px solid var(--green); }
.scenario-list article > span { color: var(--green); font-size: 12px; font-weight: 700; }
.scenario-list h3 { margin: 8px 0; font-size: 18px; line-height: 1.4; }
.scenario-list p { margin: 0; color: var(--muted); }

.help-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.help-actions a { display: flex; min-width: 0; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: 4px; background: rgba(15, 23, 28, .95); color: #fff; text-decoration: none; }
.help-actions a:hover { border-color: var(--amber); }
.help-actions strong { color: var(--amber-bright); font-size: 17px; }
.help-actions span { margin-top: 5px; color: var(--muted); }

.resources { margin: 0 20px 70px; padding: 30px; border-block: 1px solid var(--line); background: rgba(9, 16, 20, .92); }
.resources h2 { margin: 0; font-size: 24px; }
.resources p { margin: 5px 0 18px; color: var(--muted); }
.resources div { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 24px; }
.resources a, footer a { color: var(--amber-bright); overflow-wrap: anywhere; }

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #091014;
}

@media (max-width: 980px) {
  .topbar nav { gap: 12px; }
  .intro { gap: 48px; }
  .intro h1 { font-size: 43px; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  body { background-attachment: scroll; background-position: 68% center; }
  .topbar { gap: 12px; }
  .topbar nav { display: none; }
  .topbar .brand { flex: 1; }
  .intro { min-height: auto; grid-template-columns: 1fr; gap: 34px; padding-top: 70px; }
  .intro h1 { font-size: 38px; }
  .steps, .grid, .scenario-list, .help-actions, .crypto-flow, .crypto-detail-grid, .resources div { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 40px minmax(0, 1fr); }
  .band { padding-block: 50px; }
  .resources { padding: 24px 20px; }
}

@media (max-width: 430px) {
  .intro h1 { font-size: 34px; }
  html[lang="en"] .intro h1 { font-size: 30px; }
  .intro, .band { padding-inline: 16px; }
  .section-head { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
  .section-head > span { font-size: 18px; }
  .section-head h2 { font-size: 27px; }
  .resources { margin-inline: 16px; }
}
