/* Shared kit for the five landing mockups: the live sign-in page's tokens, font, film and Google button.
   Source of truth for the look: gatePage() in server/account.js (blue field, yellow action, Archivo). */
:root {
  --blue: #2534C9;      /* the page field */
  --blue-2: #2C3BD6;    /* a lighter step for layered panels */
  --blue-deep: #1B27A8; /* a darker step for depth */
  --navy: #0D1356;      /* text on yellow, deep shadows */
  --ink: #F3F4FB;       /* main text */
  --soft: #D4D8FB;      /* second text */
  --muted: #B8BEF7;     /* small text */
  --line: rgba(255, 255, 255, .16);
  --yellow: #FFC94A;    /* the one accent */
  --yellow-hi: #FFD46B;
  --shadow: 0 18px 50px rgba(5, 8, 51, .45);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --radius: 6px;        /* film, shots, panels; buttons are full pill */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--blue); color: var(--ink);
  font: 1.0625rem/1.5 Archivo, system-ui, sans-serif; font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--ink); }
.wrap { width: min(100% - 32px, 1200px); margin-inline: auto; }

/* Display type: Archivo's width axis. Sentence case, never all caps. */
.display { margin: 0; font-weight: 800; font-variation-settings: "wdth" 112, "wght" 800; letter-spacing: -.02em; line-height: .98; }
.display em { font-style: normal; color: var(--yellow); }
.small { font-size: .9rem; color: var(--muted); }

/* Top bar */
.bar { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 64px; padding: 0 clamp(16px, 3vw, 40px); pointer-events: none; }
.bar > * { pointer-events: auto; }
.brand { font-weight: 700; font-variation-settings: "wdth" 96, "wght" 700; text-decoration: none; font-size: 1.05rem; }
.bar .pill-link { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; background: rgba(13, 19, 86, .55);
  color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 600; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); }

/* Sign in with Google: the live button, copied from gatePage (light theme, pill). */
.gsi-box { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.gsi { display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 30px 0 20px; border: 1px solid #747775;
  border-radius: 999px; background: #fff; color: #1F1F1F; font: 500 16px/20px Roboto, Arial, sans-serif; letter-spacing: .25px; text-decoration: none;
  white-space: nowrap; box-shadow: 0 1px 2px rgba(5, 8, 51, .25), 0 12px 30px rgba(5, 8, 51, .4);
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s; cursor: pointer; }
.gsi svg { flex: none; width: 22px; height: 22px; margin-right: 12px; }
.gsi:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(5, 8, 51, .25), 0 18px 40px rgba(5, 8, 51, .5); }
.gsi:active { transform: scale(.98); }
.gsi:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.gsi-note { max-width: 19rem; margin: 0; font-size: .8125rem; line-height: 1.4; color: var(--muted); text-align: center; }

/* Yellow action (the live .go button) */
.go { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: .65em 1.35em; border: 0; border-radius: 999px;
  background: var(--yellow); color: var(--navy); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, transform .2s var(--ease); }
.go:hover { background: var(--yellow-hi); }
.go:active { transform: scale(.98); }
.go:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* The film: live poster, live play button, live HLS file. */
.film { position: relative; aspect-ratio: 16 / 9; background: #03040a center / cover; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.film video { display: block; width: 100%; height: 100%; }
.film .play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; width: 100%; border: 0;
  background: rgba(3, 4, 7, .28); color: var(--ink); font: 600 1.05rem Archivo, system-ui, sans-serif; cursor: pointer; }
.film .play svg { width: 76px; height: 76px; transition: transform .3s var(--ease); }
.film .play:hover svg { transform: scale(1.08); }
.film .play:focus-visible { outline: 3px solid var(--yellow); outline-offset: -6px; }
.film .play[hidden] { display: none; }

/* A real screenshot of the Chair inside a quiet browser frame. */
.shot { border-radius: var(--radius); overflow: hidden; background: var(--navy); box-shadow: var(--shadow); border: 1px solid var(--line); }
.shot::before { content: ""; display: block; height: 22px; background:
  radial-gradient(circle at 14px 11px, rgba(255,255,255,.35) 3.5px, transparent 4px),
  radial-gradient(circle at 28px 11px, rgba(255,255,255,.25) 3.5px, transparent 4px),
  radial-gradient(circle at 42px 11px, rgba(255,255,255,.18) 3.5px, transparent 4px), rgba(13, 19, 86, .9); }
.shot img { width: 100%; height: auto; }

/* Mockup switcher, bottom left on every version */
.switch { position: fixed; left: 16px; bottom: 16px; z-index: 50; display: flex; gap: 4px; padding: 4px; border-radius: 999px;
  background: rgba(13, 19, 86, .8); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .8rem; }
.switch a { display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 999px; text-decoration: none; color: var(--soft); }
.switch a[aria-current="page"] { background: var(--yellow); color: var(--navy); font-weight: 700; }

.privacy-foot { padding: 32px 0 96px; text-align: center; }
.privacy-foot a { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .gsi:hover { transform: none; }
}
