:root {
  color-scheme: dark;
  --bg: #03060d;
  --surface: #07111f;
  --ink: #f4f8ff;
  --muted: #aab8c9;
  --line: #1a3761;
  --field: #0b1728;
  --accent: #0078ff;
  --accent-strong: #4aa3ff;
  --accent-soft: #052b58;
  --coral: #0e1a2a;
  --gold: #c7a64a;
  --shadow: 0 28px 70px rgb(0 0 0 / 38%);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgb(0 120 255 / 16%) 1px, transparent 1px),
    linear-gradient(180deg, rgb(244 248 255 / 6%) 1px, transparent 1px),
    linear-gradient(135deg, #03060d 0%, #07111f 48%, #002b66 100%),
    var(--bg);
  background-size: 42px 42px, 42px 42px, cover, auto;
  color: var(--ink);
  font-family:
    Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", ui-sans-serif,
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 520px);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding: clamp(32px, 7vw, 88px) 0;
}

.intro {
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 5vw, 4.75rem);
  line-height: 1;
  letter-spacing: 0;
}

.lede {
  max-width: 34rem;
  margin-bottom: 34px;
  color: #c4d0df;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.signal-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 520px;
}

.signal-panel div {
  min-height: 88px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(7 17 31 / 78%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.signal-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-block;
}

.signal-dot--ready {
  background: var(--accent);
}

.signal-dot--send {
  background: var(--gold);
}

.signal-dot--save {
  background: #111111;
  border: 2px solid var(--accent);
}

.form-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(7 17 31 / 94%);
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 34px);
}

.form-card h2 {
  margin-bottom: 22px;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.registration-form {
  display: grid;
  gap: 18px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.notice-panel {
  display: grid;
  gap: 14px;
  border: 1px solid rgb(199 166 74 / 62%);
  border-radius: 8px;
  background: rgb(199 166 74 / 12%);
  padding: 16px;
}

.notice-panel p {
  margin-bottom: 0;
  color: #f0ddb0;
  font-size: 0.94rem;
  font-weight: 700;
}

.official-link {
  color: #79bbff;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  padding: 11px 12px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

textarea {
  min-height: 142px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  background: #091b31;
  box-shadow: 0 0 0 4px var(--accent-soft);
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: #7f91a8;
}

.consent-row {
  grid-template-columns: 20px 1fr;
  align-items: start;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.consent-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.submit-button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 12px 18px;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.submit-button:hover {
  background: #1f8dff;
}

.submit-button:active {
  transform: translateY(1px);
}

.submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.form-status[data-state="success"] {
  color: #79bbff;
}

.form-status[data-state="error"] {
  color: #ff8c7c;
}

.test-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(0 120 255 / 9%);
  padding: 16px;
}

.test-panel h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  letter-spacing: 0;
}

.test-panel dl {
  display: grid;
  grid-template-columns: minmax(92px, auto) 1fr;
  gap: 8px 12px;
  margin: 0;
}

.test-panel dt {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.test-panel dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 0.92rem;
  font-weight: 650;
}

.fees-section {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(7 17 31 / 88%);
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 34px);
}

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

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: 0;
}

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

.fee-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(11 23 40 / 82%);
  padding: 18px;
}

.fee-card h3 {
  margin-bottom: 8px;
  font-size: 1rem;
  letter-spacing: 0;
}

.fee-note {
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 800;
}

.fee-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.fee-card dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgb(26 55 97 / 72%);
  padding-top: 10px;
}

.fee-card dt {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.fee-card dd {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 850;
  text-align: right;
  white-space: nowrap;
}

.payment-section {
  margin-top: 16px;
  border: 1px solid rgb(199 166 74 / 46%);
  border-radius: 8px;
  background: rgb(199 166 74 / 9%);
}

.payment-section summary {
  cursor: pointer;
  color: #f0ddb0;
  font-weight: 850;
  padding: 16px 18px;
}

.payment-section summary::marker {
  color: var(--gold);
}

.payment-content {
  border-top: 1px solid rgb(199 166 74 / 34%);
  display: grid;
  justify-items: center;
  padding: 18px;
}

.payment-content img {
  width: min(100%, 360px);
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  display: block;
}

@media (max-width: 840px) {
  .page-shell {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .intro {
    max-width: none;
  }

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

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 24px, 1120px);
    padding: 24px 0;
  }

  .signal-panel {
    grid-template-columns: 1fr;
  }

  .signal-panel div {
    min-height: 64px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
  }

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

  .test-panel dl {
    grid-template-columns: 1fr;
  }
}
