/**
 * Queantic brand layer — fonts + CSS vars shared by dashboard, settings,
 * shared dashboards, and public layout. Complements compiled styles.css
 * (Tailwind indigo remapped to lander purple).
 */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --q-primary: #5817ea;
  --q-primary-hover: #240b63;
  --q-primary-mid: #4611c0;
  --q-lavender: #ece7fd;
  --q-lavender-mid: #d6cbfb;
  --q-lavender-deep: #a893ea;
  --q-surface: #f5f5f7;
  --q-text: #1c1c22;
  --q-muted: #5f5f6d;
  --q-border: #e8e8ee;
  --q-font-sans: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --q-font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --q-font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

html {
  font-family: var(--q-font-sans);
  color: var(--q-text);
}

body {
  font-family: var(--q-font-sans);
  background-color: var(--q-surface);
  color: var(--q-text);
}

h1, h2, h3, .font-display {
  font-family: var(--q-font-display);
}

code, kbd, pre, .font-mono {
  font-family: var(--q-font-mono);
}

/* ---- Public chrome (lander-identical header + full-bleed footer) ---- */
.q-chrome-shell {
  max-width: 1216px;
  margin: 0 auto;
  padding: 0 32px;
}
.q-chrome-top {
  background: #240b63;
}
.q-chrome-utility {
  padding: 10px 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  line-height: 1;
}
.q-chrome-utility a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.92;
}
.q-chrome-utility a:hover {
  opacity: 1;
}
.q-chrome-sep {
  color: rgba(255, 255, 255, 0.35);
}
.q-chrome-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #ffffff;
  border-bottom: 1px solid var(--q-border);
}
.q-chrome-bar {
  background: #ffffff;
}
.q-chrome-bar-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.q-chrome-logo {
  display: flex;
  align-items: center;
  padding: 18px 0;
}
.q-chrome-logo img {
  display: block;
  height: 28px;
  width: auto;
  image-rendering: -webkit-optimize-contrast;
}
.q-chrome-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
  font-size: 16px;
}
.q-chrome-nav a {
  color: var(--q-text);
  text-decoration: none;
}
.q-chrome-cta-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.q-chrome-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  background: var(--q-primary);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 4px;
  white-space: nowrap;
}
.q-chrome-ham {
  display: none;
  align-items: center;
  justify-content: center;
  width: 56px;
  border: none;
  background: transparent;
  color: var(--q-text);
  cursor: pointer;
}
.q-chrome-ham svg {
  width: 24px;
  height: 24px;
}
.q-chrome-mobile {
  display: none;
  flex-direction: column;
  background: #ffffff;
  border-top: 1px solid var(--q-border);
}
.q-chrome-mobile.q-open {
  display: flex;
}
.q-chrome-mobile a {
  padding: 16px 32px;
  color: var(--q-text);
  font-size: 16px;
  border-bottom: 1px solid var(--q-border);
  text-decoration: none;
}
.q-chrome-mobile a:hover {
  color: var(--q-primary);
}
@media (max-width: 800px) {
  .q-chrome-nav { display: none !important; }
  .q-chrome-ham { display: flex; }
  .q-chrome-cta { display: none; }
}

/* Footer: full-bleed background; text constrained to shell */
.q-chrome-footer {
  background: #ffffff;
  margin-top: 0;
  padding: 48px 0 32px;
  width: 100%;
  border-top: 1px solid var(--q-border);
}
.q-chrome-footer-inner {
  background: transparent;
  padding: 0;
}
.q-chrome-footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.q-chrome-footer-brand {
  flex: 1 1 100%;
  min-width: 0;
}
.q-chrome-footer-brand img {
  display: block;
  height: 24px;
  width: auto;
  margin-bottom: 16px;
}
.q-chrome-footer-brand p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--q-muted);
  max-width: 250px;
  margin: 0;
}
.q-chrome-footer-grid > div:not(.q-chrome-footer-brand) {
  flex: 1 1 140px;
  min-width: 0;
}
.q-chrome-footer h3 {
  font-family: var(--q-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8a99;
  margin: 0 0 16px;
  font-weight: 500;
}
.q-chrome-footer-links {
  display: grid;
  gap: 11px;
  font-size: 15px;
}
.q-chrome-footer-links a {
  color: var(--q-muted);
  text-decoration: none;
}
.q-chrome-footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--q-border);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #8a8a99;
}
.q-chrome-footer-meta {
  font-family: var(--q-font-mono);
}

@media (min-width: 900px) {
  .q-chrome-footer-brand {
    flex: 1 1 220px;
  }
}

