/* The Capacity Lab — Beta Founder's Cohort
   Editorial firm aesthetic. Warm-only palette.
   No em-dashes anywhere in copy.
*/

:root {
  --cream: #F5EFE4;
  --cream-light: #FAF5EB;
  --ink: #1A1814;
  --ink-soft: #2A2620;
  --dark: var(--ink);  /* Background for "ink" sections. Michigan overrides to navy. */
  --rust: #B8442E;
  --rust-deep: #8F3322;
  --rust-fg: #F5EFE4;  /* CTA text on the accent. Flips to ink for light accents. */
  /* Amber pulled from Kwelity DS (--k-amber-300 / --k-grad-amber)
     so the Capacity Lab ties back to the parent brand. */
  --amber: #EFBA6C;
  --amber-warm: #F3B26A;
  --sage: #6B7E5C;
  --stone: #8B847A;
  --line: #D8CFC0;

  /* RGB-channel variants so rgba() calls can theme correctly.
     Override these alongside the hex var inside each accent theme. */
  --rust-rgb: 184, 68, 46;
  --amber-rgb: 239, 186, 108;
  --amber-warm-rgb: 243, 178, 106;
  --cream-rgb: 245, 239, 228;
  --ink-rgb: 26, 24, 20;

  --f-display: "Fraunces", "Times New Roman", serif;
  --f-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--rust); color: var(--cream); }

/* ---------- Layout ---------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.narrow    { max-width: 780px;  margin: 0 auto; padding: 0 32px; }
.wide      { max-width: 1320px; margin: 0 auto; padding: 0 32px; }

/* Wide / ultra-wide screens (1600px+). Content needs more room
   so the page doesn't feel like a postage stamp in the middle. */
@media (min-width: 1600px) {
  .container { max-width: 1440px; padding: 0 48px; }
  .narrow    { max-width: 900px;  padding: 0 48px; }
  .wide      { max-width: 1560px; padding: 0 48px; }
  .nav-inner { max-width: 1560px; padding: 22px 48px; }
}
@media (min-width: 2000px) {
  .container { max-width: 1680px; padding: 0 64px; }
  .narrow    { max-width: 1000px; padding: 0 64px; }
  .wide      { max-width: 1820px; padding: 0 64px; }
  .nav-inner { max-width: 1820px; padding: 24px 64px; }
  section          { padding: 160px 0; }
  section.tight    { padding: 120px 0; }
  .hero            { padding: 160px 0 180px; }
  /* Give the hero room to breathe and let the headline grow */
  .hero h1         { font-size: clamp(84px, 5.4vw, 108px); }
  .hero-sub        { font-size: 24px; max-width: 720px; }
  .hero-grid       { grid-template-columns: minmax(0, 1fr) 520px; gap: 96px; }
  .meta-strip      { gap: 64px; }
  .meta-value      { font-size: 26px; }
  /* Curriculum gets a tighter centerline so weeks don't sprawl */
  #curriculum .container { max-width: 1500px; }
  .week            { grid-template-columns: 220px 1fr 400px; gap: 64px; padding: 72px 0; }
  /* Final CTA */
  .final           { padding: 200px 0; }
}

section { padding: 110px 0; }
section.tight { padding: 80px 0; }

.bg-cream       { background: var(--cream); }
.bg-cream-light { background: var(--cream-light); }
.bg-ink         { background: var(--dark); color: var(--cream); position: relative; overflow: hidden; }

