/* Scent Throw Secrets, Candlelier. Built to Sales Page Rules (07-Knowledge):
   light ground only (cream, white, blush), body 20px, nothing below 17px,
   one isolated button color, zero urgency. Mobile first, 16px gutters. */

/* Self-hosted (same files as the calculator), so no page makes a request to Google. Privacy
   policy lists only Stripe, Resend and Vercel. Was Google Fonts until 2026-10-03. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/cormorant-600-latin.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/sourceserif4-var-latin.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/sourceserif4-italic-400-latin.woff2) format("woff2"); }

:root {
  --cream: #fbf6ee;
  --white: #ffffff;
  --blush: #f8ece6;
  --ink: #2b1e14;          /* 15.0:1 on cream */
  --soft-ink: #5a4636;     /* 8.3:1 on cream */
  --honey: #7a4e10;        /* 6.7:1 on cream, accents and numerals */
  --honey-line: #e6d2ad;
  --glow: #f3dfb8;
  /* The button. Chosen by isolation: the page is a warm cream and honey family, so the
     element that gets the click is the one cool, saturated color on it. Deep teal with a
     white bold label, 7.4:1, WCAG AAA. Used for the buy and download buttons only. */
  --button: #165e66;
  --button-hover: #0f4a51;
  --serif-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --serif-text: "Source Serif 4", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif-text);
  font-size: 20px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1.05em; }
a { color: var(--button); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--button); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 720px; margin: 0 auto; padding: 0 16px; }

/* Brand line */
.brand {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 22px 16px 0;
  font-family: var(--serif-display);
  font-size: 24px; font-weight: 600; letter-spacing: .06em;
  color: var(--honey);
}
.brand svg { width: 16px; height: 24px; flex: none; }

/* Hero */
.hero {
  background:
    radial-gradient(120% 70% at 50% 0%, var(--glow) 0%, rgba(243, 223, 184, 0) 70%),
    var(--cream);
  text-align: center;
  padding: 0 0 56px;
}
.hero h1 {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: clamp(42px, 10.5vw, 72px);
  line-height: 1.04;
  letter-spacing: -.01em;
  margin: 40px auto 22px;
  max-width: 13ch;
  text-wrap: balance;
}
.hero .sub {
  font-size: 21px;
  line-height: 1.6;
  color: var(--soft-ink);
  max-width: 34em;
  margin: 0 auto 30px;
  text-wrap: pretty;
}

/* The one button */
.buy { margin: 0; }
.btn {
  -webkit-appearance: none; appearance: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; max-width: 440px; min-height: 60px;
  padding: 16px 28px;
  border: 0; border-radius: 12px;
  background: var(--button);
  color: #fff;
  font-family: var(--serif-text);
  font-size: 21px; font-weight: 700; line-height: 1.25;
  text-decoration: none; text-align: center;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 10px 24px rgba(22, 94, 102, .22);
  transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--button-hover); }
.btn:active { transform: translateY(1px); }
.cta { text-align: center; margin: 36px 0 8px; }

/* Sections */
section { padding: 56px 0; }
section.alt { background: var(--white); }
section.blush { background: var(--blush); }
h2 {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: clamp(32px, 7.4vw, 44px);
  line-height: 1.12;
  margin: 0 0 24px;
  text-wrap: balance;
}
h3 {
  font-family: var(--serif-text);
  font-size: 21px; font-weight: 700; line-height: 1.4;
  margin: 0 0 8px;
}
.rule { width: 56px; height: 2px; background: var(--honey-line); border: 0; margin: 0 0 22px; }

/* The 8 reasons */
ol.reasons { list-style: none; counter-reset: r; margin: 28px 0 0; padding: 0; }
ol.reasons li {
  counter-increment: r;
  position: relative;
  padding: 0 0 22px 56px;
  margin: 0 0 22px;
  border-bottom: 1px solid var(--honey-line);
}
ol.reasons li:last-child { border-bottom: 0; margin-bottom: 0; }
ol.reasons li::before {
  content: counter(r);
  position: absolute; left: 0; top: -6px;
  font-family: var(--serif-display);
  font-size: 42px; font-weight: 600; line-height: 1;
  font-variant-numeric: lining-nums;
  color: var(--honey);
}
ol.reasons strong { font-weight: 700; }

