/* Vinzo — letsvinzo.com. Tokens ported 1:1 from the app (apps/mobile/src/theme.ts). */

@font-face { font-family: 'Satoshi'; src: url('../assets/fonts/Satoshi-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../assets/fonts/Satoshi-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../assets/fonts/Satoshi-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../assets/fonts/Satoshi-Black.woff2') format('woff2'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/Inter_400Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/Inter_500Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/Inter_600SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/Inter_700Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --bg: #050505;
  --card: #161618;
  --card2: #252527;
  --ink: #ffffff;
  --muted: #8e8e93;
  --muted2: #808086; /* lifted from the app's #636366 for WCAG AA on the web (4.6:1+ on card) */
  --lime: #D6FF00;
  --on-lime: #141a00;
  --lime-tint: #181d05;
  --hair: rgba(255, 255, 255, 0.08);
  --ring-track: rgba(255, 255, 255, 0.06);
  --red: #ff453a; /* semantic error color only (matches the app's C.red) — never an accent */
  --display: 'Satoshi', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; /* fixed nav height + breathing room */ }
:where(a, button, input):focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--lime); color: var(--on-lime); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }

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

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
}
.h-display {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.04;
}
.h-section {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(28px, 4.4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.lead { color: var(--muted); font-size: 17px; max-width: 560px; }
.lime { color: var(--lime); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 15px 30px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.16s var(--ease-out), box-shadow 0.2s ease, background 0.2s ease;
  will-change: transform;
}
.btn-lime {
  background: var(--lime);
  color: var(--on-lime) !important; /* dark black label on lime, everywhere, no exceptions */
  box-shadow: 0 0 28px rgba(214, 255, 0, 0.22), 0 2px 12px rgba(0, 0, 0, 0.4);
}
@media (hover: hover) {
  .btn-lime:hover { transform: translateY(-1px) scale(1.02); box-shadow: 0 0 40px rgba(214, 255, 0, 0.32), 0 4px 16px rgba(0, 0, 0, 0.4); }
  .btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }
}
.btn:active { transform: scale(0.97); }
.btn-ghost { background: transparent; border: 1px solid var(--hair); color: var(--ink); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 5, 5, 0.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--hair);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo img { height: 22px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
/* :not(.btn) — otherwise this gray outranks .btn-lime's dark text (specificity)
   and the nav pill label becomes unreadable on lime */
.nav-links a:not(.btn) {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav .btn { padding: 10px 22px; font-size: 13.5px; }
@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- shared cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: 22px;
  padding: 26px;
}

/* ---------- reveal motion ---------- */
/* Hidden-until-revealed only when JS is live (html.js is set by an inline head
   script) — with JS off or failed, every section renders visible. */
html.js .reveal:not(.in) { opacity: 0; transform: translateY(18px); }
.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  transition-delay: var(--d, 0ms);
}

/* ---------- page shell (legal / support) ---------- */
.page { padding: 150px 0 90px; min-height: 72vh; }
.page-head { margin-bottom: 34px; }
.page-head h1 { font-size: clamp(30px, 5vw, 42px); margin-top: 10px; }
.page-updated { color: var(--muted2); font-size: 13px; margin-top: 10px; }
.clauses { display: grid; gap: 12px; max-width: 760px; }
.clause { background: var(--card); border: 1px solid var(--hair); border-radius: 18px; padding: 22px 24px; }
.clause-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.clause-no { font-family: var(--display); font-weight: 900; font-size: 13px; color: var(--lime); letter-spacing: 0.04em; }
.clause h2 { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.clause p { color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.page-footnote { color: var(--muted2); font-size: 13px; margin-top: 26px; max-width: 760px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--hair); padding: 54px 0 40px; margin-top: 40px; }
.footer-grid { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 28px; }
.footer-brand img { height: 20px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--muted2); font-size: 13px; max-width: 380px; line-height: 1.6; }
.footer-links { display: flex; gap: 34px; flex-wrap: wrap; }
.footer-links div { display: grid; gap: 10px; }
.footer-links span { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted2); margin-bottom: 2px; }
.footer-links a { color: var(--muted); font-size: 14px; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--ink); }
.footer-legal { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--muted2); font-size: 12.5px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .btn, .nav { transition: none; }
  *, *::before, *::after { animation: none !important; }
}