/* Radial glow on dark sections — amber top-left, rust bottom-right */
.bg-ink::before, .bg-ink::after {
  content: ""; position: absolute; pointer-events: none;
  width: 720px; height: 720px; border-radius: 50%;
  filter: blur(20px); opacity: .18;
}
.bg-ink::before {
  top: -240px; left: -180px;
  background: radial-gradient(circle, var(--amber-warm) 0%, transparent 60%);
}
.bg-ink::after {
  bottom: -260px; right: -200px;
  background: radial-gradient(circle, var(--rust) 0%, transparent 60%);
  opacity: .22;
}
.bg-ink > * { position: relative; z-index: 1; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rust);
  margin: 0 0 24px;
}
.bg-ink .eyebrow { color: var(--amber); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
  /* !important needed when embedded in WordPress: many themes
     force a global h2 color that would make dark-section headings
     invisible against their own background. */
  color: var(--ink) !important;
}
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4 { color: var(--cream) !important; }
.voice-after h1, .voice-after h2, .voice-after h3 { color: var(--cream) !important; }
.proof-card h1, .proof-card h2, .proof-card h3 { color: var(--cream) !important; }
h1 { font-size: clamp(44px, 6.2vw, 84px); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(36px, 4.4vw, 60px); }
h3 { font-size: clamp(24px, 2.4vw, 32px); }
em, .italic { font-style: italic; font-weight: 400; }
h1 em, h2 em { color: var(--rust); }
.bg-ink h1 em, .bg-ink h2 em { color: var(--amber); }

p { margin: 0 0 1.2em; color: var(--ink-soft); }
.bg-ink p { color: #FFFFFF; }
.bg-ink .lead { color: #FFFFFF; }
.lead { font-size: 20px; line-height: 1.5; color: var(--ink-soft); }
.muted { color: var(--stone); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 28px;
  font-family: var(--f-body);
  font-weight: 600; font-size: 15px;
  letter-spacing: 0.01em;
  border-radius: 4px;
  min-height: 48px;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
  position: relative;
}
.btn .arrow {
  display: inline-block;
  transition: transform .25s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

.btn-primary {
  background: var(--rust);
  color: var(--rust-fg);
}
.btn-primary:hover { background: var(--rust-deep); color: var(--rust-fg); box-shadow: 0 8px 24px rgba(var(--rust-rgb), .25); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.bg-ink .btn-ghost { color: var(--cream); border-color: rgba(var(--cream-rgb), .25); }
.btn-ghost:hover { border-color: var(--ink); }
.bg-ink .btn-ghost:hover { border-color: var(--cream); }

.btn-big {
  padding: 22px 36px;
  font-size: 16px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(var(--cream-rgb), .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  max-width: 1320px; margin: 0 auto;
}
.brand {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.brand-mark {
  font-style: italic;
  color: var(--rust);
}
.brand-sub {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stone);
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a { color: var(--ink-soft); transition: color .2s var(--ease); }
.nav-links a:hover { color: var(--rust); }
.nav-cta,
.nav-links a.nav-cta {
  background: var(--dark); color: var(--cream);
  padding: 10px 18px; border-radius: 4px;
  font-size: 13px; font-weight: 600;
  white-space: nowrap;
  transition: background .2s var(--ease);
}
.nav-cta:hover,
.nav-links a.nav-cta:hover { background: var(--rust); color: var(--cream); }

/* ---------- Price flash bar ---------- */
.flashbar {
  background: var(--dark);
  color: var(--cream);
  overflow: hidden;
  border-bottom: 1px solid rgba(var(--cream-rgb), .08);
  position: relative;
}
.flashbar-track {
  display: flex;
  white-space: nowrap;
  padding: 14px 0;
  animation: marquee 30s linear infinite;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.flashbar-item {
  display: inline-flex; align-items: center; gap: 12px;
  /* Use margin-right instead of parent gap so the marquee loop math works:
     each half of the track has identical width, and translateX(-50%) lands cleanly. */
  margin-right: 56px;
}
.flashbar-item .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--amber); }
.flashbar-item .accent { color: var(--amber); }
.flashbar-item .strike { text-decoration: line-through; opacity: .55; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Hero ---------- */
.hero { padding: 120px 0 130px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 72px;
  align-items: end;
  margin-bottom: 56px;
}
.hero-text { min-width: 0; }
.hero-media {
  align-self: end;
  margin-bottom: 8px;
}
.hero-media-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--dark);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(var(--ink-rgb), .35);
}
.hero-media-frame::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(var(--amber-warm-rgb), .22), transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(var(--rust-rgb), .18), transparent 55%);
  pointer-events: none;
}
.hero-media-corner {
  position: absolute;
  width: 14px; height: 14px;
  border-color: rgba(var(--cream-rgb), .45);
  border-style: solid;
  border-width: 0;
  z-index: 2;
}
.hero-media-corner.tl { top: 14px; left: 14px;     border-top-width: 1px; border-left-width: 1px; }
.hero-media-corner.tr { top: 14px; right: 14px;    border-top-width: 1px; border-right-width: 1px; }
.hero-media-corner.bl { bottom: 14px; left: 14px;  border-bottom-width: 1px; border-left-width: 1px; }
.hero-media-corner.br { bottom: 14px; right: 14px; border-bottom-width: 1px; border-right-width: 1px; }
.hero-media-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  color: rgba(var(--cream-rgb), .55);
  text-align: center; padding: 0 24px;
  z-index: 1;
}
.hero-media-label {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber);
}
.hero-media-hint {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(var(--cream-rgb), .4);
}
.hero-eyebrow-row {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 32px;
}
.hero-eyebrow-row .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rust); }
.hero h1 { max-width: 1000px; margin-bottom: 36px; }
.hero-sub {
  max-width: 640px;
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 44px;
}
.hero-ctas {
  display: flex; gap: 16px; flex-wrap: wrap;
}
.meta-strip {
  display: flex; gap: 48px; flex-wrap: wrap;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.meta-item {
  display: flex; flex-direction: column; gap: 6px;
}
.meta-label {
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--stone);
}
.meta-value {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.meta-value .accent { color: var(--rust); font-style: italic; }
.bg-ink .meta-value .accent { color: var(--amber); }

/* Reveal animation helpers */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-duration: .6s; }

