/* ============================================================
   SMH DESIGN SYSTEM
   ============================================================ */

:root {
  --bg:          #06091e;
  --bg-2:        #0b0f2a;
  --bg-card:     rgba(255,255,255,.04);
  --bg-card-alt: rgba(139,92,246,.06);
  --border:      rgba(255,255,255,.09);
  --border-px:   1px solid rgba(255,255,255,.09);
  --accent:      #8b5cf6;
  --accent-2:    #38bdf8;
  --accent-glow: rgba(139,92,246,.25);
  --green:       #34d399;
  --text:        #eef2ff;
  --text-2:      #c7d2fe;
  --text-muted:  #64748b;
  --radius:      18px;
  --radius-sm:   10px;
  --radius-lg:   26px;
  --shadow:      0 20px 60px rgba(0,0,0,.4);
  --shadow-sm:   0 4px 20px rgba(0,0,0,.3);
  --nav-h:       66px;
  --sidebar-w:   240px;
  --max-w:       1160px;
  --transition:  .18s ease;
}

/* ── Reset ────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; background: var(--bg) !important; }
body {
  background: var(--bg) !important;
  color: var(--text) !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
h1,h2,h3,h4,h5,h6 { line-height: 1.25; font-weight: 700; }

/* ── Layout Utilities ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 72px 0; }
.section--sm { padding: 48px 0; }
.section--lg { padding: 96px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

/* ── Typography ───────────────────────────────────────────── */
.text-xs    { font-size: .75rem; }
.text-sm    { font-size: .875rem; }
.text-base  { font-size: 1rem; }
.text-lg    { font-size: 1.125rem; }
.text-xl    { font-size: 1.25rem; }
.text-2xl   { font-size: 1.5rem; }
.text-3xl   { font-size: 2rem; }
.text-4xl   { font-size: 2.75rem; }
.text-5xl   { font-size: 3.5rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold   { font-weight: 700; }
.font-black  { font-weight: 900; }
.text-muted  { color: var(--text-muted); }
.text-2      { color: var(--text-2); }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.text-left   { text-align: left; }
.leading-tight { line-height: 1.2; }
.leading-snug  { line-height: 1.35; }

/* ── Gradient text ────────────────────────────────────────── */
.grad-text {
  background: linear-gradient(135deg,#c4b5fd,#818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Card ─────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: var(--border-px);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  border-color: rgba(139,92,246,.35);
  box-shadow: 0 0 0 1px rgba(139,92,246,.15), var(--shadow-sm);
  transform: translateY(-2px);
}
.card--pad { padding: 28px 24px; }
.card--link { display: block; }

/* ── Badge ────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .02em;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--text-2);
}
.badge--accent {
  background: rgba(139,92,246,.15);
  border-color: rgba(139,92,246,.3);
  color: #c4b5fd;
}
.badge--blue {
  background: rgba(56,189,248,.1);
  border-color: rgba(56,189,248,.25);
  color: #7dd3fc;
}
.badge--green {
  background: rgba(52,211,153,.1);
  border-color: rgba(52,211,153,.25);
  color: #6ee7b7;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: .925rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(139,92,246,.35);
}
.btn--primary:hover {
  background: #7c3aed;
  box-shadow: 0 4px 28px rgba(139,92,246,.5);
  transform: translateY(-1px);
}
.btn--ghost {
  background: rgba(255,255,255,.06);
  color: var(--text-2);
  border: var(--border-px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.1);
  color: var(--text);
}
.btn--sm { padding: 8px 16px; font-size: .825rem; }

/* ── Divider ──────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 32px 0; }
.divider--sm { margin: 20px 0; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(6,9,30,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: var(--border-px);
  display: flex;
  align-items: center;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  gap: 32px;
}
.site-logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-logo svg { width: 28px; height: 28px; }
.site-logo .logo-dot { color: var(--accent); }

.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(199,210,254,.65);
  transition: color var(--transition), background var(--transition);
}
.primary-nav a:hover,
.primary-nav a.active {
  color: var(--text);
  background: rgba(255,255,255,.06);
}
.primary-nav a.active { color: var(--text); }

.nav-cta { flex-shrink: 0; }

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .25s;
}
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--bg-2);
  padding: 24px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
  border-top: var(--border-px);
}
.mobile-nav a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-2);
  border: var(--border-px);
}
.mobile-nav a:hover { color: var(--text); background: var(--bg-card); }
.mobile-nav.open { display: flex; }

/* ============================================================
   HERO — HOME
   ============================================================ */
.home-hero {
  padding: 96px 0 80px;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(139,92,246,.18) 0%, transparent 60%);
  text-align: center;
}
.home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.home-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.home-hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-2);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.home-hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Pain points ──────────────────────────────────────────── */
.pain-points { padding: 72px 0; }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pain-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: var(--border-px);
}
.pain-card .icon { font-size: 2rem; margin-bottom: 16px; }
.pain-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.pain-card p { font-size: .9rem; color: var(--text-2); line-height: 1.6; }

