/* Calmere — Original Editorial Commerce Design System (Newsreader + Plus Jakarta Sans, Zero FOUC) */
:root {
  --paper: #F9F7F3;
  --card: #FFFFFF;
  --tint: #EFECE5;
  --ink: #171817;
  --ink-2: #3A3D39;
  --muted: #686C65;
  --brand: #2B3F35;
  --brand-hover: #1E2E26;
  --brand-tint: rgba(43, 63, 53, 0.08);
  --warm: #9E593B;
  --line: #E2DDD2;
  --btn-ink: #FFFFFF;
  --r: 14px;
  --r-lg: 20px;
  --elev: 0 14px 38px rgba(23, 24, 23, 0.06);
}

/* Editorial palette modes — distinct from any previous site */
body.mode-linen {
  --paper: #F6F3EC;
  --card: #FCFBF8;
  --tint: #ECE6DA;
  --brand: #3A4D3E;
  --brand-hover: #2A392D;
}
body.mode-clay {
  --paper: #F7F2EC;
  --card: #FFFFFF;
  --tint: #EDE3D8;
  --brand: #8F4F35;
  --brand-hover: #733D28;
  --brand-tint: rgba(143, 79, 53, 0.09);
}
body.mode-slate {
  --paper: #F4F5F6;
  --card: #FFFFFF;
  --tint: #E7EAEE;
  --brand: #1F3244;
  --brand-hover: #152330;
  --brand-tint: rgba(31, 50, 68, 0.08);
}
body.mode-dusk {
  --paper: #141517;
  --card: #1C1E22;
  --tint: #24272D;
  --ink: #F3EFE8;
  --ink-2: #D4CFC5;
  --muted: #9A968D;
  --brand: #C89D54;
  --brand-hover: #D9AF65;
  --brand-tint: rgba(200, 157, 84, 0.14);
  --line: #2F333B;
  --btn-ink: #141517;
  --elev: 0 18px 46px rgba(0, 0, 0, 0.36);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .editorial {
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.16;
  color: var(--ink);
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none !important;
}
.wordmark-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  display: inline-block;
}
.menu {
  display: flex;
  align-items: center;
  gap: 24px;
}
.menu a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
}
.menu a:hover { color: var(--ink); }
.menu-cta {
  background: var(--brand);
  color: var(--btn-ink) !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600 !important;
  font-size: 0.84rem !important;
  transition: background 0.16s ease;
}
.menu-cta:hover { background: var(--brand-hover); }

/* Containers */
.shell { max-width: 800px; margin: 0 auto; padding: 52px 24px 88px; }
.shell-wide { max-width: 1080px; margin: 0 auto; padding: 56px 24px 88px; }

/* Kicker & Hero */
.kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.35rem); margin-bottom: 16px; }
.deck {
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.26rem, 2.5vw, 1.56rem);
  color: var(--ink-2);
  line-height: 1.38;
  margin-bottom: 20px;
}
.intro-copy { font-size: 1.04rem; color: var(--ink-2); margin-bottom: 26px; max-width: 670px; }

.cta-cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 14px; }
.btn-buy {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--brand);
  color: var(--btn-ink) !important;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-buy:hover { background: var(--brand-hover); transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink) !important;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none !important;
}
.btn-ghost:hover { border-color: var(--brand); }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 34px;
}
.price-tag {
  font-weight: 600;
  color: var(--ink);
}

.media-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--elev);
  background: var(--tint);
  margin: 28px 0 44px;
}
.media-frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.media-cap {
  padding: 12px 18px;
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--card);
  border-top: 1px solid var(--line);
}

/* Stage 1: Cognitive Mirroring Grid */
.section-sp { margin: 54px 0; }
.section-sp h2 { font-size: clamp(1.72rem, 3.6vw, 2.25rem); margin-bottom: 14px; }
.section-sp p { margin-bottom: 16px; color: var(--ink-2); font-size: 1.01rem; }
.section-sp ul, .section-sp ol { margin: 6px 0 22px 22px; }
.section-sp li { margin-bottom: 11px; color: var(--ink-2); }
.section-sp strong { color: var(--ink); }

