/* Feednet Teach — cinematic public landing + learner shell */
:root {
  --ft-bg: #041112;
  --ft-ink: #eef7f6;
  --ft-muted: #9bb8ba;
  --ft-teal: #2ad4cc;
  --ft-teal-deep: #0e8f8a;
  --ft-sand: #d8c3a5;
  --ft-line: rgba(238, 247, 246, 0.12);
  --ft-font: "Outfit", system-ui, sans-serif;
  --ft-display: "Newsreader", "Times New Roman", serif;
  --ft-max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.ft-body {
  margin: 0;
  min-height: 100vh;
  color: var(--ft-ink);
  font-family: var(--ft-font);
  background: var(--ft-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--ft-teal); text-decoration: none; }
a:hover { color: #7eefe9; }

/* —— Top bar —— */
.ft-top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: 14px clamp(16px, 4vw, 40px);
  padding-top: calc(14px + env(safe-area-inset-top, 0px));
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.ft-top.is-solid {
  background: rgba(4, 17, 18, 0.82);
  border-bottom-color: var(--ft-line);
  backdrop-filter: blur(14px);
}
.ft-brand {
  font-family: var(--ft-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  text-decoration: none;
}
.ft-brand:hover { color: #fff; text-decoration: none; }
.ft-brand span { color: #fff; }
.ft-brand-net { color: #e31b23 !important; }
.ft-brand-cluster {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 1 auto;
}
.ft-home-mark {
  display: inline-flex;
  align-items: center;
  height: 36px;
  max-width: min(42vw, 160px);
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 6px;
  border: 1px solid rgba(227, 27, 35, 0.35);
  background: #ffffff;
  line-height: 0;
  text-decoration: none;
  padding: 3px 6px;
}
.ft-home-mark:hover {
  border-color: #e31b23;
  box-shadow: 0 0 0 2px rgba(227, 27, 35, 0.18);
}
.ft-home-mark img {
  height: 28px;
  width: auto;
  max-width: 148px;
  display: block;
  object-fit: contain;
}
.ft-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  border: 1px solid rgba(42, 212, 204, 0.35);
  border-radius: 6px;
  background: rgba(4, 17, 18, 0.55);
  cursor: pointer;
}
.ft-nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #eef7f6;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.ft-top.is-nav-open .ft-nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.ft-top.is-nav-open .ft-nav-toggle span:nth-child(2) {
  opacity: 0;
}
.ft-top.is-nav-open .ft-nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.ft-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  font-size: 16px;
  font-weight: 500;
}
.ft-nav a {
  color: rgba(238, 247, 246, 0.78);
  font-size: 16px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.ft-nav a:hover { color: #fff; }

/* —— Buttons —— */
.ft-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: var(--ft-font);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 4px;
  padding: 12px 20px;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.ft-btn:hover { text-decoration: none; }
.ft-btn-teal:hover { transform: translateY(-1px); }
.ft-btn-ghost:hover { transform: translateY(-1px); }
.ft-btn:active { transform: scale(0.98); }
.ft-btn-teal {
  background: var(--ft-teal);
  color: #041112;
}
.ft-btn-teal:hover { background: #5fe4dd; color: #041112; }
.ft-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(238, 247, 246, 0.35);
}
.ft-btn-ghost:hover {
  border-color: var(--ft-teal);
  color: var(--ft-teal);
  background: transparent;
}
.ft-top .ft-btn { padding: 8px 14px; font-size: 16px; }
.ft-link-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  color: rgba(238, 247, 246, 0.78);
  cursor: pointer;
}
.ft-link-btn:hover { color: #fff; }

.ft-login-chooser { width: min(420px, 100%); }
.ft-login-options {
  display: grid;
  gap: 10px;
}
.ft-login-option {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--ft-line);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  background: rgba(0, 0, 0, 0.22);
  transition: border-color 0.2s ease, background 0.2s ease;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.ft-login-option:hover {
  border-color: rgba(42, 212, 204, 0.55);
  background: rgba(42, 212, 204, 0.08);
  text-decoration: none;
  color: inherit;
}
.ft-login-option strong {
  display: block;
  color: #fff;
  font-size: 1.02rem;
  margin-bottom: 3px;
}
.ft-login-option span {
  font-size: 0.85rem;
  color: var(--ft-muted);
}

/* —— Full-bleed hero —— */
.ft-hero-bleed {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  overflow: hidden;
  color: #fff;
}
.ft-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ft-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.06);
  animation: ft-ken 22s ease-in-out infinite alternate;
}
@keyframes ft-ken {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}
.ft-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4, 17, 18, 0.35) 0%, rgba(4, 17, 18, 0.2) 35%, rgba(4, 17, 18, 0.88) 78%, #041112 100%),
    linear-gradient(90deg, rgba(4, 17, 18, 0.55) 0%, transparent 55%);
}
.ft-hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--ft-max), calc(100% - 32px));
  margin: 0 auto;
  padding: 120px 0 64px;
}
.ft-hero-brand {
  margin: 0 0 18px;
  font-family: var(--ft-display);
  font-size: clamp(3.2rem, 9vw, 6.4rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #fff;
  animation: ft-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.ft-hero-brand em {
  font-style: normal;
  color: #e31b23;
}
.ft-hero-line {
  margin: 0 0 14px;
  max-width: 18ch;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 500;
  line-height: 1.25;
  color: rgba(238, 247, 246, 0.95);
  animation: ft-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}
.ft-hero-support {
  margin: 0 0 28px;
  max-width: 36ch;
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(238, 247, 246, 0.72);
  animation: ft-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}
.ft-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: ft-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}
.ft-hero-parent {
  margin-top: 28px;
  font-size: 0.84rem;
  color: rgba(238, 247, 246, 0.55);
  animation: ft-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}
.ft-hero-parent a { color: var(--ft-sand); }

.ft-since-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 0;
  padding: 8px 12px 8px 8px;
  border-radius: 8px;
  border: 1px solid rgba(227, 27, 35, 0.35);
  background: #ffffff;
  max-width: min(100%, 420px);
  text-decoration: none !important;
  color: #111;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
a.ft-since-mark:hover {
  border-color: #e31b23;
  box-shadow: 0 0 0 2px rgba(227, 27, 35, 0.15);
}
.ft-since-mark img {
  height: 48px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}
.ft-since-mark span,
.ft-since-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
  color: #111111;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.ft-since-label i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: #e31b23;
  flex-shrink: 0;
}
.ft-since-mark--foot {
  margin: 0 0 14px;
  background: #ffffff;
}
.ft-offer-note {
  margin: 0 0 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ft-teal);
  letter-spacing: 0.01em;
}

