:root {
  --li-blue: #0a66c2;
  --li-blue-hover: #004182;
  --li-blue-soft: #e8f1fa;
  --bg: #ffffff;
  --bg-warm: #f3f2ef;
  --bg-soft: #f4f2ee;
  --surface: #ffffff;
  --border: #e0dfdc;
  --border-strong: #cfcbc3;
  --text: #191919;
  --muted: #666666;
  --muted-2: #8c8c8c;
  --live: #b74700;
  --teal: #057642;
  --danger: #cc1016;
  --shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 0 0 1px rgba(0, 0, 0, 0.06);
  /* radius scale: md · lg · pill (≤6) */
  --radius: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;
  /* type scale (≤10): xs · sm · md · base · lg · xl · 2xl · 3xl · display */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.875rem;
  --fs-md: 0.9375rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.75rem;
  --fs-display: clamp(1.75rem, 3.5vw, 2.35rem);
  --font: "Outfit", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --container: 1200px;
  --header-h: 56px;

  /* aliases used across templates */
  --purple: var(--li-blue);
  --purple-2: var(--li-blue-hover);
  --purple-soft: var(--li-blue-soft);
  --accent: var(--li-blue);
  --accent-text: #fff;
  --cyan: var(--li-blue);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-warm);
  line-height: 1.5;
  font-size: var(--fs-base);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--li-blue);
  color: #fff;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.bg-atmosphere {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(10, 102, 194, 0.09) 1px, transparent 1.2px);
  background-size: 22px 22px;
}

#main,
.site-footer {
  position: relative;
  z-index: 1;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(100% - 2rem, 720px);
}

/* LinkedIn-style top nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.site-header .brand-text,
.site-header .brand-text em {
  color: var(--text);
}

.site-header .nav-link {
  color: #3d4754;
}

.site-header .nav-link:hover,
.site-header .nav-link.is-active {
  color: var(--li-blue);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: var(--radius);
  background:
    linear-gradient(#0a66c2 0 58%, #004182 58% 100%);
  position: relative;
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 8px;
  height: 8px;
  background: #fbbc04;
}

.brand-mark::before {
  content: "P";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 800;
}

.brand-text {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: baseline;
  gap: 0.28rem;
  white-space: nowrap;
}

.brand-text strong {
  color: #ff7a18;
  font-weight: 700;
}

.brand-text em {
  font-style: normal;
  font-weight: 700;
  color: var(--text);
  font-size: inherit;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1rem;
}

.nav-link {
  color: var(--muted);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
}

.header-search,
.search-bar {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search {
  margin-left: 0.35rem;
}

.search-bar {
  margin-top: 1rem;
  max-width: 36rem;
}

.header-search input,
.search-bar input {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--text);
  font: inherit;
  outline: none;
}

.header-search input {
  width: 17rem;
  height: 34px;
  padding: 0 2.3rem 0 0.85rem;
  font-size: var(--fs-sm);
}

.site-header .header-search input {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(15, 23, 42, 0.12);
  color: var(--text);
}

.site-header .header-search input::placeholder {
  color: var(--muted);
}

.site-header .search-icon {
  color: var(--muted);
}

.site-header .nav-toggle {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(15, 23, 42, 0.12);
}

.site-header .nav-toggle span {
  background: var(--text);
}

.search-bar input {
  height: 44px;
  padding: 0 2.6rem 0 1rem;
}

.header-search input:focus,
.search-bar input:focus {
  border-color: var(--li-blue);
  box-shadow: 0 0 0 2px rgba(10, 102, 194, 0.2);
}

.search-icon {
  position: absolute;
  right: 0.2rem;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.search-icon:hover,
.search-icon:focus-visible {
  color: var(--li-blue);
}

.search-block + .search-block {
  margin-top: 2rem;
}

@media (max-width: 640px) {
  .search-bar {
    max-width: none;
  }
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: #fff;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--text);
}

.nav-toggle span:first-of-type {
  top: 15px;
}

.nav-toggle span:last-of-type {
  top: 23px;
}

.nav-toggle[aria-expanded="true"] span:first-of-type {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-of-type {
  transform: translateY(-4px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: var(--fs-md);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: var(--fs-sm);
}

.btn-primary {
  background: var(--li-blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--li-blue-hover);
}

.btn-ghost {
  background: transparent;
  border-color: var(--li-blue);
  color: var(--li-blue);
}

.btn-ghost:hover {
  background: var(--li-blue-soft);
  border-color: var(--li-blue-hover);
  color: var(--li-blue-hover);
}

.glass,
.content-card,
.form-panel,
.detail-panel,
.side-panel,
.mode-card,
.post-card,
.faq-item,
.stat-strip,
.silo-card,
.feature-panel,
.rm-card,
.li-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: none;
}

/* Hero — graphic poster field */
.hero {
  position: relative;
  overflow: hidden;
  padding: 2.75rem 0 2.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.86) 100%),
    repeating-linear-gradient(-32deg, rgba(10, 102, 194, 0.05) 0 10px, transparent 10px 22px),
    #f4f7fb;
  border-bottom: 1px solid var(--border);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  right: -6vw;
  top: -18%;
  border-radius: var(--radius-pill);
  background: rgba(10, 102, 194, 0.08);
  border: 18px solid rgba(10, 102, 194, 0.1);
}

.hero::after {
  width: min(22vw, 220px);
  height: min(22vw, 220px);
  left: 6%;
  bottom: -18%;
  background: repeating-linear-gradient(45deg, rgba(10, 102, 194, 0.12) 0 8px, transparent 8px 16px);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}

.hero-content {
  max-width: none;
  margin: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-kicker {
  margin: 0 0 0.75rem;
  color: var(--li-blue);
  font-weight: 700;
  font-size: var(--fs-md);
}

.hero-eyebrow {
  display: none;
}

.hero-brand {
  font-weight: 600;
  font-size: var(--fs-display);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0 0 0.9rem;
  color: var(--text);
}

.hero-brand span {
  color: var(--li-blue);
  font-weight: 600;
}

.hero-copy {
  font-size: var(--fs-lg);
  color: var(--muted);
  max-width: 34rem;
  margin: 0 0 1.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-start;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 1.35rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  color: var(--muted);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.hero-points li {
  position: relative;
  padding-left: 1rem;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 7px;
  height: 7px;
  border-radius: var(--radius-pill);
  background: var(--li-blue);
}

.hero-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--li-blue) 0 18px, #34a853 18px 30px, #fbbc04 30px 42px, #ea4335 42px 54px, var(--li-blue) 54px 72px);
}

.hero-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0.35rem 0.65rem;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 700;
}

.hero-panel-head a {
  color: var(--li-blue);
}

.hero-panel-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hero-panel-item:hover {
  border-color: #b9d3ec;
  box-shadow: var(--shadow-sm);
}

.hero-panel-index {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: var(--li-blue-soft);
  color: var(--li-blue);
  display: grid;
  place-items: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  flex: 0 0 auto;
}

.hero-panel-copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.hero-panel-copy strong {
  font-size: var(--fs-md);
  line-height: 1.35;
  color: var(--text);
}

.hero-panel-copy small {
  color: var(--muted-2);
  font-size: var(--fs-xs);
}

.text-link {
  color: var(--li-blue);
  font-weight: 700;
  font-size: var(--fs-md);
  white-space: nowrap;
}

.text-link:hover {
  text-decoration: underline;
}

.section {
  padding: 2.75rem 0;
}

.section-tight {
  padding: 1.25rem 0 0.5rem;
}

.section-white {
  background: #fff;
  border-block: 1px solid var(--border);
}

.guides-section {
  background: #fff;
  border-block: 1px solid #e6eef6;
}

.guides-section .section-head h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
}

.guides-section .section-head p {
  color: #5c6b7a;
}

.guides-section .section-head > .text-link {
  margin-top: 0.15rem;
  padding: 0.42rem 0.9rem;
  background: #fff;
  border: 1px solid #9ec5e8;
  border-radius: var(--radius-pill);
  color: var(--li-blue);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.guides-section .section-head > .text-link:hover {
  background: var(--li-blue);
  border-color: var(--li-blue);
  color: #fff;
  text-decoration: none;
}

.guides-rotator {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d7e4f2;
  border-radius: 16px;
}

.guides-rotator.is-ready .guides-stage {
  display: grid;
}

.guides-rotator.is-ready .guides-slide,
.guides-rotator.is-ready .guides-stage-nav {
  grid-area: 1 / 1;
}

.guides-rotator.is-ready .guides-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 5.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.guides-rotator.is-ready .guides-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.guides-rotator.is-ready .guides-stage-nav {
  z-index: 1;
  align-self: start;
  justify-self: end;
  margin: 0.35rem 0.35rem 0 0;
}

.guides-stage {
  min-height: 100%;
  padding: 1.6rem 1.45rem 1.45rem;
  background: #f4f8fc;
  border-right: 1px solid #d7e4f2;
}

.guides-slide-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  color: #5c6b7a;
  font-size: var(--fs-xs);
  font-weight: 700;
}

.guides-kicker {
  padding: 0.18rem 0.6rem;
  background: #fff;
  border: 1px solid #d7e4f2;
  border-radius: var(--radius-pill);
  color: var(--li-blue);
}

.guides-kicker:hover {
  background: var(--li-blue);
  border-color: var(--li-blue);
  color: #fff;
}

.guides-slide h3 {
  max-width: 22rem;
  margin: 0.85rem 0 0.5rem;
  color: var(--text);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.guides-slide h3 a:hover {
  color: var(--li-blue);
}

.guides-slide p {
  max-width: 26rem;
  margin: 0;
  color: #5c6770;
  font-size: var(--fs-md);
  line-height: 1.6;
}

.guides-slide > .text-link {
  display: inline-flex;
  margin-top: 1.15rem;
  color: var(--li-blue);
  font-weight: 600;
  text-decoration: none;
}

.guides-slide > .text-link:hover {
  color: var(--li-blue-hover);
  text-decoration: underline;
}

.guides-stage-nav {
  display: flex;
  gap: 0.35rem;
}

.guides-stage-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #d7e4f2;
  border-radius: 50%;
  background: #fff;
  color: var(--li-blue);
  cursor: pointer;
}

.guides-stage-nav button:hover {
  background: var(--li-blue);
  border-color: var(--li-blue);
  color: #fff;
}

.guides-index {
  counter-reset: guide;
  display: flex;
  flex-direction: column;
  margin: 0;
  min-width: 0;
}

.guides-index a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.72rem 1rem;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #e6eef6;
  border-radius: 0;
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.35;
  box-shadow: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.guides-index a:last-child {
  border-bottom: 0;
}