/* ── Platform preview grid ────────────────────────────────── */
.platform-preview { padding: 72px 0; }
.platform-preview__header { margin-bottom: 40px; }
.platform-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

/* ── Feature strips ───────────────────────────────────────── */
.feature-strip { padding: 72px 0; }
.feature-strip__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-item__icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-card-alt);
  border: 1px solid rgba(139,92,246,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.feature-item h4 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.feature-item p  { font-size: .875rem; color: var(--text-2); line-height: 1.55; }

/* ============================================================
   PLATFORM BROWSER — /platforms/
   ============================================================ */
.platform-hub-hero {
  padding: 72px 0 56px;
  text-align: center;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(139,92,246,.12), transparent 65%);
}
.platform-hub-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; letter-spacing: -.025em; margin-bottom: 14px; }
.platform-hub-hero p  { color: var(--text-2); font-size: 1.05rem; margin-bottom: 32px; }

.platform-search-wrap {
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}
.platform-search {
  width: 100%;
  padding: 14px 48px 14px 18px;
  background: rgba(255,255,255,.06);
  border: var(--border-px);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.platform-search::placeholder { color: var(--text-muted); }
.platform-search:focus {
  border-color: rgba(139,92,246,.5);
  box-shadow: 0 0 0 3px rgba(139,92,246,.12);
}
.platform-search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.platforms-section { padding: 48px 0 80px; }
.platforms-count { color: var(--text-muted); font-size: .875rem; margin-bottom: 28px; }
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.platform-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--bg-card);
  border: var(--border-px);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: inherit;
}
.platform-card:hover {
  border-color: rgba(139,92,246,.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.platform-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.platform-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: var(--border-px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.platform-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.platform-card p {
  font-size: .875rem;
  color: var(--text-2);
  line-height: 1.55;
  flex-grow: 1;
  margin-bottom: 16px;
}
.platform-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.platform-card[data-hidden="true"] { display: none; }

/* ============================================================
   PLATFORM SINGLE — sidebar + content
   ============================================================ */
.platform-layout {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  gap: 0;
  min-height: calc(100vh - var(--nav-h));
  align-items: start;
}

/* Sidebar */
.platform-sidebar {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  padding: 28px 0;
  border-right: var(--border-px);
  background: var(--bg-2);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.1) transparent;
}
.platform-sidebar::-webkit-scrollbar { width: 4px; }
.platform-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 4px; }

.sidebar-label {
  padding: 0 16px;
  margin-bottom: 8px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.sidebar-nav { padding: 0 10px; }
.sidebar-nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 500;
  color: rgba(199,210,254,.6);
  transition: background var(--transition), color var(--transition);
  margin-bottom: 1px;
}
.sidebar-nav__item:hover {
  background: rgba(255,255,255,.06);
  color: var(--text);
}
.sidebar-nav__item.active {
  background: rgba(139,92,246,.12);
  color: #c4b5fd;
  font-weight: 600;
}
.sidebar-nav__item .icon { font-size: 1rem; width: 20px; text-align: center; flex-shrink: 0; }

/* Main content area */
.platform-main {
  min-width: 0;
  padding: 48px 56px 80px;
}

/* Platform page hero */
.platform-page-hero { margin-bottom: 40px; }
.platform-page-hero__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.platform-page-hero h1 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -.025em;
  margin-bottom: 16px;
}
.platform-page-hero .tagline {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 640px;
  line-height: 1.65;
  margin-bottom: 28px;
}

