/* ============================================================
   NightShift — night-observatory editorial theme
   Fraunces (serif) + Inter Tight (sans)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
:root {
  --bg: #EDE6D6;            /* moonlight beige */
  --bg-alt: #E1D8C1;         /* slightly deeper */
  --fg: #14192B;             /* near-black indigo */
  --muted: #56617F;
  --border: #CFC5AA;
  --accent: #E0A458;         /* amber */
  --accent-deep: #B78030;
  --dark: #1B2340;           /* deep indigo */
  --dark-2: #0F1528;         /* almost-black indigo */
  --serif: "Fraunces", "Cormorant Garamond", "Georgia", serif;
  --sans: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(20, 25, 43, 0.08);
}

html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

/* ------------------------------ HEADER ------------------------------ */

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky; top: 0; z-index: 20;
}
.site-header .row {
  max-width: 1100px; margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  font-family: var(--serif); font-weight: 500; font-size: 26px; letter-spacing: -0.01em;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.brand .moon {
  width: 22px; height: 22px; border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, var(--accent) 0%, #a86814 55%, #6a3f0a 100%);
  box-shadow: 0 0 12px rgba(224, 164, 88, 0.4);
  flex: none;
}
.brand em {
  font-style: italic; font-weight: 400; color: var(--muted);
}
.nav { display: flex; gap: 28px; }
.nav a {
  text-decoration: none; color: var(--muted); font-size: 14px;
  letter-spacing: 0.01em; transition: color 0.15s;
}
.nav a:hover { color: var(--fg); }
@media (max-width: 640px) {
  .nav { display: none; }
  .site-header .row { padding: 16px 20px; }
}

/* ------------------------------ ARTICLE ------------------------------ */

main.article { max-width: 720px; margin: 0 auto; padding: 56px 24px 20px; }
@media (max-width: 640px) { main.article { padding: 32px 20px 16px; } }

.eyebrow {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-deep); font-weight: 600; margin-bottom: 16px;
}
h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 5.5vw, 54px);
  line-height: 1.08; font-weight: 500; letter-spacing: -0.02em;
  margin: 0 0 24px;
}
h1 em {
  font-style: italic; color: var(--accent-deep);
  font-weight: 400;
}
.byline {
  display: flex; align-items: center; gap: 12px; margin-top: 24px;
  color: var(--muted); font-size: 14px;
}
.byline .avatar {
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--dark); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 500; font-size: 18px;
}
.byline strong { color: var(--fg); font-weight: 600; }

.lead {
  font-family: var(--serif); font-size: 24px; line-height: 1.45;
  color: var(--fg); margin: 40px 0 24px; font-weight: 400;
}

.article p { margin: 0 0 20px; }
.article p .drop {
  float: left; font-family: var(--serif); font-size: 72px; line-height: 0.85;
  padding: 6px 10px 0 0; color: var(--accent-deep); font-weight: 500;
}

h2 {
  font-family: var(--serif); font-size: clamp(26px, 3.5vw, 36px);
  line-height: 1.15; font-weight: 500; margin: 48px 0 20px;
  letter-spacing: -0.01em;
}

h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin: 32px 0 12px; }

/* ------------------------------ STAT ------------------------------ */

