/* ============================================================
   Tiny Rhythm — tinyrhythm.app design system
   Warm cream base · midnight indigo · sunrise peach · sage · dusk lavender
   ============================================================ */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/manrope-var.woff2") format("woff2");
}

:root {
  /* base */
  --cream: #faf5ee;
  --cream-deep: #f4ecdf;
  --ivory: #fffdf9;
  --card: #fffefb;
  --border: #ece3d4;
  --border-soft: #f1eadd;

  /* text */
  --indigo: #232b4d;
  --indigo-deep: #1a2140;
  --body: #565d76;
  --muted: #696e86;

  /* accents */
  --peach: #f4a97f;
  --coral: #ee8a63;
  --coral-deep: #e2764e;
  --sage: #7c8a6f;
  --sage-deep: #5f7052;
  --sage-pale: #ecf1e3;
  --sage-mist: #f3f6ec;
  --lavender: #b9bde4;
  --lavender-pale: #e3e5f5;
  --dusk: #8d90c4;
  --gold: #e2b25c;
  --coral-text: #b04a20;

  /* gradients */
  --dawn: linear-gradient(115deg, #fbe3c9 0%, #f7cfae 32%, #e4c4c4 62%, #c9c6e6 100%);
  --dawn-soft: linear-gradient(105deg, #faf3e8 0%, #fbe6cf 38%, #ecdce2 72%, #dcdcf0 100%);
  --dusk-grad: linear-gradient(160deg, #2c3563 0%, #454a7d 55%, #8d84ae 100%);

  /* shape + shadow */
  --r-card: 24px;
  --r-tile: 18px;
  --r-pill: 999px;
  --shadow-card: 0 2px 6px rgba(35, 43, 77, 0.04), 0 14px 34px rgba(35, 43, 77, 0.07);
  --shadow-soft: 0 1px 3px rgba(35, 43, 77, 0.05), 0 8px 22px rgba(35, 43, 77, 0.06);
  --shadow-float: 0 24px 60px rgba(35, 43, 77, 0.22);

  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--indigo); text-decoration: none; }
h1, h2, h3, h4 { color: var(--indigo); margin: 0; line-height: 1.12; letter-spacing: -0.015em; }
p { margin: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }

::selection { background: #f6d4bb; color: var(--indigo-deep); }

/* ---------- skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--indigo); color: #fff; padding: 10px 18px; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 245, 238, 0.88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand svg { width: 34px; height: 34px; }
.brand-word {
  font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: var(--indigo);
  white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 15px; font-weight: 600; color: var(--indigo);
  padding: 6px 2px; position: relative; opacity: 0.82;
}
.nav-links a:hover { opacity: 1; }
.nav-links a[aria-current="page"] { opacity: 1; }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 2px; right: 2px; bottom: -4px;
  height: 2px; border-radius: 2px; background: var(--indigo);
}
.nav-cta { flex-shrink: 0; }

/* mobile nav */
.nav-toggle { display: none; }
.nav-toggle-btn {
  display: none; border: 0; background: none; padding: 8px; cursor: pointer; color: var(--indigo);
}
.nav-toggle-btn svg { width: 26px; height: 26px; }
@media (max-width: 860px) {
  .nav-inner { height: 66px; }
  .nav-toggle-btn { display: block; }
  .nav .nav-cta { display: none; }
  .nav-links {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--border);
    padding: 8px 20px 16px; box-shadow: var(--shadow-soft);
  }
  .nav-links a { padding: 13px 4px; border-bottom: 1px solid var(--border-soft); font-size: 16px; }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav.nav-open .nav-links { display: flex; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: var(--r-pill); font-weight: 700; font-size: 15px;
  padding: 14px 26px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--indigo); color: #fff;
  box-shadow: 0 6px 18px rgba(26, 33, 64, 0.28);
}
.btn-primary:hover { background: var(--indigo-deep); }
.btn-secondary {
  background: transparent; color: var(--indigo); border-color: rgba(35, 43, 77, 0.28);
}
.btn-secondary:hover { border-color: var(--indigo); background: rgba(255, 255, 255, 0.55); }
.btn-premium {
  background: linear-gradient(135deg, #c25523, #b04a17);
  color: #fff; box-shadow: 0 8px 22px rgba(178, 74, 23, 0.35);
}
.btn-premium:hover { filter: brightness(1.05); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn .icn { width: 18px; height: 18px; }

.textlink {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: 15px; color: var(--indigo);
}
.textlink svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.textlink:hover svg { transform: translateX(3px); }

/* ============================================================
   TYPOGRAPHY BLOCKS
   ============================================================ */
.eyebrow {
  display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: 0.01em;
  color: var(--sage-deep); margin-bottom: 16px;
}
.eyebrow-pill {
  background: rgba(255, 255, 255, 0.65); border: 1px solid var(--border);
  border-radius: var(--r-pill); padding: 7px 16px; color: var(--indigo);
}
.h-hero {
  font-size: clamp(38px, 5.4vw, 62px); font-weight: 800; line-height: 1.02;
  letter-spacing: -0.028em;
}
.h-section {
  font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; letter-spacing: -0.022em;
}
.sub {
  font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--body);
  max-width: 560px; margin-top: 20px; font-weight: 500;
}
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head .sub { margin-top: 14px; font-size: 17px; }
@media (max-width: 720px) { .section { padding: 60px 0; } }

/* ============================================================
   HERO SCENE (dawn gradient + hills + sun + waveform + stars)
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: var(--dawn-soft);
}
.hero-scene {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-scene svg { width: 100%; height: 100%; }
.hero-inner { position: relative; }

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px; align-items: center; padding: 72px 0 88px;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; padding: 56px 0 64px; }
}
.hero-copy .sub { margin-top: 22px; }
.hero-ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 34px; }
.hero-trust {
  display: flex; align-items: center; gap: 8px; margin-top: 26px;
  font-size: 14.5px; font-weight: 600; color: var(--body);
}
.hero-trust .star { color: var(--gold); width: 17px; height: 17px; }

.hero-center { text-align: center; padding: 76px 0 88px; position: relative; }
.hero-center .sub { margin-left: auto; margin-right: auto; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-card); box-shadow: var(--shadow-soft);
  padding: 28px;
}
.card h3 { font-size: 18px; font-weight: 700; }
.card p { font-size: 15px; margin-top: 8px; }

.icn-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 16px; flex-shrink: 0;
}
.icn-chip svg { width: 26px; height: 26px; }
.icn-chip.round { border-radius: 50%; width: 58px; height: 58px; }
.chip-sage { background: var(--sage-mist); color: var(--sage-deep); }
.chip-peach { background: #fdeadb; color: var(--coral-deep); }
.chip-lav { background: var(--lavender-pale); color: #5d63a5; }
.chip-gold { background: #faf0d9; color: #b3873a; }
.chip-indigo { background: #e8eaf4; color: var(--indigo); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* connected step cards */
.steps { position: relative; }
.steps::before {
  content: ""; position: absolute; top: 50px; left: 6%; right: 6%;
  border-top: 2px dashed #ded3c0; z-index: 0;
}
@media (max-width: 960px) { .steps::before { display: none; } }
.step-card { position: relative; z-index: 1; text-align: left; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--indigo); color: #fff; font-size: 14px; font-weight: 700;
  margin-bottom: 14px;
}

/* ============================================================
   WAVEFORM DIVIDER
   ============================================================ */
.wave-motif { color: rgba(255, 255, 255, 0.85); }

/* ============================================================
   PHONE MOCKUP — real device frame wrapping an actual app screenshot
   ============================================================ */
.phone {
  width: 280px; aspect-ratio: 640 / 1391; border-radius: 46px;
  background: linear-gradient(165deg, #2c3151, #10121f 45%, #1a1d30);
  padding: 9px; box-shadow: var(--shadow-float);
  border: 1px solid rgba(255, 255, 255, 0.16);
  position: relative; flex-shrink: 0;
}
.phone::before {
  /* power button, right edge */
  content: ""; position: absolute; right: -2px; top: 21%; width: 3px; height: 62px;
  background: #0b0d18; border-radius: 2px 0 0 2px;
}
.phone::after {
  /* volume + mute buttons, left edge */
  content: ""; position: absolute; left: -2px; top: 15%; width: 3px; height: 30px;
  background: #0b0d18; border-radius: 0 2px 2px 0;
  box-shadow: 0 52px 0 0 #0b0d18, 0 92px 0 0 #0b0d18;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 38px; overflow: hidden;
  background: #000; position: relative;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }

.phone-float { transform: rotate(4deg); margin: 0 auto; }
.phone-stage { position: relative; display: flex; justify-content: center; padding: 12px 0; }

.phone-cluster { position: relative; display: flex; justify-content: center; align-items: center; min-height: 560px; }
.phone-cluster .phone { position: absolute; }
.phone-cluster .p-main { position: relative; z-index: 3; }
.phone-cluster .p-left { z-index: 2; transform: rotate(-7deg) translateX(-146px) scale(0.86); opacity: 0.96; }
.phone-cluster .p-right { z-index: 1; transform: rotate(7deg) translateX(146px) scale(0.86); opacity: 0.96; }
@media (max-width: 1100px) {
  .phone-cluster .p-left { transform: rotate(-7deg) translateX(-108px) scale(0.8); }
  .phone-cluster .p-right { transform: rotate(7deg) translateX(108px) scale(0.8); }
}
@media (max-width: 640px) {
  .phone-cluster { min-height: 480px; }
  .phone-cluster .p-left, .phone-cluster .p-right { display: none; }
}

/* mini in-app chart accent (used by small illustrative UI snippets, not screenshots) */
.mini-bars { display: flex; align-items: flex-end; gap: 5px; height: 44px; margin-top: 6px; }
.mini-bars i { flex: 1; border-radius: 4px 4px 2px 2px; background: var(--lavender); }
.mini-bars i.hi { background: var(--dusk); }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip { border-bottom: 1px solid var(--border-soft); background: var(--ivory); }
.trust-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 22px 0; flex-wrap: wrap;
}
.trust-items { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; color: var(--body); }
.trust-item svg { width: 18px; height: 18px; color: var(--sage-deep); }
.trust-quote { font-size: 14.5px; color: var(--muted); font-weight: 600; font-style: italic; }

/* ============================================================
   BLOG
   ============================================================ */
.post-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card);
  overflow: hidden; box-shadow: var(--shadow-soft); display: flex; flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.post-thumb { aspect-ratio: 16 / 9.5; width: 100%; }
.post-thumb svg { width: 100%; height: 100%; }
.post-card-body {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 20px;
}
.post-card-body h3 { font-size: 16.5px; line-height: 1.3; }
.post-card-body .arrow { width: 20px; height: 20px; color: var(--indigo); flex-shrink: 0; }
.post-kicker { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.03em; text-transform: uppercase; }

.featured-card {
  display: grid; grid-template-columns: 340px 1fr; gap: 0;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card);
  overflow: hidden; box-shadow: var(--shadow-card);
}
.featured-thumb svg { width: 100%; height: 100%; object-fit: cover; }
.featured-body { padding: 34px 38px; display: flex; flex-direction: column; justify-content: center; }
.featured-label {
  font-size: 12px; font-weight: 800; letter-spacing: 0.09em; color: var(--sage-deep);
  text-transform: uppercase; margin-bottom: 10px;
}
.featured-body h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -0.02em; }
.featured-body p { margin: 12px 0 18px; font-size: 15.5px; max-width: 520px; }
@media (max-width: 860px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-thumb { aspect-ratio: 16/8; overflow: hidden; }
  .featured-body { padding: 26px; }
}

