:root {
  --bg: #14101f;           /* deep plum-charcoal */
  --surface: #1e1830;
  --border: #322a47;
  --text: #ece8f5;
  --text-dim: #a79fbd;
  --accent: #9b7ff0;       /* lilac/purple — matches logo */
  --accent-deep: #7c5fe0;
  --link: #b29bf5;
  --radius: 14px;
  --maxw: 720px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* Header / nav */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
}
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav a { margin-left: 20px; color: var(--text-dim); font-size: 15px; }
.nav a:hover { color: var(--text); text-decoration: none; }

/* Placeholder home — vertically centered */
.placeholder {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder .hero { padding: 0; }
.coming-soon {
  display: inline-block;
  margin-top: 28px;
  padding: 10px 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 15px;
  letter-spacing: 0.3px;
}
.contact { margin-top: 20px; font-size: 15px; }

/* Hero (landing) */
.hero { text-align: center; padding: 56px 0 40px; }
.hero img.logo { width: 96px; height: 96px; border-radius: 22px; margin-bottom: 24px; box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.hero h1 { font-size: 40px; margin: 0 0 12px; letter-spacing: -0.5px; }
.hero .tagline { font-size: 20px; color: var(--text-dim); margin: 0 auto 32px; max-width: 520px; }

.cta {
  display: inline-block;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  color: #ffffff;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 16px;
}
.cta:hover { text-decoration: none; filter: brightness(1.05); }

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 56px;
}
@media (min-width: 600px) {
  .features { grid-template-columns: 1fr 1fr; }
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.feature h3 { margin: 0 0 8px; font-size: 17px; }
.feature p { margin: 0; color: var(--text-dim); font-size: 15px; }

/* Document pages */
.doc h1 { font-size: 32px; margin: 0 0 8px; letter-spacing: -0.3px; }
.doc .updated { color: var(--text-dim); font-size: 14px; margin-bottom: 36px; }
.doc h2 { font-size: 21px; margin: 36px 0 12px; }
.doc h3 { font-size: 17px; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--text); font-size: 16px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc .note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 15px;
  color: var(--text-dim);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 64px;
  padding: 28px 24px;
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
}
.site-footer a { color: var(--text-dim); margin: 0 10px; }
.site-footer a:hover { color: var(--text); }
