/* ==========================================================================
   AUM — marketing site stylesheet
   No framework, no build step. One file, loaded everywhere.
   ========================================================================== */

:root {
  --bg: #f6f1fc;
  --panel: rgba(255, 255, 255, 0.5);
  --panel-solid: #ffffff;
  --panel-border: rgba(40, 20, 70, 0.10);
  --text: #211334;
  --text-dim: rgba(33, 19, 52, 0.66);
  --text-faint: rgba(33, 19, 52, 0.46);

  --red: #ff5a4e;
  --orange: #ff9a3d;
  --yellow: #ffcf3d;
  --green: #34e0a1;
  --teal: #2fd8c8;
  --cyan: #4fd6ff;
  --blue: #5b8cff;
  --purple: #8b4ff0;
  --pink: #ff5c9e;

  /* Darker "ink" variants of the brand hues, for text/links on the light
     background where the vivid pill colors above don't have enough
     contrast on white. */
  --purple-ink: #6d28d9;
  --cyan-ink: #0891b2;
  --green-ink: #0a9574;
  --pink-ink: #db2777;

  --gradient-hero: radial-gradient(120% 90% at 50% 0%, #fef6ff 0%, #f2e7fd 45%, #e9ddfb 100%);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --shadow-lift: 0 20px 50px rgba(124, 58, 237, 0.14);
  --maxw: 1120px;

  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; }

body {
  margin: 0;
  background:
    radial-gradient(1100px 760px at 12% -8%, rgba(255, 120, 190, 0.75), transparent 62%),
    radial-gradient(1000px 700px at 90% 6%, rgba(90, 170, 255, 0.68), transparent 62%),
    radial-gradient(900px 680px at 50% 100%, rgba(110, 255, 175, 0.6), transparent 64%),
    radial-gradient(800px 600px at 50% 45%, rgba(255, 210, 90, 0.3), transparent 65%),
    linear-gradient(180deg, #faf6ff 0%, var(--bg) 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Deco stickers (floating musical/DNA whimsy) ---------- */
.stickers-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.deco-sticker {
  position: absolute;
  font-size: var(--size, 2rem);
  opacity: var(--op, 0.6);
  filter: drop-shadow(0 6px 12px rgba(124, 58, 237, 0.22));
  animation: stickerFloat var(--dur, 7s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  transform: rotate(var(--r, 0deg));
}
@keyframes stickerFloat {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-16px) rotate(calc(var(--r, 0deg) + 6deg)); }
}
@media (prefers-reduced-motion: reduce) {
  .deco-sticker { animation: none; }
}
@media (max-width: 760px) {
  .stickers-field { display: none; }
}

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--yellow);
  color: #1a1200;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  z-index: 999;
}
.skip-link:focus { left: 0; }

