/* ==========================================================================
   ReturnKit marketing token sheet — premium pass (2026-08)
   One accent. One shadow recipe. One radius scale. Shared buttons + cards.
   Loaded AFTER the legacy inline <style> in index.html so these win ties.
   ========================================================================== */

:root {
  /* ink ramp */
  --m-ink: var(--foreground);
  --m-ink-soft: var(--muted-foreground);
  --m-ink-faint: var(--rk-ink-muted);
  --m-ink-ghost: var(--rk-ink-faint);

  /* the ONE accent (CTAs + the Newsreader italic signature only) */
  --m-accent: var(--primary);
  --m-accent-hover: var(--primary-hover);
  --m-accent-tint: var(--primary-container);

  /* gold survives ONLY as a highlight on dark sections + founding badge */
  --m-gold: var(--rk-gold-500);
  --m-gold-soft: var(--rk-gold-300);

  /* surfaces + lines */
  --m-bg: var(--background);
  --m-card: var(--surface-container-lowest);
  --m-line: rgba(40, 48, 111, 0.09);
  --m-line-soft: rgba(40, 48, 111, 0.07);
  --m-dark-1: #2b357f;
  --m-dark-2: #3a47a8;

  /* radius scale */
  --m-r-sm: 16px;
  --m-r-md: 24px;
  --m-r-lg: 36px;

  /* ONE shadow recipe + ONE cta shadow */
  --m-shadow: var(--rk-card-shadow);
  --m-shadow-lift: 0 2px 4px rgba(40, 48, 111, 0.06), 0 20px 44px -20px rgba(40, 48, 111, 0.34);
  --m-shadow-cta: 0 16px 30px -14px rgba(212, 61, 120, 0.55);
  --m-shadow-cta-hover: 0 20px 36px -14px rgba(178, 50, 102, 0.55);

  /* section rhythm */
  --m-section-y: 96px;
  --m-section-y-sm: 64px;
}

/* ---------- layout primitives ---------- */
.m-wrap { max-width: 1280px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.m-section { padding-top: var(--m-section-y); padding-bottom: var(--m-section-y); }
.m-head { max-width: 780px; }
.m-head-center { max-width: 760px; margin: 0 auto; text-align: center; }

/* ---------- type ---------- */
.m-eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--m-accent);
}
.m-h2 {
  font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; line-height: 1.08;
  letter-spacing: -0.03em; color: var(--m-ink); margin: 16px 0 0;
  text-wrap: balance;
}
.m-sub {
  font-size: 18px; color: var(--m-ink-soft); line-height: 1.6;
  margin: 16px 0 0;
}
.m-head-center .m-sub { margin-left: auto; margin-right: auto; max-width: 640px; }

/* ---------- buttons (one system, real CSS hover) ---------- */
.m-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 15px; line-height: 1;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.m-btn:active { transform: translateY(0); }
.m-btn-primary {
  background: var(--m-accent); color: #fff; box-shadow: var(--m-shadow-cta);
}
.m-btn-primary:hover {
  background: var(--m-accent-hover); transform: translateY(-2px);
  box-shadow: var(--m-shadow-cta-hover);
}
.m-btn-neutral {
  background: #eef4fe; color: var(--m-ink);
}
.m-btn-neutral:hover { background: #e2ecfb; transform: translateY(-2px); }
.m-btn-outline {
  background: #fff; color: var(--m-ink); border-color: rgba(40, 48, 111, 0.14);
}
.m-btn-outline:hover { border-color: rgba(40, 48, 111, 0.3); transform: translateY(-2px); }
.m-btn-ghost-light {
  background: rgba(255, 255, 255, 0.16); color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.m-btn-ghost-light:hover { background: rgba(255, 255, 255, 0.26); transform: translateY(-2px); }
.m-btn-lg { font-size: 17px; padding: 17px 30px; }
.m-btn-sm { font-size: 14px; padding: 11px 20px; }

/* ---------- cards ---------- */
.m-card {
  background: var(--m-card); border: 1px solid var(--m-line-soft);
  border-radius: var(--m-r-md); padding: 28px; box-shadow: var(--m-shadow);
}

/* ---------- three quiet superpowers ---------- */
.m-powers {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin: 48px 0 0; align-items: stretch;
}
.m-power-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--m-card); border: 1px solid var(--m-line-soft);
  border-radius: var(--m-r-md); box-shadow: var(--m-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.m-power-card:hover { transform: translateY(-4px); box-shadow: var(--m-shadow-lift); }
.m-power-media {
  display: block; width: 100%; aspect-ratio: 16 / 9.5; object-fit: cover;
  object-position: top center; border-bottom: 1px solid var(--m-line-soft);
  background: #eef4fe;
}
.m-power-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.m-power-tag {
  align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--m-accent);
  background: var(--m-accent-tint); border-radius: 999px; padding: 5px 11px;
}
.m-power-title { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--m-ink); margin: 14px 0 0; }
.m-power-copy { font-size: 15px; color: var(--m-ink-faint); line-height: 1.55; margin: 8px 0 0; flex: 1; }
.m-power-link {
  display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 700;
  color: var(--m-accent); text-decoration: none;
}
.m-power-link:hover { color: var(--m-accent-hover); }
.m-powers-note {
  margin: 26px auto 0; max-width: 720px; text-align: center;
  font-size: 13.5px; color: var(--m-ink-faint); line-height: 1.6;
}
.m-powers-note code { font-size: 12.5px; color: var(--m-ink); }

