/* ==========================================================================
   The Call of the Angel - shared stylesheet
   Used by all 9 pages (4 product + 5 legal). No build step.
   ========================================================================== */

:root {
  /* Palette */
  --ink:            #0b0e26;
  --ink-2:          #131841;
  --ink-3:          #1c2255;
  --gold:           #d4af37;
  --gold-soft:      #e8c46a;
  --gold-dim:       rgba(212, 175, 55, .28);
  --ivory:          #f6f2e9;
  --ivory-dim:      rgba(246, 242, 233, .72);
  --ivory-faint:    rgba(246, 242, 233, .48);
  --line:           rgba(246, 242, 233, .14);

  /* Accent per product - overridden by a body class */
  --accent:         var(--gold);
  --accent-soft:    var(--gold-soft);

  /* Type */
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* Rhythm */
  --measure: 68ch;
  --wrap:    1140px;
  --wrap-narrow: 760px;
  --gutter:  clamp(20px, 5vw, 48px);
  --section: clamp(56px, 9vw, 108px);
  --radius:  14px;
}

/* Per-product accents ---------------------------------------------------- */
body.t-dream     { --accent: #9fb7dd; --accent-soft: #c3d4ee; }
body.t-hermetic  { --accent: #cbb26a; --accent-soft: #e2d09a; }
body.t-abundance { --accent: #e0a95c; --accent-soft: #f0c98d; }

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-soft); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ivory); }
hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

/* Typography ------------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.14; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 7vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.6vw, 1.65rem); }
h4 { font-size: 1.1rem; font-family: var(--body); font-weight: 600; letter-spacing: .01em; }
p  { margin: 0 0 1.15em; max-width: var(--measure); }
.lead { font-size: clamp(1.08rem, 2vw, 1.28rem); color: var(--ivory-dim); line-height: 1.68; }
.eyebrow {
  font-family: var(--body); font-size: .74rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 18px;
}
.center { text-align: center; }
.center p, .center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--ivory-faint); font-size: .92rem; }

/* Layout ----------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.wrap-narrow { width: 100%; max-width: var(--wrap-narrow); margin: 0 auto; padding-inline: var(--gutter); }
section { padding-block: var(--section); position: relative; }
.band { background: var(--ink-2); }
.band-soft { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }
.rule { width: 64px; height: 1px; background: var(--accent); margin: 0 0 26px; opacity: .8; }
.center .rule { margin-inline: auto; }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: relative; z-index: 5;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand {
  font-family: var(--display); font-size: 1.22rem; letter-spacing: .04em;
  color: var(--ivory); text-decoration: none; white-space: nowrap;
}
.brand span { color: var(--accent); }
.header-note { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ivory-faint); }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(64px, 11vw, 132px);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,14,38,.52) 0%, rgba(11,14,38,.78) 58%, var(--ink) 100%),
    linear-gradient(90deg, rgba(11,14,38,.66) 0%, rgba(11,14,38,.22) 58%, transparent 100%),
    radial-gradient(70% 55% at 50% 18%, rgba(212,175,55,.16) 0%, transparent 70%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .34em; }
.hero .lead { max-width: 42ch; }
.hero-figure img { border-radius: var(--radius); }

/* Hero variants - one per product, so the four pages do not read as one
   template repeated four times. --------------------------------------------- */
.hero--reverse .hero-grid { grid-template-columns: .88fr 1.12fr; }
.hero--reverse .hero-figure { order: -1; }
.hero--center .hero-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.hero--center .lead { max-width: 56ch; margin-inline: auto; }
.hero--center .eyebrow, .hero--center .cta-note { margin-inline: auto; }
.hero--center .hero-figure { max-width: 430px; margin-top: 44px; }

