@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/inter/InterVariable.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/inter/InterVariable-Italic.woff2") format("woff2");
}

:root {
  --seo-font: "Inter", "Segoe UI", Arial, sans-serif;
  --seo-ink: #17221f;
  --seo-muted: #5a6964;
  --seo-green-dark: #0f3329;
  --seo-green: #17835f;
  --seo-green-light: #e8f3ee;
  --seo-red: #d85148;
  --seo-blue: #2f617c;
  --seo-line: #d8e3de;
  --seo-surface: #ffffff;
  --seo-page: #f5f8f6;
  --seo-shadow: 0 16px 36px rgba(15, 51, 41, 0.09);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--seo-page);
  color: var(--seo-ink);
  font-family: var(--seo-font);
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

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

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

a {
  color: var(--seo-green);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--seo-green-dark);
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(23, 131, 95, 0.38);
  outline-offset: 4px;
}

.ad-container {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}

.seo-skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 6px;
  background: #fff;
  color: var(--seo-green-dark);
  box-shadow: var(--seo-shadow);
  transform: translateY(-160%);
}

.seo-skip-link:focus {
  transform: translateY(0);
}

.ad-header,
.ad-footer {
  position: relative;
  z-index: 1;
}

.ad-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 78px;
  border-bottom: 1px solid rgba(219, 229, 225, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 58px);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.ad-header.is-scrolled {
  border-color: rgba(190, 207, 200, 0.94);
  box-shadow: 0 12px 28px rgba(13, 28, 24, 0.08);
}

.ad-brand {
  min-width: 250px;
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.ad-logo-wrap,
.ad-footer-logo {
  border: 1px solid var(--seo-line);
  border-radius: 8px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(13, 28, 24, 0.07);
  flex: 0 0 auto;
}

.ad-logo-wrap {
  width: 46px;
  height: 46px;
}

.ad-logo-wrap img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.ad-brand strong,
.ad-footer strong {
  display: block;
  color: var(--seo-ink);
  font-size: 20px;
  line-height: 1.1;
}

.ad-brand small {
  display: block;
  margin-top: 3px;
  color: var(--seo-muted);
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.ad-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.ad-nav a {
  min-height: 38px;
  border-radius: 999px;
  color: #30423d;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease;
}

.ad-nav a:hover,
.ad-nav a.is-active {
  background: #edf5f1;
  color: var(--seo-green-dark);
}

.ad-nav a.is-active {
  box-shadow: inset 0 0 0 1px rgba(23, 131, 95, 0.18);
}

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

.ad-header-cta,
.ad-header-login {
  min-height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.ad-header-cta {
  border: 1px solid var(--seo-green);
  background: var(--seo-green);
  color: #fff;
  box-shadow: 0 8px 18px rgba(23, 131, 95, 0.2);
}

.ad-header-cta:hover {
  background: #0f6f51;
  color: #fff;
}

.ad-header-login {
  border: 1px solid var(--seo-line);
  background: #fff;
  color: var(--seo-green-dark);
}

.ad-header-login:hover {
  border-color: rgba(23, 131, 95, 0.36);
  color: var(--seo-green-dark);
}

.ad-menu-button {
  display: none;
}

.seo-breadcrumbs {
  min-height: 48px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #71807b;
  font-size: 13px;
}

.seo-breadcrumbs a {
  color: #4f625c;
  text-decoration: none;
}

.seo-breadcrumbs a:hover {
  color: var(--seo-green);
  text-decoration: underline;
}

.seo-hero {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(8, 40, 31, 0.28);
  background: var(--seo-green-dark);
  color: #fff;
}

.seo-hero-inner {
  max-width: 980px;
  padding-top: 64px;
  padding-bottom: 68px;
}

.seo-eyebrow,
.seo-material-kicker {
  margin: 0 0 12px;
  color: #9ce0c7;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0;
}

.seo-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
}

.seo-lead {
  max-width: 820px;
  margin: 24px 0 0;
  color: #dce9e4;
  font-size: 20px;
  line-height: 1.55;
}

.seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 800px) minmax(210px, 260px);
  justify-content: space-between;
  gap: clamp(44px, 7vw, 84px);
  padding-top: 58px;
  padding-bottom: 76px;
}

.seo-layout-wide {
  grid-template-columns: minmax(0, 900px);
  justify-content: center;
}

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

.seo-series {
  border-top: 1px solid var(--seo-line);
  border-bottom: 1px solid var(--seo-line);
  margin-bottom: 46px;
  padding: 20px 0 22px;
}

.seo-series-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.seo-series-head strong {
  color: var(--seo-ink);
  font-size: 14px;
  text-transform: uppercase;
}

