/* The Hidden Lantern — marketing site. Palette mirrors the Lumina app. */
:root {
  --bg: #14101f;
  --bg-2: #1e1730;
  --panel: #241b3a;
  --panel-2: #2c2147;
  --border: #3a2e5c;
  --text: #ece8f5;
  --muted: #a99fc6;
  --accent: #c9a227;   /* gold */
  --accent-2: #8b6fe0; /* violet */
  --ok: #3fb27f;
  --err: #e0617a;
  --radius: 14px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 50% -10%, #2a1f47 0%, var(--bg) 60%),
    var(--bg);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; line-height: 1.1; margin: 0; }
p { margin: 0 0 1rem; }
a { color: var(--accent); text-decoration: none; }

/* ---- Wordmark ---- */
.wordmark { font-family: "Cormorant Garamond", serif; font-weight: 700; letter-spacing: 0.5px; }
.wordmark b { color: var(--accent); font-weight: 700; }

/* ---- Buttons ---- */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; cursor: pointer; border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--accent); color: #2a200a; box-shadow: 0 6px 24px rgba(201,162,39,.25); }
.btn-gold:hover { box-shadow: 0 10px 32px rgba(201,162,39,.4); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent-2); }
.btn-login {
  background: rgba(139,111,224,.14); border: 1px solid var(--accent-2); color: var(--text);
  padding: 9px 20px;
}
.btn-login:hover { background: rgba(139,111,224,.26); }
.btn.full { display: block; text-align: center; width: 100%; }
.btn.lg { padding: 16px 34px; font-size: 17px; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(20, 16, 31, 0.72); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: baseline; gap: 10px; color: var(--text); }
.brand .lantern { font-size: 20px; filter: drop-shadow(0 0 6px rgba(201,162,39,.5)); }
.brand .wordmark { font-size: 26px; }
.brand .sub { font-size: 12px; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; }
.header-nav { display: flex; align-items: center; gap: 26px; }
.header-nav a:not(.btn) { color: var(--muted); font-size: 15px; font-weight: 500; }
.header-nav a:not(.btn):hover { color: var(--text); }

/* ---- Hero ---- */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
  padding: clamp(48px, 8vw, 100px) clamp(16px, 4vw, 40px) 60px;
}
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: 3px; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 700; margin-bottom: 22px; }
.lead { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 36ch; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.reassure { font-size: 13px; color: var(--muted); opacity: .85; }

.hero-art { position: relative; height: 380px; }
.hero-art .card {
  position: absolute; width: 200px; border-radius: 14px;
  border: 1px solid var(--border); box-shadow: 0 18px 50px rgba(0,0,0,.5);
}
.hero-art .c1 { top: 30px; left: 6%; transform: rotate(-9deg); z-index: 1; }
.hero-art .c2 { top: 0; left: 32%; transform: rotate(0deg); z-index: 3; }
.hero-art .c3 { top: 40px; left: 56%; transform: rotate(9deg); z-index: 2; }

/* ---- Sections ---- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 8vw, 88px) clamp(16px, 4vw, 40px); }
.section.alt { max-width: none; background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section.alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-title { font-size: clamp(30px, 4.5vw, 46px); font-weight: 600; text-align: center; }
.section-title.left { text-align: left; }
.section-sub { text-align: center; color: var(--muted); max-width: 52ch; margin: 12px auto 40px; }

/* ---- Offers ---- */
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.offer {
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 30px;
  display: flex; flex-direction: column;
}
.offer.featured { border-color: var(--accent-2); box-shadow: 0 0 0 1px rgba(139,111,224,.3), 0 16px 50px rgba(0,0,0,.35); }
.offer-head { display: flex; align-items: baseline; justify-content: space-between; }
.offer-head h3 { font-size: 30px; font-weight: 600; }
.offer .price { font-family: "Cormorant Garamond", serif; font-size: 38px; font-weight: 700; color: var(--accent); margin: 0; }
.offer-tag { color: var(--accent-2); font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; margin: 4px 0 14px; }
.ticks { list-style: none; padding: 0; margin: 6px 0 22px; }
.ticks li { padding-left: 26px; position: relative; color: var(--muted); margin-bottom: 8px; }
.ticks li::before { content: "✦"; position: absolute; left: 0; color: var(--accent); }
.offer .btn.full { margin-top: auto; }

/* ---- Steps ---- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps li { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; }
.step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; margin-bottom: 14px;
  background: rgba(201,162,39,.14); color: var(--accent); border: 1px solid var(--accent);
  font-family: "Cormorant Garamond", serif; font-size: 20px; font-weight: 700;
}
.steps h3 { font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---- Spreads ---- */
.spread-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 820px; margin: 0 auto; }
.chip {
  background: var(--panel); border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 18px; font-size: 15px; color: var(--text);
}
.chip.more { color: var(--accent); border-color: var(--accent); }

/* ---- Deck ---- */
.deck { display: grid; }
.deck > * { max-width: var(--maxw); }
.deck { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.deck-art { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.deck-art img { width: 100%; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 12px 36px rgba(0,0,0,.4); }
.deck-art img:nth-child(1) { transform: rotate(-3deg); }
.deck-art img:nth-child(4) { transform: rotate(3deg); }
.deck-copy p { color: var(--muted); }
.deck-copy strong { color: var(--text); }

/* ---- Final CTA ---- */
.cta-final { text-align: center; }
.cta-final h2 { font-size: clamp(34px, 5vw, 54px); font-weight: 700; margin-bottom: 10px; }
.cta-final p { color: var(--muted); margin-bottom: 28px; }

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--border); padding: 40px clamp(16px, 4vw, 40px);
  text-align: center; color: var(--muted);
}
.foot-brand { font-size: 18px; margin-bottom: 14px; }
.foot-links { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.foot-links a { color: var(--muted); font-size: 14px; }
.foot-links a:hover { color: var(--text); }
.foot-fine { font-size: 12px; opacity: .7; max-width: 50ch; margin: 0 auto; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { height: 320px; margin-top: 10px; }
  .hero-art .card { width: 160px; }
  .cards-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .deck { grid-template-columns: 1fr; }
  .brand .sub { display: none; }
  .header-nav { gap: 14px; }
  .header-nav a:not(.btn) { display: none; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .deck-art { grid-template-columns: 1fr 1fr; }
}
