:root {
  --green-950: #1c2414;
  --green-900: #2a3320;
  --green-800: #3d4a28;
  --green-700: #4f5d32;
  --green-600: #6a7548;
  --brand: #cfcba6;
  --section: #ece8da;
  --khaki-500: #b7b48a;
  --khaki-400: var(--brand);
  --khaki-200: #e7e4d2;
  --khaki-100: #f3f1e6;
  --khaki-50: #f8f7f1;
  --ink: #1b2116;
  --muted: #5d6554;
  --line: #e2ddd0;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(28, 36, 20, 0.1);
  --radius: 22px;
  --header-h: 84px;
  --header-logo-h: 48px;
  --header-gap: 20px;
  --header-nav-gap: 6px 18px;
  --header-nav-size: 15px;
  --header-nav-pad: 10px 4px;
  --container: 1180px;
  --font: "Manrope", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: clip;
}

h1,
h2,
h3 {
  overflow-wrap: break-word;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--green-700);
  outline-offset: 3px;
}

.hero :focus-visible {
  outline-color: var(--khaki-400);
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 80;
  background: var(--brand);
  color: var(--ink);
  padding: 8px 12px;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transform: translateY(0);
  transition: background-color 200ms ease, color 200ms ease, transform 200ms ease, border-color 200ms ease;
  white-space: nowrap;
}

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

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

.btn-primary:hover,
.btn-ink:hover {
  background: #323d21;
  color: var(--white);
}

.btn-on-dark {
  background: var(--khaki-400);
  color: var(--green-950);
}

.btn-on-dark:hover {
  background: #c8c29a;
  color: var(--green-950);
}

.btn-ghost {
  background: transparent;
  border-color: var(--green-800);
  color: var(--green-800);
}

.btn-ghost:hover {
  background: var(--khaki-100);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-600);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(28, 36, 20, 0.06);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: var(--header-gap);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
  margin-left: max(0px, calc((100% - 1076px) / 2 - 13px));
}

.logo img {
  display: block;
  height: var(--header-logo-h);
  width: auto;
  max-width: min(248px, 58vw);
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--header-nav-gap);
  flex-wrap: nowrap;
}

.site-nav a:not(.btn) {
  font-weight: 700;
  font-size: var(--header-nav-size);
  line-height: 1.6;
  color: var(--ink);
  text-decoration: none;
  padding: var(--header-nav-pad);
  white-space: nowrap;
}

.site-nav a:not(.btn):hover {
  color: var(--green-800);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: none;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--ink);
  transition: 0.2s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

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

.site-header .nav-more {
  display: none;
  position: relative;
  align-items: center;
}

.site-header .nav-more-toggle {
  font-family: inherit;
  font-weight: 700;
  font-size: var(--header-nav-size);
  line-height: 1.6;
  color: var(--ink);
  background: none;
  border: 0;
  padding: var(--header-nav-pad);
  cursor: pointer;
  white-space: nowrap;
}

.site-header .nav-more-toggle:hover {
  color: var(--green-800);
}

.site-header .nav-more-list {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(28, 36, 20, 0.1);
  padding: 8px;
  z-index: 60;
}

.site-header .nav-more.is-open .nav-more-list {
  display: flex;
}

.site-header .nav-more-list a:not(.btn) {
  padding: 10px 12px;
  font-size: var(--header-nav-size);
  line-height: 1.6;
}

.hero {
  --hero-bg-pos: center 58%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--header-h));
  padding: 96px 0;
  color: #fff;
  background-color: #12160f;
}

.hero-bg {
  position: absolute;
  z-index: 0;
  top: -18%;
  right: 0;
  bottom: -18%;
  left: 0;
  background-color: #12160f;
  background-image: url("../images/pexels-nickoloui-12240875.jpg");
  background-size: cover;
  background-position: var(--hero-bg-pos);
  background-repeat: no-repeat;
  pointer-events: none;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(18, 22, 15, 0.42) 0%, rgba(18, 22, 15, 0.62) 48%, rgba(18, 22, 15, 0.78) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
}

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

