/* ==========================================================================
   Seoul Speak Academy — 2026 redesign layer
   Loaded after styles.css. Adds the course catalog, course pages, resource
   library, top bar and a wider navigation.

   Contents
   01. Top bar
   02. Navigation (dropdown + breakpoint)
   03. Hero
   04. Section helpers
   05. Trust strip
   06. Course catalog cards
   07. Comparison table
   08. Learning path
   09. Course detail page
   10. Resources + articles
   11. Video slot + notices
   12. Footer additions
   13. Responsive
   ========================================================================== */

/* Small spacing helper used by the resource cards */
.mt-2 {
  margin-top: 12px;
}

/* ------------------------------- 01. top bar ------------------------------ */

.topbar {
  background: var(--deep);
  color: rgba(248, 244, 232, 0.74);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 40px;
}

.topbar__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.topbar__meta svg {
  color: var(--gold);
  flex: none;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar__links a {
  color: rgba(248, 244, 232, 0.86);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

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

.topbar__socials {
  display: flex;
  gap: 4px;
}

.topbar__socials a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: rgba(248, 244, 232, 0.7);
}

.topbar__socials a:hover {
  background: rgba(255, 203, 53, 0.16);
  color: var(--gold);
}

/* --------------------------- 02. navigation ------------------------------ */

.nav {
  gap: 0;
}

.nav__link {
  font-size: 0.87rem;
  padding: 10px 10px;
  white-space: nowrap;
}

.nav__link--active {
  color: var(--forest);
  font-weight: 600;
}

.nav__link--active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 3px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
}

.nav-drop {
  position: relative;
}

.nav-drop > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-drop > summary::-webkit-details-marker {
  display: none;
}

.nav-drop > summary::marker {
  content: "";
}

.nav-drop__caret {
  transition: transform 0.18s var(--ease);
  flex: none;
}

.nav-drop[open] .nav-drop__caret {
  transform: rotate(180deg);
}

.nav-drop__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 96;
  width: 296px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.nav-drop__link {
  display: block;
  padding: 10px 12px;
  border-radius: 11px;
  text-decoration: none;
  color: var(--body);
  line-height: 1.35;
}

.nav-drop__link strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 2px;
}

.nav-drop__link span {
  font-size: 0.78rem;
  color: var(--muted);
}

.nav-drop__link:hover,
.nav-drop__link:focus-visible {
  background: var(--cream);
}

.nav-drop__link:hover strong {
  color: var(--forest);
}

.nav-drop__all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding: 11px 12px;
  border-radius: 11px;
  background: var(--forest);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.84rem;
  text-decoration: none;
}

.nav-drop__all:hover {
  background: var(--deep);
  color: var(--gold);
}

@media (max-width: 1140px) {
  .nav,
  .header-cta .btn--desktop {
    display: none;
  }

  /* The drawer sits under the sticky header; account for the utility bar
     above it so the first link is never covered. */
  .drawer {
    inset: 0 0 0;
    /* Clear the sticky header *and* the utility bar above it, so the first
       link is never tucked underneath. */
    padding-top: calc(var(--header-h) + 46px);
  }

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

  .header-cta {
    margin-left: auto;
  }

  .topbar__links {
    display: none;
  }
}

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

/* -------------------------------- 03. hero ------------------------------- */

.hero--split {
  padding: clamp(34px, 5vw, 66px) 0 clamp(42px, 6vw, 78px);
  background:
    radial-gradient(760px 460px at 88% -10%, rgba(255, 203, 53, 0.28), transparent 62%),
    radial-gradient(520px 420px at 4% 104%, rgba(7, 84, 63, 0.08), transparent 66%);
}

.hero--split .hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(30px, 4.6vw, 62px);
  align-items: center;
}

.hero--split h1 {
  margin-bottom: 20px;
}

.hero--split .hero__lede {
  max-width: 50ch;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--body);
}

.hero-badges svg {
  color: var(--forest);
  flex: none;
}

/* Spotlight card */

.spotlight {
  position: relative;
  background: var(--paper);
  border: 1px solid rgba(7, 84, 63, 0.1);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-0.6deg);
}