/* ---------- Section header ---------- */
.section-head { margin-bottom: 64px; max-width: 820px; }
.section-head h2 { margin-bottom: 20px; }
.section-head .lead { color: var(--ink-soft); }

/* ---------- Magic Mirror ---------- */
.mirror-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.mirror-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 36px 32px 32px;
  position: relative;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.bg-cream-light .mirror-card { background: #FFFCF6; }
.mirror-card:hover { transform: translateY(-2px); border-color: var(--stone); }
.mirror-quote {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.mirror-mark {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 64px;
  line-height: .6;
  color: var(--rust);
  display: block;
  margin-bottom: 8px;
}

/* ---------- Voice Test ---------- */
.voice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.voice-card {
  padding: 48px 42px;
  border-radius: 8px;
  display: flex; flex-direction: column;
  min-height: 380px;
}
.voice-card .eyebrow { margin-bottom: 14px; }
.voice-label {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 28px;
}
.voice-before {
  background: var(--cream-light);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.voice-before .voice-label { color: var(--stone); }
.voice-after {
  background: var(--dark);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.voice-after::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(var(--amber-warm-rgb), .18), transparent 60%);
  pointer-events: none;
}
.voice-after .voice-label { color: var(--amber); }
.voice-after .voice-body { color: #FFFFFF; }
.voice-body {
  font-family: var(--f-display);
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: -0.015em;
  position: relative; z-index: 1;
}
.voice-after .voice-body em { color: var(--amber); }
.voice-before .voice-body em { color: var(--rust); }
.voice-meta {
  margin-top: auto;
  padding-top: 28px;
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--stone);
}
.voice-after .voice-meta { color: rgba(var(--amber-rgb), .7); }

/* ---------- Curriculum ---------- */
.week {
  display: grid;
  grid-template-columns: 180px 1fr 320px;
  gap: 48px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.week:last-child { border-bottom: 1px solid var(--line); }
.week-num {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 80px;
  line-height: .9;
  color: var(--rust);
  letter-spacing: -0.04em;
}
.week-num small {
  display: block;
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 14px;
  font-weight: 500;
}
.week-body h3 { margin-bottom: 14px; }
.week-body p { margin: 0; }
.week-outcome {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 26px;
}
.bg-cream .week-outcome { background: #FFFCF6; }
.outcome-label {
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 12px;
}
.outcome-text {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}

/* ---------- Cohort Commitment ---------- */
.commitment {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: center;
}
.seal {
  width: 240px; height: 240px;
  border-radius: 50%;
  border: 1px solid var(--rust);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.seal::before {
  content: ""; position: absolute; inset: 8px;
  border-radius: 50%;
  border: 1px solid var(--rust);
}
.seal-text {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--rust);
  text-align: center;
  padding: 24px;
}
.seal-text small {
  display: block;
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 10px;
}

/* ---------- Self-referential proof ---------- */
.proof-card {
  background: var(--dark);
  color: var(--cream);
  border-radius: 8px;
  padding: 56px;
  position: relative;
  overflow: hidden;
}
.proof-card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 0% 100%, rgba(var(--rust-rgb), .14), transparent 55%);
  pointer-events: none;
}
.proof-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber);
  position: relative; z-index: 1;
}
.proof-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.proof-body {
  font-family: var(--f-display);
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  position: relative; z-index: 1;
}
.proof-body em { color: var(--amber); }
.proof-meta {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(var(--cream-rgb), .55);
  position: relative; z-index: 1;
}
.proof-snippet {
  margin-top: 32px;
  background: rgba(var(--cream-rgb), .04);
  border: 1px solid rgba(var(--cream-rgb), .1);
  border-radius: 6px;
  padding: 22px 24px;
  font-family: var(--f-mono);
  font-size: 13px;
  line-height: 1.7;
  color: #D8CFC0;
  position: relative; z-index: 1;
}
.proof-snippet .k { color: var(--amber); }
.proof-snippet .s { color: #B8C9A6; }

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(var(--cream-rgb), .1);
}
.price-cell { padding: 56px 48px; }
.price-beta {
  background: linear-gradient(135deg, rgba(var(--amber-rgb), .12), rgba(var(--amber-rgb), .04) 60%);
  border-right: 1px solid rgba(var(--cream-rgb), .08);
  position: relative;
}
.price-future {
  background: rgba(var(--cream-rgb), .02);
  color: rgba(var(--cream-rgb), .55);
}
.price-tag {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 22px;
}
.price-beta .price-tag { color: var(--amber); }
.price-future .price-tag { color: var(--stone); }
.price-amount {
  font-family: var(--f-display);
  font-size: 88px;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: .95;
  color: var(--cream);
  margin: 0;
}
.price-future .price-amount {
  color: rgba(var(--cream-rgb), .4);
  text-decoration: line-through;
  text-decoration-color: #000000;
  text-decoration-thickness: 3px;
}
.price-future .price-amount .currency {
  text-decoration: none;
}
.price-amount .currency { font-size: 36px; vertical-align: top; line-height: 1; margin-right: 6px; }
.price-meta {
  font-family: var(--f-mono);
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(var(--cream-rgb), .6);
  margin: 14px 0 28px;
}
.price-future .price-meta { color: rgba(var(--cream-rgb), .35); }
.price-list {
  list-style: none; padding: 0; margin: 0 0 36px;
  font-family: var(--f-body);
  font-size: 15px;
  color: rgba(var(--cream-rgb), .85);
}
.price-list li {
  padding: 12px 0;
  border-top: 1px solid rgba(var(--cream-rgb), .08);
  display: flex; align-items: baseline; gap: 12px;
}
.price-list li::before {
  content: "·";
  color: var(--amber);
  font-size: 22px;
  line-height: 1;
}
.price-future .price-list { color: rgba(var(--cream-rgb), .4); }
.price-future .price-list li::before { color: rgba(var(--cream-rgb), .35); }
.price-seats {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--amber);
  margin-top: 28px;
}
.price-seats .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--amber);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}
.seat-flash { animation: seatflash .4s ease-out; }
@keyframes seatflash {
  0%   { color: var(--amber); transform: scale(1.06); }
  100% { color: inherit; transform: scale(1); }
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: 12px; }
.faq-item {
  border-top: 1px solid var(--line);
  /* Modern browsers: animate the open/close smoothly. Older browsers
     fall back to the native instant toggle, which still works. */
  interpolate-size: allow-keywords;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item::details-content {
  block-size: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    block-size .35s var(--ease),
    opacity .25s var(--ease),
    content-visibility .35s allow-discrete;
}
.faq-item[open]::details-content {
  block-size: auto;
  opacity: 1;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 0;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 32px;
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color .2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--rust); }
.faq-toggle {
  flex-shrink: 0;
  width: 28px; height: 28px;
  position: relative;
  margin-top: 6px;
  transition: transform .3s var(--ease);
}
.faq-toggle::before, .faq-toggle::after {
  content: ""; position: absolute;
  background: var(--ink);
  top: 50%; left: 50%;
}
.faq-toggle::before { width: 16px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-toggle::after  { width: 1.5px; height: 16px; transform: translate(-50%, -50%); transition: transform .3s var(--ease); transform-origin: center; }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-item[open] summary { color: var(--rust); }
.faq-item[open] .faq-toggle::before,
.faq-item[open] .faq-toggle::after { background: var(--rust); }
.faq-answer {
  padding: 0 0 28px;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- Founder note ---------- */
.founder {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}
.founder-photo {
  aspect-ratio: 4/5;
  background: var(--dark);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: rgba(var(--cream-rgb), .4);
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
}
.founder-photo::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(var(--amber-warm-rgb), .2), transparent 60%);
}
.founder-photo span { position: relative; z-index: 1; padding: 0 16px; text-align: center; }
.founder-body p {
  font-family: var(--f-display);
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 1em;
  font-weight: 400;
}
.founder-body p:last-of-type { margin-bottom: 32px; }
.founder-body em { color: var(--rust); }
.founder-sign {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 26px;
  color: var(--rust);
  letter-spacing: -0.02em;
}
.founder-sign small {
  display: block;
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 8px;
}