.mirror-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.mirror-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 24px;
}
.mirror-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.mirror-card p { font-size: 0.93rem; color: var(--muted); margin-bottom: 0; line-height: 1.6; }

/* Stage 2: Evidence Strip */
.evidence-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--r);
  padding: 24px 26px;
  margin: 30px 0;
  box-shadow: var(--elev);
}
.cite-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.cite-chip {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: var(--ink-2);
}

/* Stage 3: The Real 4-Box Ritual */
.ritual-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  margin: 38px 0;
  box-shadow: var(--elev);
}
.ritual-pre {
  background: var(--brand-tint);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 500;
  margin: 16px 0 22px;
}
.box-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.box-step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}
.box-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 6px;
}
.box-step h4 { font-size: 1.22rem; margin-bottom: 8px; }
.box-step p { font-size: 0.9rem; color: var(--muted); margin-bottom: 0; line-height: 1.55; }

/* Stage 4: Real Physical Book Showcase (Cover + Open Spread) */
.book-proof {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  margin: 48px 0;
  box-shadow: var(--elev);
}
.proof-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 24px 0 28px;
}
.proof-photos figure {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--tint);
}
.proof-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.proof-photos figcaption {
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

/* Timeline 1 -> 21 -> 90 */
.timeline-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0 28px;
}
.tl-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}
.tl-card span {
  display: block;
  font-family: "Newsreader", serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--brand);
  margin-bottom: 6px;
}
.tl-card p { font-size: 0.88rem; color: var(--ink-2); margin-bottom: 0; line-height: 1.55; }

/* Radical Honesty Fit Grid */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0 28px;
}
.fit-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}
.fit-box h4 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}
.fit-box ul { margin: 0 0 0 18px; }
.fit-box li { font-size: 0.9rem; margin-bottom: 7px; color: var(--ink-2); }

/* Price Anchor Banner inside Product Box */
.buy-bar {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.buy-bar-meta strong {
  display: block;
  font-family: "Newsreader", serif;
  font-size: 1.35rem;
  color: var(--ink);
}
.buy-bar-meta span { font-size: 0.86rem; color: var(--muted); }

/* Comparison Table */
.cmp-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  margin: 28px 0;
}
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); color: var(--ink-2); }
th { background: var(--tint); color: var(--ink); font-size: 0.82rem; font-weight: 700; }
tr:last-child td { border-bottom: none; }
td.win { background: var(--brand-tint); color: var(--ink); font-weight: 600; }

/* FAQ Accordion */
details.qa {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 10px;
}
details.qa summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; font-size: 1.25rem; color: var(--brand); font-weight: 400; }
details.qa[open] summary::after { content: "−"; }
details.qa p { margin-top: 12px; margin-bottom: 0; font-size: 0.93rem; color: var(--ink-2); }

/* Cards Grid (Homepage & Related) */
.hero-split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.post-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  box-shadow: var(--elev);
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.post-card:hover { transform: translateY(-3px); border-color: var(--brand); }
.post-card img { width: 100%; height: 176px; object-fit: cover; }
.post-card-in { padding: 20px; display: flex; flex-direction: column; flex: 1; justify-content: space-between; }
.post-card h3 { font-size: 1.28rem; color: var(--ink); margin: 6px 0 8px; }
.post-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 14px; line-height: 1.55; }
.post-card .go { font-size: 0.85rem; font-weight: 600; color: var(--brand); }

/* Footer */
.site-foot {
  border-top: 1px solid var(--line);
  padding: 44px 24px;
  text-align: center;
  font-size: 0.84rem;
  color: var(--muted);
}
.foot-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin-bottom: 14px; }
.foot-nav a { color: var(--ink-2); font-weight: 500; }

@media (max-width: 760px) {
  .hero-split, .proof-photos, .timeline-row, .fit-grid { grid-template-columns: 1fr; }
  .hide-mob { display: none; }
  .shell, .shell-wide { padding: 36px 18px 68px; }
  .book-proof, .ritual-panel { padding: 24px 20px; }
}
