/* Shared marketing chrome for static HTML (features, blog, legal).
   Linked last in <head> so it overrides per-page Inter + cyan inline CSS. */

:root {
  --ink: #050510;
  --ink-elevated: #0a0f1a;
  --ink-card: #12141f;
  --paper: #ffffff;
  --paper-muted: #a0a0ab;
  --cyan: #14feee;
  --cyan-hover: #3afbf4;
  --pink: #FF4D9D;
  --pink-hover: #ff7ab4;
  --violet: #A78BFA;
  --emerald: #34D399;
  --cyan-signal: #14FEEE;
}

body {
  font-family: Poppins, Inter, system-ui, sans-serif !important;
  background: var(--ink) !important;
  color: var(--paper-muted);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-display, .page-title {
  font-family: Poppins, Inter, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--paper);
}

a {
  color: var(--cyan);
}
a:hover {
  color: var(--cyan-hover);
}

/* Unified nav */
header.asg-nav { all: revert; display: block; box-sizing: border-box; margin: 0; padding: 0; max-width: none; width: 100%; border: 0; background: transparent; }
header.asg-nav, header.asg-nav * { box-sizing: border-box; }
header.asg-nav,
.asg-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 16, 0.88) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 254, 238, 0.12) !important;
  font-family: Poppins, system-ui, sans-serif !important;
}
.asg-nav__strip {
  background: rgba(255, 77, 157, 0.1) !important;
  border-bottom: 1px solid rgba(255, 77, 157, 0.2) !important;
}
.asg-nav__strip-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--paper-muted) !important;
  text-align: center;
}
.asg-nav__strip-inner b {
  color: var(--paper) !important;
  font-weight: 600;
}
.asg-nav__strip-inner .tail { display: none; }
@media (min-width: 640px) {
  .asg-nav__strip-inner .tail { display: inline; }
}
.asg-nav__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.asg-nav__brand {
  display: inline-flex;
  align-items: center;
  color: var(--paper) !important;
  font-weight: 700;
  text-decoration: none;
}
.asg-nav__brand img {
  height: 44px !important;
  width: auto !important;
  max-width: 200px;
  border-radius: 0 !important;
  object-fit: contain !important;
  display: block;
}
.asg-nav__brand .accent { color: var(--cyan) !important; }
.asg-nav__brand .tld { color: var(--paper-muted) !important; }
.asg-nav__links {
  display: none;
  gap: 2rem;
  align-items: center;
  font-size: 0.875rem;
}
.asg-nav__links a,
.asg-nav__links button {
  color: var(--paper-muted) !important;
  text-decoration: none;
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  transition: color 0.15s;
}
.asg-nav__links a:hover,
.asg-nav__links button:hover { color: var(--paper) !important; }
.asg-nav__drop { position: relative; }
.asg-nav__drop-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 0.5rem;
  opacity: 0;
  pointer-events: none;
  z-index: 50;
}
.asg-nav__drop:hover .asg-nav__drop-panel,
.asg-nav__drop:focus-within .asg-nav__drop-panel {
  opacity: 1;
  pointer-events: auto;
}
.asg-nav__drop-grid {
  width: min(340px, calc(100vw - 2rem));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  padding: 0.75rem;
  background: rgba(18, 20, 31, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.asg-nav__drop-grid a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  color: #c4cdd8 !important;
  font-size: 0.75rem;
  text-decoration: none;
}
.asg-nav__drop-grid a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff !important;
}
.asg-nav__drop-grid .all {
  grid-column: 1 / -1;
  justify-content: center;
  color: var(--pink) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 0.25rem;
  padding-top: 0.6rem;
  font-weight: 500;
}
.asg-nav__cta { display: flex; align-items: center; gap: 0.75rem; }
.asg-nav__signin {
  color: var(--paper-muted) !important;
  font-size: 0.875rem;
  text-decoration: none;
}
.asg-nav__signin:hover { color: var(--paper) !important; }
.asg-nav__free {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  background: var(--cyan) !important;
  color: #050510 !important;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  box-shadow: none !important;
}
.asg-nav__free:hover {
  background: var(--cyan-hover) !important;
  transform: translateY(-1px);
  box-shadow: none !important;
  color: #050510 !important;
}
.asg-nav__burger { display: none; position: relative; }
.asg-nav__burger > summary {
  list-style: none;
  cursor: pointer;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.asg-nav__burger > summary::-webkit-details-marker { display: none; }
.asg-nav__burger-icon,
.asg-nav__burger-icon::before,
.asg-nav__burger-icon::after {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: #fff;
  position: relative;
}
.asg-nav__burger-icon::before,
.asg-nav__burger-icon::after {
  content: "";
  position: absolute;
  left: 0;
}
.asg-nav__burger-icon::before { top: -5px; }
.asg-nav__burger-icon::after { top: 5px; }
.asg-nav__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  width: min(20rem, calc(100vw - 2rem));
  max-height: min(70vh, 28rem);
  overflow-y: auto;
  background: rgba(18, 20, 31, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  z-index: 60;
}
.asg-nav__panel a {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  color: var(--paper-muted) !important;
  text-decoration: none;
  font-size: 0.875rem;
}
.asg-nav__panel a:hover { background: rgba(255, 255, 255, 0.05); color: #fff !important; }
.asg-nav__panel-label {
  margin: 0.5rem 0.85rem 0.25rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-muted);
}
.asg-nav__panel-all { color: var(--pink) !important; font-weight: 500; }

@media (min-width: 768px) {
  .asg-nav__links { display: flex; }
  .asg-nav__burger { display: none !important; }
}
@media (max-width: 767px) {
  .asg-nav__signin { display: none; }
  .asg-nav__free { padding: 0.4rem 0.9rem; font-size: 0.8rem; }
  .asg-nav__burger { display: block; }
  .asg-nav__inner { padding: 0.65rem 1rem; }
  .asg-nav__strip-inner { padding: 0.45rem 1rem; }
}

/* Cards / posts (blog) */
.post-card,
.feature-card {
  background: rgba(18, 20, 31, 0.8) !important;
  border-color: rgba(20, 254, 238, 0.18) !important;
}
.post-card:hover,
.feature-card:hover {
  border-color: rgba(255, 77, 157, 0.35) !important;
  background: rgba(18, 20, 31, 0.95) !important;
}
.post-card .read-more,
.post-list .post-card .read-more {
  color: var(--pink) !important;
}

.logo span,
.site-header .logo span {
  color: var(--cyan) !important;
}

.cta-btn, .cta-button {
  background: var(--cyan) !important;
  color: #050510 !important;
  box-shadow: none !important;
}
.cta-btn:hover, .cta-button:hover {
  background: var(--cyan-hover) !important;
  opacity: 1;
}

code {
  background: rgba(20, 254, 238, 0.1) !important;
  color: var(--cyan) !important;
}
blockquote {
  border-left-color: var(--pink) !important;
}
.highlight-box strong,
.article-meta {
  color: var(--pink) !important;
}

.badge-free {
  background: rgba(255, 77, 157, 0.12) !important;
  color: var(--pink) !important;
}

/* ── Feature pages (body.feat) — not a skinny blog ── */
body.feat,
body.blog,
body.blog-hub {
  margin: 0;
  color: var(--paper-muted);
  overflow-x: hidden;
}
body.feat *,
body.blog *,
body.blog-hub * { box-sizing: border-box; }
.feat-wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) {
  .feat-wrap { padding: 0 1.5rem; }
}