/* Timeline - Dream Reset ---------------------------------------------------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; max-width: 780px; }
/* The rail sits in the middle of the gap, never over the time label. */
.timeline::before {
  content: ""; position: absolute; left: 127px; top: 16px; bottom: 16px;
  width: 1px; background: var(--line);
}
.timeline li {
  position: relative; display: grid; grid-template-columns: 104px 1fr;
  gap: 46px; padding-bottom: 34px;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 123px; top: .68em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 5px var(--ink);
}
.timeline .t {
  font-family: var(--display); font-size: 1.4rem; color: var(--accent);
  text-align: right; padding-top: 1px; line-height: 1.2;
}
.timeline h4 { margin: 0 0 5px; }
.timeline p { margin: 0; color: var(--ivory-dim); font-size: .96rem; }

/* Data table - The 7 Hermetic Laws ------------------------------------------ */
.data-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.data-table th, .data-table td {
  text-align: left; padding: 17px 18px; border-bottom: 1px solid var(--line); vertical-align: top;
}
.data-table thead th {
  font-family: var(--body); font-size: .7rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
  border-bottom-color: var(--gold-dim);
}
.data-table td:first-child {
  font-family: var(--display); font-size: 1.22rem; color: var(--ivory); white-space: nowrap;
}
.data-table td:nth-child(2) { color: var(--ivory-dim); font-style: italic; }
.data-table td:last-child { color: var(--ivory-dim); }

/* Excerpt - The 7 Hermetic Laws --------------------------------------------- */
.excerpt { border-left: 2px solid var(--accent); padding: 4px 0 4px 30px; margin: 0 0 28px; max-width: 68ch; }
.excerpt p {
  font-family: var(--display); font-size: clamp(1.14rem, 2.1vw, 1.42rem);
  line-height: 1.52; color: var(--ivory); margin-bottom: .7em; max-width: none;
}
.excerpt cite {
  display: block; font-family: var(--body); font-style: normal; font-size: .78rem;
  letter-spacing: .15em; text-transform: uppercase; color: var(--ivory-faint); margin-top: 16px;
}

