:root {
  --ink: #10231f;
  --muted: #5d6e68;
  --line: #dce7e2;
  --paper: #ffffff;
  --mist: #f3f7f5;
  --mint: #dff7ec;
  --green: #0c7659;
  --green-dark: #07533f;
  --blue: #3057d5;
  --violet: #7154cf;
  --amber: #b76513;
  --radius-sm: 16px;
  --radius: 26px;
  --radius-lg: 36px;
  --shadow: 0 18px 50px rgba(22, 57, 47, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.reading-shell {
  width: min(860px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.site-header__inner,
.site-footer__inner,
.main-nav,
.brand,
.hero-actions,
.article-byline,
.article-byline__time,
.section-heading--row {
  display: flex;
  align-items: center;
}

.site-header__inner {
  min-height: 76px;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  gap: 11px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  border-radius: 11px;
}

.main-nav {
  gap: 24px;
}

.main-nav a,
.footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink);
}

.main-nav .nav-cta {
  padding: 11px 17px;
  border-radius: 12px;
  color: #fff;
  background: var(--green);
}

.blog-hero,
.hub-hero,
.article-hero {
  position: relative;
  overflow: hidden;
}

.blog-hero {
  padding: 78px 0 68px;
  background:
    radial-gradient(circle at 84% 15%, rgba(48, 87, 213, 0.14), transparent 28%),
    radial-gradient(circle at 10% 82%, rgba(12, 118, 89, 0.14), transparent 29%),
    #f7faf9;
}

.blog-hero__grid,
.hub-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 56px;
  align-items: center;
}

.eyebrow,
.article-kicker,
.inline-cta > span,
.cycle-card > span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--mint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-hero h1,
.hub-hero h1,
.article-hero h1,
.section-heading h2,
.wide-cta h2,
.inline-cta h2 {
  margin: 0;
  letter-spacing: -0.05em;
}

.blog-hero h1 {
  max-width: 760px;
  margin-top: 22px;
  font-size: clamp(44px, 6.4vw, 76px);
  line-height: 0.97;
}

.blog-hero p,
.hub-hero p,
.article-deck,
.section-heading p,
.hub-card p,
.article-card p,
.wide-cta p,
.inline-cta p,
.site-footer p,
.article-content p,
.faq-list p {
  color: var(--muted);
  line-height: 1.72;
}

.blog-hero > .shell p,
.hub-hero__grid > div > p {
  max-width: 710px;
  margin: 24px 0 0;
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 780;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 24px rgba(12, 118, 89, 0.18);
}

.button--secondary {
  border-color: var(--line);
  background: #fff;
}

.button--light {
  color: var(--green-dark);
  background: #fff;
}

.cycle-card {
  padding: 30px;
  border: 1px solid rgba(16, 35, 31, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.cycle-card ol {
  display: grid;
  gap: 2px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.cycle-card li {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  min-height: 58px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.cycle-card li strong {
  color: var(--green);
  font-size: 12px;
}

.section {
  padding: 76px 0;
}

.section--tint {
  background: var(--mist);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-top: 14px;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.04;
}

.section-heading p {
  margin: 16px 0 0;
  font-size: 17px;
}

.section-heading--row {
  max-width: none;
  justify-content: space-between;
  gap: 44px;
}

.section-heading--row > p {
  max-width: 420px;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.hub-card {
  position: relative;
  min-height: 330px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(22, 57, 47, 0.05);
}

.hub-card:nth-child(1),
.hub-card:nth-child(2) {
  grid-column: span 3;
}

.hub-card:nth-child(n + 3) {
  grid-column: span 2;
}

.hub-grid--compact .hub-card {
  grid-column: span 3;
  min-height: 300px;
}

.hub-card::before {
  content: "";
  display: block;
  width: 48px;
  height: 8px;
  margin-bottom: 34px;
  border-radius: 99px;
  background: var(--green);
}

.hub-card--lessons::before {
  background: var(--blue);
}

.hub-card--method::before {
  background: var(--violet);
}

.hub-card--ai::before {
  background: linear-gradient(90deg, var(--blue), var(--violet));
}

.hub-card--practice::before {
  background: var(--amber);
}

.hub-card__count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hub-card h2 {
  margin: 14px 0 0;
  font-size: 27px;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hub-card h2 a,
.article-card h2 a {
  text-decoration: none;
}

.hub-card p {
  margin: 14px 0 0;
}

.hub-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  list-style: none;
}

.hub-card li::before {
  content: "•";
  margin-right: 8px;
  color: var(--green);
}

.text-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-top: 22px;
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

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

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

.article-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(22, 57, 47, 0.05);
}

.article-card__cover {
  display: flex;
  min-height: 164px;
  padding: 24px;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 60%),
    var(--green);
}

.article-card__cover--lessons {
  background-color: var(--blue);
}

.article-card__cover--method {
  background-color: var(--violet);
}

.article-card__cover--ai {
  background: linear-gradient(135deg, var(--blue), var(--violet));
}

.article-card__cover--practice {
  background-color: var(--amber);
}

.article-card__cover span {
  max-width: 220px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-card__cover strong {
  font-size: 28px;
  letter-spacing: -0.04em;
}

.article-card__body {
  padding: 25px;
}

.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 12px;
}

.article-card__meta a {
  color: var(--green);
  font-weight: 780;
  text-decoration: none;
}

.article-card h2 {
  margin: 13px 0 0;
  font-size: 27px;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.article-card p {
  margin: 14px 0 0;
}

.article-card--compact h2 {
  font-size: 23px;
}

.wide-cta,
.inline-cta {
  color: #fff;
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.16), transparent 25%),
    var(--green-dark);
}

.wide-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 42px;
  border-radius: var(--radius-lg);
}

.wide-cta > div {
  max-width: 720px;
}

.wide-cta h2,
.inline-cta h2 {
  margin-top: 14px;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.02;
}

.wide-cta p,
.inline-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.eyebrow--light {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.hub-hero {
  padding: 38px 0 72px;
  background: #f7faf9;
}

.hub-hero--lessons {
  background: #f3f5ff;
}

.hub-hero--method {
  background: #f7f4ff;
}

.hub-hero--ai {
  background: linear-gradient(135deg, #f3f5ff, #f8f4ff);
}

.hub-hero--practice {
  background: #fff8f1;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 48px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a {
  text-decoration: none;
}

.hub-hero h1 {
  margin-top: 18px;
  font-size: clamp(42px, 5.8vw, 70px);
  line-height: 0.98;
}

.hub-point-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 10px 28px;
  border: 1px solid rgba(16, 35, 31, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  list-style: none;
}

.hub-point-list li {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 720;
}

.hub-point-list li:last-child {
  border-bottom: 0;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.article-hero {
  padding: 38px 0 58px;
  background:
    radial-gradient(circle at 70% 10%, rgba(12, 118, 89, 0.12), transparent 28%),
    #f7faf9;
}

.article-kicker {
  text-decoration: none;
}

.article-hero h1 {
  margin-top: 18px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
}

.article-deck {
  margin: 24px 0 0;
  font-size: 20px;
}

.article-byline {
  gap: 13px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.author-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: var(--green);
  font-size: 12px;
  font-weight: 850;
}

.article-byline > div:nth-child(2) {
  display: grid;
  gap: 3px;
}

.article-byline span,
.article-byline time {
  color: var(--muted);
  font-size: 13px;
}

.article-byline__time {
  margin-left: auto;
  gap: 18px;
}

.reading-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  gap: 54px;
  justify-content: center;
  padding-top: 64px;
  padding-bottom: 80px;
}

.article-toc {
  position: sticky;
  top: 24px;
  height: fit-content;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--mist);
}

.article-toc > strong {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-toc ol {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.article-toc a {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}

.article-toc a:hover,
.article-toc a:focus-visible {
  color: var(--green);
}

.article-content {
  min-width: 0;
}

.article-content > section {
  scroll-margin-top: 28px;
  margin-top: 54px;
}

.article-content h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.article-content p {
  margin: 18px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
}

.summary-box {
  padding: 28px;
  border: 1px solid #bfe5d6;
  border-radius: var(--radius);
  background: #effaf5;
}

.summary-box > span {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.summary-box ul,
.content-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.summary-box li,
.content-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.6;
}

.summary-box li::before,
.content-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.content-list {
  padding: 24px 26px;
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--mist);
}

.inline-cta {
  padding: 34px;
  border-radius: var(--radius-lg);
}

.inline-cta > span {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.inline-cta .button {
  margin-top: 16px;
}

.faq-section > .eyebrow {
  margin-bottom: 14px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.faq-list summary {
  padding: 19px 21px;
  cursor: pointer;
  font-weight: 780;
}

.faq-list p {
  margin: 0;
  padding: 0 21px 20px;
  font-family: inherit;
  font-size: 15px;
}

.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer__inner {
  justify-content: space-between;
  gap: 30px;
}

.site-footer p {
  max-width: 520px;
  margin: 12px 0 0;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 980px) {
  .blog-hero__grid,
  .hub-hero__grid {
    grid-template-columns: 1fr;
  }

  .cycle-card,
  .hub-point-list {
    max-width: 720px;
  }

  .article-grid--three {
    grid-template-columns: 1fr;
  }

  .reading-layout {
    grid-template-columns: 1fr;
  }

  .article-toc {
    position: static;
  }
}

@media (max-width: 760px) {
  .shell,
  .reading-shell {
    width: min(100% - 24px, 1180px);
  }

  .site-header__inner {
    min-height: 66px;
  }

  .main-nav > a:not(.nav-cta) {
    display: none;
  }

  .blog-hero {
    padding: 54px 0;
  }

  .blog-hero h1,
  .hub-hero h1,
  .article-hero h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .hub-card,
  .hub-card:nth-child(n) {
    grid-column: 1 / -1;
  }

  .hub-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .reading-layout {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .section-heading--row,
  .wide-cta,
  .site-footer__inner,
  .article-byline {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-byline__time {
    margin-left: 0;
  }

  .wide-cta {
    padding: 28px;
  }

  .article-content p {
    font-size: 18px;
  }

  .footer-links {
    flex-direction: column;
  }
}

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

  .button {
    transition: none;
  }
}
