/* =========================================================
   Tamara Tkachuk — Landing Page Styles
   Edit colors, type, and spacing in :root tokens below.
   ========================================================= */

:root {
  /* Palette */
  --bg: #FBF8F3;
  --bg-elev: #F4EFE6;
  --text: #2A2724;
  --text-soft: #5B544B;
  --text-quiet: #8A8276;
  --headline: #3A2A2E;
  --accent: #95442E;
  --accent-deep: #7E3725;
  --rule: #D8D2C7;
  --rule-soft: #E8E2D6;

  /* Type */
  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans:  "Source Sans 3", "Helvetica Neue", Arial, sans-serif;

  /* Spacing */
  --section-y: clamp(72px, 11vw, 140px);
  --gutter: clamp(20px, 5vw, 40px);
  --container: 1080px;
  --prose: 64ch;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* Reset-ish */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Container & prose */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.prose { max-width: var(--prose); }

/* Type scale */
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--headline);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  letter-spacing: -0.015em;
}
h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.4rem);
  font-variation-settings: "opsz" 60, "SOFT" 30;
  letter-spacing: 0;
}
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.2em;
}

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.28rem);
  line-height: 1.55;
  color: var(--text);
  max-width: 38ch;
}

/* Buttons & links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: 16px 28px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #FBF8F3;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .005em;
  border-radius: 2px;
  transition: background 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #FBF8F3; }
.btn:active { transform: translateY(1px); }

.btn-ghost {
  background: transparent;
  color: var(--accent);
}
.btn-ghost:hover {
  background: transparent;
  color: var(--accent-deep);
  border-color: var(--accent-deep);
}

.link-quiet {
  color: var(--text);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}
.link-quiet:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Sections */
section { padding: var(--section-y) 0; }
section + section { border-top: 1px solid transparent; }

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(251, 248, 243, 0);
  backdrop-filter: saturate(140%) blur(0px);
  -webkit-backdrop-filter: saturate(140%) blur(0px);
  transition: background 280ms var(--ease), backdrop-filter 280ms var(--ease), border-color 280ms var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(251, 248, 243, .92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom-color: var(--rule-soft);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
}
.nav__brand {
  font-family: var(--serif);
  font-size: 1.18rem;
  color: var(--headline);
  letter-spacing: -0.005em;
}
.nav__cta {
  font-size: .95rem;
  color: var(--text);
  padding: 9px 18px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  transition: border-color 180ms var(--ease), color 180ms var(--ease), background 180ms var(--ease);
}
.nav__cta:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* =========================================================
   STICKY MOBILE CTA  (mobile only — appears past the hero)
   ========================================================= */
.sticky-cta { display: none; }

@media (max-width: 640px) {
  .sticky-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    min-height: 56px;
    padding: 14px 20px;
    padding-bottom: max(14px, env(safe-area-inset-bottom));
    background: var(--accent);
    color: #FBF8F3;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 1.02rem;
    letter-spacing: .005em;
    text-align: center;
    border: none;
    box-shadow: 0 -1px 0 var(--accent-deep), 0 -8px 24px rgba(42, 39, 36, .16);
    transform: translateY(110%);
    transition: transform 280ms var(--ease);
    will-change: transform;
  }
  .sticky-cta.is-visible { transform: translateY(0); }
  .sticky-cta:hover { color: #FBF8F3; }
  .sticky-cta:active { background: var(--accent-deep); }
}

@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding-top: clamp(120px, 18vw, 200px);
  padding-bottom: clamp(80px, 12vw, 140px);
}
.hero h1 { max-width: 14ch; }
.hero__sub {
  margin-top: 1.4em;
  max-width: 38ch;
  font-size: clamp(1.1rem, 1.55vw, 1.28rem);
  line-height: 1.55;
  color: var(--text);
}
.hero__ctas {
  margin-top: 2.4em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}
.hero__meta {
  margin-top: 2.2em;
  font-size: .9rem;
  color: var(--text-quiet);
  letter-spacing: .005em;
}
.hero__meta span + span::before {
  content: "·";
  margin: 0 .55em;
  color: var(--rule);
}

/* =========================================================
   SOCIAL PROOF BAND  (Section 3)
   ========================================================= */
