:root {
  --green-900: #1b4332;
  --green-800: #24553f;
  --green-700: #2d6a4f;
  --green-600: #40916c;
  --green-300: #95d5b2;
  --mint-100: #d8f3dc;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-500: #6c757d;
  --text: #1f2933;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 24px rgba(0, 0, 0, 0.12);
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfb 40%, #f7fbf8 100%);
}


.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 2000;
  padding: 10px 14px;
  background: var(--green-900);
  color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: top 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 12px;
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: var(--green-700);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, color 0.2s;
}

a:hover,
a:focus {
  color: var(--green-800);
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--gray-200);
  backdrop-filter: blur(6px);
}

.header-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--green-900);
  white-space: nowrap;
  text-decoration: none;
}

.brand:hover,
.brand:focus-visible {
  text-decoration: none;
}

.brand-logo {
  height: 44px;
  width: auto;
  border-radius: 0;
  box-shadow: none;
}

.brand-text {
  font-size: 15px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--green-700);
  color: var(--white);
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.main-nav {
  margin-left: auto;
}

.menu-root {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-item {
  position: relative;
}

.menu-trigger {
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.menu-trigger:hover,
.menu-trigger:focus-visible {
  background: #edf7f1;
  box-shadow: var(--shadow-sm);
}

.submenu {
  margin: 0;
  padding: 10px;
  list-style: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  display: none;
}

.submenu li + li {
  margin-top: 2px;
}

.submenu a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
}

.submenu a:hover,
.submenu a:focus-visible {
  background: #edf7f1;
  text-decoration: none;
}

.menu-item.open > .submenu,
.menu-item:hover > .submenu,
.menu-item:focus-within > .submenu {
  display: block;
}

.breadcrumb {
  max-width: 1180px;
  margin: 12px auto 0;
  padding: 0 20px;
  color: var(--gray-500);
  font-size: 14px;
}

.breadcrumb ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumb li::after {
  content: ">";
  margin-left: 8px;
  color: var(--gray-500);
}

.breadcrumb li:last-child::after {
  content: "";
  margin: 0;
}

.main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}

.hero {
  background: linear-gradient(135deg, var(--mint-100), #f4fbf6 55%, #ffffff 100%);
  border: 1px solid #cdebd8;
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.author-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(24px, 4vw, 48px);
  row-gap: 0;
}

.author-hero-copy {
  display: grid;
  gap: 4px;
  max-width: 42ch;
}

.author-hero-copy h1 {
  margin: 0;
}

.author-hero-copy .subtitle {
  margin: 0;
}

.author-hero figure {
  margin: 0;
  display: inline-block;
  width: auto;
  max-width: 100%;
  justify-self: end;
}

.author-hero img {
  width: auto;
  height: auto;
  max-width: min(260px, 34vw);
  max-height: 260px;
  border-radius: 12px;
}

.hero h1,
article h1 {
  margin: 0 0 12px;
  line-height: 1.25;
  color: var(--green-900);
}

.subtitle {
  margin: 0;
  font-size: 18px;
  color: #2e3b42;
}

.meta-line {
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 10px;
}

.hero-image-frame {
  margin: 16px 0 0;
  max-width: 960px;
}

.hero-image-natural {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 5px solid var(--green-600);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

.card p {
  margin: 0 0 12px;
  color: #354149;
}

.section {
  margin-top: 40px;
}

.section h2 {
  margin-bottom: 10px;
  color: var(--green-900);
}

.home-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid #c8e3d4;
  border-radius: 20px;
  padding: clamp(22px, 2.2vw, 30px);
  background:
    radial-gradient(circle at 90% 20%, rgba(64, 145, 108, 0.18), transparent 36%),
    linear-gradient(140deg, #edf8f1 0%, #f8fcf9 58%, #ffffff 100%);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(260px, 0.78fr);
  gap: clamp(16px, 2.2vw, 26px);
  align-items: start;
}

.hero-kicker {
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e2f2e9;
  color: var(--green-900);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green-600);
}

.hero-copy .subtitle {
  margin: 0;
  font-size: 18px;
  max-width: 62ch;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, color 0.2s, background-color 0.2s;
}

.home-btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.home-btn-primary {
  background: var(--green-700);
  color: var(--white);
}

.home-btn-primary:hover {
  background: var(--green-800);
  color: var(--white);
}

.home-btn-secondary {
  background: #ffffff;
  border-color: #cde3d5;
  color: var(--green-900);
}

.home-btn-secondary:hover {
  background: #f1f7f4;
  color: var(--green-900);
}

.hero-proof-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.hero-proof-list li {
  padding-left: 20px;
  position: relative;
  color: #304047;
  font-size: 14px;
}

.hero-proof-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green-600);
}