/* ---------- Final CTA ---------- */
.final {
  text-align: center;
  padding: 140px 0;
}
.final h2 { max-width: 880px; margin: 0 auto 28px; }
.final .lead { max-width: 620px; margin: 0 auto 48px; }
.final .hero-ctas { justify-content: center; margin-bottom: 48px; }
.final .meta-strip { justify-content: center; border-top-color: rgba(var(--cream-rgb), .12); border-bottom: 0; max-width: 720px; margin: 0 auto; }

/* ---------- Footer ---------- */
.footer {
  background: var(--cream-light);
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  font-size: 14px;
  color: var(--stone);
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 32px;
  justify-content: space-between; align-items: center;
}
.footer .brand { font-size: 18px; color: var(--ink); }
.footer-links {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer-links a { color: var(--stone); transition: color .2s var(--ease); }
.footer-links a:hover { color: var(--rust); }
.footer-fine {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--stone);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  section { padding: 72px 0; }
  .container, .narrow, .wide { padding: 0 24px; }

  .nav-links a:not(.nav-cta) { display: none; }
  .brand-sub { display: none; }

  .flashbar-track { animation-duration: 45s; gap: 36px; }

  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
  .hero-media { max-width: 320px; }
  .hero h1 { font-size: clamp(44px, 9vw, 56px); }
  .hero-sub { font-size: 18px; }
  .hero-ctas { gap: 12px; }
  .btn-big { padding: 18px 24px; font-size: 15px; width: 100%; justify-content: center; }
  .meta-strip { gap: 32px; padding-top: 28px; }
  .meta-value { font-size: 18px; }

  .mirror-grid { grid-template-columns: 1fr; gap: 14px; }
  .mirror-card { padding: 28px 24px; }
  .mirror-quote { font-size: 19px; }

  .voice-grid { grid-template-columns: 1fr; }
  .voice-card { min-height: 0; padding: 36px 28px; }
  .voice-body { font-size: 18px; }

  .week {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 40px 0;
  }
  .week-num { font-size: 56px; }
  .week-num small { margin-top: 8px; }
  .week-outcome { padding: 22px 20px; }

  .commitment { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .seal { width: 200px; height: 200px; }

  .proof-card { padding: 36px 28px; }
  .proof-body { font-size: 22px; }
  .proof-snippet { font-size: 12px; padding: 18px; }

  .price-grid { grid-template-columns: 1fr; }
  .price-beta { border-right: 0; border-bottom: 1px solid rgba(var(--cream-rgb), .08); }
  .price-cell { padding: 36px 28px; }
  .price-amount { font-size: 64px; }

  .faq-item summary { font-size: 19px; padding: 22px 0; gap: 20px; }
  .faq-answer { font-size: 16px; }

  .founder { grid-template-columns: 1fr; gap: 36px; }
  .founder-photo { max-width: 280px; }
  .founder-body p { font-size: 19px; }

  .final { padding: 80px 0; }
  .final h2 { font-size: clamp(32px, 8vw, 44px); }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-fine { flex-direction: column; }

  .bg-ink::before, .bg-ink::after { width: 420px; height: 420px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: 44px; }
  .nav-inner { padding: 14px 20px; }
  .brand { font-size: 18px; }
}

/* Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .flashbar-track { animation: none; }
  .price-seats .dot { animation: none; }
  * { transition: none !important; }
}

/* ---------- Tweaks Panel ---------- */
.tweaks {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  width: 320px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 48px);
  background: var(--ink);
  color: var(--cream);
  border-radius: 10px;
  box-shadow: 0 24px 64px rgba(var(--ink-rgb), .35), 0 0 0 1px rgba(var(--cream-rgb), .08) inset;
  font-family: var(--f-body);
  font-size: 13px;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.tweaks[data-open="true"] { display: flex; }
.tweaks-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(var(--cream-rgb), .1);
  cursor: grab;
  user-select: none;
}
.tweaks-head:active { cursor: grabbing; }
.tweaks-title {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
}
.tweaks-close {
  width: 24px; height: 24px;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(var(--cream-rgb), .55);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.tweaks-close:hover { background: rgba(var(--cream-rgb), .08); color: var(--cream); }
.tweaks-body {
  padding: 8px 20px 20px;
  overflow-y: auto;
}
.tweaks-section {
  padding: 16px 0;
  border-top: 1px solid rgba(var(--cream-rgb), .08);
}
.tweaks-section:first-child { border-top: 0; }
.tweaks-label {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(var(--cream-rgb), .5);
  margin-bottom: 12px;
}
.tweaks-radio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.tweaks-radio button {
  padding: 10px 8px;
  border-radius: 5px;
  background: rgba(var(--cream-rgb), .04);
  color: rgba(var(--cream-rgb), .7);
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(var(--cream-rgb), .08);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  display: flex; align-items: center; gap: 8px;
  text-align: left;
}
.tweaks-radio button:hover { background: rgba(var(--cream-rgb), .07); color: var(--cream); }
.tweaks-radio button[aria-pressed="true"] {
  background: rgba(var(--amber-rgb), .12);
  color: var(--cream);
  border-color: var(--amber);
}
.tweaks-swatch {
  width: 14px; height: 14px; border-radius: 3px; flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(var(--cream-rgb), .15);
}
.tweaks-slider-row {
  display: flex; align-items: center; gap: 12px;
}
.tweaks-slider {
  flex: 1;
  -webkit-appearance: none; appearance: none;
  height: 4px;
  background: rgba(var(--cream-rgb), .1);
  border-radius: 999px;
  outline: none;
}
.tweaks-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--amber);
  cursor: pointer;
  border: 0;
}
.tweaks-slider::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--amber);
  cursor: pointer;
  border: 0;
}
.tweaks-value {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--amber);
  min-width: 32px;
  text-align: right;
}
.tweaks-toggle {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  cursor: pointer;
}
.tweaks-toggle-label {
  color: rgba(var(--cream-rgb), .85);
  font-size: 13px;
}
.tweaks-switch {
  width: 36px; height: 20px;
  background: rgba(var(--cream-rgb), .12);
  border-radius: 999px;
  position: relative;
  transition: background .2s var(--ease);
  flex-shrink: 0;
}
.tweaks-switch::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--cream);
  transition: transform .2s var(--ease);
}
.tweaks-toggle[aria-pressed="true"] .tweaks-switch {
  background: var(--amber);
}
.tweaks-toggle[aria-pressed="true"] .tweaks-switch::after {
  transform: translateX(16px);
}

