:root {
  color-scheme: dark;
  --bg: #0b0d10;
  --surface: #12161b;
  --surface-hover: #181d24;
  --text: #f5f7f9;
  --soft: #bbc3cc;
  --muted: #7e8996;
  --accent: #72e1a6;
  --accent-soft: rgba(114,225,166,.11);
  --border: rgba(255,255,255,.09);
  --accent-border: rgba(114,225,166,.28);
  --radius: 18px;
  --width: 980px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -12%, rgba(114,225,166,.09), transparent 38rem),
    var(--bg);
}

.shell {
  width: min(calc(100% - 40px), var(--width));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(11,13,16,.88);
}

.site-header .shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--accent);
  color: #07110b;
  font-weight: 900;
}

.brand > div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand > div > span {
  color: var(--muted);
  font-size: 12px;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--soft);
  font-size: 12px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.page {
  padding: 64px 0 96px;
}

.hero {
  max-width: 760px;
  margin-bottom: 44px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.05em;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--soft);
  font-size: 1.08rem;
}

.adaptive-seo-feed {
  display: grid;
  gap: 16px;
}

/* AI Digest */

.adaptive-seo-digest {
  margin-bottom: 22px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--accent-border);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(114,225,166,.09), transparent 65%),
    var(--surface);
  box-shadow: 0 24px 70px rgba(0,0,0,.3);
}

.adaptive-seo-digest::before {
  content: "AI DIGEST";
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 9px;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.adaptive-seo-digest > h2 {
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 4vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.adaptive-seo-digest > p {
  margin: 0 0 28px;
  color: var(--soft);
  font-size: 1.04rem;
}

.adaptive-seo-digest article {
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

.adaptive-seo-digest article:last-child {
  padding-bottom: 0;
}

.adaptive-seo-digest h3 {
  margin: 0 0 5px;
  font-size: 1.1rem;
}

.adaptive-seo-digest article p {
  margin: 0 0 10px;
  color: var(--soft);
}

.adaptive-seo-digest article a {
  display: block;
  width: fit-content;
  color: var(--accent);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.adaptive-seo-digest article a:hover {
  text-decoration: underline;
}

.adaptive-seo-digest article span,
.adaptive-seo-digest article time {
  display: block;
  color: var(--muted);
  font-size: .76rem;
}

/* Individual Feed content */

.adaptive-seo-media-unit {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.adaptive-seo-media-unit:hover {
  transform: translateY(-2px);
  background: var(--surface-hover);
  border-color: rgba(255,255,255,.16);
}

.adaptive-seo-media-unit h2 {
  margin: 0;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  line-height: 1.3;
}

.adaptive-seo-media-unit h2 a {
  color: var(--text);
  text-decoration: none;
}

.adaptive-seo-media-unit h2 a:hover {
  color: var(--accent);
}

.adaptive-seo-media-unit p {
  margin: 12px 0 0;
  color: var(--soft);
  font-size: .94rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}

.site-footer .shell {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 640px) {
  .shell {
    width: calc(100% - 28px);
  }

  .live-badge {
    display: none;
  }

  .page {
    padding: 42px 0 64px;
  }

  .adaptive-seo-digest {
    padding: 22px;
  }

  .adaptive-seo-media-unit {
    padding: 19px;
  }

  .site-footer .shell {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
  }
}
