/* ==========================================================================
   Built at the Kitchen Table — Global Design System
   THE 45-DAY FIRST SALE CHALLENGE

   Pink-forward, warm and high-energy. Structure and component patterns come
   from Spartan/Gift Basket (getthebasketmethod.com) — stat strips, module
   cards, testimonial cards with result pills, sticky sale bar. Page shape and
   the value-stack grid come from Maria Wendt's 24-for-24 page.

   Earlier builds used a muted oat/teal palette. Owner called it dull —
   this is deliberately brighter and pinker. Do not desaturate it back.
   ========================================================================== */

/* ---------- Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body { line-height: 1.5; min-height: 100vh; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }

/* A class that sets `display` beats the hidden attribute's UA rule. */
[hidden] { display: none !important; }

/* ---------- Tokens ---------- */

:root {
  /* Pinks — the core of the brand */
  --color-accent:     #E0357B;   /* Hot pink — every CTA */
  --color-accent-dk:  #C22665;   /* Pressed */
  --color-rose:       #E07A85;   /* Dusty rose — display headlines */
  --color-rose-dk:    #C85F6B;
  --color-blush:      #FCE9E6;   /* Blush band */
  --color-blush-2:    #FAD9E2;   /* Deeper blush / pills */

  /* Anchors */
  --color-primary:    #3D1F30;   /* Deep plum — body headings, dark sections */
  --color-primary-2:  #562C43;   /* Lifted plum for gradients */
  --color-gold:       #F0B94E;   /* Warm gold — highlights on dark, stars */
  --color-mint:       #2FA37A;   /* Result/success green (numbers in quotes) */

  /* Grounds */
  --color-background: #FFF7F5;   /* Warm blush-white — the default */
  --color-lilac:      #F1ECF4;   /* Soft lilac alt band (Maria's grey-lavender) */
  --color-cream:      #FEF6EE;   /* Warm cream band */
  --color-white:      #FFFFFF;

  /* Text + UI */
  --color-text-primary:   #2E1E28;
  --color-text-secondary: #5F4B57;
  --color-text-muted:     #907E89;
  --color-border:         #F0DCDD;
  --color-border-soft:    #F7E9E9;

  /* Lane accents — one per business */
  --lane-basket:   #C2456B;   /* raspberry */
  --lane-organize: #E07A3F;   /* warm coral-orange */
  --lane-candle:   #8E5BA6;   /* plum-violet */

  /* Type */
  --font-display: 'Fraunces', 'Merriweather', Georgia, serif;
  --font-body: 'Figtree', 'Inter', 'Segoe UI', sans-serif;

  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-2xl: 64px;
  --spacing-3xl: 96px;

  /* Layout */
  --max-width: 1120px;
  --max-width-narrow: 800px;
  --max-width-text: 660px;

  /* Radii + shadow */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 3px rgba(61, 31, 48, 0.07);
  --shadow-md: 0 6px 18px rgba(61, 31, 48, 0.09);
  --shadow-lg: 0 16px 40px rgba(61, 31, 48, 0.13);
  --shadow-pink: 0 10px 28px rgba(224, 53, 123, 0.28);

  --transition: 180ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Base ---------- */

body {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--color-text-primary);
  background: var(--color-background);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--color-primary);
}

h1 { font-size: clamp(2.3rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.95rem, 4.6vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }

.h-rose { color: var(--color-rose); }
.h-pink { color: var(--color-accent); }

p { color: var(--color-text-secondary); }
strong { color: var(--color-text-primary); font-weight: 700; }
a { color: var(--color-accent); }

em.rose { font-style: italic; color: var(--color-rose); }

/* ---------- Layout ---------- */

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding-inline: var(--spacing-md); }
.container-narrow { max-width: var(--max-width-narrow); }
.container-text { max-width: var(--max-width-text); }

.section { padding-block: var(--spacing-3xl); }
.section-tight { padding-block: var(--spacing-2xl); }

.section-blush { background: var(--color-blush); }
.section-lilac { background: var(--color-lilac); }
.section-cream { background: var(--color-cream); }
.section-white { background: var(--color-white); }

.section-ink { background: linear-gradient(160deg, var(--color-primary-2), var(--color-primary)); }
.section-ink h1, .section-ink h2, .section-ink h3 { color: #fff; }
.section-ink p { color: rgba(255,255,255,0.8); }
.section-ink .eyebrow { color: var(--color-gold); }

.center { text-align: center; }

/* ---------- Eyebrow / lede / pills ---------- */

.eyebrow {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--spacing-sm);
}

.lede {
  font-size: clamp(1.06rem, 1.9vw, 1.24rem);
  line-height: 1.62;
  color: var(--color-text-secondary);
}