.seo-series-head a {
  color: var(--seo-green-dark);
  font-size: 13px;
  font-weight: 750;
}

.seo-series ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-series li {
  min-width: 0;
}

.seo-series li a,
.seo-series li span {
  min-height: 100%;
  border-left: 3px solid var(--seo-line);
  display: block;
  padding: 7px 10px;
  color: #52635e;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}

.seo-series li a:hover {
  border-left-color: var(--seo-green);
  color: var(--seo-green-dark);
}

.seo-series li.is-current span {
  border-left-color: var(--seo-red);
  color: var(--seo-ink);
  font-weight: 780;
}

.seo-section {
  scroll-margin-top: 112px;
  padding: 0 0 46px;
}

.seo-section + .seo-section {
  border-top: 1px solid var(--seo-line);
  padding-top: 46px;
}

.seo-section h2,
.seo-material-item h2 {
  margin: 0 0 18px;
  color: var(--seo-ink);
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0;
  text-wrap: balance;
}

.seo-section h3 {
  margin: 32px 0 12px;
  color: var(--seo-ink);
  font-size: 21px;
  line-height: 1.3;
}

.seo-section p,
.seo-material-item p {
  margin: 0 0 18px;
  color: #33423e;
}

.seo-section p:last-child,
.seo-material-item p:last-child {
  margin-bottom: 0;
}

.seo-section strong {
  color: var(--seo-green-dark);
}

.seo-section-accent {
  border: 1px solid #bfd5cc;
  border-left: 5px solid var(--seo-green);
  border-radius: 8px;
  background: #eef6f2;
  padding: 28px 30px;
}

.seo-section + .seo-section-accent {
  border-top: 1px solid #bfd5cc;
}

.seo-section-intro {
  padding-bottom: 34px;
}

.seo-checklist,
.seo-steps,
.seo-source-list {
  margin: 24px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.seo-checklist li,
.seo-steps li,
.seo-source-list li {
  position: relative;
  padding-left: 30px;
  color: #33423e;
}

.seo-checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--seo-green);
  box-shadow: 0 0 0 5px rgba(23, 131, 95, 0.1);
  transform: translateY(-50%);
}

.seo-steps {
  counter-reset: seo-step;
}

.seo-steps li {
  counter-increment: seo-step;
  padding-left: 44px;
}

.seo-steps li::before {
  content: counter(seo-step);
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(23, 131, 95, 0.3);
  border-radius: 6px;
  background: #fff;
  color: var(--seo-green-dark);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 850;
}

.seo-source-list li::before {
  content: "↗";
  position: absolute;
  left: 3px;
  top: 0;
  color: var(--seo-blue);
  font-weight: 850;
}

.seo-source-list a {
  color: var(--seo-blue);
  font-weight: 700;
}

.seo-toc {
  position: sticky;
  top: 112px;
  align-self: start;
  border-left: 2px solid var(--seo-line);
  display: grid;
  gap: 6px;
  padding-left: 22px;
}

.seo-toc strong {
  margin-bottom: 7px;
  color: var(--seo-ink);
  font-size: 13px;
  text-transform: uppercase;
}

.seo-toc a {
  border-radius: 4px;
  color: #52635e;
  padding: 7px 8px;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.35;
}

.seo-toc a:hover {
  background: var(--seo-green-light);
  color: var(--seo-green-dark);
}

.seo-materials {
  border-top: 1px solid var(--seo-line);
}

.seo-material-item {
  position: relative;
  border-bottom: 1px solid var(--seo-line);
  padding: 34px 42px 36px 0;
}

.seo-material-kicker {
  color: var(--seo-red);
}

.seo-material-item h2 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: 27px;
}

.seo-material-item h2 a {
  color: var(--seo-ink);
  text-decoration: none;
}

.seo-material-item h2 a:hover {
  color: var(--seo-green);
}

.seo-material-item p {
  max-width: 760px;
}

.seo-text-link {
  color: var(--seo-green-dark);
  font-weight: 800;
  text-decoration: none;
}

.seo-text-link:hover {
  text-decoration: underline;
}