.hero-media figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 19 / 10;
  max-height: 320px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
  border-radius: 0;
  box-shadow: var(--shadow-md);
}

.hero-stat-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-stat {
  background: #ffffff;
  border: 1px solid #d6e8dc;
  border-radius: 12px;
  padding: 8px;
  text-align: center;
}

.hero-stat strong {
  display: block;
  color: var(--green-900);
  font-size: 18px;
  line-height: 1.2;
}

.hero-stat span {
  font-size: 12px;
  color: #415159;
}

.home-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  background: #ffffff;
}

.home-quick-nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #d4e4da;
  background: #f8fbf9;
  font-size: 14px;
  font-weight: 600;
  color: #2c3e34;
}

.home-quick-nav a:hover {
  background: #edf7f1;
  text-decoration: none;
}

.section-head p {
  margin: 0;
  color: #46555d;
  max-width: 70ch;
}

.goal-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.goal-card {
  display: block;
  border: 1px solid #d7e7dd;
  border-radius: 14px;
  background: #ffffff;
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.goal-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.goal-kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--green-700);
}

.goal-card h3 {
  margin: 0 0 6px;
  color: var(--green-900);
}

.goal-card p {
  margin: 0;
  color: #3f4d55;
}

.cluster-grid {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.cluster-label {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--green-700);
}

.cluster-item {
  border: 1px solid #cde2d4;
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fcf9 100%);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.cluster-item[open] {
  border-color: #9fceb5;
  box-shadow: var(--shadow-md);
}

.cluster-item summary {
  list-style: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
}

.cluster-item summary::-webkit-details-marker {
  display: none;
}

.cluster-item summary:focus-visible {
  outline: 2px solid #76ba96;
  outline-offset: -2px;
}

.cluster-index {
  min-width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #b9dbc8;
  background: #edf7f1;
  color: #2a5f46;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.cluster-summary-copy {
  display: grid;
  gap: 4px;
}

.cluster-title {
  color: var(--green-900);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
}

.cluster-toggle {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid #bedfcd;
  background: #f4fbf7;
  position: relative;
}

.cluster-toggle::before,
.cluster-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  background: #2a5f46;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cluster-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.cluster-item[open] .cluster-toggle::after {
  opacity: 0;
}

.cluster-item > p,
.cluster-actions {
  margin: 0 16px 14px 62px;
}

.cluster-item[open] > p,
.cluster-item[open] .cluster-actions {
  animation: clusterReveal 0.18s ease;
}

.cluster-item > p {
  color: #3f4d55;
}

.cluster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cluster-hub-link,
.cluster-link {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #c8dfd1;
  background: #ffffff;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
  color: #2c5b44;
  text-decoration: none;
}

.cluster-hub-link:hover,
.cluster-link:hover {
  text-decoration: none;
  background: #eef8f2;
  border-color: #9ecab2;
}

.cluster-item:not([open]):hover,
.cluster-item:focus-within {
  border-color: #abd1bb;
  box-shadow: var(--shadow-md);
}

@keyframes clusterReveal {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.review-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.review-card {
  border: 1px solid #d7e7dd;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.review-media {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.review-media img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
}

.review-content {
  padding: 14px;
}

.review-tag {
  margin: 0;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--green-700);
}