@keyframes ft-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* —— Sections —— */
.ft-wrap {
  width: min(var(--ft-max), calc(100% - 32px));
  margin: 0 auto;
}
.ft-section {
  padding: clamp(64px, 10vw, 108px) 0;
}
.ft-section-head {
  max-width: 34rem;
  margin-bottom: clamp(28px, 5vw, 44px);
}
.ft-kicker {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ft-teal);
}
.ft-section h2 {
  margin: 0 0 12px;
  font-family: var(--ft-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
}
.ft-section .sub {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ft-muted);
}

.ft-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.ft-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* —— Course rows (editorial, not card grid) —— */
.ft-track {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: end;
  padding: clamp(28px, 4vw, 40px) 0;
  border-top: 1px solid var(--ft-line);
}
.ft-track:last-child { border-bottom: 1px solid var(--ft-line); }
@media (max-width: 820px) {
  .ft-track { grid-template-columns: 1fr; gap: 18px; }
}
.ft-track-visual {
  position: relative;
  min-height: 240px;
  border-radius: 2px;
  overflow: hidden;
  background: #0a2224;
}
.ft-track-visual img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.ft-track:hover .ft-track-visual img { transform: scale(1.04); }
.ft-track-body h3 {
  margin: 0 0 8px;
  font-family: var(--ft-display);
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  font-weight: 600;
  color: #fff;
}
.ft-track-body p {
  margin: 0 0 16px;
  color: var(--ft-muted);
  line-height: 1.5;
  max-width: 38ch;
}
.ft-duration {
  margin: -6px 0 14px !important;
  font-size: 0.9rem !important;
  font-weight: 600;
  color: var(--ft-sand) !important;
  max-width: none !important;
}
.ft-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  margin-bottom: 8px;
}
.ft-price-now {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--ft-teal);
  letter-spacing: -0.02em;
}
.ft-price-was {
  font-size: 1rem;
  color: var(--ft-muted);
  text-decoration: line-through;
}
.ft-price-off {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ft-sand);
}
.ft-track-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* —— Syllabus accordion —— */
.ft-acc {
  border-top: 1px solid var(--ft-line);
}
.ft-acc-item { border-bottom: 1px solid var(--ft-line); }
.ft-acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  text-align: left;
  font-family: var(--ft-display);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 600;
  flex-wrap: wrap;
}
.ft-acc-meta {
  flex: 1 1 auto;
  font-family: var(--ft-font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ft-sand);
  letter-spacing: 0.02em;
}
.ft-acc-btn > span:last-child {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(238, 247, 246, 0.3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--ft-font);
  font-size: 1.1rem;
  color: var(--ft-teal);
  transition: transform 0.25s ease, border-color 0.25s ease;
  margin-left: auto;
}
.ft-acc-item.is-open .ft-acc-btn > span:last-child {
  transform: rotate(45deg);
  border-color: var(--ft-teal);
}
.ft-acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.ft-acc-item.is-open .ft-acc-panel { grid-template-rows: 1fr; }
.ft-acc-panel-inner {
  overflow: hidden;
}
.ft-acc-panel-inner > div {
  padding: 0 0 28px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}
