@font-face {
  font-family: Inter;
  src: url('/design-assets/inter-normal-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color: #152122;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f3f9f8;
  font-size: 17px;
  line-height: 1.53;
  letter-spacing: -0.012em;
}

p,
li,
legend {
  overflow-wrap: anywhere;
}

a {
  color: #1f7c76;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}

a:hover {
  color: #196963;
}

.site-wrap {
  width: min(100% - 112px, 1200px);
  margin-inline: auto;
}

.topbar {
  background: #f3f9f8;
  border-bottom: 1px solid #0b15160d;
  font-size: 13px;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar a {
  color: #37474a;
  text-decoration: none;
}

.topbar a:hover {
  color: #1f7c76;
  text-decoration: underline;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid #0b151614;
}

.header-inner {
  min-height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo {
  display: block;
  flex: none;
  width: 164px;
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
}

.site-header nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: #37474a;
  font-size: 14px;
  text-decoration: none;
}

.site-header nav a:hover {
  color: #1f7c76;
}

main {
  min-height: 40vh;
}

main > h1,
main > p,
main > a {
  display: block;
  width: min(100% - 40px, 840px);
  margin-inline: auto;
}

main > h1 {
  padding-top: 64px;
}

main > a:last-child,
main > p:last-child {
  padding-bottom: 64px;
}

.registration-shell {
  width: min(100% - 112px, 1040px);
  margin-inline: auto;
  padding: 42px 0 88px;
}

.registration-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 370px);
  align-items: end;
  gap: 48px;
  padding-bottom: 38px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  margin-bottom: 20px;
  color: #4a5a5c;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: #1f7c76;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 600;
  letter-spacing: -0.034em;
  line-height: 1.05;
}

h1 em {
  color: #829091;
  font-style: normal;
}

.event-meta {
  margin: 18px 0 0;
  color: #37474a;
  font-size: 15px;
  font-weight: 600;
}

.event-meta span {
  margin: 0 4px;
  color: #829091;
}

.intro-description {
  max-width: 590px;
  margin: 16px 0 0;
  color: #5c6b6d;
  font-size: 16px;
  line-height: 1.55;
}

.fee-card {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid #e1e8e7;
  border-radius: 22px;
  box-shadow:
    0 1px 2px #0b15160a,
    0 8px 24px -16px #0b151629;
}

.fee-card > div {
  min-width: 0;
  flex: 1;
}

.fee-label,
.fee-amount,
.fee-note {
  margin: 0;
}

.fee-label {
  color: #5c6b6d;
  font-size: 13px;
  font-weight: 600;
}

.fee-amount {
  margin-top: 3px;
  color: #152122;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.fee-note {
  margin-top: 10px;
  color: #5c6b6d;
  font-size: 13px;
  line-height: 1.5;
}

.fee-card img {
  display: block;
  flex: none;
  width: 82px;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
  background: #e4f2f0;
}

.form-wrap {
  max-width: 840px;
  margin-inline: auto;
}

.section {
  min-width: 0;
  margin: 0 0 24px;
  padding: 24px 32px 32px;
  border: 1px solid #e1e8e7;
  border-radius: 22px;
  background: #fff;
  box-shadow:
    0 1px 2px #0b15160a,
    0 8px 24px -16px #0b151629;
}

.section > legend {
  float: left;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0 0 18px;
  color: #152122;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.section-content {
  clear: both;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
}

.section-description {
  grid-column: 1 / -1;
  margin: 0;
  color: #5c6b6d;
  font-size: 15px;
  line-height: 1.55;
}

.field {
  min-width: 0;
}

.field-wide {
  grid-column: 1 / -1;
}

.field > label,
.choices legend {
  display: block;
  max-width: 100%;
  margin: 0 0 8px;
  color: #37474a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.required {
  color: #5c6b6d;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}

input:not([type='radio'], [type='checkbox'], [type='hidden']),
textarea {
  /* iOS native date/time styling overrides border-box sizing (WebKit 301648). */
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid #cad5d4;
  border-radius: 12px;
  background: #fff;
  color: #152122;
  font: inherit;
  font-size: 17px;
}

textarea {
  resize: vertical;
  line-height: 1.5;
}

input:focus,
textarea:focus {
  border-color: #1f7c76;
  box-shadow: 0 0 0 4px #1f7c7624;
}

.choices {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.choice {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  padding: 10px 0;
  margin: 0;
  color: #37474a;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.choice input {
  flex: none;
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  accent-color: #1f7c76;
}

.choice-copy {
  min-width: 0;
  flex: 1;
}

.note {
  margin: 8px 0 0;
  color: #5c6b6d;
  font-size: 13px;
  line-height: 1.5;
}

.error {
  margin: 8px 0 0;
  color: #97311e;
  font-size: 14px;
  font-weight: 600;
}

.error:empty,
.note:empty {
  display: none;
}

.notice {
  margin: 0 0 24px;
  padding: 18px 22px;
  border: 1px solid #9a5b2c;
  border-radius: 12px;
  background: #fff4e5;
  color: #562f17;
}

.notice p:first-child {
  margin-top: 0;
}

.notice p:last-child,
.notice ul:last-child {
  margin-bottom: 0;
}

details {
  margin-bottom: 8px;
  padding: 0 18px;
  border: 1px solid #cad5d4;
  border-radius: 12px;
  background: #f9fbfb;
}

summary {
  min-height: 52px;
  padding: 14px 0;
  color: #152122;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.policy {
  padding: 4px 0 20px;
  color: #37474a;
  font-size: 15px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.policy h2 {
  margin: 16px 0 8px;
  color: #152122;
  font-size: 18px;
  line-height: 1.35;
}

.submit-card {
  padding: 6px 0 0;
  color: #37474a;
  font-size: 15px;
}

.submit-card > p:first-child {
  margin: 0 0 20px;
}

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 100%;
  min-height: 52px;
  padding: 12px 26px;
  border: 1px solid #1f7c76;
  border-radius: 999px;
  background: #1f7c76;
  color: #fff;
  font:
    600 16px/1.4 Inter,
    system-ui,
    sans-serif;
  text-align: center;
  cursor: pointer;
}

button:hover {
  border-color: #196963;
  background: #196963;
}

:focus-visible {
  outline: 3px solid #1f7c76;
  outline-offset: 3px;
}

[aria-invalid='true'] {
  border: 2px solid #97311e !important;
}

.skip {
  position: absolute;
  z-index: 10;
  top: -100px;
  left: 16px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #152122;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.skip:focus {
  top: 12px;
  color: #fff;
}

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

.conditional-26,
.conditional-57,
.conditional-37 {
  display: none;
}

.section:has([name='25'][value='Yes']:checked) .conditional-57,
.section:has([name='25'][value='Unsure']:checked) .conditional-57,
.section:has([name='25'][value='Yes']:checked) .conditional-26,
.section:has([name='25'][value='Unsure']:checked) .conditional-26,
.section:has([name='36'][value='Other']:checked) .conditional-37 {
  display: block;
}

@supports not selector(:has(*)) {
  .conditional-26,
  .conditional-57,
  .conditional-37 {
    display: block;
  }
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid #e1e8e7;
  background: #fff;
  color: #5c6b6d;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}

.footer-inner p {
  margin: 0;
}

.footer-brand {
  margin-right: auto;
  color: #152122;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 760px) {
  .site-wrap,
  .registration-shell {
    width: min(100% - 40px, 1040px);
  }

  .registration-shell {
    padding-top: 18px;
    padding-bottom: 60px;
  }

  .registration-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-bottom: 28px;
  }

  .back-link {
    margin-bottom: 12px;
  }

  .fee-card {
    padding: 18px 20px;
  }

  .fee-card img {
    width: 70px;
    height: 94px;
  }

  .section {
    padding: 20px 24px 26px;
  }
}

@media (max-width: 540px) {
  .topbar-contact {
    display: none;
  }

  .topbar-inner {
    min-height: 36px;
    font-size: 12px;
  }

  .header-inner {
    min-height: 60px;
  }

  .logo {
    width: 148px;
  }

  .site-header nav a {
    font-size: 13px;
  }

  .section-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .section-description,
  .field-wide {
    grid-column: auto;
  }

  .section {
    padding-inline: 20px;
  }

  .section > legend {
    font-size: 19px;
  }

  button {
    width: 100%;
  }
}
