:root {
  color-scheme: light;
  --ink: #182225;
  --muted: #58666a;
  --line: #d8e1e3;
  --soft: #f5f8f8;
  --surface: #ffffff;
  --green: #176b4d;
  --green-strong: #0f5138;
  --teal: #0f6f7f;
  --yellow: #f1c84b;
  --shadow: 0 18px 50px rgba(24, 34, 37, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.seo-body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  transform: translateY(-160%);
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
}

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

.seo-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.seo-brand,
.seo-topnav,
.seo-hero__actions,
.seo-footer,
.adjacent-nav,
.seo-breadcrumbs,
.seo-badges {
  display: flex;
  align-items: center;
}

.seo-brand {
  gap: 10px;
  text-decoration: none;
}

.seo-brand__mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
}

.seo-brand strong,
.seo-brand small {
  display: block;
}

.seo-brand small {
  color: var(--muted);
  font-size: 12px;
}

.seo-topnav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.seo-topnav a,
.seo-button,
.story-link,
.adjacent-link {
  text-decoration: none;
}

.seo-topnav a {
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
}

.seo-topnav a:hover,
.seo-topnav a:focus {
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface);
}

.seo-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  min-height: 620px;
  padding: clamp(42px, 8vw, 86px) 0 38px;
}

.seo-kicker,
.seo-section__intro span,
.story-panel__intro span,
.intent-panel span,
.seo-cta span {
  display: inline-flex;
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.seo-breadcrumbs {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
}

.seo-breadcrumbs span::before,
.seo-breadcrumbs strong::before {
  margin-right: 8px;
  color: #97a7ab;
  content: "/";
}

.seo-breadcrumbs strong {
  color: var(--ink);
}

.seo-badges {
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 14px;
  list-style: none;
}

.seo-badges li {
  padding: 7px 10px;
  border: 1px solid #b9d7cf;
  border-radius: 8px;
  background: #eef8f5;
  color: var(--green-strong);
  font-size: 14px;
  font-weight: 700;
}

.seo-hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: 64px;
  line-height: 0.98;
}

.seo-lede {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.seo-hero-points,
.seo-list {
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.seo-hero-points li,
.seo-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--line);
}

.seo-hero-points li::before,
.seo-list li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "✓";
  font-weight: 800;
}

.seo-hero__actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.seo-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.seo-button--primary {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.seo-button--primary:hover,
.seo-button--primary:focus {
  border-color: var(--green-strong);
  background: var(--green-strong);
}

.seo-button--ghost {
  background: var(--surface);
  color: var(--ink);
}

.seo-hero__visual {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.seo-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.seo-hero__visual figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.story-panel,
.intent-panel,
.seo-section,
.seo-cta {
  margin: 28px 0;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.story-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
}

.story-panel h2,
.intent-panel h2,
.seo-section h2,
.seo-cta h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.08;
}

.story-panel p,
.intent-panel p,
.seo-section p,
.seo-cta p {
  color: var(--muted);
}

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

.story-link {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfd;
  color: var(--ink);
  font-weight: 750;
}

.story-link span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: var(--soft);
  color: var(--teal);
  font-size: 13px;
}

.story-link.is-active {
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}

.intent-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.58fr) minmax(0, 1.42fr);
  gap: 24px;
  background: #edf7f4;
}

.intent-panel ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.intent-panel li {
  padding: 8px 10px;
  border: 1px solid #b9d7cf;
  border-radius: 8px;
  background: #fff;
  color: var(--green-strong);
  font-size: 14px;
  font-weight: 700;
}

.seo-section--lead {
  font-size: 18px;
}

.seo-section--lead p:first-child {
  margin-top: 0;
}

.seo-section__intro {
  max-width: 820px;
  margin-bottom: 24px;
}

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

.seo-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.seo-grid article {
  min-height: 180px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfd;
}

.seo-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

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

.seo-band {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  align-items: center;
  border-color: #b9d7cf;
  background: #eef8f5;
}

.seo-steps {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  counter-reset: steps;
  list-style: none;
}

.seo-steps li {
  position: relative;
  min-height: 84px;
  padding: 18px 18px 18px 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfd;
}

.seo-steps li::before {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  content: counter(steps);
  counter-increment: steps;
  font-weight: 800;
}

.seo-steps strong {
  display: block;
  margin-bottom: 4px;
}

.seo-note {
  border-color: #e2c94f;
  background: #fffbed;
}

.seo-note strong {
  display: block;
  margin-bottom: 8px;
  color: #6f5c00;
}

.seo-source {
  font-size: 15px;
}

.seo-source a {
  color: var(--green-strong);
  font-weight: 800;
}

.seo-formula {
  padding: 20px;
  border: 1px solid #b9d7cf;
  border-radius: 8px;
  background: #f6fbfa;
}

.seo-formula strong {
  display: block;
  margin-bottom: 10px;
  color: var(--green-strong);
  font-size: 20px;
}

.seo-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.seo-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  background: #fff;
}

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

.seo-table th {
  background: #eef8f5;
  color: var(--green-strong);
  font-size: 14px;
}

.seo-faq {
  background: #fbfdfd;
}

.faq-list {
  display: grid;
  gap: 10px;
}

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

.faq-list summary {
  cursor: pointer;
  padding: 16px;
  color: var(--ink);
  font-weight: 800;
}

.faq-list details p {
  margin: 0;
  padding: 0 16px 16px;
}

.seo-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border-color: var(--green);
  background: var(--ink);
  color: #fff;
}

.seo-cta p,
.seo-cta span {
  color: #d6eeee;
}

.adjacent-nav {
  justify-content: space-between;
  gap: 12px;
  margin: 28px 0 64px;
}

.adjacent-link {
  display: flex;
  min-height: 72px;
  min-width: min(100%, 280px);
  flex-direction: column;
  justify-content: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.adjacent-link--next {
  margin-left: auto;
  text-align: right;
}

.adjacent-link span {
  color: var(--muted);
  font-size: 13px;
}

.adjacent-link strong {
  color: var(--green-strong);
}

.seo-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 14px;
}

.seo-footer a {
  color: var(--green-strong);
  font-weight: 700;
}

@media (max-width: 960px) {
  .seo-hero,
  .story-panel,
  .intent-panel,
  .seo-band,
  .seo-cta {
    grid-template-columns: 1fr;
  }

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

  .seo-hero {
    min-height: auto;
  }

  .seo-hero h1 {
    font-size: 52px;
  }
}

@media (max-width: 680px) {
  .seo-topbar,
  .seo-footer,
  .adjacent-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .seo-topnav {
    justify-content: flex-start;
  }

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

  .seo-hero h1 {
    font-size: 40px;
  }

  .story-panel h2,
  .intent-panel h2,
  .seo-section h2,
  .seo-cta h2 {
    font-size: 30px;
  }

  .seo-lede {
    font-size: 18px;
  }

  .seo-hero__visual {
    padding: 10px;
  }

  .seo-section,
  .story-panel,
  .intent-panel,
  .seo-cta {
    padding: 22px;
  }
}
