:root {
  --navy: #244b72;
  --navy-deep: #1d3f61;
  --blue: #6f9ee8;
  --ice: #dbe9f7;
  --paper: #f1efe9;
  --paper-2: #faf8f3;
  --ink: #18344f;
  --muted: #63717e;
  --line: rgba(24, 52, 79, 0.16);
  --error: #b84646;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 5%, rgba(111, 158, 232, 0.13), transparent 28%),
    var(--paper);
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
.register-shell { min-height: 100vh; }
.register-topbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(28px, calc((100vw - 1180px) / 2));
  color: white;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.register-brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.register-brand strong, .register-brand small { display: block; }
.register-brand strong { font-size: 13px; letter-spacing: .12em; }
.register-brand small { margin-top: 3px; color: #bcd0e4; font-size: 9px; letter-spacing: .18em; }
.register-mark { position: relative; width: 32px; height: 32px; }
.register-mark i { position: absolute; display: block; background: #f6f9fc; }
.register-mark i:first-child { top: 3px; left: 0; width: 24px; height: 5px; transform: rotate(-44deg); transform-origin: right center; }
.register-mark i:nth-child(2) { bottom: 4px; left: 1px; width: 25px; height: 5px; transform: rotate(44deg); transform-origin: right center; }
.register-mark i:last-child { right: 0; top: 12px; width: 7px; height: 7px; background: #8cb7f4; }
.register-edition { padding: 8px 12px; color: #dbe9f7; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-size: 10px; letter-spacing: .12em; }

main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.register-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, .65fr);
  overflow: hidden;
  margin: 28px 0 22px;
  color: #f8fbff;
  background:
    linear-gradient(120deg, rgba(57, 103, 149, .96), rgba(36, 75, 114, .98)),
    var(--navy);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(20, 45, 69, .16);
}
.register-hero-copy { padding: 54px 58px 50px; }
.eyebrow { color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: .2em; }
.register-hero h1 { margin: 18px 0 13px; font-size: clamp(46px, 7vw, 78px); line-height: .98; letter-spacing: -.065em; }
.register-hero-copy > p { max-width: 720px; margin: 0; color: #d6e3ef; font-size: 15px; line-height: 1.85; }
.event-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 34px; margin-top: 42px; }
.event-facts span { padding-top: 12px; border-top: 1px solid rgba(255,255,255,.17); }
.event-facts small, .event-facts strong { display: block; }
.event-facts small { color: #9fc0df; font-size: 9px; letter-spacing: .18em; }
.event-facts strong { margin-top: 7px; font-size: 13px; line-height: 1.5; }
.register-principle { display: flex; flex-direction: column; justify-content: flex-end; padding: 48px 40px; background: rgba(10, 37, 62, .32); border-left: 1px solid rgba(255,255,255,.13); }
.register-principle > span { color: #94b9df; font-size: 9px; letter-spacing: .2em; }
.register-principle strong { margin: 16px 0; color: #eff6fd; font-size: 30px; line-height: 1.3; letter-spacing: -.04em; }
.register-principle p { margin: 0; color: #bdcede; font-size: 12px; line-height: 1.75; }

.register-layout { display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 22px; align-items: start; }
.register-aside { position: sticky; top: 22px; padding: 34px 30px; background: #dfe7eb; border: 1px solid rgba(36,75,114,.13); border-radius: 15px; }
.register-aside h2 { margin: 12px 0 26px; font-size: 23px; letter-spacing: -.035em; }
.register-aside ol { list-style: none; margin: 0; padding: 0; }
.register-aside li { display: grid; grid-template-columns: 34px 1fr; gap: 11px; padding: 17px 0; border-top: 1px solid rgba(36,75,114,.13); }
.register-aside li > span { color: #7896b2; font-size: 10px; letter-spacing: .08em; }
.register-aside li p { margin: 0; color: #596b7a; font-size: 12px; line-height: 1.65; }
.register-aside li strong { display: block; color: var(--ink); font-size: 13px; }
.privacy-note { margin-top: 24px; padding: 18px; color: #eaf2f9; background: var(--navy); border-radius: 10px; }
.privacy-note strong { font-size: 12px; }
.privacy-note p { margin: 8px 0 0; color: #c8d9e8; font-size: 11px; line-height: 1.7; }

.form-card, .success-card { overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 18px 50px rgba(24,52,79,.07); }
.form-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; padding: 36px 40px 30px; border-bottom: 1px solid var(--line); }
.form-heading > span { grid-column: 1 / -1; color: #71869a; font-size: 9px; letter-spacing: .18em; }
.form-heading h2 { margin: 10px 0 0; font-size: 28px; letter-spacing: -.04em; }
.form-heading p { margin: 0; color: var(--muted); font-size: 11px; }
em { color: #5d8ed7; font-style: normal; }
form { padding: 0 40px 40px; }
fieldset { margin: 0; padding: 34px 0 38px; border: 0; border-bottom: 1px solid var(--line); }
legend { padding: 0; color: #416789; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 22px; }
.form-grid.single { grid-template-columns: 1fr; }
.form-grid label > span, .consent-row strong { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 600; }
input, select, textarea { width: 100%; outline: none; background: #eeece6; border: 1px solid transparent; border-radius: 8px; transition: 160ms ease; }
input, select { min-height: 46px; padding: 0 13px; }
textarea { min-height: 118px; padding: 13px; resize: vertical; line-height: 1.65; }
input:focus, select:focus, textarea:focus { background: white; border-color: #719ee1; box-shadow: 0 0 0 3px rgba(113,158,225,.11); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error); }
::placeholder { color: #929ba3; }
.consent-row { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; margin-top: 17px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.consent-row input { width: 18px; min-height: 18px; margin: 2px 0 0; accent-color: var(--navy); }
.consent-row strong { margin-bottom: 2px; color: var(--ink); }
.form-error { margin-top: 24px; padding: 13px 15px; color: #8b3333; background: #f8e6e3; border: 1px solid rgba(184,70,70,.2); border-radius: 8px; font-size: 12px; }
.submit-button { width: 100%; min-height: 64px; display: flex; align-items: center; justify-content: space-between; margin-top: 28px; padding: 0 22px; color: white; background: var(--navy); border: 0; border-radius: 8px; }
.submit-button:hover { background: #2d5a85; transform: translateY(-1px); }
.submit-button:disabled { cursor: wait; opacity: .62; transform: none; }
.submit-button span { font-size: 15px; font-weight: 700; }
.submit-button small { color: #bfd3e7; font-size: 9px; letter-spacing: .16em; }
.submit-note { margin: 13px 0 0; color: #7a858e; font-size: 10px; line-height: 1.65; text-align: center; }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; }

.success-card { grid-column: 2; padding: 72px 64px; text-align: center; }
.success-card[hidden] { display: none; }
.success-mark { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 24px; color: white; background: var(--navy); border-radius: 50%; font-size: 24px; }
.success-card h2 { margin: 15px 0; font-size: 40px; letter-spacing: -.05em; }
.success-card > p { max-width: 570px; margin: 0 auto; color: var(--muted); font-size: 14px; line-height: 1.85; }
.success-card > div { width: min(420px, 100%); margin: 35px auto 0; padding: 19px; background: #e8edf0; border-radius: 8px; }
.success-card small, .success-card strong { display: block; }
.success-card small { color: #738494; font-size: 9px; letter-spacing: .16em; }
.success-card strong { margin-top: 7px; font-size: 17px; letter-spacing: .06em; }
.success-card button { margin-top: 28px; padding: 11px 18px; color: var(--navy); background: transparent; border: 1px solid rgba(36,75,114,.28); border-radius: 7px; }

footer { width: min(1180px, calc(100% - 40px)); display: flex; justify-content: space-between; gap: 20px; margin: 38px auto 0; padding: 28px 0 38px; color: #74808a; border-top: 1px solid var(--line); font-size: 10px; }
footer span { color: var(--ink); font-weight: 700; letter-spacing: .12em; }
footer p { margin: 0; }

@media (max-width: 860px) {
  .register-hero, .register-layout { grid-template-columns: 1fr; }
  .register-principle { min-height: 240px; border-top: 1px solid rgba(255,255,255,.13); border-left: 0; }
  .register-aside { position: static; }
  .success-card { grid-column: 1; }
}
@media (max-width: 600px) {
  .register-topbar { min-height: 68px; padding: 0 18px; }
  .register-edition { display: none; }
  main, footer { width: min(100% - 24px, 1180px); }
  .register-hero { margin-top: 12px; border-radius: 12px; }
  .register-hero-copy { padding: 36px 24px; }
  .register-hero h1 { font-size: 50px; }
  .event-facts { grid-template-columns: 1fr; gap: 12px; margin-top: 30px; }
  .register-principle, .register-aside { padding: 30px 24px; }
  .form-heading { padding: 30px 22px 24px; }
  .form-heading { grid-template-columns: 1fr; gap: 8px; }
  form { padding: 0 22px 30px; }
  fieldset { padding: 29px 0 32px; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .submit-button { min-height: 58px; }
  .submit-button small { display: none; }
  .success-card { padding: 55px 24px; }
  .success-card h2 { font-size: 34px; }
  footer { display: block; line-height: 1.8; }
}