.spotlight__top {
  background: var(--deep);
  color: var(--cream);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.spotlight__label {
  margin: 0;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.spotlight__tag {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 203, 53, 0.16);
  color: var(--gold-2);
  border: 1px solid rgba(255, 203, 53, 0.3);
  white-space: nowrap;
}

.spotlight__body {
  padding: 24px 24px 22px;
}

.spotlight__phrase {
  margin: 0 0 4px;
  font-family: var(--font-kr);
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  font-weight: 700;
  color: var(--forest);
  line-height: 1.25;
}

.spotlight__rom {
  margin: 0;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.spotlight__en {
  margin: 2px 0 18px;
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}

.spotlight__rows {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
}

.spotlight__rows li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.88rem;
}

.spotlight__rows b {
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

.spotlight__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px 20px;
  background: var(--cream-2);
  border-top: 1px solid var(--line-soft);
}

.spotlight__price {
  font-family: var(--font-head);
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--forest);
  line-height: 1;
}

.spotlight__price span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 4px;
}

/* ----------------------------- 04. sections ------------------------------ */

.section--deep {
  background: var(--deep);
  color: rgba(248, 244, 232, 0.8);
}

.section--deep h2,
.section--deep h3,
.section--deep h4 {
  color: var(--cream);
}

.section--deep .section-head p {
  color: rgba(248, 244, 232, 0.72);
}

.section--flush {
  padding-top: 0;
}

.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  max-width: none;
  flex-wrap: wrap;
}

.section-head--row > div {
  max-width: 620px;
}

/* ---------------------------- 05. trust strip ---------------------------- */

.facts {
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

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

.facts__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 22px 24px;
  border-left: 1px solid var(--line-soft);
}

.facts__item:first-child {
  border-left: 0;
  padding-left: 0;
}

.facts__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold-3);
  color: var(--forest);
  display: grid;
  place-items: center;
  flex: none;
}

.facts__item b {
  display: block;
  font-family: var(--font-head);
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.3;
}

.facts__item span {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

/* --------------------------- 06. course catalog -------------------------- */

.catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 28px);
}

.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid rgba(7, 84, 63, 0.12);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.course-card:hover,
.course-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(7, 84, 63, 0.26);
}

.course-card__head {
  padding: 24px 26px 22px;
  background: linear-gradient(135deg, var(--gold-3), var(--cream-2) 70%);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}

.course-card__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
}

.course-card__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

.course-card__head h3 {
  margin: 0 0 6px;
  font-size: clamp(1.3rem, 2.1vw, 1.6rem);
}

.course-card__head p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--body);
  max-width: 34ch;
}

.course-card__body {
  padding: 22px 26px 0;
  flex: 1;
}

.course-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 4px;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--forest);
  letter-spacing: -0.03em;
  line-height: 1;
}

.course-card__price span {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.course-card__note {
  margin: 0 0 18px;
  font-size: 0.8rem;
  color: var(--muted);
}

.course-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  overflow: hidden;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.course-facts li {
  background: var(--paper);
  padding: 10px 12px;
  font-size: 0.8rem;
  color: var(--body);
  display: flex;
  align-items: center;
  gap: 7px;
}

.course-facts svg {
  color: var(--forest-2);
  flex: none;
}

.course-card__list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
}

.course-card__list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.course-card__list svg {
  color: var(--forest-2);
  flex: none;
  margin-top: 4px;
}

.course-card__foot {
  padding: 16px 26px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.course-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--forest);
  margin-left: auto;
}

.course-card__link:hover {
  color: var(--deep);
}

.course-card__link svg {
  transition: transform 0.18s var(--ease);
}

.course-card__link:hover svg {
  transform: translateX(3px);
}

.course-card__badge {
  position: absolute;
  top: 22px;
  right: 24px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--gold-2);
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.course-card--featured {
  border-color: rgba(7, 84, 63, 0.4);
  box-shadow: 0 24px 50px -34px rgba(4, 50, 38, 0.6);
}