/* Plain lists */
ul.ticks { list-style: none; margin: 18px 0 0; padding: 0; }
ul.ticks li { position: relative; padding-left: 34px; margin: 0 0 16px; }
ul.ticks li::before {
  content: ""; position: absolute; left: 4px; top: .5em;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--glow); border: 2px solid var(--honey);
}
ul.ticks.neutral li::before { background: transparent; border-color: #b9a58c; }


/* Who it is for */
.fit { display: grid; gap: 34px; }
.fit h3 { font-size: 22px; margin-bottom: 4px; }

/* Price block */
.price-card {
  background: var(--white);
  border: 1px solid var(--honey-line);
  border-radius: 16px;
  padding: 24px 18px 30px;
  box-shadow: 0 18px 44px rgba(43, 30, 20, .08);
}
.price {
  font-family: var(--serif-display);
  font-size: 64px; font-weight: 600; line-height: 1;
  font-variant-numeric: lining-nums;
  color: var(--ink);
  text-align: center;
  margin: 0 0 18px;
}
.price-card .cta { margin-top: 26px; }

/* FAQ, every answer open, nothing hidden behind a click */
.faq dl { margin: 0; }
.faq dt {
  font-weight: 700; font-size: 21px; line-height: 1.4;
  margin: 0 0 8px;
}
.faq dd { margin: 0 0 30px; padding: 0 0 30px; border-bottom: 1px solid var(--honey-line); }
.faq dd:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.faq dd p:last-child { margin-bottom: 0; }

footer {
  text-align: center;
  padding: 36px 16px 48px;
  font-size: 17px;
  color: var(--soft-ink);
  background: var(--cream);
  border-top: 1px solid var(--honey-line);
}

/* Thank-you page */
.ty { text-align: left; }
.ty h1 {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: clamp(40px, 9vw, 60px);
  line-height: 1.08;
  margin: 36px 0 24px;
  text-align: center;
  text-wrap: balance;
}
.ty .download { text-align: center; margin: 32px 0 44px; }
.ty .download .btn { min-height: 68px; font-size: 22px; max-width: 480px; }
.ty ol { padding-left: 1.3em; margin: 0 0 1.05em; }
.ty ol li { margin: 0 0 14px; padding-left: 4px; }
.sig { font-family: var(--serif-display); font-size: 28px; font-weight: 600; color: var(--honey); margin-top: -6px; }

@media (min-width: 720px) {
  .wrap { padding: 0 32px; }
  section { padding: 80px 0; }
  .hero { padding-bottom: 80px; }
  .hero h1 { margin-top: 56px; }
  .fit { grid-template-columns: 1fr 1fr; gap: 40px; }
  .price-card { padding: 36px 40px 40px; }
  ol.reasons li { padding-left: 66px; }
}

/* Hero product visual (Cover A). Mobile: under the button. Wide screens: beside the copy. */
.hero-cover { margin: 40px auto 0; width: min(72vw, 300px); }
.hero-cover img { filter: drop-shadow(0 18px 30px rgba(43, 30, 20, .10)); }

/* Inside shots */
figure.shot { margin: 32px 0; }
figcaption {
  font-size: 19px; line-height: 1.55;
  color: var(--soft-ink);
  margin-top: 14px;
  font-style: italic;
}
figure.shot img {
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(43, 30, 20, .10);
}

/* Comments strip: plain quote cards. No names, no stars, no avatars, no badges. */
.quotes { display: grid; gap: 16px; margin-top: 26px; }
.quotes blockquote {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--honey-line);
  border-radius: 12px;
  padding: 20px 22px;
  font-size: 20px; line-height: 1.6;
  color: var(--ink);
}

/* Price block cover */
.price-cover { width: min(56vw, 220px); margin: 4px auto 26px; }
.price-cover img { border-radius: 5px; box-shadow: 0 16px 36px rgba(43, 30, 20, .16); }

