/* MindQot public site — single shared stylesheet.
   No external requests (no web fonts, no analytics, no trackers). */

:root {
  --bg: #07080D;
  --surface: #0F1219;
  --surface-2: #161B27;
  --border: #293044;
  --hairline: rgba(255, 255, 255, 0.05);
  --text: #F3F0EA;
  --text-muted: #A8B0C3;
  --text-dim: #737D94;
  --violet: #8B7CFF;
  --teal: #63D6C5;
  --maxw: 46rem;
  --font: "Sora", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.375rem;
}

/* ---- Header ---- */
.site-header {
  border-bottom: 1px solid var(--hairline);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.brand {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}
.brand .dot {
  color: var(--violet);
}
.site-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}
.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

/* ---- Main ---- */
main {
  padding: 3rem 0 1rem;
}

h1 {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}
h2 {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin: 2.5rem 0 0.75rem;
  padding-top: 0.25rem;
}
h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.75rem 0 0.5rem;
  color: var(--text);
}

p,
ul,
ol {
  margin: 0 0 1.15rem;
}
ul,
ol {
  padding-left: 1.35rem;
}
li {
  margin: 0.35rem 0;
}

a {
  color: var(--violet);
  text-decoration: none;
  text-underline-offset: 0.18em;
}
a:hover,
a:focus-visible {
  text-decoration: underline;
}

strong {
  color: var(--text);
  font-weight: 600;
}
hr {
  border: 0;
  border-top: 1px solid var(--hairline);
  margin: 2.75rem 0;
}

.muted {
  color: var(--text-muted);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal);
  margin: 0 0 1rem;
}
.lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 34rem;
}
.updated {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin: 0 0 2rem;
}

/* ---- Cards ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  margin: 0 0 1.15rem;
}
.card h2,
.card h3 {
  margin-top: 0;
}
.card :last-child {
  margin-bottom: 0;
}

/* Home link list */
.links {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0.75rem;
}
.links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  color: var(--text);
}
.links a:hover,
.links a:focus-visible {
  border-color: var(--violet);
  text-decoration: none;
}
.links a .arrow {
  color: var(--text-dim);
}
.links a small {
  display: block;
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 400;
  margin-top: 0.15rem;
}
.links a span {
  font-weight: 600;
}

.contact-line {
  margin-top: 2.25rem;
  color: var(--text-muted);
}

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--hairline);
  margin-top: 4rem;
  padding: 2rem 0 3rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}
.site-footer nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.site-footer a {
  color: var(--text-muted);
}

/* 404 */
.center {
  text-align: center;
  padding: 5rem 0 2rem;
}
.center .lede {
  margin-left: auto;
  margin-right: auto;
}

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 3px;
}

@media (max-width: 34rem) {
  main {
    padding-top: 2.25rem;
  }
  body {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
