/* ============================================================
   VaultView marketing site — Liquid Glass, dark, premium
   Tokens mirror the product (V2/src/glass.css + brand README).
   ============================================================ */

:root {
  --gold-hi: #f0d18a;
  --gold: #c9a54e;
  --gold-ink: #241b06;
  /* The brand silver — mirrors --vv-wordmark in the app (src/index.css).
     Every VAULTVIEW lockup on the site reads this, nothing else does. */
  --wordmark: #94a3b8;
  --text: #e7e5df;
  --text-mut: #9a978f;
  --text-dim: #6b6963;
  --glass-fill: rgba(255, 255, 255, 0.055);
  --glass-fill-2: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.11);
  --glass-hi: rgba(255, 255, 255, 0.22);
  --radius: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", sans-serif;
  background: radial-gradient(130% 90% at 18% 0%, #1a1c22 0%, #0b0c10 55%, #060608 100%) fixed;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* ---------- glass primitives ---------- */
.glass, .card, .nav, .btn-glass {
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(26px) saturate(1.6);
  backdrop-filter: blur(26px) saturate(1.6);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.btn-accent {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  color: var(--gold-ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 8px 22px rgba(201,165,78,0.28);
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: min(1060px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 14px 10px 18px;
  border-radius: 999px;
  z-index: 50;
}
.nav-brand {
  display: flex; align-items: center;
  text-decoration: none;
  font-size: 14px;
}

/* The wordmark — the brand set the ONE way the app sets it
   (components/ui/Wordmark): letter-spaced uppercase, bold, brand silver,
   no logo mark. Only size differs per context, never identity. */
.wordmark {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--wordmark);
  user-select: none;
  -webkit-user-select: none;
}
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  color: var(--text-mut); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ---------- buttons ---------- */
.btn-accent, .btn-glass, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  transition: filter .15s, transform .1s;
  color: var(--text);
}
.btn-accent { color: var(--gold-ink); }
.btn-accent:hover { filter: brightness(1.05); }
.btn-accent:active, .btn-glass:active { transform: scale(0.98); }
.btn-ghost { color: var(--text-mut); padding: 10px 12px; }
.btn-ghost:hover { color: var(--text); }
.btn-lg { padding: 14px 30px; font-size: 16px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 150px 24px 36px;
  text-align: center;
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; margin: auto; }
.hero h1 {
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-mut);
  max-width: 620px;
  margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- sections ---------- */
.section { max-width: 1060px; margin: 0 auto; padding: 96px 24px 10px; text-align: center; }
.eyebrow {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section h2, .cta h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 46px;
}

.grid { display: grid; gap: 18px; text-align: left; }
.features { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--text-mut); }
/* One treatment for every icon: a fine gold line on a whisper of gold.
   Single colour by design — the site's only accent is champagne. */
.card-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  background: rgba(201,165,78,0.10);
  color: var(--gold-hi);
}
.card-icon svg { width: 20px; height: 20px; display: block; }

/* ---------- your build ---------- */
.build-lead {
  margin: -28px auto 34px; max-width: 620px;
  font-size: 15px; color: var(--text-mut);
}
.micro {
  margin-top: 9px; text-align: center;
  font-size: 12px; color: var(--text-dim);
}
.private-label {
  margin-top: 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 34px; padding: 34px 38px;
  border-color: rgba(201,165,78,0.35);
  text-align: left;
}
.pl-invite {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 8px;
}
.private-label h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.pl-desc { font-size: 14.5px; color: var(--text-mut); max-width: 560px; }
.pl-right { text-align: right; flex-shrink: 0; }
@media (max-width: 860px) {
  .private-label { flex-direction: column; align-items: flex-start; }
  .pl-right { text-align: left; }
}
.fine { margin-top: 26px; font-size: 13.5px; color: var(--text-dim); }
.fine a { color: var(--gold); text-decoration: none; }

/* ---------- white glove ---------- */
.wg {
  list-style: none;
  counter-reset: wg;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}
.wg li {
  counter-increment: wg;
  position: relative;
  padding: 26px 0 26px 84px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.wg li:last-child { border-bottom: 1px solid rgba(255,255,255,0.07); }
.wg li::before {
  content: counter(wg, upper-roman);
  position: absolute; left: 6px; top: 29px;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.wg h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.wg p { font-size: 14px; color: var(--text-mut); }
@media (max-width: 720px) {
  .wg li { padding-left: 58px; }
  .wg li::before { left: 2px; }
}

/* ---------- cta ---------- */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  max-width: 1060px;
  margin: 110px auto 0;
  padding: 80px 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.cta h2 { margin-bottom: 12px; }
.cta p { color: var(--text-mut); margin-bottom: 32px; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 40px 24px 50px;
  text-align: center;
}
.footer-brand {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 13px;
}
.footer-links { display: flex; justify-content: center; gap: 26px; margin-bottom: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--text-mut); text-decoration: none; font-size: 13.5px; }
.footer-links a:hover { color: var(--text); }
.footer-fine { font-size: 12.5px; color: var(--text-dim); }

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav { top: 10px; padding: 8px 8px 8px 16px; }
  .nav-cta { gap: 4px; }
  .nav-cta .btn-accent { padding: 9px 14px; font-size: 13px; }
  .btn-ghost { padding: 9px 8px; font-size: 13px; }
  .hero { padding-top: 118px; padding-bottom: 70px; }
  .hero-sub { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 340px; margin: 0 auto; }
  .btn-lg { padding: 15px 24px; font-size: 15px; width: 100%; }
  .section { padding-top: 70px; }
  .section h2, .cta h2 { margin-bottom: 32px; }
  .build-lead { margin-top: -14px; }
  .cta { margin-top: 70px; padding: 60px 24px; }
  .cta .btn-lg { width: min(340px, 100%); }
}

/* ---------- package chips ---------- */
.pkg-chips {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px; text-align: left;
}
.pkg-chip {
  background: var(--glass-fill-2, rgba(255,255,255,0.03));
  border: 1px solid var(--glass-border);
  border-radius: 14px; padding: 14px 16px;
}
.pkg-chip h4 { font-size: 13.5px; font-weight: 600; color: var(--gold); margin-bottom: 4px; }
.pkg-chip p { font-size: 12.5px; color: var(--text-mut); }

/* ---------- verticals ---------- */
.vert-note {
  margin-top: 22px; font-size: 13px; color: var(--text-dim);
  font-style: italic;
}

/* ---------- hero mechanism background ---------- */
.hero-mech {
  position: fixed; inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.mech-stack {
  position: absolute; left: 15%; top: 52%;
  transform: translate(-50%, -50%);
  width: min(190vmin, 1700px);
  aspect-ratio: 1;
  /* soft focus is baked into the SVGs (feGaussianBlur) so the spinning layer
     is a pre-blurred texture the GPU just rotates — no per-frame blur. */
  opacity: 0.17;
}
.mech-stack img { position: absolute; inset: 0; width: 100%; height: 100%; }
.mech-spin { animation: mech-turn 240s linear infinite; will-change: transform; }
@keyframes mech-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .mech-spin { animation: none; } }

.nav-brand img { display: block; }

@media (max-width: 1000px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 13px; white-space: nowrap; }
}

/* content below the hero slides up over the fixed mechanism */
.page-body {
  position: relative;
  z-index: 1;
  background: radial-gradient(130% 90% at 18% 0%, #1a1c22 0%, #0b0c10 55%, #060608 100%) fixed;
}
