/* Gotham (licensed). Drop Gotham-Book/Medium/Bold .woff2 into web/fonts/ to
   activate. Until then the stack falls back to Montserrat (closest free match). */
@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham-Book.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --font: 'Gotham', 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --grad: linear-gradient(120deg, #0B4FE3 0%, #22B8FF 100%);
  --brand: #0B4FE3;
  --brand-soft: #e8f0ff;
  --ink: #0c1322;
  --muted: #5d6b85;
  --bg: #ffffff;
  --soft: #f3f7ff;
  --line: #e4ebf5;
  --radius: 18px;
  --maxw: 1080px;
}

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

/* The hidden attribute must win over component display rules (flex/grid),
   e.g. .admin-gate { display:flex } — otherwise toggling hidden does nothing. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(12px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Text wordmark logo (uses the page font so Gotham/Montserrat applies) */
.wordmark {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.site-header .wordmark { font-size: 34px; }
.site-footer .wordmark { font-size: 26px; }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad);
  color: #fff;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(11, 79, 227, .28); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

/* Store badges / CTA row (landing hero) */
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 18px;
  border-radius: 14px;
  font-weight: 600;
  color: var(--ink);
}
.store-badge small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }
.store-badge.disabled { opacity: .55; }
.store-badge.live {
  border-color: transparent;
  background: var(--grad);
  color: #fff;
}
.store-badge.live small { color: rgba(255,255,255,.85); }
.store-badge.live:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(11,79,227,.28); transition: transform .15s ease, box-shadow .15s ease; }
.store-ico { width: 22px; height: 22px; border-radius: 6px; background: currentColor; opacity: .25; display: inline-block; }
.store-badge.live .store-ico { background: #fff; opacity: .9; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; }
.site-footer .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.foot-links { display: flex; gap: 22px; }
.foot-links a { color: var(--muted); font-size: 14px; }
.foot-links a:hover { color: var(--ink); }
.copyright { color: var(--muted); font-size: 13px; width: 100%; text-align: center; margin-top: 18px; }

@media (max-width: 760px) {
  .nav-links a:not(.btn) { display: none; }
}
