:root {
  --bg: #08080c;
  --bg-elev: #14141d;
  --bg-card: #1a1a24;
  --fg: rgba(255, 255, 255, 0.94);
  --fg-dim: rgba(255, 255, 255, 0.64);
  --fg-faint: rgba(255, 255, 255, 0.36);
  --accent: #f5c518;
  --accent-warm: #ffae33;
  --accent-cool: #ffd84a;
  --accent-dim: rgba(245, 197, 24, 0.18);
  --accent-glow: rgba(245, 197, 24, 0.42);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --glass: rgba(28, 28, 38, 0.55);
  --glass-strong: rgba(28, 28, 38, 0.72);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html { scroll-behavior: smooth; }

body {
  position: relative;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* --- Scroll progress bar ---------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-cool), var(--accent), var(--accent-warm));
  box-shadow: 0 0 12px var(--accent-glow);
  z-index: 20;
  transition: width 120ms linear;
  pointer-events: none;
}

/* --- Aurora background ------------------------------------------------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top, rgba(245, 197, 24, 0.07), transparent 55%),
    var(--bg);
}
.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  will-change: transform;
}
.aurora-orb--a {
  width: 760px; height: 760px;
  top: -220px; left: -160px;
  opacity: 0.55;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.55), transparent 70%);
  animation: aurora-drift-a 22s ease-in-out infinite alternate;
}
.aurora-orb--b {
  width: 680px; height: 680px;
  top: 120px; right: -200px;
  opacity: 0.45;
  background: radial-gradient(circle, rgba(255, 174, 51, 0.5), transparent 70%);
  animation: aurora-drift-b 28s ease-in-out infinite alternate;
}
.aurora-orb--c {
  width: 540px; height: 540px;
  top: 60%; left: 40%;
  opacity: 0.32;
  background: radial-gradient(circle, rgba(255, 216, 74, 0.4), transparent 70%);
  animation: aurora-drift-c 34s ease-in-out infinite alternate;
}
.aurora-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Use the standalone `translate` + `scale` properties (not `transform`) so
   the JS parallax can drive `transform` without overwriting the drift. */
@keyframes aurora-drift-a {
  0%   { translate: 0 0; scale: 1; }
  100% { translate: 140px 80px; scale: 1.15; }
}
@keyframes aurora-drift-b {
  0%   { translate: 0 0; scale: 1; }
  100% { translate: -120px 160px; scale: 1.2; }
}
@keyframes aurora-drift-c {
  0%   { translate: 0 0; scale: 0.9; }
  100% { translate: -180px -120px; scale: 1.1; }
}

@media (prefers-reduced-motion: reduce) {
  .aurora-orb { animation: none; }
}

/* --- Nav --------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  background: rgba(8, 8, 12, 0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  z-index: 10;
  transition: background 240ms var(--ease-out), border-color 240ms var(--ease-out);
}
.nav.scrolled {
  background: rgba(8, 8, 12, 0.82);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent), 0 0 24px var(--accent-glow);
  animation: dot-pulse 2.4s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 12px var(--accent), 0 0 24px var(--accent-glow); }
  50%      { box-shadow: 0 0 16px var(--accent), 0 0 36px var(--accent-glow); }
}
.nav nav {
  margin-left: auto;
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 14px;
  color: var(--fg-dim);
}
.nav nav a {
  transition: color 160ms var(--ease-out);
}
.nav nav a:hover { color: var(--fg); }

/* --- Buttons ----------------------------------------------------------- */
.btn-pill, .btn-primary, .btn-ghost {
  position: relative;
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 220ms var(--ease-out), box-shadow 280ms var(--ease-out), background 200ms var(--ease-out);
  overflow: hidden;
  isolation: isolate;
}

