/* =========================================================
   Sigils MPPS — article layout, dark theme.
   Deliberately reads as a long-form piece, not a funnel page.
   No nav, no sidebar, no popups, no countdowns.
   ========================================================= */

:root {
  --bg:        #0A0A0C;
  --bg-lift:   #131318;
  --ink:       #E9E6E1;
  --ink-dim:   #A6A099;
  --ink-faint: #736E68;
  --gold:      #C9A55C;
  --gold-dim:  #8A7440;
  --rule:      rgba(233, 230, 225, 0.13);
  --rule-soft: rgba(233, 230, 225, 0.07);

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --measure: 680px;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ---------- shell ---------- */

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 22px;
}

header.masthead {
  padding: 26px 0 0;
  text-align: center;
}

header.masthead .brand {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-decoration: none;
}

.progress {
  margin: 34px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.progress .dot {
  width: 22px;
  height: 2px;
  background: var(--rule);
  border-radius: 2px;
}

.progress .dot.on { background: var(--gold); }

.progress .lbl {
  margin-left: 6px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

article { padding: 0 0 40px; }

/* ---------- headings ---------- */

.kicker {
  margin: 48px 0 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
}

h1 {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: 0.004em;
  margin: 0 0 22px;
  text-align: center;
  color: var(--ink);
  overflow-wrap: break-word;
}

/* line break that only applies on wide screens; mobile reflows naturally */
br.dbr { display: inline; }

.standfirst {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink-dim);
  text-align: center;
  margin: 0 0 34px;
}

.byline {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: center;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--rule-soft);
  margin-bottom: 40px;
}

h2 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.22;
  margin: 52px 0 18px;
  color: var(--ink);
}

h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.3;
  margin: 40px 0 12px;
  color: var(--ink);
}

h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 38px 0 12px;
}

/* ---------- body ---------- */

p { margin: 0 0 22px; }

p.lead {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.5;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 28px;
}

strong { font-weight: 500; color: #F6F3EF; }
em { font-style: italic; }

a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold-dim); }

ul, ol { margin: 0 0 24px; padding-left: 22px; }
li { margin-bottom: 11px; }
li::marker { color: var(--gold-dim); }

hr {
  border: 0;
  height: 1px;
  background: var(--rule);
  margin: 46px 0;
}

.rule-gold {
  width: 54px;
  height: 1px;
  background: var(--gold);
  opacity: .8;
  margin: 0 auto 30px;
}

/* ---------- figures ---------- */

figure { margin: 34px 0; text-align: center; }

figure img {
  display: block;
  margin: 0 auto;
  width: 180px;
  max-width: 62%;
  height: auto;
}

figure img.wide { width: 240px; }

figcaption {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-top: 14px;
}

.glyphrow {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 32px 0;
}

.glyphrow figure { margin: 0; flex: 0 0 auto; }
.glyphrow img { width: 108px; max-width: none; }
.glyphrow figcaption { font-size: 11px; margin-top: 8px; }

/* ---------- pull quote ---------- */

blockquote {
  margin: 36px 0;
  padding: 0 0 0 24px;
  border-left: 2px solid var(--gold-dim);
}

blockquote p {
  font-family: var(--serif);
  font-size: 23px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 12px;
}

blockquote cite {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- callout ---------- */

.box {
  background: var(--bg-lift);
  border: 1px solid var(--rule-soft);
  border-left: 2px solid var(--gold);
  padding: 24px 26px 6px;
  margin: 34px 0;
}

.box h4 { margin-top: 0; }
.box p:last-child { margin-bottom: 18px; }

/* ---------- stat strip ---------- */

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 36px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.stats .s {
  flex: 1 1 33%;
  padding: 22px 10px;
  text-align: center;
  border-right: 1px solid var(--rule-soft);
}

.stats .s:last-child { border-right: 0; }

.stats .n {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--gold);
}

.stats .k {
  display: block;
  margin-top: 8px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.5;
}

/* ---------- step blocks on page 3 ---------- */

.step {
  display: flex;
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid var(--rule-soft);
}

.step .n {
  flex: 0 0 34px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  color: var(--gold);
  padding-top: 4px;
}

.step .b { flex: 1; min-width: 0; }
.step .b > :first-child { margin-top: 0; }
.step .b h3 { margin-top: 0; }

/* ---------- letter reduction ---------- */

.reduce { margin: 26px 0; }

.reduce .row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.reduce .row:last-child { border-bottom: 0; }

