:root {
  --bg: #0e1322;
  --surface: #161b2b;
  --surface-2: #1a1f2f;
  --text: #dee1f7;
  --muted: #b9cacb;
  --soft: #849495;
  --cyan: #00f0ff;
  --cyan-soft: rgba(0, 240, 255, .13);
  --green: #00f990;
  --purple: #cf5cff;
  --danger: #ffb4ab;
  --danger-bg: rgba(147, 0, 10, .18);
  --line: rgba(255, 255, 255, .1);
  --radius: 18px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -4%, rgba(0, 240, 255, .13), transparent 34rem),
    linear-gradient(180deg, #0e1322 0%, #090e1c 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
strong { color: var(--text); }
code {
  padding: 2px 7px;
  border: 1px solid rgba(0, 240, 255, .24);
  border-radius: 6px;
  color: #7df4ff;
  background: #101827;
  font-family: "Cascadia Mono", Consolas, monospace;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 10px 16px;
  background: rgba(14, 19, 34, .92);
  border-bottom: 1px solid rgba(0, 240, 255, .18);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0, 240, 255, .35);
  border-radius: 9px;
  color: var(--cyan);
  background: var(--cyan-soft);
}

.top-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: #00363a;
  background: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.page {
  width: min(100%, 780px);
  margin: 0 auto;
  padding: 20px 16px 56px;
}

.hero {
  padding: 14px 0 34px;
  text-align: center;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.tags span,
.chips span {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(22, 27, 43, .75);
  font-size: 12px;
}

.hero-media {
  position: relative;
  width: min(100%, 560px);
  margin: 0 auto 24px;
  padding: 1px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(0,240,255,.6), rgba(207,92,255,.5), rgba(0,249,144,.55));
}

.hero-media img {
  width: 100%;
  border-radius: calc(var(--radius) - 2px);
}

h1 {
  font-size: clamp(34px, 10vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}

.subtitle {
  margin-top: 10px;
  color: transparent;
  background: linear-gradient(90deg, #7df4ff, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(22px, 6.4vw, 36px);
  font-weight: 850;
}

.lead {
  max-width: 38rem;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 17px;
}

.panel,
.section,
.summary {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(0, 240, 255, .13);
  border-radius: var(--radius);
  background: rgba(22, 27, 43, .72);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .26);
}

.section {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}

.danger {
  border-color: rgba(255, 180, 171, .26);
  background: linear-gradient(180deg, var(--danger-bg), rgba(22, 27, 43, .65));
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section-title h2 {
  font-size: clamp(21px, 5.6vw, 28px);
  line-height: 1.25;
}

.icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(0, 240, 255, .32);
  border-radius: 11px;
  color: #7df4ff;
  background: var(--cyan-soft);
  font-weight: 900;
}

.danger .icon {
  color: var(--danger);
  border-color: rgba(255, 180, 171, .32);
  background: rgba(147, 0, 10, .28);
}

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

.split img,
.cards img {
  border: 1px solid rgba(0, 240, 255, .18);
  border-radius: 14px;
}

.note,
.result-box,
.approved {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(14, 19, 34, .72);
}

.note b,
.result-box b,
.approved b {
  display: block;
  margin-bottom: 5px;
}

.danger-note b,
.risk-list h3 {
  color: var(--danger);
}

.mini-grid,
.cards,
.risk-list,
.key-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-grid div,
.cards article,
.risk-list article,
.key {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(14, 19, 34, .7);
}

.mini-grid small,
.key small {
  display: block;
  margin-bottom: 4px;
  color: var(--soft);
  font-size: 12px;
}

.sim-card {
  margin: 20px 0;
  padding: 16px;
  border: 1px solid rgba(0, 240, 255, .2);
  border-radius: 16px;
  background: rgba(26, 31, 47, .84);
}

.sim-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: #7df4ff;
  font-size: 12px;
  font-weight: 800;
}

.key {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 10px;
}

.key small {
  grid-column: 1;
}

.key span {
  grid-row: 1 / span 2;
  grid-column: 2;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.key.signed {
  border-color: rgba(0, 240, 255, .44);
  background: rgba(0, 240, 255, .08);
}

.key.signed span {
  color: #7df4ff;
  background: rgba(0, 240, 255, .16);
}

.key.muted {
  opacity: .72;
}

.approved {
  border-color: rgba(0, 249, 144, .45);
  background: rgba(0, 249, 144, .1);
}

.approved b,
.approved span {
  color: var(--green);
}

.compare {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.compare .row {
  display: grid;
  grid-template-columns: .8fr 1.1fr 1.1fr;
  gap: 1px;
  background: var(--line);
}

.compare span {
  min-width: 0;
  padding: 12px;
  background: rgba(14, 19, 34, .9);
  color: var(--muted);
  font-size: 13px;
}

.compare .head span {
  color: var(--text);
  font-weight: 800;
  background: rgba(37, 41, 58, .92);
}

.cards article h3 {
  margin-bottom: 8px;
  color: var(--text);
}

.cards p,
.risk-list p,
.panel p,
.summary p,
.footer p,
.result-box span,
.approved span {
  color: var(--muted);
}

.cards .wide {
  display: grid;
  gap: 14px;
}

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

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

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.summary {
  text-align: center;
}

.summary h2 {
  margin-bottom: 12px;
  font-size: clamp(24px, 6vw, 32px);
}

.footer {
  padding: 34px 16px 44px;
  border-top: 1px solid var(--line);
  background: #090e1c;
  text-align: center;
}

.footer p {
  max-width: 38rem;
  margin: 8px auto 18px;
  font-size: 13px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

@media (max-width: 420px) {
  .page {
    padding-left: 12px;
    padding-right: 12px;
  }

  .panel,
  .summary {
    padding: 18px;
  }

  .mini-grid,
  .compare .row {
    grid-template-columns: 1fr;
  }

  .compare .head {
    display: none;
  }
}

@media (min-width: 720px) {
  .split,
  .cards .wide {
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards .wide {
    grid-column: 1 / -1;
  }
}