.proof {
  padding: 22px 0;
  background: var(--bg-elev);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.proof__line {
  margin: 0;
  font-size: .92rem;
  color: var(--text-soft);
  text-align: center;
  line-height: 1.55;
}
.proof__line span + span::before {
  content: "·";
  margin: 0 .55em;
  color: var(--rule);
}

/* =========================================================
   FIVE PATHS  (Section 3b)
   ========================================================= */
.paths h2 { max-width: 24ch; }
.paths__intro {
  max-width: var(--prose);
  font-size: 1.05rem;
  color: var(--text-soft);
  margin-bottom: 2.4em;
}
.paths__list {
  max-width: var(--prose);
  display: flex;
  flex-direction: column;
  gap: 2.2em;
}
.path p {
  font-size: 1.05rem;
  color: var(--text);
  margin: 0 0 .6em;
}
.path strong {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--headline);
  font-variation-settings: "opsz" 60, "SOFT" 30;
}
.path__link {
  font-size: .98rem;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.path__link:hover {
  color: var(--accent-deep);
  border-color: var(--accent-deep);
}
.paths__close {
  margin-top: 3em;
  max-width: var(--prose);
}
.paths__close p {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--headline);
  font-variation-settings: "opsz" 60, "SOFT" 30;
  margin-bottom: 1.1em;
}

/* Anchor targets clear the sticky nav */
main section[id] { scroll-margin-top: 80px; }

/* =========================================================
   EXPLAINER  (Section 4)
   ========================================================= */
.explainer h2 { max-width: 18ch; }
.explainer__body {
  margin-top: 1.5em;
  max-width: var(--prose);
  font-size: 1.05rem;
  color: var(--text);
}
.explainer__body p { margin-bottom: 1.35em; }

.callout {
  margin-top: 2.6em;
  max-width: var(--prose);
  padding: 26px 28px;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
  font-size: .98rem;
  color: var(--text-soft);
  line-height: 1.6;
}
.callout p { margin: 0; }

/* =========================================================
   THREE-STEP PROCESS  (Section 5)
   ========================================================= */
.process h2 { max-width: 22ch; margin-bottom: 1.4em; }
.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  margin-top: 1.8em;
}
.step__num {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--accent);
  line-height: 1;
  display: inline-block;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
  width: 44px;
  margin-bottom: 22px;
  font-variation-settings: "opsz" 60;
}
.step__title {
  font-family: var(--serif);
  font-size: 1.32rem;
  color: var(--headline);
  margin: 0 0 .55em;
  line-height: 1.2;
  font-variation-settings: "opsz" 60;
}
.step__body {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 800px) {
  .process__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* =========================================================
   WHO THIS IS FOR  (Section 6)
   ========================================================= */
.who { background: var(--bg-elev); }
.who h2 { max-width: 14ch; margin-bottom: 1em; }
.who__scenarios {
  max-width: var(--prose);
  display: flex;
  flex-direction: column;
  gap: 1.6em;
  font-size: 1.05rem;
  color: var(--text);
}
.who__scenarios p { margin: 0; }
.who__scenarios p::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 1em;
  opacity: .8;
}
.who__scenarios p:first-child::before { display: none; }
.who__note {
  margin-top: 2.4em;
  max-width: var(--prose);
  font-size: .92rem;
  font-style: italic;
  color: var(--text-soft);
}

/* =========================================================
   ABOUT TAMARA  (Section 7)
   ========================================================= */
.about__grid {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}
.about__photo {
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-elev);
  box-shadow: 0 1px 0 var(--rule);
}
.about__photo img {
  width: 100%;
  height: auto;
  display: block;
}
.about__text h2 { margin-bottom: 1em; }
.about__text {
  font-size: 1.05rem;
  color: var(--text);
}
.about__text p { margin-bottom: 1.2em; }

@media (max-width: 800px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 380px; }
}

/* =========================================================
   LEAD CAPTURE FORM  (Section 8)
   ========================================================= */
.guide {
  background: var(--bg-elev);
  scroll-margin-top: 80px; /* offset for sticky nav when CTA scrolls here */
}
.guide h2 { max-width: 16ch; margin-bottom: .5em; }
.guide__sub {
  max-width: 42ch;
  font-size: 1.08rem;
  color: var(--text);
  margin-bottom: 2.4em;
}

/* Form layout — used by the mock; MailerLite embed should match. */
.form-card {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: .04em;
}
.form-field input {
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 13px 14px;
  transition: border-color 160ms var(--ease), background 160ms var(--ease), box-shadow 160ms var(--ease);
}
.form-field input::placeholder { color: var(--text-quiet); }
.form-field input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg);
  box-shadow: 0 0 0 3px rgba(149, 68, 46, 0.14);
}

.form-card .btn { margin-top: 6px; width: 100%; }

