:root {
  color-scheme: dark;
  --carbon: #050505;
  --panel: #111317;
  --ink: #f7f7f2;
  --muted: #b8bec8;
  --line: rgba(255, 255, 255, 0.18);
  --signal: #ff5b2e;
  --electric: #6ee7ff;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--carbon);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  margin: 0;
}

a {
  color: inherit;
}

.seo-header,
main,
footer {
  margin: 0 auto;
  max-width: 1120px;
  padding: 1.2rem;
}

.seo-header {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.brand img {
  display: block;
  height: 42px;
  width: 210px;
}

.seo-header nav,
.actions,
.internal-links div,
footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.seo-header nav a,
footer a {
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.seo-hero {
  padding: 5rem 0 3rem;
}

.eyebrow {
  color: var(--electric);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.8rem, 9vw, 5.8rem);
  line-height: 0.95;
  margin: 0.5rem 0 1rem;
  max-width: 900px;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.1;
}

p {
  color: var(--muted);
  max-width: 760px;
}

.button,
.internal-links a {
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 950;
  padding: 0.85rem 1rem;
  text-decoration: none;
  text-transform: uppercase;
}

.primary {
  background: var(--ink);
  color: #050505;
}

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

.seo-grid section,
.faq,
.internal-links {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.2rem;
}

details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

.faq,
.internal-links {
  margin-top: 1rem;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  margin-top: 3rem;
}

@media (max-width: 760px) {
  .seo-header {
    align-items: flex-start;
    display: grid;
  }

  .brand img {
    height: 32px;
    width: 160px;
  }

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