.stat {
  border-left: 3px solid var(--accent); padding: 24px 28px;
  background: var(--bg-alt); border-radius: 0 var(--radius) var(--radius) 0;
  margin: 32px 0;
}
.stat .num {
  font-family: var(--serif); font-size: 60px; line-height: 1;
  color: var(--dark); font-weight: 600; letter-spacing: -0.03em;
  display: block; margin-bottom: 8px;
}
.stat .num span { color: var(--accent-deep); }
.stat .lbl { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ------------------------------ PULL QUOTE ------------------------------ */

.pull-quote {
  font-family: var(--serif); font-size: clamp(22px, 3vw, 30px); line-height: 1.3;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 36px 0; margin: 48px 0; font-weight: 400; color: var(--fg);
  text-align: center; font-style: italic;
}
.pull-quote::before { content: "«"; color: var(--accent); margin-right: 4px; }
.pull-quote::after { content: "»"; color: var(--accent); margin-left: 4px; }

/* ------------------------------ REASONS LIST ------------------------------ */

.list-reasons { list-style: none; padding: 0; margin: 24px 0; }
.list-reasons li {
  padding: 22px 26px; border: 1px solid var(--border);
  border-radius: var(--radius); background: #fff; margin-bottom: 14px;
  display: flex; gap: 22px; transition: border-color 0.2s, box-shadow 0.2s;
}
.list-reasons li:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.list-reasons .n {
  font-family: var(--serif); font-size: 34px; line-height: 1;
  color: var(--accent-deep); font-weight: 500; flex: none;
  min-width: 42px;
}
.list-reasons h4 { margin: 0 0 6px; font-size: 17px; font-weight: 600; }
.list-reasons p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ------------------------------ HERO IMAGE (SVG starfield) ------------------------------ */

.hero-image {
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(ellipse at 75% 25%, rgba(224, 164, 88, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 25% 80%, rgba(66, 82, 130, 0.35) 0%, transparent 55%),
    linear-gradient(180deg, #0F1528 0%, #1B2340 50%, #232B4A 100%);
  border-radius: var(--radius); margin: 32px 0 8px; overflow: hidden; position: relative;
}
.hero-image .stars {
  position: absolute; inset: 0; opacity: 0.85;
  background-image:
    radial-gradient(1.5px 1.5px at 15% 20%, #ffffff 100%, transparent),
    radial-gradient(1px 1px at 40% 15%, #ffffff 100%, transparent),
    radial-gradient(2px 2px at 60% 40%, #ffffff 100%, transparent),
    radial-gradient(1px 1px at 85% 65%, #ffffff 100%, transparent),
    radial-gradient(1.5px 1.5px at 10% 75%, #ffffff 100%, transparent),
    radial-gradient(1px 1px at 30% 90%, #ffffff 100%, transparent),
    radial-gradient(1.5px 1.5px at 55% 82%, #ffffff 100%, transparent),
    radial-gradient(1px 1px at 78% 30%, #ffffff 100%, transparent),
    radial-gradient(2px 2px at 92% 12%, #ffffff 100%, transparent),
    radial-gradient(1px 1px at 5% 45%, #ffffff 100%, transparent),
    radial-gradient(1.5px 1.5px at 45% 55%, #ffffff 100%, transparent),
    radial-gradient(1px 1px at 70% 88%, #ffffff 100%, transparent);
  pointer-events: none;
}
.hero-image .moon-big {
  position: absolute; right: 12%; top: 22%; width: clamp(80px, 14vw, 140px); aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle at 40% 40%, #F5E0BA 0%, #E0A458 55%, #8B5A1A 100%);
  box-shadow: 0 0 50px 12px rgba(224, 164, 88, 0.4), inset -12px -14px 30px rgba(0,0,0,0.35);
}
.hero-image .horizon {
  position: absolute; left: 0; right: 0; bottom: 0; height: 22%;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 21, 40, 0.7) 60%, #0A0F1E 100%);
}
.hero-image .caption {
  position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%);
  color: rgba(237, 230, 214, 0.75); font-family: var(--serif);
  font-style: italic; font-size: clamp(14px, 2vw, 18px);
  letter-spacing: 0.02em;
}

/* ------------------------------ CTA CARD ------------------------------ */

.cta-card {
  margin: 56px auto; max-width: 640px; padding: 44px 32px;
  background: var(--dark); color: var(--bg); border-radius: 14px; text-align: center;
  position: relative; overflow: hidden;
  box-shadow: 0 10px 40px rgba(20, 25, 43, 0.15);
}
.cta-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(224, 164, 88, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(224, 164, 88, 0.12) 0%, transparent 45%);
  pointer-events: none;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card .tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(224, 164, 88, 0.18); color: var(--accent);
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600;
  margin-bottom: 20px;
}
.cta-card h2 {
  color: var(--bg); font-family: var(--serif); font-size: clamp(26px, 4vw, 36px);
  font-weight: 500; margin: 0 0 12px; line-height: 1.15;
}
.cta-card p { color: rgba(237, 230, 214, 0.78); margin: 0 0 24px; font-size: 15.5px; line-height: 1.65; }
.cta-card .price {
  font-family: var(--serif); font-size: 52px; color: var(--accent);
  font-weight: 500; line-height: 1; margin: 20px 0 24px;
}
.cta-card .price small { font-size: 20px; color: rgba(237, 230, 214, 0.55); font-family: var(--sans); font-weight: 400; }

.btn-cta {
  display: inline-block; padding: 16px 40px; border-radius: 8px;
  background: var(--accent); color: var(--dark-2); text-decoration: none;
  font-weight: 700; font-size: 16px; letter-spacing: 0.01em;
  transition: transform 0.15s, background 0.15s; border: 0;
}
.btn-cta:hover { background: #edb168; transform: translateY(-1px); }
.btn-cta.wide { display: block; width: 100%; padding: 18px; }

/* ------------------------------ FOOTER ------------------------------ */

.site-footer {
  background: var(--dark-2); color: #8A96B8;
  margin-top: 80px; padding: 40px 24px;
  position: relative; overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 8% 30%, rgba(255,255,255,0.4) 100%, transparent),
    radial-gradient(1px 1px at 25% 70%, rgba(255,255,255,0.3) 100%, transparent),
    radial-gradient(1.5px 1.5px at 55% 40%, rgba(255,255,255,0.35) 100%, transparent),
    radial-gradient(1px 1px at 80% 60%, rgba(255,255,255,0.3) 100%, transparent),
    radial-gradient(1px 1px at 95% 25%, rgba(255,255,255,0.4) 100%, transparent);
  pointer-events: none;
}
.site-footer .row {
  max-width: 1100px; margin: 0 auto; position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.site-footer .brand { color: var(--bg); font-size: 22px; }
.site-footer .brand .moon { width: 18px; height: 18px; }
.site-footer .links { display: flex; gap: 28px; flex-wrap: wrap; }
.site-footer a {
  color: #8A96B8; text-decoration: none; font-size: 14px; transition: color 0.15s;
}
.site-footer a:hover { color: var(--bg); }
.site-footer .copy { font-size: 13px; color: #56617F; margin-top: 20px; text-align: center; position: relative; }

/* ============================================================
   CHECKOUT
   ============================================================ */

.checkout-wrap { max-width: 560px; margin: 0 auto; padding: 40px 24px; }
.checkout-wrap h1 {
  font-size: clamp(28px, 4.5vw, 40px); margin-bottom: 24px;
}
.summary {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 24px; margin-bottom: 24px;
}
.summary .row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; font-size: 15.5px;
}
.summary .row.big { border-top: 1px solid var(--border); padding-top: 16px; margin-top: 8px; font-size: 18px; font-weight: 600; }
.summary .row.big span:last-child { font-family: var(--serif); font-size: 22px; color: var(--accent-deep); }
.summary .product { display: flex; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 12px; }
.summary .product .cover {
  width: 64px; height: 84px; background: var(--dark);
  border-radius: 4px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 22px; color: var(--accent); font-weight: 600;
  letter-spacing: -0.02em;
}
.summary .product .info h3 { margin: 0 0 4px; font-family: var(--sans); font-size: 15px; font-weight: 600; }
.summary .product .info p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.55; }

form.lead { display: flex; flex-direction: column; gap: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--fg); }
.field input {
  width: 100%; height: 48px; padding: 0 16px; font-size: 15.5px;
  border: 1px solid var(--border); border-radius: 8px;
  background: #fff; color: var(--fg); outline: none;
  transition: border-color 0.15s, box-shadow 0.15s; font-family: var(--sans);
}
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(224, 164, 88, 0.18); }
.consent { text-align: center; font-size: 13px; color: var(--muted); }
.consent a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   THANK YOU
   ============================================================ */

.thanks-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 40px 24px; background: var(--bg);
  position: relative; overflow: hidden;
}
.thanks-wrap::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 15% 20%, rgba(20,25,43,0.15) 100%, transparent),
    radial-gradient(1.5px 1.5px at 40% 60%, rgba(20,25,43,0.12) 100%, transparent),
    radial-gradient(1px 1px at 75% 30%, rgba(20,25,43,0.15) 100%, transparent),
    radial-gradient(1px 1px at 88% 78%, rgba(20,25,43,0.12) 100%, transparent);
  pointer-events: none;
}
.thanks-inner { max-width: 500px; text-align: center; position: relative; }
.thanks-icon {
  width: 88px; height: 88px; border-radius: 999px;
  background: var(--dark); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 32px;
  box-shadow: 0 8px 30px rgba(20, 25, 43, 0.15);
}
.thanks-inner h1 { font-family: var(--serif); font-size: clamp(32px, 5vw, 46px); line-height: 1.1; margin: 0 0 20px; font-weight: 500; letter-spacing: -0.02em; }
.thanks-inner p { color: var(--muted); font-size: 17px; line-height: 1.65; margin: 0 0 32px; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px;
  border: 1px solid var(--border); border-radius: 8px;
  color: var(--fg); text-decoration: none; font-weight: 600;
  background: #fff;
  transition: background 0.15s, border-color 0.15s;
}
.btn-outline:hover { background: var(--bg-alt); border-color: var(--accent); }

/* ============================================================
   INFO PAGES (privacy / terms / contacts)
   ============================================================ */

.doc { max-width: 720px; margin: 0 auto; padding: 48px 24px; }
.doc h1 {
  font-size: clamp(28px, 4vw, 42px); margin-bottom: 8px; letter-spacing: -0.02em;
}
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.doc h2 { margin-top: 40px; font-size: 22px; font-weight: 500; }
.doc p, .doc li { color: var(--fg); font-size: 16.5px; line-height: 1.75; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }

.contact-grid { display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card {
  padding: 24px; border: 1px solid var(--border); border-radius: var(--radius);
  background: #fff;
}
.contact-card .label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 8px; }
.contact-card .val { font-size: 18px; font-weight: 600; }
.contact-card .val a { text-decoration: none; }
.contact-card .val a:hover { color: var(--accent-deep); }
