/* Candlelier root site. Same brand system as the two funnels (Sales Page Rules, 07-Knowledge):
   cream, white and blush grounds only, body 20px, nothing below 17px. Mobile first. */
@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 Fallback"; font-weight: 400; src: local("Georgia"); size-adjust: 100.5%; }
@font-face { font-family: "Source Serif 4 Fallback"; font-weight: 700; src: local("Georgia Bold"), local("Georgia-Bold"); size-adjust: 88.8%; }
@font-face { font-family: "Cormorant Garamond Fallback"; font-weight: 600; src: local("Georgia"); size-adjust: 77.5%; }

:root {
  --cream: #fbf6ee; --white: #ffffff; --blush: #f8ece6;
  --ink: #2b1e14; --soft-ink: #5a4636; --honey: #7a4e10; --honey-line: #e6d2ad; --glow: #f3dfb8;
  --link: #165e66;
  --serif-display: "Cormorant Garamond", "Cormorant Garamond Fallback", Georgia, "Times New Roman", serif;
  --serif-text: "Source Serif 4", "Source Serif 4 Fallback", Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--cream); color: var(--ink);
  font-family: var(--serif-text); font-size: 20px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-wrap: break-word;
}
main { flex: 1; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: 720px; margin: 0 auto; padding: 0 16px; }

.top { padding: 22px 16px 0; text-align: center; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif-display); font-size: 24px; font-weight: 600; letter-spacing: .06em;
  color: var(--honey); text-decoration: none;
}
.brand svg { width: 16px; height: 24px; flex: none; }

/* Legal pages */
.legal { padding-top: 24px; padding-bottom: 64px; }
.legal h1 { font-family: var(--serif-display); font-weight: 600; font-size: clamp(38px, 9vw, 56px); line-height: 1.08; margin: 16px 0 28px; text-wrap: balance; }
.legal h2 { font-family: var(--serif-display); font-weight: 600; font-size: clamp(28px, 6.4vw, 36px); line-height: 1.15; margin: 44px 0 14px; text-wrap: balance; }
.legal h3 { font-size: 22px; font-weight: 700; line-height: 1.4; margin: 32px 0 8px; }
.legal h4, .legal h5, .legal h6 { font-size: 20px; font-weight: 700; margin: 26px 0 6px; }
.legal p { margin: 0 0 1.05em; }
.legal ul, .legal ol { padding-left: 1.3em; margin: 0 0 1.05em; }
.legal li { margin: 0 0 .5em; }
.legal blockquote { margin: 0 0 1.05em; padding: 4px 0 4px 18px; border-left: 4px solid var(--honey-line); color: var(--soft-ink); }
.legal hr { border: 0; height: 2px; width: 56px; background: var(--honey-line); margin: 36px 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 18px; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--honey-line); }
.legal code { font-size: 18px; }

/* Staging marks: open text is impossible to miss. The production build refuses while any exist. */
mark.ph { background: #ffe08a; color: var(--ink); outline: 2px dashed #c2410c; outline-offset: 1px; padding: 0 3px; }
.missing { background: var(--white); border: 2px dashed #c2410c; border-radius: 12px; padding: 20px; color: var(--ink); }
.missing p { margin: 0; }
.missing-inline { color: #9a3412; }

/* Holding page */
.hold { padding: 32px 0 20px; text-align: center; }
/* The glow starts at the very top, behind the brand, so there is no seam under the header. */
body:has(main.home) { background: radial-gradient(120% 420px at 50% 0%, var(--glow) 0%, rgba(243, 223, 184, 0) 100%) no-repeat, var(--cream); }
.lede { font-family: var(--serif-display); font-weight: 600; font-size: clamp(34px, 8.4vw, 54px); line-height: 1.1; margin: 0 auto; max-width: 18ch; text-wrap: balance; }
.products { padding: 28px 0 72px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.card {
  display: grid; gap: 6px; padding: 24px 22px; height: 100%;
  background: var(--white); border: 1px solid var(--honey-line); border-radius: 16px;
  color: var(--ink); text-decoration: none;
  box-shadow: 0 14px 36px rgba(43, 30, 20, .07);
  transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: var(--honey); transform: translateY(-1px); }
.card-name { font-family: var(--serif-display); font-weight: 600; font-size: 32px; line-height: 1.15; color: var(--ink); }
.card-line { font-size: 19px; line-height: 1.55; color: var(--soft-ink); }
.card-go { font-size: 17px; color: var(--link); text-decoration: underline; text-underline-offset: 3px; margin-top: 4px; }

/* Footer, shared look with the funnels */
.site-foot { padding: 32px 16px 44px; text-align: center; font-size: 17px; line-height: 1.6; color: var(--soft-ink); background: var(--cream); border-top: 1px solid var(--honey-line); }
.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; }
.foot-links a { display: inline-block; padding: 10px 8px; color: var(--soft-ink); }
.foot-links a[aria-current="page"] { color: var(--ink); font-weight: 700; text-decoration: none; }
.foot-text p { margin: 0 0 6px; }
.foot-text a { color: var(--soft-ink); }

@media (min-width: 720px) {
  .wrap { padding: 0 32px; }
  .hold { padding-top: 72px; }
  .cards { grid-template-columns: 1fr 1fr; gap: 24px; }
  .legal { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
