:root {
  --ink: #102322;
  --muted: #5d6c69;
  --line: #d9e3df;
  --paper: #ffffff;
  --page: #f6f8f6;
  --teal: #0b6b64;
  --teal-dark: #073b3a;
  --amber: #d89426;
  --coral: #b84a62;
  --mint: #dff1eb;
  --shadow: 0 22px 60px rgba(16, 35, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(217, 227, 223, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--coral));
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.35;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.96rem;
}

.main-nav a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover {
  color: var(--teal-dark);
  border-color: var(--amber);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta,
.button.primary {
  color: #fff;
  background: var(--teal-dark);
  box-shadow: 0 12px 28px rgba(7, 59, 58, 0.2);
}

.button.secondary {
  color: var(--teal-dark);
  background: var(--mint);
  border-color: rgba(11, 107, 100, 0.2);
}

.button.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(255, 255, 255, 0.6);
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 78svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  z-index: -2;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(246, 248, 246, 0.16), rgba(246, 248, 246, 0.9) 47%, rgba(246, 248, 246, 0.98)),
    linear-gradient(180deg, rgba(16, 35, 34, 0.24), rgba(16, 35, 34, 0.04));
}

.hero-content {
  width: min(680px, 92vw);
  margin-inline: clamp(18px, 6vw, 72px);
  padding-block: 64px;
  justify-self: start;
  text-align: right;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 0.86rem;
  font-weight: 800;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 5vw, 5.25rem);
  line-height: 1.1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 3vw, 2.85rem);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 620px;
  color: #263936;
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.hero-facts span,
.sponsors-list span,
.prices span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid rgba(11, 107, 100, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--teal-dark);
  font-weight: 700;
}

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

.section {
  padding: clamp(44px, 7vw, 84px) clamp(18px, 4vw, 56px);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.section-heading.wide {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading p:last-child,
.prose p:last-child,
.pricing-card p:last-child,
.track-card p:last-child {
  margin-bottom: 0;
}

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

.quick-card {
  min-height: 118px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(16, 35, 34, 0.05);
}

.quick-card strong,
.quick-card span {
  display: block;
}

.quick-card strong {
  margin-bottom: 6px;
  color: var(--teal-dark);
}

.quick-card span {
  color: var(--muted);
}

.value-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-block: 0;
  background: var(--teal-dark);
}

.value-item {
  padding: clamp(28px, 4vw, 48px);
  color: #fff;
  background: linear-gradient(135deg, rgba(11, 107, 100, 0.88), rgba(7, 59, 58, 0.98));
}

.value-item span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--amber);
  font-weight: 900;
}

.value-item p {
  color: rgba(255, 255, 255, 0.78);
}

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.track-card,
.pricing-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(16, 35, 34, 0.05);
}

.track-card {
  display: flex;
  align-items: center;
  min-height: 104px;
  padding: 18px;
}

.track-card h3 {
  margin: 0;
  color: var(--teal-dark);
  font-size: 1rem;
}

.track-card p,
.pricing-card p,
.check-list,
.submit-note {
  color: var(--muted);
}

.categories-section {
  background: #edf4f1;
}

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

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
}

.pricing-card.featured {
  border-color: rgba(216, 148, 38, 0.48);
  box-shadow: var(--shadow);
}

.category-label {
  margin-bottom: 8px;
  color: var(--coral);
  font-weight: 800;
}

.prices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prices span {
  background: #fff8ea;
  border-color: rgba(216, 148, 38, 0.28);
  color: #70450e;
}

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

.check-list li {
  position: relative;
  padding-inline-start: 24px;
}

.check-list li::before {
  position: absolute;
  inset-inline-start: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--teal);
  border-radius: 50%;
}

.pricing-card .button {
  margin-top: auto;
}

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

.contact-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  color: #fff;
  background: var(--teal-dark);
}

.contact-band .eyebrow {
  color: var(--amber);
}

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

.contact-grid a {
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  direction: ltr;
  text-align: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--teal-dark);
  font-weight: 800;
}

.registration-page {
  background:
    radial-gradient(circle at top right, rgba(11, 107, 100, 0.14), transparent 34rem),
    linear-gradient(180deg, #ffffff, var(--page) 28rem);
}

.registration-hero {
  max-width: 880px;
  padding: clamp(36px, 6vw, 68px) clamp(18px, 4vw, 56px) 24px;
}

.registration-hero h1 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.registration-hero p:last-child {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.form-section {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto clamp(54px, 8vw, 90px);
}

.stepper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.stepper-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 64px;
  padding: 10px;
  color: var(--muted);
  border-inline-start: 1px solid var(--line);
}

.stepper-item:first-child {
  border-inline-start: 0;
}

.stepper-item span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: #eef3f1;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 900;
}

.stepper-item.active,
.stepper-item.complete {
  color: var(--teal-dark);
}

.stepper-item.active {
  background: var(--mint);
}

.stepper-item.active span,
.stepper-item.complete span {
  color: #fff;
  background: var(--teal);
}