.guides-index a::before {
  counter-increment: guide;
  content: counter(guide, decimal-leading-zero);
  flex: 0 0 auto;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #8aa0b8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.guides-index a span {
  min-width: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.guides-index a:hover,
.guides-index a.is-current:hover {
  background: #f7fafc;
  color: var(--text);
  transform: none;
  box-shadow: none;
}

.guides-index a.is-current {
  background: var(--li-blue-soft);
  color: var(--li-blue);
  box-shadow: inset 3px 0 0 var(--li-blue);
}

.guides-index a.is-current::before {
  background: none;
  color: var(--li-blue);
  box-shadow: none;
}

.blog-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.blog-pager a,
.blog-pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.35rem 0.85rem;
  border: 1px solid #9ec5e8;
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--li-blue);
  font-size: var(--fs-sm);
  font-weight: 700;
}

.blog-pager a:hover {
  background: var(--li-blue);
  border-color: var(--li-blue);
  color: #fff;
  text-decoration: none;
}

.blog-pager .is-disabled {
  border-color: var(--border);
  color: var(--muted-2);
}

@media (max-width: 960px) {
  .guides-rotator {
    grid-template-columns: 1fr;
  }

  .guides-stage {
    border-right: 0;
    border-bottom: 1px solid #d7e4f2;
  }

  .guides-slide h3,
  .guides-slide p {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .guides-rotator.is-ready .guides-slide {
    padding-right: 0;
    padding-bottom: 3rem;
  }

  .guides-rotator.is-ready .guides-stage-nav {
    align-self: end;
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .guides-rotator.is-ready .guides-slide,
  .guides-index a,
  .guides-slide > .text-link,
  .guides-stage-nav button,
  .guides-section .section-head > .text-link {
    transition: none;
  }

  .guides-index a:hover,
  .guides-index a.is-current:hover,
  .guides-slide > .text-link:hover,
  .guides-slide > .text-link:active,
  .guides-stage-nav button:hover,
  .guides-section .section-head > .text-link:hover {
    transform: none;
  }
}

#placement {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.place-section {
  position: relative;
  padding: 1.6rem 0 1.35rem;
  background: #f7f9fb;
  border-block: 1px solid var(--border);
  overflow: hidden;
}

.place-section > .container {
  position: relative;
  z-index: 1;
}

.place-parallax {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.place-orb {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.place-orb-a {
  width: 320px;
  height: 320px;
  left: -90px;
  top: 8%;
  background: radial-gradient(circle, rgba(10, 102, 194, 0.2), rgba(10, 102, 194, 0) 68%);
}

.place-orb-b {
  width: 380px;
  height: 380px;
  right: -120px;
  top: 36%;
  background: radial-gradient(circle, rgba(77, 148, 219, 0.24), rgba(77, 148, 219, 0) 70%);
}

.place-orb-c {
  width: 200px;
  height: 200px;
  left: 22%;
  bottom: 6%;
  background: radial-gradient(circle, rgba(232, 163, 23, 0.18), rgba(232, 163, 23, 0) 70%);
}

.place-head {
  max-width: 640px;
  margin: 0 auto 1.15rem;
  text-align: center;
}

.place-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 0.85rem;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--li-blue-soft);
  color: var(--li-blue-hover);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.place-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--li-blue);
  box-shadow: 0 0 0 4px rgba(10, 102, 194, 0.16);
}

.place-head h2 {
  margin: 0 0 0.55rem;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.place-head p {
  margin: 0 auto;
  max-width: 38rem;
  color: var(--muted);
  line-height: 1.55;
}

.place-stage {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.place-path {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.place-path-track,
.place-path-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.place-path-track {
  stroke: var(--li-blue);
  stroke-width: 10;
  opacity: 0.16;
}

.place-path-line {
  stroke: #e8a317;
  stroke-width: 6;
}

.place-pips {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0.9rem auto 0;
}

.place-pips span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d7e4f2;
}

.place-pips span.is-done {
  background: #4d94db;
}

.place-pips span.is-on {
  background: var(--li-blue);
  box-shadow: 0 0 0 4px rgba(10, 102, 194, 0.16);
}

.place-path-dot {
  position: absolute;
  z-index: 3;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border: 3px solid #e8a317;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(180, 120, 0, 0.35);
  opacity: 0;
  pointer-events: none;
}

.place-stage.is-live .place-path-dot {
  opacity: 1;
}

.place-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 35px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.place-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.95rem 1.1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 28px 50px -40px rgba(16, 50, 90, 0.55), inset 0 1px 0 #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.place-step:hover {
  z-index: 2;
  transform: translateY(-6px);
  box-shadow:
    inset 0 1px 0 #fff,
    0 6px 0 rgba(10, 102, 194, 0.12),
    0 18px 24px -12px rgba(16, 50, 90, 0.4);
}

.place-step.is-on {
  border-color: #9ec5e8;
}

.place-step.is-on .place-node::after {
  opacity: 0.7;
  animation: place-ring 1.8s ease-out infinite;
}

.place-step.is-on .place-art {
  background: radial-gradient(120% 100% at 50% 0%, #d6e8f8, #fff 70%);
}

.place-art svg {
  transition: transform 0.25s ease;
}

.place-step.is-on .place-art svg {
  transform: translateY(-2px);
}

@keyframes place-ring {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }

  70%,
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .place-step {
    transition: none;
  }

  .place-step:hover {
    transform: none;
  }

  .place-step.is-on .place-node::after,
  .place-art svg {
    animation: none;
    transition: none;
  }

  .place-path-dot {
    display: none;
  }

  .place-orb {
    transform: none;
  }
}

.place-mile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.place-step:nth-child(even) {
  margin-left: auto;
  flex-direction: row-reverse;
}

.place-step:nth-child(even) .place-mile {
  flex-direction: row-reverse;
  text-align: right;
}

.place-node {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(160deg, #4d94db, var(--li-blue) 60%, var(--li-blue-hover));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 14px 26px -12px rgba(0, 65, 130, 0.75);
}

.place-node::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1.5px solid var(--li-blue);
  border-radius: 50%;
  opacity: 0.32;
}

.place-copy {
  min-width: 0;
}

.place-step-kicker {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--li-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.place-step h3 {
  margin: 0 0 0.25rem;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.place-step p {
  margin: 0;
  max-width: 40ch;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.place-step:nth-child(even) p {
  margin-left: auto;
}

.place-art {
  flex: 0 0 auto;
  width: 152px;
  padding: 0.35rem 0.45rem;
  border-radius: 14px;
  background: radial-gradient(120% 100% at 50% 0%, var(--li-blue-soft), #fff 74%);
  box-shadow: inset 0 1px 0 #fff, 0 18px 30px -28px rgba(16, 50, 90, 0.55);
}

.place-art svg {
  display: block;
  width: auto;
  max-width: 100%;
  height: 76px;
  margin-inline: auto;
}

.pa-sheet,
.pa-chip {
  fill: #fff;
  stroke: #e4ebf2;
  stroke-width: 1.2;
}

.pa-bar,
.pa-track {
  fill: #d7e6f5;
}

.pa-bar.pa-strong,
.pa-fill,
.pa-dot.is-on,
.pa-check {
  fill: var(--li-blue);
}

.pa-dot {
  fill: #fff;
  stroke: var(--li-blue);
  stroke-width: 2;
}

.pa-tick,
.pa-check-mark {
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.place-more {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 860px;
  margin: 1.15rem auto 0;
  text-align: center;
}

.place-more p {
  margin: 0;
  font-size: var(--fs-lg);
  font-weight: 600;
}

.section-alt {
  background: #fff;
  border-block: 1px solid var(--border);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-head > .text-link {
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.section-head.compact {
  margin-bottom: 1rem;
  align-items: flex-start;
}

.section-head.compact h2 {
  font-size: var(--fs-lg);
}

.section-head-spaced {
  margin-top: 2.75rem;
}

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

.about-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.about-points h3 {
  margin: 0 0 0.4rem;
  font-size: var(--fs-lg);
  font-weight: 600;
}

.about-points p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-md);
}

.about-cta {
  margin: 1.5rem 0 0;
}

.tip-card h3 {
  margin: 0 0 0.45rem;
  font-size: var(--fs-lg);
  font-weight: 600;
}

.tip-card p {
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.tip-kicker {
  margin: 0 0 0.35rem !important;
  color: var(--li-blue);
  font-weight: 700;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.soft-rule {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 1rem 0;
}

.article-footer-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.section-head.centered {
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.section-head h2,
.page-hero h1,
.content-block h1,
.detail-panel h1,
.feature-copy h2 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
  font-size: var(--fs-xl);
  color: var(--text);
}

.section-head h2.section-title-lg,
.page-hero h1.section-title-lg {
  font-size: 40px;
  line-height: 1.15;
}

.lede,
.section-head p,
.page-hero p,
.feature-copy p {
  color: var(--muted);
  margin: 0.5rem 0 0;
  max-width: 40rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 2.25rem 0 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.9)),
    repeating-linear-gradient(-32deg, rgba(10, 102, 194, 0.045) 0 10px, transparent 10px 22px),
    #f4f7fb;
  border-bottom: 1px solid var(--border);
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: 8%;
  top: -48px;
  border-radius: var(--radius-pill);
  border: 14px solid rgba(10, 102, 194, 0.12);
  pointer-events: none;
}

.page-hero h1 {
  margin-bottom: 0.35rem;
}

.page-hero + .section {
  padding-top: 1.75rem;
}

.breadcrumbs {
  margin-bottom: 0.75rem;
}

.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.45rem;
  color: var(--muted);
  font-size: var(--fs-xs);
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.45rem;
  opacity: 0.45;
}

.breadcrumbs a:hover {
  color: var(--li-blue);
}

.breadcrumbs [aria-current="page"] span {
  color: var(--text);
}

/* Stats strip */
.li-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.li-stats > div {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  background: #fff;
  border: 1px solid #e4edf6;
  border-radius: 14px;
  box-shadow: 0 10px 20px -16px rgba(16, 50, 90, 0.5);
}

.li-stats > div::before {
  display: none;
}

.li-stats strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--li-blue);
  letter-spacing: -0.04em;
  line-height: 1;
}

.li-stats span {
  display: block;
  margin-top: 0;
  color: #5b6b7c;
  font-size: 0.82rem;
  font-weight: 600;
}

.li-stats > .li-stats-modes {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.li-stats-modes::before {
  display: none;
}

.li-stats-modes .btn {
  width: auto;
  padding: 0.7rem 0.95rem;
  background: #fff;
  border: 1px solid #9ec5e8;
  border-radius: 14px;
  color: var(--li-blue);
  font-size: var(--fs-sm);
  font-weight: 600;
  box-shadow: 0 10px 20px -16px rgba(16, 50, 90, 0.5);
}

.li-stats-modes .btn:hover {
  background: var(--li-blue);
  border-color: var(--li-blue);
  color: #fff;
}

/* Topic browse tabs */
.topic-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.85rem;
}

.topic-tabs:not(.is-expanded) .topic-tab.is-extra {
  display: none;
}

.topic-tab {
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--muted);
  font-weight: 600;
  font-size: var(--fs-sm);
}

.topic-tab:hover {
  background: var(--bg-warm);
  color: var(--text);
}

.topic-tab.is-active {
  background: var(--li-blue-soft);
  border-color: var(--li-blue);
  color: var(--li-blue);
}

.topic-tabs-more {
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px dashed var(--border-strong);
  background: transparent;
  color: var(--li-blue);
  font-weight: 600;
  font-size: var(--fs-sm);
  cursor: pointer;
}

.topic-tabs-more:hover {
  background: var(--li-blue-soft);
  border-style: solid;
  border-color: var(--li-blue);
}

/* Course cards — LI Learning style */
.course-grid,
.post-grid,
.silo-grid,
.rm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1.5px solid #9ec5e8;
  border-top: 3px solid var(--li-blue);
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 55%);
}