/* Minute bar - The Abundance Morning Ritual --------------------------------- */
.minutes { display: flex; border-radius: 10px; overflow: hidden; margin: 0 0 12px; }
.minutes span {
  padding: 15px 8px; font-size: .74rem; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; text-align: center; color: #20150a; white-space: nowrap;
}
.minutes span:nth-child(1) { background: #6d4a1c; color: #f4e2c4; }
.minutes span:nth-child(2) { background: #a8752c; }
.minutes span:nth-child(3) { background: #e0a95c; }
.minutes span:nth-child(4) { background: #f2cf99; }
.minutes-legend {
  display: flex; justify-content: space-between; gap: 16px;
  max-width: none;                 /* p inherits a 68ch measure - undo it here */
  font-size: .82rem; color: var(--ivory-faint); margin: 0 0 30px;
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-block; font-family: var(--body); font-weight: 600;
  font-size: 1.02rem; letter-spacing: .01em; line-height: 1.35;
  padding: 19px 40px; border-radius: 999px; border: 0; cursor: pointer;
  text-align: center; text-decoration: none;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  color: #17130a;
  box-shadow: 0 14px 34px rgba(0,0,0,.42);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); color: #17130a; box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.btn:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 4px; }
.btn-block { display: block; width: 100%; }
.btn-ghost {
  background: transparent; color: var(--ivory);
  border: 1px solid var(--gold-dim); box-shadow: none;
}
.btn-ghost:hover { color: var(--ivory); border-color: var(--accent); }
.cta-note { font-size: .88rem; color: var(--ivory-faint); margin: 14px 0 0; }
.center .cta-note { margin-inline: auto; }

/* Recognition / bullet lists --------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split-figure img { border-radius: var(--radius); }

.ticks { list-style: none; margin: 0 0 28px; padding: 0; max-width: var(--measure); }
.ticks li { position: relative; padding-left: 34px; margin-bottom: 15px; }
.ticks li::before {
  content: ""; position: absolute; left: 6px; top: .62em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(212,175,55,.14);
}

.deliverables { list-style: none; margin: 0; padding: 0; }
.deliverables li {
  border-top: 1px solid var(--line); padding: 22px 0;
  display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start;
}
.deliverables li:last-child { border-bottom: 1px solid var(--line); }
.deliverables .num {
  font-family: var(--display); font-size: 1.5rem; color: var(--accent); line-height: 1;
  padding-top: 2px;
}
.deliverables h4 { margin: 0 0 4px; }
.deliverables p { margin: 0; color: var(--ivory-dim); font-size: .96rem; }

/* Cards ------------------------------------------------------------------ */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.card {
  background: rgba(246,242,233,.035);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px;
}
.card h3 { font-size: 1.3rem; }
.card p:last-child { margin-bottom: 0; }
.card .step {
  font-family: var(--display); font-size: 2.4rem; color: var(--gold-dim);
  line-height: 1; display: block; margin-bottom: 10px;
}

/* Two-column "for / not for" --------------------------------------------- */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fit .card { padding: 32px 30px; }
.fit ul { list-style: none; margin: 0; padding: 0; }
.fit li { position: relative; padding-left: 28px; margin-bottom: 12px; font-size: .98rem; color: var(--ivory-dim); }
.fit li::before { position: absolute; left: 0; top: 0; font-weight: 600; }
.fit .yes li::before { content: "\2713"; color: var(--accent); }
.fit .no  li::before { content: "\2013"; color: var(--ivory-faint); }

/* Price card ------------------------------------------------------------- */
.offer { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.price-card {
  background: linear-gradient(180deg, rgba(246,242,233,.06), rgba(246,242,233,.02));
  border: 1px solid var(--gold-dim); border-radius: 20px;
  padding: clamp(30px, 4vw, 44px);
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.price-card h3 { margin-bottom: 6px; }
.price-row { display: flex; align-items: baseline; justify-content: center; gap: 14px; margin: 18px 0 6px; }
.price-was { font-size: 1.05rem; color: var(--ivory-faint); text-decoration: line-through; }
.price-now { font-family: var(--display); font-size: clamp(3.2rem, 8vw, 4.4rem); color: var(--accent); line-height: 1; }
.price-terms { font-size: .9rem; color: var(--ivory-faint); margin: 0 0 26px; }
.price-card .btn { margin-bottom: 16px; }

.guarantee { display: flex; align-items: center; gap: 20px; }
.guarantee img { width: 120px; flex: 0 0 120px; }
.guarantee p { margin: 0; }

.pay { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 20px; }
.pay span {
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 6px; padding: 7px 11px;
  color: var(--ivory-faint);
}
.secure { font-size: .82rem; color: var(--ivory-faint); margin: 14px 0 0; }

/* Look inside ------------------------------------------------------------ */
.peek { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.peek figure { margin: 0; }
.peek img { border-radius: 10px; border: 1px solid var(--line); }
.peek figcaption { font-size: .84rem; color: var(--ivory-faint); margin-top: 10px; }

/* FAQ -------------------------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--display); font-size: 1.24rem; color: var(--ivory);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  color: var(--accent); font-family: var(--body); font-size: 1.4rem; line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--ivory-dim); margin: 0 0 20px; max-width: none; }

/* Author / publisher block ------------------------------------------------ */
.author {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  background: rgba(246,242,233,.03);
}
.author p:last-child { margin-bottom: 0; }

/* Legal pages ------------------------------------------------------------ */
.legal { padding-block: clamp(48px, 7vw, 84px); }
.legal h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); margin-bottom: .3em; }
.legal h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-top: 2.2em; }
.legal h3 { font-size: 1.15rem; margin-top: 1.8em; }
.legal p, .legal li { color: var(--ivory-dim); }
.legal ul, .legal ol { max-width: var(--measure); padding-left: 22px; }
.legal li { margin-bottom: 9px; }
.legal .updated { font-size: .88rem; color: var(--ivory-faint); }
.legal address {
  font-style: normal; border-left: 2px solid var(--accent);
  padding: 4px 0 4px 20px; margin: 0 0 26px; color: var(--ivory-dim);
}
.legal dl { max-width: var(--measure); margin: 0 0 26px; }
.legal dt { font-weight: 600; color: var(--ivory); margin-top: 16px; }
.legal dd { margin: 4px 0 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 26px; font-size: .94rem; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--ivory); font-weight: 600; }
.legal td { color: var(--ivory-dim); }
.table-scroll { overflow-x: auto; }

/* Contact form ----------------------------------------------------------- */
.field { margin-bottom: 18px; max-width: 520px; }
.field label { display: block; font-size: .86rem; letter-spacing: .04em; margin-bottom: 7px; color: var(--ivory-dim); }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; font: inherit; font-size: .98rem;
  color: var(--ivory); background: rgba(246,242,233,.05);
  border: 1px solid var(--line); border-radius: 9px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

/* Footer ----------------------------------------------------------------- */
.site-footer {
  background: #070919; border-top: 1px solid var(--line);
  padding-block: 54px 46px;
}
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; margin-bottom: 34px; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-nav a { color: var(--ivory-dim); font-size: .92rem; text-decoration: none; }
.footer-nav a:hover { color: var(--accent-soft); text-decoration: underline; }
.footer-company { font-size: .9rem; color: var(--ivory-faint); font-style: normal; line-height: 1.7; }
/* Slots for the snippets Digistore24 generates in the backoffice - the sales
   page footer and the thank-you page trust badge. Empty until pasted in. */
.ds24-footer { margin: 0 0 30px; }
.ds24-footer:empty { display: none; }
.ds24-badge { margin: 26px 0 0; }
.ds24-badge:empty { display: none; }
.ds24-badge img, .ds24-footer img { display: inline-block; }

.disclaimers { border-top: 1px solid var(--line); padding-top: 26px; }
.disclaimers p { font-size: .81rem; line-height: 1.7; color: rgba(246,242,233,.4); max-width: none; margin: 0 0 12px; }
.disclaimers p:last-child { margin-bottom: 0; }

/* Cookie banner ---------------------------------------------------------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  max-width: 720px; margin: 0 auto;
  background: #101433; border: 1px solid var(--gold-dim); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: 0 24px 60px rgba(0,0,0,.6);
  display: none;
}
.cookie.is-open { display: block; }
.cookie p { font-size: .9rem; color: var(--ivory-dim); margin: 0 0 16px; max-width: none; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cookie .btn { padding: 12px 26px; font-size: .92rem; box-shadow: none; }

/* Utilities -------------------------------------------------------------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #17130a; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
.stack-lg > * + * { margin-top: 44px; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-grid, .split, .offer,
  .hero--reverse .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 420px; }
  .hero--center .hero-figure { margin-top: 32px; }
  .fit { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .split-figure { max-width: 520px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 8px; }
  .header-note { font-size: .7rem; }
  .btn { padding: 17px 26px; font-size: .96rem; }
  .guarantee { flex-direction: column; text-align: center; align-items: center; }
  .guarantee p { text-align: center; }
  .deliverables li { grid-template-columns: 34px 1fr; gap: 12px; }
  .cookie { left: 10px; right: 10px; bottom: 10px; padding: 18px; }
  .cookie-actions .btn { flex: 1 1 100%; }

  .timeline::before { left: 4px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 28px; }
  .timeline li::before { left: 0; }
  .timeline .t { text-align: left; font-size: 1.15rem; }

  .excerpt { padding-left: 20px; }
  .minutes span { font-size: .62rem; letter-spacing: .04em; padding: 13px 4px; }
  .minutes-legend { font-size: .74rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
