:root {
  --ink: #2f3941;
  --muted: #68757e;
  --paper: #fffdf8;
  --sage: #dceadd;
  --mint: #edf7ef;
  --rose: #fae8e4;
  --peach: #ffe8d6;
  --sky: #e7f0fb;
  --lavender: #eee8fb;
  --accent: #c97870;
  --accent-dark: #965049;
  --line: rgba(47, 57, 65, 0.12);
  --shadow: 0 22px 60px rgba(95, 92, 86, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

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

.hero {
  min-height: 92vh;
  padding: 24px clamp(18px, 4vw, 56px) 56px;
  background:
    linear-gradient(135deg, rgba(250, 232, 228, 0.85), rgba(231, 240, 251, 0.88)),
    var(--mint);
}

.topbar {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto 72px;
}

.brand {
  margin-right: auto;
  font-weight: 800;
  font-size: 18px;
}

.nav-link {
  color: var(--muted);
  font-weight: 600;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: end;
  gap: clamp(28px, 6vw, 84px);
  max-width: 1180px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
}

.lead {
  max-width: 760px;
  color: #4f5b64;
  font-size: clamp(18px, 2vw, 22px);
}

.event-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.event-strip div,
.hero-note,
.soft-card,
.legal-panel,
.price-card,
.modal-dialog {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: var(--shadow);
}

.event-strip div {
  padding: 18px;
}

.event-strip span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.event-strip strong {
  display: block;
  margin-top: 4px;
  font-size: 17px;
  line-height: 1.25;
}

.hero-note {
  padding: 28px;
  background: rgba(220, 234, 221, 0.9);
}

.hero-note strong {
  display: block;
  margin-bottom: 12px;
  font-size: 30px;
  line-height: 1.1;
}

.hero-note p,
.soft-card p,
.price-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 82px clamp(18px, 4vw, 56px);
}

.split {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 6vw, 80px);
}

.text-flow {
  color: #4e5961;
  font-size: 18px;
}

.program-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding-left: 24px;
}

.program-list li::marker {
  color: var(--accent-dark);
  font-weight: 800;
}

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

.injury-grid,
.instructor-grid,
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.soft-card {
  min-height: 210px;
  padding: 24px;
}

.injury-grid .soft-card:nth-child(1) {
  background: var(--rose);
}

.injury-grid .soft-card:nth-child(2) {
  background: var(--peach);
}

.injury-grid .soft-card:nth-child(3) {
  background: var(--sky);
}

.injury-grid .soft-card:nth-child(4) {
  background: var(--lavender);
}

.legal {
  max-width: none;
  background: linear-gradient(180deg, rgba(237, 247, 239, 0.72), rgba(255, 253, 248, 0));
}

.legal .section-heading,
.legal-panel {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.legal-panel {
  padding: clamp(24px, 4vw, 42px);
  background: #f2f8ee;
}

.legal-panel p {
  max-width: 860px;
  color: #4e5961;
  font-size: 18px;
}

.legal-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin: 24px 0 0;
  padding-left: 22px;
}

.photo-break {
  width: min(1180px, calc(100% - 36px));
  margin: 12px auto 0;
}

.photo-break img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(61, 58, 54, 0.24);
}

.instructor-grid,
.price-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.instructor-card {
  background: #f7eef7;
}

.avatar {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #e4f2f2;
  color: var(--accent-dark);
  font-weight: 800;
}

.pricing {
  padding-bottom: 104px;
  text-align: center;
}

.pricing .section-heading {
  margin-right: auto;
  margin-left: auto;
}

.price-card {
  padding: 26px;
  background: #eef7f4;
  text-align: left;
}

.price-card.featured {
  background: #fae8e4;
  border-color: rgba(216, 111, 99, 0.35);
}

.price-card strong {
  display: block;
  margin: 12px 0;
  font-size: 34px;
  line-height: 1;
}

.cta-button,
.form-submit {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.cta-button {
  margin-top: 30px;
  padding: 0 30px;
  font-size: 17px;
}

.cta-button:hover,
.form-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(47, 57, 65, 0.45);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  padding: 30px;
  background: #fffdf8;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f2ebe4;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.signup-form {
  display: grid;
  gap: 16px;
}

.signup-form label {
  display: grid;
  gap: 7px;
  color: #53606a;
  font-weight: 700;
}

.signup-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.signup-form input:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(216, 111, 99, 0.18);
}

.form-submit {
  margin-top: 4px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--accent-dark);
  font-weight: 700;
}

@media (max-width: 920px) {
  .topbar {
    flex-wrap: wrap;
    margin-bottom: 48px;
  }

  .hero-grid,
  .split,
  .legal-panel ul {
    grid-template-columns: 1fr;
  }

  .event-strip,
  .injury-grid,
  .instructor-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .nav-link {
    display: none;
  }

  .event-strip div,
  .soft-card,
  .price-card,
  .modal-dialog {
    padding: 20px;
  }

  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}