@media (max-width: 720px) {
  .ft-acc-panel-inner > div { grid-template-columns: 1fr; }
}
.ft-syllabus {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: syl;
}
.ft-syllabus li {
  counter-increment: syl;
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid rgba(238, 247, 246, 0.08);
  color: rgba(238, 247, 246, 0.86);
  font-size: 0.95rem;
  line-height: 1.45;
}
.ft-syllabus li::before {
  content: counter(syl, decimal-leading-zero);
  color: var(--ft-teal);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.ft-acc-aside {
  color: var(--ft-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.ft-acc-aside strong { color: #fff; display: block; margin-bottom: 8px; }

/* —— Webinar —— */
.ft-webinar {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  min-height: 360px;
  display: grid;
  align-items: end;
}
.ft-webinar-bg {
  position: absolute;
  inset: 0;
}
.ft-webinar-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ft-webinar-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(4, 17, 18, 0.92) 0%, rgba(4, 17, 18, 0.55) 55%, rgba(4, 17, 18, 0.35) 100%);
}
.ft-webinar-copy {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 5vw, 48px);
  max-width: 34rem;
}
.ft-webinar-copy h2 {
  margin: 0 0 12px;
  font-family: var(--ft-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: #fff;
}
.ft-webinar-copy p {
  margin: 0 0 10px;
  color: rgba(238, 247, 246, 0.78);
  line-height: 1.5;
}
.ft-webinar-dates {
  margin: 0 0 22px !important;
  color: var(--ft-sand) !important;
  font-weight: 600;
}

/* —— Soft account strip —— */
.ft-account-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding: 22px 0;
  border-top: 1px solid var(--ft-line);
  border-bottom: 1px solid var(--ft-line);
  font-size: 0.95rem;
}
.ft-account-strip a {
  color: rgba(238, 247, 246, 0.8);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.ft-account-strip a:hover {
  color: var(--ft-teal);
  border-bottom-color: var(--ft-teal);
}

.ft-footer {
  width: min(var(--ft-max), calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 72px;
  color: var(--ft-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* —— Learner / register shell —— */
.ft-app {
  max-width: 640px;
  margin: 0 auto;
  padding: 100px 20px 64px;
}
.ft-app-intro {
  margin-bottom: 22px;
}
.ft-app-title {
  margin: 0 0 8px;
  font-family: var(--ft-display);
  font-size: clamp(1.85rem, 4vw, 2.15rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
}
.ft-panel {
  background: rgba(10, 34, 36, 0.72);
  border: 1px solid var(--ft-line);
  border-radius: 4px;
  padding: 24px 22px;
  margin-bottom: 18px;
}
.ft-panel > h2 {
  margin: 0 0 10px;
  font-family: var(--ft-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
}
.ft-panel-copy {
  margin: 0 0 18px;
  color: var(--ft-muted);
  line-height: 1.55;
  font-size: 0.95rem;
  max-width: 42ch;
}
.ft-panel-copy:last-child { margin-bottom: 0; }
.ft-meta {
  font-size: 0.9rem;
  color: var(--ft-muted);
  margin: 0;
  line-height: 1.5;
}
.ft-meta strong { color: #d7f0ee; }
.ft-eyebrow, .ft-kicker { /* alias used by older pages */ }

/* —— Learning-home catalog (match public Teach price block) —— */
.ft-panel-catalog { padding-bottom: 12px; }
.ft-app-catalog {
  display: flex;
  flex-direction: column;
}
.ft-app-course {
  padding: 26px 0;
  border-top: 1px solid var(--ft-line);
}
.ft-app-course:first-of-type {
  border-top: none;
  padding-top: 4px;
}
.ft-app-course:last-child { padding-bottom: 6px; }
.ft-app-course h3 {
  margin: 0 0 8px;
  font-family: var(--ft-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}
.ft-app-course-tagline {
  margin: 0 0 14px;
  color: var(--ft-muted);
  line-height: 1.5;
  font-size: 0.95rem;
  max-width: 40ch;
}
.ft-app-course .ft-price-row {
  margin-bottom: 6px;
}
.ft-app-course .ft-price-now {
  font-size: 1.85rem;
}
.ft-app-course .ft-offer-note {
  margin: 0 0 16px;
  color: var(--ft-muted);
  font-weight: 500;
}
.ft-app-course-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.ft-enrolled-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid rgba(42, 212, 204, 0.35);
  color: var(--ft-teal);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* —— Modal —— */
.ft-modal[hidden] { display: none !important; }
.ft-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 10, 11, 0.78);
  backdrop-filter: blur(8px);
}
.ft-modal-card {
  position: relative;
  width: min(440px, 100%);
  background: #0a2224;
  border: 1px solid var(--ft-line);
  border-radius: 4px;
  padding: 28px 24px 24px;
  animation: ft-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.ft-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: none;
  background: transparent;
  color: var(--ft-muted);
  font-size: 1.7rem;
  cursor: pointer;
  line-height: 1;
}
.ft-modal-close:hover { color: #fff; }
.ft-cta-row { display: flex; flex-wrap: wrap; gap: 10px; }

@media (prefers-reduced-motion: reduce) {
  .ft-hero-media img { animation: none; transform: none; }
  .ft-reveal { opacity: 1; transform: none; transition: none; }
  .ft-hero-brand, .ft-hero-line, .ft-hero-support, .ft-hero-cta, .ft-hero-parent { animation: none; }
  .ft-btn-teal:hover,
  .ft-btn-ghost:hover { transform: none; }
  .ft-track:hover .ft-track-visual img { transform: none; }
  .ft-modal-card { animation: none; }
  .ft-acc-panel { transition: none; }
}

/* Sticky enroll CTA (phone syllabus) */
.ft-sticky-enroll {
  display: none;
}

/* —— Course detail page —— */
.ft-course-page { padding-top: 72px; }
.ft-course-hero {
  padding: clamp(40px, 8vw, 72px) 0 24px;
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(42, 212, 204, 0.16), transparent 55%),
    var(--ft-bg);
}
.ft-course-hero h1 {
  margin: 0 0 14px;
  font-family: var(--ft-display);
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.08;
  color: #fff;
  max-width: 18ch;
}
.ft-course-tagline {
  margin: 0 0 20px;
  max-width: 46ch;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--ft-muted);
}
.ft-course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 18px;
  font-size: 0.92rem;
  color: rgba(238, 247, 246, 0.85);
}
.ft-course-meta strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ft-teal);
  margin-bottom: 2px;
}
.ft-course-meta em {
  font-style: normal;
  color: var(--ft-muted);
  text-decoration: line-through;
  margin-left: 4px;
}
.ft-course-detail,
.ft-course-audience {
  margin: 0 0 10px;
  max-width: 52ch;
  color: var(--ft-muted);
  line-height: 1.55;
  font-size: 0.98rem;
}
.ft-course-audience strong { color: #fff; }

.ft-access-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.ft-access-list li {
  padding: 14px 16px;
  border: 1px solid var(--ft-line);
  border-left: 3px solid var(--ft-teal);
  color: rgba(238, 247, 246, 0.9);
  font-size: 0.98rem;
  line-height: 1.45;
}
.ft-access-list strong { color: #fff; }

.ft-modules { display: grid; gap: 18px; }
.ft-module {
  padding: 20px 0;
  border-top: 1px solid var(--ft-line);
}
.ft-module:last-child { border-bottom: 1px solid var(--ft-line); }
.ft-module header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 12px;
}
.ft-module-num {
  font-weight: 700;
  color: var(--ft-teal);
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
}
.ft-module h3 {
  margin: 0;
  font-family: var(--ft-display);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 600;
  color: #fff;
}
.ft-module-topics {
  margin: 0;
  padding: 0 0 0 1.2rem;
  color: rgba(238, 247, 246, 0.82);
  font-size: 0.95rem;
  line-height: 1.5;
}
.ft-module-topics li { margin-bottom: 6px; }

/* —— Graphical syllabus hub (tutorial-style) —— */
.ft-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 16px 0 0;
}
.ft-hero-meta div {
  padding: 10px 14px;
  border: 1px solid var(--ft-line);
  border-radius: 8px;
  background: rgba(8, 40, 42, 0.55);
  color: var(--ft-muted);
  font-size: 0.88rem;
}
.ft-hero-meta strong {
  display: block;
  color: #fff;
  font-size: 1.35rem;
  font-family: var(--ft-display);
  line-height: 1.1;
  margin-bottom: 2px;
}
.ft-flow-panel {
  margin: 0 0 36px;
  padding: 22px 20px 12px;
  border: 1px solid rgba(42, 212, 204, 0.28);
  border-radius: 10px;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(42, 212, 204, 0.12), transparent 55%),
    rgba(8, 28, 30, 0.72);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}
.ft-flow-panel h3 {
  margin: 0 0 6px;
  font-family: var(--ft-display);
  font-size: 1.25rem;
  color: #fff;
}
.ft-flow-note {
  margin: 0 0 14px;
  color: var(--ft-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 52ch;
}
.ft-flow-figure {
  margin: 0;
  padding: 10px 4px 14px;
  display: flex;
  justify-content: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(180deg, rgba(42, 212, 204, 0.06), transparent 60%);
  border-radius: 8px;
}
.ft-flow-img {
  display: block;
  width: min(100%, 560px);
  height: auto;
  margin: 0 auto;
}
.ft-flow-panel .mermaid {
  display: flex;
  justify-content: center;
  overflow-x: auto;
  padding: 8px 0 12px;
  background: linear-gradient(180deg, rgba(42, 212, 204, 0.06), transparent 60%);
  border-radius: 8px;
}
.ft-flow-panel .mermaid svg {
  max-width: 100%;
  height: auto;
}
.ft-hub-title {
  margin: 0 0 6px;
  font-family: var(--ft-display);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  color: #fff;
}
.ft-hub-sub {
  margin: 0 0 22px;
  color: var(--ft-muted);
  font-size: 0.98rem;
}
.ft-phase-label {
  margin: 22px 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ft-teal);
}
.ft-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-bottom: 8px;
}
.ft-hub-card {
  border: 1px solid var(--ft-line);
  border-radius: 12px;
  background: rgba(8, 28, 30, 0.72);
  overflow: hidden;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}
.ft-hub-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--ft-teal);
}
.ft-hub-card:hover,
.ft-hub-card[open] {
  border-color: rgba(42, 212, 204, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}
.ft-hub-card summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 18px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 44px;
}
.ft-hub-card summary::-webkit-details-marker { display: none; }
.ft-mod-num {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  color: var(--ft-teal);
  letter-spacing: 0.04em;
}
.ft-hub-card summary h3 {
  margin: 0;
  font-family: var(--ft-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
}
.ft-hub-card summary p {
  margin: 0;
  color: var(--ft-muted);
  font-size: 0.9rem;
  line-height: 1.45;
  flex: 1;
}
.ft-mod-count {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(238, 247, 246, 0.45);
}
.ft-hub-card-body {
  padding: 0 18px 18px 22px;
  border-top: 1px solid rgba(238, 247, 246, 0.08);
}
.ft-hub-full-title {
  margin: 12px 0 10px;
  font-size: 0.88rem;
  color: var(--ft-sand);
  line-height: 1.4;
}
@media (max-width: 640px) {
  .ft-hub-grid { grid-template-columns: 1fr; }
  .ft-flow-panel { padding: 16px 12px 8px; }
}

.ft-enroll-band {
  padding: clamp(28px, 5vw, 40px);
  border: 1px solid rgba(42, 212, 204, 0.28);
  background: linear-gradient(145deg, rgba(8, 40, 42, 0.9), rgba(14, 92, 88, 0.35));
  border-radius: 4px;
}
.ft-enroll-band h2 {
  margin: 0 0 12px;
  font-family: var(--ft-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: #fff;
}
.ft-enroll-band p {
  margin: 0 0 20px;
  color: var(--ft-muted);
  line-height: 1.55;
  max-width: 52ch;
}
.ft-enroll-band strong { color: var(--ft-teal); }

.ft-foot {
  padding: 32px 0 48px;
  border-top: 1px solid var(--ft-line);
  color: var(--ft-muted);
  font-size: 0.88rem;
}
.ft-foot p { margin: 0 0 6px; }
.ft-foot a { color: var(--ft-sand); }

/* —— Compact mobile (Teach + subpages) —— */
@media (max-width: 991px) {
  .ft-nav-toggle { display: inline-flex; }
  .ft-brand-cluster { flex: 1 1 auto; min-width: 0; }
  .ft-brand { flex: 1 1 auto; min-width: 0; }
  .ft-nav {
    display: none;
    width: 100%;
    flex: 1 1 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 12px;
    border-top: 1px solid var(--ft-line);
    font-size: 14px;
  }
  .ft-top.is-nav-open {
    background: rgba(4, 17, 18, 0.96);
    border-bottom-color: var(--ft-line);
    backdrop-filter: blur(14px);
  }
  .ft-top.is-nav-open .ft-nav { display: flex; }
  .ft-nav a,
  .ft-nav .ft-link-btn,
  .ft-nav .ft-btn {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 4px;
    width: 100%;
    justify-content: flex-start;
    border-bottom: 1px solid rgba(238, 247, 246, 0.08);
    border-radius: 0;
    font-size: 14px;
  }
  .ft-nav .ft-btn {
    justify-content: center;
    margin-top: 8px;
    border-bottom: none;
    border-radius: 4px;
  }
  body.ft-nav-lock { overflow: hidden; }
}

@media (max-width: 640px) {
  .ft-top {
    padding: 10px 14px;
    padding-top: calc(10px + env(safe-area-inset-top, 0px));
  }
  .ft-brand { font-size: 1.1rem; }
  .ft-hero-bleed {
    min-height: auto;
  }
  .ft-hero-inner {
    padding: calc(88px + env(safe-area-inset-top, 0px)) 16px 36px;
  }
  .ft-hero-brand {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }
  .ft-hero-line {
    max-width: none;
    font-size: 1.15rem;
  }
  .ft-hero-support {
    max-width: none;
    font-size: 0.95rem;
  }
  .ft-hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .ft-hero-cta .ft-btn {
    width: 100%;
    min-height: 48px;
  }
  .ft-since-mark {
    max-width: 100%;
    flex-wrap: wrap;
  }
  .ft-since-mark img {
    height: 32px;
    max-width: 120px;
  }
  .ft-section {
    padding: 48px 0;
  }
  .ft-wrap {
    width: calc(100% - 28px);
  }
  .ft-track-visual,
  .ft-track-visual img {
    min-height: 160px;
  }
  .ft-price-now { font-size: 1.45rem; }
  .ft-track-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .ft-track-actions .ft-btn {
    width: 100%;
    min-height: 46px;
    justify-content: center;
  }
  .ft-acc-btn {
    font-size: 0.95rem;
    padding: 14px 0;
    gap: 8px;
  }
  .ft-acc-meta {
    display: block;
    width: 100%;
    order: 3;
    font-size: 0.8rem;
  }
  .ft-webinar-copy {
    padding: 28px 18px;
  }
  .ft-webinar-copy .ft-btn {
    width: 100%;
    min-height: 48px;
  }
  .ft-modal-card {
    width: calc(100% - 24px);
    max-width: none;
    margin: 12px;
    max-height: calc(100vh - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    padding: 24px 18px 20px;
  }
  .ft-login-option {
    min-height: 52px;
  }
  .ft-course-page { padding-top: 64px; }
  .ft-course-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .ft-enroll-band {
    padding: 22px 16px;
  }
  .ft-enroll-band .ft-track-actions .ft-btn,
  .ft-course-hero .ft-track-actions .ft-btn {
    width: 100%;
  }
  .ft-pay-page {
    padding: 80px 0 48px !important;
  }
  .ft-pay-card {
    max-width: none !important;
    margin: 0 2px !important;
  }
  .ft-pay-actions {
    flex-direction: column;
  }
  .ft-pay-actions .ft-btn {
    width: 100%;
    min-height: 48px;
  }
  .ft-app {
    padding-left: 14px;
    padding-right: 14px;
  }
  .ft-sticky-enroll {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(4, 17, 18, 0.94);
    border-top: 1px solid rgba(42, 212, 204, 0.28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .ft-sticky-enroll .ft-btn {
    flex: 1 1 auto;
    min-height: 46px;
    justify-content: center;
  }
  .ft-course-page {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
  body.ft-has-sticky-enroll .chat-widget {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}
