/* ============================================================
   QuikShot marketing site — shared layout
   Built on tokens.css. Quiet Precision direction.
   ============================================================ */

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--mineral); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ───────── Layout primitives ───────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ───────── Top nav ───────── */
.site-nav {
  position: sticky; top: 0; z-index: 20;
  background: var(--bar-bg);
  backdrop-filter: var(--blur-bar);
  -webkit-backdrop-filter: var(--blur-bar);
  border-bottom: 1px solid var(--hairline);
}
.site-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.site-brand {
  display: flex; align-items: center; gap: 12px;
  font-size: 24px; font-weight: 700; letter-spacing: -0.018em;
  color: var(--fg);
}
.site-brand img { display: block; width: 36px; height: 36px; }
.site-brand:hover { text-decoration: none; }
.site-brand .brand-accent { color: var(--mineral); }

/* Footer brand reads small — explicit override */
.site-foot .site-brand { font-size: 14px; font-weight: 600; gap: 10px; }
.site-foot .site-brand img { width: 22px; height: 22px; }

.site-links {
  display: flex; gap: 28px;
  font-size: 15px; color: var(--fg-secondary);
}
.site-links a {
  color: var(--fg-secondary); font-weight: 500;
}
.site-links a:hover { color: var(--fg); text-decoration: none; }
.site-links a.is-current { color: var(--fg); }

.nav-cta {
  font-family: inherit; font-size: 14px; font-weight: 600;
  padding: 9px 16px; border-radius: var(--r-md);
  border: 0; cursor: pointer;
  background: var(--fg); color: var(--bg);
  transition: background var(--dur-1) var(--ease);
}
.nav-cta:hover { background: var(--fg-secondary); }

/* ───────── Buttons ───────── */
.btn {
  font-family: inherit; font-weight: 600;
  border: 0; cursor: pointer;
  border-radius: var(--r-md);
  transition: background var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn-lg { font-size: 17px; padding: 14px 22px; }
.btn-md { font-size: 15px; padding: 11px 18px; }
.btn-primary { background: var(--mineral); color: var(--fg-on-mineral); }
.btn-primary:hover { background: var(--mineral-600); }
.btn-ink { background: var(--fg); color: var(--bg); }
.btn-ink:hover { background: var(--fg-secondary); }
.btn-ghost { background: transparent; color: var(--fg); }
.btn-ghost:hover { background: var(--bg-tinted); }

/* ───────── Footer ───────── */
.site-foot {
  border-top: 1px solid var(--separator);
  padding: 40px 0 56px;
  margin-top: 96px;
  color: var(--fg-tertiary);
  font-size: 13px;
}
.site-foot-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.site-foot a { color: var(--fg-secondary); }
.site-foot a:hover { color: var(--fg); }
.foot-links { display: flex; gap: 20px; }

/* ───────── Page header (release notes / privacy) ───────── */
.page-header {
  padding: 64px 0 32px;
}
.page-header .eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--mineral); text-transform: uppercase;
  margin: 0 0 12px;
}
.page-header h1 {
  font-size: 52px; line-height: 1.05;
  letter-spacing: -0.026em; font-weight: 600;
  margin: 0 0 16px;
  text-wrap: balance;
}
.page-header p.lede {
  font-size: 19px; line-height: 1.5;
  color: var(--fg-secondary);
  margin: 0; max-width: 560px;
  text-wrap: pretty;
}

/* ───────── Long-form prose ───────── */
.prose {
  font-size: 17px; line-height: 1.6;
  color: var(--fg);
}
.prose p {
  margin: 0 0 16px; text-wrap: pretty;
  color: var(--fg);
}
.prose h2 {
  font-size: 24px; line-height: 1.25;
  letter-spacing: -0.014em; font-weight: 600;
  margin: 40px 0 12px;
}
.prose h3 {
  font-size: 18px; line-height: 1.3;
  font-weight: 600;
  margin: 28px 0 8px;
}
.prose ul, .prose ol {
  margin: 0 0 16px; padding-left: 22px;
}
.prose li { margin-bottom: 6px; text-wrap: pretty; }
.prose code {
  font-family: var(--font-mono); font-size: 0.9em;
  background: var(--bg-tinted); padding: 1px 6px; border-radius: 4px;
}
.prose strong { font-weight: 600; }
.prose .meta { color: var(--fg-tertiary); font-size: 14px; }

/* ───────── Brand dot accent ───────── */
.accent-dot { color: var(--energy); }

/* ───────── Mono/numerics utility ───────── */
.num {
  font-family: var(--font-mono);
  font-feature-settings: 'tnum' 1, 'lnum' 1;
  font-variant-numeric: tabular-nums lining-nums;
}

/* ───────── Card ───────── */
.card {
  background: var(--bg-elevated);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-1);
}

/* ───────── Section spacing ───────── */
section { padding: 64px 0; }

/* ───────── Responsive ───────── */
@media (max-width: 720px) {
  .page-header h1 { font-size: 38px; }
  .site-links { display: none; }
  section { padding: 48px 0; }
}
