/* get.vakh.com — shared styles.
 *
 * Colour + type rules bind to the app (CLAUDE.md §2–4, artifacts/marketing/README.md):
 * only colours the app ships (theme/colors.ts), Inter for content, Roboto Mono
 * for chrome (always with an explicit weight), titles at 600 not 700, chrome
 * radius 6, dashed borders mean "placeholder / add".
 */

:root {
  --page: #FFFFFF;
  --elevated: #FCFCFC;
  --sunken: #F4F5F4;
  --text: #171717;
  --body: #404040;
  --secondary: #6B6B6B;
  --border-subtle: #ECECEB;
  --border: #D8DAD9;
  --accent: #00BB77;
  --accent-hover: #009660;
  --accent-subtle: rgba(0, 187, 119, 0.08);
  --accent-text: #007A50;
  --on-accent: #1A1A1A;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #0A0A0A;
    --elevated: #161616;
    --sunken: #1E1E1E;
    --text: #FAFAFA;
    --body: #D4D4D4;
    --secondary: #A3A3A3;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.12);
    --accent: #4ADE80;
    --accent-hover: #22C55E;
    --accent-subtle: rgba(74, 222, 128, 0.12);
    --accent-text: #86EFAC;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--page);
}

.mono {
  font-family: 'Roboto Mono', ui-monospace, monospace;
  font-weight: 500;
}

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

/* ── Top bar ── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 24px;
}
/* Brand lockup mirrors the auth pages (components/auth/AuthBrandHeader.tsx):
   34px rounded app icon + "Vakh" in Inter 28/500. */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: 28px;
  color: var(--text);
}
.wordmark img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: block;
}
.top-cta {
  font-size: 13px;
  color: var(--accent-text);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 6px 14px;
}
.top-cta:hover { border-color: var(--accent); }

/* ── Page body ── */
.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.eyebrow {
  font-family: 'Roboto Mono', ui-monospace, monospace;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 16px;
}

h1 {
  font-weight: 600;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.15;
  color: var(--text);
  max-width: 760px;
  margin-bottom: 20px;
}

.lede {
  font-size: 20px;
  line-height: 1.55;
  max-width: 680px;
  margin-bottom: 40px;
}

/* ── Story blocks (TODAY / SOON) ── */
.story { max-width: 680px; margin-bottom: 36px; }
.story-label {
  font-family: 'Roboto Mono', ui-monospace, monospace;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 8px;
}
.story p { font-size: 17px; line-height: 1.65; color: var(--body); }

/* ── Feature points ── */
.points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.points li {
  background: var(--elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 20px;
}
.points h2 {
  font-weight: 600;
  font-size: 17px;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 6px;
}
.points p { font-size: 15px; line-height: 1.55; }

/* ── Film / screenshot slot ── */
.shot { margin-bottom: 48px; }
.shot img,
.shot video {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.shot-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background: var(--sunken);
  border: 1.5px dashed var(--border);
  border-radius: 10px;
  color: var(--secondary);
  font-size: 13px;
  text-align: center;
  padding: 24px;
}

/* ── CTAs ── */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.btn {
  font-family: 'Roboto Mono', ui-monospace, monospace;
  font-weight: 500;
  font-size: 14px;
  border-radius: 6px;
  padding: 12px 22px;
  display: inline-block;
}
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-secondary {
  border: 1.5px solid var(--border);
  color: var(--text);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--text); }

/* Official store badges (Apple ~3:1, Google ~3.4:1). Same height, auto width. */
.store-badge { display: inline-flex; align-items: center; }
.store-badge img { height: 44px; width: auto; display: block; }

.cta-top {
  margin-top: -12px;
  margin-bottom: 44px;
}

.fine {
  font-size: 13px;
  color: var(--secondary);
  margin-bottom: 8px;
}
.doc-link { font-size: 14px; }

/* ── Home sections ── */
.section { margin-top: 56px; }
.section-title {
  font-family: 'Roboto Mono', ui-monospace, monospace;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 20px;
}

.app-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.app-links .note { font-size: 13px; color: var(--secondary); }

.for-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.for-card {
  display: block;
  background: var(--elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 20px;
}
.for-card:hover { border-color: var(--accent); }
.for-card .card-eyebrow {
  font-family: 'Roboto Mono', ui-monospace, monospace;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 8px;
}
.for-card h3 {
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 6px;
}
.for-card p { font-size: 14px; line-height: 1.5; color: var(--body); }

.site-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border-subtle);
  margin-top: 40px;
  padding: 32px 24px 48px;
}
.footer-inner { max-width: 1080px; margin: 0 auto; }
.foot-hook {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 12px;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; margin-bottom: 12px; }
.foot-links a { color: var(--secondary); }
.foot-links a:hover { color: var(--accent-text); }
.foot-tag { font-size: 13px; color: var(--secondary); }