.review-content h3 {
  margin: 8px 0 8px;
  line-height: 1.3;
}

.review-content h3 a {
  color: var(--green-900);
}

.review-content > p {
  margin: 0 0 8px;
  color: #3f4d55;
}

.review-meta {
  font-size: 13px;
  color: var(--gray-500);
}

.guide-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.guide-item {
  border: 1px solid #d7e7dd;
  border-radius: 12px;
  background: #ffffff;
  padding: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.guide-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.guide-type {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #edf7f1;
  color: var(--green-900);
  font-size: 12px;
  font-weight: 700;
}

.guide-item h3 {
  margin: 0 0 6px;
  color: var(--green-900);
}

.guide-item p {
  margin: 0;
  color: #3f4d55;
  font-size: 15px;
}

.editor-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.editor-card {
  border: 1px solid #d7e7dd;
  border-radius: 14px;
  background: #ffffff;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.editor-card img {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid #d1e6d8;
}

.editor-card h3 {
  margin: 12px 0 6px;
  color: var(--green-900);
}

.editor-card p {
  margin: 0 0 8px;
  color: #3f4d55;
}

.method-card {
  border: 1px solid #cfe4d5;
  border-radius: 16px;
  padding: 20px;
  background: linear-gradient(160deg, #f2fbf6 0%, #ffffff 100%);
}

.method-card h2 {
  margin-top: 0;
}

.method-steps {
  margin: 12px 0;
  padding-left: 20px;
}

.hub-chip-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.hub-chip {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d6e6dc;
  background: #ffffff;
  color: #2f3f37;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hub-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.home-page .home-animate {
  opacity: 0;
  transform: translateY(12px);
  animation: home-fade-up 0.55s ease forwards;
}

.home-page .home-main > .home-animate:nth-child(1) { animation-delay: 0.04s; }
.home-page .home-main > .home-animate:nth-child(2) { animation-delay: 0.08s; }
.home-page .home-main > .home-animate:nth-child(3) { animation-delay: 0.12s; }
.home-page .home-main > .home-animate:nth-child(4) { animation-delay: 0.16s; }
.home-page .home-main > .home-animate:nth-child(5) { animation-delay: 0.20s; }
.home-page .home-main > .home-animate:nth-child(6) { animation-delay: 0.24s; }
.home-page .home-main > .home-animate:nth-child(7) { animation-delay: 0.28s; }
.home-page .home-main > .home-animate:nth-child(8) { animation-delay: 0.32s; }

@keyframes home-fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.quick-answer {
  margin: 22px 0;
  background: #effaf3;
  border: 1px solid #b9e7ca;
  border-left: 6px solid var(--green-600);
  padding: 16px 18px;
  border-radius: 10px;
}

.quick-answer strong {
  color: var(--green-900);
}

.article-meta {
  margin: 0 0 18px;
}

.author-byline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #f5faf7;
  border: 1px solid #d8eadf;
  border-radius: 10px;
  padding: 10px 12px;
}

.author-avatar {
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid #c8e4d4;
}

.author-byline > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.author-name {
  font-weight: 600;
  color: var(--green-900);
}

.publish-date,
.reading-time {
  color: var(--gray-500);
}

.publish-date::before,
.reading-time::before {
  content: "|";
  margin-right: 8px;
  color: #a0aab2;
}

.affiliate-disclosure {
  margin: 18px 0;
  padding: 12px 14px;
  border: 1px solid #f0d5a6;
  border-left: 5px solid #d4902f;
  background: #fff8ec;
  border-radius: 10px;
  font-size: 14px;
  color: #4a3a21;
}

.toc {
  margin: 22px 0;
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  background: var(--white);
}

.toc h2 {
  margin-top: 0;
  font-size: 18px;
}

.toc ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.toc a.active {
  color: var(--green-900);
  font-weight: 700;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

caption {
  text-align: left;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--green-900);
}

th,
td {
  border: 1px solid var(--gray-200);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f1f7f3;
  color: var(--green-900);
}

figure {
  margin: 24px 0;
}

figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--gray-500);
}

