/* ============================================================
   Builderek — Landing Page styles
   Font: Space Mono | Colors: #1c1c1c, #9CAE89, #f5f3ee
   ============================================================ */

:root {
  --ink: #1c1c1c;
  --bg: #f5f3ee;
  --bg-alt: #efece5;
  --accent: #9CAE89;
  --accent-dark: #7e9170;
  --muted: #6b6b66;
  --line: rgba(28, 28, 28, 0.12);
  --radius: 14px;
  --radius-sm: 8px;
  --max-w: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--accent); }

/* ----------------------- Buttons ----------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}
.btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--bg); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--outline:hover { border-color: var(--ink); }

.btn--lg { padding: 14px 24px; font-size: 15px; }
.btn--xl { padding: 18px 32px; font-size: 16px; }
.btn--block { width: 100%; }

/* ----------------------- Nav ----------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 243, 238, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand__logo {
  width: 28px;
  height: auto;
}

.brand__name { font-size: 16px; letter-spacing: -0.02em; }

.nav__links {
  display: flex;
  gap: 28px;
  font-size: 14px;
}

.nav__links a { position: relative; }
.nav__links a:hover { color: var(--accent-dark); }

.nav__cta { padding: 10px 18px; }

/* ----------------------- Hero ----------------------- */
.hero {
  padding: 96px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(156, 174, 137, 0.18), transparent 70%),
    radial-gradient(500px 300px at 10% 80%, rgba(156, 174, 137, 0.12), transparent 70%);
  pointer-events: none;
}

.hero__inner { position: relative; max-width: 880px; }

.hero__title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.hero__sub {
  font-size: clamp(15px, 1.4vw, 18px);
  max-width: 640px;
  margin: 0 0 36px;
  color: var(--ink);
  opacity: 0.85;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 64px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 720px;
}