/* search + categories */
.blog-tools { max-width: 520px; }
.search-field {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.85); border: 1px solid var(--border);
  border-radius: var(--r-pill); padding: 13px 20px; box-shadow: var(--shadow-soft);
}
.search-field svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.search-field:focus-within { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(35, 43, 77, 0.22); }
.search-field input {
  border: 0; outline: 0; background: none; font: inherit; font-weight: 600;
  color: var(--indigo); width: 100%;
}
.search-field input::placeholder { color: var(--muted); font-weight: 500; }
.cat-row { display: flex; gap: 22px; margin-top: 18px; flex-wrap: wrap; }
.cat-row a {
  font-size: 14.5px; font-weight: 700; color: var(--body); padding: 4px 2px; position: relative;
}
.cat-row a:hover { color: var(--indigo); }
.cat-row a[aria-current="true"] { color: var(--indigo); }
.cat-row a[aria-current="true"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 2.5px; border-radius: 2px; background: var(--sage);
}

/* signup card */
.signup-card {
  background: linear-gradient(165deg, #f6f8ee, var(--sage-pale));
  border: 1px solid #dfe7cf; border-radius: var(--r-card);
  padding: 30px 28px; text-align: center; box-shadow: var(--shadow-soft);
  position: sticky; top: 100px;
}
.signup-card h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.015em; }
.signup-card p { font-size: 14px; margin-top: 8px; }
.signup-note { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* article page */
.article {
  max-width: 720px; margin: 0 auto; padding: 56px 32px 72px;
}
.article-head h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.06; }
.article-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 18px;
}
.article-meta .dot::before { content: "·"; margin: 0 2px; }
.article-hero { border-radius: var(--r-card); overflow: hidden; margin: 30px 0 8px; box-shadow: var(--shadow-soft); }
.article-hero svg { width: 100%; height: auto; }
.prose { font-size: 17px; line-height: 1.72; color: #4a5068; }
.prose h2 { font-size: 25px; margin: 42px 0 14px; letter-spacing: -0.018em; }
.prose h3 { font-size: 19px; margin: 32px 0 10px; }
.prose p { margin: 16px 0; }
.prose ul, .prose ol { margin: 16px 0; padding-left: 26px; }
.prose li { margin: 7px 0; }
.prose strong { color: var(--indigo); font-weight: 700; }
.prose a { text-decoration: underline; text-decoration-color: #c9cde8; text-underline-offset: 3px; }
.prose blockquote {
  margin: 24px 0; padding: 18px 22px; border-left: 3px solid var(--sage);
  background: var(--sage-mist); border-radius: 0 16px 16px 0; color: var(--sage-deep);
  font-weight: 600;
}
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.prose th { text-align: left; color: var(--indigo); font-weight: 700; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--border); }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 36px 0; }

