* {
  box-sizing: border-box;
  font-family: "Inter", Arial, sans-serif;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f5f7fb;
  color: #172033;
}

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

.navbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 16px 6%;
  position: sticky;
  top: 0;
  z-index: 20;
}

.logo {
  color: #2563eb;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 0;
}

.logo span {
  color: #10b981;
}

.navbar nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.navbar nav a {
  border-radius: 8px;
  color: #475569;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 12px;
}

.navbar nav a:hover {
  background: #eff6ff;
  color: #1d4ed8;
}

.nav-cta {
  background: #2563eb;
  color: #ffffff !important;
}

.hero {
  align-items: center;
  background: linear-gradient(120deg, #f8fafc 0%, #eef6ff 58%, #ecfdf5 100%);
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  min-height: calc(100vh - 68px);
  padding: 56px 6% 48px;
}

.hero-copy,
.hero-panel,
.pathway,
.section,
.practice-band,
.ptln-home-band,
.ptln-poster-section,
.future-modules,
.community-preview {
  min-width: 0;
}

.badge {
  background: #dbeafe;
  border-radius: 999px;
  color: #1d4ed8;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 16px;
  padding: 8px 12px;
  text-transform: uppercase;
}

.hero h1 {
  color: #0f172a;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.02;
  max-width: 980px;
}

.hero-lead {
  color: #475569;
  font-size: 18px;
  line-height: 1.7;
  margin-top: 22px;
  max-width: 760px;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-actions button,
.hero-actions a,
.inline-actions a {
  align-items: center;
  background: #2563eb;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 900;
  justify-content: center;
  min-height: 44px;
  padding: 12px 16px;
}

.hero-actions .secondary,
.inline-actions .secondary {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1d4ed8;
}

.hero-actions .ghost {
  background: #0f172a;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.trust-strip span {
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
  padding: 9px 11px;
}

.hero-panel {
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
  padding: 22px;
}

.panel-head {
  border-bottom: 1px solid #e5e7eb;
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 16px;
}

.panel-head span,
.feature-card span,
.module-grid span,
.practice-steps strong,
.ptln-check-grid strong {
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.panel-head strong {
  color: #111827;
  font-size: 22px;
  line-height: 1.25;
}

.quick-grid {
  display: grid;
  gap: 10px;
}

.quick-grid a {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: grid;
  gap: 5px;
  padding: 14px;
}

.quick-grid a:hover,
.feature-card:hover,
.module-grid a:hover {
  border-color: #93c5fd;
  transform: translateY(-2px);
}

.quick-grid span {
  color: #10b981;
  font-size: 12px;
  font-weight: 900;
}

.quick-grid strong {
  color: #111827;
}

.quick-grid small {
  color: #64748b;
  line-height: 1.45;
}

.pathway,
.section,
.future-modules,
.community-preview {
  padding: 76px 6%;
}

.pathway {
  background: #ffffff;
}

.section-intro {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-intro h2,
.practice-band h2 {
  color: #0f172a;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  margin-bottom: 12px;
}

.section-intro p:not(.badge),
.practice-band p {
  color: #5b6472;
  font-size: 17px;
  line-height: 1.7;
}

.pathway-grid,
.feature-grid,
.module-grid,
.home-community-grid {
  display: grid;
  gap: 16px;
}

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

.pathway-grid article,
.feature-card,
.module-grid a,
.home-community-card,
.practice-steps article {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
  min-width: 0;
  padding: 18px;
  transition: 0.18s ease;
}

.pathway-grid article {
  background: #f8fafc;
}

.pathway-grid span {
  align-items: center;
  background: #2563eb;
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 900;
  height: 36px;
  justify-content: center;
  margin-bottom: 14px;
  width: 36px;
}

h3 {
  color: #111827;
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 8px;
}

p {
  color: #5b6472;
  line-height: 1.65;
}

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

.feature-card {
  display: grid;
  gap: 8px;
}

.feature-card-ptln {
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
  border-color: #bfdbfe;
}

.feature-card-ptln span {
  color: #047857;
}

.ptln-home-band {
  align-items: center;
  background: linear-gradient(135deg, #111827 0%, #1d4ed8 58%, #047857 100%);
  color: #ffffff;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  padding: 76px 6%;
}

.ptln-home-band .badge {
  background: rgba(255, 255, 255, 0.14);
  color: #dbeafe;
}

.ptln-home-copy h2 {
  color: #ffffff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  margin-bottom: 14px;
  max-width: 820px;
}

.ptln-home-copy p:not(.badge) {
  color: #e0f2fe;
  font-size: 17px;
  line-height: 1.7;
  max-width: 820px;
}

.ptln-check-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.ptln-check-grid article {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 16px;
}

.ptln-check-grid strong {
  color: #a7f3d0;
}

.ptln-check-grid span {
  color: #eff6ff;
  line-height: 1.55;
}

.ptln-illustration {
  min-width: 0;
}

.ptln-visual-window {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.32);
  color: #172033;
  display: grid;
  gap: 16px;
  padding: 20px;
}

.ptln-visual-top,
.ptln-visual-list div,
.ptln-visual-footer {
  align-items: center;
  display: flex;
  gap: 10px;
}

.ptln-visual-top {
  justify-content: space-between;
}

.ptln-visual-top span {
  color: #475569;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.ptln-visual-top strong {
  background: #111827;
  border-radius: 8px;
  color: #ffffff;
  font-size: 28px;
  padding: 8px 12px;
}

.ptln-visual-progress {
  background: #e5e7eb;
  border-radius: 999px;
  height: 12px;
  overflow: hidden;
}

.ptln-visual-progress span {
  background: linear-gradient(90deg, #2563eb, #10b981);
  display: block;
  height: 100%;
  width: 72%;
}

.ptln-visual-list {
  display: grid;
  gap: 10px;
}

.ptln-visual-list div {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 14px;
}

.ptln-visual-list strong {
  color: #111827;
  min-width: 130px;
}

.ptln-visual-list span {
  color: #64748b;
  flex: 1;
  line-height: 1.45;
  min-width: 170px;
}

.ptln-visual-list em {
  background: #ecfdf5;
  border-radius: 999px;
  color: #047857;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  padding: 7px 9px;
}

.ptln-visual-footer {
  flex-wrap: wrap;
}

.ptln-visual-footer span {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
}

.ptln-poster-section {
  background: #ffffff;
  padding: 76px 6%;
}

.ptln-poster {
  background: #f8fafc;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(300px, 0.95fr) minmax(360px, 1.1fr);
  overflow: hidden;
}

.ptln-poster-main {
  background: #111827;
  display: flex;
  flex-direction: column;
  grid-row: 1 / span 2;
  justify-content: space-between;
  min-height: 420px;
  padding: 34px;
}

.poster-kicker {
  color: #a7f3d0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: uppercase;
}

.ptln-poster-main h2 {
  color: #ffffff;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
  margin: 18px 0;
  max-width: 720px;
}

.ptln-poster-main p:not(.poster-kicker) {
  color: #dbeafe;
  font-size: 17px;
  line-height: 1.7;
  max-width: 680px;
}

.ptln-poster-main a {
  align-items: center;
  background: #ffffff;
  border-radius: 8px;
  color: #1d4ed8;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  margin-top: 28px;
  max-width: 280px;
  min-height: 46px;
  padding: 12px 16px;
}

.ptln-poster-flow {
  display: grid;
  gap: 12px;
  padding: 24px 24px 0 6px;
}

.ptln-poster-flow article {
  align-items: start;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: 48px 1fr;
  min-width: 0;
  padding: 16px;
}

.ptln-poster-flow span {
  align-items: center;
  background: #eff6ff;
  border-radius: 8px;
  color: #1d4ed8;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.ptln-poster-flow strong {
  color: #111827;
  font-size: 19px;
  line-height: 1.2;
}

.ptln-poster-flow p {
  color: #64748b;
  grid-column: 2;
  line-height: 1.55;
}

.ptln-poster-notes {
  display: grid;
  gap: 12px;
  grid-column: 2;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 24px 24px 6px;
}

.ptln-poster-notes div {
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 14px;
}

.ptln-poster-notes strong {
  color: #047857;
  font-size: 15px;
  line-height: 1.25;
}

.ptln-poster-notes span {
  color: #334155;
  font-size: 13px;
  line-height: 1.45;
}

.practice-band {
  align-items: center;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.8fr);
  padding: 76px 6%;
}

.practice-steps {
  display: grid;
  gap: 12px;
}

.practice-steps article {
  background: #f8fafc;
}

.practice-steps span {
  color: #5b6472;
  display: block;
  line-height: 1.55;
  margin-top: 7px;
}

.future-modules {
  background: #f8fafc;
}

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

.module-grid a {
  display: grid;
  gap: 8px;
}

.module-grid strong {
  color: #111827;
  line-height: 1.35;
}

.module-grid a.small-note-link {
  background: #f8fafc;
  box-shadow: none;
}

.module-grid a.module-ptln {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.module-grid a.module-ptln span {
  color: #047857;
}

.community-preview {
  background: #ffffff;
}

.showcase-intro {
  max-width: 680px;
}

.home-community-grid {
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-community-top {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 52px 1fr;
  margin-bottom: 14px;
}

.home-community-avatar {
  align-items: center;
  background: linear-gradient(135deg, #2563eb, #10b981);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-size: 21px;
  font-weight: 900;
  height: 52px;
  justify-content: center;
  overflow: hidden;
  width: 52px;
}

.home-community-avatar img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.home-community-card h3 {
  font-size: 17px;
  margin-bottom: 3px;
}

.home-community-meta {
  color: #2563eb;
  font-size: 13px;
  font-weight: 800;
}

.home-community-card h4 {
  color: #111827;
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 10px;
}

.home-community-story {
  font-size: 15px;
  max-width: 66ch;
}

.home-community-highlight {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-top: 12px;
  padding: 12px;
}

.home-community-highlight strong {
  color: #111827;
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.home-community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.home-community-actions button,
.like-button,
.home-pagination button {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #2563eb;
  cursor: pointer;
  font-weight: 900;
  padding: 8px 10px;
}

.home-community-actions .primary-action,
.home-pagination button.active {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.like-button.liked {
  background: #dbeafe;
  border-color: #93c5fd;
}

.home-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}

.home-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

footer {
  background: #111827;
  color: #ffffff;
  padding: 38px 6%;
  text-align: center;
}

footer h3,
footer p {
  color: #ffffff;
}

@media (max-width: 1180px) {
  .pathway-grid,
  .feature-grid,
  .module-grid,
  .home-community-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero,
  .practice-band,
  .ptln-home-band,
  .ptln-poster {
    grid-template-columns: 1fr;
  }

  .ptln-poster-flow,
  .ptln-poster-notes {
    grid-column: auto;
    padding-left: 24px;
  }

  .ptln-poster-main {
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .navbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .navbar nav {
    justify-content: flex-start;
  }

  .navbar nav a {
    padding: 8px 9px;
  }

  .hero,
  .pathway,
  .section,
  .practice-band,
  .ptln-home-band,
  .ptln-poster-section,
  .future-modules,
  .community-preview {
    padding-left: 5%;
    padding-right: 5%;
  }

  .pathway-grid,
  .feature-grid,
  .module-grid,
  .home-community-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    padding: 16px;
  }

  .ptln-check-grid {
    grid-template-columns: 1fr;
  }

  .ptln-poster-main {
    min-height: auto;
    padding: 24px;
  }

  .ptln-poster-flow,
  .ptln-poster-notes {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ptln-poster-flow {
    padding-top: 16px;
  }

  .ptln-poster-notes {
    grid-template-columns: 1fr;
    padding-bottom: 16px;
  }
}
