:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #5e6878;
  --paper: #fffaf0;
  --surface: #ffffff;
  --line: #dfe5ec;
  --blue: #174d7a;
  --blue-deep: #0d314f;
  --red: #c62832;
  --gold: #f5c54a;
  --green: #2f745b;
  --shadow: 0 24px 70px rgba(23, 32, 51, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

.hero {
  min-height: 88vh;
  background:
    radial-gradient(circle at 16% 18%, rgba(245, 197, 74, 0.42), transparent 22rem),
    linear-gradient(135deg, #fef7e2 0%, #f8fbff 48%, #e8f3ff 100%);
  overflow: hidden;
}

.nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1160px;
  padding: 22px 24px;
}

.brand,
.nav-action,
.primary-link,
button {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  text-decoration: none;
}

.brand {
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: var(--blue);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nav-action,
.primary-link,
button {
  background: var(--red);
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  min-height: 48px;
  padding: 0 20px;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  margin: 0 auto;
  max-width: 1160px;
  padding: 30px 24px 74px;
}

.hero-copy {
  max-width: 590px;
}

.eyebrow {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2 {
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

h1 {
  color: var(--blue-deep);
  font-size: clamp(3rem, 7vw, 5.9rem);
  max-width: 9ch;
}

h2 {
  color: var(--blue-deep);
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.lead {
  color: var(--muted);
  font-size: 1.23rem;
  line-height: 1.6;
  margin: 24px 0 30px;
  max-width: 620px;
}

.hero-art {
  margin: 0;
  min-width: 0;
}

.hero-art img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: block;
  height: auto;
  width: 100%;
}

main {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), transparent 220px),
    var(--paper);
}

.event-strip,
.signup-section {
  margin: 0 auto;
  max-width: 1160px;
  padding-left: 24px;
  padding-right: 24px;
}

.event-strip {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: 58px;
  padding-top: 30px;
}

.event-strip div {
  border-left: 5px solid var(--gold);
  min-height: 78px;
  padding: 8px 18px;
}

.event-strip strong,
.event-strip span {
  display: block;
}

.event-strip strong {
  color: var(--blue);
  font-size: 1.04rem;
}

.event-strip span {
  color: var(--muted);
  line-height: 1.45;
  margin-top: 6px;
}

.signup-section {
  display: grid;
  gap: 30px;
  grid-template-columns: 0.72fr 1.28fr;
  padding-bottom: 68px;
}

.section-heading {
  max-width: 380px;
}

.signup-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(23, 32, 51, 0.1);
  padding: 24px;
}

.hidden-field {
  display: none;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

legend {
  font-weight: 900;
  margin-bottom: 14px;
}

.choice-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}

.choice-option {
  align-items: flex-start;
  border: 2px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  min-height: 150px;
  padding: 16px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.choice-option:has(input:checked) {
  border-color: var(--blue);
  box-shadow: 0 12px 26px rgba(23, 77, 122, 0.15);
}

.choice-option:hover {
  transform: translateY(-2px);
}

.choice-option input {
  accent-color: var(--red);
  margin-top: 4px;
}

.choice-option strong,
.choice-option small {
  display: block;
}

.choice-option strong {
  font-size: 1.08rem;
}

.choice-option small {
  color: var(--muted);
  line-height: 1.45;
  margin-top: 8px;
}

.field-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 24px;
}

label {
  color: var(--blue-deep);
  font-size: 0.95rem;
  font-weight: 800;
}

.full-width {
  grid-column: 1 / -1;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  color: var(--ink);
  display: block;
  font: inherit;
  margin-top: 8px;
  min-height: 50px;
  padding: 12px 14px;
  width: 100%;
}

input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(245, 197, 74, 0.72);
  outline-offset: 3px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.form-message {
  color: var(--green);
  font-weight: 800;
  margin: 18px 0 0;
  min-height: 1.5em;
}

footer {
  color: var(--muted);
  padding: 34px 24px 46px;
  text-align: center;
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
  }

  .hero-grid,
  .signup-section {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 10ch;
  }

  .hero-art {
    margin-top: 10px;
  }

  .event-strip,
  .choice-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .nav {
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
  }

  .brand {
    line-height: 1.15;
  }

  .nav-action {
    min-height: 42px;
    padding: 0 14px;
  }

  .hero-grid,
  .event-strip,
  .signup-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .signup-card {
    padding: 18px;
  }

  .choice-option {
    min-height: 128px;
  }

  .form-actions button {
    justify-content: center;
    width: 100%;
  }
}
