/* ============================================================
   tarrot.store — landing page styles
   Dark, candlelit aesthetic. Single-column narrative flow.
   ============================================================ */

:root {
  --ink: #06070f;
  --ink-2: #0a0c18;
  --panel: rgba(18, 22, 42, 0.66);
  --panel-2: rgba(22, 26, 48, 0.55);
  --hair: rgba(233, 199, 123, 0.22);
  --hair-soft: rgba(233, 199, 123, 0.12);
  --text: #f6f3ea;
  --text-soft: #c7c4d6;
  --text-mute: #9aa0b8;
  --gold: #e9c77b;
  --gold-deep: #c79a4a;
  --gold-soft: #f1d9a0;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --maxw: 760px;
  --radius: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--ink);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}

/* Layered candlelit background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(201, 154, 74, 0.20) 0%, rgba(201, 154, 74, 0) 45%),
    radial-gradient(90% 60% at 85% 20%, rgba(60, 78, 140, 0.18) 0%, rgba(0, 0, 0, 0) 55%),
    radial-gradient(100% 70% at 10% 80%, rgba(80, 50, 120, 0.14) 0%, rgba(0, 0, 0, 0) 50%),
    linear-gradient(180deg, #070810 0%, #06070f 40%, #04050b 100%);
}
/* Faint starfield */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 70% 20%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 40% 70%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 85% 60%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 55% 90%, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1.5px 1.5px at 12% 85%, rgba(233, 199, 123, 0.4), transparent);
  opacity: 0.6;
  pointer-events: none;
}

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

