/* ===== BLOG =====
   Sits on top of the site's own base.css / pricing.css (navigation, footer,
   page glow, buttons, fonts). This file adds the blog layout: a big headline,
   one large card for the newest article, a grid for the rest, and the
   article reading view (short answer, contents, tables, FAQ).
   Same dark surfaces, lime accent and radii as the pricing cards; no blur
   or filters. Topic labels are plain text with a short lime rule - no pills. */

:root {
  --b-card: rgba(255, 255, 255, 0.035);
  --b-card-hover: rgba(255, 255, 255, 0.06);
  --b-line: rgba(255, 255, 255, 0.09);
  --b-line-hover: rgba(197, 245, 120, 0.35);
  --b-text-2: #C9CED6;
  --b-text-3: #98A2AC;
  --b-lime: #C5F578;
}

/* ---------- eyebrow label (topic / "Blog"): text only ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--b-lime); line-height: 1.3;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--b-lime); flex-shrink: 0; }

/* ---------- intro ---------- */
.blog-intro { margin-bottom: 44px; max-width: 820px; }
.blog-title {
  margin: 16px 0 18px; color: #fff; font-weight: 700; letter-spacing: -0.035em;
  font-size: clamp(38px, 6vw, 64px); line-height: 1.04;
}
.blog-lead { margin: 0; color: var(--b-text-3); font-size: 18px; line-height: 1.6; max-width: 640px; }
.blog-note {
  margin: 18px 0 0; padding: 10px 14px; border-radius: 12px; max-width: 640px;
  border: 1px solid var(--b-line); background: var(--b-card); color: var(--b-text-2); font-size: 14px;
}

/* ---------- newest article ---------- */
.feature {
  display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
  background: var(--b-card); border: 1px solid var(--b-line); border-radius: 28px;
  margin-bottom: 24px; overflow: hidden;
  transition: border-color .25s ease, background-color .25s ease;
}
.feature:hover { border-color: var(--b-line-hover); background: var(--b-card-hover); }
.feature-media { position: relative; min-height: 360px; overflow: hidden; }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.feature:hover .feature-media img { transform: scale(1.03); }
.feature-media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent 55%, rgba(12, 14, 13, 0.55) 100%);
}
.feature-body { display: flex; flex-direction: column; align-items: flex-start; padding: 36px 40px 32px; }
.feature-title {
  margin: 20px 0 14px; color: #fff; font-weight: 700; letter-spacing: -0.025em;
  font-size: clamp(24px, 2.8vw, 34px); line-height: 1.15;
}
.feature-excerpt { margin: 0; color: var(--b-text-3); font-size: 16px; line-height: 1.6; max-width: 540px; }
.feature-foot {
  margin-top: auto; padding-top: 28px; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.read-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--b-lime); }
.read-more i { transition: transform .2s ease; }
.feature:hover .read-more i, .card:hover .read-more i { transform: translateX(3px); }

.author { display: inline-flex; align-items: center; gap: 10px; color: var(--b-text-2); font-size: 13.5px; }
.author-mark {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: var(--b-lime); color: #0D0F12; font: 800 13px 'Inter', sans-serif;
  display: inline-flex; align-items: center; justify-content: center;
}
.meta-date { color: var(--b-text-3); font-size: 13.5px; }

