/* =====================================================================
   Home page + course hub (template-parts/home/landing.php, course-cards.php,
   learning-path.php). Builds on the theme tokens in styles.css
   (--brand, --brand2, --ink, --muted, --border).
   ===================================================================== */
:root{
  --hl-red: #d9483b;          /* shu-iro: the seal / highlight accent */
  --hl-paper: #faf7f1;        /* warm washi background for alternate sections */
  --hl-ink-2: #334155;
  --hl-radius: 22px;
  --hl-shadow: 0 18px 44px rgba(15,23,42,.10);
  --hl-jp: "Roboto", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
}
.hl-hero :lang(ja), .hl-section :lang(ja), .hl-cta :lang(ja){ font-family: var(--hl-jp); }

/* ------------------------------------------------------------- buttons */
.hl-btn{
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border-radius: 14px; font-weight: 800; padding: .75rem 1.15rem; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.hl-btn:hover{ transform: translateY(-1px); }
.hl-btn--primary{
  color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 12px 26px rgba(47,111,237,.25);
}
.hl-btn--primary:hover{ color: #fff; box-shadow: 0 16px 32px rgba(47,111,237,.30); }
.hl-btn--ghost{ color: var(--ink); background: #fff; border-color: var(--border); }
.hl-btn--ghost:hover{ color: var(--brand); border-color: rgba(47,111,237,.3); }
.hl-btn--course{ color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.hl-btn--course:hover{ color: #fff; box-shadow: 0 10px 22px rgba(15,23,42,.16); }
.hl-btn--light{ color: var(--ink); background: #fff; }
.hl-btn--light:hover{ color: var(--brand); }
.hl-btn--outline-light{ color: #fff; border-color: rgba(255,255,255,.55); background: transparent; }
.hl-btn--outline-light:hover{ color: #fff; background: rgba(255,255,255,.12); }
.hl-btn.btn-lg{ padding: .85rem 1.35rem; font-size: 1.05rem; }

/* ---------------------------------------------------------------- hero */
.hl-hero{
  position: relative; overflow: hidden;
  padding: 72px 0 84px;
  background:
    radial-gradient(700px 380px at 12% 8%, rgba(47,111,237,.13), transparent 65%),
    radial-gradient(640px 420px at 92% 30%, rgba(0,184,169,.12), transparent 60%),
    linear-gradient(180deg, #fbfaf7, #fff);
  border-bottom: 1px solid var(--border);
}
/* Seigaiha (wave) pattern, faded in from the right. */
.hl-hero::before{
  content: ""; position: absolute; inset: 0 0 0 40%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='28' viewBox='0 0 56 28'%3E%3Cg fill='none' stroke='%232f6fed' stroke-opacity='.10' stroke-width='1.2'%3E%3Cpath d='M0 28a28 28 0 0 1 56 0M8 28a20 20 0 0 1 40 0M16 28a12 12 0 0 1 24 0M24 28a4 4 0 0 1 8 0'/%3E%3Cpath d='M-28 14a28 28 0 0 1 56 0M-20 14a20 20 0 0 1 40 0M-12 14a12 12 0 0 1 24 0M28 14a28 28 0 0 1 56 0M36 14a20 20 0 0 1 40 0M44 14a12 12 0 0 1 24 0'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
          mask-image: linear-gradient(90deg, transparent, #000 45%);
  pointer-events: none;
}
.hl-hero .container{ position: relative; }
.hl-eyebrow{
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .38rem .8rem .38rem .45rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--border);
  font-weight: 800; font-size: .9rem; color: var(--hl-ink-2);
  box-shadow: 0 6px 16px rgba(15,23,42,.05);
}
.hl-eyebrow span{
  padding: .12rem .5rem; border-radius: 999px; background: var(--hl-red); color: #fff; font-size: .82rem;
}
.hl-hero__title{
  margin: 1.1rem 0 1rem; font-weight: 900; letter-spacing: -.02em; line-height: 1.12;
  font-size: clamp(2.1rem, 4.6vw, 3.55rem); color: var(--ink);
}
.hl-mark{
  background: linear-gradient(120deg, var(--brand), var(--brand2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hl-hero__lead{ font-size: 1.13rem; line-height: 1.65; color: var(--hl-ink-2); max-width: 36rem; margin-bottom: 1.6rem; }
.hl-hero__cta{ display: flex; flex-wrap: wrap; gap: .75rem; }
.hl-stats{
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem;
  margin: 2.2rem 0 0; max-width: 36rem;
}
.hl-stats div{ padding: .2rem 0 .2rem .85rem; border-left: 3px solid rgba(47,111,237,.25); }
.hl-stats dt{ font-size: 1.55rem; font-weight: 900; color: var(--ink); line-height: 1.1; }
.hl-stats dd{ margin: .15rem 0 0; font-size: .86rem; color: var(--muted); font-weight: 600; }

/* Hero visual: a kanji card writing itself, with two floating lesson chips. */
/* The card sits to the right; the chips float over the free space on its left. */
.hl-stage{ position: relative; max-width: 540px; margin: 0 0 0 auto; padding: 34px 0; }
.hl-kcard{
  position: relative; z-index: 1; width: min(330px, 100%); margin: 0 18px 0 auto;
  background: #fff; border: 1px solid var(--border); border-radius: 28px;
  box-shadow: 0 30px 70px rgba(15,23,42,.14); padding: 18px 20px 20px;
}
.hl-kcard__head{ display: flex; justify-content: space-between; align-items: center; font-size: .82rem; font-weight: 800; color: var(--muted); }
.hl-kcard__strokes{ padding: .15rem .55rem; border-radius: 999px; background: rgba(217,72,59,.10); color: var(--hl-red); }
.hl-kcard__grid{
  position: relative; margin: 12px 0 14px; aspect-ratio: 1; border-radius: 18px;
  background:
    linear-gradient(rgba(217,72,59,.18), rgba(217,72,59,.18)) center / 100% 1px no-repeat,
    linear-gradient(90deg, rgba(217,72,59,.18), rgba(217,72,59,.18)) center / 1px 100% no-repeat,
    #fffdf8;
  border: 1.5px solid rgba(217,72,59,.35);
}
.hl-kcard__grid .hl-strokes{ position: absolute; inset: 6%; width: 88%; height: 88%; }
.hl-kcard__info{ text-align: center; }
.hl-kcard__hv{ font-weight: 900; letter-spacing: .12em; font-size: 1.15rem; color: var(--ink); }
.hl-kcard__meaning{ color: var(--muted); font-weight: 600; }
.hl-kcard__read{ margin-top: .2rem; color: var(--brand); font-weight: 700; }

.hl-strokes path{
  fill: none; stroke: var(--ink); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round;
}
.hl-strokes path.is-current{ stroke: var(--hl-red); }

.hl-chip{
  position: absolute; z-index: 2; display: flex; align-items: center; gap: .65rem;
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15,23,42,.14); padding: .65rem .9rem .65rem .65rem;
  text-align: left; color: var(--ink); max-width: 260px;
}
.hl-chip small{ display: block; color: var(--muted); font-size: .78rem; font-weight: 600; }
.hl-chip--audio{ left: 0; bottom: 17%; cursor: pointer; animation: hl-float 6s ease-in-out infinite; }
.hl-chip--audio:hover{ border-color: rgba(47,111,237,.35); }
.hl-chip__jp{ font-weight: 800; font-size: 1.02rem; }
.hl-chip--ok{ left: 24px; top: 21%; animation: hl-float 6s ease-in-out -3s infinite; }
@media (min-width: 992px) and (max-width: 1199.98px){
  .hl-chip--ok{ display: none; }
  .hl-chip--audio{ bottom: -10px; }   /* the narrow column puts the card's text under the chip */
}
.hl-chip--ok > i{ font-size: 1.5rem; color: #16a34a; }
.hl-seal{
  position: absolute; z-index: 2; right: 0; bottom: 64px; transform: rotate(8deg);
  writing-mode: vertical-rl; padding: .45rem .3rem; border-radius: 6px;
  background: var(--hl-red); color: #fff; font-weight: 900; font-size: .9rem; letter-spacing: .1em;
  box-shadow: 0 10px 24px rgba(217,72,59,.35);
}
@keyframes hl-float{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-8px); } }

.hl-play{
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; border: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; font-size: 1.25rem;
  box-shadow: 0 8px 18px rgba(47,111,237,.28);
}
.hl-play i{ margin-left: 2px; }
[data-bv-audio].is-playing .hl-play, .hl-play.is-playing{ background: var(--hl-red); box-shadow: 0 8px 18px rgba(217,72,59,.3); }

@media (max-width: 991.98px){
  .hl-hero{ padding: 48px 0 56px; }
  .hl-stage{ padding: 0; margin: 0 auto; display: grid; gap: 12px; justify-items: center; }
  .hl-kcard{ margin: 0 auto; }
  .hl-chip, .hl-seal{ position: static; animation: none; transform: none; }
  .hl-seal{ display: none; }
  .hl-chip{ width: min(340px, 100%); max-width: none; }
}
@media (max-width: 575.98px){
  .hl-stats{ grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1rem; }
  .hl-hero__cta .btn{ width: 100%; }
}

/* ------------------------------------------------------------- sections */
.hl-section{ padding: 88px 0; }
.hl-section--paper{ background: var(--hl-paper); border-top: 1px solid rgba(15,23,42,.05); border-bottom: 1px solid rgba(15,23,42,.05); }
.hl-section--tight{ padding: 56px 0; }
@media (max-width: 767.98px){ .hl-section{ padding: 60px 0; } .hl-section--tight{ padding: 40px 0; } }
.hl-narrow{ max-width: 860px; }
.hl-head{ max-width: 46rem; margin-bottom: 2.4rem; }
.hl-head h2{ font-weight: 900; letter-spacing: -.015em; font-size: clamp(1.7rem, 3vw, 2.4rem); margin: .55rem 0 .7rem; }
.hl-head p{ color: var(--hl-ink-2); font-size: 1.05rem; line-height: 1.65; margin: 0; }
.hl-head--center{ text-align: center; margin-left: auto; margin-right: auto; }
.hl-head--row{ max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.hl-kicker{
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .82rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--hl-red);
}
.hl-kicker::before{ content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }

/* -------------------------------------------------------------- courses */
.hl-courses{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 991.98px){ .hl-courses{ grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; } }
.hl-course{
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--border); border-radius: var(--hl-radius);
  box-shadow: 0 8px 24px rgba(15,23,42,.06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.hl-course:hover{ transform: translateY(-4px); box-shadow: var(--hl-shadow); }
.hl-course__top{
  position: relative; overflow: hidden; min-height: 128px; padding: 18px 20px;
  background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
}
.hl-course__glyph{
  position: absolute; right: -6px; bottom: -34px; font-size: 150px; line-height: 1; font-weight: 900;
  color: rgba(255,255,255,.22); pointer-events: none;
}
.hl-course__kicker{ font-weight: 900; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; opacity: .95; }
.hl-course__level{
  padding: .28rem .7rem; border-radius: 999px; background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.35); font-weight: 800; font-size: .84rem; backdrop-filter: blur(2px);
}
.hl-course__body{ display: flex; flex-direction: column; flex: 1 1 auto; padding: 20px 22px 22px; }
.hl-course__name{ font-size: 1.3rem; font-weight: 900; margin: 0 0 .45rem; }
.hl-course__name a{ color: var(--ink); }
.hl-course__name a:hover{ color: var(--c1); }
.hl-course__tag{ color: var(--muted); font-size: .95rem; line-height: 1.55; margin: 0 0 1rem; }
.hl-course__points{ list-style: none; padding: 0; margin: 0 0 1.1rem; display: grid; gap: .5rem; }
.hl-course__points li{ display: flex; gap: .55rem; font-size: .95rem; line-height: 1.45; color: var(--hl-ink-2); }
.hl-course__points i{ color: var(--c1); font-size: 1.05rem; margin-top: 1px; }
.hl-course__facts{
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin: auto 0 1rem;
  padding: .85rem 0 0; border-top: 1px dashed var(--border);
}
.hl-course__facts dt{ font-size: 1.2rem; font-weight: 900; color: var(--ink); }
.hl-course__facts dd{ margin: 0; font-size: .8rem; color: var(--muted); font-weight: 600; }
.hl-course__progress{ margin-bottom: 1rem; }
.hl-course__actions{ display: flex; flex-wrap: wrap; gap: .6rem; }
.hl-course__actions .btn{ flex: 1 1 auto; border-radius: 14px; font-weight: 800; padding: .65rem 1rem; }

/* ------------------------------------------------------------ learning path */
.hl-path{ list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; position: relative; }
.hl-path::before{
  content: ""; position: absolute; top: 22px; left: 8%; right: 8%; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(217,72,59,.45) 0 8px, transparent 8px 16px);
}
.hl-path__stage{ position: relative; }
.hl-path__num{
  position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; margin: 0 0 16px;
  border-radius: 50%; background: var(--hl-red); color: #fff; font-weight: 900; font-size: 1.15rem;
  box-shadow: 0 0 0 6px var(--hl-paper);
}
.hl-path__card{ background: #fff; border: 1px solid var(--border); border-radius: var(--hl-radius); padding: 22px; height: calc(100% - 62px); }
.hl-path__label{ font-size: .8rem; font-weight: 900; color: var(--hl-red); text-transform: uppercase; letter-spacing: .08em; }
.hl-path__title{ font-size: 1.2rem; font-weight: 900; margin: .3rem 0 .45rem; }
.hl-path__desc{ color: var(--muted); font-size: .93rem; line-height: 1.55; margin-bottom: 1rem; }
.hl-path__steps{ list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.hl-path__steps a{
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .65rem;
  padding: .55rem .7rem; border-radius: 14px; background: #f8fafc; border: 1px solid transparent; color: var(--ink);
}
.hl-path__steps a:hover{ border-color: var(--c1); background: #fff; }
.hl-path__glyph{
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
  background: var(--c1); color: #fff; font-weight: 900;
}
.hl-path__course{ font-weight: 700; font-size: .9rem; line-height: 1.3; }
.hl-path__range{ font-weight: 800; font-size: .82rem; color: var(--c1); white-space: nowrap; }
@media (max-width: 991.98px){
  .hl-path{ grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .hl-path::before{ top: 22px; bottom: 22px; left: 22px; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, rgba(217,72,59,.45) 0 8px, transparent 8px 16px); }
  .hl-path__stage{ display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; }
  .hl-path__card{ height: auto; }
}
@media (max-width: 575.98px){
  .hl-path__stage{ grid-template-columns: 34px minmax(0, 1fr); gap: 10px; }
  .hl-path__num{ width: 34px; height: 34px; font-size: 1rem; }
  .hl-path::before{ left: 16px; }
  .hl-path__card{ padding: 16px; }
  .hl-path__steps a{ gap: .5rem; padding: .5rem .55rem; }
}

/* ------------------------------------------------------- lesson preview */
.hl-tabs{ gap: .5rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.hl-tabs .nav-link{
  display: inline-flex; align-items: center; gap: .45rem;
  border-radius: 999px; padding: .6rem 1.1rem; font-weight: 800; color: var(--hl-ink-2);
  background: #fff; border: 1px solid var(--border);
}
.hl-tabs .nav-link:hover{ color: var(--brand); }
.hl-tabs .nav-link.active{ color: #fff; background: var(--ink); border-color: var(--ink); }
.hl-demo{ display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: center; }
@media (max-width: 991.98px){ .hl-demo{ grid-template-columns: 1fr; gap: 24px; } }
.hl-demo__text h3{ font-weight: 900; font-size: 1.5rem; margin-bottom: 1rem; }
.hl-ticks{ list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .7rem; }
.hl-ticks li{ position: relative; padding-left: 1.7rem; color: var(--hl-ink-2); line-height: 1.55; }
.hl-ticks li::before{
  content: "\f270"; font-family: "bootstrap-icons";   /* bi-check2-circle */ position: absolute; left: 0; top: 0; color: var(--brand2); font-size: 1.1rem;
}
.hl-mock{ background: #fff; border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--hl-shadow); overflow: hidden; }
.hl-mock__bar{ display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #f8fafc; border-bottom: 1px solid var(--border); }
.hl-mock__bar span{ width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.hl-mock__bar span:first-child{ background: #fca5a5; }
.hl-mock__bar em{ margin-left: 8px; font-style: normal; font-size: .82rem; font-weight: 700; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-mock__body{ padding: 22px; }
.hl-pattern{
  display: inline-block; padding: .45rem .9rem; border-radius: 12px;
  background: rgba(47,111,237,.08); color: var(--brand); font-weight: 900; font-size: 1.25rem;
}
.hl-mock__title{ font-weight: 900; font-size: 1.1rem; margin: .7rem 0 .35rem; }
.hl-mock__p{ color: var(--hl-ink-2); font-size: .94rem; line-height: 1.6; }
.hl-line{ display: flex; align-items: center; gap: .85rem; padding: .7rem 0; border-top: 1px solid rgba(15,23,42,.06); }
.hl-line__jp{ font-weight: 800; font-size: 1.12rem; color: var(--ink); }
.hl-line__ro{ font-size: .85rem; color: var(--brand); font-weight: 600; }
.hl-line__vi{ font-size: .9rem; color: var(--muted); }
.hl-quiz{ margin-top: .8rem; padding: 1rem; border-radius: 16px; background: var(--hl-paper); }
.hl-quiz__label{ font-size: .78rem; font-weight: 900; color: var(--hl-red); text-transform: uppercase; letter-spacing: .06em; }
.hl-quiz__prompt{ font-weight: 800; font-size: 1.15rem; margin: .35rem 0 .7rem; }
.hl-quiz__opts{ display: flex; flex-wrap: wrap; gap: .5rem; }
.hl-quiz__opts button{
  min-width: 64px; padding: .5rem .9rem; border-radius: 12px; border: 1px solid var(--border);
  background: #fff; font-weight: 800; font-size: 1.05rem; color: var(--ink);
}
.hl-quiz__opts button:hover{ border-color: var(--brand); }
.hl-quiz__opts button.is-right{ background: #dcfce7; border-color: #16a34a; color: #166534; }
.hl-quiz__opts button.is-wrong{ background: #fee2e2; border-color: #dc2626; color: #991b1b; }
.hl-quiz__fb{ margin-top: .7rem; font-size: .9rem; font-weight: 600; }
.hl-quiz__fb.is-right{ color: #166534; }
.hl-quiz__fb.is-wrong{ color: #991b1b; }
.hl-speed{ display: flex; align-items: center; gap: .4rem; margin-bottom: .4rem; font-size: .82rem; font-weight: 800; color: var(--muted); }
.hl-speed button{ border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: .2rem .65rem; font-weight: 800; font-size: .82rem; color: var(--hl-ink-2); }
.hl-speed button[aria-pressed="true"]{ background: var(--ink); border-color: var(--ink); color: #fff; }
.hl-kdemo{ display: grid; grid-template-columns: 200px 1fr; gap: 22px; align-items: start; }
@media (max-width: 575.98px){ .hl-kdemo{ grid-template-columns: 1fr; } .hl-kdemo__glyph{ max-width: 220px; margin: 0 auto; } }
.hl-kdemo__glyph{
  aspect-ratio: 1; border-radius: 16px; position: relative; border: 1.5px solid rgba(217,72,59,.35);
  background:
    linear-gradient(rgba(217,72,59,.18), rgba(217,72,59,.18)) center / 100% 1px no-repeat,
    linear-gradient(90deg, rgba(217,72,59,.18), rgba(217,72,59,.18)) center / 1px 100% no-repeat,
    #fffdf8;
}
.hl-kdemo__glyph .hl-strokes{ position: absolute; inset: 6%; width: 88%; height: 88%; }
.hl-kdemo__hv{ font-weight: 900; font-size: 1.35rem; letter-spacing: .08em; }
.hl-kdemo__hv span{ font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.hl-kdemo__row{ display: flex; gap: .8rem; padding: .35rem 0; border-bottom: 1px dashed var(--border); font-size: .95rem; }
.hl-kdemo__row span:first-child{ width: 64px; color: var(--muted); font-weight: 700; font-size: .85rem; }
.hl-kdemo__words{ list-style: none; padding: 0; margin: .8rem 0 1rem; display: grid; gap: .4rem; }
.hl-kdemo__words li{ display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.hl-kdemo__words li span{ font-weight: 800; font-size: 1.05rem; }
.hl-kdemo__words small{ color: var(--brand); font-weight: 600; }
.hl-kdemo__words em{ font-style: normal; color: var(--muted); font-size: .9rem; }

/* ------------------------------------------------------------- features */
.hl-features{ list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 991.98px){ .hl-features{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px){ .hl-features{ grid-template-columns: 1fr; } }
.hl-features li{ display: grid; grid-template-columns: 48px 1fr; column-gap: .9rem; align-items: start; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--border); }
.hl-features i{ grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(47,111,237,.08); color: var(--brand); font-size: 1.35rem; }
.hl-features strong{ font-weight: 900; }
.hl-features span{ color: var(--muted); font-size: .9rem; line-height: 1.5; }

/* ------------------------------------------------------------------ FAQ */
.hl-faq .accordion-item{ border: 1px solid var(--border); border-radius: 16px !important; overflow: hidden; margin-bottom: .75rem; background: #fff; }
.hl-faq .accordion-button{ font-weight: 800; font-size: 1.02rem; padding: 1.05rem 1.25rem; }
.hl-faq .accordion-button:not(.collapsed){ color: var(--ink); background: #fff; box-shadow: none; }
.hl-faq .accordion-button:focus{ box-shadow: 0 0 0 .2rem rgba(47,111,237,.18); }
.hl-faq .accordion-body{ color: var(--hl-ink-2); line-height: 1.65; padding: 0 1.25rem 1.15rem; }

/* ------------------------------------------------------------------ CTA */
.hl-cta{ padding: 80px 0 0; }
@media (max-width: 767.98px){ .hl-cta{ padding-top: 56px; } }
.hl-cta__box{
  position: relative; overflow: hidden; text-align: center; color: #fff;
  padding: 64px 24px; border-radius: 32px;
  background: radial-gradient(600px 300px at 15% 0%, rgba(0,184,169,.45), transparent 60%),
              linear-gradient(135deg, #0f172a, #1e3a8a 60%, #2f6fed);
}
.hl-cta__kana{
  position: absolute; right: -10px; bottom: -40px; font-size: 150px; font-weight: 900; line-height: 1;
  color: rgba(255,255,255,.06); white-space: nowrap; pointer-events: none;
}
.hl-cta__box h2{ position: relative; font-weight: 900; font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: .8rem; }
.hl-cta__box p{ position: relative; color: rgba(255,255,255,.8); font-size: 1.08rem; max-width: 34rem; margin: 0 auto 1.6rem; }
.hl-cta__box .hl-hero__cta{ position: relative; }
@media (max-width: 575.98px){ .hl-cta__box{ padding: 44px 18px; border-radius: 24px; } .hl-cta__box .btn{ width: 100%; } }

/* -------------------------------------------------------------- contact */
.hl-contact{ background: var(--hl-paper); border-radius: var(--hl-radius); padding: 28px; border: 1px solid rgba(15,23,42,.06); }
.hl-contact h3{ font-weight: 900; font-size: 1.25rem; margin-bottom: 1rem; }
.hl-contact a, .hl-contact span{ color: var(--hl-ink-2); font-weight: 600; }
.hl-contact a:hover{ color: var(--brand); }
.hl-contact i{ color: var(--brand); margin-right: .35rem; }

/* ------------------------------------------------------------ course hub */
.hl-hub{ padding: 56px 0 40px; }
.hl-hub .hl-hero__title{ font-size: clamp(2rem, 4vw, 3rem); }

@media (prefers-reduced-motion: reduce){
  .hl-chip, .hl-course, .hl-btn{ animation: none !important; transition: none !important; }
}
