:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --panel: #ffffff;
  --panel-soft: #edf4ff;
  --text: #101827;
  --muted: #536275;
  --line: #d8e1ec;
  --brand: #1d4ed8;
  --brand-strong: #12357f;
  --ok: #137a4b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 4%, rgba(29, 78, 216, 0.16), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.seo-shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 42px;
}

.seo-nav,
.seo-card,
.seo-band,
.seo-footer {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.07);
}

.seo-nav {
  position: sticky;
  top: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  backdrop-filter: blur(18px);
}

.seo-brand,
.seo-links,
.seo-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.seo-brand {
  font-weight: 950;
  text-decoration: none;
}

.seo-brand img {
  width: 34px;
  height: 34px;
}

.seo-links a,
.seo-actions a,
.seo-footer a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.seo-actions .seo-primary {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 13px;
  color: #ffffff;
  background: var(--brand);
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: stretch;
  padding: 18px 0;
}

.seo-card {
  display: grid;
  align-content: center;
  min-height: 420px;
  padding: clamp(26px, 5vw, 54px);
}

.seo-kicker {
  width: fit-content;
  border: 1px solid #c9d8ff;
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--brand-strong);
  background: #eaf1ff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 760px;
  margin-top: 16px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.95;
  letter-spacing: 0;
}

.seo-lead {
  max-width: 680px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.45;
}

.seo-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.seo-cta-row a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cdd8e7;
  border-radius: 8px;
  padding: 0 15px;
  color: var(--text);
  background: #ffffff;
  font-weight: 950;
  text-decoration: none;
}

.seo-cta-row a:first-child {
  border-color: var(--brand);
  color: #ffffff;
  background: var(--brand);
}

.seo-side {
  display: grid;
  gap: 10px;
}

.seo-metric,
.seo-step {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.9);
}

.seo-metric strong,
.seo-step strong {
  display: block;
  color: var(--text);
  font-size: 18px;
}

.seo-metric span,
.seo-step span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

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

.seo-band {
  display: grid;
  gap: 20px;
  margin-top: 12px;
  padding: clamp(20px, 4vw, 34px);
}

.seo-band h2 {
  max-width: 760px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.seo-band p {
  color: var(--muted);
  line-height: 1.6;
}

.seo-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--panel-soft);
  color: var(--muted);
  line-height: 1.45;
}

.seo-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.seo-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
}

.seo-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 820px) {
  .seo-nav,
  .seo-hero,
  .seo-footer {
    align-items: flex-start;
  }

  .seo-nav {
    position: relative;
    top: 0;
    flex-direction: column;
  }

  .seo-links {
    flex-wrap: wrap;
  }

  .seo-actions {
    flex-wrap: wrap;
  }

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

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