.post-card > .text-link {
  margin-top: auto;
  padding-top: 0.85rem;
}

.post-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
  line-height: 1.25;
}

.post-card > p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.5em;
  line-height: 1.5;
}

.post-carousel {
  position: relative;
}

.post-carousel-viewport {
  overflow: hidden;
}

.post-carousel-track {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  transition: transform 0.55s ease;
  will-change: transform;
}

.post-carousel-slide {
  flex: 0 0 calc((100% - 1rem) / 2);
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  border: 1.5px solid #9ec5e8;
  border-top: 3px solid var(--li-blue);
  border-radius: var(--radius-lg);
  box-shadow: none;
  min-height: 280px;
  background: linear-gradient(180deg, #f5f9fd 0%, #ffffff 60%);
}

.post-carousel-slide:nth-child(3n + 2) {
  border-color: #a8d4b5;
  border-top-color: var(--teal);
  background: linear-gradient(180deg, #f5fbf6 0%, #ffffff 60%);
}

.post-carousel-slide:nth-child(3n) {
  border-color: #e8c4a8;
  border-top-color: var(--live);
  background: linear-gradient(180deg, #fcf7f2 0%, #ffffff 60%);
}

.post-carousel-slide .pill {
  align-self: flex-start;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
}

.post-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--border-strong);
  cursor: pointer;
}

.post-carousel-dot.is-active {
  background: var(--li-blue);
  transform: scale(1.15);
}

@media (max-width: 760px) {
  .post-carousel-slide {
    flex-basis: 100%;
  }
}

.success-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.success-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.2rem 1.15rem;
  background: #fff;
  border: 1.5px solid #9ec5e8;
  border-top: 3px solid var(--li-blue);
  border-radius: var(--radius-lg);
}

.success-card:nth-child(3n + 2) {
  border-color: #a8d4b5;
  border-top-color: var(--teal);
}

.success-card:nth-child(3n) {
  border-color: #e8c4a8;
  border-top-color: var(--live);
}

.success-card .pill {
  align-self: flex-start;
  margin-bottom: 0.75rem;
}

.success-quote {
  margin: 0 0 1.1rem;
  color: var(--text);
  font-size: var(--fs-md);
  line-height: 1.6;
  flex: 1;
}

.success-person span span {
  display: block;
  font-size: var(--fs-xs);
  color: var(--muted);
}

.success-meta {
  margin-top: 0.15rem;
  font-style: italic;
}

.success-person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
}

.success-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
  background: var(--li-blue);
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-xs);
  flex-shrink: 0;
}

.success-card:nth-child(3n + 2) .success-avatar {
  background: var(--teal);
}

.success-card:nth-child(3n) .success-avatar {
  background: var(--live);
}

.career-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.career-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.15rem 1.2rem;
}

.career-step span {
  display: block;
  color: var(--li-blue);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.career-step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.career-step p,
.career-from,
.career-now {
  margin: 0;
}

.career-step > .text-link {
  display: inline-block;
  margin-top: 0.85rem;
}

.career-from {
  color: var(--muted);
  font-size: var(--fs-sm);
  margin-bottom: 0.3rem;
}

.career-now {
  font-weight: 600;
  margin-bottom: 0.7rem;
  line-height: 1.4;
}

.career-join {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.4rem;
}

.career-join h2 {
  margin: 0 0 0.4rem;
  font-size: var(--fs-xl);
}

.career-join p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
  line-height: 1.65;
}

.career-join-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.client-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.15rem 1.2rem;
}

.client-card h3 {
  margin: 0.2rem 0 0;
  font-size: 1.05rem;
}

.client-card p {
  margin: 0;
  color: #3a3a3a;
  line-height: 1.6;
}

.client-kicker {
  color: var(--li-blue) !important;
  font-weight: 600;
  font-size: var(--fs-sm);
}

.client-card .pill {
  align-self: flex-start;
}

.client-card .text-link {
  margin-top: 0.35rem;
}

.success-person strong {
  display: block;
  font-size: var(--fs-md);
  color: var(--text);
}

.success-card.is-hidden {
  display: none;
}

/* Student stories — designed outer ground, gradient only on the orange accents */
#reviews {
  position: relative;
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 1rem);
  background-color: #f5f8fc;
  background-image: radial-gradient(rgba(10, 102, 194, 0.22) 1.15px, transparent 1.35px);
  background-size: 16px 16px;
}

#reviews > .container {
  position: relative;
  z-index: 1;
}

#reviews .reviews-head {
  justify-content: center;
  text-align: center;
}

#reviews .reviews-head > div {
  max-width: 40rem;
}

#reviews .reviews-head h2 {
  color: #000;
  font-weight: 700;
}

#reviews .reviews-head p {
  margin-left: auto;
  margin-right: auto;
  color: rgba(0, 0, 0, 0.72);
}

#reviews .success-grid {
  gap: 1.15rem;
  align-items: stretch;
}

#reviews .review-card,
#reviews .review-card:nth-child(3n + 2),
#reviews .review-card:nth-child(3n) {
  gap: 0;
  padding: 1rem 1.05rem 0.95rem;
  background: linear-gradient(180deg, #fffaf1 0%, #fff6e4 100%);
  border: 1px solid rgba(255, 203, 0, 0.55);
  border-top: 1px solid #fff;
  border-radius: 16px;
  box-shadow:
    inset 0 1px 0 #fff,
    0 1px 0 rgba(120, 70, 0, 0.05),
    0 14px 24px -16px rgba(140, 80, 0, 0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

#reviews .review-card:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 #fff,
    0 18px 28px -16px rgba(140, 80, 0, 0.42);
}

#reviews .review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-width: 0;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 203, 0, 0.45);
}

#reviews .review-top strong {
  min-width: 0;
  color: #ff3d00;
  font-size: var(--fs-md);
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#reviews .review-card .pill {
  flex-shrink: 1;
  min-width: 0;
  max-width: 52%;
  margin: 0;
  background: rgb(214 186 186 / 10%);
  color: #c7710b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: inset 0 1px 2px rgba(120, 70, 0, 0.08);
}

#reviews .review-card .success-quote {
  position: relative;
  margin: 0.8rem 0 0.85rem;
  padding: 0;
  border: 0;
  quotes: none;
  color: #111;
  font-size: var(--fs-md);
  line-height: 1.6;
}

#reviews .review-card .success-quote::before {
  content: none;
}

#reviews .review-card .success-meta {
  margin: auto 0 0;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 203, 0, 0.4);
  font-style: normal;
  font-size: var(--fs-xs);
  line-height: 1.4;
  color: rgb(0 0 0 / 51%);
}

@media (prefers-reduced-motion: reduce) {
  #reviews .review-card {
    transition: none;
  }

  #reviews .review-card:hover {
    transform: none;
  }
}

@media (max-width: 760px) {
  #reviews .review-card .pill {
    max-width: 48%;
  }
}

.success-more,
.course-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: fit-content;
  max-width: 100%;
  margin: 1.25rem auto 0;
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--li-blue);
  font-weight: 600;
  font-size: var(--fs-md);
  cursor: pointer;
}

.success-more:hover,
.course-more:hover {
  background: var(--li-blue-soft);
  border-color: var(--li-blue);
}

#reviews .success-more {
  gap: 0.3rem;
  margin-top: 2rem;
  padding: 0.38rem 0.8rem;
  background: #fff6e4;
  border-color: rgb(67 53 0 / 55%);
  color: #b60f0f;
  font-size: var(--fs-sm);
}

#reviews .success-more:hover {
  background: #fff1d4;
  border-color: rgba(255, 143, 0, 0.55);
}

#reviews .success-more-arrow {
  font-size: 0.95rem;
}

.course-tile.is-hidden {
  display: none;
}

.course-scroll-sentinel {
  height: 1px;
}

.success-more-arrow {
  display: inline-block;
  font-size: var(--fs-lg);
  line-height: 1;
  transition: transform 0.2s ease;
}

.success-more.is-end .success-more-arrow {
  transform: rotate(180deg);
}

.course-tile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.15s ease;
}

.course-tile:hover {
  box-shadow: var(--shadow);
}

.course-tile-link {
  display: block;
  height: 100%;
}

.course-thumb,
.course-enroll-top {
  height: 176px;
  background: #0c1b33;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0.85rem;
  overflow: hidden;
}

.course-enroll-top {
  height: 148px;
  display: block;
  padding: 0;
}

.course-cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  transform: scale(1.01);
  transform-origin: center;
  transition: transform 0.35s ease;
}

.course-tile:hover .course-cover {
  transform: scale(1.04);
}

.course-thumb::after,
.course-enroll-top::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
}

.course-thumb .pill {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  font-size: var(--fs-xs);
  box-shadow: var(--shadow-sm);
}

.course-tile-body {
  padding: 0.95rem 1rem 1.05rem;
}

.course-cat {
  margin: 0 0 0.35rem;
  color: var(--li-blue);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.course-tile-top {
  display: none;
}

.course-tile-title {
  font-size: var(--fs-base);
  font-weight: 600;
  margin: 0 0 0.4rem;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.course-tile-desc {
  color: var(--muted);
  font-size: var(--fs-sm);
  margin: 0 0 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 0;
}

.course-tile-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted-2);
  font-size: var(--fs-xs);
}

.course-tile-meta strong {
  color: var(--text);
  font-weight: 600;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.35;
}

.pill-paced {
  background: var(--li-blue-soft);
  color: var(--li-blue);
}

.pill-live {
  background: #fff3e6;
  color: var(--live);
}

.pill-muted {
  background: var(--bg-warm);
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.tag-row .pill {
  text-decoration: none;
}

.tag-row .pill:hover {
  color: var(--text);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.format-note {
  margin: 0 0 1.25rem;
  color: var(--muted);
  line-height: 1.55;
}

.filter-chip {
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--muted);
  font-weight: 600;
  font-size: var(--fs-sm);
}

.filter-chip:hover,
.filter-chip.is-active {
  color: var(--li-blue);
  background: var(--li-blue-soft);
  border-color: var(--li-blue);
}

.split {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1rem;
  align-items: start;
}

.split-follow {
  margin-top: 1rem;
}

.detail-panel,
.side-panel,
.form-panel,
.content-card,
.stat-strip,
.faq-item,
.post-card,
.silo-card,
.mode-card,
.rm-card,
.li-card {
  padding: 1.15rem 1.2rem;
}

.detail-panel h1 {
  font-size: var(--fs-display);
  font-weight: 600;
  margin: 0.7rem 0 0.85rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.price-lg {
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--text);
  margin: 0.85rem 0;
}

.syllabus {
  list-style: none;
  padding: 0;
  margin: 0.85rem 0 0;
}

.syllabus li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.1rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.syllabus li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--li-blue);
}