/* ---------- grid cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--b-card); border: 1px solid var(--b-line); border-radius: 24px;
  transition: border-color .25s ease, background-color .25s ease;
}
.card[hidden] { display: none; }
.card:hover { border-color: var(--b-line-hover); background: var(--b-card-hover); }
.card-media { aspect-ratio: 3 / 2; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 24px 24px; flex: 1; }
.card-title { margin: 0; color: #fff; font-size: 19px; font-weight: 600; line-height: 1.28; letter-spacing: -0.015em; }
.card-foot { margin-top: auto; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 6px; }

.load-more-wrap { display: flex; justify-content: center; margin-top: 44px; }

/* ---------- article view ---------- */
.crumbs { margin-bottom: 26px; font-size: 14px; }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--b-text-3); transition: color .2s; }
.crumbs a::before { content: '←'; }
.crumbs a:hover { color: #fff; }
.article-head { max-width: 820px; }
.article-title { margin: 16px 0 18px; color: #fff; font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; font-size: clamp(30px, 4.4vw, 50px); text-wrap: balance; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--b-text-3); font-size: 14px; }
.article-updated { margin: 8px 0 0; color: var(--b-text-3); font-size: 13.5px; }
.article-hero { margin: 30px 0 14px; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 8; border: 1px solid var(--b-line); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-col { max-width: 720px; margin: 36px auto 0; }

/* the direct answer: made to be quoted */
.answer-box {
  padding: 22px 26px; border-radius: 20px; margin-bottom: 26px;
  background: linear-gradient(135deg, rgba(197, 245, 120, 0.10), rgba(8, 144, 108, 0.07));
  border: 1px solid rgba(197, 245, 120, 0.25); border-left: 4px solid var(--b-lime);
}
.answer-label { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--b-lime); }
.answer-text { margin: 0; color: #fff; font-size: 18px; line-height: 1.6; font-weight: 500; }

.toc { margin-bottom: 36px; padding: 20px 24px; border-radius: 20px; background: var(--b-card); border: 1px solid var(--b-line); }
.toc-label { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--b-text-3); }
.toc ol { margin: 0; padding-left: 1.3em; list-style: decimal; }
.toc li { margin: 6px 0; color: var(--b-text-3); font-size: 15px; padding-left: 4px; }
.toc li::marker { color: var(--b-lime); font-weight: 600; }
.toc a { color: var(--b-text-2); transition: color .2s; }
.toc a:hover { color: var(--b-lime); }

.article-body { scroll-margin-top: 100px; }
.article-body p { margin: 0 0 20px; font-size: 17.5px; line-height: 1.75; color: var(--b-text-2); }
.article-body h2 { margin: 44px 0 14px; color: #fff; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.22; scroll-margin-top: 100px; }
.article-body h3 { margin: 28px 0 10px; color: #fff; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 1.3em; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin: 0 0 10px; padding-left: 4px; font-size: 17.5px; line-height: 1.65; color: var(--b-text-2); }
.article-body li::marker { color: var(--b-lime); }
.article-body strong { color: #fff; font-weight: 600; }
.article-body a, .answer-text a, .faq a { color: var(--b-lime); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(197, 245, 120, 0.4); }
.article-body a:hover { text-decoration-color: var(--b-lime); }
.article-body .note {
  padding: 14px 18px; border-radius: 14px; font-size: 15px; line-height: 1.6;
  background: rgba(251, 191, 36, 0.08); border: 1px solid rgba(251, 191, 36, 0.25); color: #E8D9A8;
}

.table-wrap { margin: 0 0 26px; overflow-x: auto; border-radius: 16px; border: 1px solid var(--b-line); }
.article-body table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.article-body th, .article-body td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--b-line); line-height: 1.5; }
.article-body thead th { background: rgba(255, 255, 255, 0.05); color: #fff; font-weight: 600; font-size: 13px; letter-spacing: 0.02em; }
.article-body tbody th { color: #fff; font-weight: 600; }
.article-body td { color: var(--b-text-2); }
.article-body tbody tr:last-child th, .article-body tbody tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { margin-top: 48px; }
.faq h2, .sources h2 { margin: 0 0 16px; color: #fff; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; scroll-margin-top: 100px; }
.faq details { border: 1px solid var(--b-line); background: var(--b-card); border-radius: 16px; margin-bottom: 10px; transition: border-color .2s; }
.faq details[open] { border-color: var(--b-line-hover); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; position: relative; color: #fff; font-weight: 600; font-size: 16.5px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--b-lime); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--b-text-2); font-size: 16px; line-height: 1.7; }

.sources { margin-top: 40px; }
.sources h2 { font-size: 20px; }
.sources ul { margin: 0; padding-left: 1.2em; list-style: disc; }
.sources li { margin-bottom: 8px; color: var(--b-text-3); font-size: 14px; line-height: 1.6; }

.cta-card {
  margin: 52px 0 0; padding: 32px 36px; border-radius: 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  background: linear-gradient(135deg, rgba(197, 245, 120, 0.13), rgba(8, 144, 108, 0.10));
  border: 1px solid rgba(197, 245, 120, 0.28);
}
.cta-card h2 { margin: 0 0 8px; color: #fff; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.cta-card p { margin: 0; color: var(--b-text-2); font-size: 15px; line-height: 1.55; }
.cta-card .btn-accent { flex-shrink: 0; white-space: nowrap; }

.more { margin-top: 72px; }
.more-title { margin: 0 0 24px; color: #fff; font-size: 26px; font-weight: 700; letter-spacing: -0.025em; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; }
  .feature-media { min-height: 0; aspect-ratio: 3 / 2; }
  .feature-media::after { background: linear-gradient(180deg, transparent 60%, rgba(12, 14, 13, 0.5) 100%); }
  .feature-body { padding: 26px 24px 24px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; gap: 20px; }
  .blog-lead { font-size: 16px; }
  .cta-card { flex-direction: column; align-items: flex-start; padding: 26px 24px; }
  .article-hero { aspect-ratio: 3 / 2; border-radius: 22px; }
  .article-body p, .article-body li { font-size: 16.5px; }
  .article-body h2, .faq h2 { font-size: 23px; }
  .answer-text { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .feature, .card, .feature-media img, .card-media img { transition: none; }
}

/* ===== FREE TRAINING PLAN LANDING PAGE ===== */
.lp-hero { max-width: 860px; margin-bottom: 72px; }
.lp-form {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: end;
  margin-top: 34px; padding: 22px; border-radius: 24px;
  background: var(--b-card); border: 1px solid var(--b-line);
}
.lp-field label { display: block; margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--b-text-3); }
.lp-field select {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 14px; cursor: pointer;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--b-line); color: #fff; font: 500 15px 'Inter', sans-serif;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2398A2AC' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.lp-field select:focus-visible { outline: 2px solid var(--b-lime); outline-offset: 2px; }
.lp-field select option { background: #16181B; color: #fff; }
.lp-submit { grid-column: 1 / -1; justify-content: center; padding: 15px 28px; font-size: 16px; }
.lp-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--b-text-3); font-size: 14px; }
.lp-trust li::before { content: '\2713'; color: var(--b-lime); font-weight: 700; margin-right: 8px; }

.lp-section { margin-bottom: 72px; }
.lp-h2 { margin: 0 0 14px; color: #fff; font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
.lp-intro { margin: 0 0 28px; max-width: 720px; color: var(--b-text-3); font-size: 17px; line-height: 1.6; }
.lp-intro a, .lp-more { color: var(--b-lime); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(197, 245, 120, 0.4); }
.lp-after { margin: 28px 0 0; }

.lp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 26px; }
.lp-step { padding: 24px; border-radius: 22px; background: var(--b-card); border: 1px solid var(--b-line); }
.lp-num {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-bottom: 14px;
  border-radius: 50%; background: var(--b-lime); color: #0D0F12; font-weight: 800; font-size: 15px;
}
.lp-step h3, .lp-benefits h3, .lp-card h3 { margin: 0 0 8px; color: #fff; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.lp-step p, .lp-benefits p { margin: 0; color: var(--b-text-2); font-size: 15.5px; line-height: 1.6; }

.lp-compare, .lp-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.lp-card { padding: 26px; border-radius: 24px; background: var(--b-card); border: 1px solid var(--b-line); }
.lp-card-pro { border-color: rgba(197, 245, 120, 0.3); background: linear-gradient(135deg, rgba(197, 245, 120, 0.08), rgba(8, 144, 108, 0.06)); }
.lp-card .eyebrow { margin-bottom: 16px; }
.lp-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.lp-list li { position: relative; padding-left: 28px; color: var(--b-text-2); font-size: 15.5px; line-height: 1.55; }
.lp-list li::before { content: '\2713'; position: absolute; left: 0; top: 0; color: var(--b-lime); font-weight: 700; }
.lp-list strong { color: #fff; font-weight: 600; }
.lp-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14.5px; font-weight: 600; }

.table-wrap { margin: 0 0 6px; overflow-x: auto; border-radius: 16px; border: 1px solid var(--b-line); }
.lp-card .table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; }
.lp-card .table-wrap th, .lp-card .table-wrap td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--b-line); line-height: 1.45; }
.lp-card .table-wrap thead th { background: rgba(255, 255, 255, 0.05); color: #fff; font-size: 13px; font-weight: 600; }
.lp-card .table-wrap tbody th { color: #fff; font-weight: 500; }
.lp-card .table-wrap td { color: var(--b-text-2); white-space: nowrap; }
.lp-card .table-wrap tbody tr:last-child th, .lp-card .table-wrap tbody tr:last-child td { border-bottom: 0; }

.lp-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; margin-top: 26px; }

.lp-faq { max-width: 820px; }
.lp-faq details { border: 1px solid var(--b-line); background: var(--b-card); border-radius: 16px; margin-bottom: 10px; transition: border-color .2s; }
.lp-faq details[open] { border-color: var(--b-line-hover); }
.lp-faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; position: relative; color: #fff; font-weight: 600; font-size: 16.5px; line-height: 1.4; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--b-lime); font-size: 22px; font-weight: 400; }
.lp-faq details[open] summary::after { content: '\2013'; }
.lp-faq details p { margin: 0; padding: 0 20px 18px; color: var(--b-text-2); font-size: 16px; line-height: 1.7; }

.lp-final { max-width: none; }

@media (max-width: 960px) {
  .lp-steps, .lp-compare, .lp-plans, .lp-benefits { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lp-form { grid-template-columns: 1fr; padding: 18px; }
  .lp-hero { margin-bottom: 52px; }
  .lp-section { margin-bottom: 52px; }
}