.feat-aurora {
  position: relative;
  overflow: hidden;
}
.feat-aurora::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 18% -8%, rgba(20, 254, 238, 0.16), transparent 58%),
    radial-gradient(ellipse 55% 45% at 92% 8%, rgba(255, 77, 157, 0.14), transparent 55%);
}
.feat-aurora--pink::before {
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 77, 157, 0.12), transparent 60%);
}
.feat-aurora--cyan::before {
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(20, 254, 238, 0.1), transparent 60%);
}

.feat-hero {
  padding: 2.5rem 0 2rem;
}
@media (min-width: 768px) {
  .feat-hero { padding: 4.5rem 0 3.5rem; }
}
.feat-crumb {
  font-size: 0.75rem;
  color: var(--paper-muted);
  margin-bottom: 1.25rem;
}
.feat-crumb a { color: var(--paper-muted); text-decoration: none; }
.feat-crumb a:hover { color: #fff; }
.feat-hero-grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  min-width: 0;
}
.feat-hero-grid > * { min-width: 0; }
@media (min-width: 960px) {
  .feat-hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; }
}
.feat-kicker {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.feat-kicker.pink { color: var(--pink); }
.feat-hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  font-weight: 600;
  color: #fff;
  margin: 0 0 1.25rem;
  letter-spacing: -0.03em;
}
.feat-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #c4c4cc;
  margin: 0 0 1.5rem;
  max-width: 38rem;
}
.feat-highlights {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.feat-highlights li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #d4d4d8;
  line-height: 1.45;
}
.feat-highlights li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: var(--cyan);
  flex-shrink: 0;
}
.feat-hero.pink .feat-highlights li::before { background: var(--pink); }
.feat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.feat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
}
.feat-btn-primary {
  background: var(--cyan);
  color: #050510 !important;
}
.feat-btn-primary:hover { background: var(--cyan-hover); color: #050510 !important; }
.feat-btn-ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.feat-btn-ghost:hover { border-color: rgba(20, 254, 238, 0.4); color: #fff !important; }
.feat-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding-top: 0.5rem;
}
@media (min-width: 480px) {
  .feat-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
}
.feat-stat {
  border-top: 1px solid rgba(20, 254, 238, 0.18);
  padding-top: 0.85rem;
}
.feat-stat strong {
  display: block;
  font-size: 1.35rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.feat-stat span {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

.feat-section { padding: 2.5rem 0; position: relative; }
@media (min-width: 768px) {
  .feat-section { padding: 4.5rem 0; }
}
.feat-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.75rem;
}
.feat-section .sub {
  max-width: 40rem;
  margin: 0 0 2.25rem;
  line-height: 1.65;
}
.feat-center { text-align: center; }
.feat-center .sub { margin-left: auto; margin-right: auto; }

.feat-cards {
  display: grid;
  gap: 1.25rem;
}
.feat-cards > * { min-width: 0; }
@media (min-width: 640px) {
  .feat-cards.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .feat-cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .feat-cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.feat-card {
  background: rgba(18, 20, 31, 0.8);
  border: 1px solid rgba(255, 77, 157, 0.28);
  box-shadow: 0 0 0 1px rgba(20, 254, 238, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.feat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 77, 157, 0.5);
}
.feat-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.5rem;
}
.feat-card p { margin: 0 0 0.6rem; font-size: 0.875rem; line-height: 1.65; color: #a1a1aa; }
.feat-card p:last-child { margin-bottom: 0; }
.feat-card svg { width: 1.15rem; height: 1.15rem; display: block; }
.feat-card .num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 0.6rem;
}
.feat-card.pink-accent .num { color: var(--pink); }

.feat-longform {
  max-width: 48rem;
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
}
@media (min-width: 640px) {
  .feat-longform { padding: 1rem 1.5rem 3rem; }
}
.feat-longform h2 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  margin: 2.75rem 0 1rem;
}
.feat-longform p {
  margin: 0 0 1.15rem;
  line-height: 1.75;
  font-size: 1rem;
  color: #c4c4cc;
}
.feat-longform strong { color: #fff; font-weight: 600; }
.feat-longform ul, .feat-longform ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}
.feat-longform li {
  margin-bottom: 0.55rem;
  line-height: 1.65;
  color: #c4c4cc;
}
.feat-callout {
  border-left: 3px solid var(--pink);
  background: rgba(255, 77, 157, 0.06);
  padding: 1rem 1.25rem;
  border-radius: 0 12px 12px 0;
  margin: 1.5rem 0 2rem;
  color: #e4e4e7;
}

.feat-related { padding-bottom: 2rem; }
.feat-related a {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}
.feat-related a h3 { color: #fff; }
.feat-related a:hover h3 { color: var(--cyan); }

.feat-cta-band {
  padding: 1.5rem 0 3rem;
}
@media (min-width: 768px) {
  .feat-cta-band { padding: 2rem 0 5rem; }
}
.feat-cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 77, 157, 0.35);
  background: rgba(18, 20, 31, 0.7);
  box-shadow: 0 0 0 1px rgba(20, 254, 238, 0.12);
  padding: 2rem 1.25rem;
}
@media (min-width: 768px) {
  .feat-cta-box { padding: 3rem 2rem; }
}
.feat-cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 18% -8%, rgba(20, 254, 238, 0.16), transparent 58%),
    radial-gradient(ellipse 55% 45% at 92% 8%, rgba(255, 77, 157, 0.14), transparent 55%);
}
.feat-cta-inner {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .feat-cta-inner { grid-template-columns: 1fr auto; padding: 0 1.5rem; }
  .feat-cta-box { padding: 3.5rem 2.5rem; }
}
.feat-cta-box h2 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.85rem;
}
.feat-cta-box p {
  margin: 0 0 1.5rem;
  max-width: 32rem;
  line-height: 1.65;
}
.feat-cta-box img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(20, 254, 238, 0.25));
}
@media (max-width: 767px) {
  .feat-cta-box img { display: none; }
}

