:root {
  --ivory: #f7f8f6;
  --white: #ffffff;
  --navy-950: #021c35;
  --navy-900: #042746;
  --navy-800: #073863;
  --navy-700: #07517f;
  --teal-700: #008ca3;
  --teal-600: #00a9be;
  --teal-500: #16bfd0;
  --teal-100: #dff5f6;
  --ink: #0d2e4c;
  --muted: #657784;
  --line: #d8e3e5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

.registration-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(102deg, var(--navy-950) 0%, var(--navy-900) 48%, #eef4f3 48.1%, var(--ivory) 100%);
}

.registration-page::before {
  position: absolute;
  inset: 0 52% 0 0;
  content: "";
  opacity: 0.12;
  background-image: radial-gradient(circle at 1px 1px, #7dd6df 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}

.ambient,
.technical-rings {
  position: absolute;
  pointer-events: none;
}

.ambient {
  border-radius: 50%;
  filter: blur(1px);
}

.ambient-one {
  top: -360px;
  left: -290px;
  width: 780px;
  height: 780px;
  border: 1px solid rgba(26, 195, 210, 0.16);
  box-shadow: inset 0 0 110px rgba(0, 169, 190, 0.06);
}

.ambient-two {
  bottom: -420px;
  left: 17%;
  width: 850px;
  height: 850px;
  background: radial-gradient(circle, rgba(0, 169, 190, 0.12), transparent 66%);
}

.technical-rings {
  top: 43%;
  left: -190px;
  width: 610px;
  height: 610px;
  border: 1px solid rgba(43, 206, 218, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(0, 169, 190, 0.025), 0 0 0 112px rgba(0, 169, 190, 0.022);
}

.site-header,
.registration-shell,
.site-footer {
  position: relative;
  z-index: 2;
  width: min(1460px, calc(100% - 96px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 126px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.18));
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  width: 338px;
  text-transform: uppercase;
}

.brand-topline {
  color: var(--teal-500);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-topline sup {
  font-size: 9px;
}

.brand-lockup strong {
  color: var(--white);
  font-size: 41px;
  line-height: 0.92;
  letter-spacing: -0.035em;
}

.brand-baseline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: #94e3e9;
  font-size: 13px;
  letter-spacing: 0.36em;
}

.brand-baseline em {
  padding: 4px 6px;
  background: var(--navy-700);
  color: var(--white);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--navy-800);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.header-meta i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal-600);
}

.registration-shell {
  display: grid;
  grid-template-columns: 0.92fr minmax(520px, 1.08fr);
  min-height: 720px;
}

.event-story {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 64px 94px 44px 0;
  color: var(--white);
}

.eyebrow,
.form-kicker {
  display: block;
  margin: 0 0 18px;
  color: var(--teal-500);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 34px;
  height: 2px;
  margin-right: 12px;
  background: var(--teal-500);
  content: "";
  vertical-align: middle;
}

.event-story h1 {
  max-width: 690px;
  margin: 0;
  color: var(--white);
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.event-story h1 span {
  display: block;
  margin-top: 10px;
  color: var(--teal-500);
}

.story-intro {
  max-width: 610px;
  margin: 28px 0 38px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.7;
}

.event-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 650px;
}

.fact {
  display: flex;
  align-items: center;
  gap: 13px;
}

.fact-icon {
  display: grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(22, 191, 208, 0.7);
  border-radius: 50%;
  color: var(--teal-500);
}

.fact-icon svg,
.success-details svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.fact > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fact small,
.edition-note small {
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.fact strong {
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.015em;
}

.edition-note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 52px;
}

.edition-number {
  color: var(--teal-500);
  font-size: 50px;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.edition-divider {
  width: 1px;
  height: 52px;
  background: rgba(255, 255, 255, 0.42);
}

.edition-note > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.edition-note strong {
  max-width: 290px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-pulse {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 44px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.pulse-line {
  width: min(280px, 45%);
  height: 28px;
  fill: none;
  stroke: var(--teal-500);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.form-side {
  display: flex;
  align-items: stretch;
  padding-left: 42px;
}

.form-card {
  width: 100%;
  min-height: 720px;
  padding: 44px 48px 42px;
  border: 1px solid rgba(13, 46, 76, 0.08);
  border-radius: 38px 4px 38px 4px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 32px 80px rgba(2, 28, 53, 0.15);
  backdrop-filter: blur(16px);
}

.form-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.form-kicker {
  margin-bottom: 8px;
}

.form-heading h2,
.success-panel h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(34px, 3vw, 48px);
  letter-spacing: -0.035em;
  line-height: 1;
}

.step-badge {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid var(--teal-600);
  border-radius: 50%;
  color: var(--teal-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.form-intro {
  margin: 15px 0 28px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.form-grid {
  display: grid;
  gap: 17px;
}

.name-grid {
  grid-template-columns: 0.55fr 1.2fr 1.2fr;
}

.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 17px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 17px;
}

.form-grid .field {
  margin-top: 0;
}

.field > span {
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: none;
  background: #fbfdfd;
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field input,
.field select {
  height: 47px;
  padding: 0 13px;
}

.field textarea {
  min-height: 70px;
  padding: 13px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa8af;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal-600);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 169, 190, 0.12);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  line-height: 1.45;
}

.consent input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--teal-700);
}

.submit-button,
.secondary-button {
  border: 0;
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.submit-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--teal-700), var(--teal-500));
  box-shadow: 0 14px 28px rgba(0, 169, 190, 0.2);
  font-size: 12px;
  letter-spacing: 0.13em;
}

.submit-button span {
  font-size: 22px;
  font-weight: 400;
}

.integration-note {
  max-width: 560px;
  margin: 11px auto 0;
  color: #81919a;
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
}

.form-status {
  min-height: 18px;
  margin: 10px 0 0;
  color: var(--teal-700);
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.form-status.is-error {
  color: #a93636;
}

.form-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

[hidden] {
  display: none !important;
}

.submit-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.submit-button:hover {
  box-shadow: 0 18px 34px rgba(0, 169, 190, 0.28);
}

.success-panel {
  display: flex;
  min-height: 630px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 620px;
  margin-inline: auto;
}

.success-mark {
  display: grid;
  width: 74px;
  height: 74px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-700);
}

.success-mark svg {
  width: 38px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.success-copy {
  max-width: 510px;
  margin: 22px 0 26px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.success-copy strong {
  color: var(--ink);
}

.success-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  padding: 22px 0;
  border-block: 1px solid var(--line);
}

.success-details span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--teal-700);
  font-size: 13px;
}

.success-details b {
  color: var(--ink);
}

.secondary-button {
  margin-top: 28px;
  padding: 15px 19px;
  border-radius: 4px;
  background: var(--navy-800);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 34px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer span:last-child {
  color: var(--navy-700);
}

@media (max-width: 1160px) {
  .registration-page {
    background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 42%, #eef4f3 42.1%, var(--ivory) 100%);
  }

  .registration-page::before {
    inset: 0 0 58% 0;
  }

  .header-meta {
    color: rgba(255, 255, 255, 0.72);
  }

  .registration-shell {
    grid-template-columns: 1fr;
  }

  .event-story {
    min-height: 680px;
    padding: 58px 0 55px;
  }

  .form-side {
    padding: 0 0 58px;
  }

  .form-card {
    min-height: 0;
  }

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

@media (max-width: 720px) {
  .site-header,
  .registration-shell,
  .site-footer {
    width: calc(100% - 32px);
  }

  .site-header {
    min-height: 104px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 56px;
    height: 56px;
  }

  .brand-lockup {
    width: 235px;
  }

  .brand-topline {
    font-size: 9px;
  }

  .brand-lockup strong {
    font-size: 29px;
  }

  .brand-baseline {
    gap: 6px;
    font-size: 9px;
    letter-spacing: 0.24em;
  }

  .brand-baseline em {
    font-size: 7px;
  }

  .header-meta {
    display: none;
  }

  .event-story {
    min-height: 650px;
    padding: 45px 0 42px;
  }

  .event-story h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .story-intro {
    font-size: 15px;
  }

  .event-facts {
    grid-template-columns: 1fr;
  }

  .edition-note {
    margin-top: 38px;
  }

  .story-pulse {
    gap: 12px;
    font-size: 8px;
  }

  .pulse-line {
    width: 36%;
  }

  .form-card {
    padding: 34px 22px 28px;
    border-radius: 26px 4px 26px 4px;
  }

  .name-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .form-grid {
    gap: 15px;
  }

  .two-column {
    margin-top: 15px;
  }

  .field {
    margin-top: 15px;
  }

  .step-badge {
    width: 44px;
    height: 44px;
  }

  .success-panel {
    min-height: 570px;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-footer span:last-child {
    color: var(--teal-700);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
