:root {
  color-scheme: dark;
  --bg: #101114;
  --panel: #17191f;
  --panel-2: #1f222a;
  --line: #30343e;
  --text: #f6f3ed;
  --muted: #aaa7a0;
  --dim: #747984;
  --red: #f55f56;
  --gold: #e7b45f;
  --green: #54c48e;
  --blue: #6fa8ff;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 320px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 96px),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #20232b;
  color: var(--gold);
  font-weight: 800;
  font-size: 13px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
}

.brand small {
  margin-top: 2px;
  color: var(--dim);
  font-size: 12px;
}

.header-link,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.header-link,
.secondary-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.primary-btn {
  border: 1px solid #f3c370;
  background: var(--gold);
  color: #17130b;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1fr);
  gap: 28px;
  align-items: stretch;
  padding: 34px 0 28px;
}

.hero-copy,
.hero-visual,
.notice,
.step-card,
.safety {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(23, 25, 31, 0.88);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 34px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 0.98;
}

.hero-desc {
  max-width: 600px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-visual {
  display: flex;
  min-height: 360px;
  margin: 0;
  padding: 16px;
  background: #15171d;
}

.hero-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

.notice {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin: 22px 0 54px;
  padding: 22px 24px;
  border-color: rgba(245, 95, 86, 0.42);
  background: linear-gradient(90deg, rgba(245, 95, 86, 0.16), rgba(23, 25, 31, 0.9));
}

.notice-label {
  display: inline-flex;
  margin-bottom: 8px;
  border-radius: 6px;
  background: var(--red);
  padding: 4px 8px;
  color: white;
  font-size: 12px;
  font-weight: 800;
}

.notice h2 {
  margin-bottom: 0;
  font-size: 20px;
}

.notice p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: 30px;
}

.guide {
  display: grid;
  gap: 18px;
}

.step-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 26px;
  align-items: center;
  padding: 24px;
}

.step-kicker {
  width: max-content;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.step-card h3 {
  margin-bottom: 16px;
  font-size: 24px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.65;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(84, 196, 142, 0.12);
}

.check-list strong {
  color: var(--text);
}

.inline-tip {
  margin: 18px 0 0;
  border-left: 3px solid var(--gold);
  padding: 10px 12px;
  background: rgba(231, 180, 95, 0.08);
  color: var(--muted);
  line-height: 1.55;
}

.image-button {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  padding: 0;
  cursor: zoom-in;
}

.image-button img {
  display: block;
  width: 100%;
  height: auto;
}

.copy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.copy-grid button {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #20232b;
  padding: 11px 12px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.copy-grid span,
.copy-grid strong {
  display: block;
}

.copy-grid span {
  margin-bottom: 4px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 700;
}

.copy-grid strong {
  overflow-wrap: anywhere;
  color: var(--gold);
}

.copy-grid button.is-copied {
  border-color: rgba(84, 196, 142, 0.8);
  background: rgba(84, 196, 142, 0.12);
}

.final-step {
  grid-template-columns: minmax(0, 1fr) 260px;
}

.qr-panel {
  display: grid;
  justify-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #20232b;
  padding: 20px;
  text-align: center;
}

.qr-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 154px;
  height: 154px;
  border: 10px solid white;
  background: white;
}

.qr-box span {
  background:
    linear-gradient(90deg, #111 36%, transparent 36% 63%, #111 63%),
    linear-gradient(#111 36%, transparent 36% 63%, #111 63%);
}

.qr-panel p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.safety {
  margin-top: 56px;
  padding: 24px;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.safety-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #20232b;
  padding: 18px;
}

.safety-grid h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.safety-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  padding: 34px 0 46px;
  color: var(--dim);
  text-align: center;
  font-size: 13px;
}

.site-footer p {
  margin-bottom: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(8, 9, 12, 0.88);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(960px, 94vw);
  max-height: 84vh;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100% - 24px, 680px);
  }

  .hero,
  .notice,
  .step-card,
  .final-step,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 26px;
  }

  .hero-visual {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .site-header {
    align-items: flex-start;
  }

  .header-link {
    padding: 0 12px;
  }

  .hero-copy {
    padding: 22px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.05;
  }

  .hero-desc {
    font-size: 16px;
  }

  .copy-grid {
    grid-template-columns: 1fr;
  }

  .step-card,
  .notice,
  .safety {
    padding: 18px;
  }
}
