/* SubstrateLayer public assessment guides
   Editorial evidence brief: warm paper, measured rules, field-note green. */
.seo-page {
  --seo-paper: #f1f0e8;
  --seo-paper-raised: #f8f7f0;
  --seo-paper-muted: #e5e4db;
  --seo-ink: #25271f;
  --seo-muted: #65685e;
  --seo-faint: #77796e;
  --seo-line: #d0d0c4;
  --seo-green: #596f3d;
  --seo-green-deep: #344329;
  --seo-lime: #c6e876;
  --seo-alert-bg: #eceee2;
  --seo-mono: "DM Mono", ui-monospace, monospace;
  --seo-sans: "DM Sans", ui-sans-serif, sans-serif;

  box-sizing: border-box;
  min-height: 100dvh;
  padding: clamp(32px, 6vw, 76px) 0 clamp(54px, 8vw, 100px);
  background: var(--seo-paper);
  color: var(--seo-ink);
  font-family: var(--seo-sans);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body { margin: 0; }

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

.seo-page :where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid #647d40;
  outline-offset: 4px;
  border-radius: 2px;
}

.seo-page a {
  color: var(--seo-green-deep);
  text-decoration-color: #9ba987;
  text-underline-offset: 3px;
}

.seo-page a:hover {
  color: #3f5928;
  text-decoration-color: currentColor;
}

.seo-container {
  width: min(920px, calc(100% - 44px));
  margin-inline: auto;
}

.seo-header {
  max-width: 780px;
  padding-bottom: clamp(28px, 5vw, 52px);
  border-bottom: 1px solid var(--seo-line);
}

.seo-brand {
  display: inline-block;
  margin-bottom: clamp(30px, 5vw, 48px);
  color: #303229 !important;
  font: 12px/1.3 var(--seo-mono);
  letter-spacing: .08em;
  text-decoration: none;
}