.checklist,
.steps,
.keyword-list {
  padding-left: 20px;
}

details {
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fbfdfc;
  margin-bottom: 10px;
}

summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--green-900);
}

.callout {
  background: #f4fbf6;
  border: 1px solid #cdebd8;
  border-radius: 10px;
  padding: 14px;
}

.related-links ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

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

.article-content h2 {
  margin-top: 32px;
  color: var(--green-900);
}

.article-content h3 {
  margin-top: 24px;
  color: #214d39;
}

.product-pick {
  background: #eefaf2;
  border: 1px solid #c1e9d0;
  border-radius: 12px;
  padding: 14px 16px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.pillar-box {
  padding: 16px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: var(--white);
  transition: transform 0.2s, box-shadow 0.2s;
}

.pillar-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.note {
  font-size: 13px;
  color: var(--gray-500);
}

.site-footer {
  border-top: 1px solid var(--gray-200);
  background: #fbfcfb;
}

.footer-brand-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 20px 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--green-900);
  font-weight: 700;
  text-decoration: none;
}

.footer-brand:hover,
.footer-brand:focus-visible {
  text-decoration: none;
}

.footer-brand-logo {
  height: 70px;
  width: auto;
  border-radius: 0;
  box-shadow: none;
}

.footer-brand-text {
  font-size: 15px;
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 22px;
}

.footer-col h4 {
  margin: 0 0 10px;
  color: var(--green-900);
}

.footer-col a {
  display: block;
  margin: 0 0 8px;
  color: #334048;
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid var(--gray-200);
  padding: 14px 20px 24px;
}

.footer-bottom p {
  max-width: 1180px;
  margin: 0 auto;
  font-size: 14px;
  color: var(--gray-500);
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  background: var(--green-700);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.back-to-top:hover {
  background: var(--green-800);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 900px) {
  .header-wrap {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    width: 100%;
    margin-left: 0;
  }

  .main-nav.is-open {
    display: block;
  }

  .menu-root {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 8px;
    padding-top: 4px;
  }

  .brand-logo {
    height: 37px;
  }

  .brand-text,
  .footer-brand-text {
    display: none;
  }

  .menu-item {
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    background: #ffffff;
  }

  .menu-trigger {
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .menu-trigger::after {
    content: "+";
    font-size: 18px;
    line-height: 1;
    color: var(--green-700);
  }

  .menu-item.open > .menu-trigger::after {
    content: "-";
  }

  .submenu {
    position: static;
    min-width: 0;
    margin: 0;
    border: 0;
    border-top: 1px solid var(--gray-200);
    border-radius: 0 0 10px 10px;
    box-shadow: none;
    padding: 8px;
  }

  .menu-item.open > .submenu {
    display: block;
  }

  .hero {
    padding: 22px;
  }

  .author-hero {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }

  .author-hero-copy {
    gap: 2px;
  }

  .author-hero figure {
    justify-self: start;
  }

  .author-hero img {
    max-width: min(200px, 100%);
    max-height: 200px;
  }

  .home-hero {
    padding: 20px 16px;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-media figure {
    aspect-ratio: 16 / 9;
    max-height: none;
  }

  .hero-copy .subtitle {
    font-size: 17px;
  }

  .hero-actions {
    margin-top: 14px;
  }

  .hero-proof-list {
    margin-top: 12px;
  }

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

  .home-quick-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .home-quick-nav a {
    flex: 0 0 auto;
  }

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

  .guide-grid,
  .review-grid,
  .cluster-grid,
  .goal-grid,
  .hub-chip-grid {
    grid-template-columns: 1fr;
  }

  .author-byline > div {
    display: block;
  }

  .publish-date::before,
  .reading-time::before {
    content: "";
    margin: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-brand-logo {
    height: 59px;
  }

  .back-to-top {
    right: 14px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .home-animate {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 1100px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: start;
  }

  .toc {
    position: sticky;
    top: 92px;
  }
}