.article-disclaimer {
  margin-top: 44px; display: flex; gap: 12px; align-items: flex-start;
  background: var(--sage-mist); border: 1px solid #e0e8d0; border-radius: 16px;
  padding: 16px 18px; font-size: 13.5px; color: var(--sage-deep); font-weight: 600;
}
.article-disclaimer svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 1px; }

.related { border-top: 1px solid var(--border); }

/* ============================================================
   BANDS
   ============================================================ */
.band-sage {
  background: var(--sage-pale); border: 1px solid #e0e8d0; border-radius: 20px;
  display: flex; align-items: center; gap: 16px; padding: 18px 26px; flex-wrap: wrap;
}
.band-sage .icn { width: 24px; height: 24px; color: var(--sage-deep); flex-shrink: 0; }
.band-sage b { color: var(--indigo); font-size: 15.5px; }
.band-sage span { font-size: 15px; }
.band-sage .band-link { margin-left: auto; }

.cta-band {
  position: relative; overflow: hidden; border-radius: 28px;
  background: var(--dawn); padding: 54px 48px;
  box-shadow: var(--shadow-card);
}
.cta-band-scene { position: absolute; inset: 0; pointer-events: none; }
.cta-band-scene svg { width: 100%; height: 100%; }
.cta-band-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.02em; }
.cta-band p { margin-top: 8px; font-size: 16px; color: #4a4f6d; font-weight: 600; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 720px) { .cta-band { padding: 38px 28px; } }

/* ============================================================
   SCIENCE PAGE
   ============================================================ */
.rhythm-card {
  background: rgba(255, 255, 255, 0.92); border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 26px 28px;
  backdrop-filter: blur(4px);
}
.rhythm-card h3 { font-size: 17px; }
.rhythm-legend { display: flex; gap: 22px; margin-top: 6px; flex-wrap: wrap; }
.rhythm-legend span { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--body); }
.rhythm-legend svg { width: 15px; height: 15px; }
.rhythm-note { font-size: 13px; color: var(--muted); margin-top: 12px; font-weight: 600; }