.hero .eyebrow {
  color: var(--khaki-400);
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero p {
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  max-width: 36em;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2,
.articles-index .section-head h1,
.value-copy h2,
.about-copy h2,
.method-copy h2,
.cta-box h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 3.4vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-head p,
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.value {
  background: var(--section);
  color: var(--ink);
}

.value-inner {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.value .eyebrow {
  color: var(--green-700);
}

.value-copy h2 {
  color: var(--ink);
}

.value-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
}

.value-copy p:last-child {
  margin-bottom: 0;
}

.value-copy strong {
  color: var(--ink);
  font-weight: 700;
}

.services {
  background: var(--khaki-50);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.service-card,
.service-featured {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 28px 24px;
  box-shadow: 0 10px 30px rgba(28, 36, 20, 0.04);
  border: 1px solid rgba(61, 74, 40, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover,
.service-featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(28, 36, 20, 0.08);
}

.service-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.service-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--green-700);
  letter-spacing: 0.08em;
}

.service-meta {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.service-card h3,
.service-featured h3 {
  margin: 0 0 12px;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.service-card p,
.service-featured p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.service-featured {
  grid-column: 1 / -1;
}

.service-featured ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-featured li {
  position: relative;
  padding: 7px 0 7px 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.service-featured li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-700);
}

.service-price {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.service-price strong {
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--green-800);
}

.service-price span {
  font-size: 13px;
  font-weight: 500;
  white-space: normal;
  max-width: 28em;
  color: var(--muted);
}

.services-cta {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

.about-top {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.about-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 0 28px 28px 28px;
}

.about-copy h2 {
  margin: 0 0 8px;
}

.about-role {
  margin: 0 0 22px;
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
}

.about-copy .lead {
  margin: 0 0 28px;
  max-width: 40rem;
}

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

.stat {
  padding: 18px 8px 0 0;
  border-top: 1px solid var(--line);
}

.stat strong {
  display: block;
  margin: 14px 0 8px;
  font-size: clamp(24px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--green-800);
  white-space: nowrap;
}

.stat span {
  display: block;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.about-points h3 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.about-points p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.about-points strong {
  color: var(--ink);
  font-weight: 700;
}

.method {
  background: var(--khaki-50);
}

.method-panel {
  display: flex;
  flex-direction: column;
  gap: 40px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px 44px 40px;
  box-shadow: 0 10px 30px rgba(28, 36, 20, 0.04);
  border: 1px solid rgba(61, 74, 40, 0.06);
}

.method-top {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 12px 48px;
  align-items: start;
}

.method-copy,
.method-list {
  min-width: 0;
}

.method-copy .lead {
  margin-top: 4px;
  max-width: 34em;
}

.method-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: method;
}

.method-list li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
  padding: 13px 0;
  border-top: 1px solid color-mix(in srgb, var(--ink) 9%, transparent);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
}

.method-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.method-list li:last-child {
  padding-bottom: 0;
}

.method-list li::before {
  counter-increment: method;
  content: counter(method, decimal-leading-zero);
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: var(--green-700);
  padding-top: 4px;
}

.method-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  max-width: 36em;
  width: 100%;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid color-mix(in srgb, var(--ink) 9%, transparent);
}

.method-cta p {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
}

.method-modal {
  width: min(1080px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  background: transparent;
}

.method-modal::backdrop {
  background: rgba(27, 33, 22, 0.46);
}

.method-modal .method-panel {
  position: relative;
}

.method-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.method-modal-close:hover {
  background: var(--khaki-100);
}

.method-modal-close svg {
  display: block;
  margin: auto;
}

.accordion {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.acc-item {
  border-bottom: 1px solid var(--line);
}

.acc-btn {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 22px;
  column-gap: 14px;
  align-items: start;
  width: 100%;
  padding: 22px 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}

.acc-btn:hover h3 {
  color: var(--green-800);
}

.acc-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: var(--green-700);
  padding-top: 4px;
}

.acc-btn h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.acc-icon {
  width: 22px;
  height: 22px;
  margin-top: 3px;
  position: relative;
}

.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 14px;
  height: 2px;
  background: var(--green-800);
}

.acc-icon::after {
  transform: rotate(90deg);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.acc-item.is-open .acc-icon::after {
  transform: rotate(0deg);
  opacity: 0;
}

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.acc-item.is-open .acc-panel {
  grid-template-rows: 1fr;
}

.acc-panel-inner {
  overflow: hidden;
  min-height: 0;
  padding: 0 0 0 50px;
  color: var(--muted);
  font-size: 16px;
}

.acc-item.is-open .acc-panel-inner {
  padding-bottom: 24px;
}

.acc-panel-inner p {
  margin: 0 0 12px;
}

.acc-panel-inner p:last-child {
  margin-bottom: 0;
}

.acc-panel-inner ul {
  margin: 0 0 12px;
  padding-left: 18px;
}

.acc-panel-inner li {
  margin: 6px 0;
}

.acc-panel-inner strong {
  color: var(--ink);
}

.final-cta {
  padding: 88px 0;
  background: var(--khaki-50);
}

.cta-box {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 56px 48px;
  box-shadow: 0 10px 30px rgba(28, 36, 20, 0.04);
  border: 1px solid rgba(61, 74, 40, 0.06);
}

.cta-box .eyebrow {
  color: var(--green-700);
}

.cta-box h2 {
  color: var(--ink);
}

.cta-box p {
  margin: 0 auto 28px;
  max-width: 40rem;
  color: var(--muted);
}

.site-footer {
  background: var(--section);
  color: var(--muted);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(27, 33, 22, 0.14);
  margin-bottom: 20px;
}

.footer-logo {
  display: inline-flex;
  line-height: 0;
}

.footer-logo img {
  display: block;
  height: 44px;
  width: auto;
  max-width: min(236px, 72vw);
  object-fit: contain;
  object-position: left center;
}

.footer-brand p {
  margin: 14px 0 0;
  max-width: 28ch;
  font-size: 14px;
  line-height: 1.55;
}

.site-footer h4 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.site-nav a[aria-current="page"],
.site-header .nav-more:has(a[aria-current="page"]) .nav-more-toggle {
  color: var(--green-800);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

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

.breadcrumbs [aria-current="page"] {
  color: var(--ink);
}

.article-hero {
  padding: 28px 0 0;
  width: min(1076px, 100%);
  margin-inline: auto;
}

.article-hero .breadcrumbs {
  margin-bottom: 0;
}

.article-content > .eyebrow {
  margin: 0 0 14px;
}

.article-content > h1 {
  margin: 0 0 16px;
  max-width: 18em;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.article-hero .eyebrow {
  margin-bottom: 14px;
}

.article-hero h1 {
  margin: 0 0 16px;
  max-width: 18em;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.article-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0 0 18px;
}

.article-fact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

.article-fact svg {
  flex-shrink: 0;
  color: var(--green-700);
}

.article-fact b {
  color: var(--ink);
  font-weight: 700;
}

.article-lead {
  margin: 0 0 20px;
  max-width: 38em;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

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

.article-meta .article-author {
  color: var(--ink);
  font-weight: 600;
}

.article-content > .article-meta {
  margin-bottom: 36px;
}

.article-main {
  padding: 24px 0 72px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 760px);
  gap: 48px 56px;
  align-items: start;
  width: min(1076px, 100%);
  margin-inline: auto;
}

.article-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-height: calc(100svh - var(--header-h) - 72px);
  overflow: hidden;
}

.article-toc {
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
  overflow: auto;
  overscroll-behavior: contain;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--khaki-200) transparent;
}

.article-toc::-webkit-scrollbar {
  width: 4px;
}

.article-toc::-webkit-scrollbar-thumb {
  background: var(--khaki-200);
  border-radius: 99px;
}

.article-offers {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.article-next {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(61, 74, 40, 0.16);
  border-radius: 16px;
  background: var(--khaki-50);
  box-shadow: none;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease;
}

.article-next:hover {
  background: var(--khaki-100);
}

.article-next:focus-visible {
  outline: 2px solid var(--green-700);
  outline-offset: 2px;
}

.article-next-more {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(61, 74, 40, 0.18);
  border-radius: 16px;
  box-shadow: none;
}

.article-next-row,
.sidebar-promo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease;
}

.sidebar-promo {
  gap: 2px;
  padding: 12px 16px;
}

.article-next-more > * + * {
  border-top: 1px solid var(--line);
}

.article-next-row:hover,
.sidebar-promo:hover {
  background: var(--khaki-50);
}

.article-next-row:focus-visible,
.sidebar-promo:focus-visible {
  outline: 2px solid var(--green-700);
  outline-offset: -2px;
}

.article-next-title {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.article-next-action,
.sidebar-promo-action {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  transition: color 180ms ease;
}

.article-next .article-next-action {
  gap: 6px;
  width: 100%;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--green-800);
  color: #fff;
  line-height: 1;
  transition: background-color 180ms ease;
}

.article-next-arrow {
  display: inline-block;
  transition: transform 180ms ease;
}

.article-next-row:hover .article-next-action,
.sidebar-promo:hover .sidebar-promo-action {
  color: var(--green-950);
}

.article-next:hover .article-next-action {
  background: #323d21;
  color: #fff;
}

.article-next:hover .article-next-arrow,
.article-next-row:hover .article-next-arrow,
.sidebar-promo:hover .article-next-arrow {
  transform: translateX(2px);
}

.sidebar-promo-title {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
}

.sidebar-promo-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

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

.article-toc-label,
.article-toc-mobile summary {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-600);
}

.article-toc ul,
.article-toc-mobile ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-toc a,
.article-toc-mobile a {
  display: block;
  padding: 7px 0 7px 12px;
  border-left: 2px solid transparent;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.article-toc a:hover,
.article-toc-mobile a:hover,
.article-toc a.is-active,
.article-toc-mobile a.is-active {
  color: var(--green-800);
}

.article-toc a.is-active,
.article-toc-mobile a.is-active {
  border-left-color: var(--green-800);
}

.article-toc-mobile {
  display: none;
  margin: 8px 0 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--khaki-50);
}

.article-toc-mobile summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
}

.article-toc-mobile summary::-webkit-details-marker {
  display: none;
}

.article-toc-mobile summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 200ms ease;
}

