/* Vespere marketing site — brand system
   Palette: Night #1A0B2E · Deep Violet #2E1065 · Ring Violet #5B21B6 · Lilac #A78BFA · White
   Display: Marcellus · UI/body: Inter · "all clear" = green */

:root {
  --night: #1A0B2E;
  --night-2: #150920;
  --panel: #221038;
  --panel-2: #2A1448;
  --deep-violet: #2E1065;
  --ring-violet: #5B21B6;
  --violet-500: #7C3AED;
  --lilac: #A78BFA;
  --ok: #34D399;
  --white: #FFFFFF;
  --text: #ECE7F5;
  --text-muted: #B7AECB;
  --text-dim: #8C82A6;
  --border: rgba(167, 139, 250, 0.16);
  --border-strong: rgba(167, 139, 250, 0.30);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 14px;
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--night);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.serif { font-family: 'Marcellus', Georgia, 'Times New Roman', serif; }

a { color: var(--lilac); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--white); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
  color: var(--lilac);
}

h1, h2, h3 { font-family: 'Marcellus', Georgia, serif; font-weight: 400; line-height: 1.12; color: var(--white); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); letter-spacing: -0.005em; }
h3 { font-size: 1.22rem; }
p { color: var(--text-muted); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--violet-500), var(--ring-violet));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}
.btn-primary:hover { color: var(--white); transform: translateY(-1px); box-shadow: 0 12px 30px rgba(124, 58, 237, 0.45); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { color: var(--white); border-color: var(--lilac); background: rgba(167,139,250,0.06); }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 9, 32, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand .mark { width: 30px; height: 30px; }
.brand .word { font-family: 'Marcellus', serif; font-size: 22px; color: var(--white); letter-spacing: 0.01em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--text-muted); font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: var(--white); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 96px 0 88px;
  background:
    radial-gradient(900px 480px at 72% -10%, rgba(124, 58, 237, 0.28), transparent 60%),
    radial-gradient(700px 420px at 8% 8%, rgba(91, 33, 182, 0.22), transparent 55%),
    var(--night);
  overflow: hidden;
}
.hero-star {
  position: absolute; right: -60px; top: 40px; width: 420px; height: 420px;
  opacity: 0.10; pointer-events: none;
}
.hero-inner { max-width: 760px; position: relative; z-index: 1; }
.hero h1 { margin: 18px 0 0; }
.hero .lede { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--text-muted); margin-top: 22px; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--text-dim); }

/* ---- Sections ---- */
section { padding: 84px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-head p { margin-top: 16px; font-size: 1.05rem; }
.panel { background: var(--night-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* who it's for */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.audience .card { padding: 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); }
.audience .card h3 { color: var(--white); margin-bottom: 8px; }
.audience .card p { font-size: 0.96rem; }

/* features grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  padding: 28px; border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--night-2));
  transition: border-color .2s ease, transform .2s ease;
}
.feature:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.feature .ficon { width: 34px; height: 34px; margin-bottom: 16px; color: var(--lilac); }
.feature h3 { color: var(--white); margin-bottom: 8px; font-size: 1.12rem; }
.feature p { font-size: 0.95rem; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); position: relative; }
.step .num {
  font-family: 'Marcellus', serif; font-size: 30px; color: var(--lilac); display: block; margin-bottom: 10px;
}
.step h3 { font-size: 1.05rem; color: var(--white); margin-bottom: 6px; }
.step p { font-size: 0.92rem; }

/* trust */
.trust { background:
    radial-gradient(700px 360px at 80% 0%, rgba(91,33,182,0.20), transparent 60%), var(--night-2); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trust .card { padding: 28px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: rgba(34,16,56,0.6); }
.trust .card h3 { color: var(--white); margin-bottom: 10px; font-size: 1.12rem; }
.trust .disclaimer {
  margin-top: 36px; padding: 22px 26px; border-left: 3px solid var(--lilac);
  background: rgba(167,139,250,0.07); border-radius: 8px; font-size: 1.02rem; color: var(--text);
}

/* pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); }
.plan.featured { border-color: var(--lilac); box-shadow: 0 0 0 1px rgba(167,139,250,0.25), var(--shadow); }
.plan .tier { font-family: 'Marcellus', serif; font-size: 1.5rem; color: var(--white); }
.plan .price { font-size: 1.05rem; color: var(--lilac); margin: 6px 0 16px; font-weight: 600; }
.plan ul { list-style: none; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }
.plan li { font-size: 0.95rem; color: var(--text-muted); padding-left: 26px; position: relative; }
.plan li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--ok); font-weight: 700; }
.plan .badge { align-self: flex-start; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--night); background: var(--lilac); padding: 3px 9px; border-radius: 20px; font-weight: 700; margin-bottom: 12px; }
.plan .btn { margin-top: auto; justify-content: center; }
.pricing-note { text-align: center; margin-top: 26px; color: var(--text-dim); font-size: 14px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; font-family: 'Marcellus', serif; font-size: 1.18rem;
  color: var(--white); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--lilac); font-family: 'Inter', sans-serif; font-size: 1.4rem; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 14px; font-size: 1rem; }

/* CTA band */
.cta-band { text-align: center; background:
    radial-gradient(700px 360px at 50% 120%, rgba(124,58,237,0.30), transparent 60%), var(--deep-violet); }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { max-width: 560px; margin: 0 auto 30px; color: #D9CEF2; }

/* footer */
footer { border-top: 1px solid var(--border); padding: 54px 0 40px; background: var(--night-2); }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 36px; }
.footer-brand { max-width: 320px; }
.footer-brand .word { font-family: 'Marcellus', serif; font-size: 20px; color: var(--white); }
.footer-brand p { margin-top: 10px; font-size: 0.92rem; }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-dim); margin-bottom: 14px; font-weight: 600; }
.footer-col a { display: block; color: var(--text-muted); font-size: 14px; margin-bottom: 9px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 26px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-dim); }

/* legal pages */
.legal { padding: 60px 0 80px; }
.legal .container { max-width: 800px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.legal .updated { color: var(--text-dim); font-size: 14px; margin-bottom: 12px; }
.legal .notice { padding: 16px 20px; border-left: 3px solid var(--lilac); background: rgba(167,139,250,0.07);
  border-radius: 8px; font-size: 0.95rem; color: var(--text); margin: 22px 0 36px; }
.legal h2 { font-size: 1.4rem; margin: 34px 0 12px; }
.legal h3 { font-size: 1.1rem; margin: 22px 0 8px; color: var(--text); }
.legal p, .legal li { color: var(--text-muted); font-size: 0.98rem; }
.legal ul { margin: 12px 0 12px 22px; display: flex; flex-direction: column; gap: 8px; }
.legal a.back { display: inline-block; margin-bottom: 28px; font-size: 14px; }

/* responsive */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .audience, .features, .steps, .trust-grid, .pricing-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 60px; }
  section { padding: 60px 0; }
  .hero-star { display: none; }
}
