:root {
  --ink: #172320;
  --ink-soft: #30413d;
  --forest: #143d35;
  --forest-dark: #0b2923;
  --sage: #dce8e2;
  --cream: #f6f2e8;
  --paper: #fffdf8;
  --gold: #d8a935;
  --gold-dark: #9d7418;
  --coral: #cb6c4c;
  --line: rgba(23, 35, 32, 0.14);
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(15, 39, 33, 0.13);
  --radius: 22px;
  --max: 1180px;
}

* {
  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;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--forest);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gold-dark);
}

button,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--forest-dark);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.top-note {
  color: rgba(255, 255, 255, 0.86);
  background: var(--forest-dark);
  font-size: 0.88rem;
}

.top-note .site-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 7px;
}

.top-note p {
  margin: 0;
}

.market-picker {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.market-picker label {
  font-weight: 700;
}

.market-picker select {
  min-width: 0;
  max-width: 275px;
  padding: 5px 30px 5px 9px;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: 7px;
  font-size: 0.84rem;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-row {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  background: var(--forest);
  border-radius: 50% 50% 46% 54%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
}

.brand-copy span {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.main-nav a {
  padding: 9px 11px;
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 720;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--forest-dark);
  background: var(--sage);
}

.main-nav .nav-cta {
  margin-left: 7px;
  padding-inline: 17px;
  color: var(--white);
  background: var(--forest);
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta[aria-current="page"] {
  color: var(--white);
  background: var(--gold-dark);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 15%, rgba(216, 169, 53, 0.23), transparent 30%),
    linear-gradient(125deg, var(--forest-dark), var(--forest));
}

.hero::after {
  position: absolute;
  width: 360px;
  height: 360px;
  right: -180px;
  bottom: -210px;
  content: "";
  border: 60px solid rgba(255, 255, 255, 0.035);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 620px;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(42px, 7vw, 95px);
  padding-block: 76px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 2px;
  content: "";
  background: currentColor;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.13;
  text-wrap: balance;
}

h1 {
  margin: 0 0 22px;
  font-size: clamp(2.65rem, 6vw, 5.2rem);
  letter-spacing: -0.035em;
}

.hero h1,
.page-hero h1 {
  color: var(--white);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  color: var(--white);
  background: var(--forest);
  border: 2px solid var(--forest);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  color: var(--white);
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
}

.button.gold {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.button.gold:hover {
  color: var(--white);
  background: var(--coral);
  border-color: var(--coral);
}

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

.button.ghost:hover {
  border-color: var(--gold);
}

.button.light {
  color: var(--forest-dark);
  background: var(--white);
  border-color: var(--white);
}

.hero-art {
  position: relative;
}

.hero-frame {
  position: relative;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px 34px 34px 110px;
  transform: rotate(1.5deg);
}

.hero-frame img {
  width: 100%;
  min-height: 0;
  aspect-ratio: 1200 / 461;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 24px 24px 24px 98px;
}

.hero-badge {
  position: absolute;
  right: -18px;
  bottom: -25px;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--forest-dark);
  background: var(--gold);
  border: 8px solid var(--forest-dark);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  transform: rotate(-7deg);
}

.trust-strip {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 25px 18px;
  text-align: center;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--line);
}

.trust-item strong {
  display: block;
  color: var(--forest-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}

.trust-item span {
  display: block;
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.section {
  padding-block: clamp(74px, 9vw, 120px);
}

.section.alt {
  background: var(--cream);
}

.section.dark {
  color: rgba(255, 255, 255, 0.82);
  background: var(--forest-dark);
}

.section.dark h2,
.section.dark h3 {
  color: var(--white);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 38px;
}

.section-heading > div {
  max-width: 760px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.65rem);
  letter-spacing: -0.025em;
}

.section-heading p:not(.eyebrow) {
  margin: 15px 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section.dark .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.course-card {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 100%;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(15, 39, 33, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.course-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.course-card .image-wrap {
  position: relative;
  overflow: hidden;
  background: #203935;
  aspect-ratio: 4 / 2.65;
}

.course-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}

.course-card:hover img {
  transform: scale(1.035);
}

.course-tag {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 5px 10px;
  color: var(--forest-dark);
  background: var(--gold);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.course-body h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}

.course-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  font-weight: 850;
  text-decoration: none;
}

.text-link::after {
  content: "→";
  transition: transform 160ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(45px, 7vw, 95px);
}

.split.reverse > :first-child {
  order: 2;
}

.split h2 {
  margin: 0 0 20px;
  font-size: clamp(2.15rem, 4vw, 3.6rem);
}

.split p {
  color: var(--ink-soft);
}

.photo-stack {
  position: relative;
  min-height: 470px;
}

.photo-stack .photo-main {
  width: 82%;
  height: 410px;
  object-fit: cover;
  border-radius: 30px 90px 30px 30px;
  box-shadow: var(--shadow);
}

.photo-stack .photo-small {
  position: absolute;
  width: 52%;
  height: 240px;
  right: 0;
  bottom: 0;
  object-fit: cover;
  border: 10px solid var(--paper);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.check-list,
.plain-list,
.steps {
  padding: 0;
  margin: 25px 0 0;
  list-style: none;
}

.check-list li,
.plain-list li,
.steps li {
  position: relative;
  padding-left: 32px;
  margin-top: 12px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--forest);
  border-radius: 50%;
  content: "✓";
  font-size: 0.72rem;
  font-weight: 900;
}

.plain-list li::before {
  position: absolute;
  left: 9px;
  top: 0.72em;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--gold-dark);
  border-radius: 50%;
}

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

.benefit-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.benefit-card .number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--forest-dark);
  background: var(--gold);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 850;
}