/* ---------- Headline highlight blocks ---------- */
.hl {
  display: inline-block;
  padding: 0.02em 0.22em;
  border-radius: 0.14em;
  color: #0c0710;
  font-weight: 900;
}
.hl-red { background: var(--red); }
.hl-teal { background: var(--teal); }
.hl-yellow { background: var(--yellow); }
.hl-green { background: var(--green); }
.hl-cyan { background: var(--cyan); color: #04121a; }
.hl-pink { background: var(--pink); }
.hl-purple { background: var(--purple); color: #fff; }

/* ---------- Pills (frequency chips) ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.85rem;
  white-space: nowrap;
}
.pill-red { background: var(--red); color: #2a0300; }
.pill-cyan { background: var(--cyan); color: #04121a; }
.pill-green { background: var(--green); color: #012417; }
.pill-purple { background: var(--purple); color: #fff; }
.pill-orange { background: var(--orange); color: #2a1300; }
.pill-pink { background: var(--pink); color: #2a0016; }
.pill-yellow { background: var(--yellow); color: #241a00; }
.pill-outline {
  background: transparent;
  border: 1px solid var(--panel-border);
  color: var(--text-dim);
  font-weight: 600;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px) scale(1.03); }
.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #fff;
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.35);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0 0 55% 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.btn-primary:hover { box-shadow: 0 14px 34px rgba(124, 58, 237, 0.45); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  color: var(--text);
  border: 1px solid var(--panel-border);
}
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--panel-border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--text); }
/* Only meant for the mobile dropdown — the desktop row already has the
   App Store button in .nav-cta, so this stays hidden until that button
   itself gets hidden on the narrowest screens. */
.nav-links-cta { display: none; }
.nav-links-cta a { color: var(--cyan); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  color: var(--text);
  padding: 8px 10px;
  font-size: 1.1rem;
}

@media (max-width: 480px) {
  .nav { padding: 12px 16px; }
  .brand { font-size: 1rem; gap: 8px; }
  .brand img { width: 28px; height: 28px; }
  .nav-cta { gap: 8px; }
  /* The App Store link is already one tap away in the hero and CTA band —
     drop the header's copy of it here so brand + hamburger never fight the
     button for space on the narrowest phones. */
  .nav-cta .btn-primary { display: none; }
  .nav-toggle { padding: 6px 8px; font-size: 1rem; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    padding: 20px 24px;
    border-bottom: 1px solid var(--panel-border);
    gap: 16px;
  }
  .nav-links-cta { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--gradient-hero);
  padding: 76px 0 40px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(28% 40% at 10% 25%, rgba(255, 92, 158, 0.48), transparent 70%),
    radial-gradient(26% 38% at 92% 15%, rgba(79, 214, 255, 0.42), transparent 70%),
    radial-gradient(30% 42% at 85% 90%, rgba(52, 224, 161, 0.4), transparent 70%),
    radial-gradient(24% 34% at 8% 85%, rgba(255, 207, 61, 0.36), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 8px rgba(155, 92, 246, 0.7);
}
h1.display {
  font-size: clamp(2.4rem, 5.4vw, 3.6rem);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  text-transform: uppercase;
}
.lede {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 46ch;
  margin: 0 0 30px;
}
@media (max-width: 900px) { .lede { margin-left: auto; margin-right: auto; } }
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #15102a;
  color: #fff;
  padding: 12px 22px 12px 18px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(21, 16, 42, 0.28);
}
.store-badge svg { width: 22px; height: 22px; flex-shrink: 0; }
.store-badge .store-text { line-height: 1.1; text-align: left; }
.store-badge .store-text small { display: block; font-weight: 600; font-size: 0.68rem; opacity: 0.7; }
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-center {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.hero-center .eyebrow { justify-content: center; }
.hero-center .lede { margin-left: auto; margin-right: auto; }
.hero-center .hero-actions { justify-content: center; }
.hero-center .hero-pills { justify-content: center; }

/* ---------- Stickers (glass pills with a bit of attitude) ---------- */
.pill.sticker {
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 16px rgba(80, 40, 140, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: rotate(var(--sticker-rot, -3deg));
}
.pill.sticker:nth-child(even) { --sticker-rot: 3deg; }
.pill.sticker:nth-child(3n) { --sticker-rot: -2deg; }
.hero-stickers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}
.sticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 24px rgba(80, 40, 140, 0.16);
}
.sticker-badge.rotate-left { transform: rotate(-3deg); }
.sticker-badge.rotate-right { transform: rotate(2.5deg); }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-tight { padding: 56px 0; }

/* Aurora glow — big soft color blobs behind a section, so scrolling through
   the dark theme still feels colorful and alive instead of flat panels. */
.aurora { position: relative; overflow: hidden; }
.aurora::before {
  content: "";
  position: absolute;
  inset: -15%;
  background: var(--aurora-bg);
  filter: blur(12px);
  pointer-events: none;
  z-index: 0;
}
.aurora-1::before {
  --aurora-bg:
    radial-gradient(32% 45% at 12% 15%, rgba(255, 92, 158, 0.4), transparent 70%),
    radial-gradient(28% 40% at 88% 85%, rgba(79, 214, 255, 0.38), transparent 70%);
}
.aurora-2::before {
  --aurora-bg:
    radial-gradient(30% 42% at 88% 20%, rgba(155, 92, 246, 0.42), transparent 70%),
    radial-gradient(26% 38% at 10% 80%, rgba(255, 207, 61, 0.36), transparent 70%);
}
.aurora-3::before {
  --aurora-bg:
    radial-gradient(30% 42% at 15% 85%, rgba(52, 224, 161, 0.4), transparent 70%),
    radial-gradient(26% 38% at 90% 10%, rgba(255, 92, 158, 0.34), transparent 70%);
}
.aurora-4::before {
  --aurora-bg:
    radial-gradient(32% 46% at 85% 15%, rgba(79, 214, 255, 0.36), transparent 70%),
    radial-gradient(28% 40% at 10% 85%, rgba(155, 92, 246, 0.36), transparent 70%);
}
.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head .eyebrow { justify-content: center; }
h2.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.section-sub { color: var(--text-dim); font-size: 1.05rem; margin: 0; }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--panel);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lift);
}
.step-num {
  position: relative;
  overflow: hidden;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.35);
  color: #fff;
}
.step-num::before {
  content: "";
  position: absolute;
  inset: 0 0 55% 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.step h3 { margin: 0 0 8px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--text-dim); font-size: 0.96rem; }