@media (min-width: 720px) {
  .quotes { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .hero-grid {
    max-width: 1080px;
    display: grid; grid-template-columns: minmax(0, 1fr) 360px;
    gap: 64px; align-items: center; text-align: left;
  }
  .hero-grid h1 { margin-left: 0; max-width: 12ch; }
  .hero-grid .sub { margin-left: 0; }
  .hero-cover { width: 360px; margin: 48px 0 0; }
}

/* Thank-you page */
.ty-hero { padding-bottom: 56px; }
/* Mobile: the download button comes before the book, so it sits high on the screen. */
.ty-grid { text-align: center; display: flex; flex-direction: column; }
.ty-book { order: 2; width: min(52vw, 220px); margin: 40px auto 0; }
.ty-book img { filter: drop-shadow(0 16px 28px rgba(43, 30, 20, .10)); }
.ty-copy { text-align: left; }
.ty-copy h1 {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: clamp(40px, 9vw, 60px);
  line-height: 1.08;
  margin: 30px 0 22px;
  text-align: center;
  text-wrap: balance;
}
.ty-copy .download { text-align: center; margin: 30px 0 0; }
.btn-download {
  gap: 12px;
  min-height: 72px; max-width: 520px;
  font-size: 22px;
  padding: 18px 28px;
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 14px 30px rgba(22, 94, 102, .28);
}
.btn-download svg { flex: none; }
ol.steps { margin: 6px 0 26px; }

@media (min-width: 960px) {
  .ty-grid {
    max-width: 1040px;
    display: grid; grid-template-columns: 320px minmax(0, 1fr);
    gap: 64px; align-items: center; text-align: left;
  }
  .ty-book { order: 0; width: 320px; margin: 40px 0 0; }
  .ty-copy h1 { text-align: left; margin-top: 40px; }
  .ty-copy .download { text-align: left; }
}

/* Subtle imagery in the pain and reframe sections. Never behind text.
   Under 1280px: the image tucks under its text. From 1280px: it sits in the empty side margin,
   so the text column stays exactly where every other section has it. */
.has-aside, .throws { position: relative; }
.aside-img, .jar { margin: 0; }
.aside-img img, .jar img { width: 100%; height: auto; }
.aside-pain { width: 160px; margin: 30px auto 0; opacity: .94; }
.aside-pain img { filter: drop-shadow(0 14px 18px rgba(43, 30, 20, .14)); }
.jar-pair {
  display: grid; grid-template-columns: repeat(2, minmax(0, 150px));
  justify-content: center; align-items: end; gap: 22px;
  margin: 8px 0 28px;
}
.jar img { filter: drop-shadow(0 12px 16px rgba(43, 30, 20, .14)); }

@media (min-width: 720px) {
  .aside-pain { width: 200px; }
  .jar-pair { grid-template-columns: repeat(2, 190px); gap: 40px; }
}
@media (min-width: 1280px) {
  .aside-pain {
    position: absolute; top: 50%; left: calc(100% + 24px);
    width: 220px; margin: 0; transform: translateY(-50%);
  }
  .jar-pair { display: block; margin: 0; }
  .jar { position: absolute; width: 200px; }
  .jar-cold { right: calc(100% + 56px); top: -40px; }   /* left margin, beside the cold-throw paragraph */
  .jar-lit { left: calc(100% + 56px); bottom: -40px; }  /* right margin, beside the hot-throw paragraph */
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* Shared legal footer, synced from candlelier-site (footer.md). Floor 17px, tap targets 44px+. */
.site-foot .copyright { margin: 0 0 6px; }
.site-foot .foot-links { list-style: none; margin: 8px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; max-width: 640px; }
.site-foot .foot-links a { display: inline-block; padding: 10px 8px; color: var(--soft-ink); }
/* The guarantee line at every in-page buy button (guarantee-lines.md, Sales Page Rules rule 4). */
.guarantee { font-size: 17px; line-height: 1.5; color: var(--ink); max-width: 28em; margin: 12px auto 0; }
@media (min-width: 960px) { .hero-grid .guarantee { margin-left: 0; } }