.form-fineprint {
  margin-top: 1.4em;
  max-width: 42ch;
  font-size: .86rem;
  color: var(--text-soft);
  line-height: 1.55;
}

/* Mock-only marker shown while MailerLite is not yet wired up */
.mock-banner {
  display: inline-block;
  margin-bottom: 1.4em;
  padding: 6px 10px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: rgba(149, 68, 46, .08);
  border: 1px dashed var(--accent);
  border-radius: 2px;
}

/* Inline thank-you state (shown after mock submit) */
.thanks {
  max-width: 480px;
  padding: 28px 30px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
}
.thanks h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--headline);
  margin: 0 0 .5em;
  font-variation-settings: "opsz" 60;
}
.thanks p {
  font-size: 1rem;
  color: var(--text);
  margin: 0 0 1em;
}
.thanks p:last-child { margin-bottom: 0; }
.thanks a { font-weight: 600; }

[hidden] { display: none !important; }

/* =========================================================
   FAQ  (Section 9)
   Native <details>/<summary>. No JS.
   ========================================================= */
.faq h2 { margin-bottom: 1.4em; }
.faq__list {
  max-width: var(--prose);
  border-top: 1px solid var(--rule);
}
.faq__item {
  border-bottom: 1px solid var(--rule);
}
.faq__item summary {
  list-style: none;          /* Firefox */
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--headline);
  line-height: 1.4;
  transition: color 160ms var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; } /* Safari */
.faq__item summary::marker { content: ""; }                    /* Modern */
.faq__item summary:hover { color: var(--accent); }
.faq__item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Custom +/- marker */
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  color: var(--accent);
  transition: transform 200ms var(--ease);
}
.faq__item[open] summary::after {
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat;
  transform: rotate(0deg);
}

.faq__answer {
  padding: 0 0 22px;
  max-width: 62ch;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}
.faq__answer p { margin: 0 0 .9em; }
.faq__answer p:last-child { margin-bottom: 0; }

/* =========================================================
   CLOSING CTA  (Section 10)
   ========================================================= */
.closing h2 {
  /* Sits below hero in weight; above other h2s only slightly. */
  font-size: clamp(1.95rem, 3.6vw, 2.7rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin-bottom: .7em;
  max-width: 22ch;          /* allows ~2-line wrap on desktop */
}
.closing__sub {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--text);
  max-width: 40ch;
  margin: 0 0 2.2em;
  line-height: 1.55;
}

/* =========================================================
   FOOTER  (Section 11)
   ========================================================= */
.footer {
  background: var(--bg-elev);
  border-top: 1px solid var(--rule);
  padding: 72px 0 56px;
  font-size: .92rem;
  color: var(--text-soft);
}
.footer__cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 36px;
  border-bottom: 1px solid var(--rule);
}
.footer__col p { margin: 0 0 .35em; line-height: 1.55; }
.footer__name {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--headline);
  margin-bottom: .6em !important;
  font-variation-settings: "opsz" 60;
}
.footer__col a { display: inline-block; padding-block: 2px; }

.footer__disclosures {
  padding-top: 32px;
  font-size: .82rem;
  color: var(--text-quiet);
  max-width: 72ch;
}
.footer__disclosures p { margin: 0 0 1em; line-height: 1.6; }
.footer__copy {
  margin-top: 1.6em !important;
  color: var(--text-soft);
}

@media (max-width: 640px) {
  .footer__cols { grid-template-columns: 1fr; padding-bottom: 28px; }
}

/* =========================================================
   PRIVACY PAGE (used by privacy.html — minimal additions)
   ========================================================= */
.page-prose {
  padding-top: clamp(120px, 14vw, 180px);
  padding-bottom: var(--section-y);
}
.page-prose h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  margin-bottom: .2em;
}
.page-prose .meta {
  font-size: .92rem;
  color: var(--text-quiet);
  margin-bottom: 2.4em;
}
.page-prose h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  margin-top: 2em;
  margin-bottom: .5em;
}
.page-prose p,
.page-prose li {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text);
  max-width: var(--prose);
}
.page-prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.page-prose li { margin-bottom: .35em; }
.page-prose a { font-weight: 500; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 640px) {
  body { font-size: 17px; }
  /* Tap target ≥44px tall (was ~32px at 8px padding) */
  .nav__cta { padding: 12px 16px; font-size: .9rem; }
  .hero__meta span + span::before { content: ""; margin: 0; }
  .hero__meta span { display: block; }
  .proof__line span + span::before { content: ""; margin: 0; }
  .proof__line span { display: block; }
}