.reduce .lbl {
  flex: 0 0 104px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.5;
}

.reduce .val {
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: 0.1em;
  color: var(--ink);
  line-height: 1.3;
  word-break: break-word;
}

.reduce .val.final { color: var(--gold); letter-spacing: 0.3em; font-weight: 500; }
.reduce .val .gone { color: var(--ink-faint); opacity: .4; }

/* ---------- compare table ---------- */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0;
  font-size: 15.5px;
}

th {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: left;
  padding: 0 14px 8px 0;
  border-bottom: 1px solid var(--rule);
}

td {
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid var(--rule-soft);
  vertical-align: top;
  line-height: 1.55;
}

td:first-child { color: var(--ink-faint); }

/* ---------- the next-page link ---------- */

.next {
  margin: 56px 0 20px;
  padding-top: 38px;
  border-top: 1px solid var(--rule);
}

.next .tease {
  font-family: var(--serif);
  font-size: 23px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 26px;
}

.next a.go {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  border-bottom: 1px solid var(--gold-dim);
  padding: 15px 28px;
  border-radius: 2px;
  transition: background .15s ease, color .15s ease;
}

.next a.go:hover { background: var(--gold); color: var(--bg); }

.next a.go::after { content: ' \2192'; }

/* ---------- the buy block, page 4 only ---------- */

.buy {
  margin: 44px 0 30px;
  padding: 34px 28px;
  background: var(--bg-lift);
  border: 1px solid var(--rule);
  text-align: center;
}

.buy .price {
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 300;
  line-height: 1;
  color: var(--gold);
}

.buy .price .cur { font-size: 26px; vertical-align: super; }

.buy .what {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 14px 0 26px;
}

.buy a.cta {
  display: block;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  border: 0;
  padding: 19px 24px;
  border-radius: 2px;
  transition: filter .15s ease;
}

.buy a.cta:hover { filter: brightness(1.1); }

.buy .fine {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-faint);
  margin: 20px 0 0;
}

/* ---------- contents list on page 4 ---------- */

.toc { margin: 26px 0 8px; }

.toc .i {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.toc .i .p {
  flex: 0 0 88px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  padding-top: 5px;
}

.toc .i .t { flex: 1; font-size: 16.5px; line-height: 1.55; }

/* ---------- footer ---------- */

footer.foot {
  border-top: 1px solid var(--rule-soft);
  padding: 30px 0 60px;
  text-align: center;
}

footer.foot p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-faint);
  margin: 0 0 6px;
}

footer.foot a { color: var(--ink-faint); border-bottom-color: var(--rule); }

/* ---------- mobile ---------- */

@media (max-width: 640px) {
  body { font-size: 17.5px; }
  h1 { font-size: 29px; }
  br.dbr { display: none; }
  .standfirst { font-size: 18.5px; }
  h2 { font-size: 25px; margin-top: 44px; }
  h3 { font-size: 20.5px; }
  p.lead { font-size: 21px; }
  blockquote p { font-size: 20px; }
  .next .tease { font-size: 20px; }

  .stats .s { flex: 1 1 50%; border-bottom: 1px solid var(--rule-soft); }
  .stats .s:nth-child(2) { border-right: 0; }
  .stats .n { font-size: 27px; }

  .step { gap: 14px; }
  .step .n { flex-basis: 26px; font-size: 25px; }

  .reduce .row { flex-direction: column; gap: 3px; align-items: flex-start; }
  .reduce .lbl { flex-basis: auto; }
  .reduce .val { font-size: 22px; }

  .glyphrow img { width: 82px; }

  .buy { padding: 28px 20px; }
  .buy .price { font-size: 40px; }
  .buy a.cta { font-size: 13.5px; letter-spacing: .1em; padding: 18px 14px; }

  .next a.go { display: block; text-align: center; }

  table { font-size: 14.5px; }
  td, th { padding-right: 8px; }
}

@media print { .next, .progress { display: none; } }

/* ---------- product row on the offer page ---------- */
.bookrow {
  display: flex;
  gap: 26px;
  align-items: flex-start;
  margin: 28px 0 34px;
}

.bookrow img {
  flex: 0 0 210px;
  width: 210px;
  height: auto;
  border: 1px solid var(--rule);
  border-radius: 2px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .6);
}

.bookrow > div { flex: 1; min-width: 0; }
.bookrow p:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .bookrow { flex-direction: column; align-items: center; gap: 20px; text-align: center; }
  .bookrow img { flex: 0 0 auto; width: 200px; }
}
