/* ================================================================
   Anchored — Funnel site shared stylesheet
   Palette + fonts sourced from brands/anchored/design-system/tokens.json
   ================================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "EB Garamond";
  src: url("fonts/EBGaramond.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("fonts/EBGaramond-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Great Vibes";
  src: url("fonts/GreatVibes.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("fonts/Caveat.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ivory: #F8F5EE;
  --prune: #4A3651;
  --sage: #8FA98A;
  --ink: #2E2A30;
  --muted: #7A7280;
  --line: #C9C1B2;
  --line-soft: #E2DCCF;
  --paper-alt: #FDFCF8;

  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --script: "Great Vibes", "EB Garamond", cursive;
  --hand: "Caveat", "Segoe Script", cursive;

  --maxw: 720px;
  --radius: 22px;
  --radius-sm: 14px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--serif);
  color: var(--ink);
  background-color: var(--ivory);
  /* soft plum + sage watercolour washes */
  background-image:
    radial-gradient(120% 90% at 88% -10%, rgba(74, 54, 81, 0.16), rgba(74, 54, 81, 0) 55%),
    radial-gradient(90% 70% at -12% 30%, rgba(143, 169, 138, 0.18), rgba(143, 169, 138, 0) 55%),
    radial-gradient(120% 80% at 108% 108%, rgba(74, 54, 81, 0.12), rgba(74, 54, 81, 0) 55%);
  background-attachment: fixed, fixed, fixed;
  background-repeat: no-repeat;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--prune); }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.section { padding: 42px 0; }
.section--tight { padding: 26px 0; }

/* ---------- Banner ---------- */
.banner {
  background: linear-gradient(90deg, rgba(74, 54, 81, 0.94), rgba(74, 54, 81, 0.82));
  color: var(--ivory);
  text-align: center;
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.5;
  padding: 12px 20px;
  letter-spacing: 0.2px;
}

/* ---------- Header ---------- */
.site-header {
  text-align: center;
  padding: 26px 0 6px;
}
.logo {
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--prune);
  text-decoration: none;
  font-weight: 400;
}

/* ---------- Typography ---------- */
h1 {
  font-family: var(--serif);
  color: var(--prune);
  font-weight: 400;
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: 0.3px;
  margin: 0 0 18px;
}
h2 {
  font-family: var(--serif);
  color: var(--prune);
  font-weight: 400;
  font-size: clamp(1.6rem, 4.5vw, 2.2rem);
  line-height: 1.2;
  margin: 0 0 20px;
}

.script {
  font-family: var(--script);
  color: var(--sage);
  font-weight: 400;
  line-height: 1.1;
}

.sub {
  font-size: 1.18rem;
  color: var(--ink);
  margin: 0 0 26px;
  max-width: 60ch;
}

.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

.eyebrow {
  font-family: var(--script);
  color: var(--sage);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin: 0 0 4px;
  line-height: 1;
}

/* ---------- Hero ---------- */
.hero { padding-top: 20px; }
.hero-art {
  margin: 8px auto 30px;
  max-width: 460px;
  /* feathered / fused illustration — no hard frame */
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, rgba(0,0,0,0) 100%);
          mask-image: radial-gradient(closest-side, #000 62%, rgba(0,0,0,0) 100%);
  filter: saturate(1.02);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--prune);
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.4px;
  text-decoration: none;
  text-align: center;
  border: none;
  border-radius: 999px;
  padding: 16px 34px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(74, 54, 81, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(74, 54, 81, 0.28);
  background: #3d2c44;
}
.btn--sage { background: var(--sage); box-shadow: 0 8px 22px rgba(143, 169, 138, 0.28); }
.btn--sage:hover { background: #7d976f; box-shadow: 0 12px 28px rgba(143, 169, 138, 0.34); }
.btn--block { display: block; width: 100%; }

.subtle-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.98rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Cards / panels ---------- */
.panel {
  background: var(--paper-alt);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: 0 10px 30px rgba(74, 54, 81, 0.06);
}

.offer-stack {
  background: var(--paper-alt);
  border: 1.5px solid var(--sage);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: 0 10px 30px rgba(143, 169, 138, 0.14);
}

/* ---------- Lists ---------- */
.list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list li {
  position: relative;
  padding: 0 0 16px 30px;
  line-height: 1.55;
}
.list li:last-child { padding-bottom: 0; }
.list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sage);
}
.list--check li::before {
  content: "\2713"; /* ✓ */
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  background: none;
  color: var(--sage);
  font-size: 1.05rem;
  font-weight: 700;
}

/* ---------- Bio ---------- */
.bio {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.bio-portrait {
  flex: 0 0 140px;
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(closest-side, #000 70%, rgba(0,0,0,0) 100%);
          mask-image: radial-gradient(closest-side, #000 70%, rgba(0,0,0,0) 100%);
}
.bio-body { flex: 1 1 260px; }

/* ---------- FAQ ---------- */
.faq dt {
  font-style: italic;
  color: var(--prune);
  font-size: 1.08rem;
  margin-top: 18px;
}
.faq dt:first-child { margin-top: 0; }
.faq dd { margin: 4px 0 0; color: var(--ink); }

/* ---------- Price ---------- */
.price {
  font-size: 1.5rem;
  color: var(--prune);
  margin: 22px 0 6px;
  text-align: center;
}
.price s { color: var(--muted); font-size: 1.15rem; margin-right: 8px; }
.price strong { font-weight: 400; }

.guarantee {
  text-align: center;
  color: var(--ink);
  font-style: italic;
  max-width: 52ch;
  margin: 10px auto 26px;
}

.ps {
  font-family: var(--hand);
  font-size: 1.3rem;
  color: var(--prune);
  line-height: 1.4;
  margin-top: 30px;
}

/* ---------- Form ---------- */
.optin { margin-top: 8px; }
.optin .field { margin-bottom: 14px; }
.optin label {
  display: block;
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 5px;
  letter-spacing: 0.3px;
}
.optin input {
  width: 100%;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
}
.optin input:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(143, 169, 138, 0.2);
}

/* ---------- Divider ---------- */
.rule {
  border: none;
  height: 1px;
  background: var(--line-soft);
  margin: 8px 0;
}

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 34px 22px 46px;
  line-height: 1.7;
}
.site-footer a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.site-footer .brand { color: var(--prune); }

/* ---------- Legal pages ---------- */
.legal { padding: 20px 0 20px; }
.legal h2 { font-size: 1.3rem; margin-top: 34px; }
.legal p { color: var(--ink); }
.legal .placeholder { color: var(--muted); font-style: italic; }
.back-link { display: inline-block; margin-top: 30px; }

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  body { font-size: 19px; }
  .bio-portrait { flex-basis: 160px; width: 160px; height: 160px; }
}