.registration-form {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-step {
  display: none;
  padding: clamp(22px, 4vw, 38px);
}

.form-step.active {
  display: block;
}

.step-heading {
  margin-bottom: 24px;
}

.step-heading h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.3rem);
}

.category-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.category-option {
  cursor: pointer;
}

.category-option input {
  position: absolute;
  opacity: 0;
}

.option-body {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.option-body strong {
  color: var(--teal-dark);
  font-size: 1.1rem;
}

.option-body small {
  color: var(--muted);
}

.category-option input:checked + .option-body {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(11, 107, 100, 0.14);
}

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

.field-grid.compact {
  align-items: end;
}

.field {
  display: grid;
  gap: 8px;
}

.field span,
.payment-label {
  color: var(--ink);
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfdcd7;
  border-radius: 8px;
  outline: none;
}

.field textarea {
  min-height: 136px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(11, 107, 100, 0.12);
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(184, 74, 98, 0.12);
}

.field.full,
.file-field,
.review-box,
.confirm-check,
.submit-note {
  grid-column: 1 / -1;
}

.field small,
.form-error {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-error {
  color: var(--coral);
  font-weight: 700;
}

.fee-preview {
  min-height: 48px;
  padding: 11px 14px;
  color: #70450e;
  background: #fff8ea;
  border: 1px solid rgba(216, 148, 38, 0.26);
  border-radius: 8px;
  font-weight: 800;
}

.payment-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.payment-panel > div {
  min-height: 96px;
  padding: 18px;
  background: #fff8ea;
  border: 1px solid rgba(216, 148, 38, 0.28);
  border-radius: 8px;
}

.payment-panel strong,
.payment-panel span {
  display: block;
}

.payment-panel strong {
  margin-top: 4px;
  color: #70450e;
  font-size: 1.15rem;
}

.review-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.review-item {
  padding: 14px;
  background: #f8fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.review-item span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.review-item strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.confirm-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 16px;
  background: var(--mint);
  border-radius: 8px;
}

.confirm-check input {
  width: 20px;
  height: 20px;
  margin-top: 5px;
  accent-color: var(--teal);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px clamp(22px, 4vw, 38px);
  border-top: 1px solid var(--line);
}

.submit-button {
  display: none;
}

.hidden-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.success-panel {
  margin-top: 18px;
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.success-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  color: #fff;
  background: var(--teal);
  border-radius: 999px;
  font-size: 2rem;
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .split-section,
  .contact-band,
  .pricing-grid,
  .category-options,
  .payment-panel {
    grid-template-columns: 1fr;
  }

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

  .value-band {
    grid-template-columns: 1fr;
  }

  .stepper-item strong {
    font-size: 0.9rem;
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 10px;
    min-height: auto;
    padding: 10px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .nav-cta {
    padding-inline: 12px;
    width: auto;
    min-height: 40px;
  }

  .hero {
    min-height: auto;
    padding-top: 18px;
  }

  .hero-content {
    width: auto;
    padding-block: 42px 48px;
  }

  h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  h2 {
    font-size: 1.55rem;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(246, 248, 246, 0.98), rgba(246, 248, 246, 0.9) 62%, rgba(246, 248, 246, 0.38)),
      linear-gradient(90deg, rgba(16, 35, 34, 0.08), rgba(16, 35, 34, 0.02));
  }

  .hero-media {
    object-position: 28% center;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 22px 0;
  }

  .hero-facts span,
  .prices span {
    justify-content: center;
    min-height: 34px;
    padding: 6px 10px;
    text-align: center;
    font-size: 0.86rem;
  }

  .section {
    padding: 38px 16px;
  }

  .quick-grid,
  .tracks-grid {
    grid-template-columns: 1fr;
  }

  .track-card,
  .quick-card {
    min-height: auto;
  }

  .pricing-card {
    padding: 20px;
  }

  .check-list {
    gap: 6px;
  }

  .registration-hero {
    padding: 32px 16px 18px;
  }

  .registration-hero h1 {
    font-size: 1.85rem;
  }

  .form-section {
    width: calc(100% - 20px);
    margin-bottom: 42px;
  }

  .stepper {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-bottom: 12px;
  }

  .stepper-item {
    flex-direction: column;
    gap: 4px;
    min-height: 58px;
    padding: 8px 4px;
  }

  .stepper-item span {
    width: 26px;
    height: 26px;
    font-size: 0.82rem;
  }

  .stepper-item strong {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .form-step {
    padding: 20px 14px;
  }

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

  .category-options {
    gap: 10px;
  }

  .option-body {
    min-height: auto;
    padding: 14px;
  }

  .payment-panel > div {
    min-height: auto;
    padding: 14px;
  }

  .field-grid,
  .review-box,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column-reverse;
  }

  .hero-actions .button,
  .form-actions .button,
  .pricing-card .button,
  .success-panel .button {
    width: 100%;
  }

  .contact-grid a,
  .site-footer a {
    overflow-wrap: anywhere;
  }

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