@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&family=Inter:wght@400;500&display=swap');

:root {
  --ink: #141115;
  --deep: #100E11;
  --surface: #1C181D;
  --raised: #241F26;
  --cream: #F0EAE4;
  --parchment: #DCD5CF;
  --ash: #A79FA9;
  --muted: #6E6672;
  --rose: #C99A93;
  --on-rose: #33201E;
  --copper: #B97F5C;
  --plum: #9B8AA6;
  --sage: #A3B49C;
  --hairline: rgba(240, 234, 228, 0.08);
  --hairline-strong: rgba(240, 234, 228, 0.16);
  --radius: 14px;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* night sky canvas */
#sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page { position: relative; z-index: 1; }

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

/* typography */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(38px, 7vw, 68px); }
h2 { font-size: clamp(28px, 4.5vw, 44px); }
h3 { font-size: clamp(20px, 3vw, 26px); }
p { color: var(--parchment); }
.serif { font-family: var(--serif); }
a { color: inherit; text-decoration: none; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--ash); }
.muted { color: var(--muted); }

/* header */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(20, 17, 21, 0.72);
  border-bottom: 1px solid var(--hairline);
}
header.site .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.wordmark { display: inline-flex; align-items: center; gap: 6px; }
.wordmark svg { width: 26px; height: 17px; }
.wordmark span { font-family: var(--serif); font-size: 21px; color: var(--cream); }
nav.links { display: flex; align-items: center; gap: 28px; }
nav.links a { font-size: 14px; color: var(--ash); transition: color 0.2s; }
nav.links a:hover { color: var(--cream); }
nav.links .btn-primary { color: #000; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--sans);
  cursor: pointer;
  transition: transform 0.15s, background 0.2s;
  border: 1px solid transparent;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--rose); color: var(--on-rose); }
.btn-primary:hover { background: #d4a89f; }
.btn-ghost { border-color: var(--hairline-strong); color: var(--cream); }
.btn-ghost:hover { background: var(--surface); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }

/* sections */
section { padding: clamp(64px, 11vw, 128px) 0; }
.section-tight { padding: clamp(40px, 7vw, 72px) 0; }
.center { text-align: center; }
.stack > * + * { margin-top: 20px; }

/* hero */
.hero { padding-top: clamp(48px, 8vw, 88px); padding-bottom: clamp(40px, 6vw, 64px); }
.hero .scene {
  position: relative;
  width: min(360px, 78vw);
  margin: 0 auto 40px;
}
.hero .scene .bird { width: 62%; display: block; margin: 0 auto -13%; position: relative; z-index: 2; }
.hero .scene .branch { width: 100%; display: block; }
.hero .scene .moon { position: absolute; top: 4%; right: -4%; width: 26%; opacity: 0.5; z-index: 1; }
.hero h1 { max-width: 14ch; margin: 0 auto; }
.hero .lede { max-width: 46ch; margin: 20px auto 0; }
.hero .cta { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .fineprint { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* feature grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 26px;
}
.card .ic {
  width: 40px; height: 40px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
}
.card .ic img { width: 40px; height: 40px; object-fit: contain; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--ash); }

/* split rows (features page) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.split.reverse .media { order: 2; }
.split .media { display: flex; justify-content: center; }
.split .media img { width: min(240px, 60%); object-fit: contain; }
.split h2 { margin-bottom: 16px; }
.split p { color: var(--ash); }
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse .media { order: 0; }
  .split .media img { width: 180px; }
  nav.links { display: none; }
}

/* band */
.band {
  background: var(--deep);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.band .lock { color: var(--sage); font-size: 13px; letter-spacing: 0.04em; }

/* pricing */
.plans { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.plan {
  position: relative;
  width: 220px;
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius);
  padding: 22px;
  text-align: left;
}
.plan.best { border-color: var(--rose); background: rgba(201, 154, 147, 0.05); }
.plan .tag {
  position: absolute; top: -11px; left: 20px;
  background: var(--rose); color: var(--on-rose);
  font-size: 11px; font-weight: 500; padding: 3px 10px; border-radius: 20px;
}
.plan .name { font-size: 14px; font-weight: 500; }
.plan .price { font-family: var(--serif); font-size: 30px; margin: 6px 0 2px; }
.plan .per { font-size: 13px; color: var(--muted); }

/* editorial (story) */
.prose { max-width: 62ch; margin: 0 auto; }
.prose h2 { margin: 48px 0 16px; }
.prose p { margin-bottom: 20px; color: var(--parchment); }
.prose .pull {
  font-family: var(--serif);
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.3;
  color: var(--cream);
  margin: 40px 0;
  padding-left: 22px;
  border-left: 2px solid var(--rose);
}

/* legal */
.legal { max-width: 68ch; margin: 0 auto; }
.legal h2 { margin: 40px 0 12px; font-size: 26px; }
.legal p { margin-bottom: 16px; color: var(--parchment); font-size: 16px; }
.legal .updated { color: var(--muted); font-size: 14px; }

/* faq */
.faq { max-width: 68ch; margin: 0 auto; }
.qa { border-bottom: 1px solid var(--hairline); padding: 24px 0; }
.qa h3 { font-size: 20px; margin-bottom: 10px; }
.qa p { color: var(--ash); font-size: 16px; }

/* footer */
footer.site {
  border-top: 1px solid var(--hairline);
  padding: 56px 0 40px;
  background: var(--deep);
  position: relative;
  z-index: 1;
}
footer.site .top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
footer.site nav { display: flex; flex-direction: column; gap: 10px; }
footer.site nav a { font-size: 14px; color: var(--ash); }
footer.site nav a:hover { color: var(--cream); }
footer.site .cols { display: flex; gap: 64px; flex-wrap: wrap; }
footer.site .col h4 { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 500; }
footer.site .bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--muted); }
footer.site .promise { color: var(--ash); font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
footer.site .top .promise { display: block; }
footer.site .top { align-items: center; }

.pagehead { padding: clamp(48px, 8vw, 88px) 0 clamp(24px, 4vw, 40px); text-align: center; }
.pagehead h1 { font-size: clamp(34px, 6vw, 56px); }
.pagehead p { max-width: 48ch; margin: 16px auto 0; color: var(--ash); }