.article-toc-mobile[open] summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
}

.article-toc-mobile nav {
  padding: 0 16px 14px;
}

.article-body {
  min-width: 0;
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink);
}

.article-body h2 {
  margin: 48px 0 16px;
  font-size: clamp(26px, 2.8vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1.2;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.article-body h3 {
  margin: 28px 0 12px;
  font-size: clamp(22px, 2.2vw, 26px);
  letter-spacing: -0.02em;
  line-height: 1.3;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p {
  margin: 0 0 18px;
}

.article-body p.article-formula {
  margin: 8px 0 28px;
}

.article-body p:last-child,
.article-body ul:last-child,
.article-body ol:last-child {
  margin-bottom: 0;
}

.article-body strong {
  font-weight: 700;
}

.article-body ul,
.article-body ol {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.article-body ul li {
  position: relative;
  padding: 6px 0 6px 20px;
}

.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-700);
}

.article-body ol {
  counter-reset: article-ol;
}

.article-body ol li {
  counter-increment: article-ol;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 8px;
  padding: 8px 0;
}

.article-body ol li > * {
  min-width: 0;
}

.article-body ol li::before {
  content: counter(article-ol);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--green-700);
  padding-top: 3px;
}

.article-formula {
  margin: 8px 0 28px;
  padding: 20px 24px;
  background: var(--khaki-50);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.article-definition {
  margin: 8px 0 28px;
  padding: 20px 24px;
  background: var(--khaki-50);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.article-page.article-expert .article-content > h1,
.article-page.article-expert .article-body h2,
.article-page.article-expert .article-body h3 {
  color: #3E4A24;
}

.article-page.article-expert .article-formula,
.article-page.article-expert .article-definition {
  background: #F4F8F2;
}

.related-section {
  padding: 72px 0 80px;
  background: var(--khaki-50);
}

.related-section .section-head {
  margin-bottom: 32px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.related-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  border: 1px solid rgba(61, 74, 40, 0.06);
  box-shadow: 0 10px 30px rgba(28, 36, 20, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(28, 36, 20, 0.08);
}

.related-card .eyebrow {
  margin-bottom: 10px;
}

.related-card h2,
.related-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.related-card h3 a {
  color: inherit;
  text-decoration: none;
}

.related-card h3 a:hover {
  color: var(--green-800);
}

.related-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.related-card .text-link {
  margin-top: auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--green-800);
  text-decoration: none;
}

.text-link:hover {
  color: var(--green-950);
}

.related-all {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.related-all .text-link {
  font-size: 15px;
}

.article-table-wrap {
  margin: 8px 0 28px;
  overflow-x: auto;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}

.article-table th,
.article-table td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-table th {
  background: var(--khaki-50);
  font-weight: 700;
  color: var(--ink);
}

.article-body h3 {
  margin: 28px 0 12px;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.articles-index {
  padding: 36px 0 88px;
}

.articles-index .section-head {
  margin-bottom: 36px;
  text-align: left;
  max-width: none;
}

.articles-index .related-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg {
    will-change: auto;
    transform: none !important;
  }

  .service-card:hover,
  .service-featured:hover,
  .related-card:hover,
  .article-next:hover .article-next-arrow,
  .article-next-row:hover .article-next-arrow,
  .sidebar-promo:hover .article-next-arrow,
  .btn:hover {
    transform: none;
  }
}

@media (min-width: 981px) and (max-width: 1219px) {
  .site-header .nav-item-extra {
    display: none;
  }

  .site-header .nav-more {
    display: flex;
  }
}

@media (max-width: 980px) {
  .about-top,
  .service-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    width: 100%;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(28, 36, 20, 0.12);
    padding: 8px 20px 20px;
    flex-direction: column;
    align-items: stretch;
    z-index: 55;
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a:not(.btn) {
    padding: 12px 4px;
    white-space: normal;
  }

  .nav-cta-mobile {
    display: flex;
    width: 100%;
    margin-top: 12px;
  }

  .site-header .nav-more {
    display: none !important;
  }

  .site-header .nav-item-extra {
    display: block;
  }

  .about-photo img {
    height: 320px;
  }

  .method-panel {
    gap: 32px;
    padding: 32px 24px 28px;
  }

  .method-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .method-cta {
    padding-top: 24px;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 40px 24px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .article-content {
    order: 1;
  }

  .article-sidebar {
    position: static;
    top: auto;
    z-index: auto;
    order: 2;
    max-height: none;
    overflow: visible;
  }

  .article-toc {
    display: none;
  }

  .article-toc-mobile {
    display: block;
  }

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

  .article-body {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

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

  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  :root {
    --header-logo-h: 40px;
  }

  .service-meta {
    margin-left: 0;
    flex: 1 1 100%;
  }

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

  .article-content > h1 {
    max-width: none;
  }

  .article-formula {
    padding: 16px 18px;
    font-size: 18px;
  }

  .related-all .text-link,
  .related-card .text-link {
    width: auto;
  }
}

/* Glossary */
.glossary-page .glossary-intro {
  padding: 28px 0 36px;
  background: var(--khaki-50);
}

.glossary-page .glossary-intro-copy {
  max-width: 40rem;
}

.glossary-page .glossary-intro h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.glossary-page .glossary-lead {
  margin: 0 0 22px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--ink);
}

.glossary-page .glossary-intro-copy p:not(.glossary-lead) {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.glossary-page .glossary-intro-copy p:last-child {
  margin-bottom: 0;
}

.glossary-page .glossary-search {
  position: relative;
  margin: 32px 0 22px;
}

.glossary-page .glossary-search-icon {
  position: absolute;
  top: 50%;
  left: 18px;
  display: flex;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.glossary-page .glossary-search input {
  width: 100%;
  height: 56px;
  padding: 0 20px 0 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  outline: none;
}

.glossary-page .glossary-search input::placeholder {
  color: #8a917f;
}

.glossary-page .glossary-search input:focus {
  border-color: rgba(61, 74, 40, 0.35);
}

.glossary-page .glossary-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.glossary-page .glossary-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.glossary-page .glossary-pill:hover,
.glossary-page .glossary-pill.is-active {
  color: var(--green-800);
  background: var(--white);
  border-color: var(--line);
}

.glossary-page .glossary-toc {
  columns: 4;
  column-gap: 32px;
  margin: 4px 0 0;
}

.glossary-page .glossary-toc-group {
  break-inside: avoid;
  margin: 0 0 14px;
}

.glossary-page .glossary-toc-group.is-hidden,
.glossary-page .glossary-toc li[hidden] {
  display: none;
}

.glossary-page .glossary-toc-letter {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  color: var(--green-600);
}

.glossary-page .glossary-toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.glossary-page .glossary-toc a {
  display: inline-block;
  max-width: 100%;
  padding: 2px 0;
  color: var(--green-800);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.glossary-page .glossary-toc a:hover {
  color: var(--green-950);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.glossary-page .glossary-intro,
.glossary-page .glossary-body {
  overflow-x: clip;
}

.glossary-page .glossary-body {
  padding: 12px 0 24px;
}

.glossary-page .glossary-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.glossary-page .glossary-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: grid;
  gap: 4px;
  padding: 8px 0 24px;
}

.glossary-page .glossary-sidebar a {
  display: block;
  padding: 8px 0 8px 12px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.glossary-page .glossary-sidebar a:hover,
.glossary-page .glossary-sidebar a.is-active {
  color: var(--green-800);
}

.glossary-page .glossary-sidebar a.is-active {
  border-left-color: var(--green-800);
}

.glossary-page .glossary-main {
  min-width: 0;
}

.glossary-page .glossary-empty {
  margin: 28px 0;
  color: var(--muted);
  font-size: 17px;
}

.glossary-page .glossary-section {
  padding: 28px 0 12px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.glossary-page .glossary-section:nth-of-type(even) {
  margin: 0 -24px;
  padding-left: 24px;
  padding-right: 24px;
  background: var(--khaki-50);
  border-radius: 18px;
}

.glossary-page .glossary-section-head {
  display: grid;
  gap: 6px;
  margin: 0 0 8px;
}

.glossary-page .glossary-section-num {
  margin: 0;
  color: var(--green-600);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.glossary-page .glossary-section-head h2 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.glossary-page .glossary-list {
  margin: 0;
}

.glossary-page .glossary-term {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.glossary-page .glossary-term:last-child {
  border-bottom: 0;
}

.glossary-page .glossary-term.is-hidden,
.glossary-page .glossary-section.is-hidden {
  display: none;
}

.glossary-page .glossary-term dt {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink);
  overflow-wrap: break-word;
}

.glossary-page .glossary-term dd {
  margin: 0;
  max-width: 42em;
}

.glossary-page .glossary-term dd p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
}

.glossary-page .glossary-more {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin-top: 12px !important;
  color: var(--muted);
  font-size: 14px;
}

.glossary-page .glossary-more span:first-child {
  font-weight: 700;
}

.glossary-page .glossary-more-sep {
  display: none;
}

.glossary-page .glossary-more .text-link {
  font-size: 14px;
  white-space: normal;
  max-width: 100%;
}

@media (max-width: 980px) {
  .glossary-page .glossary-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .glossary-page .glossary-sidebar {
    display: none;
  }

  .glossary-page .glossary-section:nth-of-type(even) {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    border-radius: 0;
  }
}

@media (max-width: 1100px) {
  .glossary-page .glossary-toc {
    columns: 2;
  }
}

@media (max-width: 768px) {
  .glossary-page .glossary-intro h1 {
    font-size: 30px;
  }

  .glossary-page .glossary-lead {
    font-size: 18px;
  }

  .glossary-page .glossary-search input {
    height: 52px;
  }

  .glossary-page .glossary-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .glossary-page .glossary-pills::-webkit-scrollbar {
    display: none;
  }

  .glossary-page .glossary-pill {
    flex: 0 0 auto;
    background: var(--white);
    border-color: var(--line);
  }

  .glossary-page .glossary-toc {
    columns: 1;
  }

  .glossary-page .glossary-term dt {
    font-size: 18px;
  }

  .glossary-page .glossary-term dd p {
    font-size: 16px;
  }
}

/* crm-catalog-tags:start */
.catalog-tools {
  margin: 8px 0 28px;
}

.catalog-search {
  margin: 0 0 18px;
}

.catalog-search span {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

.catalog-search input {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
}

.catalog-search input:focus-visible,
.catalog-chip:focus-visible,
.topic-chip:focus-visible,
.catalog-nav a:focus-visible,
.catalog-reset:focus-visible {
  outline: 2px solid var(--green-800);
  outline-offset: 2px;
}

.catalog-logic,
.catalog-status {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.catalog-status {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
}

.catalog-reset {
  padding: 0;
  border: 0;
  background: none;
  color: var(--green-800);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.catalog-levels,
.catalog-tags,
.topic-list,
.catalog-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

.catalog-tags legend,
.catalog-levels legend {
  width: 100%;
  margin-bottom: 8px;
  padding: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.catalog-chip,
.topic-chip,
.catalog-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}

.catalog-chip[aria-pressed="true"],
.catalog-nav a[aria-current="true"] {
  color: var(--white);
  background: var(--green-800);
  border-color: var(--green-800);
}

.catalog-section {
  margin-top: 42px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.catalog-section h2,
.tag-stage h2 {
  margin: 0 0 8px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.catalog-section-lead,
.tag-stage-hint,
.tag-lead,
.tag-outcome {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.catalog-grid,
.tag-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

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

.related-card .catalog-meta {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.tag-questions {
  margin: 0 0 12px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.tag-role {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.5;
}

.catalog-empty {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.is-hidden {
  display: none !important;
}

.tag-page {
  padding: 36px 0 88px;
}

.article-topics {
  padding: 8px 0 12px;
}

.article-topics h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.topic-list {
  list-style: none;
}

.tag-related {
  margin-top: 36px;
}

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

@media (max-width: 640px) {
  .catalog-grid,
  .tag-grid {
    grid-template-columns: 1fr;
  }

  .catalog-chip,
  .topic-chip,
  .catalog-nav a,
  .catalog-reset {
    width: auto;
  }
}
/* crm-catalog-tags:end */

.tag-page {
  color: #242b22;
  font-size: 16px;
  line-height: 26px;
}

.tag-page .container {
  width: min(920px, calc(100% - 64px));
}

.tag-page h1 {
  margin: 22px 0 16px;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: -0.02em;
}

.tag-page .tag-intro p,
.tag-page .tag-material p,
.tag-page .tag-group-intro {
  max-width: 72ch;
  margin: 0 0 16px;
  color: #242b22;
  font-size: 16px;
  line-height: 26px;
}

.tag-page .tag-stage {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.tag-page .tag-stage h2,
.tag-page .tag-related h2 {
  margin: 36px 0 12px;
  font-size: 28px;
  line-height: 36px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.tag-page .tag-group-intro {
  margin-bottom: 8px;
  color: #566050;
}

.tag-page .tag-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 32px 0 8px;
  padding: 16px 0;
  border-top: 1px solid #dce2d6;
  border-bottom: 1px solid #dce2d6;
}

.tag-page .tag-toolbar p {
  margin: 0;
  color: #566050;
  font-size: 14px;
  line-height: 20px;
}

.tag-page .tag-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.tag-page .tag-filter {
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #f1f3ee;
  color: #242b22;
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}

.tag-page .tag-filter[aria-pressed="true"] {
  background: var(--green-800);
  color: #fff;
}

.tag-page .tag-toc {
  margin: 22px 0 8px;
}

.tag-page .tag-toc-label {
  margin: 0 0 8px;
  color: #566050;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.tag-page .tag-toc a {
  display: inline;
  margin: 0 20px 8px 0;
  padding: 0;
  border: 0;
  background: none;
  color: #242b22;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tag-page .tag-material {
  display: block;
  width: 100%;
  margin: 0;
  padding: 28px 0 32px;
  border: 0;
  border-bottom: 1px solid #dce2d6;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.tag-page p.tag-meta,
.tag-page p.tag-questions-label {
  margin: 0 0 8px;
  color: #566050;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.tag-page .tag-material h3 {
  margin: 0 0 12px;
  max-width: none;
  height: auto;
  overflow: visible;
  color: #242b22;
  font-size: 22px;
  line-height: 30px;
  white-space: normal;
  text-overflow: clip;
}

.tag-page .tag-material h3 a {
  color: inherit;
  text-decoration: none;
}

.tag-page .tag-material h3 a:hover {
  text-decoration: underline;
}

.tag-page .tag-role {
  margin: 0 0 12px;
  color: #242b22;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}

.tag-page .tag-questions {
  margin: 0;
  padding-left: 22px;
  max-width: 72ch;
  color: #242b22;
  font-size: 16px;
  line-height: 26px;
}

.tag-page .tag-empty {
  margin: 24px 0;
  color: #242b22;
  font-size: 16px;
  line-height: 26px;
}

.tag-page .tag-empty button {
  margin-left: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--green-800);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.tag-page .tag-related a {
  display: inline;
  margin: 0 20px 8px 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #242b22;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tag-page a:focus-visible,
.tag-page button:focus-visible {
  outline: 3px solid var(--green-800);
  outline-offset: 4px;
}

@media (max-width: 640px) {
  .tag-page {
    line-height: 25px;
  }

  .tag-page .container {
    width: min(920px, calc(100% - 40px));
  }

  .tag-page h1 {
    font-size: 30px;
    line-height: 38px;
  }

  .tag-page .tag-stage h2,
  .tag-page .tag-related h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .tag-page .tag-material h3 {
    font-size: 20px;
    line-height: 28px;
  }

  .tag-page .tag-intro p,
  .tag-page .tag-material p,
  .tag-page .tag-group-intro,
  .tag-page .tag-questions,
  .tag-page .tag-role {
    line-height: 25px;
  }

  .tag-page p.tag-meta,
  .tag-page p.tag-questions-label {
    font-size: 14px;
    line-height: 20px;
  }

  .tag-page .tag-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

.article-side-column {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: calc(16px * 1.7);
  min-width: 0;
}

.article-tagline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 12px;
  row-gap: 4px;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.article-tagline a {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: none;
}

.article-tagline a:hover {
  color: var(--ink);
  text-decoration: underline;
}

@media (max-width: 980px) {
  .article-side-column {
    order: 2;
  }
}