/* Stats bar */
.stats-bar {
  display: flex;
  gap: 0;
  border: var(--border-px);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 48px;
  background: var(--bg-card);
}
.stat-item {
  flex: 1;
  padding: 20px 24px;
  border-right: var(--border-px);
}
.stat-item:last-child { border-right: none; }
.stat-item__label { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.stat-item__value { font-size: 1.35rem; font-weight: 800; color: var(--text); }

/* Content sections */
.content-section { margin-bottom: 52px; }
.content-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: var(--border-px);
}
.content-section h2 .section-icon { font-size: 1.1rem; }
.content-section p {
  color: var(--text-2);
  font-size: .975rem;
  line-height: 1.75;
  margin-bottom: 12px;
}
.content-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.content-section ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-2);
  font-size: .975rem;
  line-height: 1.6;
}
.content-section ul li::before {
  content: '→';
  color: var(--accent);
  flex-shrink: 0;
  font-weight: 700;
  margin-top: 1px;
}

/* Quick hits */
.quick-hits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.quick-hit {
  padding: 14px 16px;
  background: var(--bg-card);
  border: var(--border-px);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: var(--text-2);
  line-height: 1.5;
}
.quick-hit strong { color: var(--text); display: block; margin-bottom: 2px; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }

/* Expert cards */
.experts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.expert-card {
  padding: 16px;
  background: var(--bg-card);
  border: var(--border-px);
  border-radius: var(--radius-sm);
}
.expert-card__name { font-size: .9rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.expert-card__handle { font-size: .8rem; color: var(--accent); }
.expert-card__note { font-size: .8rem; color: var(--text-muted); margin-top: 6px; line-height: 1.4; }

/* Tools CTA on platform pages */
.tools-cta {
  margin-top: 56px;
  padding: 32px;
  background: rgba(139,92,246,.07);
  border: 1px solid rgba(139,92,246,.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 24px;
}
.tools-cta__text { flex: 1; }
.tools-cta__text h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.tools-cta__text p  { font-size: .875rem; color: var(--text-2); }

/* Posting schedule section */
.posting-schedule-section { padding: 0; background: none; border: none; }
.posting-schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.posting-schedule-card {
  padding: 22px 24px;
  background: var(--bg-card);
  border: var(--border-px);
  border-radius: var(--radius-sm);
}
.posting-schedule-card__icon { font-size: 1.5rem; margin-bottom: 10px; }
.posting-schedule-card h3 { font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.posting-schedule-card p { font-size: .875rem; color: var(--text-2); line-height: 1.6; margin: 0; }
@media (max-width: 640px) { .posting-schedule-grid { grid-template-columns: 1fr; } }

/* Inline platform tools section */
.platform-tools-intro { font-size: .875rem; color: var(--text-2); margin-bottom: 16px; }
.platform-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.platform-tool-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: var(--border-px);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: border-color .15s, background .15s;
}
.platform-tool-card:hover { border-color: var(--accent); background: rgba(139,92,246,.06); }
.platform-tool-card img { width: 24px; height: 24px; border-radius: 4px; flex-shrink: 0; }
.platform-tool-card__name { font-size: .875rem; font-weight: 600; color: var(--text); flex: 1; }
.platform-tool-card__arrow { font-size: .85rem; color: var(--text-muted); }

/* Strategy summary */
.strategy-summary-section {
  padding: 28px 32px;
  border-radius: var(--radius-sm);
}
.strategy-summary-section h2 { margin-bottom: 12px; }
.strategy-summary-section p { font-size: .95rem; line-height: 1.7; color: var(--text-2); margin-bottom: .75em; }
.strategy-summary-section p:last-child { margin-bottom: 0; }

/* Hook ideas list */
.hook-ideas-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.hook-ideas-list li {
  padding: 14px 18px;
  background: var(--bg-card);
  border: var(--border-px);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--text-2);
  font-style: italic;
  line-height: 1.5;
}
.hook-ideas-list li::before { content: '💡 '; font-style: normal; }

/* Expert handle link */
.expert-card__handle a { color: var(--accent); text-decoration: none; }
.expert-card__handle a:hover { text-decoration: underline; }

/* ============================================================
   TOOLS PAGE
   ============================================================ */
.tools-hero {
  padding: 72px 0 56px;
  text-align: center;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(56,189,248,.1), transparent 60%);
}
.tools-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; letter-spacing: -.025em; margin-bottom: 12px; }
.tools-hero p   { color: var(--text-2); font-size: 1.05rem; max-width: 500px; margin: 0 auto; }

