:root {
  --ink: #26322f;
  --muted: #5f6f68;
  --paper: #fbf8f3;
  --cream: #f4eadf;
  --sage: #7a9b82;
  --sage-dark: #476a59;
  --coral: #d8836b;
  --blue: #5e8ca8;
  --white: #ffffff;
  --line: rgba(38, 50, 47, 0.13);
  --shadow: 0 24px 70px rgba(43, 55, 50, 0.16);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: var(--white);
}

.brand,
.main-nav,
.hero-strip,
.button {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--sage-dark);
  font-size: 0.86rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(38, 50, 47, 0.2);
}

.main-nav a {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 132px clamp(20px, 5vw, 64px) 110px;
  color: var(--white);
}

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

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(21, 31, 30, 0.74) 0%, rgba(33, 46, 43, 0.5) 42%, rgba(33, 46, 43, 0.08) 78%),
    linear-gradient(0deg, rgba(30, 40, 37, 0.54), rgba(30, 40, 37, 0.08) 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd7c8;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 7vw, 6.7rem);
  line-height: 0.95;
  letter-spacing: 0;
  max-width: 11ch;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 16px 40px rgba(92, 45, 35, 0.28);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.hero-strip {
  position: absolute;
  z-index: 3;
  left: clamp(20px, 5vw, 64px);
  right: clamp(20px, 5vw, 64px);
  bottom: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(38, 50, 47, 0.24);
}

.hero-strip span {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 800;
  text-align: center;
}

.section {
  padding: clamp(64px, 8vw, 116px) clamp(20px, 5vw, 64px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: end;
  background: var(--paper);
}

.intro > p,
.flow-copy p,
.contact p {
  color: var(--muted);
  font-size: 1.12rem;
}

.section-heading {
  max-width: 880px;
  margin-bottom: clamp(28px, 5vw, 52px);
}

.course-grid,
.benefit-list,
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.course-card,
.benefit-list article,
.schedule-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(38, 50, 47, 0.06);
}

.course-card {
  min-height: 430px;
  padding: clamp(24px, 4vw, 42px);
}

.course-card.accent {
  background: #edf5f1;
}

.course-icon {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 70px;
  border-radius: 50%;
  background: var(--sage-dark);
  color: var(--white);
  font-weight: 900;
}

.course-card p,
.course-card li,
.benefit-list p,
.schedule-grid p {
  color: var(--muted);
}

.course-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding-left: 20px;
}

.benefits {
  background: var(--cream);
}

.benefit-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.benefit-list article {
  min-height: 230px;
  padding: 26px;
}

.benefit-list article::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 32px;
  border-radius: 99px;
  background: var(--blue);
}

.flow {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  background: var(--sage-dark);
  color: var(--white);
}

.flow .section-kicker {
  color: #ffcabb;
}

.flow-copy p {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 22px;
}

.flow-steps {
  display: grid;
  gap: 14px;
}

.flow-steps div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.flow-steps strong {
  font-size: 1.2rem;
}

.flow-steps span {
  color: rgba(255, 255, 255, 0.76);
  text-align: right;
}

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

.schedule-grid article {
  padding: 28px;
}

.schedule-grid span {
  color: var(--coral);
  font-weight: 850;
}

.schedule-grid h3 {
  margin: 14px 0 8px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--ink);
  color: var(--white);
}

.contact > div {
  max-width: 740px;
}

.contact p {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 18px;
}

.site-footer {
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 64px);
  background: #17211f;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: 860px;
    padding-top: 118px;
    align-items: end;
  }

  .hero-image {
    object-position: 40% center;
  }

  h1 {
    max-width: 9.5ch;
  }

  .intro,
  .flow,
  .contact {
    grid-template-columns: 1fr;
  }

  .course-grid,
  .benefit-list,
  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .course-card,
  .benefit-list article {
    min-height: auto;
  }

  .course-icon {
    margin-bottom: 36px;
  }

  .contact {
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-top: 14px;
  }

  .brand {
    font-size: 0.98rem;
  }

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

  .hero {
    min-height: 760px;
    padding-bottom: 144px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(21, 31, 30, 0.82) 0%, rgba(21, 31, 30, 0.52) 55%, rgba(21, 31, 30, 0.18) 100%),
      linear-gradient(90deg, rgba(21, 31, 30, 0.5), rgba(21, 31, 30, 0.08));
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-strip {
    grid-template-columns: 1fr;
  }

  .hero-strip span {
    min-height: 44px;
  }

  .flow-steps div,
  .contact {
    display: grid;
  }

  .flow-steps span {
    text-align: left;
  }
}

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  .site-header,
  .hero-image,
  .hero-overlay,
  .button {
    display: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }
}