.side-panel {
  position: sticky;
  top: calc(var(--header-h) + 0.85rem);
}

.side-panel p,
.mode-card p,
.post-card p,
.silo-card p,
.rm-card p,
.li-card p {
  color: var(--muted);
  margin: 0;
}

.form-grid {
  display: grid;
  gap: 0.85rem;
}

.form-row {
  display: grid;
  gap: 0.3rem;
}

.form-row label {
  font-weight: 600;
  font-size: var(--fs-sm);
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--text);
  outline: none;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: var(--li-blue);
  box-shadow: 0 0 0 2px rgba(10, 102, 194, 0.2);
}

.form-row textarea {
  min-height: 110px;
  resize: vertical;
}

.alert {
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
  margin-bottom: 0.9rem;
  border: 1px solid var(--border);
}

.alert-success {
  background: #e6f5ec;
  border-color: #a8d5b5;
  color: var(--teal);
}

.alert-error {
  background: #fde7e9;
  border-color: #f0b4b8;
  color: var(--danger);
}

.alert-info {
  background: var(--li-blue-soft);
  border-color: #9ec5e8;
  color: var(--li-blue-hover);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.stat-strip strong {
  display: block;
  font-size: var(--fs-2xl);
  color: var(--text);
}

.stat-strip span {
  color: var(--muted);
  font-size: var(--fs-sm);
}

.mode-grid,
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.mode-card {
  padding: 1.4rem 1.35rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.mode-card-paced {
  border-top: 3px solid var(--li-blue);
}

.mode-card-live {
  border-top: 3px solid var(--live);
}

.mode-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
  background: var(--bg-warm);
  margin-bottom: 0.65rem;
  font-size: var(--fs-md);
}

.mode-card h3 {
  margin: 0 0 0.45rem;
}

.mode-card p {
  margin: 0 0 0.9rem;
}

.mode-card .text-link {
  display: inline-block;
}

.feature-row + .feature-row {
  margin-top: 1rem;
}

.feature-row.is-flip .feature-copy {
  order: 2;
}

.feature-row.is-flip .feature-visual {
  order: 1;
}

.feature-copy,
.feature-visual {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.feature-copy h2 {
  margin-bottom: 0.35rem;
}

.feature-copy .btn {
  margin-top: 1.1rem;
}

.feature-visual {
  display: grid;
  place-items: center;
  min-height: 220px;
  background: var(--bg-warm);
}

.feature-badge {
  width: min(100%, 300px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
}

.feature-badge strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.feature-badge p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.feature-badge .meter {
  height: 6px;
  border-radius: var(--radius-pill);
  background: #e0dfdc;
  margin: 0.85rem 0 0.4rem;
  overflow: hidden;
}

.feature-badge .meter span {
  display: block;
  height: 100%;
  width: 86%;
  background: var(--li-blue);
  border-radius: var(--radius-pill);
}

.rm-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
  background: var(--li-blue-soft);
  color: var(--li-blue);
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: var(--fs-xs);
}

.rm-card h3,
.mode-card h3,
.post-card h3,
.silo-card h3,
.li-card h3 {
  margin: 0.45rem 0 0.4rem;
  font-size: var(--fs-lg);
  font-weight: 600;
}

.post-card time {
  color: var(--muted-2);
  font-size: var(--fs-xs);
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 1.75rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  color: var(--muted);
  margin: 0.55rem 0 0;
}

.faq-hero h1,
.terms-hero h1 {
  font-size: var(--fs-3xl);
}

.terms-doc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.terms-note {
  margin: 0;
  padding: 0.9rem 1.25rem;
  color: #0b3d73;
  background: var(--li-blue-soft);
  border-bottom: 1px solid #d5e6f7;
  line-height: 1.6;
  font-weight: 600;
}

.terms-clause {
  padding: 1.15rem 1.25rem 1.2rem;
  border-bottom: 1px solid var(--border);
}

.terms-clause:last-child {
  border-bottom: 0;
}

.terms-clause h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.terms-clause p {
  margin: 0 0 0.7rem;
  color: #3a3a3a;
  line-height: 1.7;
}

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

.terms-clause ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #3a3a3a;
  line-height: 1.7;
}

.terms-clause li + li {
  margin-top: 0.35rem;
}

.faq-page {
  display: grid;
  gap: 1.5rem;
}

.faq-page .faq-list {
  gap: 0.7rem;
}

.faq-page .faq-item {
  padding: 0;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.faq-page .faq-item[open] {
  border-color: #c5d9f2;
  box-shadow: var(--shadow-sm);
}

.faq-page .faq-item summary {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 2.6rem 0.95rem 0.95rem;
  line-height: 1.4;
}

.faq-page .faq-item summary::after {
  right: 1.15rem;
}

.faq-index {
  flex: 0 0 auto;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--li-blue-soft);
  color: var(--li-blue);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.faq-page .faq-item[open] .faq-index {
  background: var(--li-blue);
  color: #fff;
}

.faq-page .faq-answer {
  display: grid;
  gap: 0.75rem;
  padding: 0.15rem 1.2rem 1.15rem 3.9rem;
}

.faq-page .faq-answer p {
  margin: 0;
  padding: 0;
  color: #3a3a3a;
  line-height: 1.7;
}

.faq-ask {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.35rem 1.4rem;
}

.faq-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.faq-submit {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.faq-submit p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
  max-width: 22rem;
}

@media (max-width: 640px) {
  .faq-fields {
    grid-template-columns: 1fr;
  }

  .faq-page .faq-answer {
    padding-left: 1.05rem;
  }
}

.silo-card {
  display: block;
}

.silo-card:hover,
.rm-card:hover,
.li-card:hover {
  box-shadow: var(--shadow);
}

.silo-meta {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--li-blue);
  font-weight: 700;
  font-size: var(--fs-sm);
}

#career {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.experts-section {
  background: #f7f9fb;
  color: var(--text);
}

.experts-head {
  max-width: 56rem;
  margin: 0 auto 1.75rem;
  text-align: center;
}

.experts-section h2 {
  margin: 0;
  color: #111;
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.experts-section h2 span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.15rem;
  color: var(--li-blue);
  font-weight: 600;
}

.experts-section h2 span::before {
  content: "";
  width: 28px;
  height: 2px;
  flex: 0 0 auto;
  border-radius: 2px;
  background: var(--li-blue);
}

.experts-head > p {
  margin: 0.8rem 0 0;
  color: #5c6770;
  font-size: var(--fs-md);
}

.experts-line {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  margin: 0.9rem auto 0;
}

.experts-line .experts-grid {
  flex: 0 1 auto;
  max-width: 100%;
  margin: 0;
}

.experts-line.is-ready .experts-grid {
  flex-wrap: nowrap;
  overflow: hidden;
  max-width: calc(100% - 1.75rem);
}

.experts-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0;
  max-width: 52rem;
  margin: 0.9rem auto 0;
}

.experts-card {
  color: var(--li-blue);
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
}

.experts-card:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 0.7rem;
  border-radius: 50%;
  background: #9ec5e8;
  vertical-align: 0.15em;
}

.experts-card:hover {
  text-decoration: underline;
}

.experts-drop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 0.9rem;
  height: 0.9rem;
  margin-left: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #b7c9dc;
  cursor: pointer;
}

.experts-drop svg {
  display: block;
  transition: transform 0.15s ease;
}

.experts-drop.is-open svg {
  transform: rotate(180deg);
}

.experts-drop:hover,
.experts-drop.is-open {
  background: transparent;
  color: #8aa0b8;
}

.experts-drop-panel {
  position: absolute;
  z-index: 4;
  top: calc(100% + 0.45rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0;
  width: min(100%, 40rem);
  padding: 0.75rem 0.9rem;
  background: #fff;
  border: 1px solid #d7e4f2;
  border-radius: 12px;
  box-shadow: 0 16px 28px -18px rgba(16, 50, 90, 0.4);
}

.experts-drop-panel[hidden] {
  display: none;
}

.experts-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.experts-steps li {
  padding-top: 0.85rem;
  border-top: 2px solid var(--li-blue);
}

.experts-steps li > span {
  display: block;
  margin-bottom: 0.45rem;
  color: #9ec5e8;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.experts-steps strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: var(--fs-md);
  letter-spacing: -0.02em;
}

.experts-steps p {
  margin: 0;
  color: #5c6770;
  font-size: var(--fs-sm);
  line-height: 1.45;
}

@media (max-width: 900px) {
  .experts-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .experts-steps {
    grid-template-columns: 1fr;
  }
}


.transform-section {
  padding: 1.5rem 0 1.35rem;
  background-color: #f5f8fc;
  background-image: radial-gradient(rgba(10, 102, 194, 0.22) 1.15px, transparent 1.35px);
  background-size: 16px 16px;
}

.transform-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 3.5rem 1.25rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background-color: transparent;
  background-image:
    radial-gradient(rgba(10, 102, 194, 0.2) 1.15px, transparent 1.35px),
    radial-gradient(260px 140px at 18% 115%, rgba(10, 102, 194, 0.16), transparent 70%),
    radial-gradient(240px 130px at 96% -8%, rgba(10, 102, 194, 0.14), transparent 72%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.5));
  background-size: 16px 16px, auto, auto, auto;
  box-shadow: 0 12px 32px rgba(25, 25, 25, 0.06);
  backdrop-filter: blur(18px);
}

.transform-shell::before,
.transform-shell::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: var(--radius-pill);
  filter: blur(2px);
  pointer-events: none;
}

.transform-shell::before {
  width: 120px;
  height: 120px;
  left: 22%;
  bottom: -52px;
  background: rgba(10, 102, 194, 0.16);
}

.transform-shell::after {
  width: 110px;
  height: 110px;
  right: 8%;
  top: -48px;
  background: rgba(10, 102, 194, 0.12);
}

.transform-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1rem 1.25rem;
  align-items: stretch;
}

.transform-copy h2,
.transform-form h2 {
  margin: 0 0 0.3rem;
  font-size: var(--fs-xl);
  font-weight: 600;
}

.transform-copy h2 {
  font-size: 33px;
  line-height: 2.15;
  letter-spacing: -0.02em;
}

.transform-form h2 {
  font-size: var(--fs-lg);
  margin-bottom: 0.7rem;
}

.transform-copy > p {
  margin: 0 0 0.85rem;
  max-width: 34rem;
  color: var(--muted);
}

.transform-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.transform-points li {
  display: grid;
  grid-template-columns: 2.15rem 1fr;
  gap: 0.65rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(12px);
}

.transform-icon {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  color: var(--li-blue);
  display: grid;
  place-items: center;
}

.transform-points strong {
  display: block;
  margin-bottom: 0.05rem;
  font-weight: 600;
}

.transform-points li span span,
.transform-note,
.transform-optional {
  color: var(--muted);
  font-size: var(--fs-sm);
  font-weight: 400;
}