.needs-table {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card);
  overflow: hidden; box-shadow: var(--shadow-soft);
}
.needs-col { padding: 26px 22px; border-left: 1px solid var(--border-soft); text-align: center; }
.needs-col:first-child { border-left: 0; }
.needs-age { font-size: 16px; font-weight: 800; color: var(--indigo); }
.needs-age small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.needs-num { font-size: 24px; font-weight: 800; color: var(--indigo); margin-top: 18px; letter-spacing: -0.02em; }
.needs-lab { font-size: 12px; color: var(--muted); font-weight: 700; margin-top: 2px; }
@media (max-width: 860px) {
  .needs-table { grid-template-columns: repeat(2, 1fr); }
  .needs-col:nth-child(3), .needs-col:nth-child(4) { border-top: 1px solid var(--border-soft); }
  .needs-col:nth-child(3) { border-left: 0; }
}
@media (max-width: 480px) {
  .needs-table { grid-template-columns: 1fr; }
  .needs-col { border-left: 0; border-top: 1px solid var(--border-soft); }
  .needs-col:first-child { border-top: 0; }
}

.stat-card .stat-num { font-size: 34px; font-weight: 800; color: var(--indigo); letter-spacing: -0.02em; margin-top: 16px; }
.stat-card .stat-src { font-size: 12px; color: var(--muted); margin-top: 12px; font-weight: 600; }

