:root {
  --bg: #0c0f14;
  --bg-alt: #12161d;
  --card: #171c25;
  --border: #262c38;
  --text: #e8ebf1;
  --text-dim: #9aa3b2;
  --accent: #ff5c39;
  --accent-hover: #ff744f;
  --success: #3ddc84;
}

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

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

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(12, 15, 20, 0.9);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}
/* When the shared LMI bar is embedded above us it is already sticky at top:0 / z-index:10;
   a second sticky bar would slide underneath it on scroll, so ours just scrolls away. */
.has-lmi-bar .site-header { position: static; }
/* The embed also adds <dg-brand-footer> as the last child of <body>: make body a flex column so the
   site footer and the LMI quote sit together at the window bottom on short pages (width: 100% keeps
   the margin:auto .wrap blocks full width in a flex column; the single auto margin goes on the site
   footer -- with a second one on the LMI element the free space would be split between them), and give
   in-page #anchors room to clear the sticky LMI bar. */
.has-lmi-bar { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.has-lmi-bar > * { width: 100%; }
.has-lmi-bar .site-footer { margin-top: auto; }
.has-lmi-bar [id] { scroll-margin-top: 72px; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.brand span { color: var(--accent); }
nav { display: flex; gap: 24px; }
nav a { color: var(--text-dim); font-size: 0.95rem; }
nav a:hover { color: var(--text); }

/* Hero */
.hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 92, 57, 0.10), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(61, 220, 132, 0.06), transparent 40%);
}
.hero-inner { text-align: center; max-width: 720px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.lede {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 32px;
}
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.platform-note { color: var(--text-dim); font-size: 0.82rem; margin-top: 16px; }

/* Coming Soon overlay -- disables a control visually/functionally while keeping
   its underlying href/logic completely intact for easy re-enabling later. */
.coming-soon-wrap {
  position: relative;
  display: inline-flex;
}
.coming-soon-wrap--block { display: block; }
.coming-soon-wrap .btn {
  pointer-events: none;
  opacity: 0.45;
  filter: grayscale(40%);
}
.coming-soon-wrap .pricing-grid {
  pointer-events: none;
  opacity: 0.45;
  filter: grayscale(40%);
}
.coming-soon-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-6deg);
  background: var(--accent);
  color: #100b0a;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
.coming-soon-badge--center {
  font-size: 1rem;
  padding: 10px 28px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--accent); color: #100b0a; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--text-dim); }

/* Features */
.features { padding: 72px 0; }
.features h2, .pricing h2, .faq h2 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}
.section-intro {
  max-width: 640px;
  margin: -16px auto 40px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.98rem;
  line-height: 1.6;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-dim); font-size: 0.92rem; }

/* Pricing */
.pricing { padding: 72px 0; background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pricing-note { text-align: center; color: var(--text-dim); margin-bottom: 8px; margin-top: -24px; }
.pricing-scope-note { text-align: center; color: var(--text-dim); font-size: 0.85rem; margin-bottom: 40px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}
.pricing-card h3 { font-size: 1rem; margin-bottom: 6px; }
.seat-count { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 16px; }
.price { font-size: 1.4rem; font-weight: 800; color: var(--accent); }
.price-note { color: var(--text-dim); font-size: 0.8rem; margin-top: 4px; }
.price-note a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(255, 92, 57, 0.4);
  text-underline-offset: 3px;
}
.price-note a:hover {
  color: var(--accent-hover);
  text-decoration-color: var(--accent-hover);
}
.pricing-card .btn { margin-top: 16px; }

.pricing-card--soon {
  position: relative;
  opacity: 0.45;
  filter: grayscale(40%);
  pointer-events: none;
}
.pricing-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent);
  color: #100b0a;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

/* FAQ */
.faq { padding: 72px 0; }
.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
}
.faq-item h3 { font-size: 1rem; margin-bottom: 6px; }
.faq-item p { color: var(--text-dim); font-size: 0.92rem; }

/* CTA band */
.cta-band { padding: 72px 0; text-align: center; }
.cta-band h2 { font-size: 1.6rem; margin-bottom: 24px; }

/* Legal pages */
.legal { padding: 64px 0 96px; max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: 2rem; margin-bottom: 8px; }
.legal .updated { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 32px; }
.legal h2 { font-size: 1.2rem; margin: 32px 0 12px; }
.legal p, .legal li { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 12px; }
.legal ul { padding-left: 20px; }
.legal code {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.88em;
  color: var(--text);
}
.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(255, 92, 57, 0.4);
  text-underline-offset: 3px;
}
.legal a:hover {
  color: var(--accent-hover);
  text-decoration-color: var(--accent-hover);
}
.x-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 92, 57, 0.4);
  text-underline-offset: 3px;
}
.x-link:hover {
  color: var(--accent-hover);
  text-decoration-color: var(--accent-hover);
}
.x-link svg { flex-shrink: 0; }

.legal .draft-notice {
  background: rgba(255, 92, 57, 0.08);
  border: 1px solid rgba(255, 92, 57, 0.3);
  border-radius: 8px;
  padding: 16px 20px;
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

/* Changelog */
.changelog { padding: 64px 0 96px; max-width: 760px; margin: 0 auto; }
.changelog h1 { font-size: 2rem; margin-bottom: 8px; }
.changelog .updated { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 40px; }
.changelog-entry {
  display: flex;
  gap: 20px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.changelog-entry:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.version-badge {
  flex-shrink: 0;
  align-self: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.changelog-list { list-style: none; flex: 1; min-width: 0; }
.changelog-list li {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
.changelog-list li:last-child { margin-bottom: 0; }
.changelog-list strong { color: var(--text); }
.changelog-list code {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.88em;
  color: var(--text);
}
@media (max-width: 560px) {
  .changelog-entry { flex-direction: column; gap: 10px; }
}

/* 404 */
.not-found { text-align: center; padding: 120px 24px; }
.not-found h1 { font-size: 3rem; margin-bottom: 12px; }
.not-found p { color: var(--text-dim); margin-bottom: 24px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-dim);
  font-size: 0.85rem;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 600px) {
  nav { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}