.seo-brand span { color: #7c8e59; }

.seo-eyebrow,
.seo-meta-label,
.seo-section-index,
.seo-scope-label,
.seo-cta-label {
  color: #687453;
  font: 10px/1.5 var(--seo-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.seo-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
}

.seo-eyebrow::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #819a53;
  content: "";
}

.seo-title {
  max-width: 820px;
  margin: 0;
  font-size: clamp(38px, 7vw, 70px);
  font-weight: 500;
  line-height: .99;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.seo-title em,
.seo-answer h2 em,
.seo-section-heading em {
  color: #657a46;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -.04em;
}

.seo-deck {
  max-width: 660px;
  margin: 23px 0 0;
  color: #65685e;
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.8;
}

.seo-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 24px;
  color: #74766b;
  font: 10px/1.6 var(--seo-mono);
  letter-spacing: .025em;
}

.seo-byline span + span::before {
  margin-right: 20px;
  color: #a4a596;
  content: "/";
}

.seo-answer {
  position: relative;
  margin: clamp(28px, 5vw, 48px) 0 0;
  padding: clamp(23px, 4vw, 36px);
  border: 1px solid #cdd1bf;
  border-left: 3px solid #829451;
  background: var(--seo-alert-bg);
}

.seo-answer-label {
  display: block;
  margin-bottom: 12px;
  color: #637748;
  font: 10px/1.5 var(--seo-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.seo-answer h2 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(23px, 4vw, 34px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.seo-answer p {
  max-width: 710px;
  margin: 14px 0 0;
  color: #56594f;
  font-size: 14px;
  line-height: 1.8;
}

.seo-answer p:last-child {
  margin-bottom: 0;
}

.seo-answer strong {
  color: #31352b;
  font-weight: 600;
}

.seo-scope {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 26px 0 0;
  border-top: 1px solid var(--seo-line);
  border-bottom: 1px solid var(--seo-line);
}

.seo-scope-item {
  min-width: 0;
  padding: 17px 20px 19px 0;
}

.seo-scope-item + .seo-scope-item {
  padding-left: 20px;
  border-left: 1px solid var(--seo-line);
}

.seo-scope-label {
  display: block;
  color: #7a7c70;
  font-size: 9px;
}

.seo-scope-value {
  display: block;
  margin-top: 7px;
  color: #303229;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.seo-scope-note {
  display: block;
  margin-top: 5px;
  color: #74766c;
  font-size: 10px;
  line-height: 1.55;
}

.seo-pricing {
  margin-top: clamp(38px, 6vw, 62px);
  padding-top: clamp(28px, 5vw, 46px);
  border-top: 1px solid var(--seo-line);
}

.seo-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.seo-pricing-preview {
  margin: 0;
  color: var(--seo-muted);
  font-size: 12px;
}

.seo-pricing-preview a {
  color: var(--seo-ink);
  font-weight: 700;
  text-decoration-color: #829451;
  text-underline-offset: 3px;
}

.seo-pricing-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(17px, 2.5vw, 23px);
  border: 1px solid var(--seo-line);
  background: var(--seo-paper-raised);
}

.seo-pricing-card.is-featured {
  border-color: #869663;
  box-shadow: inset 0 3px #829451;
}

.seo-pricing-kicker {
  margin: 0 0 12px;
  color: #687453;
  font: 9px/1.5 var(--seo-mono);
  letter-spacing: .1em;
}

.seo-pricing-card h3 {
  margin: 0;
  font-size: clamp(19px, 2.4vw, 25px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.045em;
}

.seo-pricing-description {
  min-height: 44px;
  margin: 9px 0 0;
  color: var(--seo-muted);
  font-size: 11px;
  line-height: 1.6;
}

.seo-pricing-price {
  margin: 19px 0 0;
  color: #303229;
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: 1;
}

.seo-pricing-price span {
  display: block;
  margin-top: 7px;
  color: #74766b;
  font: 9px/1.5 var(--seo-mono);
  letter-spacing: .04em;
}

.seo-pricing-scope {
  min-height: 40px;
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--seo-line);
  color: #45483e;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.55;
}

.seo-pricing-card ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 18px;
  padding: 0;
  color: #65685e;
  font-size: 10px;
  line-height: 1.55;
  list-style: none;
}

.seo-pricing-card li {
  position: relative;
  padding-left: 13px;
}

.seo-pricing-card li::before {
  position: absolute;
  top: .63em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #829451;
  content: "";
}

.seo-pricing-card .seo-cta-link {
  width: 100%;
  margin-top: auto;
  text-align: center;
}

.seo-pricing-steps {
  margin-top: clamp(30px, 5vw, 48px);
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--seo-line);
  background: var(--seo-paper-raised);
}

.seo-pricing-steps .seo-section-heading {
  margin-bottom: 22px;
}

.seo-pricing-steps ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pricing-step;
}

.seo-pricing-steps li {
  padding-top: 11px;
  border-top: 1px solid var(--seo-line);
  color: var(--seo-muted);
  font-size: 11px;
  line-height: 1.7;
  counter-increment: pricing-step;
}

.seo-pricing-steps li::before {
  display: block;
  margin-bottom: 8px;
  color: #687453;
  font: 10px/1.5 var(--seo-mono);
  content: "0" counter(pricing-step);
}

.seo-pricing-steps strong {
  display: block;
  margin-bottom: 4px;
  color: var(--seo-ink);
  font-weight: 600;
}

.seo-pricing-crosslink {
  margin-top: 12px !important;
}

.seo-cta .seo-pricing-crosslink a {
  color: var(--seo-lime);
  text-decoration-color: #9eaf7b;
}

.seo-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(35px, 6vw, 58px);
  padding-top: clamp(35px, 6vw, 58px);
}

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