/* ---------- Feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--panel);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lift);
}
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.feature-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.feature-card p { margin: 0; color: var(--text-dim); font-size: 0.93rem; }

/* ---------- Showcase (screenshot strip) ---------- */
.showcase-strip {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px 24px 28px;
}
@media (max-width: 760px) {
  .showcase-strip {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
}
.showcase-strip::-webkit-scrollbar { height: 6px; }
.showcase-strip::-webkit-scrollbar-thumb { background: var(--panel-border); border-radius: 6px; }
.showcase-item {
  flex: 0 0 auto;
  width: 230px;
  scroll-snap-align: start;
  padding: 10px;
  border-radius: 28px;
  background: var(--panel);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-lift), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.showcase-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  border-radius: 19px;
}
.showcase-item p {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  margin: 12px 0 0;
  font-weight: 600;
}

/* ---------- Honesty / science callout ---------- */
.callout {
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--panel-border);
  background: linear-gradient(160deg, rgba(155, 92, 246, 0.26), rgba(47, 216, 200, 0.18)), var(--panel);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-lift);
}
.callout h3 { margin: 0 0 10px; font-size: 1.2rem; }
.callout p { color: var(--text-dim); margin: 0 0 14px; }
.callout p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--panel-border);
  padding: 20px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-faint);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  color: var(--text-dim);
  margin: 14px 0 0;
  font-size: 0.97rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.25)), var(--panel);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 24px 60px rgba(124, 58, 237, 0.18);
  color: var(--text);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(42% 60% at 22% 15%, rgba(155, 92, 246, 0.55), transparent 70%),
    radial-gradient(38% 55% at 82% 85%, rgba(255, 92, 158, 0.45), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band > .stickers-field { position: absolute; z-index: 0; }
.cta-band h2 { margin: 0 0 10px; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 900; }
.cta-band p { margin: 0 0 26px; color: var(--text-dim); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--panel-border);
  padding: 48px 0 32px;
  color: var(--text-faint);
  font-size: 0.88rem;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.footer-brand { max-width: 320px; }
.footer-brand .brand { margin-bottom: 10px; }
.footer-cols {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.footer-col h4 {
  color: var(--text-dim);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-decoration: none; color: var(--text-faint); }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--panel-border);
}

/* ---------- Blog listing ---------- */
.page-head {
  padding: 64px 0 20px;
  text-align: center;
}
.page-head .eyebrow { justify-content: center; }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 2.9rem); font-weight: 900; margin: 0 0 14px; text-transform: uppercase; }
.page-head p { color: var(--text-dim); max-width: 56ch; margin: 0 auto; font-size: 1.05rem; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 760px) { .post-grid { grid-template-columns: 1fr; } }
.post-card {
  display: block;
  text-decoration: none;
  background: var(--panel);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lift);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.post-card:hover { border-color: rgba(124, 58, 237, 0.3); transform: translateY(-2px); }
