:root {
  --bg: #111318;
  --panel: #181c23;
  --panel-2: #202632;
  --line: #303744;
  --text: #eef2f7;
  --muted: #a6b0bf;
  --soft: #c9d2df;
  --accent: #2fbda5;
  --accent-2: #e4a94f;
  --accent-3: #74a9ff;
  --danger: #ffb4a2;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--text);
  background:
    linear-gradient(180deg, #151821 0%, var(--bg) 42%, #101116 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: var(--accent-3);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.seo-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.seo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 22px;
}

.seo-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0;
}

.seo-brand img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.seo-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 14px;
}

.seo-links a {
  color: var(--soft);
}

.seo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 7px;
  border: 1px solid rgba(47, 189, 165, 0.7);
  color: #07110f;
  background: var(--accent);
  font-weight: 700;
}

.seo-cta:hover {
  text-decoration: none;
  background: #45d1b9;
}

.seo-hero,
.seo-section,
.seo-footer {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 22px;
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  gap: 34px;
  align-items: center;
  padding-top: 34px;
  padding-bottom: 42px;
}

.seo-hero > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1 {
  margin: 13px 0 16px;
  font-size: 48px;
  line-height: 1.04;
  letter-spacing: 0;
}

.lead {
  margin: 0;
  color: var(--soft);
  font-size: 19px;
  max-width: 700px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 650;
}

.ghost-btn:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
}

.hero-notes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--soft);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
}

.hero-media {
  margin: 0;
  min-width: 0;
}

.hero-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.video-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 22px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 20px;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #000;
  cursor: pointer;
}

.video-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 52px;
  border-radius: 8px;
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
  font-size: 28px;
  line-height: 1;
}

.video-frame:hover .video-play {
  background: rgba(47, 189, 165, 0.9);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.seo-band {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
}

.seo-section {
  padding-top: 52px;
  padding-bottom: 52px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 22px;
}

h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.28;
  letter-spacing: 0;
}

p {
  color: var(--soft);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 20px;
}

.card strong {
  color: var(--text);
}

.card p,
.card li {
  color: var(--muted);
  font-size: 15px;
}

.card p:last-child,
.card ul:last-child,
.card ol:last-child {
  margin-bottom: 0;
}

.metric {
  display: block;
  color: var(--accent);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

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

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 16px;
  color: var(--soft);
}

.steps li:before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(47, 189, 165, 0.15);
  color: var(--accent);
  font-weight: 800;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

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

.compare th {
  color: var(--text);
  font-size: 14px;
  background: var(--panel-2);
}

.compare td {
  color: var(--muted);
  font-size: 14px;
}

.compare tr:last-child td {
  border-bottom: 0;
}

.warning {
  border-color: rgba(255, 180, 162, 0.45);
  background: rgba(255, 180, 162, 0.08);
}

.warning strong {
  color: var(--danger);
}

.references {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.references a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--soft);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
}

.seo-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
  padding-top: 34px;
  padding-bottom: 44px;
}

.seo-footer a {
  color: var(--soft);
}

@media (max-width: 900px) {
  .seo-hero {
    grid-template-columns: 1fr;
    padding-top: 20px;
  }

  h1 {
    font-size: 38px;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .video-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .seo-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .seo-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: flex-start;
    width: 100%;
  }

  .seo-links a {
    overflow-wrap: anywhere;
  }

  .seo-links .seo-cta {
    grid-column: 1 / -1;
    width: fit-content;
  }

  h1 {
    font-size: 29px;
    overflow-wrap: anywhere;
  }

  .lead {
    font-size: 17px;
  }

  .seo-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .seo-nav,
  .seo-hero,
  .seo-section,
  .seo-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .seo-hero {
    display: block;
  }

  .seo-hero > div,
  .hero-media,
  .lead,
  h1 {
    max-width: calc(100vw - 36px);
  }

  .hero-media {
    margin-top: 26px;
    width: calc(100vw - 36px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions a {
    width: 100%;
  }

  .hero-media img {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
  }

  .compare {
    display: block;
    overflow-x: auto;
  }
}