/* Hub catalog */
.feat-hub-hero { text-align: center; padding: 2.75rem 1rem 1.5rem; }
@media (min-width: 768px) {
  .feat-hub-hero { padding: 4.5rem 1.5rem 2rem; }
}
.feat-hub-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 600;
  margin: 0 0 1rem;
  color: #fff;
}
.feat-hub-hero p {
  max-width: 38rem;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
}
.feat-hub-group { padding: 2rem 0 1rem; }
.feat-hub-group header { margin-bottom: 1.25rem; }
.feat-hub-group header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}
.feat-plan {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.feat-plan-free { background: rgba(255, 77, 157, 0.12); color: var(--pink); }
.feat-plan-starter, .feat-plan-pro {
  background: rgba(20, 254, 238, 0.1);
  color: var(--cyan);
}

/* Product mocks */
.mock {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(255, 77, 157, 0.35);
  background: rgba(18, 20, 31, 0.9);
  box-shadow:
    0 30px 80px -24px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(20, 254, 238, 0.15);
  overflow: hidden;
  min-width: 0;
}
.mock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(255, 77, 157, 0.2);
  font-size: 0.7rem;
  font-weight: 500;
  color: #fff;
}
.mock-bar .live { color: var(--cyan); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.62rem; }
.mock-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--cyan);
  display: inline-block;
  margin-right: 0.45rem;
}
.mock-body { padding: 1.1rem 1.15rem 1.25rem; }
.mock-grid { background-image:
  linear-gradient(rgba(20,254,238,0.07) 1px, transparent 1px),
  linear-gradient(90deg, rgba(20,254,238,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  position: absolute;
  inset: -1.5rem;
  pointer-events: none;
  opacity: 0.6;
}

.mock-score { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
@media (min-width: 480px) {
  .mock-score { flex-direction: row; }
}
.mock-ring {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: conic-gradient(var(--cyan) 0 72%, rgba(255,255,255,0.08) 72% 100%);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.mock-ring span {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--ink-card);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
}
.mock-layers { flex: 1; display: grid; gap: 0.55rem; }
.mock-layer { display: flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; color: #a1a1aa; }
.mock-layer i {
  display: block;
  height: 6px;
  border-radius: 99px;
  background: rgba(255,255,255,0.08);
  flex: 1;
  overflow: hidden;
}
.mock-layer i b { display: block; height: 100%; background: var(--cyan); border-radius: 99px; }
.mock-layer i b.pink { background: var(--pink); }

.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  min-width: 0;
}
.mock-row span { min-width: 0; overflow-wrap: anywhere; }
.mock-row:last-child { border-bottom: 0; }
.mock-chip {
  display: inline-flex;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  border: 1px solid;
  font-size: 0.65rem;
  margin: 0 0.25rem 0.35rem 0;
}
.mock-bars { display: grid; gap: 0.55rem; margin-top: 0.75rem; }
.mock-barline { display: flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; }
.mock-barline em { width: 4.5rem; min-width: 0; font-style: normal; color: #a1a1aa; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-barline .track { flex: 1; height: 6px; background: rgba(255,255,255,0.08); border-radius: 99px; overflow: hidden; }
.mock-barline .track b { display: block; height: 100%; border-radius: 99px; }

.mock-editor .line {
  height: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 0.45rem;
}
.mock-editor .line.w80 { width: 80%; }
.mock-editor .line.w60 { width: 60%; }
.mock-editor .line.accent { background: rgba(20, 254, 238, 0.35); width: 40%; }
.mock-check { font-size: 0.72rem; color: var(--pink); margin-top: 0.75rem; }

.mock-nodes {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 1.25rem 0.5rem;
  position: relative;
}
.mock-node {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 12px;
  border: 1px solid rgba(20, 254, 238, 0.35);
  background: rgba(20, 254, 238, 0.08);
}
.mock-node.pink {
  border-color: rgba(255, 77, 157, 0.4);
  background: rgba(255, 77, 157, 0.1);
}
.mock-serp {
  background: #fff;
  color: #1a1a1a;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.78rem;
}
.mock-serp .url { color: #188038; font-size: 0.68rem; }
.mock-serp .t { color: #1a0dab; font-size: 1rem; margin: 0.15rem 0; font-weight: 500; }
.mock-serp .d { color: #4d5156; line-height: 1.4; }

.mock-meters { display: grid; gap: 0.7rem; }
.mock-meter label { display: flex; justify-content: space-between; font-size: 0.72rem; margin-bottom: 0.25rem; color: #d4d4d8; }
.mock-meter .track { height: 8px; background: rgba(255,255,255,0.08); border-radius: 99px; overflow: hidden; }
.mock-meter .track b { display: block; height: 100%; background: var(--cyan); }
.mock-meter .track b.pink { background: var(--pink); }

.mock-spark {
  height: 72px;
  background:
    linear-gradient(transparent 0 0),
    linear-gradient(135deg, transparent 0 40%, rgba(20,254,238,0.35) 40% 42%, transparent 42% 55%, rgba(255,77,157,0.4) 55% 57%, transparent 57% 70%, rgba(20,254,238,0.5) 70% 100%);
  clip-path: polygon(0 80%, 18% 70%, 32% 74%, 48% 50%, 62% 58%, 78% 30%, 100% 18%, 100% 100%, 0 100%);
  background-color: rgba(20, 254, 238, 0.15);
  border-radius: 8px;
}

footer.asg-foot {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3.5rem 1.5rem 2rem;
  margin-top: 0;
  background: transparent;
  text-align: left;
}
.asg-foot__grid {
  max-width: 72rem;
  margin: 0 auto 2.5rem;
  display: grid;
  gap: 2rem;
}
@media (min-width: 640px) {
  .asg-foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .asg-foot__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.asg-foot h4 {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 1rem;
}
.asg-foot a {
  display: block;
  color: var(--paper-muted);
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 0.6rem;
}
.asg-foot a:hover { color: #fff; }
.asg-foot a.pink { color: var(--pink); font-weight: 500; }
.asg-foot p { font-size: 0.875rem; line-height: 1.65; max-width: 22rem; }
.asg-foot__brand img { height: 44px; width: auto; display: block; margin-bottom: 1rem; }
.asg-foot__bottom {
  max-width: 72rem;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(160, 160, 171, 0.8);
}
.asg-foot__bottom a { color: inherit; display: inline; margin: 0 0.35rem; }

/* ── Blog hub + articles ── */
.blog-hero {
  padding: 2.5rem 0 1.75rem;
}
@media (min-width: 768px) {
  .blog-hero { padding: 3.75rem 0 2.25rem; }
}
.blog-hero h1 {
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
  color: #fff;
  margin: 0 0 1rem;
  max-width: 46rem;
}
.blog-hero .lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #c4c4cc;
  margin: 0 0 1.5rem;
  max-width: 42rem;
}
.blog-meta {
  font-size: 0.8rem;
  color: var(--pink);
  margin: 0 0 0.85rem;
}
.blog-toc-mobile {
  display: block;
  position: sticky;
  top: 4.75rem;
  z-index: 40;
  margin: 0 auto 1.5rem;
  max-width: 72rem;
  padding: 0 1rem;
}
@media (min-width: 640px) {
  .blog-toc-mobile { padding: 0 1.5rem; }
}
@media (min-width: 960px) {
  .blog-toc-mobile { display: none; }
}
.blog-toc-mobile > summary {
  cursor: pointer;
  list-style: none;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 77, 157, 0.28);
  background: rgba(18, 20, 31, 0.85);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
}
.blog-toc-mobile > summary::-webkit-details-marker { display: none; }
.blog-toc-mobile[open] > summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.blog-toc-mobile nav {
  border: 1px solid rgba(255, 77, 157, 0.28);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  padding: 0.5rem;
  background: rgba(18, 20, 31, 0.95);
}
.blog-toc-mobile a,
.blog-toc a {
  display: block;
  padding: 0.4rem 0.6rem;
  color: var(--paper-muted);
  text-decoration: none;
  font-size: 0.8rem;
  line-height: 1.4;
  border-radius: 6px;
}
.blog-toc-mobile a:hover,
.blog-toc a:hover { color: #fff; background: rgba(255,255,255,0.04); }

.blog-layout {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  align-items: start;
}
@media (min-width: 960px) {
  .blog-layout {
    grid-template-columns: 13rem minmax(0, 42rem) minmax(14rem, 1fr);
    gap: 2.25rem;
    justify-content: center;
  }
}
.blog-toc {
  display: none;
  position: sticky;
  top: 5.5rem;
  padding-bottom: 2rem;
}
@media (min-width: 960px) {
  .blog-toc { display: block; }
}
.blog-toc p {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 0.65rem;
  font-weight: 600;
}
.blog-article {
  min-width: 0;
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.8;
}
.blog-article h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 600;
  color: #fff;
  margin: 2.5rem 0 0.9rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--pink);
  scroll-margin-top: 5.5rem;
}
.blog-article h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin: 1.75rem 0 0.65rem;
  scroll-margin-top: 5.5rem;
}
.blog-article p { margin: 0 0 1.2rem; color: #c4c4cc; }
.blog-article strong { color: #fff; font-weight: 600; }
.blog-article ul, .blog-article ol { margin: 0 0 1.25rem; padding-left: 1.25rem; }
.blog-article li { margin-bottom: 0.5rem; color: #c4c4cc; }
.blog-article pre {
  background: #0a0f1a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1rem;
  overflow-x: auto;
  margin: 0 0 1.5rem;
  font-size: 0.82rem;
  line-height: 1.55;
  -webkit-overflow-scrolling: touch;
}
.blog-article table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  -webkit-overflow-scrolling: touch;
}
.blog-article th, .blog-article td {
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.55rem 0.75rem;
  text-align: left;
}
.blog-article th { color: #fff; background: rgba(20, 254, 238, 0.06); }
.blog-article blockquote {
  border-left: 3px solid var(--pink);
  background: rgba(255, 77, 157, 0.06);
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
  border-radius: 0 12px 12px 0;
  color: #e4e4e7;
  font-style: italic;
}
.blog-article .cta-box,
.blog-article .highlight-box {
  background: rgba(18, 20, 31, 0.85);
  border: 1px solid rgba(20, 254, 238, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
}
.blog-article .cta-btn,
.blog-article .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none !important;
}
.blog-article img { max-width: 100%; height: auto; }

.blog-aside {
  display: grid;
  gap: 1rem;
  min-width: 0;
}
@media (min-width: 960px) {
  .blog-aside { position: sticky; top: 5.5rem; }
}
.blog-aside h3 {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 0.35rem;
}
.blog-aside a.feat-card { text-decoration: none; color: inherit; }
.blog-aside .feat-card h4,
.blog-aside .feat-card h3 {
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  margin: 0 0 0.35rem;
}
.blog-scan {
  display: block;
  text-align: center;
  padding: 1rem;
  border-radius: 12px;
  background: var(--cyan);
  color: #050510 !important;
  font-weight: 600;
  text-decoration: none !important;
}
.blog-scan:hover { background: var(--cyan-hover); color: #050510 !important; }

.blog-hub-grid {
  display: grid;
  gap: 1.25rem;
  padding-bottom: 3rem;
}
@media (min-width: 640px) {
  .blog-hub-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .blog-hub-grid { grid-template-columns: repeat(3, 1fr); }
}
.blog-hub-grid .feat-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.blog-hub-grid .feat-card.featured { grid-column: 1 / -1; }
@media (min-width: 640px) {
  .blog-hub-grid .feat-card.featured { grid-column: span 2; }
}
.blog-hub-grid .date {
  font-size: 0.75rem;
  color: var(--pink);
  margin-bottom: 0.4rem;
}
.blog-hub-grid .read-more {
  margin-top: auto;
  padding-top: 0.75rem;
  color: var(--pink);
  font-size: 0.85rem;
  font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
