/* Quips public site — single shared stylesheet. Light + dark via prefers-color-scheme. */
:root {
  --navy: #0D0F1A;
  --card: #181A2E;
  --purple: #7B5FFF;
  --blue: #2E9BF0;
  --text: #ffffff;
  --text-secondary: rgba(255,255,255,0.7);
  --subtle: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.15);
}

@media (prefers-color-scheme: light) {
  :root {
    --navy: #F5F6FA;
    --card: #FFFFFF;
    --text: #1A1B2E;
    --text-secondary: rgba(26,27,46,0.65);
    --subtle: rgba(26,27,46,0.05);
    --border: rgba(26,27,46,0.12);
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 720px; margin: 0 auto; padding: 48px 24px 96px; }
.wrap.narrow { max-width: 600px; }

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--navy);
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
}
header.site .brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
header.site nav a {
  margin-left: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}
header.site nav a:hover { color: var(--text); text-decoration: none; }

h1 { font-size: 36px; line-height: 1.2; margin: 32px 0 16px; }
h2 { font-size: 22px; line-height: 1.3; margin: 32px 0 12px; }
h3 { font-size: 18px; margin: 24px 0 8px; }
p { margin: 12px 0; }
ul, ol { margin: 12px 0 12px 24px; padding: 0; }
li { margin: 6px 0; }
em { color: var(--text-secondary); }
strong { color: var(--text); }

code {
  background: var(--subtle);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.9em;
}

hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }

/* Landing-only */
.hero {
  text-align: center;
  padding: 96px 24px 64px;
}
.hero h1 {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -2px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 12px;
}
.hero .tagline {
  font-size: 22px;
  color: var(--text-secondary);
  margin: 0 0 32px;
}
.hero .cta {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  color: white;
  font-weight: 600;
  font-size: 16px;
  border-radius: 28px;
}
.hero .cta:hover { text-decoration: none; opacity: 0.9; }

footer.site {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 13px;
}
footer.site a { margin: 0 12px; color: var(--text-secondary); }
