/* =========================================================================
   Madison Tinder · funnel system (system B)
   Her own brand, elevated: cream + blush, hot pink, plum-black type,
   an editorial serif with an italic pink word. Signature: the pink thread.
   Used by register / thank-you / replay / offer / email + ad specimens.
   ========================================================================= */
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dmsans.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }

:root {
  --bg: #fffaf7;
  --blush: #fdeff2;
  --blush-2: #fbe3ea;
  --surface: #ffffff;
  --line: rgba(43, 13, 23, 0.10);
  --line-soft: rgba(43, 13, 23, 0.06);
  --text: #2b0d17;
  --text-2: #6e4a57;
  --text-3: #8d6b77;
  --accent: #d1105f;        /* CTA + pink text (passes 5.1:1 on cream) */
  --pink: #ff2d87;          /* her brand pink, decorative only */
  --lav: #c99bff;           /* her lavender, decorative only */
  --accent-ink: #ffffff;
  --accent-soft: rgba(209, 16, 95, 0.08);
  --display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ink: var(--text); --muted: var(--text-2); --hair: var(--line);
  --radius: 20px;
  --maxw: 1120px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; background: var(--bg); }
/* one continuous page canvas: soft blush + lavender washes, no seams between sections */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 45% at 90% -5%, rgba(255, 45, 135, 0.10), transparent 70%),
    radial-gradient(50% 40% at -5% 30%, rgba(201, 155, 255, 0.14), transparent 70%),
    radial-gradient(60% 40% at 50% 105%, rgba(255, 45, 135, 0.07), transparent 70%),
    var(--bg); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--pink); color: #fff; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.section { padding: 104px 0; position: relative; }
.center { text-align: center; }

/* type */
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: -0.015em; color: var(--text); }
h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; }
h2 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.05; }
h3 { font-size: 28px; line-height: 1.12; }
h1 em, h2 em, h3 em, .it { font-style: italic; color: var(--accent); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(255, 45, 135, 0.15); animation: live 2s ease-in-out infinite; }
@keyframes live { 50% { box-shadow: 0 0 0 8px rgba(255, 45, 135, 0); } }
.lead { font-size: clamp(17px, 1.8vw, 20px); color: var(--text-2); line-height: 1.6; margin: 24px auto 0; max-width: 60ch; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }

/* the signature thread: a hand-drawn pink line under the italic word */
.thread { position: relative; display: inline-block; white-space: nowrap; }
.thread svg { position: absolute; left: -2%; bottom: -0.16em; width: 104%; height: 0.32em; overflow: visible; }
.thread path { fill: none; stroke: var(--pink); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.6s var(--ease) 0.5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--sans); font-weight: 700; font-size: 16px; letter-spacing: 0.01em; padding: 18px 36px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; position: relative; overflow: hidden; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 16px 36px -14px rgba(209, 16, 95, 0.55); }
.btn-primary::after { content: ""; position: absolute; inset: 0; transform: translateX(-120%); background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent); transition: transform 0.7s var(--ease); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -16px rgba(209, 16, 95, 0.6); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-lg { font-size: 17px; padding: 20px 44px; }
.btn .ar { transition: transform 0.25s var(--ease); }
.btn:hover .ar { transform: translateX(3px); }

/* cards */
.card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 24px 60px -40px rgba(43, 13, 23, 0.35); }

/* faux video frame */
.vframe { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--blush); border: 1px solid var(--line); box-shadow: 0 40px 90px -50px rgba(43, 13, 23, 0.55); }
.vframe img { width: 100%; height: 100%; object-fit: cover; }
.vframe::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 120% at 50% 45%, rgba(43, 13, 23, 0.05), rgba(43, 13, 23, 0.35)); }
.vplay { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 78px; height: 78px; border-radius: 50%; background: rgba(255, 255, 255, 0.95); color: var(--accent); display: grid; place-items: center; box-shadow: 0 14px 40px rgba(43, 13, 23, 0.35); transition: transform 0.3s var(--ease); }
.vplay svg { width: 28px; height: 28px; margin-left: 4px; fill: currentColor; }
.vframe:hover .vplay { transform: translate(-50%, -50%) scale(1.06); }
.vframe .vtag { position: absolute; z-index: 2; left: 16px; bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: rgba(43, 13, 23, 0.55); padding: 6px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.vframe--empty { display: grid; place-items: center; background: linear-gradient(150deg, var(--blush), #f6e7f7); }
.vframe--empty::after { display: none; }
.vframe--empty .vlabel { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }

/* testimonial video grid: 2-up, names centred below */
.vgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; max-width: 940px; margin: 0 auto; }
.vcard { text-align: center; }
.vname { font-family: var(--display); font-size: 24px; margin: 22px 0 4px; }
.vdesc { margin: 0 auto; max-width: 36ch; font-size: 15px; color: var(--text-2); }

/* quote proof grid: 8 equal cards, 4 × 2 */
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.qcard { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 24px 22px; min-height: 220px; }
.qcard p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--text); }
.qcard .who { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--text-2); }
.qcard .who i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; color: #fff; background: linear-gradient(135deg, var(--pink), var(--lav)); }
.qcard .stars { color: var(--pink); letter-spacing: 2px; font-size: 13px; }

/* footer: branding-only banner, 1.5× the wordmark, centred */
.foot { display: flex; align-items: center; justify-content: center; height: 66px; background: rgba(43, 13, 23, 0.035); position: relative; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: -120px; height: 120px; background: linear-gradient(180deg, transparent, rgba(43, 13, 23, 0.035)); pointer-events: none; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 26px; line-height: 44px; color: var(--text); }
.wordmark em { font-style: italic; color: var(--accent); }
.wordmark svg { width: 26px; height: 26px; }

/* reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .thread path { animation: none; stroke-dashoffset: 0; }
  .eyebrow .dot { animation: none; }
  .btn, .btn-primary::after, .vplay { transition: none; }
}

@media (max-width: 900px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .vgrid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 72px 0; }
  .proof-grid { grid-template-columns: 1fr; }
  .btn-lg { padding: 18px 30px; width: 100%; }
}

/* ---- mobile hardening (references/mobile.md) ---- */
img, svg, video, canvas, iframe { max-width: 100%; }
p, li, td, th, blockquote, figcaption, h1, h2, h3, h4, h5, h6 { overflow-wrap: anywhere; }
table, pre { display: block; max-width: 100%; overflow-x: auto; }