/* ---- Top bar ---- */
.topbar {
  text-align: center;
  padding: 22px 0 14px;
  border-bottom: 1px solid var(--hair-soft);
  position: relative;
  z-index: 5;
}
.brandmark {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 24px;
  color: var(--gold);
  text-decoration: none;
  display: inline-block;
}
.brandmark span { color: var(--gold-soft); font-style: italic; font-weight: 500; }
.brandsub {
  font-family: var(--serif);
  font-style: italic;
  color: var(--text-mute);
  font-size: 14px;
  margin-top: 4px;
  letter-spacing: 0.02em;
}
.topnav {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.topnav a {
  color: var(--text-mute);
  text-decoration: none;
  margin: 0 12px;
  transition: color 0.2s ease;
}
.topnav a:hover { color: var(--gold); }

/* ---- Hero ---- */
.hero {
  padding: 44px 22px 32px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  opacity: 0.95;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(38px, 7vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 22px;
}
.hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 auto 34px;
  line-height: 1.5;
}

.hero-image-wrap {
  margin: 0 auto 34px;
  max-width: 480px;
  padding: 0 8px;
}
.frame {
  border-radius: var(--radius);
  border: 1px solid var(--hair);
  overflow: hidden;
  position: relative;
  background: var(--panel);
}
.frame.glow {
  box-shadow:
    0 0 0 1px var(--hair),
    0 20px 60px rgba(0, 0, 0, 0.55),
    0 0 80px -20px rgba(233, 199, 123, 0.35);
}
.frame img { display: block; width: 100%; height: auto; }
.hero-emblem {
  width: 260px;
  height: 260px;
  margin: 0 auto;
  display: block;
}

.lead {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.55;
  color: var(--text);
  max-width: 620px;
  margin: 0 auto 32px;
  text-align: center;
}
.lead strong { color: var(--gold-soft); font-weight: 600; }
.lead .sig {
  font-style: italic;
  color: var(--gold);
}

/* ---- CTA ---- */
.cta-block {
  margin: 30px auto;
  text-align: center;
  max-width: 520px;
}
.cta {
  display: inline-block;
  background: linear-gradient(180deg, var(--gold-soft) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  color: #1a1005;
  border: none;
  padding: 18px 36px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  box-shadow:
    0 10px 30px rgba(201, 154, 74, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  min-width: 260px;
}
.cta:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 38px rgba(201, 154, 74, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  text-decoration: none;
}
.cta-micro {
  color: var(--text-soft);
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  margin-top: 14px;
}
.cta-micro b { color: var(--gold-soft); font-style: normal; font-weight: 600; }

.trust {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 24px;
  flex-wrap: wrap;
  color: var(--text-mute);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.trust svg { width: 16px; height: 16px; }

/* ---- Divider ---- */
.divider {
  text-align: center;
  color: var(--gold);
  font-size: 20px;
  padding: 48px 0;
  opacity: 0.7;
  letter-spacing: 0.4em;
}

/* ---- Sections ---- */
section.wrap {
  padding: 12px 22px;
}
.kicker {
  text-align: center;
  color: var(--gold);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 14px;
  opacity: 0.9;
}
section h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.15;
  color: var(--text);
  text-align: center;
  margin-bottom: 22px;
  letter-spacing: -0.005em;
}
section p.center {
  text-align: center;
  color: var(--text-soft);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 18px;
}
section p.center strong { color: var(--gold-soft); font-weight: 600; }
section p.center .em { font-style: italic; color: var(--text); }

/* ---- Pillars (feature blocks) ---- */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 36px;
}
.pillar {
  background: var(--panel);
  border: 1px solid var(--hair-soft);
  border-radius: 16px;
  padding: 22px 22px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.pillar .ic {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(233, 199, 123, 0.08);
  border: 1px solid var(--hair);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar .ic svg { width: 22px; height: 22px; }
.pillar h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--gold-soft);
  margin-bottom: 6px;
  line-height: 1.2;
}
.pillar p {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.55;
}
.pillar p em { color: var(--gold); font-style: italic; }

/* ---- Product cards ---- */
.books {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 36px;
}
.book {
  background: var(--panel);
  border: 1px solid var(--hair-soft);
  border-radius: 20px;
  padding: 30px 26px;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.book:hover {
  border-color: var(--hair);
  transform: translateY(-2px);
}
.book .badge {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 5px 12px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  margin-bottom: 16px;
}
.book h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 30px;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.15;
}
.book p.desc {
  color: var(--text-soft);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
  margin-bottom: 22px;
}
.book .price {
  font-family: var(--serif);
  font-size: 42px;
  color: var(--gold-soft);
  font-weight: 600;
  line-height: 1;
  margin: 14px 0 6px;
}
.book .price-sub {
  color: var(--text-mute);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.book .cta { min-width: 220px; padding: 15px 30px; font-size: 15px; }

/* ---- Guarantee ---- */
.guarantee {
  text-align: center;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 34px 26px;
  background: var(--panel-2);
  margin-top: 30px;
}
.guarantee .seal-mark {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 26px;
}
.guarantee h3 {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--gold-soft);
  margin-bottom: 10px;
}
.guarantee p {
  color: var(--text-soft);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  max-width: 480px;
  margin: 0 auto;
}

/* ---- FAQ ---- */
.faq { margin-top: 30px; }
.faq details {
  border-top: 1px solid var(--hair-soft);
  padding: 18px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--hair-soft); }
.faq summary {
  cursor: pointer;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::after {
  content: '＋';
  color: var(--gold);
  font-size: 22px;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: '−'; }
.faq details p {
  margin-top: 12px;
  color: var(--text-soft);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}
.faq details p a { color: var(--gold); }

/* ---- Legal / content pages ---- */
.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 22px 60px;
  background: transparent;
}
.legal h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 46px);
  color: var(--text);
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.legal .meta {
  text-align: center;
  color: var(--text-mute);
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  margin-bottom: 40px;
}
.legal p, .legal li {
  color: var(--text-soft);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.legal h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  color: var(--gold-soft);
  margin: 34px 0 12px;
  line-height: 1.25;
  text-align: left;
}
.legal ul, .legal ol { margin: 0 0 16px 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--gold-soft); }
.legal strong { color: var(--text); }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  margin-top: 8px;
}
.contact-info h2 { margin-top: 0; }
.contact-form label {
  display: block;
  color: var(--text);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--panel);
  border: 1px solid var(--hair-soft);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  margin-bottom: 14px;
  transition: border-color 0.15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form textarea { min-height: 130px; resize: vertical; }

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--hair-soft);
  margin-top: 60px;
  padding: 44px 22px 30px;
  background: rgba(4, 5, 11, 0.5);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 30px;
  margin-bottom: 34px;
}
.footer-brand .brandmark { font-size: 22px; }
.footer-brand p {
  color: var(--text-mute);
  font-size: 14px;
  margin-top: 10px;
  line-height: 1.55;
  font-family: var(--serif);
  font-style: italic;
}
.footer-col h4 {
  font-family: var(--sans);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--gold-soft); }
