:root {
  --seo-bg: #020302;
  --seo-panel: rgba(12, 15, 13, .88);
  --seo-line: rgba(255, 255, 255, .14);
  --seo-muted: rgba(238, 244, 238, .64);
  --seo-text: #f3f7f1;
  --seo-green: #68f79d;
  --seo-yellow: #dfc861;
  --seo-red: #ff7676;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--seo-bg);
}

body.seo-page {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    radial-gradient(circle at 72% 18%, rgba(104,247,157,.12), transparent 28rem),
    #000;
  background-size: 48px 48px, 48px 48px, auto, auto;
  color: var(--seo-text);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0;
  overflow-x: hidden;
}

.seo-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.seo-hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .34;
  filter: saturate(.8) contrast(1.08);
}

.seo-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.74) 40%, rgba(0,0,0,.38) 100%),
    linear-gradient(0deg, rgba(0,0,0,.94) 0%, transparent 45%);
}

.seo-hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.045) 0 1px, transparent 1px 7px);
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.seo-hero-copy {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 70px;
}

.seo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--seo-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.seo-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--seo-green);
  box-shadow: 0 0 16px rgba(104,247,157,.75);
}

.seo-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 6vw, 86px);
  line-height: .94;
  letter-spacing: 0;
  text-transform: none;
}

.seo-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.55;
}

.seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.seo-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid rgba(255,255,255,.34);
  color: #fff;
  background: rgba(0,0,0,.22);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

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

.seo-btn:hover {
  border-color: #fff;
  box-shadow: 0 0 18px rgba(255,255,255,.16);
}

.seo-metrics {
  width: min(1120px, calc(100% - 48px));
  margin: -34px auto 0;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255,255,255,.18);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 6px),
    rgba(8, 10, 9, .96);
}

.seo-metric {
  min-height: 92px;
  padding: 22px 24px;
  border-right: 1px solid rgba(255,255,255,.12);
}

.seo-metric:last-child {
  border-right: 0;
}

.seo-metric strong {
  display: block;
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.seo-metric span {
  display: block;
  margin-top: 10px;
  color: var(--seo-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.seo-body {
  width: min(1120px, calc(100% - 48px));
  margin: 76px auto 96px;
}

.seo-section,
.seo-faq,
.seo-related {
  display: grid;
  grid-template-columns: 96px minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 34px;
  padding: 38px 0;
  border-top: 1px solid rgba(255,255,255,.14);
}

.seo-section-index {
  color: rgba(255,255,255,.4);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.seo-section h2,
.seo-related h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: 0;
}

.seo-section p,
.seo-faq p {
  margin: 0 0 16px;
  color: rgba(255,255,255,.72);
  font-size: 15px;
  line-height: 1.75;
}

.seo-checklist {
  align-self: start;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.035);
}

.seo-checklist li {
  position: relative;
  min-height: 46px;
  padding: 14px 16px 14px 34px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.78);
  font-size: 13px;
  line-height: 1.45;
}

.seo-checklist li:last-child {
  border-bottom: 0;
}

.seo-checklist li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 20px;
  width: 6px;
  height: 6px;
  background: var(--seo-yellow);
  box-shadow: 0 0 12px rgba(223,200,97,.45);
}

.seo-faq {
  grid-template-columns: 96px minmax(0, 1fr);
}

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

.seo-faq details {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.035);
}

.seo-faq summary {
  min-height: 54px;
  padding: 17px 18px;
  cursor: pointer;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.seo-faq details p {
  padding: 0 18px 18px;
}

.seo-related {
  grid-template-columns: 1fr;
  gap: 16px;
  padding-bottom: 0;
}

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

.seo-related-grid a {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.86);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.seo-related-grid a:hover {
  color: #020302;
  background: var(--seo-green);
  border-color: var(--seo-green);
}

@media (max-width: 820px) {
  .seo-hero {
    min-height: 620px;
  }

  .seo-hero-copy,
  .seo-metrics,
  .seo-body {
    width: min(100% - 28px, 1120px);
  }

  .seo-hero-copy {
    padding-bottom: 82px;
  }

  .seo-hero h1 {
    font-size: 42px;
    line-height: 1;
  }

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

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

  .seo-metric {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .seo-metric:last-child {
    border-bottom: 0;
  }

  .seo-section,
  .seo-faq {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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