.seo-section-heading {
  margin: 0 0 16px;
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.seo-section-index {
  display: block;
  margin: 0 0 10px;
  color: #7b7d70;
  font-size: 9px;
}

.seo-section > p,
.seo-prose p {
  max-width: 720px;
  margin: 0 0 15px;
  color: #5f6258;
  font-size: 13px;
  line-height: 1.85;
}

.seo-section > p:last-child,
.seo-prose p:last-child {
  margin-bottom: 0;
}

.seo-section h3 {
  margin: 23px 0 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.025em;
}

.seo-checklist {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
  padding: 0;
  border-top: 1px solid var(--seo-line);
  list-style: none;
}

.seo-checklist li {
  position: relative;
  padding: 14px 8px 15px 31px;
  border-bottom: 1px solid var(--seo-line);
  color: #56594f;
  font-size: 12px;
  line-height: 1.7;
}

.seo-checklist li::before {
  position: absolute;
  top: 19px;
  left: 4px;
  width: 12px;
  height: 7px;
  border-bottom: 1.5px solid #687f43;
  border-left: 1.5px solid #687f43;
  content: "";
  transform: rotate(-45deg);
}

.seo-checklist strong {
  color: #34372e;
  font-weight: 600;
}

.seo-note {
  margin: 23px 0 0;
  padding: 15px 17px;
  border: 1px solid #d1d2c5;
  background: #e9e8de;
  color: #61645a;
  font-size: 11px;
  line-height: 1.75;
}

.seo-note strong {
  color: #44483b;
  font-weight: 600;
}

.seo-note-label {
  display: block;
  margin-bottom: 5px;
  color: #6c7e4b;
  font: 9px/1.5 var(--seo-mono);
  letter-spacing: .11em;
  text-transform: uppercase;
}

.seo-facts {
  display: grid;
  grid-template-columns: minmax(115px, .5fr) 1fr;
  margin: 20px 0 0;
  border-top: 1px solid var(--seo-line);
}

.seo-facts dt,
.seo-facts dd {
  margin: 0;
  padding: 11px 10px 11px 0;
  border-bottom: 1px solid var(--seo-line);
  font-size: 11px;
  line-height: 1.65;
}

.seo-facts dt {
  color: #77796e;
  font: 9px/1.7 var(--seo-mono);
  letter-spacing: .045em;
  text-transform: uppercase;
}

.seo-facts dd {
  color: #55584e;
}

.seo-citations {
  margin: 21px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: seo-citation;
}

.seo-citations li {
  position: relative;
  padding: 12px 0 13px 36px;
  border-top: 1px solid var(--seo-line);
  color: #686a61;
  font-size: 11px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  counter-increment: seo-citation;
}

.seo-citations li::before {
  position: absolute;
  top: 12px;
  left: 0;
  color: #7c855f;
  font: 10px/1.7 var(--seo-mono);
  content: "[" counter(seo-citation, decimal-leading-zero) "]";
}

.seo-citations a {
  font-weight: 600;
}

.seo-related {
  margin-top: clamp(38px, 6vw, 62px);
  padding: 24px 0 0;
  border-top: 1px solid var(--seo-line);
}

.seo-related h2 {
  margin: 0 0 13px;
  font: 9px/1.5 var(--seo-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #727568;
}

.seo-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.seo-related-links a {
  color: #53683a;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.7;
}

.seo-hub-list .seo-related-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 0;
  list-style: none;
}

.seo-hub-list .seo-related-links li {
  padding: 9px 0;
  border-top: 1px solid var(--seo-line);
}

.seo-faq details {
  padding: 13px 0;
  border-top: 1px solid var(--seo-line);
}

.seo-faq summary {
  color: #34372e;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.seo-faq details p {
  margin: 9px 0 0;
  color: #5f6258;
  font-size: 11px;
  line-height: 1.75;
}

.seo-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 42px;
  padding-top: 16px;
  border-top: 1px solid var(--seo-line);
  color: var(--seo-muted);
  font: 9px/1.6 var(--seo-mono);
}

.seo-footer-links {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 7px 14px;
  padding-bottom: 10px;
}

.seo-footer a {
  color: inherit;
  text-underline-offset: 3px;
}

.seo-limit-box {
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 2px solid #829451;
  background: #edede5;
  color: #56594f;
  font-size: 11px;
  line-height: 1.7;
}