.btn-pill,
.btn-primary {
  background: linear-gradient(180deg, #ffe27a 0%, var(--accent) 50%, #d9a800 100%);
  color: #1a1400;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px -6px var(--accent-glow),
    0 1px 2px rgba(0, 0, 0, 0.25);
}
.btn-primary { padding: 14px 30px; font-size: 15px; }

/* Top specular highlight bar */
.btn-pill::after,
.btn-primary::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 8%;
  right: 8%;
  height: 38%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent);
  pointer-events: none;
  opacity: 0.7;
}
/* Glossy shine sweep */
.btn-pill::before,
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 700ms var(--ease-out);
  pointer-events: none;
  z-index: 1;
}
.btn-pill:hover::before,
.btn-primary:hover::before { transform: translateX(120%); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-strong);
  color: var(--fg);
  padding: 14px 28px;
  font-size: 15px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-primary:hover, .btn-pill:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 12px 32px -6px var(--accent-glow),
    0 2px 4px rgba(0, 0, 0, 0.3);
}
.btn-ghost:hover { transform: translateY(-2px); }

/* --- Hero -------------------------------------------------------------- */
.hero {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 120px 24px 24px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.78) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(180deg, #ffe27a 0%, var(--accent) 60%, var(--accent-warm) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 50px rgba(245, 197, 24, 0.25);
}
.hero .lede {
  font-size: 19px;
  color: var(--fg-dim);
  max-width: 640px;
  margin: 0 auto 40px;
}
.hero .lede em {
  font-style: italic;
  color: var(--fg);
}
.cta-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.hero-meta { color: var(--fg-faint); font-size: 13px; margin: 0 0 56px; }

/* --- Showcase section (the animated SVG hero embed) ------------------- */
.showcase-section {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px 88px;
}

/* --- Sections ---------------------------------------------------------- */
.section {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 96px 24px;
}
.section--alt {
  background: linear-gradient(180deg, transparent, rgba(245, 197, 24, 0.04) 50%, transparent);
  max-width: none;
  padding-left: 24px;
  padding-right: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section--alt > * { max-width: 1080px; margin-left: auto; margin-right: auto; }

.section-heading {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 640px;
}
.section-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 6px 12px;
  border-radius: 999px;
  margin: 0 0 18px;
  border: 1px solid rgba(245, 197, 24, 0.25);
}
.section h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.72) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}
.section-subtitle {
  color: var(--fg-dim);
  font-size: 17px;
  margin: 0;
  text-align: center;
}

/* --- Steps (how it works) --------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.step {
  position: relative;
  background: linear-gradient(180deg, rgba(36, 36, 50, 0.5) 0%, rgba(20, 20, 28, 0.5) 100%);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 30px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transition: transform 360ms var(--ease-out), border-color 360ms var(--ease-out), box-shadow 360ms var(--ease-out);
  overflow: hidden;
}
.step::before {
  /* Soft glossy highlight along the top edge */
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  pointer-events: none;
}
.step:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 197, 24, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 20px 40px -12px rgba(0, 0, 0, 0.65),
    0 0 0 1px var(--accent-dim),
    0 0 40px -10px var(--accent-glow);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  background: linear-gradient(135deg, #ffe27a 0%, var(--accent) 60%, var(--accent-warm) 100%);
  color: #1a1400;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15),
    0 4px 14px -2px var(--accent-glow);
}
.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--fg-dim); font-size: 14px; }

/* --- Pricing ----------------------------------------------------------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}
.plan {
  position: relative;
  background: linear-gradient(180deg, rgba(36, 36, 50, 0.55) 0%, rgba(20, 20, 28, 0.55) 100%);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 32px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 40px -14px rgba(0, 0, 0, 0.55);
  transition: transform 360ms var(--ease-out), box-shadow 360ms var(--ease-out);
}
.plan::after {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  pointer-events: none;
}
.plan:hover { transform: translateY(-6px); }
.plan--pro {
  border-color: rgba(245, 197, 24, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 50px -14px rgba(0, 0, 0, 0.6),
    0 0 80px -10px var(--accent-dim);
}
.plan--pro::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent) 0%, transparent 40%, transparent 60%, var(--accent-warm) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.8;
  animation: plan-glow 4s ease-in-out infinite;
}
@keyframes plan-glow {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}
.plan-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  color: #1a1400;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px -2px var(--accent-glow);
}
.plan h3 { margin: 0 0 8px; font-size: 18px; }
.price {
  font-size: 44px;
  font-weight: 700;
  margin: 0 0 22px;
  letter-spacing: -0.02em;
}
.price span { font-size: 14px; font-weight: 500; color: var(--fg-faint); }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; }
.plan li {
  padding: 11px 0 11px 24px;
  font-size: 14px;
  color: var(--fg-dim);
  border-top: 1px solid var(--border);
  position: relative;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23f5c518' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='3 8 7 12 13 4'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.9;
}
.plan li:first-child { border-top: none; }

/* --- FAQ --------------------------------------------------------------- */
details {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  transition: background 240ms var(--ease-out);
}
details:last-of-type { border-bottom: 1px solid var(--border); }
details summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 15px;
  list-style: none;
  position: relative;
  padding-right: 32px;
  transition: color 160ms var(--ease-out);
}
details summary:hover { color: var(--accent); }
details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 22px;
  color: var(--fg-faint);
  transition: transform 240ms var(--ease-out), color 240ms var(--ease-out);
}
details[open] summary::after { content: "−"; color: var(--accent); }
details p { color: var(--fg-dim); margin: 12px 0 0; font-size: 14px; }