.course-card--featured .course-card__head {
  background: linear-gradient(140deg, #0a5c45, var(--deep));
  border-bottom-color: transparent;
}

.course-card--featured .course-card__eyebrow {
  color: var(--gold-2);
}

.course-card--featured .course-card__head h3 {
  color: var(--cream);
}

.course-card--featured .course-card__head p {
  color: rgba(248, 244, 232, 0.74);
}

.course-card--featured .course-card__badge {
  background: var(--gold);
  color: var(--deep);
}

/* --------------------------- 07. comparison ------------------------------ */

.compare {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  -webkit-overflow-scrolling: touch;
}

.compare table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.compare th,
.compare td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.compare thead th {
  background: var(--forest);
  color: var(--cream);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 0;
}

.compare thead th:first-child {
  background: var(--deep);
  width: 34%;
}

.compare tbody th {
  font-weight: 600;
  color: var(--ink);
  background: var(--cream-2);
  width: 34%;
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare td strong {
  color: var(--forest);
}

/* ---------------------------- 08. learning path -------------------------- */

.path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.path__item {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 22px 22px;
  box-shadow: var(--shadow-sm);
}

.path__num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--deep);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.path__item h3 {
  font-size: 1.04rem;
  margin-bottom: 6px;
}

.path__item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.path__item[data-last] .path__num {
  background: var(--forest);
  color: var(--gold);
}

/* ---------------------------- 09. course page ---------------------------- */

.course-hero {
  background: var(--deep);
  color: rgba(248, 244, 232, 0.78);
  padding: clamp(30px, 4.4vw, 56px) 0 clamp(46px, 6vw, 74px);
  position: relative;
  overflow: hidden;
}

.course-hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -240px;
  top: -320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 203, 53, 0.22), transparent 66%);
  pointer-events: none;
}

.course-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
}

.course-hero .breadcrumb,
.course-hero .breadcrumb a {
  color: rgba(248, 244, 232, 0.6);
}

.course-hero .breadcrumb li::after {
  color: rgba(248, 244, 232, 0.3);
}

.course-hero .breadcrumb a:hover {
  color: var(--gold);
}

.course-hero h1 {
  color: var(--cream);
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  margin-bottom: 16px;
}

.course-hero .eyebrow {
  color: var(--gold);
}

.course-hero p {
  max-width: 58ch;
  color: rgba(248, 244, 232, 0.78);
}

.course-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.course-hero__meta li {
  font-size: 0.8rem;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 203, 53, 0.28);
  background: rgba(255, 203, 53, 0.08);
  color: var(--gold-2);
}

.course-price-card {
  background: var(--paper);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  color: var(--body);
}

.course-price-card p {
  color: var(--body);
  margin-bottom: 0;
}

.course-price-card__amount {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--forest);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 4px;
}

.course-price-card__amount span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.course-price-card__meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 16px;
}

.course-price-card .btn {
  width: 100%;
  margin-bottom: 8px;
}

.course-price-card__fine {
  font-size: 0.72rem;
  color: var(--muted);
  margin: 8px 0 0;
  line-height: 1.5;
}

.course-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(30px, 4.4vw, 58px);
  align-items: start;
}

.course-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}

.aside-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.aside-card h2,
.aside-card h3 {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 14px;
}

.fact-table {
  margin: 0;
}

.fact-table > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.85rem;
}

.fact-table > div:last-child {
  border-bottom: 0;
}

.fact-table dt {
  color: var(--muted);
  margin: 0;
}

.fact-table dd {
  margin: 0;
  text-align: right;
  color: var(--ink);
  font-weight: 600;
}

.pending {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #8a5a00;
  background: var(--gold-3);
  border: 1px solid rgba(180, 101, 26, 0.22);
  border-radius: 999px;
  padding: 3px 9px;
}

.course-block + .course-block {
  margin-top: clamp(30px, 4vw, 46px);
}

.course-block h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  margin-bottom: 14px;
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.who-grid li {
  background: var(--cream-2);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 0.9rem;
  display: flex;
  gap: 9px;
}

.who-grid svg {
  color: var(--forest-2);
  flex: none;
  margin-top: 4px;
}

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

.module-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.module-list__num {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--gold-3);
  color: var(--forest);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.82rem;
}

.module-list h3 {
  font-size: 1rem;
  margin-bottom: 3px;
}

.module-list p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* --------------------------- 10. resources ------------------------------- */

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

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

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

.article-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--forest);
  margin: 0 0 12px;
}

.article-card__meta .tag {
  background: var(--gold-3);
  color: #7a5200;
  letter-spacing: 0.06em;
}

.article-card h3 {
  font-size: 1.16rem;
  margin-bottom: 8px;
}

.article-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.article-card h3 a:hover {
  color: var(--forest);
}

.article-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.article-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--muted);
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cream-3);
  color: var(--forest);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature-article {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 50px);
  align-items: center;
  background: var(--deep);
  color: rgba(248, 244, 232, 0.78);
  border-radius: 28px;
  padding: clamp(26px, 4vw, 44px);
}

.feature-article h2,
.feature-article h3 {
  color: var(--cream);
}

.feature-article p {
  color: rgba(248, 244, 232, 0.76);
}

