/* Dreamlock — nocturnal brand. Deep indigo night + warm parchment + candle gold.
   Serif display: Fraunces. UI/body: Inter. */

:root {
  --night: #1c2244;
  --night-deep: #12162e;
  --night-soft: #2a3158;
  --paper: #faf7f1;
  --paper-dim: #f1ecdf;
  --ink: #23283f;
  --ink-soft: #5a5f78;
  --gold: #c9973f;
  --gold-bright: #e9c26f;
  --gold-soft: #f3e6c8;
  --line: #e5dfd0;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16.5px;
}
h1, h2, h3, .logo { font-family: 'Fraunces', Georgia, serif; letter-spacing: -0.01em; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.btn {
  display: inline-block; background: var(--gold); color: var(--night-deep);
  font-weight: 600; padding: 13px 26px; border-radius: 999px;
  transition: background .15s ease;
}
.btn:hover { background: var(--gold-bright); text-decoration: none; }
.kicker {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold);
}

/* ---------- header ---------- */
header.site { background: var(--night-deep); }
header.site .bar { display: flex; align-items: center; gap: 28px; padding: 16px 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 20px; color: var(--paper); }
.logo:hover { text-decoration: none; }
.logo svg { border-radius: 8px; flex: none; }
nav.main { display: flex; gap: 22px; flex: 1; }
nav.main a { color: #c6c9de; font-size: 15px; font-weight: 500; }
nav.main a:hover { color: var(--paper); text-decoration: none; }
.badge-soon {
  font-size: 13px; font-weight: 600; color: var(--gold-bright);
  border: 1px solid rgba(233,194,111,.45); padding: 7px 14px; border-radius: 999px;
}
.badge-soon:hover { background: rgba(233,194,111,.12); text-decoration: none; }

/* ---------- landing ---------- */
.hero {
  background-color: var(--night-deep);
  background-image:
    radial-gradient(1200px 600px at 70% -10%, rgba(42,49,88,.85), rgba(18,22,46,.88) 70%),
    url('/img/hero.webp');
  background-size: cover; background-position: center;
  color: var(--paper); text-align: center; padding: 96px 24px 110px; position: relative; overflow: hidden;
}
.hero .stars, .stars { position: absolute; inset: 0; opacity: .6; pointer-events: none; }
.stars svg { width: 100%; height: 100%; }
/* soft film grain over night surfaces */
.grain::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero h1 { font-size: clamp(38px, 6vw, 62px); line-height: 1.1; max-width: 760px; margin: 0 auto 22px; }
.hero h1 em { font-style: italic; color: var(--gold-bright); }
.hero .lead { font-size: 19px; color: #c6c9de; max-width: 620px; margin: 0 auto 34px; }
.hero .kicker { color: var(--gold-bright); margin-bottom: 18px; }
.hero .note { margin-top: 16px; font-size: 13.5px; color: #8b90ad; }

section.band { padding: 84px 0; }
section.band.dim { background: var(--paper-dim); }
section.band h2 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 14px; }
section.band > .wrap > p.lead { color: var(--ink-soft); max-width: 640px; margin-bottom: 40px; font-size: 18px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step .num {
  font-family: 'Fraunces', serif; font-size: 15px; color: var(--night-deep); background: var(--gold-bright);
  width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 600; margin-bottom: 16px;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15.5px; }

/* the dream-card mock */
.card-mock {
  max-width: 430px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px -30px rgba(18,22,46,.45);
  text-align: left;
}
.card-mock .art {
  height: 210px;
  background:
    radial-gradient(160px 90px at 75% 22%, rgba(233,194,111,.75), transparent 60%),
    radial-gradient(500px 260px at 30% 90%, #3a4272, transparent 75%),
    linear-gradient(160deg, #232a52, #12162e);
}
.card-mock .pad { padding: 22px 24px 26px; }
.card-mock h3 { font-size: 21px; margin: 4px 0 10px; }
.card-mock .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 14px; }
.card-mock .chips span {
  font-size: 12.5px; font-weight: 600; color: var(--night); background: var(--gold-soft);
  padding: 5px 11px; border-radius: 999px;
}
.card-mock p { font-size: 14.5px; color: var(--ink-soft); }
.card-mock .q { font-style: italic; color: var(--ink); margin-top: 12px; font-family: 'Fraunces', serif; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 780px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.plan.featured { border-color: var(--gold); box-shadow: 0 18px 45px -28px rgba(201,151,63,.55); }
.plan h3 { font-size: 22px; }
.plan .price { font-family: 'Fraunces', serif; font-size: 34px; margin: 10px 0 2px; }
.plan .per { color: var(--ink-soft); font-size: 14px; margin-bottom: 16px; }
.plan ul { list-style: none; margin: 0 0 6px; }
.plan li { padding: 7px 0 7px 26px; position: relative; font-size: 15px; color: var(--ink); }
.plan li::before { content: '☾'; position: absolute; left: 0; color: var(--gold); }

/* privacy strip */
.privacy-strip { background: var(--night-deep); color: var(--paper); }
.privacy-strip h2 { color: var(--paper); }
.privacy-strip p.lead { color: #c6c9de; }
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.privacy-grid div { border: 1px solid rgba(198,201,222,.2); border-radius: var(--radius); padding: 24px; }
.privacy-grid h3 { font-size: 18px; color: var(--gold-bright); margin-bottom: 8px; }
.privacy-grid p { font-size: 14.5px; color: #c6c9de; }

/* get / coming soon */
#get { text-align: center; }
#get .lead { margin: 0 auto 30px; }

/* ---------- generated pages ---------- */
.page-head { padding: 56px 24px 8px; }
.page-head h1 { font-size: clamp(30px, 4.5vw, 44px); margin: 10px 0 14px; }
.page-head .lead { font-size: 18px; color: var(--ink-soft); max-width: 700px; }

.crumbs { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 26px; }
.crumbs a { color: var(--ink-soft); }
.crumbs span { color: var(--ink); }

.article { padding: 48px 24px 80px; max-width: 780px; }
.article h1 { font-size: clamp(30px, 4.5vw, 42px); line-height: 1.15; margin: 10px 0 10px; }
.article-meta { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 18px; }
.article .lead { font-size: 18.5px; color: var(--ink); font-family: 'Fraunces', Georgia, serif; margin-bottom: 26px; }

.orn { text-align: center; color: var(--gold); font-size: 13px; opacity: .7; margin: 2px 0 24px; user-select: none; }

.symbol-art { margin: 6px 0 30px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px -30px rgba(18,22,46,.5); }
.symbol-art img { width: 100%; }

.prose h2 { font-size: 26px; margin: 38px 0 14px; }
.prose h3 { font-size: 20px; margin: 28px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 8px; }
.prose blockquote { border-left: 3px solid var(--gold); padding-left: 18px; color: var(--ink-soft); margin: 0 0 16px; }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 34px 0; }
.prose strong { color: var(--night); }

.article-faq { max-width: 780px; margin: 10px auto 0; padding: 0 0 10px; }
.article-faq h2 { font-size: 26px; margin-bottom: 16px; }
.article-faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; padding: 0; }
.article-faq summary { cursor: pointer; font-weight: 600; padding: 15px 18px; font-size: 15.5px; }
.article-faq .body { padding: 0 18px 15px; color: var(--ink-soft); font-size: 15px; }

.cta-box {
  display: flex; align-items: center; gap: 28px; justify-content: space-between;
  background: var(--night-deep); color: var(--paper); border-radius: var(--radius);
  padding: 30px 32px; margin: 44px 0;
}
.cta-box h2 { font-size: 23px; margin-bottom: 6px; color: var(--paper); }
.cta-box p { font-size: 14.5px; color: #c6c9de; max-width: 520px; }
.cta-box .btn { flex: none; }

.related h2 { font-size: 24px; margin-bottom: 16px; }
.related-grid, .hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.related-grid a, .hub-card {
  display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px; color: var(--ink); overflow: hidden;
  transition: border-color .15s ease, transform .15s ease;
}
.hub-card .thumb {
  width: calc(100% + 44px); margin: -20px -22px 12px; aspect-ratio: 3 / 2;
  object-fit: cover; display: block;
}
.related-grid a:hover, .hub-card:hover { border-color: var(--gold); text-decoration: none; transform: translateY(-2px); }
.related-grid b, .hub-card b { font-family: 'Fraunces', serif; font-size: 17.5px; line-height: 1.3; }
.related-grid span:not(.kicker), .hub-card span { font-size: 14px; color: var(--ink-soft); }

/* ---------- footer ---------- */
footer.site { background: var(--night-deep); color: #c6c9de; padding: 56px 0 30px; margin-top: 40px; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr; gap: 30px; padding-bottom: 34px; }
footer.site h4 { color: var(--paper); font-size: 13.5px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 8px; }
footer.site a { color: #c6c9de; font-size: 14.5px; }
footer.site a:hover { color: var(--paper); }
footer.site .logo { margin-bottom: 12px; }
footer.site p { font-size: 14px; max-width: 260px; }
.lang-row { border-top: 1px solid rgba(198,201,222,.15); padding: 22px 0; }
.lang-row h4 { margin-bottom: 10px; }
.langs { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; }
.langs .active { color: var(--gold-bright); font-weight: 600; }
footer.site .bottom {
  border-top: 1px solid rgba(198,201,222,.15); padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; color: #8b90ad;
}

/* legal pages */
.legal { max-width: 720px; padding: 56px 24px 80px; }
.legal h1 { font-size: 34px; margin-bottom: 8px; }
.legal .meta { color: var(--ink-soft); font-size: 13.5px; margin-bottom: 28px; }
.legal h2 { font-size: 22px; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--ink); font-size: 15.5px; margin-bottom: 12px; }
.legal ul { margin-left: 22px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  nav.main { display: none; }
  .steps, .privacy-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .plans { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  .cta-box { flex-direction: column; align-items: flex-start; }
}