/* Tweaks-managed accent palette. All warm-only per the brief.
   `rust` is the brief default. The rest are exploratory directions.
   Light accents flip --rust-fg to ink for legibility on the CTA.
   Each variant overrides --rust-rgb so alpha-blended uses (shadows,
   radial glows, faint backgrounds) follow the theme. */
body[data-accent="vermillion"] {
  --rust: #DC3522;
  --rust-deep: #B02619;
  --rust-rgb: 220, 53, 34;
}
body[data-accent="persimmon"] {
  --rust: #E8744B;
  --rust-deep: #C45A35;
  --rust-fg: var(--ink);
  --rust-rgb: 232, 116, 75;
}
body[data-accent="marigold"] {
  --rust: #D69822;
  --rust-deep: #A87618;
  --rust-fg: var(--ink);
  --rust-rgb: 214, 152, 34;
}
body[data-accent="berry"] {
  --rust: #A32553;
  --rust-deep: #7E1A40;
  --rust-rgb: 163, 37, 83;
}
body[data-accent="teal"] {
  --rust: #0E8B85;
  --rust-deep: #0A6B66;
  --rust-rgb: 14, 139, 133;
}
body[data-accent="green"] {
  --rust: #1F8A5B;
  --rust-deep: #166843;
  --rust-rgb: 31, 138, 91;
}
/* Maize & Blue. Michigan blue is the action color on cream;
   maize replaces amber on dark sections;
   the "ink" dark sections become Michigan navy via --dark. */