.transform-note {
  margin: 0;
  text-align: center;
}

.transform-form {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.1rem 1rem;
  border-radius: 18px;
  border: 1px solid #fff;
  background: linear-gradient(180deg, #ffffff 0%, #f3f7fb 100%);
  box-shadow:
    inset 0 1px 0 #fff,
    0 1px 0 rgba(16, 42, 74, 0.04),
    0 16px 28px -18px rgba(16, 50, 90, 0.55),
    0 6px 12px -8px rgba(10, 102, 194, 0.28);
}

.transform-form .form-grid {
  gap: 0.65rem;
}

.transform-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.transform-form .form-row {
  gap: 0.28rem;
}

.transform-form .form-row label {
  color: #3d4a57;
  font-size: var(--fs-xs);
  font-weight: 600;
}

.transform-form .form-row input,
.transform-form .form-row textarea {
  background: #fff;
  border: 1px solid #d5e0ea;
  border-radius: 10px;
  box-shadow: none;
  transition: border-color 0.15s ease;
}

.transform-form .form-row input:focus,
.transform-form .form-row textarea:focus {
  background: #fff;
  border-color: var(--li-blue);
  box-shadow: none;
}

.transform-form textarea {
  min-height: 72px;
}

.transform-form .btn {
  width: 100%;
}

.transform-form .btn-primary {
  margin-top: 0.1rem;
  border: 0;
  background: linear-gradient(180deg, #4d94db 0%, #0a66c2 55%, #004182 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 8px 14px -8px rgba(0, 65, 130, 0.85);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.transform-form .btn-primary:hover {
  background: linear-gradient(180deg, #5aa0e4 0%, #0a66c2 50%, #003a75 100%);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 12px 16px -8px rgba(0, 65, 130, 0.9);
}

.transform-form .btn-primary:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px rgba(0, 30, 70, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .transform-form .btn-primary,
  .transform-form .form-row input,
  .transform-form .form-row textarea {
    transition: none;
  }

  .transform-form .btn-primary:hover,
  .transform-form .btn-primary:active {
    transform: none;
  }
}

.cta-band {
  background: #fff;
  border-top: 1px solid var(--border);
  text-align: left;
  padding: 2.5rem 0;
}

.cta-inner {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1.15rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.92)),
    repeating-linear-gradient(45deg, rgba(10, 102, 194, 0.08) 0 8px, transparent 8px 16px),
    var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  max-width: 42rem;
}

.cta-inner::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -24px;
  bottom: -36px;
  border-radius: var(--radius-pill);
  background: rgba(10, 102, 194, 0.12);
  pointer-events: none;
}

.cta-band h2 {
  margin: 0 0 0.4rem;
  font-size: var(--fs-xl);
  font-weight: 600;
}

.cta-band p {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
}

.site-footer {
  margin-top: 0;
  border-top: none;
  padding: 3rem 0 2rem;
  background: #0b1120;
  color: #d5dde8;
}

.site-footer .container {
  width: min(100% - 2rem, var(--container));
}

.footer-name {
  position: relative;
  overflow: hidden;
  margin-top: 0.35rem;
  padding: 10px 0 6px;
}

.footer-name b {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: flex-end;
  padding: 0 12px;
  font-weight: 800;
  line-height: 0.9;
  font-size: clamp(16px, 3.15vw, 58px);
  letter-spacing: 0.045em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.28);
}

.footer-name i {
  font-style: normal;
  flex: 0 0 auto;
  animation: footer-name-pop 7.8s linear infinite;
  animation-delay: calc(var(--i) * 0.28s);
}

.footer-name i.is-gap {
  width: 0.42em;
  animation: none;
}

@keyframes footer-name-pop {
  0%, 14%, 100% {
    -webkit-text-fill-color: transparent;
  }
  7% {
    -webkit-text-fill-color: rgba(255, 122, 24, 0.95);
  }
}

.footer-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2.5rem 3rem;
  align-items: center;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-logo .brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex-shrink: 0;
}

.footer-logo .brand-mark::before {
  font-size: 1rem;
}

.footer-logo .brand-mark::after {
  width: 10px;
  height: 10px;
}

.footer-logo-text {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.28rem;
  max-width: none;
  white-space: nowrap;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}

.footer-logo-lead {
  color: #4aa3ff;
}

.footer-logo-word {
  color: #ff7a18;
}

.footer-logo-rest {
  color: #fff;
}

.footer-logo .brand-text strong,
.footer-logo .footer-logo-word {
  color: #ff7a18;
}

.footer-logo .brand-text em,
.footer-logo .footer-logo-rest {
  color: #fff;
}

.footer-intro {
  margin: 0;
  color: #f4f7fb;
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 42rem;
}

.footer-lines {
  display: grid;
  gap: 0.7rem;
  padding: 0.15rem 0 1.35rem;
}

.footer-line {
  display: grid;
  grid-template-columns: 6.6rem minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
}

.footer-line-label {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.footer-line-label:hover {
  color: #fff;
  text-decoration: underline;
}

.experts-line.is-footer {
  width: 100%;
  margin: 0;
  justify-content: flex-start;
}

.experts-line.is-footer .experts-grid,
.experts-line.is-ready.is-footer .experts-grid {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-start;
  max-width: none;
}

.experts-line.is-footer .experts-card {
  color: #d5dde8;
  font-weight: 500;
}

.experts-line.is-footer .experts-card:not(:last-child)::after {
  background: rgba(255, 255, 255, 0.28);
}

.experts-line.is-footer .experts-card:hover {
  color: #fff;
}

.experts-line.is-footer .experts-drop {
  color: rgba(255, 255, 255, 0.38);
}

.experts-line.is-footer .experts-drop:hover,
.experts-line.is-footer .experts-drop.is-open {
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
}

.experts-line.is-footer .experts-drop-panel {
  left: 0;
  transform: none;
  justify-content: flex-start;
  width: min(42rem, 72vw);
  max-height: 16rem;
  overflow: auto;
  background: #0b3040;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 28px -18px rgba(0, 0, 0, 0.55);
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 1.75rem;
  padding: 2.35rem 0 2.1rem;
}

.footer-heading {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 1rem;
  font-weight: 800;
  color: #fff;
}

.footer-heading::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  background: #ff7a18;
  margin-top: 0.45rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: #c8d0dc;
  font-size: 0.92rem;
  line-height: 1.45;
}

.footer-links a:hover {
  color: #ff7a18;
}

.footer-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bar.is-slim {
  grid-template-columns: 1fr auto;
}

.footer-bar.is-slim .footer-iso {
  grid-column: 1;
  justify-self: start;
  text-align: left;
}

.footer-bar.is-slim .footer-pay {
  grid-column: 2;
  justify-self: end;
}