.feature-article__panel {
  background: rgba(248, 244, 232, 0.07);
  border: 1px solid rgba(255, 203, 53, 0.22);
  border-radius: 18px;
  padding: 22px;
}

.feature-article__panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 0.88rem;
}

.feature-article__panel li {
  display: flex;
  gap: 9px;
}

.feature-article__panel svg {
  color: var(--gold);
  flex: none;
  margin-top: 4px;
}

/* Article page */

.article-hero {
  padding: clamp(28px, 4vw, 48px) 0 clamp(22px, 3vw, 32px);
  background: radial-gradient(620px 420px at 92% -30%, rgba(255, 203, 53, 0.26), transparent 68%);
}

.article-hero__inner {
  max-width: 800px;
}

.article-hero h1 {
  font-size: clamp(1.95rem, 4.2vw, 2.85rem);
  margin-bottom: 14px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

.article-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line);
}

.article {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 26px;
  padding: clamp(24px, 4.4vw, 52px);
  max-width: 860px;
  margin: 0 auto;
}

.prose {
  max-width: 68ch;
  font-size: 1.02rem;
}

.prose > p:first-of-type {
  font-size: 1.12rem;
  color: var(--body);
}

.prose h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.72rem);
  margin-top: 2em;
  padding-top: 0.2em;
}

.prose h3 {
  font-size: 1.12rem;
  margin-top: 1.7em;
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
}

.prose li {
  margin-bottom: 0.5em;
}

.prose a {
  font-weight: 500;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 0 0 1.4em;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.prose th,
.prose td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
}

.prose thead th {
  background: var(--cream-2);
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest);
}

.prose tbody tr:last-child td {
  border-bottom: 0;
}

.callout {
  background: var(--gold-3);
  border-left: 4px solid var(--gold);
  border-radius: 0 14px 14px 0;
  padding: 16px 20px;
  margin: 0 0 1.5em;
  font-size: 0.95rem;
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout--green {
  background: rgba(7, 84, 63, 0.06);
  border-left-color: var(--forest);
}

.phrase-block {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px;
  margin: 0 0 1.6em;
}

.phrase-block__ko {
  font-family: var(--font-kr);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--forest);
  margin: 0 0 2px;
  line-height: 1.3;
}

.phrase-block__rom {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 6px;
}

.phrase-block__en {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.article-footer {
  max-width: 860px;
  margin: 26px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.article-cta {
  max-width: 860px;
  margin: 26px auto 0;
  background: var(--deep);
  color: rgba(248, 244, 232, 0.78);
  border-radius: 24px;
  padding: clamp(24px, 3.6vw, 36px);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.article-cta h2 {
  color: var(--cream);
  margin-bottom: 6px;
}

.article-cta p {
  margin: 0;
  max-width: 46ch;
  color: rgba(248, 244, 232, 0.74);
}

/* ------------------------- 11. video slot + notices ---------------------- */

.video-slot {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  background: linear-gradient(145deg, #0a5c45, var(--deep));
  border: 1px solid rgba(255, 203, 53, 0.24);
  color: rgba(248, 244, 232, 0.82);
  text-align: center;
  overflow: hidden;
}

.video-slot__inner {
  padding: 24px;
  max-width: 40ch;
}

.video-slot__play {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--deep);
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.6);
}

.video-slot b {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 4px;
}

.video-slot span {
  font-size: 0.82rem;
  color: rgba(248, 244, 232, 0.66);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--cream-2);
  border: 1px dashed rgba(7, 84, 63, 0.28);
  font-size: 0.88rem;
  color: var(--body);
}

.notice svg {
  color: var(--forest);
  flex: none;
  margin-top: 3px;
}

.notice p {
  margin: 0;
}

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

/* --------------------------- 12. footer extras --------------------------- */

.site-footer .brand__tag {
  color: rgba(248, 244, 232, 0.5);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 9px;
  border-radius: 999px;
  border: 1px solid rgba(248, 244, 232, 0.16);
  font-size: 0.76rem;
  color: rgba(248, 244, 232, 0.76);
  text-decoration: none;
}

.footer-socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--deep);
}

.site-footer__contact {
  font-size: 0.86rem;
  color: rgba(248, 244, 232, 0.6);
}

.site-footer__contact a {
  color: var(--gold-2);
}

/* ---------------------------- 13. responsive ---------------------------- */

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

