/*
 * studio.leverugc.com's home, in luxe (Theran, Nov 8 — splash-lab
 * `site-redesign`: the playground, then blueprints). Every value is theme.ts's
 * (C, R, T, LUXE, CAPTION) but --t-display, the desktop headline — big on
 * desktop, the app's own sizes on a phone (Theran, Nov 8).
 */

@font-face { font-family: 'Be Vietnam Pro'; font-weight: 300; font-display: swap; src: url('/fonts/be-vietnam-pro-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 400; font-display: swap; src: url('/fonts/be-vietnam-pro-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 600; font-display: swap; src: url('/fonts/be-vietnam-pro-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'TikTok Sans'; font-weight: 600; font-display: swap; src: url('/fonts/tiktok-sans-captions.woff2') format('woff2'); }

:root {
  --bg: #1a1a1a;
  --text: #f0ece4;
  --dim: #c8c4bc;
  --faint: #8a8780;
  --lime: #d0fe17;
  --ink: #141217;
  --lime-words: rgba(208, 254, 23, 0.95);
  --lime-label: rgba(208, 254, 23, 0.85);
  --lime-edge: rgba(208, 254, 23, 0.5);
  --lime-light: rgba(208, 254, 23, 0.35);
  --lime-glow: rgba(208, 254, 23, 0.12);
  --lime-fill: rgba(208, 254, 23, 0.1);
  --hair: rgba(255, 255, 255, 0.12);
  --rim: rgba(255, 255, 255, 0.6);
  --frost-top: rgba(255, 255, 255, 0.13);
  --frost-mid: rgba(255, 255, 255, 0.04);
  --frost-edge: rgba(255, 255, 255, 0.14);
  --frost-shine: rgba(255, 255, 255, 0.28);
  --frost-drop: rgba(0, 0, 0, 0.35);

  --r-pill: 999px;
  --r-control: 14px;
  --r-panel: 22px;

  --t-caption: 11px;
  --t-footnote: 13px;
  --t-subhead: 15px;
  --t-body: 17px;
  --t-title: 22px;
  --t-large: 34px;
  --t-hero: 54px;
  --t-display: 96px;

  --inset: 22px;
  --spring: cubic-bezier(0.34, 1.36, 0.64, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { display: block; }

/* One type scale, light: a caps label, a title at 300 whose setup is dim and point is full, one line under. */
.label { font-size: var(--t-caption); font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; color: var(--lime-label); }
.title { font-size: var(--t-large); font-weight: 300; letter-spacing: -0.9px; line-height: 1.12; text-wrap: balance; }
.title span { display: block; }
.title .dim { color: var(--dim); }
.under { font-size: var(--t-subhead); line-height: 1.45; color: var(--dim); text-wrap: pretty; }
.fine { font-size: var(--t-footnote); color: var(--faint); }
.num { font-variant-numeric: tabular-nums; }

/* The one action: a lime capsule, its rim of light and its glow. */
.act {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 30px; border-radius: var(--r-pill);
  background: var(--lime); color: var(--ink); font-size: var(--t-body); font-weight: 600; text-decoration: none;
  box-shadow: inset 0 1px 0 var(--rim), 0 10px 36px var(--lime-light);
  transition: transform 0.12s;
}
.act:active { transform: translateY(2px); }
.act svg { width: 17px; height: 17px; fill: var(--ink); flex: none; }

.frost {
  border-radius: var(--r-panel);
  background: linear-gradient(160deg, var(--frost-top), var(--frost-mid) 55%, transparent);
  border: 1px solid var(--frost-edge);
  box-shadow: inset 0 1px 0 var(--frost-shine), 0 10px 30px var(--frost-drop);
}

.grain { position: absolute; inset: 0; opacity: 0.08; pointer-events: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"); }

/* Lever's light as a cloud (LUXE.cloud), drawn on the phone's 393 × 852 and scaled into place. */
.cloud { position: absolute; width: 393px; height: 852px; filter: blur(34px); transform-origin: 0 0; pointer-events: none; }
.cloud i { position: absolute; border-radius: 50%; animation: drift 8s ease-in-out infinite alternate; }
.cloud .p1 { left: 0; top: -130px; width: 600px; height: 380px; transform: rotate(-18deg); background: radial-gradient(closest-side, rgba(208,254,23,.42), rgba(208,254,23,.19) 55%, transparent); --dx: 24px; --dy: 12px; }
.cloud .p2 { left: -170px; top: 130px; width: 460px; height: 340px; transform: rotate(25deg); background: radial-gradient(closest-side, rgba(208,254,23,.3), rgba(208,254,23,.135) 55%, transparent); --dx: 26px; --dy: 18px; animation-delay: -2.8s; }
.cloud .p3 { left: 180px; top: 0; width: 140px; height: 600px; transform: rotate(38deg); background: radial-gradient(closest-side, rgba(208,254,23,.5), rgba(208,254,23,.225) 55%, transparent); --dx: 18px; --dy: 14px; animation-delay: -4s; }
.cloud .p4 { left: 80px; top: 50px; width: 300px; height: 200px; background: radial-gradient(closest-side, rgba(240,236,228,.2), rgba(240,236,228,.09) 55%, transparent); --dx: 14px; --dy: 10px; animation-delay: -4.8s; }
.cloud .p5 { left: 160px; top: 290px; width: 420px; height: 260px; transform: rotate(-30deg); background: radial-gradient(closest-side, rgba(20,18,23,.95), rgba(20,18,23,.43) 55%, transparent); --dx: 18px; --dy: 14px; animation-delay: -1.6s; }
.cloud .p6 { left: -160px; top: 390px; width: 400px; height: 340px; background: radial-gradient(closest-side, rgba(208,254,23,.14), rgba(208,254,23,.063) 55%, transparent); --dx: 18px; --dy: 18px; animation-delay: -6s; }
@keyframes drift { to { translate: var(--dx) var(--dy); } }

/* A finished video: a creator's still with its caption burned where Lever burns it (CAPTION: 600, 78% down, a black edge). */
.vid { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r-control); overflow: hidden; background: #000 center / cover no-repeat; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 18px 40px rgba(0,0,0,.5); container-type: inline-size; flex: none; }
.vid b { position: absolute; left: 4%; right: 4%; top: 78%; translate: 0 -50%; text-align: center; font-family: 'TikTok Sans', sans-serif; font-weight: 600; color: #fff; font-size: 9cqw; line-height: 1.15; -webkit-text-stroke: 1.3cqw #000; paint-order: stroke fill; }

/* The nav: Lever's mark and a quiet way in; on a computer, the way in follows once the first screen's action is out of sight. */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 64px var(--inset) 0; }
.nav .mark { display: block; width: 48px; height: auto; }
.nav .get { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: var(--r-pill); font-size: var(--t-footnote); font-weight: 600; text-decoration: none; color: var(--text);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 6px 18px var(--frost-drop); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); }
.nav .get svg { width: 13px; height: 13px; fill: var(--text); }

/* On a phone the first screen is the playground, so the action rises above the home bar once she's played past it (ActionBar). */
.dock { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; padding: 26px var(--inset) calc(14px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; gap: 10px; background: linear-gradient(to bottom, transparent, var(--bg) 40%);
  transform: translateY(110%); transition: transform .5s var(--spring); }
.dock.up { transform: none; }
.dock .act { width: 100%; }

footer { display: flex; flex-direction: column; gap: 10px; padding: 22px var(--inset) calc(110px + env(safe-area-inset-bottom)); border-top: 1px solid var(--hair); font-size: var(--t-footnote); color: var(--faint); }
footer nav { display: flex; gap: 18px; }
footer a { color: var(--dim); text-decoration: none; }

/* ── A computer ── */
@media (min-width: 900px) {
  .nav { position: fixed; padding: 28px 48px; transition: background .3s; }
  .nav .mark { width: 60px; }
  .nav .get { height: 40px; padding: 0 18px; font-size: var(--t-subhead); opacity: 0; transform: translateY(-6px) scale(.96); pointer-events: none; transition: opacity .25s, transform .4s var(--spring); }
  .nav .get svg { width: 14px; height: 14px; }
  .nav.past .get { opacity: 1; transform: none; pointer-events: auto; }

  .title { font-size: var(--t-display); letter-spacing: -0.03em; line-height: 1.04; }
  .under { font-size: var(--t-body); }
  .dock { position: static; padding: 0; background: none; margin-top: 36px; transform: none; }
  .dock .act { width: auto; }
  .vid { border-radius: var(--r-panel); }

  footer { flex-direction: row; justify-content: space-between; padding: 26px 48px 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .cloud i { animation: none; }
  .step, .phone .screen, .layer, .ex .her, .reuse .clip { transition: none; }
}
