@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Work+Sans:wght@400;500;600&display=swap');

:root {
  --bg: #faf9fc;
  --surface: #ffffff;
  --surface-2: #f2f0f8;
  --text: #1a1830;
  --text-dim: #635f7a;
  --accent: #5b3df0;
  --accent-2: #c22b76;
  --rule: #e4e1ef;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f0f1a;
    --surface: #17172a;
    --surface-2: #1d1d33;
    --text: #e8e6f0;
    --text-dim: #9b96b3;
    --accent: #8f7dff;
    --accent-2: #ff6fb0;
    --rule: #2a2a42;
  }
}

:root[data-theme="dark"] {
  --bg: #0f0f1a;
  --surface: #17172a;
  --surface-2: #1d1d33;
  --text: #e8e6f0;
  --text-dim: #9b96b3;
  --accent: #8f7dff;
  --accent-2: #ff6fb0;
  --rule: #2a2a42;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration-color: var(--rule); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

/* ---- shared document header (privacy / terms) ---- */

.masthead {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-bottom: 2.5rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--rule);
}

.masthead .eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.masthead h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

.masthead .meta { color: var(--text-dim); font-size: 0.95rem; }

.intro {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  line-height: 1.55;
  margin: 0 0 3.5rem;
  text-wrap: balance;
}

section.doc-section {
  display: flex;
  gap: 1.75rem;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--rule);
}

section.doc-section:last-of-type { border-bottom: none; }

.num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent);
  min-width: 1.75rem;
  padding-top: 0.2rem;
  font-variant-numeric: tabular-nums;
}

.body-col h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  margin: 0 0 0.75rem;
}

.body-col p { margin: 0 0 0.9rem; max-width: 62ch; }
.body-col p:last-child { margin-bottom: 0; }
.body-col ul { margin: 0.5rem 0 0.9rem; padding-left: 1.2rem; }
.body-col li { margin-bottom: 0.4rem; max-width: 60ch; }

strong { color: var(--text); font-weight: 600; }

.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }

.pill {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-dim);
  border: 1px solid var(--rule);
}

.pill.no { color: var(--accent-2); }

.callout {
  background: var(--surface-2);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  font-size: 0.92rem;
  color: var(--text-dim);
  margin-top: 0.9rem;
}

footer.site-footer {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  color: var(--text-dim);
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

footer.site-footer .brand {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
}

footer.site-footer .links {
  display: flex;
  gap: 1.2rem;
  margin-top: 0.4rem;
}

@media (max-width: 560px) {
  section.doc-section { gap: 1rem; }
  .num { min-width: 1.4rem; }
}

/* ---- homepage ---- */

.home-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

nav.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 3rem;
}

nav.site-nav .wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

nav.site-nav .nav-links { display: flex; gap: 1.75rem; font-size: 0.92rem; }
nav.site-nav .nav-links a { color: var(--text-dim); }
nav.site-nav .nav-links a:hover { color: var(--text); }

.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  padding: 2rem 0 4rem;
}

.hero .eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  line-height: 1.04;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}

.hero .lede {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 46ch;
  margin: 0;
}

.hero img.mark {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  filter: drop-shadow(0 12px 32px rgba(91, 61, 240, 0.35));
}

@media (max-width: 640px) {
  .hero { grid-template-columns: 1fr; text-align: left; padding-top: 0; }
  .hero img.mark { width: 96px; height: 96px; order: -1; }
}

.channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--rule);
}

.channel-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.5rem;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.channel-card:hover { border-color: var(--accent); transform: translateY(-2px); }

.channel-card .platform {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.channel-card .handle {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
}

.about-block {
  padding: 3rem 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.about-block h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 0 1rem;
}

.about-block p { color: var(--text-dim); margin: 0 0 0.9rem; max-width: 50ch; }
.about-block p:last-child { margin-bottom: 0; }

.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }

@media (max-width: 640px) {
  .about-block { grid-template-columns: 1fr; gap: 1.5rem; }
}