.seo-limit-box > strong {
  display: block;
  margin-bottom: 4px;
  color: #33362e;
}

.seo-limit-box p {
  margin: 0;
}

.seo-limit-box p + p {
  margin-top: 5px;
}

.seo-not-found {
  width: min(760px, calc(100% - 40px));
  margin: clamp(48px, 12vw, 130px) auto;
  color: #25271f;
  font-family: "DM Sans", ui-sans-serif, sans-serif;
}

.seo-not-found p:first-child {
  color: #687453;
  font: 10px/1.5 "DM Mono", ui-monospace, monospace;
  letter-spacing: .12em;
}

.seo-not-found h1 {
  margin: 18px 0;
  font-size: clamp(36px, 8vw, 62px);
  line-height: 1;
  letter-spacing: -.06em;
}

.seo-cta {
  position: relative;
  margin-top: clamp(42px, 7vw, 72px);
  padding: clamp(25px, 5vw, 42px);
  color: #efeee5;
  background: #24261f;
}

.seo-cta::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 58px;
  height: 3px;
  background: var(--seo-lime);
  content: "";
}

.seo-cta-label {
  display: block;
  color: #b9c39f;
}

.seo-cta h2 {
  max-width: 650px;
  margin: 13px 0 9px;
  font-size: clamp(25px, 4.5vw, 40px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.seo-cta p {
  max-width: 600px;
  margin: 0;
  color: #b7b9ae;
  font-size: 12px;
  line-height: 1.75;
}

.seo-cta-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 15px;
  margin-top: 15px;
  color: #c3d39e;
  font: 9px/1.6 var(--seo-mono);
}

.seo-cta-link {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 0 17px;
  border: 1px solid var(--seo-lime);
  background: var(--seo-lime);
  color: #25291d !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.seo-cta-link:hover {
  border-color: #d5f194;
  background: #d5f194;
}

.seo-cta-link:focus-visible {
  outline-color: #e0f6ac;
}

.seo-cta-secondary {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  margin: 22px 0 0 10px;
  padding: 0 17px;
  border: 1px solid #74776b;
  color: #efeee5 !important;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.seo-cta-secondary:hover {
  border-color: #d5f194;
  color: #d5f194 !important;
}

.seo-disclaimer {
  max-width: 760px;
  margin: 14px 0 0;
  color: #888a7e;
  font-size: 10px;
  line-height: 1.7;
}

@media (max-width: 759px) {
  .seo-pricing-grid,
  .seo-pricing-steps ol {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 760px) {
  .seo-container {
    width: min(960px, calc(100% - 72px));
  }

  .seo-content {
    grid-template-columns: minmax(0, 1fr) minmax(210px, .37fr);
    column-gap: clamp(35px, 7vw, 78px);
    row-gap: 52px;
  }

  .seo-main-content {
    grid-row: span 2;
  }

  .seo-sidebar {
    padding-top: 6px;
  }
}

@media (max-width: 560px) {
  .seo-container {
    width: calc(100% - 40px);
  }

  .seo-page {
    font-size: 14px;
  }

  .seo-byline {
    gap: 5px 12px;
  }

  .seo-byline span + span::before {
    margin-right: 12px;
  }

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

  .seo-pricing-grid,
  .seo-pricing-steps ol {
    grid-template-columns: 1fr;
  }

  .seo-pricing-description,
  .seo-pricing-scope {
    min-height: 0;
  }

  .seo-scope-item {
    padding: 13px 0;
  }

  .seo-scope-item + .seo-scope-item {
    padding-left: 0;
    border-top: 1px solid var(--seo-line);
    border-left: 0;
  }

  .seo-scope-value {
    display: inline;
    margin: 0 0 0 8px;
  }

  .seo-scope-note {
    margin-top: 3px;
  }

  .seo-facts {
    grid-template-columns: minmax(98px, .43fr) 1fr;
    column-gap: 10px;
  }

  .seo-cta-link {
    width: 100%;
  }

  .seo-cta-secondary {
    width: 100%;
    margin: 9px 0 0;
  }
}

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