.post-card .pill { margin-bottom: 16px; }
.post-card h2, .post-card h3 { margin: 0 0 10px; font-size: 1.25rem; line-height: 1.3; }
.post-card p { margin: 0 0 16px; color: var(--text-dim); font-size: 0.95rem; }
.post-meta { display: flex; align-items: center; gap: 10px; color: var(--text-faint); font-size: 0.82rem; font-weight: 600; }
.post-card.featured { grid-column: 1 / -1; padding: 40px; background: linear-gradient(150deg, rgba(255,92,158,0.3), rgba(79,214,255,0.22)), var(--panel); }
.post-card.featured h2 { font-size: 1.6rem; }

/* ---------- Article ---------- */
.article-head { padding: 56px 0 20px; }
.article-head .container { max-width: 760px; }
.breadcrumb {
  display: flex;
  gap: 8px;
  color: var(--text-faint);
  font-size: 0.85rem;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.breadcrumb a { text-decoration: none; color: var(--text-faint); }
.breadcrumb a:hover { color: var(--text-dim); }
.article-head h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 18px;
}
.article-head .lede { max-width: none; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-faint);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 22px;
  flex-wrap: wrap;
}

.article-body { max-width: 760px; margin: 0 auto; padding-bottom: 40px; }
.article-body h2 {
  font-size: 1.5rem;
  font-weight: 900;
  margin: 48px 0 16px;
  letter-spacing: -0.01em;
}
.article-body h3 {
  font-size: 1.18rem;
  font-weight: 800;
  margin: 34px 0 12px;
}
.article-body p {
  font-size: 1.04rem;
  color: rgba(33, 19, 52, 0.84);
  margin: 0 0 20px;
}
.article-body ul, .article-body ol {
  color: rgba(33, 19, 52, 0.84);
  font-size: 1.04rem;
  margin: 0 0 20px;
  padding-left: 22px;
}
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--purple-ink); text-decoration: underline; text-underline-offset: 2px; }
.article-body strong { color: var(--text); }
.article-body blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--purple);
  background: rgba(155, 92, 246, 0.10);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.05rem;
  color: var(--text-dim);
  font-style: italic;
}
.evidence-box {
  margin: 32px 0;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--panel-border);
  background: var(--panel);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-lift);
}
.evidence-box .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.evidence-box.solid .label { background: rgba(52, 224, 161, 0.22); color: var(--green-ink); }
.evidence-box.mixed .label { background: rgba(255, 207, 61, 0.28); color: #92660a; }
.evidence-box.belief .label { background: rgba(255, 92, 158, 0.22); color: var(--pink-ink); }
.evidence-box p { margin: 0; color: var(--text-dim); font-size: 0.96rem; }
.evidence-box p + p { margin-top: 10px; }

.tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 36px 0; }

.article-cta {
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--panel);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--panel-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 40px 0;
}
.article-cta h3 { margin: 0 0 4px; font-size: 1.1rem; }
.article-cta p { margin: 0; color: var(--text-dim); font-size: 0.92rem; }

.related { max-width: 760px; margin: 0 auto; padding: 20px 0 60px; }
.related h2 { font-size: 1.2rem; margin: 0 0 18px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 600px) { .related-grid { grid-template-columns: 1fr; } }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Video banner (App Store motion loop) ----------
   Framed as a glass "window" rather than a full-bleed strip — the video
   itself is still a black backdrop with neon content, and on the light
   theme that needs a soft frame around it instead of a hard edge. */
.video-banner-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 24px 0;
}
.video-banner-frame {
  position: relative;
  padding: 12px;
  border-radius: 36px;
  background: var(--panel);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-lift), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.video-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 2200 / 944;
  max-height: 58vh;
  overflow: hidden;
  border-radius: 26px;
}
.video-banner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-mute-toggle {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 6px 18px rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-mute-toggle:hover { background: linear-gradient(160deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.06)); }
@media (max-width: 640px) {
  .video-mute-toggle { right: 14px; bottom: 14px; width: 38px; height: 38px; font-size: 0.95rem; }
}
@media (prefers-reduced-motion: reduce) {
  .video-banner video { display: none; }
  .video-banner { background-size: cover; background-position: center; }
}