body[data-accent="michigan"] {
  --rust: #00274C;
  --rust-deep: #001A33;
  --rust-rgb: 0, 39, 76;
  --amber: #FFCB05;
  --amber-warm: #FFDC4A;
  --amber-rgb: 255, 203, 5;
  --amber-warm-rgb: 255, 220, 74;
  --dark: #00274C;
}
body[data-accent="michigan"] .proof-card { background: #001A33; }
body[data-accent="michigan"] .nav-cta:hover,
body[data-accent="michigan"] .nav-links a.nav-cta:hover { background: var(--amber); color: var(--rust); }
body[data-accent="michigan"] .price-seats .dot,
body[data-accent="michigan"] .flashbar-item .dot { background: var(--amber); }
/* Headline italics in berry so they pop off the navy + cream pairing. */
body[data-accent="michigan"] h1 em,
body[data-accent="michigan"] h2 em,
body[data-accent="michigan"] .voice-before .voice-body em,
body[data-accent="michigan"] .founder-body em,
body[data-accent="michigan"] .week-num { color: #A32553; }
body[data-accent="michigan"] .bg-ink h1 em,
body[data-accent="michigan"] .bg-ink h2 em { color: var(--amber); }
/* Tighten the radial glow tone for navy backgrounds */
body[data-accent="michigan"] .bg-ink::before {
  background: radial-gradient(circle, #FFDC4A 0%, transparent 60%);
  opacity: .14;
}
body[data-accent="michigan"] .bg-ink::after {
  background: radial-gradient(circle, #FFCB05 0%, transparent 60%);
  opacity: .12;
}
/* Gradient: keep a solid pink for italic emphasis & non-button accents,
   apply the full Kwelity gradient to CTAs only. */
body[data-accent="gradient"] {
  --rust: #F265B0;
  --rust-deep: #D8489E;
  --rust-fg: var(--ink);
}
body[data-accent="gradient"] .btn-primary {
  background: linear-gradient(135deg, #6CC8F0 0%, #F265B0 52%, #F3B26A 100%);
  color: var(--ink);
}
body[data-accent="gradient"] .btn-primary:hover {
  background: linear-gradient(135deg, #4DBCE6 0%, #D8489E 52%, #D89A50 100%);
  box-shadow: 0 8px 28px rgba(242,101,176,.32);
}
/* Pulse-dot on pricing seats follows the accent too */
body[data-accent="gradient"] .price-seats .dot { background: #F265B0; }
/* Hide flash bar when toggled off */
body[data-flashbar="false"] .flashbar { display: none; }
/* Hide proof section when toggled off */
body[data-proof="false"] #proof-section { display: none; }
/* Hide hero media when toggled off */
body[data-hero-media="false"] .hero-media { display: none; }
body[data-hero-media="false"] .hero-grid { grid-template-columns: 1fr; }
