/* Quitizen site. Design: landing-desktop / landing-mobile canvases. Same tokens as the app. */
:root {
  --ground: #141414; --sky-top: #05071A; --sky-mid: #0B1033;
  --text: #FFFFFF; --text-soft: #E8E8EC; --text-link: #C2C2C8; --text-muted: #9A9AA0; --text-faint: #6B6B70;
  --purple: #8D7BFF;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --display: 'Unbounded', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--sans); color: var(--text); background: var(--ground);
  -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; min-height: 100vh; position: relative;
}
body.landing { background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 48%, var(--ground) 100%); }
a { color: inherit; text-decoration: none; }

/* Star field: positions from the canvas, as percentages of the page. */
.sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.sky i { position: absolute; display: block; border-radius: 50%; background: #FFF; }

/* Header */
.top { position: relative; height: 90px; padding: 0 64px; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.wordmark { display: flex; align-items: flex-end; gap: 1px; }
.wordmark .q { width: 29.9px; height: 26.7px; display: block; }
.wordmark span { font-family: var(--display); font-size: 32px; font-weight: 800; letter-spacing: -0.02em; line-height: 0.56; }
.links { display: flex; gap: 26px; font-size: 14px; font-weight: 600; color: var(--text-link); }
.links a { color: var(--text-link); }
.links a:hover { color: var(--text); }

/* Hero */
main { position: relative; flex: 1 0 auto; display: flex; flex-direction: column; }
.hero { height: 360px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px; }
.hero h1 { font-family: var(--display); font-size: 64px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; margin: 0; }
.hero p { font-size: 20px; line-height: 1.6; color: var(--text-soft); margin: 20px 0 0; max-width: 620px; }
.store {
  margin-top: 30px; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px;
  border-radius: 12px; background: #FFFFFF; color: var(--ground); transition: transform .15s ease, box-shadow .15s ease;
}
.store:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(141, 123, 255, .35); }
.store span { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font-size: 10px; font-weight: 600; }
.store strong { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }

/* City */
.city { position: relative; flex-shrink: 0; display: flex; justify-content: center; }
.city .glow {
  position: absolute; width: 900px; max-width: 100%; height: 589px; top: 40px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(141,123,255,.20) 0%, transparent 68%); filter: blur(30px);
}
.city img { position: relative; display: block; width: 980px; max-width: calc(100% - 40px); height: auto; }

/* Footer */
.bottom { position: relative; margin-top: auto; padding: 26px 64px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-muted); flex-shrink: 0; }
.bottom .links { gap: 22px; font-size: 13px; font-weight: 500; color: var(--text-muted); }
.bottom .links a { color: var(--text-muted); }
.bottom .links a:hover { color: var(--text); }

/* Legal pages */
.doc { padding: 24px 64px 72px; max-width: 760px; width: 100%; margin: 0 auto; line-height: 1.65; color: var(--text-soft); }
.doc h1 { font-family: var(--display); font-size: 40px; font-weight: 800; letter-spacing: -0.03em; color: var(--text); margin: 24px 0 8px; }
.doc h2 { font-size: 22px; font-weight: 800; color: var(--text); margin: 36px 0 10px; letter-spacing: -0.01em; }
.doc h3 { font-size: 17px; font-weight: 700; color: var(--text); margin: 22px 0 6px; }
.doc p, .doc li { font-size: 16px; }
.doc li { margin-bottom: 6px; }
.doc .updated { color: var(--text-muted); font-size: 14px; margin: 0 0 28px; }
.doc a { color: var(--purple); }

/* Mobile: the landing-mobile canvas */
@media (max-width: 720px) {
  body.landing { background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 46%, var(--ground) 100%); }
  .top { height: 72px; padding: 0 20px; justify-content: center; }
  .top .links { display: none; }
  .wordmark .q { width: 27.4px; height: 24.5px; }
  .wordmark span { font-size: 29px; }
  .hero { height: auto; min-height: 300px; padding: 0 24px; }
  .hero h1 { font-size: 36px; letter-spacing: -0.03em; line-height: 1.08; }
  .hero p { font-size: 16px; line-height: 1.55; margin-top: 16px; }
  .store { margin-top: 24px; }
  .city .glow { width: 330px; height: 191px; top: 24px; filter: blur(24px); }
  .city img { width: 350px; max-width: calc(100% - 40px); }
  .bottom { flex-direction: column; align-items: center; gap: 12px; padding: 22px 24px 26px; }
  .bottom .links { gap: 20px; order: -1; }
  .bottom .copy { color: var(--text-faint); }
  .doc { padding: 8px 24px 56px; }
  .doc h1 { font-size: 30px; }
}
