/* /services/seo/ landing: hero with the stage route, stage-by-stage price list, steps, terms. Depends on marketing.css and catalog.css. */

.seo-intro { padding-block: clamp(24px, 3.5vw, 44px) clamp(20px, 3vw, 36px); }
.seo-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4.5vw, 64px); align-items: start; }
.seo-hero h1 { max-width: 22ch; margin-top: 4px; font-size: clamp(2rem, 1.35rem + 2.1vw, 3.125rem); }
.seo-answer { max-width: 60ch; margin-top: 18px; color: var(--ink-2); font-size: clamp(1.0625rem, 1rem + .2vw, 1.1875rem); line-height: 1.6; }
.seo-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--highlight), var(--shadow-sm); }
.seo-facts > div { min-width: 0; padding: 12px 14px; }
.seo-facts > div + div { border-left: 1px dashed var(--line-2); }
.seo-facts dt { color: var(--muted); font-size: .875rem; }
.seo-facts dd { margin: 2px 0 0; color: var(--ink); font-weight: 650; line-height: 1.35; }
.seo-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Stage route: the seven stages as one path, each with its entry price. */
.seo-route { position: relative; margin-top: 18px; padding: clamp(20px, 2.4vw, 26px); border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--highlight), var(--shadow); }
.seo-seal { position: absolute; top: -18px; right: -14px; z-index: 1; width: 96px; height: 96px; pointer-events: none; filter: drop-shadow(0 10px 18px rgba(40, 56, 0, .2)); }
.seo-route-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; padding-right: 72px; color: var(--muted); font-size: .875rem; font-weight: 600; }
.seo-route-label .icon { color: var(--violet-text); }
.seo-route ol { display: grid; counter-reset: route; }
.seo-route li + li { border-top: 1px dashed var(--line-2); }
.seo-route a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 4px; border-radius: 8px; transition: background-color .15s; }
.seo-route a:hover { background: var(--surface-2); }
.seo-route-num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--violet-soft); color: var(--violet-text); font-size: .8125rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.seo-route li:last-child .seo-route-num { background: var(--lime); color: var(--lime-ink); }
.seo-route-name { color: var(--ink); font-weight: 600; line-height: 1.3; }
.seo-route-price { color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

.seo-block, .seo-pricing { padding-block: clamp(20px, 3vw, 36px); }
.seo-block-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: 20px; }
.seo-block-head h2 { font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.125rem); }
.seo-block-head p { max-width: 56ch; color: var(--muted); }

.seo-stage { scroll-margin-top: calc(var(--header-h) + 16px); }
.seo-stage + .seo-stage { margin-top: 28px; }
.seo-stage-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.seo-stage-num { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--invert-bg); color: var(--invert-ink); font: 700 .9375rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.seo-stage-head h3 { font-size: 1.375rem; }
.seo-stage-head p { color: var(--muted); font-size: .9375rem; }

.seo-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.seo-steps li { display: grid; align-content: start; gap: 8px; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.seo-step-num { width: fit-content; padding: 2px 8px; border-radius: 99px; background: var(--surface-sunken); color: var(--ink-2); font-size: .875rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.seo-steps h3 { font-size: 1.0625rem; }
.seo-steps p { color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.seo-steps li.is-agreed { border-color: color-mix(in srgb, var(--lime) 55%, var(--line)); background: linear-gradient(180deg, var(--lime-soft), var(--surface) 70%); }
.seo-steps li.is-agreed .seo-step-num { background: var(--lime); color: var(--lime-ink); }

.seo-terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.seo-terms article { padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); }
.seo-terms h2 { margin-bottom: 14px; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }
.seo-terms ul { display: grid; gap: 8px; }
.seo-terms li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-2); line-height: 1.45; }
.seo-terms li .icon { flex: none; margin-top: 2px; }
.seo-fixed li .icon { color: var(--green-ink); }
.seo-honest { background: var(--surface-2); }
.seo-honest li .icon { color: var(--faint); }
.seo-terms p { margin-top: 14px; color: var(--muted); font-size: .9375rem; }
.seo-faq { padding-top: clamp(40px, 5vw, 72px); }
.seo-faq, .closing-wrap { content-visibility: auto; contain-intrinsic-size: auto 640px; }

@media (max-width: 1120px) {
  .seo-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .seo-hero { grid-template-columns: minmax(0, 1fr); }
  .seo-route { max-width: 640px; }
  .seo-terms { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .seo-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-facts > div:nth-child(3) { border-left: 0; }
  .seo-facts > div:nth-child(n+3) { border-top: 1px dashed var(--line-2); }
  .seo-steps { grid-template-columns: minmax(0, 1fr); }
  .seo-steps li { grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; }
  .seo-steps li p { grid-column: 2; }
  .seo-seal { width: 72px; height: 72px; top: -10px; right: -4px; }
}
@media (max-width: 420px) {
  .seo-hero-actions .button { flex: 1 1 auto; }
  .seo-route a { grid-template-columns: auto minmax(0, 1fr); }
  .seo-route-price { grid-column: 2; }
}