/* ---------- pricing ---------- */
.m-price-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin: 46px 0 0; align-items: stretch;
}
.m-price-card {
  display: flex; flex-direction: column; background: var(--m-card);
  border: 1px solid var(--m-line); border-radius: var(--m-r-md);
  padding: 30px; box-shadow: var(--m-shadow);
}
.m-price-card.m-price-dark {
  background: linear-gradient(160deg, var(--m-dark-1), var(--m-dark-2));
  border: none; color: #fff;
  box-shadow: 0 34px 60px -30px rgba(40, 48, 111, 0.7);
  position: relative;
}
.m-price-name { font-weight: 800; font-size: 18px; color: var(--m-ink); }
.m-price-dark .m-price-name { color: #fff; }
.m-price-figure { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; margin: 10px 0 2px; color: var(--m-ink); }
.m-price-dark .m-price-figure { color: #fff; }
.m-price-figure small { font-size: 16px; font-weight: 600; color: var(--m-ink-faint); }
.m-price-dark .m-price-figure small { color: rgba(255, 255, 255, 0.6); }
.m-price-note { font-size: 14px; color: var(--m-ink-faint); margin-bottom: 18px; }
.m-price-dark .m-price-note { color: rgba(255, 255, 255, 0.6); }
.m-price-feats { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--m-ink-faint); flex: 1; }
.m-price-dark .m-price-feats { color: rgba(255, 255, 255, 0.82); }
.m-price-card .m-btn { margin-top: 22px; width: 100%; }
.m-price-badge {
  position: absolute; top: 18px; right: 18px; background: var(--m-gold);
  color: var(--m-ink); font-weight: 800; font-size: 11px;
  padding: 5px 11px; border-radius: 999px;
}
.m-price-badge-inline {
  background: #fff7ea; color: #b07b12; font-weight: 700; font-size: 11px;
  padding: 4px 9px; border-radius: 999px;
}

/* ---------- FAQ ---------- */
.m-faq {
  background: var(--m-bg); border: 1px solid var(--m-line-soft);
  border-radius: 18px; padding: 4px 26px;
}
.m-faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; font-size: 18px; font-weight: 700; color: var(--m-ink);
  cursor: pointer; list-style: none;
}
.m-faq summary::-webkit-details-marker { display: none; }
.m-faq summary .m-faq-plus { color: var(--m-accent); font-size: 22px; transition: transform .2s ease; }
.m-faq[open] summary .m-faq-plus { transform: rotate(45deg); }
.m-faq p { font-size: 15px; color: var(--m-ink-faint); line-height: 1.65; margin: 0 0 22px; }
.m-faq p strong { color: var(--m-ink); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .m-powers { grid-template-columns: 1fr 1fr; }
  .m-price-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  :root { --m-section-y: var(--m-section-y-sm); }
  .m-wrap { padding-left: 20px; padding-right: 20px; }
  .m-powers { grid-template-columns: 1fr; }
  .m-price-grid { grid-template-columns: 1fr; }
}