.tools-section { padding: 64px 0 80px; }
.tool-category { margin-bottom: 60px; }
.tool-category__heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: var(--border-px);
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.tool-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--bg-card);
  border: var(--border-px);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition);
  text-decoration: none;
  color: inherit;
  position: relative;
}
.tool-card:hover {
  border-color: rgba(139,92,246,.4);
  transform: translateY(-2px);
}
.tool-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tool-card__icon img { width: 100%; height: 100%; object-fit: contain; }
.tool-card h3 { font-size: .975rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.tool-card p  { font-size: .85rem; color: var(--text-2); line-height: 1.6; flex-grow: 1; margin-bottom: 16px; }
.tool-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
}
.tool-card__cta::after { content: '→'; }

.tools-disclosure {
  padding: 32px 0 56px;
  text-align: center;
}
.tools-disclosure p {
  font-size: .82rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  font-style: italic;
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-2);
  border-top: var(--border-px);
  padding: 56px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 260px;
}
.footer-col h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .875rem; color: rgba(199,210,254,.6); transition: color var(--transition); }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: var(--border-px);
  font-size: .8rem;
  color: var(--text-muted);
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--text-2); }

/* ============================================================
   GENERIC PAGE (About, etc.)
   ============================================================ */
.page-content {
  padding: 72px 0 96px;
  max-width: 760px;
  margin: 0 auto;
}
.page-content h1 { font-size: 2.5rem; font-weight: 900; letter-spacing: -.025em; margin-bottom: 24px; }
.page-content h2 { font-size: 1.4rem; font-weight: 700; margin: 36px 0 14px; }
.page-content p  { color: var(--text-2); font-size: 1rem; line-height: 1.8; margin-bottom: 18px; }
.page-content a  { color: var(--accent); }
.page-content a:hover { text-decoration: underline; }
.page-content ul { list-style: disc; padding-left: 20px; color: var(--text-2); font-size: 1rem; line-height: 1.8; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  padding: 72px 0;
  text-align: center;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(139,92,246,.12), transparent 70%);
  border-top: var(--border-px);
}
.cta-band h2 { font-size: 2rem; font-weight: 900; letter-spacing: -.025em; margin-bottom: 14px; }
.cta-band p  { color: var(--text-2); font-size: 1rem; margin-bottom: 28px; }
.cta-band__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .platform-main { padding: 40px 36px 72px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .primary-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 52px 0; }
  .section--lg { padding: 64px 0; }
  .home-hero { padding: 64px 0 52px; }
  .pain-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .platform-layout { grid-template-columns: 1fr; }
  .platform-sidebar { position: static; height: auto; border-right: none; border-bottom: var(--border-px); padding: 16px; overflow: visible; }
  .sidebar-nav { display: flex; flex-wrap: wrap; gap: 6px; }
  .sidebar-nav__item { margin-bottom: 0; font-size: .78rem; padding: 6px 10px; }
  .platform-main { padding: 28px 20px 56px; }
  .stats-bar { flex-wrap: wrap; }
  .stat-item { border-right: none; border-bottom: var(--border-px); min-width: 50%; }
  .stat-item:last-child { border-bottom: none; }
  .tools-cta { flex-direction: column; gap: 16px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand p { max-width: 100%; }
  .feature-strip__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .home-hero h1 { font-size: 2.2rem; }
  .btn { padding: 11px 20px; font-size: .875rem; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.hidden { display: none !important; }
.mt-0  { margin-top: 0; }
.mb-0  { margin-bottom: 0; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.mb-8  { margin-bottom: 32px; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