/* --- Footer ------------------------------------------------------------ */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--fg-faint);
}
.footer a { margin-left: 16px; transition: color 160ms var(--ease-out); }
.footer a:hover { color: var(--fg); }

/* --- Scroll reveal ----------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px) scale(0.98);
  filter: blur(8px);
  transition:
    opacity 1000ms var(--ease-out),
    transform 1000ms var(--ease-out),
    filter 1000ms var(--ease-out);
  will-change: opacity, transform, filter;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="left"].is-visible,
[data-reveal="right"].is-visible { transform: translateX(0); }
[data-reveal][data-reveal-delay="1"] { transition-delay: 80ms; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 160ms; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 260ms; }
[data-reveal][data-reveal-delay="4"] { transition-delay: 360ms; }
[data-reveal][data-reveal-delay="5"] { transition-delay: 460ms; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* --- Legal / about pages ----------------------------------------------- */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 24px 96px;
  line-height: 1.7;
  color: var(--fg);
}
.legal-header { margin-bottom: 40px; }
.legal-page h1 {
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.legal-updated {
  color: var(--fg-faint);
  font-size: 13px;
  margin: 0 0 24px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.legal-intro {
  color: var(--fg-dim);
  font-size: 17px;
  margin: 0;
}
.legal-page h2 {
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 48px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.legal-page h2:first-of-type { border-top: none; padding-top: 0; }
.legal-page h3 {
  font-size: 17px;
  margin: 28px 0 10px;
}
.legal-page p { margin: 0 0 16px; color: var(--fg); }
.legal-page ul {
  margin: 0 0 20px;
  padding-left: 22px;
}
.legal-page li { margin-bottom: 10px; color: var(--fg); }
.legal-page strong { color: var(--fg); font-weight: 600; }
.legal-page a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(245, 197, 24, 0.4);
  text-underline-offset: 3px;
}
.legal-page a:hover { text-decoration-color: var(--accent); }
.legal-page code {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}
.legal-cta { margin-top: 40px; }
.legal-cta .btn-primary { text-decoration: none; }

@media (max-width: 640px) {
  .hero { padding-top: 80px; }
}

/* ======================================================================= */
/* SEO content pages (comparisons, glossary, answers, alternatives, blog)  */
/* ======================================================================= */
.content-page, .hub-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
  color: var(--fg);
}
.hub-page { max-width: 920px; }

.breadcrumbs {
  font-size: 13px;
  color: var(--fg-faint);
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.breadcrumbs a { color: var(--fg-dim); transition: color 160ms var(--ease-out); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs-sep { color: var(--fg-faint); }

.content-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
  border: 1px solid rgba(245, 197, 24, 0.25);
}
.content-title {
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.78) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.content-updated {
  color: var(--fg-faint);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  margin: 0 0 32px;
}

/* TL;DR / direct-answer block — the LLM-citeable lead. */
.tldr {
  background: linear-gradient(180deg, rgba(245,197,24,0.10), rgba(245,197,24,0.04));
  border: 1px solid rgba(245,197,24,0.3);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 0 0 28px;
}
.tldr-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.tldr p { margin: 0; color: var(--fg); font-size: 16px; line-height: 1.6; }

/* Rendered markdown prose */
.prose { color: var(--fg); line-height: 1.75; font-size: 16px; }
.prose > * + * { margin-top: 18px; }
.prose h2 {
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
  padding-top: 8px;
}
.prose h3 { font-size: 18px; margin: 28px 0 8px; }
.prose p, .prose li { color: rgba(255,255,255,0.86); }
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(245,197,24,0.4);
  text-underline-offset: 3px;
}
.prose a:hover { text-decoration-color: var(--accent); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: #fff; font-weight: 600; }
.prose code {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
}
.prose table, .compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 8px 0;
}
.prose th, .prose td, .compare-table th, .compare-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.prose th, .compare-table th {
  color: var(--fg);
  font-weight: 600;
  border-bottom: 1px solid var(--border-strong);
}

/* Comparison table (structured, above the prose) */
.compare-table-wrap {
  margin: 0 0 32px;
  overflow-x: auto;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(36,36,50,0.4), rgba(20,20,28,0.4));
}
.compare-table { margin: 0; }
.compare-table th, .compare-table td { padding: 12px 16px; }
.compare-table thead th { background: rgba(255,255,255,0.03); }
.compare-table .compare-feature { color: var(--fg-dim); }
.compare-table .compare-canary { color: var(--accent); font-weight: 600; }