.footer-bar-label {
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-follow {
  justify-self: start;
}

.footer-iso {
  margin: 0;
  color: #f4f7fb;
  font-size: 0.88rem;
  text-align: center;
}

.footer-disclaimer {
  margin: 1.35rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #c8d0dc;
  font-size: 0.82rem;
  line-height: 1.65;
}

.footer-disclaimer a {
  color: #ff7a18;
}

.footer-pay {
  justify-self: end;
  text-align: right;
}

.footer-social,
.footer-pay-logos {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.footer-pay-logos {
  justify-content: flex-end;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  transition: transform 0.15s ease;
}

.footer-social a:hover {
  transform: translateY(-1px);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  display: block;
}

.footer-social-facebook { background: #1877f2; }
.footer-social-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.footer-social-twitter { background: #1da1f2; }
.footer-social-linkedin { background: #0a66c2; }
.footer-social-pinterest { background: #e60023; }
.footer-social-youtube { background: #ff0000; }

.footer-pay-logos li {
  height: 36px;
  min-width: 68px;
  padding: 0 0.6rem;
  border-radius: 6px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.pay-phonepe { color: #5f259f; gap: 0; }
.pay-phonepe span { font-weight: 700; }
.pay-phonepe strong { color: #5f259f; }

.pay-gpay { gap: 0.12rem; color: #5f6368; }
.pay-gpay b {
  font-size: 0.95rem;
  background: linear-gradient(120deg, #4285f4, #ea4335, #fbbc05, #34a853);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pay-paytm { color: #00baf2; }
.pay-paytm span { font-weight: 700; text-transform: lowercase; }
.pay-paytm strong { color: #002970; }

.pay-visa {
  color: #1a1f71;
  font-style: italic;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.pay-card {
  min-width: 52px;
  gap: 0;
  position: relative;
}

.pay-card i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: block;
}

.pay-card i:first-child {
  background: #eb001b;
}

.pay-card i:last-child {
  background: #f79e1b;
  margin-left: -6px;
}

@media (max-width: 960px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

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

  .footer-line {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .footer-bar,
  .footer-bar.is-slim {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1.35rem;
  }

  .footer-bar.is-slim .footer-iso,
  .footer-bar.is-slim .footer-pay {
    grid-column: auto;
    justify-self: center;
  }

  .footer-follow,
  .footer-pay {
    justify-self: center;
    text-align: center;
  }

  .footer-social,
  .footer-pay-logos {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 2rem 0 1.4rem;
  }

  .footer-nav-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .footer-logo-text {
    font-size: 1.15rem;
    max-width: 12rem;
  }
}

.prose {
  color: var(--muted);
}

.prose h2 {
  color: var(--text);
  font-weight: 600;
}

.prose p,
.prose li {
  line-height: 1.7;
}

.error-box {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  padding: 0.9rem;
  border-radius: var(--radius);
  overflow: auto;
}

.reveal {
  opacity: 1;
  transform: none;
}

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

  .place-path-line,
  .place-path-track,
  .kf-pointer {
    transition: none;
  }

  .footer-name i {
    animation: none;
  }
}

@media (max-width: 960px) {
  .course-grid,
  .post-grid,
  .split,
  .mode-grid,
  .stat-strip,
  .silo-grid,
  .rm-grid,
  .feature-row,
  .li-stats,
  .about-points,
  .success-grid,
  .career-steps,
  .client-grid,
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .feature-row.is-flip .feature-copy,
  .feature-row.is-flip .feature-visual {
    order: initial;
  }

  .side-panel {
    position: static;
  }

  .li-stats {
    gap: 0.6rem;
  }

  .li-stats > .li-stats-modes {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .place-list {
    gap: 35px;
  }

  .place-step,
  .place-step:nth-child(even) {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    width: 100%;
    margin-left: 0;
    flex-direction: row;
    align-items: start;
    column-gap: 0.95rem;
    row-gap: 0.75rem;
    padding: 1rem;
    border-radius: 18px;
  }

  .place-mile,
  .place-step:nth-child(even) .place-mile {
    display: contents;
    text-align: left;
  }

  .place-node {
    grid-area: 1 / 1;
    width: 52px;
    height: 52px;
    font-size: 15px;
  }

  .place-copy,
  .place-step:nth-child(even) .place-copy {
    grid-area: 1 / 2;
    text-align: left;
  }

  .place-step p,
  .place-step:nth-child(even) p {
    margin-left: 0;
  }

  .place-art,
  .place-step:nth-child(even) .place-art {
    grid-area: 2 / 2;
    justify-self: start;
    max-width: 250px;
  }

  .place-step h3 {
    font-size: 1.22rem;
  }

  .transform-pair {
    grid-template-columns: 1fr;
  }

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

  .site-nav {
    position: fixed;
    inset: 0 0 auto 0;
    top: var(--header-h);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.9rem;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav .nav-link,
  .site-nav .nav-link:hover,
  .site-nav .nav-link.is-active {
    color: var(--text);
  }

  .site-nav .nav-link.is-active,
  .site-nav .nav-link:hover {
    color: var(--li-blue);
  }

  .site-nav .header-search input {
    background: #fff;
    border-color: var(--border-strong);
    color: var(--text);
  }

  .site-nav .header-search input::placeholder {
    color: var(--muted);
  }

  .site-nav .search-icon {
    color: var(--muted);
  }

  .site-nav .btn {
    width: 100%;
    margin-top: 0.3rem;
  }

  .site-nav .header-search {
    width: 100%;
    margin: 0 0 0.35rem;
  }

  .site-nav .header-search input {
    flex: 1;
    width: auto;
    min-width: 0;
  }

  .course-grid,
  .post-grid,
  .mode-grid,
  .stat-strip,
  .split,
  .silo-grid,
  .rm-grid,
  .feature-row,
  .li-stats,
  .about-points,
  .success-grid,
  .career-steps,
  .client-grid,
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .career-join {
    flex-direction: column;
    align-items: flex-start;
  }

  .li-stats > .li-stats-modes {
    flex-direction: column;
    align-items: stretch;
  }

  .li-stats-modes .btn {
    width: 100%;
  }

  .hero {
    padding: 2rem 0;
  }

  .cta-inner {
    padding: 1.25rem;
  }

  .page-hero::after {
    display: none;
  }
}

/* ===== Course detail page (LinkedIn + Google style) ===== */
.course-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.9)),
    repeating-linear-gradient(-32deg, rgba(10, 102, 194, 0.045) 0 10px, transparent 10px 22px),
    #f4f7fb;
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0 2rem;
}

.course-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
  margin-top: 0.75rem;
}

.course-hero-copy h1 {
  font-size: var(--fs-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0.75rem 0 0.7rem;
  line-height: 1.2;
}

.course-hero-lead {
  color: var(--muted);
  font-size: var(--fs-lg);
  max-width: 40rem;
  margin: 0 0 1rem;
}

.course-rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  color: var(--muted);
  font-size: var(--fs-md);
  margin-bottom: 1rem;
}

.course-rating-row strong {
  color: var(--text);
  font-size: var(--fs-lg);
}

.course-rating-row .stars {
  color: #f4b400;
  letter-spacing: 1px;
}

.course-stat-pills {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.course-stat-pills > div,
.course-stat-pills > a {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.75rem 0.8rem;
  color: inherit;
  text-decoration: none;
}

.course-stat-pills > a:hover {
  border-color: var(--li-blue);
}

.course-stat-pills > a strong {
  font-size: 1.05rem;
  line-height: 1.25;
}

.course-stat-pills strong {
  display: block;
  font-size: var(--fs-lg);
  color: var(--li-blue);
}

.course-stat-pills span {
  color: var(--muted);
  font-size: var(--fs-xs);
}

.course-enroll-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--header-h) + 0.85rem);
}

.course-enroll-body {
  padding: 1.15rem 1.2rem 1.3rem;
  display: grid;
  gap: 0.7rem;
}

.course-enroll-price {
  margin: 0;
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--text);
}

.course-enroll-note {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.course-includes {
  list-style: none;
  padding: 0;
  margin: 0.2rem 0 0.4rem;
  display: grid;
  gap: 0.45rem;
}

.course-includes li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
  font-size: var(--fs-md);
}

.course-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 9px;
  height: 9px;
  border-radius: var(--radius-pill);
  background: var(--li-blue);
  box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.15);
}

.course-enroll-body .btn {
  width: 100%;
}

.course-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.85rem 0;
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  background: rgba(243, 242, 239, 0.96);
  border-bottom: 1px solid var(--border);
}

.course-jump a {
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.course-jump a:hover {
  color: var(--li-blue);
  border-color: var(--li-blue);
  background: var(--li-blue-soft);
}

.course-jump a.is-active {
  color: var(--li-blue);
  border-color: var(--li-blue);
  background: var(--li-blue-soft);
  box-shadow: inset 0 -2px 0 var(--li-blue);
}

.course-section {
  max-width: var(--container);
}

.course-overview-card {
  max-width: 45rem;
}

.course-overview-card p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 42rem;
}

.course-overview-card p:last-child {
  margin-bottom: 0;
}

.objective-grid,
.project-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.review-grid {
  grid-template-columns: repeat(3, 1fr);
}

.kf-section {
  padding: 4.25rem 0;
  background: #fff;
}

.kf {
  display: grid;
  grid-template-columns: minmax(240px, 1.05fr) 168px minmax(320px, 1.35fr);
  align-items: center;
}

.kf-copy h2 {
  margin: 0 0 0.85rem;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.kf-copy h2 span {
  color: #0a66c2;
}

.kf-copy p {
  margin: 0;
  max-width: 32ch;
  color: #3a3a3a;
  font-size: 15px;
  line-height: 1.55;
}

.kf-rail {
  position: relative;
  align-self: stretch;
}

.kf-rail::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: #d7dde4;
  transform: translateX(-50%);
}

.kf-pointer {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  transform: translate(-50%, -50%);
  transition: top 0.35s ease;
}

.kf-pointer::before {
  content: "";
  width: 22px;
  height: 2px;
  margin-right: 1px;
  background: var(--li-blue);
}

.kf-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(#0a66c2 0 58%, #004182 58% 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.kf-mark::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 11px;
  height: 11px;
  background: #fbbc04;
}

.kf-list {
  display: grid;
  gap: 1.85rem;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
}

.kf-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  cursor: pointer;
}

.kf-list li:focus-visible {
  outline: 2px solid var(--li-blue);
  outline-offset: 4px;
  border-radius: 8px;
}

.kf-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #eef4fb;
  color: var(--li-blue);
}

.kf-list li[data-tone="green"] .kf-icon {
  background: #e8f6ee;
  color: #057642;
}

.kf-list li[data-tone="amber"] .kf-icon {
  background: #fff1e8;
  color: #ff7a18;
}

.kf-icon svg {
  width: 26px;
  height: 26px;
}

.kf-list h3 {
  margin: 0.15rem 0 0.25rem;
  font-size: 17px;
  font-weight: 700;
}

.kf-list p {
  margin: 0;
  max-width: 42ch;
  color: #2a2a2a;
  font-size: 15px;
  line-height: 1.5;
}

.feature-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.2rem;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: var(--li-blue);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--li-blue-soft);
  color: var(--li-blue);
  font-weight: 700;
  font-size: var(--fs-xs);
  margin-bottom: 0.7rem;
}

.feature-card h3,
.g-feature-card h3,
.objective-grid h3,
.project-card h3 {
  margin: 0 0 0.4rem;
  font-size: var(--fs-lg);
  font-weight: 600;
}

.feature-card p,
.g-feature-card p,
.objective-grid p,
.project-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-md);
}

/* legacy alias — keyed to LI blue */
.g-feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.2rem;
  position: relative;
  overflow: hidden;
}

.g-feature-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: var(--li-blue);
}

.g-feature-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--li-blue-soft);
  color: var(--li-blue);
  font-weight: 700;
  font-size: var(--fs-xs);
  margin-bottom: 0.7rem;
}

.section-head p.syllabus-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.45rem 0 0;
  max-width: none;
  padding: 0.32rem 0.75rem;
  border: 1px dotted #e31928;
  border-radius: var(--radius-pill);
  background: #fff;
  color: #191919;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.syllabus-meta span + span::before {
  content: "·";
  margin-right: 0.55rem;
  color: #191919;
  font-weight: 500;
}

.syllabus-wrap {
  position: relative;
}

.syllabus-list {
  display: grid;
  gap: 0.65rem;
}

.syllabus-list.is-scroll {
  max-height: 27rem;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.syllabus-list.is-scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.syllabus-item {
  background: #fff;
  border: 1.5px solid #b7cbe4;
  border-radius: var(--radius-lg);
  padding: 0.55rem 1rem;
}

.syllabus-item:hover,
.syllabus-item[open] {
  border-color: var(--li-blue);
  box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.08);
}

.syllabus-wrap.has-more::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3.4rem;
  pointer-events: none;
  background: linear-gradient(transparent, #fff 70%);
}

.syllabus-more {
  position: absolute;
  left: 50%;
  bottom: 0.55rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(10, 102, 194, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  transform: translateX(-50%);
  cursor: pointer;
}

.syllabus-more span {
  width: 8px;
  height: 8px;
  margin-top: -3px;
  border-right: 1.5px solid rgba(10, 102, 194, 0.65);
  border-bottom: 1.5px solid rgba(10, 102, 194, 0.65);
  transform: rotate(45deg);
}

.syllabus-more.is-hidden {
  display: none;
}

.syllabus-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  gap: 0.85rem;
  align-items: center;
  font-weight: 600;
  padding-right: 1.75rem;
  position: relative;
}

.syllabus-item summary::-webkit-details-marker {
  display: none;
}

.syllabus-item summary::after,
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 0.15rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.15s ease;
}

.syllabus-item[open] summary::after,
.faq-item[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.mod-no {
  flex: 0 0 auto;
  font-size: var(--fs-xs);
  color: var(--li-blue);
  background: var(--li-blue-soft);
  border-radius: var(--radius-pill);
  padding: 0.28rem 0.65rem;
  font-weight: 700;
}

.syllabus-topics {
  margin: 0.15rem 0 0.85rem 2.7rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.syllabus-topics li {
  color: var(--muted);
  font-size: var(--fs-sm);
}

.syllabus-topics li::before {
  content: "•";
  color: var(--li-blue);
  margin-right: 0.45rem;
}

.mod-title {
  color: var(--text);
}

.syllabus-item p {
  margin: 0.7rem 0 0 0.2rem;
  color: var(--muted);
  font-size: var(--fs-md);
}

.project-card,
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.2rem;
}

.project-badge {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--li-blue);
  background: var(--li-blue-soft);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.6rem;
}

.review-card .stars {
  color: #f4b400;
  margin-bottom: 0.55rem;
}

.review-card p {
  color: var(--muted);
  margin: 0 0 0.85rem;
  line-height: 1.6;
}

.review-card strong {
  display: block;
  color: var(--text);
}

.review-card span {
  color: var(--muted-2);
  font-size: var(--fs-xs);
}

.mode-card.is-recommended {
  border-color: #b9d3ec;
  box-shadow: var(--shadow);
}

.rec-pill {
  display: inline-block;
  margin-bottom: 0.55rem;
  background: var(--li-blue);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.55rem;
}

