:root {
  --ink: #17231d;
  --muted: #5f695f;
  --paper: #faf7ef;
  --surface: #ffffff;
  --blue: #102f5f;
  --blue-soft: #e7edf7;
  --wine: #7f2431;
  --gold: #c28b35;
  --line: rgba(23, 35, 29, 0.14);
  --shadow: 0 24px 80px rgba(16, 47, 95, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(250, 247, 239, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-size: 0.78rem;
  letter-spacing: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.94rem;
}

nav a:hover {
  color: var(--blue);
}

.nav-cta {
  color: #fff;
  background: var(--wine);
  padding: 10px 15px;
  border-radius: 8px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(48px, 8vw, 92px) clamp(18px, 5vw, 64px) 36px;
  background:
    linear-gradient(110deg, rgba(16, 47, 95, 0.11), transparent 44%),
    radial-gradient(circle at 82% 22%, rgba(194, 139, 53, 0.18), transparent 28%),
    var(--paper);
}

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

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

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

.hero-text {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 900;
}

.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 34px rgba(16, 47, 95, 0.24);
}

.button.secondary {
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid rgba(16, 47, 95, 0.18);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 28px 0 0;
}

.trust-row div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.trust-row dt {
  margin-bottom: 2px;
  color: var(--blue);
  font-weight: 900;
  font-size: 1.35rem;
}

.trust-row dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-media {
  position: relative;
  padding: 18px;
  background: var(--blue);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
}

.media-caption {
  display: none;
}

.media-caption span {
  color: rgba(255, 255, 255, 0.78);
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 64px);
}

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

.section-heading p,
.intro-text,
.authority-copy p,
.final-cta p {
  color: var(--muted);
  font-size: 1.05rem;
}

.centered {
  margin: 0 auto 34px;
  text-align: center;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  background: var(--surface);
}

.intro-text {
  columns: 2;
  column-gap: 38px;
}

.path {
  background: var(--blue);
  color: #fff;
}

.path .eyebrow,
.path .section-heading p {
  color: #e5c27d;
}

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

.path-grid article {
  min-height: 220px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.path-grid span {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--gold);
  font-weight: 900;
}

.path-grid p {
  color: rgba(255, 255, 255, 0.74);
}

.courses {
  background: #f7f1e6;
}

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

.course-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(23, 35, 29, 0.08);
}

.course-card img {
  width: 100%;
  height: 260px;
  min-height: 240px;
  object-fit: cover;
}

.course-card:nth-child(1) img,
.course-card:nth-child(2) img {
  object-position: center top;
}

.course-card > div {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.course-type {
  margin-bottom: 10px;
  color: var(--wine);
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.course-card p:not(.course-type) {
  color: var(--muted);
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.course-footer strong {
  color: var(--blue);
  font-size: 1.3rem;
}

.course-footer a {
  color: #fff;
  background: var(--wine);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 900;
  white-space: nowrap;
}

.authority {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  background: var(--surface);
}

.authority-panel {
  padding: 28px;
  background: var(--blue-soft);
  border: 1px solid rgba(16, 47, 95, 0.16);
  border-radius: 8px;
}

.authority-panel ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.content-band {
  background:
    linear-gradient(90deg, rgba(127, 36, 49, 0.92), rgba(16, 47, 95, 0.95)),
    var(--blue);
  color: #fff;
}

.content-band .eyebrow,
.content-band .section-heading p {
  color: #f1d28f;
}

.content-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.content-links a {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-weight: 900;
}

.video-card img,
.video-placeholder,
.channel-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.14);
}

.channel-thumb {
  position: relative;
  display: grid;
  min-height: 128px;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(16, 47, 95, 0.92), rgba(194, 139, 53, 0.78)),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.32), transparent 30%);
}

.channel-thumb img {
  width: 84px;
  height: 84px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.channel-thumb strong {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.45);
}

.video-card span {
  display: block;
  padding: 14px;
}

.video-placeholder {
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 2rem;
}

.faq {
  background: var(--paper);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

details {
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.final-cta {
  margin: 0 clamp(18px, 5vw, 64px) clamp(56px, 8vw, 96px);
  padding: clamp(34px, 6vw, 72px);
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
}

.final-cta .eyebrow,
.final-cta p {
  color: #f1d28f;
}

.final-cta .button.primary {
  color: var(--blue);
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.final-cta .button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.36);
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.82);
  background: #101a15;
}

footer strong {
  color: #fff;
}

footer div {
  display: flex;
  gap: 16px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero,
  .intro,
  .authority {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .content-links,
  .path-grid {
    grid-template-columns: 1fr;
  }

  .intro-text {
    columns: 1;
  }
}

@media (max-width: 700px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  h1 {
    font-size: clamp(2.8rem, 16vw, 4.1rem);
  }

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

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

  .course-footer a {
    text-align: center;
  }

  .media-caption {
    position: static;
    width: auto;
    margin-top: 12px;
    border-radius: 8px;
  }

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