.seo-pagination {
  border-top: 1px solid var(--seo-line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 12px;
  padding-top: 34px;
}

.seo-pagination a {
  min-width: 0;
  border: 1px solid var(--seo-line);
  border-radius: 6px;
  display: grid;
  gap: 7px;
  padding: 18px 20px;
  color: var(--seo-ink);
  text-decoration: none;
}

.seo-pagination a.is-next {
  grid-column: 2;
  text-align: right;
}

.seo-pagination a:hover {
  border-color: #9bbcaf;
  background: var(--seo-green-light);
}

.seo-pagination span {
  color: var(--seo-muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.seo-pagination strong {
  font-size: 15px;
  line-height: 1.4;
}

.seo-related {
  border-top: 1px solid var(--seo-line);
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding-top: 34px;
}

.seo-related strong {
  color: var(--seo-ink);
  font-size: 14px;
  text-transform: uppercase;
}

.seo-related a {
  width: fit-content;
  color: var(--seo-green-dark);
  font-weight: 750;
  text-decoration: none;
}

.seo-related a:hover {
  text-decoration: underline;
}

.ad-footer {
  border-top: 1px solid rgba(190, 207, 200, 0.9);
  background: #fff;
  padding: 30px 0 24px;
}

.ad-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 22px;
  align-items: center;
  color: var(--seo-muted);
}

.ad-footer-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.ad-footer-logo {
  width: 44px;
  height: 44px;
}

.ad-footer-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.ad-footer-brand span,
.ad-footer-grid a {
  color: var(--seo-muted);
}

.ad-footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ad-footer-nav a {
  min-height: 34px;
  border: 1px solid rgba(15, 51, 41, 0.1);
  border-radius: 999px;
  background: #f8faf9;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.ad-footer-nav a:hover {
  border-color: rgba(23, 131, 95, 0.28);
  background: #fff;
  color: var(--seo-green-dark);
}

.ad-footer-contact {
  display: grid;
  justify-items: end;
  gap: 5px;
  white-space: nowrap;
}

.ad-footer-contact a {
  color: var(--seo-green-dark);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.ad-footer-contact a:last-child {
  color: var(--seo-blue);
  font-size: 12px;
}

.ad-footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(190, 207, 200, 0.72);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 6px;
  padding-top: 16px;
  font-size: 13px;
}

@media (max-width: 1180px) {
  .ad-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .ad-header-cta {
    display: none;
  }

  .ad-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    border: 1px solid var(--seo-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--seo-shadow);
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px;
  }

  .ad-menu-open .ad-nav {
    display: grid;
  }

  .ad-menu-button {
    min-height: 40px;
    border: 1px solid var(--seo-line);
    border-radius: 999px;
    background: #fff;
    color: var(--seo-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    font-weight: 800;
  }
}

@media (max-width: 900px) {
  .seo-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .seo-toc {
    position: static;
    order: -1;
    border-left: 0;
    border-bottom: 1px solid var(--seo-line);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 0 24px;
  }

  .seo-toc strong {
    grid-column: 1 / -1;
  }

  .ad-footer-grid {
    grid-template-columns: 1fr;
  }

  .ad-footer-nav {
    justify-content: flex-start;
  }

  .ad-footer-contact {
    justify-items: start;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 82px;
  }

  .ad-container {
    width: calc(100% - 32px);
  }

  .ad-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    min-height: 66px;
    padding: 9px 12px;
  }

  .ad-brand {
    min-width: 0;
  }

  .ad-brand > span:last-child {
    min-width: 0;
  }

  .ad-brand strong {
    font-size: 17px;
    white-space: nowrap;
  }

  .ad-brand small {
    display: none;
  }

  .ad-logo-wrap {
    width: 42px;
    height: 42px;
  }

  .ad-logo-wrap img {
    width: 31px;
    height: 31px;
  }

  .ad-menu-button {
    width: 42px;
    min-width: 42px;
    padding: 0;
  }

  .ad-menu-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .ad-menu-button::before {
    content: "";
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  }

  .ad-header-login {
    min-height: 38px;
    padding: 8px 12px;
  }

  .ad-nav {
    left: 12px;
    right: 12px;
    grid-template-columns: 1fr;
  }

  .seo-breadcrumbs {
    min-height: 42px;
    font-size: 12px;
  }

  .seo-hero-inner {
    padding-top: 42px;
    padding-bottom: 46px;
  }

  .seo-hero h1 {
    font-size: 36px;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .seo-lead {
    margin-top: 18px;
    font-size: 17px;
  }

  .seo-layout {
    padding-top: 40px;
    padding-bottom: 56px;
  }

  .seo-toc {
    grid-template-columns: 1fr;
  }

  .seo-section {
    padding-bottom: 34px;
  }

  .seo-section + .seo-section {
    padding-top: 34px;
  }

  .seo-section h2,
  .seo-material-item h2 {
    font-size: 25px;
  }

  .seo-section-accent {
    padding: 24px 20px;
  }

  .seo-material-item {
    padding-right: 0;
  }

  .seo-series ol,
  .seo-pagination {
    grid-template-columns: 1fr;
  }

  .seo-series-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .seo-pagination a.is-next {
    grid-column: 1;
    text-align: left;
  }

  .ad-footer-bottom {
    display: grid;
    justify-content: start;
    gap: 6px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