.batch-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.batch-table {
  width: 100%;
  border-collapse: collapse;
}

.batch-table th,
.batch-table td {
  text-align: left;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-md);
}

.batch-table th {
  color: var(--muted);
  font-size: var(--fs-xs);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
  background: var(--bg-warm);
}

.batch-table tr:last-child td {
  border-bottom: 0;
}

.cert-panel {
  padding: 1.25rem;
  border: 1px solid #d7e4f2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 0 #fff, 0 16px 32px -28px rgba(16, 50, 90, 0.45);
}

.cert-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1.5rem;
  align-items: stretch;
}

.cert-sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 100%;
  padding: 1.7rem 1.4rem 1.15rem;
  text-align: center;
  background: #fff;
  border: 1px solid #c5d7ea;
  border-radius: 4px;
  box-shadow:
    inset 0 0 0 7px #f7f9fb,
    inset 0 0 0 8px #d7e4f2;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cert-sheet:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 0 0 7px #f7f9fb,
    inset 0 0 0 8px #d7e4f2,
    0 4px 0 rgba(10, 102, 194, 0.08),
    0 16px 22px -16px rgba(16, 50, 90, 0.4);
}

.cert-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid var(--li-blue);
}

.cert-corner:nth-child(1) {
  top: 14px;
  left: 14px;
  border-right: 0;
  border-bottom: 0;
}

.cert-corner:nth-child(2) {
  top: 14px;
  right: 14px;
  border-left: 0;
  border-bottom: 0;
}

.cert-corner:nth-child(3) {
  bottom: 14px;
  left: 14px;
  border-right: 0;
  border-top: 0;
}

.cert-corner:nth-child(4) {
  right: 14px;
  bottom: 14px;
  border-left: 0;
  border-top: 0;
}

.cert-mark {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.25rem;
  border: 1px solid #9ec5e8;
  border-radius: 50%;
  background: var(--li-blue-soft);
  color: var(--li-blue);
}

.cert-mark svg {
  width: 1.2rem;
  height: 1.2rem;
}

.cert-sheet p {
  margin: 0;
  color: var(--li-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cert-org {
  color: #243140;
  font-size: 0.95rem;
  font-weight: 600;
}

.cert-sheet strong {
  max-width: 26ch;
  margin-top: 0.45rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #111;
}

.cert-issued {
  width: 100%;
  margin-top: 0.55rem;
  padding-top: 0.7rem;
  border-top: 1px solid #d7e4f2;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.01em;
}

.cert-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  min-width: 0;
}

.cert-label {
  margin: 0;
  color: #111;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cert-points {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #e6eef6;
}

.cert-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #e6eef6;
  color: #243140;
  font-size: var(--fs-sm);
  line-height: 1.45;
}

.cert-points svg {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  color: var(--li-blue);
}

.cert-note {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

.cert-copy .btn {
  align-self: flex-start;
}

@media (prefers-reduced-motion: reduce) {
  .cert-sheet,
  .cert-sheet:hover {
    transform: none;
    transition: none;
  }
}

@media (max-width: 960px) {
  .course-hero-grid,
  .cert-grid,
  .objective-grid,
  .project-grid,
  .review-grid,
  .feature-grid-6 {
    grid-template-columns: 1fr 1fr;
  }

  .course-hero-grid,
  .cert-grid {
    grid-template-columns: 1fr;
  }

  .course-enroll-card {
    position: static;
  }

  .course-stat-pills {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .objective-grid,
  .project-grid,
  .review-grid,
  .feature-grid-6,
  .course-stat-pills {
    grid-template-columns: 1fr;
  }

  .kf {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .kf-rail {
    display: none;
  }

  .kf-copy p {
    max-width: none;
  }

  .kf-list {
    gap: 1.35rem;
  }

  .course-jump {
    position: static;
    flex-wrap: wrap;
  }

  #overview,
  #objectives,
  #features,
  #syllabus,
  #projects,
  #training-options,
  #batches,
  #reviews,
  #certification,
  #faq {
    scroll-margin-top: calc(var(--header-h) + 0.75rem);
  }

  .batch-table-wrap {
    overflow: visible;
    background: transparent;
    border: 0;
  }

  .batch-table thead {
    display: none;
  }

  .batch-table,
  .batch-table tbody,
  .batch-table tr,
  .batch-table td {
    display: block;
    width: 100%;
  }

  .batch-table tr {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 0.75rem;
    padding: 0.9rem 1rem;
  }

  .batch-table td {
    border: 0;
    padding: 0.15rem 0;
  }

  .batch-table td:last-child {
    padding-top: 0.65rem;
  }
}

/* ===== Checkout page ===== */
.page-checkout #main,
.page-checkout {
  background: var(--bg-warm);
}

.checkout-page {
  padding: 2rem 0 3rem;
  min-height: 70vh;
}

.checkout-wrap {
  max-width: 1100px;
}

.checkout-shell {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.checkout-main {
  padding: 1.75rem 1.6rem 1.8rem;
}

.checkout-main h1 {
  margin: 0;
  font-size: var(--fs-2xl);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}

.checkout-sub {
  margin: 0.4rem 0 1.2rem;
  color: var(--muted);
  font-size: var(--fs-md);
}

.checkout-step {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 0.9rem;
  background: #fff;
}

.checkout-step.is-locked .checkout-step-body {
  display: none;
}

.checkout-step.is-active .checkout-step-body {
  display: block;
}

.checkout-step-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #fff;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.checkout-step-bar.is-muted {
  background: var(--bg-warm);
  color: var(--muted);
  border-bottom: none;
}

.checkout-step.is-locked .checkout-step-bar {
  border-bottom: none;
}

.checkout-step-bar strong {
  font-size: var(--fs-md);
}

.step-status {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--li-blue-soft);
  color: var(--li-blue);
  border-radius: var(--radius-pill);
  padding: 0.28rem 0.6rem;
}

.step-status.muted {
  background: var(--border-strong);
  color: var(--muted);
}

.checkout-step-body {
  padding: 1.15rem 1rem 1.25rem;
  display: grid;
  gap: 0.85rem;
}

.phone-split {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.55rem;
}

.phone-split select {
  background: var(--bg-warm);
}

.gst-check {
  margin: 0.15rem 0;
  color: var(--muted);
  font-size: var(--fs-md);
}

.gst-field {
  display: none;
}

.gst-field.is-open {
  display: grid;
}

.checkout-proceed,
.checkout-step-body .btn-primary {
  width: 100%;
  margin-top: 0.25rem;
}

.checkout-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: center;
  margin-top: 0.35rem;
}

.checkout-actions .btn-ghost {
  min-width: 96px;
}

.checkout-actions .btn-primary {
  width: 100%;
  margin-top: 0;
}

.payment-note {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-md);
  line-height: 1.5;
}

.pay-methods {
  display: grid;
  gap: 0.55rem;
}

.pay-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.8rem 0.95rem;
  cursor: pointer;
  font-weight: 600;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.pay-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--li-blue);
  flex-shrink: 0;
}

.pay-option-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.pay-option-copy strong {
  color: var(--text);
  font-size: var(--fs-md);
}

.pay-option-copy small {
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 500;
}

.pay-option:hover {
  border-color: #9ec5e8;
}

.pay-option:has(input:checked) {
  border-color: var(--li-blue);
  background: var(--li-blue-soft);
  box-shadow: 0 0 0 1px rgba(10, 102, 194, 0.12);
}

@media (max-width: 560px) {
  .checkout-actions {
    grid-template-columns: 1fr;
  }

  .checkout-actions .btn-ghost {
    order: 2;
    width: 100%;
  }

  .checkout-actions .btn-primary {
    order: 1;
  }
}

.checkout-summary {
  background: var(--bg-warm);
  border-left: 1px solid var(--border);
  padding: 1.5rem 1.35rem 1.6rem;
}

.summary-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.summary-head h2 {
  margin: 0;
  font-size: var(--fs-md);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--li-blue);
}

.summary-shield {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
  background: var(--li-blue);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
}

.checkout-summary h3 {
  margin: 0 0 0.35rem;
  font-size: var(--fs-lg);
  color: var(--li-blue-hover);
  line-height: 1.35;
}

.summary-mode {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: var(--fs-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
}

.summary-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.badge-valid,
.badge-days {
  font-size: var(--fs-xs);
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.65rem;
}

.badge-valid {
  background: #e6f4ea;
  color: #0b8043;
}

.badge-days {
  background: var(--li-blue-soft);
  color: var(--li-blue);
}

.promo-box {
  margin-bottom: 1rem;
}

.promo-box label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.promo-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
}

.promo-hint {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: var(--fs-xs);
}

.promo-hint code {
  background: var(--li-blue-soft);
  padding: 0.1rem 0.35rem;
  border-radius: var(--radius);
  font-size: var(--fs-xs);
}

.summary-lines {
  display: grid;
  gap: 0.55rem;
  font-size: var(--fs-md);
}

.summary-lines > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.summary-lines strong {
  color: var(--text);
}

.summary-lines .discount strong {
  color: var(--teal);
}

.summary-lines hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 0.25rem 0;
}

.summary-total {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 2px solid var(--border-strong);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--li-blue-hover);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.summary-total strong {
  font-size: var(--fs-xl);
}

.checkout-success {
  padding: 2rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.checkout-success h1 {
  margin-top: 0;
}

@media (max-width: 900px) {
  .checkout-shell {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
}

/* ===== LinkedIn-style long article ===== */
.page-article #main {
  background: var(--bg-warm);
}

.article-top {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0 1.75rem;
}

.article-kicker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  margin: 0.85rem 0 0.75rem;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.article-title {
  margin: 0;
  max-width: 46rem;
  font-size: var(--fs-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}

.article-deck {
  margin: 0.75rem 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: var(--fs-lg);
  line-height: 1.55;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.article-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
  background: var(--li-blue);
  color: #fff;
  font-weight: 700;
}

.article-byline strong {
  display: block;
  color: var(--text);
  font-size: var(--fs-md);
}

.article-byline span {
  color: var(--muted);
  font-size: var(--fs-xs);
}

.article-section {
  padding-top: 1.25rem;
}

.article-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 240px;
  gap: 1.15rem;
  align-items: start;
}

.article-nav {
  position: sticky;
  top: calc(var(--header-h) + 0.85rem);
  padding: 1rem 1.05rem 1.15rem;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.article-nav-label {
  margin: 0 0 0.65rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.article-toc {
  max-height: min(58vh, 420px);
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.article-toc::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.article-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}

.article-toc a {
  display: block;
  padding: 0.45rem 0.55rem;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.35;
  border-left: 3px solid transparent;
}

.article-toc a:hover {
  background: var(--li-blue-soft);
  color: var(--li-blue);
}

.article-toc a.is-active {
  background: var(--li-blue-soft);
  color: var(--li-blue-hover);
  border-left-color: var(--li-blue);
  font-weight: 600;
}

.article-nav-empty {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.article-nav-cta {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
}

.article-rail {
  position: sticky;
  top: calc(var(--header-h) + 0.85rem);
  padding: 0;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: var(--radius-lg);
  border-top: 1px solid #dadce0;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08), 0 1px 3px 1px rgba(60, 64, 67, 0.06);
  overflow: hidden;
}

.g-rail-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem 0.85rem;
  border-bottom: 1px solid #e8eaed;
  background: #f8f9fa;
}

.g-rail-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.55), transparent 42%),
    linear-gradient(135deg, #174ea6 0%, #1a73e8 48%, #8ab4f8 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.g-rail-kicker {
  margin: 0;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #5f6368;
}

.g-rail-title {
  margin: 0.1rem 0 0;
  font-size: var(--fs-base);
  font-weight: 600;
  color: #202124;
  letter-spacing: -0.01em;
}

.article-rail-list,
.g-rail-list {
  max-height: min(62vh, 480px);
  overflow: auto;
  padding: 0.35rem 0.45rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.article-rail-list::-webkit-scrollbar,
.g-rail-list::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.article-rail-list ul,
.g-rail-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}

.g-rail-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  padding: 0.55rem 0.5rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: background 0.15s ease;
}

