/* Tokens, type, buttons, header and footer. Brand colours come from the SYNDICATE handoff design. */
:root {
  --bg: #171a19; --bg2: #1b1e1d; --bg3: #242825; --card: #202422;
  --gold: #e0b646; --gold-lt: #ffe18a; --gold-dk: #8a6d1f;
  --green: #71846e; --green-dk: #29372e;
  --text: #f5f1e8; --soft: #d3d5cf; --muted: #a6aba6; --border: #373b36;
  --wrap: 1160px; --radius: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  background: var(--bg); color: var(--text);
  font: 400 17px/1.6 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }

h1, h2, h3 { font-family: 'Oswald', 'Arial Narrow', sans-serif; font-weight: 600; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(44px, 7vw, 88px); text-transform: uppercase; letter-spacing: .005em; }
h2 { font-size: clamp(34px, 4.6vw, 56px); text-transform: uppercase; letter-spacing: .005em; }
h3 { font-size: 24px; font-weight: 500; letter-spacing: .01em; }
.gold { color: var(--gold); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; border-top: 1px solid var(--border); }
.section.alt { background: var(--bg2); }
.head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; max-width: 760px; }
.eyebrow {
  display: flex; align-items: center; gap: 12px; color: var(--gold);
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--soft); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.55; }
.icon { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--gold); color: #15130a; padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
  padding: 12px 22px; border-radius: 8px; border: 1px solid var(--border); background: transparent;
  font: 700 14px/1.2 'Public Sans', sans-serif; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; color: var(--text); cursor: pointer; transition: border-color .2s, color .2s, transform .2s;
}
.btn:hover { border-color: var(--gold); color: var(--gold); }
.btn.primary { background: linear-gradient(180deg, var(--gold-lt), var(--gold)); border-color: var(--gold); color: #1a1505; }
.btn.primary:hover { color: #1a1505; transform: translateY(-1px); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* header */
.site-head {
  position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--border);
  background: rgba(23, 26, 25, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 38px; width: auto; }
.brand span { font: 600 20px 'Oswald', sans-serif; letter-spacing: .16em; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--soft); }
.nav-links a:hover { color: var(--gold); }
.nav-links .btn { min-height: 40px; padding: 8px 16px; font-size: 12px; color: #1a1505; }
.install-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 8px; cursor: pointer;
  border: 1px solid rgba(224, 182, 70, .45); background: transparent; color: var(--gold); font: 600 13px/1.2 'Public Sans', sans-serif;
}
.install-btn[hidden] { display: none; }
.install-btn:hover { background: rgba(224, 182, 70, .1); }
.install-tip {
  position: absolute; right: 20px; top: 74px; z-index: 60; max-width: 300px; padding: 14px 16px; border-radius: 12px; cursor: pointer;
  background: var(--card); border: 1px solid rgba(224, 182, 70, .45); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); font-size: 14px; color: var(--soft);
}
.install-tip[hidden] { display: none; }
.install-tip b { color: var(--text); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 8px; background: none; color: var(--text); font-size: 22px; align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 880px) {
  .menu-btn { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 20px; background: var(--bg2); border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 16px; }
  .nav-links .btn { margin-top: 16px; min-height: 48px; border-bottom: 0; }
  .nav-links .install-btn { margin-top: 16px; justify-content: center; min-height: 44px; font-size: 15px; }
}

/* footer */
.site-foot { border-top: 1px solid var(--border); background: #131615; padding: 64px 0 40px; font-size: 15px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--border); }
.foot-top p { color: var(--muted); max-width: 46ch; margin-top: 16px; }
.foot-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; align-content: start; }
.foot-links a { color: var(--soft); text-decoration: none; }
.foot-links a:hover { color: var(--gold); }
.legal { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; color: var(--muted); font-size: 13.5px; line-height: 1.6; max-width: 92ch; }
.legal b { color: var(--soft); }
@media (max-width: 720px) { .foot-top { grid-template-columns: 1fr; } }