.benefit-card h3 {
  margin: 18px 0 8px;
  font-size: 1.35rem;
}

.benefit-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.quote-card {
  padding: clamp(32px, 5vw, 58px);
  color: var(--white);
  background: linear-gradient(125deg, var(--forest), var(--forest-dark));
  border-radius: 34px;
}

.quote-card blockquote {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.45rem);
  line-height: 1.35;
}

.quote-card p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.page-hero {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 10%, rgba(216, 169, 53, 0.23), transparent 29%),
    linear-gradient(120deg, var(--forest-dark), var(--forest));
}

.page-hero .site-shell {
  display: grid;
  min-height: 390px;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 55px;
  padding-block: 65px;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.55rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.12rem;
}

.page-hero img {
  width: 100%;
  aspect-ratio: 1.3;
  object-fit: cover;
  background: #203935;
  border: 10px solid rgba(255, 255, 255, 0.09);
  border-radius: 26px 72px 26px 26px;
}

.breadcrumbs {
  padding-block: 16px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumbs li + li::before {
  margin-right: 8px;
  color: #71807c;
  content: "/";
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: clamp(45px, 7vw, 90px);
}

.prose h2 {
  margin: 2.2em 0 0.55em;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 1.7em 0 0.45em;
  font-size: 1.4rem;
}

.prose p {
  color: var(--ink-soft);
}

.prose .lead {
  color: var(--ink);
  font-size: 1.18rem;
}

.curriculum {
  counter-reset: module;
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 25px 0;
  list-style: none;
}

.curriculum li {
  position: relative;
  padding: 18px 20px 18px 66px;
  color: var(--ink-soft);
  background: var(--cream);
  border-radius: 14px;
  counter-increment: module;
}

.curriculum li::before {
  position: absolute;
  left: 18px;
  top: 17px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--forest);
  border-radius: 50%;
  content: counter(module);
  font-size: 0.8rem;
  font-weight: 850;
}

.side-card {
  position: sticky;
  top: 112px;
  padding: 28px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.side-card h2 {
  margin: 0 0 12px;
  font-size: 1.55rem;
}

.side-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.side-card .button {
  width: 100%;
  margin-top: 10px;
}

.fact-list {
  padding: 0;
  margin: 22px 0;
  list-style: none;
}

.fact-list li {
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.fact-list strong {
  display: block;
  color: var(--ink);
}

.notice {
  margin: 28px 0;
  padding: 22px 24px;
  color: var(--ink-soft);
  background: #fff8df;
  border-left: 5px solid var(--gold);
  border-radius: 0 14px 14px 0;
}

.notice strong {
  color: var(--ink);
}

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

.faq-list details {
  padding: 0 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.faq-list summary {
  padding-block: 19px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.faq-list details p {
  margin-top: 0;
  padding-bottom: 18px;
  color: var(--ink-soft);
}

.cta-band {
  padding-block: 62px;
  color: var(--white);
  background: var(--coral);
}

.cta-band .site-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.cta-band h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.cta-band p {
  max-width: 700px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.legal-copy {
  max-width: 880px;
}

.legal-copy h2 {
  margin-top: 2em;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: #081d19;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 55px;
  padding-block: 65px;
}

.footer-grid h2,
.footer-grid h3 {
  margin-top: 0;
  color: var(--white);
}

.footer-grid h2 {
  font-size: 1.75rem;
}

.footer-grid h3 {
  font-size: 1.05rem;
}

.footer-grid p {
  max-width: 520px;
  font-size: 0.92rem;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-block: 19px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
}

.footer-bottom .site-shell {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p {
  margin: 0;
}

.not-found {
  display: grid;
  min-height: 65vh;
  place-items: center;
  text-align: center;
}

.not-found h1 {
  color: var(--ink);
}

@media (max-width: 1040px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 880px) {
  .top-note .site-shell {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .market-picker {
    display: grid;
    width: 100%;
    grid-template-columns: auto minmax(0, 1fr);
    white-space: normal;
  }

  .market-picker select {
    max-width: none;
    flex: 1;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    display: none;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    align-items: stretch;
    flex-direction: column;
    padding: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 14px;
  }

  .main-nav .nav-cta {
    margin: 5px 0 0;
    text-align: center;
  }

  .hero-grid,
  .page-hero .site-shell,
  .split,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-art {
    max-width: 640px;
  }

  .page-hero .site-shell {
    min-height: auto;
  }

  .page-hero img {
    max-width: 480px;
  }

  .side-card {
    position: static;
  }

  .split.reverse > :first-child {
    order: 0;
  }

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

  .trust-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .trust-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

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

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .site-shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .market-picker {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .market-picker select {
    width: 100%;
    max-width: 100%;
  }

  .brand-copy span {
    display: none;
  }

  .brand-copy strong {
    font-size: 1.04rem;
  }

  .hero-grid {
    padding-block: 54px 72px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.55rem;
  }

  .hero-frame img {
    min-height: 0;
  }

  .hero-badge {
    right: -4px;
    width: 115px;
    height: 115px;
    padding: 18px;
    border-width: 6px;
    font-size: 0.82rem;
  }

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

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

  .trust-item + .trust-item,
  .trust-item:nth-child(3),
  .trust-item:nth-child(4) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section-heading,
  .cta-band .site-shell,
  .footer-bottom .site-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .photo-stack {
    min-height: 390px;
  }

  .photo-stack .photo-main {
    height: 330px;
  }

  .photo-stack .photo-small {
    height: 180px;
  }

  .page-hero .site-shell {
    gap: 30px;
    padding-block: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