/* ============================================================
   PRICING
   ============================================================ */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 440px)); gap: 26px; justify-content: center; }
@media (max-width: 860px) { .plans { grid-template-columns: minmax(0, 440px); } }
.plan {
  background: var(--card); border: 1px solid var(--border); border-radius: 28px;
  padding: 34px; box-shadow: var(--shadow-card); position: relative;
}
.plan-premium { border: 2px solid #f3b898; }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: #fdeadb; color: var(--coral-text); border: 1px solid #f3c8ab;
  font-size: 12.5px; font-weight: 800; border-radius: var(--r-pill); padding: 5px 14px;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.plan-badge svg { width: 13px; height: 13px; color: var(--gold); }
.plan-head { display: flex; align-items: center; gap: 14px; }
.plan-head h2 { font-size: 22px; font-weight: 800; }
.plan-price { font-size: 42px; font-weight: 800; color: var(--indigo); letter-spacing: -0.03em; margin-top: 14px; }
.plan-price small { font-size: 17px; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.plan-sub { font-size: 14.5px; margin-top: 6px; }
.plan .btn { width: 100%; margin-top: 22px; }
.plan-features { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--border-soft); }
.plan-features li { display: flex; gap: 11px; align-items: flex-start; padding: 7px 0; font-size: 15px; font-weight: 600; color: #4a5068; }
.plan-features svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.check-sage { color: var(--sage); }
.check-coral { color: var(--coral); }
.plan-toggle {
  display: flex; align-items: center; gap: 10px; margin-top: 14px;
  font-size: 13.5px; font-weight: 700; color: var(--body);
}
.save-badge {
  background: #fdeadb; color: var(--coral-text); font-size: 11.5px; font-weight: 800;
  border-radius: var(--r-pill); padding: 3px 9px;
}

.compare {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card);
  box-shadow: var(--shadow-soft); overflow: hidden;
}
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare caption { text-align: left; font-size: 19px; font-weight: 800; color: var(--indigo); padding: 24px 28px 6px; }
.compare th, .compare td { padding: 14px 28px; border-top: 1px solid var(--border-soft); text-align: left; }
.compare thead th { border-top: 0; font-size: 13.5px; color: var(--muted); font-weight: 700; }
.compare th[scope="row"] { font-weight: 600; color: #4a5068; }
.compare td { width: 130px; }
.compare .yes svg { width: 19px; height: 19px; color: var(--sage); }
.compare .no { color: #c9c3b6; font-weight: 700; }
@media (max-width: 640px) { .compare th, .compare td { padding: 12px 16px; } }

/* FAQ */
.faq-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .faq-row { grid-template-columns: 1fr; } }
.faq {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-tile);
  box-shadow: var(--shadow-soft); padding: 4px 20px;
}
.faq summary {
  display: flex; align-items: center; gap: 12px; cursor: pointer; list-style: none;
  font-size: 15px; font-weight: 700; color: var(--indigo); padding: 16px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg.q-icn { width: 20px; height: 20px; color: var(--sage-deep); flex-shrink: 0; }
.faq summary .chev { margin-left: auto; width: 16px; height: 16px; color: var(--muted); transition: transform 0.2s ease; }
.faq[open] summary .chev { transform: rotate(180deg); }
.faq .faq-a { padding: 0 0 18px 32px; font-size: 14.5px; }

/* ============================================================
   MINI UI SNIPPETS (real-life cards)
   ============================================================ */
.mini-ui {
  background: #fbf7f0; border: 1px solid var(--border-soft); border-radius: 14px;
  padding: 12px 14px; margin-top: 16px; font-size: 12px; font-weight: 600; color: var(--body);
}
.mini-ui .mini-title { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.mini-btn {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  background: var(--indigo); color: #fff; font-size: 11.5px; font-weight: 700;
  border-radius: var(--r-pill); padding: 7px 13px;
}
.mini-btn svg { width: 12px; height: 12px; }
.mini-list { list-style: none; margin: 8px 0 0; padding: 0; }
.mini-list li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 0; border-top: 1px solid #efe8da; gap: 8px;
}
.mini-list li:first-child { border-top: 0; }
.mini-who { display: flex; align-items: center; gap: 8px; color: var(--indigo); font-weight: 700; }
.mini-who svg { width: 17px; height: 17px; flex-shrink: 0; }
.mini-avatar {
  width: 22px; height: 22px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; font-size: 10px; font-weight: 800; color: #fff;
}
.mini-role { font-size: 11px; color: var(--muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ivory); border-top: 1px solid var(--border-soft); margin-top: 40px; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 30px 0; flex-wrap: wrap;
}
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; font-weight: 600; color: var(--body); }
.footer-links a:hover { color: var(--indigo); }
.footer-disclaimer {
  font-size: 13px; color: var(--muted); padding: 0 0 14px;
  border-top: 1px solid var(--border-soft); margin: 0 0 0; padding-top: 18px;
}
.footer-legal {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 0 26px; flex-wrap: wrap; font-size: 13px; color: var(--muted);
}
.footer-legal .footer-links a { font-size: 13px; color: var(--muted); }
.footer-legal .footer-links a:hover { color: var(--indigo); }

/* ============================================================
   MISC
   ============================================================ */
.center { text-align: center; }
.note-line {
  margin-top: 16px; font-size: 13.5px; color: var(--muted);
  display: flex; align-items: flex-start; gap: 8px; font-weight: 600;
}
.note-line svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--sage); margin-top: 1px; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
