:root {
  --ink: #101613;
  --ink-soft: #23312b;
  --paper: #f7f4ed;
  --paper-2: #ebe6dc;
  --line: rgba(16, 22, 19, 0.14);
  --muted: #64716a;
  --lime: #c9ff3d;
  --teal: #2bbfa3;
  --white: #ffffff;
  --danger: #b84c4c;
  --shadow: 0 20px 60px rgba(16, 22, 19, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 244, 237, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  border-radius: 7px;
  font-weight: 900;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a,
.ghost-link {
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active,
.ghost-link:hover {
  background: rgba(16, 22, 19, 0.07);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  font-size: 0;
  position: relative;
}

.menu-toggle::before {
  content: "";
  width: 20px;
  height: 14px;
  display: block;
  background:
    linear-gradient(var(--ink), var(--ink)) top / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) bottom / 100% 2px no-repeat;
}

.btn {
  border: 0;
  border-radius: 7px;
  min-height: 44px;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(123, 157, 15, 0.24);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-soft {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-teal {
  background: var(--teal);
  color: var(--ink);
}

.section {
  padding: 82px 0;
}

.section-tight {
  padding: 54px 0;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 900;
  margin: 0 0 12px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 5.9rem);
  max-width: 920px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0;
}

.lead {
  color: var(--ink-soft);
  font-size: clamp(1.04rem, 2vw, 1.25rem);
  max-width: 720px;
}

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

.hero {
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: end;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 22, 19, 0.88), rgba(16, 22, 19, 0.58) 42%, rgba(16, 22, 19, 0.24));
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 54px;
}

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

.hero-stats {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-stat {
  padding: 18px 18px 0 0;
}

.hero-stat strong {
  display: block;
  font-size: 1.8rem;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-head p {
  max-width: 560px;
}

.card {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 36px rgba(16, 22, 19, 0.06);
}

.pad {
  padding: 24px;
}

.dark-band {
  background: var(--ink);
  color: var(--white);
}

.dark-band .muted,
.dark-band .lead {
  color: rgba(255, 255, 255, 0.72);
}

.feature-number {
  width: 38px;
  height: 38px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: var(--ink);
  font-weight: 900;
  margin-bottom: 18px;
}

.coach-card {
  overflow: hidden;
}

.coach-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag,
.status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(43, 191, 163, 0.14);
  color: #116f60;
}

.status-lime {
  background: rgba(201, 255, 61, 0.34);
  color: var(--ink);
}

.status-dark {
  background: var(--ink);
  color: var(--white);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.topic-row,
.inbox-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.topic-row:last-child,
.inbox-row:last-child {
  border-bottom: 0;
}

.page-hero {
  padding: 74px 0 46px;
  background: var(--ink);
  color: var(--white);
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 18px;
}

.price {
  font-size: 2.4rem;
  font-weight: 900;
  margin: 18px 0 4px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.plan-card.featured {
  border: 2px solid var(--lime);
  box-shadow: 0 18px 60px rgba(123, 157, 15, 0.18);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 5px;
  background: var(--lime);
  box-shadow: inset 0 0 0 5px var(--ink);
}

.form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 0.9rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  min-height: 46px;
  padding: 10px 12px;
  background: var(--white);
  color: var(--ink);
}

.field textarea {
  min-height: 128px;
  resize: vertical;
}

.success-box {
  display: none;
  padding: 16px;
  border: 1px solid rgba(43, 191, 163, 0.35);
  border-radius: var(--radius);
  background: rgba(43, 191, 163, 0.12);
  color: #075348;
  font-weight: 800;
}

.success-box.is-visible {
  display: block;
}

.forum-layout,
.dashboard-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 96px;
}

.filter-list {
  display: grid;
  gap: 8px;
}

.filter-btn {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 11px 12px;
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
}

.filter-btn.active {
  background: var(--ink);
  color: var(--white);
}

.post-card {
  padding: 20px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.post-card:hover {
  background: rgba(255, 255, 255, 0.62);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}

.post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.mini-btn {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 7px;
  min-height: 36px;
  padding: 7px 10px;
  cursor: pointer;
  color: var(--ink-soft);
}

.mini-btn.active {
  background: var(--lime);
  color: var(--ink);
  border-color: transparent;
  font-weight: 800;
}

.gate {
  display: none;
  text-align: center;
  padding: 54px 24px;
}

.forum-content.is-gated .gate {
  display: block;
}

.forum-content.is-gated .feed-wrap {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(16, 22, 19, 0.62);
}

.modal.is-open {
  display: flex;
}

.modal-panel {
  width: min(720px, 100%);
  max-height: min(86vh, 860px);
  overflow: auto;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 22px 0;
}

.modal-body {
  padding: 22px;
}

.close-btn {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 7px;
  width: 38px;
  height: 38px;
  cursor: pointer;
}

.thread-reply {
  border-left: 4px solid var(--line);
  padding: 14px 0 14px 16px;
  margin-top: 16px;
}

.thread-reply.coach {
  border-left-color: var(--lime);
  background: rgba(201, 255, 61, 0.12);
  padding-right: 12px;
}

.file-preview {
  color: var(--muted);
  font-size: 0.9rem;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 1.08rem;
}

.faq-item p {
  margin-top: 12px;
  color: var(--muted);
  max-width: 820px;
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.disclaimer {
  max-width: 760px;
  font-size: 0.88rem;
  color: var(--muted);
}

.mobile-sticky-cta {
  display: none;
}

.whatsapp-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  font-family: inherit;
}

.whatsapp-fab {
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 16px 38px rgba(18, 140, 126, 0.36);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.whatsapp-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(18, 140, 126, 0.44);
}

.whatsapp-fab svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.whatsapp-widget.is-open .whatsapp-fab {
  display: none;
}

.whatsapp-panel {
  width: min(360px, calc(100vw - 32px));
  overflow: hidden;
  display: none;
  border-radius: 8px;
  background: #efe7dd;
  box-shadow: 0 18px 60px rgba(16, 22, 19, 0.28);
}

.whatsapp-widget.is-open .whatsapp-panel {
  display: block;
}

.whatsapp-header-wrap {
  position: relative;
  background: #075e54;
}

.whatsapp-header {
  width: 100%;
  border: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 56px 14px 14px;
  color: var(--white);
  background: #075e54;
  text-align: left;
  cursor: pointer;
}

.whatsapp-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #075e54;
  background: var(--white);
  font-weight: 900;
}

.whatsapp-title {
  display: block;
  font-weight: 900;
  line-height: 1.15;
}

.whatsapp-status {
  display: block;
  margin-top: 2px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
}

.whatsapp-close {
  position: absolute;
  top: 18px;
  right: 12px;
  margin-left: auto;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

.whatsapp-body {
  min-height: 180px;
  padding: 18px 14px;
  background:
    linear-gradient(rgba(239, 231, 221, 0.9), rgba(239, 231, 221, 0.9)),
    radial-gradient(circle at 20% 20%, rgba(7, 94, 84, 0.08) 0 2px, transparent 3px);
}

.whatsapp-message {
  width: fit-content;
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 8px 8px 8px 2px;
  background: var(--white);
  color: #202c33;
  box-shadow: 0 1px 2px rgba(16, 22, 19, 0.12);
}

.whatsapp-message p {
  margin: 0;
}

.whatsapp-time {
  display: block;
  margin-top: 4px;
  color: #667781;
  font-size: 0.72rem;
  text-align: right;
}

.whatsapp-form {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 8px;
  padding: 10px;
  background: #f0f2f5;
}

.whatsapp-input {
  min-width: 0;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--white);
  color: #202c33;
}

.whatsapp-input:focus {
  outline: 2px solid rgba(37, 211, 102, 0.45);
}

.whatsapp-send {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: var(--white);
  cursor: pointer;
}

.whatsapp-send svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.whatsapp-error {
  display: none;
  grid-column: 1 / -1;
  color: var(--danger);
  font-size: 0.82rem;
  padding: 0 8px 4px;
}

.whatsapp-form.has-error .whatsapp-error {
  display: block;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links,
  .nav-actions {
    position: fixed;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: var(--shadow);
  }

  .nav-links {
    top: 78px;
  }

  .nav-actions {
    top: 352px;
  }

  body.menu-open .nav-links,
  body.menu-open .nav-actions {
    display: flex;
  }

  .grid-4,
  .grid-3,
  .grid-2,
  .split,
  .forum-layout,
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: grid;
  }

  .sidebar {
    position: static;
  }

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

  .media-frame img {
    min-height: 300px;
  }

  .mobile-sticky-cta {
    display: flex;
    width: min(calc(100% - 32px), 360px);
    margin: 18px auto 0;
    box-shadow: var(--shadow);
  }

  .whatsapp-widget {
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-panel {
    width: min(360px, calc(100vw - 32px));
  }
}

@media (max-width: 560px) {
  .container,
  .nav,
  .hero-content {
    width: min(100% - 24px, var(--max));
  }

  .section {
    padding: 58px 0;
  }

  .page-hero {
    padding: 54px 0 34px;
  }

  .pad {
    padding: 18px;
  }

  .topic-row,
  .inbox-row {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .btn {
    width: 100%;
  }

  .mobile-sticky-cta {
    width: calc(100% - 24px);
  }

  .whatsapp-fab {
    width: 56px;
    height: 56px;
  }

  .whatsapp-fab svg {
    width: 30px;
    height: 30px;
  }
}