.g-rail-item:hover {
  background: #f1f3f4;
}

.g-rail-item.is-current {
  background: #e8f0fe;
}

.g-rail-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #174ea6, #8ab4f8);
}

.g-rail-thumb[data-tone="1"] { background: linear-gradient(135deg, #0b8043, #81c995); }
.g-rail-thumb[data-tone="2"] { background: linear-gradient(135deg, #e37400, #fde293); }
.g-rail-thumb[data-tone="3"] { background: linear-gradient(135deg, #c5221f, #f28b82); }
.g-rail-thumb[data-tone="4"] { background: linear-gradient(135deg, #00838f, #80deea); }
.g-rail-thumb[data-tone="5"] { background: linear-gradient(135deg, #5f6368, #bdc1c6); }

.g-rail-thumb-shape {
  position: absolute;
  inset: auto -8px -10px auto;
  width: 28px;
  height: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.35);
  transform: rotate(18deg);
}

.g-rail-thumb-shape::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: var(--radius-pill);
  left: -16px;
  top: -8px;
  background: rgba(255, 255, 255, 0.22);
}

.g-rail-copy {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.g-rail-cat {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #5f6368;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.g-rail-item-title {
  color: #1a73e8;
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.g-rail-item.is-current .g-rail-item-title {
  color: #174ea6;
  font-weight: 600;
}

.g-rail-item:hover .g-rail-item-title {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.g-rail-more,
.article-rail-more {
  display: block;
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid #e8eaed;
  width: 100%;
  color: #1a73e8;
  font-weight: 600;
  font-size: var(--fs-sm);
  text-align: left;
  background: #fff;
}

.g-rail-more:hover {
  background: #f8f9fa;
  text-decoration: underline;
}

.article-main {
  padding: 1.5rem 1.6rem 1.75rem;
  background: #fff;
  border: 1px solid #c9dff5;
  border-top: 3px solid var(--li-blue);
  background-image: linear-gradient(180deg, #f7fbff 0%, #ffffff 120px);
}

.article-main.prose {
  color: var(--text);
  font-size: var(--fs-base);
}

.article-main.prose h2 {
  margin: 2rem 0 0.75rem;
  padding-top: 0.35rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text);
}

.article-main.prose h2:first-child {
  margin-top: 0.35rem;
}

.article-main.prose p {
  margin: 0 0 1rem;
  color: #3f3f3f;
  line-height: 1.75;
}

.article-main.prose p:last-of-type {
  margin-bottom: 0;
}

.article-main .article-footer-actions {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.article-more-section {
  border-top: 1px solid var(--border);
}

@media (max-width: 1100px) {
  .article-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .article-rail {
    grid-column: 1 / -1;
    position: static;
  }

  .article-rail-list {
    max-height: none;
  }
}

@media (max-width: 960px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-nav,
  .article-rail {
    position: static;
  }

  .article-toc {
    max-height: none;
  }
}

/* ===== Auth + LMS ===== */
body.page-auth {
  background: #eef2f6;
}

body.page-auth .bg-atmosphere {
  display: none;
}

body.page-auth .site-footer {
  display: none;
}

.auth-page {
  padding: 2.6rem 0 3.4rem;
}

.auth-slab {
  width: min(100% - 2rem, 420px);
  margin: 0.6rem auto 0;
}

.auth-panel {
  padding: 1.15rem 1.15rem 1rem;
  background: #fff;
  border: 1px solid #d7e0ea;
  border-radius: 12px;
  box-shadow: none;
}

.auth-panel h1 {
  margin: 0;
  text-align: left;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.auth-lede {
  margin: 0.2rem 0 0.85rem;
  text-align: left;
  color: var(--muted);
  font-size: 0.92rem;
}

.auth-panel .form-row input,
.auth-panel .form-row select {
  background: #fff;
  border: 1px solid #d5e0ea;
  border-radius: 8px;
  box-shadow: none;
  padding: 0.55rem 0.75rem;
}

.auth-panel .form-row input:focus,
.auth-panel .form-row select:focus {
  background: #fff;
  border-color: var(--li-blue);
  box-shadow: none;
}

.auth-lede a,
.auth-note a,
.auth-switch a,
.auth-agree a,
.auth-label-row a {
  color: var(--li-blue);
  font-weight: 600;
}

.auth-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 40px;
  padding: 0.5rem 0.85rem;
  border: 1px solid #d5e0ea;
  border-radius: 8px;
  background: #fff;
  color: #1c2834;
  font-weight: 600;
  box-shadow: none;
}

.auth-google:hover {
  background: #f7f9fb;
  border-color: #b7c3d0;
  box-shadow: none;
}

.auth-google-mark {
  flex: 0 0 auto;
}

.auth-note {
  margin: 0.35rem 0 0;
  color: #6b7c8d;
  font-size: 0.75rem;
  line-height: 1.4;
}

.auth-or {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  margin: 0.7rem 0 0;
  color: #8aa0b4;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-or::before,
.auth-or::after {
  content: "";
  height: 1px;
  background: #e0e6ee;
}

.auth-section-label {
  margin: 0.45rem 0 0;
  color: #7d8fa1;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-panel .form-grid {
  gap: 0.55rem;
}

.auth-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.auth-phone {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  gap: 0.55rem;
}

.auth-hint {
  margin: 0.35rem 0 0;
  color: #7b8b9a;
  font-size: 0.78rem;
}

.auth-secret {
  position: relative;
}

.auth-secret input {
  width: 100%;
  padding-right: 4.2rem;
}

.auth-eye {
  position: absolute;
  top: 50%;
  right: 0.45rem;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--li-blue);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.pw-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  margin: 0.45rem 0 0;
  padding: 0;
  list-style: none;
  color: #8aa0b4;
  font-size: 0.75rem;
}

.pw-rules li::before {
  content: "○ ";
}

.pw-rules li.is-met {
  color: #0a7a32;
}

.pw-rules li.is-met::before {
  content: "● ";
}

.auth-agree {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.45;
}

.auth-agree input {
  margin-top: 0.2rem;
}

.auth-label-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
}

.auth-submit {
  width: 100%;
  border-radius: 8px;
  min-height: 42px;
  box-shadow: none;
}

.auth-reset-link {
  display: block;
  margin-top: 0.45rem;
  color: var(--li-blue);
  font-weight: 600;
  word-break: break-all;
}

.auth-switch {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: left;
}

@media (max-width: 760px) {
  .auth-panel {
    padding: 1rem 0.9rem 0.9rem;
  }

  .auth-phone {
    grid-template-columns: 6.4rem minmax(0, 1fr);
  }
}

.lms-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--header-h);
  z-index: 20;
}

.lms-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 0;
  flex-wrap: wrap;
}

.lms-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.lms-nav-link {
  color: var(--muted);
  font-weight: 600;
  font-size: var(--fs-md);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.lms-nav-link:hover,
.lms-nav-link.is-active {
  color: var(--li-blue);
  border-bottom-color: var(--li-blue);
}

.lms-nav-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.lms-page {
  background: var(--bg-warm);
  min-height: 60vh;
}

.lms-page-head {
  margin-bottom: 1.25rem;
}

.lms-page-head h1 {
  margin: 0 0 0.35rem;
  font-size: var(--fs-2xl);
}

.lms-page-head p {
  margin: 0;
  color: var(--muted);
}

.lms-back {
  margin-bottom: 0.5rem !important;
}

.lms-empty {
  padding: 2rem 1.5rem;
  text-align: center;
}

.lms-empty h2 {
  margin-top: 0;
}

.lms-course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.lms-course-card {
  padding: 1.15rem 1.1rem 1.2rem;
  display: grid;
  gap: 0.55rem;
}

.lms-course-card h2 {
  margin: 0;
  font-size: var(--fs-lg);
}

.lms-course-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-md);
}

.lms-course-meta,
.lms-course-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: var(--fs-xs);
  color: var(--muted);
}

.lms-chip {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
  background: var(--bg-warm);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: var(--fs-xs);
}

.lms-chip.is-enrolled {
  background: #e6f5ec;
  border-color: #a8d5b5;
  color: var(--teal);
}

.lms-table-wrap,
.lms-detail-card {
  padding: 1.15rem 1.2rem;
}

.lms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-md);
}

.lms-table th,
.lms-table td {
  text-align: left;
  padding: 0.7rem 0.55rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.lms-table th {
  color: var(--muted);
  font-weight: 600;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.lms-muted {
  color: var(--muted);
}

.lms-status {
  display: inline-block;
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.lms-status.status-pending {
  background: #fff4e5;
  color: #9a5b00;
}

.lms-status.status-paid {
  background: #e6f5ec;
  color: var(--teal);
}

.lms-status.status-failed,
.lms-status.status-cancelled {
  background: #fde7e9;
  color: var(--danger);
}

.lms-dl {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0;
}

.lms-dl div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.5rem;
}

.lms-dl dt {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.lms-dl dd {
  margin: 0;
  font-weight: 600;
}

.lms-amount-box {
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
  display: grid;
  gap: 0.45rem;
}

.lms-amount-box div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.lms-amount-box .is-total {
  margin-top: 0.35rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--border);
  font-size: var(--fs-lg);
}

@media (max-width: 720px) {
  .lms-table-wrap {
    overflow-x: auto;
  }

  .lms-dl div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

/* Quick answer, key facts, FAQs, and sources saved in Admin → SEO (seo_extras_html) */
.seo-extras .container {
  display: grid;
  gap: 1.75rem;
}

.seo-extras h2 {
  margin: 0 0 0.65rem;
  font-size: var(--fs-xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.seo-answer p {
  margin: 0;
  font-size: var(--fs-lg);
  line-height: 1.6;
}

.seo-facts,
.seo-sources {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.6;
}

.seo-sources a {
  color: var(--li-blue);
  overflow-wrap: anywhere;
}

.seo-sources a:hover {
  text-decoration: underline;
}

.seo-byline {
  margin: 0;
  color: #6666660a;
  font-size: var(--fs-sm);
}
