/* QueryWell marketing + legal site — minimal, dependency-free styling. */

:root {
  --bg: #0b1020;
  --bg-soft: #121933;
  --panel: #161e3a;
  --text: #e7ecf6;
  --muted: #9aa6c2;
  --accent: #4f8cff;
  --accent-2: #38d6c5;
  --border: #25304f;
  --max: 980px;
  --radius: 14px;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 50% -10%, #1b264d 0%, transparent 60%), var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(11, 16, 32, 0.72);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .dot { width: 12px; height: 12px; border-radius: 4px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 0 18px rgba(79,140,255,.6); }
.nav a { color: var(--muted); margin-left: 22px; font-size: 15px; }
.nav a:hover { color: var(--text); text-decoration: none; }

/* ---- Hero ---- */
.hero { text-align: center; padding: 90px 0 60px; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.05; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero .grad { background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(17px, 2.4vw, 21px); color: var(--muted); max-width: 640px; margin: 0 auto 32px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .06s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #07112a; box-shadow: 0 8px 26px rgba(79,140,255,.35); }
.btn-ghost { background: var(--panel); color: var(--text); border-color: var(--border); }
.note { color: var(--muted); font-size: 13px; margin-top: 14px; }

/* ---- Features ---- */
.section { padding: 56px 0; }
.section h2 { text-align: center; font-size: clamp(24px, 4vw, 32px); margin: 0 0 8px; letter-spacing: -0.01em; }
.section .sub { text-align: center; color: var(--muted); margin: 0 auto 40px; max-width: 560px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .ico { font-size: 22px; margin-bottom: 12px; display: block; }

/* ---- Buy ---- */
.buy { text-align: center; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 18px; padding: 44px 24px; }
.buy h2 { margin-top: 0; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 36px 0; color: var(--muted); font-size: 14px; }
.site-footer .cols { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.foot-links a { margin-right: 18px; }
.disclaimer { margin-top: 22px; font-size: 12.5px; color: #75809c; max-width: 720px; }

/* ---- Legal document pages ---- */
.legal { padding: 50px 0 20px; }
.legal .doc { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px clamp(20px, 5vw, 48px); }
.legal h1 { font-size: 30px; margin-top: 0; letter-spacing: -0.01em; }
.legal h2 { font-size: 20px; margin-top: 32px; border-top: 1px solid var(--border); padding-top: 22px; }
.legal h2:first-of-type { border-top: none; }
.legal p, .legal li { color: #cdd6ea; }
.legal a { color: var(--accent); }
.legal em { color: var(--muted); }
.legal code { background: var(--bg); padding: 2px 6px; border-radius: 6px; font-size: 13px; }
.legal .back { display: inline-block; margin-bottom: 18px; color: var(--muted); font-size: 14px; }

@media (max-width: 560px) {
  .nav a:not(.nav-keep) { display: none; }
}