.when-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0 0;
}
.when-card {
  background: linear-gradient(180deg, rgba(36,36,50,0.4), rgba(20,20,28,0.4));
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 20px;
}
.when-card--canary { border-color: rgba(245,197,24,0.4); }
.when-card h3 { margin: 0 0 12px; font-size: 15px; }
.when-card ul { margin: 0; padding-left: 18px; }
.when-card li { font-size: 14px; color: var(--fg-dim); margin-bottom: 8px; }

.also-consider {
  margin: 0 0 28px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(36,36,50,0.4), rgba(20,20,28,0.4));
}
.also-consider h2 { font-size: 17px; margin: 0 0 12px; padding: 0; }
.also-consider ul { margin: 0; padding-left: 18px; }
.also-consider li { font-size: 14px; color: var(--fg-dim); margin-bottom: 8px; }

/* FAQ block */
.faq-block { margin: 48px 0 0; }
.faq-block h2 { font-size: 22px; margin: 0 0 16px; }
.faq-block details {
  border-top: 1px solid var(--border);
  padding: 16px 0;
}
.faq-block details:last-of-type { border-bottom: 1px solid var(--border); }
.faq-block summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 15px;
  list-style: none;
  color: var(--fg);
}
.faq-block summary:hover { color: var(--accent); }
.faq-block p { color: var(--fg-dim); margin: 10px 0 0; font-size: 14.5px; line-height: 1.6; }

/* Related links */
.related-block { margin: 48px 0 0; }
.related-block h2 { font-size: 18px; margin: 0 0 14px; }
.related-block ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.related-block a {
  color: var(--accent);
  font-size: 14.5px;
  text-decoration: underline;
  text-decoration-color: rgba(245,197,24,0.35);
  text-underline-offset: 3px;
}
.related-block a:hover { text-decoration-color: var(--accent); }

/* Hub / listing pages */
.hub-intro { color: var(--fg-dim); font-size: 17px; max-width: 620px; margin: 0 0 40px; }
.hub-empty { color: var(--fg-faint); }
.hub-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.hub-grid a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 20px 22px;
  background: linear-gradient(180deg, rgba(36,36,50,0.45), rgba(20,20,28,0.45));
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  transition: transform 240ms var(--ease-out), border-color 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
.hub-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(245,197,24,0.4);
  box-shadow: 0 14px 40px -14px rgba(0,0,0,0.6);
}
.hub-card-title { font-weight: 600; font-size: 15.5px; color: var(--fg); }
.hub-card-blurb { font-size: 13.5px; color: var(--fg-dim); line-height: 1.5; }
.hub-card-arrow { color: var(--accent); margin-top: auto; }

@media (max-width: 640px) {
  .when-grid { grid-template-columns: 1fr; }
}
