/* Celestial Collective — marketing site.
   Hand-written CSS, no framework, no build step. The whole point of this site is
   that it is indexable and fast; a 200KB framework to render eight static pages
   would be working against both. */

:root {
  --ink: #1A1C22;
  --paper: #FBF9F5;
  --cream: #F4EFE7;
  --gold: #B08D3C;
  --line: #E5DDCE;
  --mute: #6E7178;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: .3px; }
h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.15; margin: 0 0 20px; }
h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.25; margin: 0 0 16px; }
h3 { font-size: 20px; margin: 0 0 8px; }
p { margin: 0 0 18px; }
a { color: var(--ink); }

.eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 1.8px; text-transform: uppercase; color: var(--gold);
  margin: 0 0 14px;
}
.lede { font-size: 20px; line-height: 1.6; color: var(--mute); }
.muted { color: var(--mute); }
.small { font-size: 14px; }

/* ── Header ──────────────────────────────────────────────────────────────── */
header.site {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky; top: 0; z-index: 10;
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 68px; flex-wrap: wrap;
}
.brand { display: block; line-height: 0; }
.brand img { height: 38px; width: auto; display: block; }
@media (max-width: 640px) { .brand img { height: 31px; } }
nav.site { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
nav.site a {
  font-size: 14.5px; text-decoration: none; color: var(--mute);
}
nav.site a:hover { color: var(--ink); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block; text-decoration: none; font-family: var(--sans);
  font-size: 13px; font-weight: 600; letter-spacing: 1.4px;
  text-transform: uppercase; padding: 15px 30px; border-radius: 3px;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
}
.btn:hover { opacity: .88; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 0; }

/* ── Sections ────────────────────────────────────────────────────────────── */
section { padding: 72px 0; border-bottom: 1px solid var(--line); }
section.hero { padding: 96px 0 84px; }
section.tint { background: var(--cream); }

.grid { display: grid; gap: 22px; margin-top: 34px; }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 26px 24px;
}
.card h3 { font-family: var(--serif); }
.card p:last-child { margin-bottom: 0; }

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.price { font-family: var(--serif); font-size: 42px; line-height: 1; margin: 6px 0 2px; }
.price small { font-family: var(--sans); font-size: 14px; color: var(--mute); }
.card.featured { border: 2px solid var(--gold); position: relative; }
.badge {
  position: absolute; top: -12px; left: 24px; background: var(--gold);
  color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; padding: 4px 11px; border-radius: 99px;
}
ul.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
ul.ticks li {
  position: relative; padding: 0 0 9px 24px; font-size: 15.5px; color: var(--mute);
}
ul.ticks li::before {
  content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
footer.site { padding: 48px 0; background: var(--ink); color: var(--paper); }
footer.site a { color: var(--paper); text-decoration: none; opacity: .8; }
footer.site a:hover { opacity: 1; }
footer.site .footmark {
  height: 40px; width: auto; display: block; margin: 0 0 32px;
}
footer.site .cols {
  display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
footer.site h4 {
  font-family: var(--sans); font-size: 11.5px; letter-spacing: 1.6px;
  text-transform: uppercase; opacity: .55; margin: 0 0 12px; font-weight: 600;
}
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 8px; font-size: 15px; }
footer.site .rule {
  border-top: 1px solid rgba(251,249,245,.16); margin-top: 36px; padding-top: 22px;
  font-size: 13.5px; opacity: .6;
}

@media (max-width: 640px) {
  section { padding: 54px 0; }
  section.hero { padding: 64px 0 56px; }
  header.site .wrap { min-height: 60px; padding-top: 10px; padding-bottom: 10px; }
  nav.site { gap: 16px; }
}