.pill {
  display: inline-block;
  padding: 10px 22px;
  border: 1.5px solid var(--color-blush-2);
  border-radius: var(--radius-full);
  background: var(--color-white);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--color-accent);
}

.badge {
  display: inline-block;
  padding: 9px 20px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.badge-gold { background: var(--color-gold); color: var(--color-primary); }
.badge-mint { background: var(--color-mint); color: #fff; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 21px 40px;
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 800;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.01em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-primary { background: var(--color-accent); color: #fff; box-shadow: var(--shadow-pink); }
.btn-primary:hover { background: var(--color-accent-dk); transform: translateY(-2px); }

.btn-plum { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-md); }
.btn-plum:hover { background: var(--color-primary-2); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--color-text-secondary); border: 1.5px solid var(--color-border); }
.btn-ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }

.btn-lg { padding: 25px 50px; font-size: 1.2rem; }
.btn-block { display: flex; width: 100%; }

.btn-sub { display: block; margin-top: var(--spacing-sm); font-size: 0.89rem; color: var(--color-text-muted); }

/* ---------- Cards / grid ---------- */

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
}

.grid { display: grid; gap: var(--spacing-md); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ---------- Price ---------- */

.price-row { display: flex; align-items: baseline; justify-content: center; gap: var(--spacing-sm); flex-wrap: wrap; }

.price-was {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.price-now {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8.5vw, 5rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.price-note { font-size: 0.92rem; color: var(--color-text-muted); }

/* ---------- Stat strip (Spartan pattern) ---------- */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  overflow: hidden;
}

.stat-cell { padding: 18px 14px; text-align: center; border-right: 1px solid var(--color-border); }

/* auto-fit will lay out more tracks than there are cells when the strip is
   wide, leaving an empty column. Use an explicit count when you know it. */
.stat-strip-4 { grid-template-columns: repeat(4, 1fr); }
.stat-strip-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 540px) {
  .stat-strip-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-strip-4 .stat-cell:nth-child(2n) { border-right: none; }
}
.stat-cell:last-child { border-right: none; }

.stat-value { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; color: var(--color-accent); line-height: 1.1; }
.stat-label { margin-top: 5px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-muted); }

.stat-footer {
  grid-column: 1 / -1;
  padding: 13px 14px;
  text-align: center;
  border-top: 1px solid var(--color-border);
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-primary);
}

/* ---------- Checklist ---------- */

.checklist { list-style: none; display: grid; gap: 13px; }
.checklist-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--spacing-xl); }
@media (max-width: 680px) { .checklist-2 { grid-template-columns: 1fr; } }

.checklist li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; color: var(--color-text-secondary); }
/* Inline tags (<em>, <strong>) inside a flex <li> become separate flex items and
   shatter the sentence. Wrap item text in <span> — this keeps it one item. */
.checklist li > span { flex: 1; min-width: 0; }

.checklist li::before {
  content: '✓';
  flex: none;
  width: 23px; height: 23px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--color-mint);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.section-ink .checklist li { color: rgba(255,255,255,0.88); }

/* ---------- Testimonial card (Spartan pattern) ---------- */

.tcard {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--lane, var(--color-accent));
  border-radius: var(--radius-md);
  padding: var(--spacing-md) var(--spacing-lg);
  box-shadow: var(--shadow-sm);
}

.tcard-top { display: flex; align-items: center; justify-content: space-between; gap: var(--spacing-sm); margin-bottom: 12px; }
.tcard-stars { color: var(--color-gold); letter-spacing: 2px; font-size: 0.95rem; }

.tcard-result {
  background: var(--color-blush); color: var(--lane, var(--color-accent));
  font-family: var(--font-display); font-weight: 700; font-size: 0.88rem;
  padding: 6px 14px; border-radius: var(--radius-full); white-space: nowrap;
}

.tcard-quote { font-style: italic; line-height: 1.6; color: var(--color-text-secondary); }
.tcard-quote mark { background: none; color: var(--color-mint); font-weight: 700; }

.tcard-who { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.tcard-avatar { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--color-blush-2); color: var(--color-primary); display: flex; align-items: center; justify-content: center; font-size: 0.82rem; font-weight: 800; }
.tcard-name { font-weight: 700; font-size: 0.94rem; color: var(--color-text-primary); }
.tcard-meta { font-size: 0.82rem; color: var(--color-text-muted); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.6);
  padding-block: var(--spacing-xl);
  font-size: 0.86rem;
}

.site-footer a { color: rgba(255,255,255,0.84); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.footer-links { display: flex; flex-wrap: wrap; gap: var(--spacing-md); justify-content: center; margin-bottom: var(--spacing-sm); }

.footer-disclaimer {
  max-width: var(--max-width-text);
  margin: var(--spacing-md) auto 0;
  text-align: center;
  font-size: 0.76rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.44);
}

/* ---------- A11y ---------- */

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
