/* GroupBrew landing and verify page (plan 38). Tokens from docs/design/tokens.json; Poppins self-hosted (OFL). */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/poppins-600.f4e80d9d.woff2) format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/poppins-700.9338e65f.woff2) format("woff2");
}

:root {
  --navy: #0f1930;
  --cyan: #1fcff0;
  --sky: #80c4f0;
  --mist: #e5edf2;
  --violet: #7c56f5;
  --violet-deep: #5840b6;
  --text: #f4f4f7;
  --text-muted: #9aa3bd;
  --code-bg: #141d3a;
  --border: rgba(229, 237, 242, 0.14);
  --heading: "Poppins", system-ui, sans-serif;
  --gradient: linear-gradient(120deg, var(--cyan), var(--sky), var(--violet));
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
img, video, canvas { display: block; max-width: 100%; }

/* header and footer */
.top, .foot, .landing, .verify { width: 100%; max-width: 64rem; margin: 0 auto; padding: 0 1rem; }
.top { display: flex; align-items: center; justify-content: space-between; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.home { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); }
.home:hover { text-decoration: none; }
.wordmark { font-family: var(--heading); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; }
.wordmark span { background: linear-gradient(90deg, var(--violet), var(--violet-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.signin, .back { font-family: var(--heading); font-weight: 600; font-size: 0.95rem; color: var(--text); padding: 0.45rem 0.9rem; border: 1px solid var(--border); border-radius: 999px; }
.signin:hover, .back:hover { border-color: var(--cyan); text-decoration: none; }
.foot { margin-top: auto; padding-top: 2rem; padding-bottom: 2rem; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.9rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.foot a { color: var(--text-muted); }
.foot a:hover { color: var(--text); }
.foot p { margin: 1rem 0 0; }

/* landing */
.landing { padding-bottom: 3rem; }
.hero {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 60rem;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.hero > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-canvas { cursor: ew-resize; }
.hero-canvas[hidden] { display: none; }
.intro { max-width: 44rem; margin: 2.5rem auto 0; text-align: center; }
.eyebrow { margin: 0 0 0.75rem; font-family: var(--heading); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); }
h1 { margin: 0; font-family: var(--heading); font-weight: 700; font-size: clamp(1.75rem, 4.5vw, 2.75rem); line-height: 1.15; letter-spacing: -0.015em; }
.lead { margin: 1.25rem 0 0; color: var(--text-muted); font-size: 1.125rem; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin: 2rem 0 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 10rem; padding: 0.8rem 1.6rem; border-radius: 999px;
  font-family: var(--heading); font-weight: 600; font-size: 1rem; color: var(--text);
  border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--gradient); color: var(--navy); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-primary:active { background: var(--violet-deep); color: var(--text); filter: none; }
.btn-secondary { border-color: var(--border); }
.btn-secondary:hover { border-color: var(--cyan); }
@media (max-width: 480px) {
  .actions { flex-direction: column; align-items: stretch; }
  .hero { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video, .hero-canvas { display: none; }
}

/* verify */
.verify { padding-bottom: 3rem; max-width: 46rem; }
.verify h1 { margin-top: 1rem; }
.verify h2 { font-family: var(--heading); font-weight: 600; font-size: 1.25rem; margin: 2.25rem 0 0.5rem; }
.verify p { margin: 0.75rem 0; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; background: var(--code-bg); color: var(--mist); border-radius: 6px; }
code { padding: 0.1rem 0.4rem; }
pre { padding: 0.9rem 1rem; overflow-x: auto; line-height: 1.5; }
pre code { padding: 0; background: none; }
