:root {
  color-scheme: light;
  --ink: #15232b;
  --muted: #5f6f77;
  --line: #d8e1e5;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --blue: #194f6b;
  --blue-deep: #11394e;
  --green: #527861;
  --gold: #c9913a;
  --shadow: 0 24px 60px rgba(21, 35, 43, 0.14);
}

* {
  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;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid rgba(216, 225, 229, 0.85);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 0.86rem;
  letter-spacing: 0;
}

.nav {
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  padding: 8px 10px;
  border-radius: 6px;
}

.nav a:hover {
  background: #edf3f4;
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 72px));
  overflow: hidden;
  isolation: isolate;
}

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

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 34, 45, 0.82) 0%, rgba(12, 34, 45, 0.58) 42%, rgba(12, 34, 45, 0.12) 100%),
    linear-gradient(0deg, rgba(12, 34, 45, 0.24), rgba(12, 34, 45, 0.24));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  max-width: 720px;
  min-height: min(760px, calc(100vh - 72px));
  padding: clamp(68px, 10vw, 120px) clamp(20px, 5vw, 72px) 88px;
  color: #fff;
}

.eyebrow,
.section-label {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.intro h2,
.section-heading h2,
.method h2,
.contact h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 660px;
  font-size: clamp(2.5rem, 6vw, 5.6rem);
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
}

.button.primary {
  background: var(--gold);
  color: #23170a;
}

.button.primary:hover {
  background: #dba34b;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.48);
  color: #fff;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.intro,
.section,
.method,
.contact {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 7vw, 88px);
  padding: 74px 0 58px;
  border-bottom: 1px solid var(--line);
}

.intro h2,
.section-heading h2,
.method h2,
.contact h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.intro p:last-child,
.method-copy p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section {
  padding: 70px 0;
}

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

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

.course-card {
  min-height: 260px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(21, 35, 43, 0.06);
}

.course-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: #eef5ef;
  color: var(--green);
  font-weight: 900;
}

.course-card h3 {
  margin: 24px 0 10px;
  font-size: 1.35rem;
}

.course-card p {
  margin: 0;
  color: var(--muted);
}

.method {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  padding: 70px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method-copy p {
  margin-top: 22px;
}

.steps {
  display: grid;
  gap: 12px;
}

.steps div {
  display: grid;
  gap: 4px;
  padding: 20px;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.steps strong {
  font-size: 1.08rem;
}

.steps span {
  color: rgba(255, 255, 255, 0.78);
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 76px 0;
}

.contact div {
  max-width: 680px;
}

.contact .button {
  flex: 0 0 auto;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: var(--blue-deep);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

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

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    min-height: auto;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .hero-content {
    min-height: 680px;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(12, 34, 45, 0.84) 0%, rgba(12, 34, 45, 0.64) 100%);
  }

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

  .course-grid {
    grid-template-columns: 1fr;
  }

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

  .contact .button {
    width: 100%;
  }

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

@media (max-width: 520px) {
  .brand {
    font-size: 0.95rem;
  }

  .nav a {
    padding-inline: 6px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero-actions .button {
    width: 100%;
  }
}
