/* ── Plangers Docs — Shared Styles ── */

:root {
  --bg: #080808;
  --surface: #0f0f0f;
  --surface2: #141414;
  --border: #1e1e1e;
  --border2: #252525;
  --text-primary: #ebebeb;
  --text-secondary: #888;
  --text-muted: #444;
  --highlight: #fff;
  --live: #0e1f0e;
  --live-border: #1e3f1e;
  --live-text: #6db86d;
  --future: #0e0e1f;
  --future-border: #1e1e3f;
  --future-text: #6d6db8;
  --nav-h: 56px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  overflow-x: hidden;
}

/* ── NAV ── */
.docs-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(8,8,8,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.docs-nav-left { display: flex; align-items: center; gap: 1.25rem; min-width: 0; }

.docs-nav-logo {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--highlight);
  text-decoration: none;
  flex-shrink: 0;
}

.docs-nav-sep { color: var(--text-muted); font-size: 0.75rem; flex-shrink: 0; }

.docs-nav-title {
  font-size: 0.85rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.docs-nav-back {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.15s;
  flex-shrink: 0;
}

.docs-nav-back:hover { color: var(--text-secondary); }

.docs-nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.docs-nav-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── LAYOUT ── */
.wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

section {
  padding: 7rem 0;
  border-bottom: 1px solid var(--border);
}

section:first-of-type {
  padding-top: calc(var(--nav-h) + 6rem);
}

/* ── TYPOGRAPHY ── */
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

h1 {
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--highlight);
}

h2 {
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-primary);
}

h3 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  line-height: 1.85;
  font-size: 0.9rem;
}

/* ── BADGE ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  white-space: nowrap;
}
.badge-live { background: var(--live); color: var(--live-text); border: 1px solid var(--live-border); }
.badge-future { background: var(--future); color: var(--future-text); border: 1px solid var(--future-border); }
.badge-investor { color: #888; border: 1px solid #222; }
.badge-hiring { color: #888; border: 1px solid #222; }
.badge-internal { color: #444; border: 1px solid #1a1a1a; }
.badge-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

/* ── CALLOUT ── */
.callout {
  border-left: 1px solid #2a2a2a;
  padding: 1.5rem 2.5rem;
  margin: 3rem 0;
}
.callout p { font-size: 1.1rem; font-style: italic; color: var(--text-primary); line-height: 1.7; }

/* ── FOOTER ── */
.docs-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}
.docs-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}
.docs-footer p { font-size: 0.8rem; color: var(--text-muted); line-height: 2; }

.docs-footer-back {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.15s;
}
.docs-footer-back:hover { color: var(--text-secondary); }

/* ── MOBILE ── */
@media (max-width: 768px) {
  :root { --nav-h: 52px; }

  .docs-nav { padding: 0 1.25rem; }
  .docs-nav-label { display: none; }
  .docs-nav-title { display: none; }
  .docs-nav-sep { display: none; }

  .wrap { padding: 0 1.25rem; }

  section { padding: 4rem 0; }
  section:first-of-type { padding-top: calc(var(--nav-h) + 3.5rem); }

  .callout { padding: 1.25rem 1.5rem; margin: 2rem 0; }
}

@media (max-width: 480px) {
  .docs-nav-logo { font-size: 0.75rem; letter-spacing: 0.08em; }
}