@media (max-width: 1000px) {
  .catalog,
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .facts__item:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .facts__item:nth-child(n + 3) {
    border-top: 1px solid var(--line-soft);
  }

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

  .course-hero__grid,
  .course-layout {
    /* minmax(0, …) so a wide comparison table cannot stretch the column
       past the viewport on phones. */
    grid-template-columns: minmax(0, 1fr);
  }

  .course-aside {
    position: static;
  }

  .course-price-card {
    max-width: 420px;
  }

  .feature-article {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 960px) {
  .hero--split .hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero--split .hero__visual {
    max-width: 460px;
    width: 100%;
  }

  .spotlight {
    transform: none;
  }
}

@media (max-width: 760px) {
  .facts__grid,
  .catalog,
  .resource-grid,
  .path,
  .who-grid {
    grid-template-columns: 1fr;
  }

  .facts__item {
    border-left: 0;
    padding: 16px 0;
  }

  .facts__item:nth-child(n + 2) {
    border-top: 1px solid var(--line-soft);
  }

  .course-hero {
    padding-bottom: 36px;
  }

  .course-card__head,
  .course-card__body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .course-card__foot {
    padding: 14px 20px 20px;
  }

  .course-card__badge {
    top: 18px;
    right: 18px;
  }

  .article {
    border-radius: 18px;
  }

  .article-hero__inner {
    max-width: none;
  }

  .article-cta {
    border-radius: 18px;
  }

  .topbar {
    font-size: 0.74rem;
  }

  .topbar__inner {
    min-height: 36px;
  }
}

/* ------------- Student experiences: vocabulary rows and CTA spacing ------- */

/* Each Korean word sits in its own column with its meaning beside it, so the
   two never read as one run-on string ("안녕peace / well-being"). */
.vocab-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.vocab-list li {
  display: grid;
  grid-template-columns: minmax(4.5em, auto) minmax(0, 1fr);
  align-items: baseline;
  gap: 16px;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}

.vocab-list b {
  font-family: var(--font-kr);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--forest);
  white-space: nowrap;
}

.vocab-list span {
  min-width: 0;
}

@media (max-width: 420px) {
  .vocab-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .vocab-list b {
    font-size: 1.06rem;
  }
}

/* The two CTA buttons keep a clear gap instead of touching. */
.cta-band__actions {
  gap: 14px;
}

@media (max-width: 760px) {
  .cta-band__actions {
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .cta-band__actions {
    flex-direction: column;
  }

  .cta-band__actions .btn {
    width: 100%;
    flex: 0 0 auto;
  }
}

/* ------------------- Enroll page contact card (right column) -------------- */

.contact-card {
  background: var(--cream);
  border: 1px solid rgba(7, 84, 63, 0.14);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
}

.contact-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
}

.contact-card__eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.contact-card__title {
  margin: 0 0 12px;
  font-size: clamp(1.3rem, 2.6vw, 1.55rem);
  line-height: 1.22;
  color: var(--forest);
}

.contact-card__lede {
  margin: 0 0 24px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--body);
}

.contact-card__label {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--forest);
}

.contact-card__steps-wrap {
  margin-bottom: 22px;
}

.contact-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-steps li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid rgba(7, 84, 63, 0.1);
}

.contact-steps li:first-child {
  padding-top: 0;
  border-top: 0;
}

.contact-steps li:last-child {
  padding-bottom: 0;
}

.contact-steps p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink);
}

.contact-steps__num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--deep);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
}

.contact-card__email {
  margin: 0 0 20px;
  padding: 16px 16px 18px;
  background: var(--paper);
  border: 1px solid rgba(7, 84, 63, 0.14);
  border-radius: var(--r);
}

.contact-card__mail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--forest);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-card__mail:hover {
  color: var(--forest-2);
  text-decoration: underline;
}

.contact-card__mail-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--gold);
  color: var(--deep);
}

.contact-card__facts {
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(7, 84, 63, 0.12);
  list-style: none;
  display: grid;
  gap: 9px;
}

.contact-card__facts li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.83rem;
  line-height: 1.45;
  color: var(--body);
}

.contact-card__facts svg {
  flex: none;
  margin-top: 2px;
  color: var(--forest);
}

.contact-card-compare {
  border-color: rgba(7, 84, 63, 0.12);
}

@media (max-width: 560px) {
  .contact-card {
    padding: 22px;
  }

  .contact-card__eyebrow {
    gap: 6px;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }

  .contact-card__eyebrow::before {
    width: 15px;
  }

  .contact-card__mail {
    font-size: 0.82rem;
  }

  .contact-steps li {
    gap: 10px;
  }
}
