/* Sprott landing mock: shared tokens and chrome.
   Colors are the app tokens only. Gold = the product CTA, nothing else. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/home/assets/fonts/inter-var.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: italic; font-weight: 100 900; font-display: swap; src: url(/home/assets/fonts/inter-var-italic.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap; src: url(/home/assets/fonts/jbmono-var.woff2) format('woff2'); }

:root {
  --bg: #09090B;
  --surface: #111113;
  --text: #FAFAFA;
  --muted: #A1A1AA;
  --faint: #3F3F46;
  --gold: #C9A96E;

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* type: any one screen uses at most three of these */
  --fs-display: clamp(2.5rem, 1.05rem + 3.35vw, 4.25rem);
  --fs-title: clamp(1.75rem, 1.05rem + 1.9vw, 2.75rem);
  --fs-lead: clamp(1.25rem, 1.02rem + 0.55vw, 1.5rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;

  --pad-x: clamp(22px, 6vw, 104px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--text); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  font-optical-sizing: auto;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background: var(--bg);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
code, pre { font-family: var(--mono); }
em { font-style: normal; color: var(--text); }
::selection { background: var(--faint); color: var(--text); }

.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--pad-x); }

/* ── lockup: mark + wordmark (400, 0.01em), slogan beneath the wordmark ── */
.lockup { display: inline-flex; align-items: center; gap: 11px; color: var(--text); }
.lockup-mark { height: 22px; width: auto; flex: none; }
.lockup-text { display: flex; flex-direction: column; }
.lockup-name { font-size: 1.15rem; font-weight: 400; letter-spacing: 0.01em; line-height: 1; }
.lockup-slogan { margin-top: 5px; font-size: 0.5625rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); line-height: 1; white-space: nowrap; }

/* ── nav ── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(9, 9, 11, 0.86); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); }
.nav-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: var(--fs-small); color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links .sep { width: 0; height: 14px; }
.nav-burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: flex-end; }
.nav-burger span { display: block; width: 20px; height: 1px; background: var(--text); box-shadow: 0 6px 0 var(--text); transform: translateY(-3px); }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 10px;
  font-size: var(--fs-small); font-weight: 500; letter-spacing: 0; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .3s, border-color .3s, color .3s, box-shadow .3s;
}
.btn-gold { background: var(--gold); color: var(--bg); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -12px rgba(201, 169, 110, .55); }
.btn-gold-line { border: 1px solid var(--gold); color: var(--gold); }
.btn-gold-line:hover { transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--faint); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); }

.link { font-size: var(--fs-small); color: var(--muted); transition: color .2s; }
.link:hover { color: var(--text); }
.link-white { color: var(--text); }

/* ── install line ── */
.install {
  display: flex; align-items: center; gap: 14px;
  height: 48px; padding: 0 8px 0 18px; border-radius: 10px;
  background: var(--surface);
  max-width: 470px;
}
.install code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font-size: 0.8125rem; color: var(--muted); scrollbar-width: none; }
.install code::-webkit-scrollbar { display: none; }
.install code b { color: var(--faint); font-weight: 400; margin-right: 10px; }
.install button { flex: none; height: 32px; padding: 0 12px; border-radius: 7px; font-size: 0.8125rem; color: var(--muted); transition: color .2s, background-color .2s; }
.install button:hover { color: var(--text); background: rgba(250, 250, 250, .04); }

/* ── attractor canvases ── */
.attractor-host { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.attractor-layer { position: absolute; left: 0; top: 0; mix-blend-mode: lighten; }
.attractor-layer.head { mix-blend-mode: screen; }

/* ── load sequence ── */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(14px); animation: rise 1.1s var(--ease) forwards; }
  .rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .18s; } .rise.d3 { animation-delay: .3s; }
  .rise.d4 { animation-delay: .42s; } .rise.d5 { animation-delay: .56s; } .rise.d6 { animation-delay: .7s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

html.still .rise { animation: none !important; opacity: 1 !important; transform: none !important; }

/* ── footer ── */
.footer { padding: 72px 0 64px; }
.footer-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer .lockup-mark { height: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 28px; font-size: var(--fs-small); color: var(--muted); }
.footer-links a:hover { color: var(--text); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-inner { height: 64px; }
}

/* halo, as in the kit's key visuals (blurred copy at low opacity) */
.attractor-layer.field { filter: drop-shadow(0 0 2.2px rgba(250, 250, 250, 0.26)); }
