/* Quo website. Same tokens as the app (constants/theme.ts): electric indigo
   on white, near-black in dark mode. No web fonts or third-party requests —
   the system UI font keeps the site fast and private. */

:root {
  --indigo: #3b2eff;
  --bg: #ffffff;
  --surface: #f6f6fa;
  --surface-2: #eeeef4;
  --text: #0e0e1a;
  --text-2: #54546a;
  --text-3: #737388;
  --border: rgba(14, 14, 40, 0.1);
  --accent: #3b2eff;
  --accent-soft: rgba(59, 46, 255, 0.08);
  --radius: 20px;
  --max: 1200px;
  color-scheme: light;
}

/* Dark theme: the site is light by default. Kept for an opt-in toggle
   (set data-theme="dark" on <html>). */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000;
  --surface: #0b0b12;
  --surface-2: #14141d;
  --text: #ffffff;
  --text-2: #a3a3b5;
  --text-3: #74748a;
  --border: rgba(255, 255, 255, 0.12);
  --accent: #8f87ff;
  --accent-soft: rgba(143, 135, 255, 0.14);
}

*,
*::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: Inter, "Inter Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  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; color: var(--text); font-weight: 650; font-size: 20px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 34px; height: auto; color: var(--indigo); }
[data-theme="dark"] .brand svg { color: #fff; }
.nav { display: flex; gap: 28px; font-size: 15px; }
.nav a { color: var(--text-2); }
.nav a:hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-size: 16px; font-weight: 600; border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--indigo); color: #fff; }

/* Hero */
/* Hero spacing follows viewport height so the screenshots peek above the
   fold on 768px-tall laptops without leaving big screens empty. */
.hero { padding: clamp(44px, 9vh, 104px) 0 clamp(40px, 7vh, 80px); text-align: center; }
.hero .mark { display: block; width: clamp(76px, 11vh, 116px); margin: 0 auto clamp(16px, 3vh, 28px); color: var(--indigo); }
[data-theme="dark"] .hero .mark { color: #fff; }
.hero h1 {
  font-size: clamp(40px, 7vw, 76px); line-height: 1.04; letter-spacing: -0.035em;
  font-weight: 650; margin: 0 auto 20px; max-width: 14ch; text-wrap: balance;
}
.hero h1 span { color: var(--accent); }
.hero p.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--text-2); max-width: 42ch; margin: 0 auto 36px; text-wrap: balance; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
/* Platform download buttons: ink in light mode, white in dark, Quo indigo
   on hover. Two-line label like a store badge, but in the site's own type. */
.store {
  --store-bg: var(--text); --store-fg: var(--bg);
  display: inline-flex; align-items: center; gap: 14px;
  min-width: 212px; height: 62px; padding: 0 26px 0 20px; border-radius: 18px;
  background: var(--store-bg); color: var(--store-fg);
  box-shadow: 0 14px 30px -18px rgba(14, 14, 40, 0.55);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.store:hover {
  text-decoration: none; transform: translateY(-2px);
  --store-bg: var(--indigo); --store-fg: #fff;
  box-shadow: 0 18px 36px -16px rgba(59, 46, 255, 0.6);
}
.store:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.store-logo { width: 26px; height: 26px; flex: none; fill: currentColor; }
.store-logo-android { width: 30px; height: 22px; }
.store span { display: flex; flex-direction: column; text-align: left; }
.store small { font-size: 12px; line-height: 1.2; opacity: 0.7; letter-spacing: 0.01em; }
.store strong { font-size: 20px; line-height: 1.15; font-weight: 650; letter-spacing: -0.015em; }
.soon-note { margin: 16px 0 0; font-size: 15px; color: var(--text-3); }

/* Sections */
section { padding: 88px 0; }
h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 650; margin: 0 0 16px; text-wrap: balance; }
.section-lede { color: var(--text-2); font-size: 19px; max-width: 52ch; margin: 0 0 48px; text-wrap: pretty; }

/* Showcase */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.shot {
  border-radius: 28px; overflow: hidden; border: 1px solid var(--border);
  background: var(--surface); aspect-ratio: 9 / 18; box-shadow: 0 24px 48px -28px rgba(14, 14, 40, 0.28);
}
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
[data-theme="dark"] .shot img { filter: brightness(0.88); }
.shot-caption { font-size: 15px; color: var(--text-2); margin-top: 12px; text-align: center; }

/* Editorial rows: a statement and its explanation, divided by hairlines.
   Deliberately no cards or icon chips. */
.rows { border-top: 1px solid var(--border); }
.row {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px;
  padding: 32px 0; border-bottom: 1px solid var(--border); align-items: baseline;
}
.row h3 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 650; }
.row p { margin: 0; color: var(--text-2); font-size: 18px; max-width: 46ch; text-wrap: pretty; }
.row p.soon { color: var(--text-3); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0 56px; color: var(--text-3); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: var(--text-2); }

/* Legal / document pages */
.doc { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 8px; font-weight: 650; }
.doc .meta { color: var(--text-3); margin: 0 0 40px; font-size: 15px; }
.doc h2 { font-size: 24px; margin: 44px 0 12px; letter-spacing: -0.015em; }
.doc h3 { font-size: 18px; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--text-2); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--text); }
.summary { background: var(--accent-soft); border-radius: var(--radius); padding: 24px 28px; margin: 0 0 32px; }
.summary p { margin: 0; color: var(--text); }
details { border-bottom: 1px solid var(--border); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 18px; color: var(--text); }
details p { margin: 12px 0 0; }

@media (max-width: 900px) {
  .shots { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin: 0 auto; }
}
@media (max-width: 620px) {
  .nav { gap: 18px; }
  .nav .hide-sm { display: none; }
  .row { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .hero { padding: 64px 0 48px; }
  section { padding: 64px 0; }
}

/* Large desktop monitors: scale the whole layout rather than leaving a small
   column in a sea of white. */
@media (min-width: 1800px) { body { zoom: 1.15; } }
@media (min-width: 2300px) { body { zoom: 1.4; } }