.footer-contact p {
  color: var(--text-soft);
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.55;
}
.footer-contact a { color: var(--gold-soft); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid var(--hair-soft);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-mute);
  font-size: 12px;
  letter-spacing: 0.06em;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---- Spec sheet ---- */
.spec {
  margin-top: 32px;
  border-top: 1px solid var(--hair-soft);
}
.spec-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 18px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--hair-soft);
  align-items: baseline;
}
.spec-row dt {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.spec-row dd {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.6;
}
.spec-row dd b { color: var(--text); font-weight: 600; }

/* ---- Table of contents ---- */
.toc { margin-top: 34px; }
.toc-part {
  border: 1px solid var(--hair-soft);
  background: var(--panel);
  border-radius: 16px;
  padding: 24px 24px 18px;
  margin-bottom: 16px;
}
.toc-part h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  color: var(--gold-soft);
  margin-bottom: 4px;
  line-height: 1.2;
}
.toc-part .toc-meta {
  color: var(--text-mute);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.toc-part ul { list-style: none; }
.toc-part li {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.55;
  padding: 7px 0 7px 22px;
  position: relative;
  border-top: 1px solid rgba(233, 199, 123, 0.07);
}
.toc-part li:first-child { border-top: none; }
.toc-part li::before {
  content: '\2022';
  position: absolute;
  left: 4px;
  color: var(--gold);
  opacity: 0.7;
}
.toc-part li b { color: var(--text); font-weight: 600; }

/* ---- "What this is not" disclosure box ---- */
.notbox {
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: var(--panel-2);
  padding: 30px 28px;
  margin-top: 30px;
}
.notbox ul { list-style: none; }
.notbox li {
  color: var(--text-soft);
  font-size: 16.5px;
  line-height: 1.65;
  padding: 11px 0 11px 34px;
  position: relative;
  border-bottom: 1px solid var(--hair-soft);
}
.notbox li:last-child { border-bottom: none; }
.notbox li::before {
  content: '\2715';
  position: absolute;
  left: 6px;
  top: 11px;
  color: var(--gold);
  font-size: 13px;
  opacity: 0.85;
}
.notbox li b { color: var(--text); font-weight: 600; }

/* ---- Audience columns ---- */
.audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 34px;
}
.audience .col {
  background: var(--panel);
  border: 1px solid var(--hair-soft);
  border-radius: 16px;
  padding: 24px 22px;
}
.audience h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--gold-soft);
  margin-bottom: 12px;
}
.audience ul { list-style: none; }
.audience li {
  color: var(--text-soft);
  font-size: 15.5px;
  line-height: 1.55;
  padding: 8px 0 8px 20px;
  position: relative;
}
.audience li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--gold);
  opacity: 0.6;
}

/* ---- Single product buy panel ---- */
.buy {
  background: var(--panel);
  border: 1px solid var(--hair);
  border-radius: 20px;
  padding: 34px 28px;
  text-align: center;
  margin-top: 34px;
}
.buy h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 30px;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.15;
}
.buy .sub {
  color: var(--text-mute);
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  margin-bottom: 18px;
}
.buy .price {
  font-family: var(--serif);
  font-size: 52px;
  color: var(--gold-soft);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 4px;
}
.buy .price-sub {
  color: var(--text-mute);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.buy .fineprint {
  color: var(--text-mute);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Responsive ---- */
@media (max-width: 720px) {
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
  .audience { grid-template-columns: 1fr; }
  .buy .price { font-size: 44px; }
  body { font-size: 16px; }
  .hero { padding: 30px 18px 22px; }
  .lead { font-size: 19px; }
  .cta { width: 100%; min-width: 0; }
  .book { padding: 26px 20px; }
  .book h3 { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .divider { padding: 34px 0; }
  .trust { gap: 14px; font-size: 11px; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .topnav a { margin: 0 8px; font-size: 12px; }
}
