:root {
  --bg: #071018;
  --raise: #10202c;
  --raise-2: #17303a;
  --ink: #e7f1f4;
  --muted: #8ea3ad;
  --line: #23404a;
  --star: #e7c98a;
  --tide: #7fd0c8;
  --danger: #e58b7b;
  --ok: #8ed0a4;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(231, 201, 138, 0.16), transparent 60%),
    radial-gradient(800px 480px at 100% 0%, rgba(127, 208, 200, 0.12), transparent 55%),
    var(--bg);
  font-family: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

a { color: var(--tide); }

.wrap {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  letter-spacing: 0.14em;
}

.brand strong { font-weight: 650; }

.star {
  width: 18px;
  height: 18px;
  fill: var(--star);
}

.clock {
  margin: 0;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
  padding: 28px 0 18px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--star);
  letter-spacing: 0.22em;
  font-size: 12px;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
  font-weight: 650;
}

.lead {
  max-width: 46ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

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

.steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}

.num {
  color: var(--star);
  font-variant-numeric: tabular-nums;
}

.card {
  background: rgba(16, 32, 44, 0.92);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 22px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

input, select, button {
  font: inherit;
}

input, select {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0c1a22;
  color: var(--ink);
  padding: 0 14px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 14px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--star);
  color: #23190a;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button.quiet, button.quiet {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.notice, .error, .okbox {
  border-radius: 16px;
  padding: 12px 14px;
  line-height: 1.6;
}

.error { background: rgba(229, 139, 123, 0.12); color: var(--danger); }
.okbox { background: rgba(142, 208, 164, 0.12); color: var(--ok); }
.notice { background: rgba(127, 208, 200, 0.08); color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.panel {
  margin: 8px 0 28px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.panel h2 { margin: 0 0 8px; font-size: 22px; }

code, pre {
  font-family: "Sarasa Mono SC", "Cascadia Code", "Source Han Mono SC", ui-monospace, monospace;
}

pre {
  overflow: auto;
  padding: 14px;
  border-radius: 14px;
  background: #0c1a22;
  border: 1px solid var(--line);
  color: var(--tide);
  font-size: 13px;
  line-height: 1.6;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th, td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th { color: var(--muted); font-weight: 500; }

.secret {
  font-size: 28px;
  letter-spacing: 0.04em;
  margin: 8px 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0 28px;
  color: var(--muted);
  font-size: 13px;
}

.footer a { color: var(--muted); }

.consultation {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.consultation h2 { margin: 0; font-size: 22px; }
.consultation .lead { margin-bottom: 0; font-size: 15px; }

.wechat-qr {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

input[type="file"] { height: auto; min-height: 48px; padding: 12px; }

@media (max-width: 800px) {
  .hero, .grid, .footer { grid-template-columns: 1fr; display: grid; }
  .footer { display: flex; flex-direction: column; }
  .nav { align-items: flex-start; flex-direction: column; gap: 8px; }
  table { display: block; overflow-x: auto; }
}