.stat__num {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat__label {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ----------------------- Marquee ----------------------- */
.marquee {
  background: var(--ink);
  color: var(--bg);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.marquee__track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marquee 45s linear infinite;
}

.marquee__list {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.marquee__list li:nth-child(even) { color: var(--accent); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ----------------------- Sections ----------------------- */
.section {
  padding: 96px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section__title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.section__lead {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}

/* ----------------------- Grids ----------------------- */
.grid {
  display: grid;
  gap: 24px;
}

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

/* ----------------------- Card (Kiknek szól) ----------------------- */
.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .2s ease, border-color .2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.card__illustration {
  width: 88px;
  height: 88px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.card:hover .card__illustration {
  background: rgba(156, 174, 137, 0.12);
  border-color: var(--accent);
  transform: rotate(-2deg);
}

.card__illustration svg { display: block; }

.card__illustration--img {
  padding: 4px;
  overflow: hidden;
}

.card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.card__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}

.card__body {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* ----------------------- Features ----------------------- */
.feature {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, transform .2s ease;
}

.feature:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.feature__num {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.feature__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
}

.feature__body {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 16px;
  flex-grow: 1;
}

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

.tags li {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
}

/* ----------------------- Video Courses ----------------------- */
.section--dark {
  background: var(--ink);
  color: var(--bg);
}

.section--dark .section__title { color: var(--bg); }
.section--dark .section__lead--light { color: rgba(245, 243, 238, 0.7); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section__header--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  text-align: left;
  max-width: none;
  margin-bottom: 56px;
}

.section__header--split .section__title { text-align: left; }

.link-arrow {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  padding-bottom: 6px;
  border-bottom: 1.5px solid transparent;
  transition: border-color .2s ease;
}
.link-arrow:hover { border-color: var(--accent); }

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

.course {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.course:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
}

.course__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #1c1c1c;
}

.course__thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.course:hover .course__thumb-img {
  transform: scale(1.04);
}

.course__play {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(156, 174, 137, 0.35);
  transition: transform .2s ease, background .2s ease;
}

.course__play svg { margin-left: 3px; }

.course:hover .course__play {
  transform: scale(1.1);
  background: #ffffff;
}

.course__lessons {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(28, 28, 28, 0.85);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.course__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.course__tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  line-height: 1.2;
}

.course__tag--category {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 243, 238, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.course__tag--level-1 {
  background: rgba(156, 174, 137, 0.18);
  color: #c8d4b4;
  border: 1px solid rgba(156, 174, 137, 0.45);
}

.course__tag--level-2 {
  background: rgba(156, 174, 137, 0.55);
  color: var(--ink);
  border: 1px solid rgba(156, 174, 137, 0.7);
}

.course__tag--level-3 {
  background: var(--accent);
  color: var(--ink);
  border: 1px solid var(--accent);
}

.course__title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.35;
  color: var(--bg);
}

.course__desc {
  font-size: 13px;
  color: rgba(245, 243, 238, 0.6);
  margin: 0;
  line-height: 1.5;
  flex-grow: 1;
}

.courses__stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cstat { display: flex; flex-direction: column; }
.cstat__num {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.cstat__label {
  font-size: 12px;
  color: rgba(245, 243, 238, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ----------------------- Team / Founders ----------------------- */
.eyebrow--dark { color: var(--accent-dark); }

.founders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.founder {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, transform .2s ease;
}

.founder:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.founder__photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid var(--bg-alt);
  box-shadow: 0 8px 24px -8px rgba(28, 28, 28, 0.2);
  transition: border-color .2s ease, transform .2s ease;
}

.founder:hover .founder__photo {
  border-color: var(--accent);
  transform: scale(1.04);
}

.founder__name {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.founder__role {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.founder__bio {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 20px;
  flex-grow: 1;
  line-height: 1.6;
}

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

.founder__tags li {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* Team strip — rest of the team */
.team-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 32px 36px;
  margin-bottom: 48px;
}

.team-strip__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.team-strip__sub {
  font-size: 14px;
  color: rgba(245, 243, 238, 0.65);
  margin: 0;
  max-width: 540px;
  line-height: 1.6;
}

.team-strip__avatars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.tavatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid var(--ink);
  margin-left: -12px;
  transition: transform .2s ease, border-color .2s ease, z-index 0s;
  cursor: default;
  background: var(--bg-alt);
  position: relative;
}

.tavatar:first-child { margin-left: 0; }

.tavatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tavatar:hover {
  transform: translateY(-4px) scale(1.08);
  border-color: var(--accent);
  z-index: 2;
}

/* Team stats */
.team-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.tstat { display: flex; flex-direction: column; align-items: flex-start; }

.tstat__num {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.tstat__label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-cta { text-align: center; }

.link-arrow--dark {
  color: var(--ink);
  border-bottom-color: var(--ink);
  border-bottom-style: solid;
  border-bottom-width: 1.5px;
}
.link-arrow--dark:hover { color: var(--accent-dark); border-bottom-color: var(--accent-dark); }

/* ----------------------- Pricing ----------------------- */
.pricing { align-items: stretch; }

.plan {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s ease;
}

.plan--featured {
  border-color: var(--accent);
  border-width: 2px;
  transform: translateY(-8px);
  box-shadow: 0 16px 40px -16px rgba(156, 174, 137, 0.35);
}

.plan--featured:hover { transform: translateY(-12px); }

.plan__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

.plan__name {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px;
}

.plan__price {
  margin: 0 0 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.plan__amount {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.plan__period {
  font-size: 13px;
  color: var(--muted);
  margin-left: 4px;
}

.plan__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan__list li {
  font-size: 14px;
  padding-left: 24px;
  position: relative;
}

.plan__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ----------------------- Community ----------------------- */
.community {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.community__copy .section__title { text-align: left; margin-bottom: 20px; }

.community__lead {
  font-size: 17px;
  color: var(--ink);
  opacity: 0.85;
  margin: 0 0 28px;
  line-height: 1.6;
}

.forum {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 40px -20px rgba(28, 28, 28, 0.15);
  display: flex;
  flex-direction: column;
}

/* Forum header — brand + tabs */
.forum__head {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}

.forum__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px 10px;
}

.forum__logo {
  width: 18px;
  height: auto;
}

.forum__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.forum__path {
  color: var(--muted);
  font-weight: 400;
}

.forum__tabs {
  display: flex;
  gap: 2px;
  padding: 0 12px;
}

.forum__tab {
  appearance: none;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .15s ease, border-color .15s ease;
}

.forum__tab:hover { color: var(--ink); }

.forum__tab--active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

/* Post list */
.forum__list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex-grow: 1;
}

.post {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  transition: background .15s ease;
  position: relative;
  cursor: pointer;
}

.post:last-child { border-bottom: none; }
.post:hover { background: var(--bg-alt); }

.post--unread::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
}

/* Avatar + online dot */
.post__left {
  position: relative;
  flex-shrink: 0;
}

.post__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.post__online {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #4caf50;
  border: 2px solid #ffffff;
}

/* Main content */
.post__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.post__head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.post__pin,
.post__hot {
  font-size: 11px;
  line-height: 1;
}

.post__category {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.post__category--claude  { background: rgba(156, 174, 137, 0.18); color: var(--accent-dark); }
.post__category--prompt  { background: rgba(212, 196, 176, 0.35); color: #8a6f4e; }
.post__category--tools   { background: rgba(174, 156, 200, 0.25); color: #6b5b8a; }
.post__category--launch  { background: rgba(224, 195, 114, 0.25); color: #8a6e22; }

.post__title {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  color: var(--ink);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.post:hover .post__title { color: var(--accent-dark); }

.post__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
  flex-wrap: wrap;
  line-height: 1.4;
}

.post__author {
  font-weight: 700;
  color: var(--ink);
}

.post__sep { opacity: 0.5; }

.post__activity { opacity: 0.85; }

/* Stats column */
.post__stats {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

.pstat {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  min-width: 36px;
}

.pstat svg { opacity: 0.7; flex-shrink: 0; }

/* Forum footer */
.forum__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  font-size: 12px;
}

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

.forum__more {
  color: var(--accent-dark);
  font-weight: 700;
}
.forum__more:hover { text-decoration: underline; }

/* Reuse avatar color classes from courses section for forum posts */
.post__avatar.avatar--mk { background: #c8d4b4; }
.post__avatar.avatar--ap { background: #d4c4b0; }
.post__avatar.avatar--sz { background: var(--accent); }
.post__avatar.avatar--bn { background: #b8c4a4; }

/* ----------------------- Final CTA ----------------------- */
.final-cta {
  background: var(--ink);
  color: var(--bg);
  padding: 120px 0;
  text-align: center;
}

.final-cta__inner { max-width: 720px; margin: 0 auto; }

.final-cta__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.final-cta__copy {
  font-size: 17px;
  opacity: 0.8;
  margin: 0 0 40px;
  line-height: 1.6;
}

/* ----------------------- Footer ----------------------- */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 40px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.footer__links {
  display: flex;
  gap: 20px;
  font-size: 13px;
}

.footer__links a:hover { color: var(--accent-dark); }

/* ----------------------- Responsive ----------------------- */
@media (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .community { grid-template-columns: 1fr; gap: 40px; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-4px); }
  .section__header--split { flex-direction: column; align-items: flex-start; gap: 16px; }
  .courses__stats { grid-template-columns: repeat(2, 1fr); }
  .founders { grid-template-columns: 1fr; }
  .team-strip { grid-template-columns: 1fr; padding: 28px; }
  .team-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .post__stats .pstat:nth-child(n+2) { display: none; }
  .forum__tabs { padding: 0 8px; }
  .forum__tab { padding: 10px 8px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav__links { display: none; }
  .nav__inner { height: 64px; }

  .hero { padding: 64px 0 48px; }
  .hero__ctas .btn { flex: 1; }

  .section { padding: 72px 0; }
  .section__header { margin-bottom: 40px; }

  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }

  .final-cta { padding: 80px 0; }

  .footer__inner { flex-direction: column; text-align: center; }
}
