/* Claire — CLAF3 visual match: white paper, black Roboto, centered, blue inline links.
 * Reference: psychic-claire.com/email-cla-fun-3-0-tsl
 * Cascade probed: 37 / 30 / 24 / 20 / 14 px (per-block bold-by-<strong>, all centered).
 */

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxKKTU1Kg.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmWUlfBBc4.woff2") format("woff2");
}

:root {
  --ink:    #000;
  --soft:   #9b9b9b;
  --link:   #0406f1;
  --rule:   #e5e5e5;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.claire-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 32px 24px;
  text-align: left;          /* CLAF3 body copy is LEFT-aligned (verified 2026-05-04) */
}

/* CLAF3 pattern: centered headlines + left-aligned body paragraphs. */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin: 1.4em 0 0.7em;
  text-align: center;
}
h1 { font-size: 37px; line-height: 1.27; margin-top: 0.4em; }
h2 { font-size: 30px; line-height: 1.27; }
h3 { font-size: 24px; }
h4 { font-size: 20px; color: var(--soft); }

/* Body paragraphs — LEFT aligned, generous margin to mimic CLAF3 empty-<p></p> rhythm */
p { margin: 0 0 1.8em; text-align: left; }

a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }

strong, b { font-weight: 700; }
em, i { font-style: italic; }

hr { border: 0; border-top: 1px solid var(--rule); margin: 2.2em auto; max-width: 220px; }

/* Lists — CLAF3 pattern: filled black dot + left-aligned content body */
ul, ol { list-style: none; padding-left: 0; margin: 1.2em auto; max-width: 640px; text-align: left; }
ul li, ol li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 0.7em;
}
ul li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  margin-top: 0.55em;
}
ul li > p, ol li > p { text-align: left; margin: 0; flex: 1; }

blockquote { margin: 1.4em auto; padding: 0.4em 1em; font-style: italic; max-width: 560px; }

/* CTA — inline blue link, NOT a button. Centered on its own line. */
.cta-wrap { margin: 26px 0; font-size: 1.1rem; font-weight: 700; text-align: center; }
.cta-wrap a { font-weight: 700; }
.cta-wrap a.disabled { color: var(--soft); pointer-events: none; font-style: italic; text-decoration-color: var(--soft); }

/* OTO voucher section — exact copy of CLAF4 FR styled-component CSS:
 *   .jBDPLX { border: 5px dashed rgb(176,112,6); border-radius: 10px;
 *             box-shadow: 0 1px 5px rgba(0,0,0,0.4); ... }
 *   Everything inside: weight 400, font-style normal — NO italic, NO bold.
 * Auto-wrapped by build.py around any H2 containing "VOUCHER" / "BON D'ATTRIBUTION". */
.voucher {
  border: 5px dashed rgb(176, 112, 6);
  border-radius: 10px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
  padding: 28px 24px;
  margin: 40px auto 28px;
  max-width: 640px;
  background: transparent;
}
.voucher h2 {
  font-size: 26px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: normal;
  text-align: center;
  margin: 0 0 0.8em;
}
/* "Strictly reserved Today %DATE% for %FIRSTNAME%" — first paragraph after the H2.
 * Bold emphasis on placeholders is handled inline via <strong> in source MD. */
.voucher h2 + p {
  text-align: center;
  font-weight: 400;
  font-size: 1em;
  margin-bottom: 1.4em;
}
/* Contractual statements bulleted list — left-aligned, normal weight + style */
.voucher ul { margin: 1.2em 0; max-width: none; }
.voucher ul li, .voucher ul li > p {
  font-weight: 400;
  font-style: normal;
  color: var(--ink);
}
/* Closing CTA-lead paragraph: "Under these conditions, I immediately validate…" */
.voucher > p:last-of-type {
  font-weight: 400;
  text-align: center;
  margin-top: 1.4em;
  margin-bottom: 0.4em;
}

/* OTO warning header — strong attention-grab + smaller italic sub-line.
 * Centered text overrides the body's `p { text-align: left }` rule. */
.warning {
  background: #fff4e6;
  color: #6b3608;
  border: 2px solid #f1c08a;
  padding: 18px 22px;
  border-radius: 8px;
  margin: 0 auto 28px;
  font-weight: 700;
  font-size: 1.05em;
  text-align: center;
  line-height: 1.4;
}
.warning p, .warning-sub p { margin: 0; text-align: center; }
.warning-sub {
  margin-top: 8px;
  font-size: 0.85em;
  font-weight: 400;
  font-style: italic;
  opacity: 0.85;
}

.signature { margin: 40px auto 28px; max-width: 720px; }
.signature p { font-style: italic; margin: 0 0 4px; }
.signature img { display: block; margin: 8px auto 0; width: 200px; height: auto; max-width: 100%; }

@media (max-width: 600px) {
  html, body { font-size: 17px; }
  .claire-page { padding: 28px 18px 16px; }
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  h4 { font-size: 17px; }
  ul, ol { max-width: none; }
  .countdown .unit { min-width: 64px; padding: 10px 12px; }
  .countdown .num { font-size: 1.5rem; }
}
