/* =========================================================
   LIFT WITH HANK — webfunnel styles.css
   Brand: Maroon #9E182B · Soft Pink #F2AFBC · Figtree display
   Shared across: optin.html · index.html · confirmation.html
   House rule: minimum visible font size is 18px.
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  color-scheme: light;

  /* Brand */
  --maroon: #9E182B;
  --maroon-700: #831322;
  --maroon-900: #5E0D18;
  --pink: #F2AFBC;
  --pink-soft: #FBE7EC;
  --red: #D63637;

  /* Neutrals */
  --ink: #333333;        /* body text */
  --ink-soft: #555555;   /* subtext */
  --ink-40: rgba(51, 51, 51, 0.42);
  --ink-15: rgba(51, 51, 51, 0.14);
  --ink-08: rgba(51, 51, 51, 0.07);
  --paper: #FFFFFF;
  --off-white: #F9FAFA;

  /* Type */
  --display: "Figtree", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  /* Spacing (8pt baseline) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-soft: 0 2px 14px rgba(94, 13, 24, 0.05), 0 18px 50px rgba(94, 13, 24, 0.07);
  --shadow-lift: 0 4px 22px rgba(94, 13, 24, 0.08), 0 28px 70px rgba(94, 13, 24, 0.12);

  /* Motion */
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* Layout */
  --max-w: 1140px;
  --max-w-prose: 720px;
  --max-w-narrow: 920px;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  font-size: 18px;            /* house minimum */
  line-height: 1.6;
  color: var(--ink);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--maroon);
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--maroon);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.h-display {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  line-height: 1.08;
}

.h-section {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.h-sub {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 600;
}

.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;            /* small but >= caption floor via letter-spacing emphasis */
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.lede {
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  color: var(--ink-soft);
  line-height: 1.55;
}

.muted { color: var(--ink-soft); }

/* ---------- 4. Layout primitives ---------- */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.wrap--narrow { max-width: var(--max-w-narrow); }
.wrap--prose { max-width: var(--max-w-prose); }

section {
  padding-block: var(--space-9);
}

.stack > * + * { margin-top: var(--space-4); }
.stack-lg > * + * { margin-top: var(--space-6); }

.center { text-align: center; }
.center-x { margin-inline: auto; }

/* ---------- 5. Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 250, 250, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--ink-08);
}

.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: var(--space-3) var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-brand img { height: 38px; width: auto; }

.nav-links {
  display: flex;
  gap: var(--space-6);
}

.nav-links a {
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
}

.nav-links a:hover { color: var(--maroon); }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--r-sm);
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out), background 0.18s var(--ease-out);
}

.btn--primary {
  background: var(--maroon);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
  background: var(--maroon-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.btn--ghost {
  background: transparent;
  color: var(--maroon);
  border: 1.5px solid var(--maroon);
}

.btn--ghost:hover { background: var(--pink-soft); }

.btn--lg { padding: 1.15rem 2.4rem; font-size: 1.15rem; }
.btn--block { width: 100%; }

/* ---------- 7. Pills / badges ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--pink-soft);
  color: var(--maroon-900);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-pill);
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.scarcity {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--maroon);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: var(--r-pill);
}

/* ---------- 8. Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--ink-08);
  border-radius: var(--r-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-soft);
}

.card-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  background: var(--maroon);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: var(--space-3);
}

/* ---------- 9. Hero ---------- */
.hero {
  background:
    radial-gradient(120% 90% at 85% -10%, var(--pink-soft) 0%, transparent 55%),
    var(--off-white);
  padding-block: var(--space-9) var(--space-8);
}

.hero-content { display: grid; gap: var(--space-5); max-width: var(--max-w-narrow); }
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  margin-top: var(--space-2);
}

/* ---------- 10. Forms ---------- */
.field {
  display: grid;
  gap: var(--space-2);
  text-align: left;
}

.field label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  font-family: var(--body);
  font-size: 18px;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--ink-15);
  border-radius: var(--r-sm);
  padding: 0.9rem 1rem;
  width: 100%;
  transition: border-color 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(158, 24, 43, 0.12);
}

.form-card {
  background: var(--paper);
  border: 1px solid var(--ink-08);
  border-radius: var(--r-lg);
  padding: var(--space-7);
  box-shadow: var(--shadow-lift);
  max-width: 560px;
  margin-inline: auto;
}

/* Multi-step qualifier */
.qual-step { display: none; }
.qual-step.is-active { display: block; animation: fade-in 0.35s var(--ease-out); }

.qual-progress {
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--ink-08);
  overflow: hidden;
  margin-bottom: var(--space-6);
}
.qual-progress-bar {
  height: 100%;
  width: 25%;
  background: var(--maroon);
  border-radius: var(--r-pill);
  transition: width 0.3s var(--ease-out);
}

.choice-grid { display: grid; gap: var(--space-3); }

.choice {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 1rem 1.2rem;
  border: 1.5px solid var(--ink-15);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-size: 1.05rem;
  font-weight: 500;
  text-align: left;
  transition: border-color 0.15s var(--ease-out), background 0.15s var(--ease-out);
}

.choice:hover { border-color: var(--maroon); background: var(--pink-soft); }
.choice.is-selected { border-color: var(--maroon); background: var(--pink-soft); }

/* Inline success / form states */
.form-success { display: none; }
.form-success.is-visible { display: block; animation: fade-in 0.4s var(--ease-out); }

/* ---------- 11. Embed placeholders (Typeform / booking) ---------- */
.booking-embed {
  min-height: 640px;
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px dashed var(--ink-15);
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space-7);
  color: var(--ink-soft);
}

/* Typeform inline live embed — fills its container, no placeholder chrome */
.tf-embed {
  min-height: 640px;
  border-radius: var(--r-md);
  overflow: hidden;
}

.tf-embed > div[data-tf-live] {
  width: 100%;
  height: 100%;
  min-height: 640px;
}

/* ---------- 12. Proof / testimonial ---------- */
.quote {
  background: var(--paper);
  border-left: 4px solid var(--maroon);
  border-radius: var(--r-sm);
  padding: var(--space-5) var(--space-6);
  box-shadow: var(--shadow-soft);
}
.quote p { font-size: 1.1rem; color: var(--ink); font-style: italic; }
.quote cite { display: block; margin-top: var(--space-3); font-style: normal; font-weight: 600; color: var(--maroon); }

/* ---------- 12b. FAQ accordion ---------- */
.faq-list {
  display: grid;
  gap: var(--space-3);
  max-width: var(--max-w-prose);
  margin-inline: auto;
}
.faq-item {
  background: var(--paper);
  border: 1px solid var(--ink-08);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-5) var(--space-6);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
  color: var(--maroon);
  transition: transform 0.2s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--ink-soft);
}

/* ---------- 13. Offer / value stack ---------- */
.value-row {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--ink-08);
}
.value-check {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--maroon);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.price-tag {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-3);
}
.price-tag .was { text-decoration: line-through; color: var(--ink-40); font-size: 1.3rem; }
.price-tag .now { font-family: var(--display); font-weight: 700; color: var(--maroon); font-size: 2.4rem; }

/* ---------- 14. Footer ---------- */
.footer {
  background: var(--maroon-900);
  color: rgba(255, 255, 255, 0.85);
  padding-block: var(--space-7);
  font-size: 1rem;
}
.footer a { color: var(--pink); }
.footer-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: center;
}

/* ---------- 15. Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- 16. Utilities ---------- */
.tac { text-align: center; }
.maxw-prose { max-width: var(--max-w-prose); margin-inline: auto; }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.hidden { display: none !important; }
