/* Skip — meetskip.app
   One dark stage: a floating bar, the wordmark, one line, one rolling word,
   one button, and the phones standing in a bank of light that follows the
   pointer. Geist throughout, like the app. */

:root {
  --bg: #050505;
  --panel: #141415;
  --fg: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --faint: rgba(255, 255, 255, 0.46);
  --line: rgba(255, 255, 255, 0.1);
  --accent: #4c6ef5;
  --accent-soft: #cfe6ff; /* the rolling word, readable on the sky and on black */
  --max: 1360px;
  --inset: 10px;
  --sans: "Geist", -apple-system, system-ui, "Segoe UI", sans-serif;
  --card-w: 15rem; /* the phones in the fan; the stage cut and footer follow it */
  color-scheme: dark;
}
@media (max-width: 1023px) { :root { --card-w: 13rem; } }
@media (max-width: 767px) { :root { --card-w: 11rem; } }
@media (max-width: 639px) { :root { --card-w: 10rem; } }
@media (max-width: 479px) { :root { --card-w: 40vw; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.04em; }
p { margin: 0; }
button { font: inherit; }
figure { margin: 0; }
.hidden { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
/* Nimbus's cobalt glass button, verbatim from meetnimbus.ai (.lp-btn + .lp-btn-pill
   in its globals.css) with square-ish corners instead of the pill: the face is
   darkest a little below the top and brightens toward the bottom, light pooling
   along the bottom edge and the side walls. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0.01em; line-height: normal;
  padding: 15px 20px; border-radius: 6px; color: #fff; white-space: nowrap; cursor: pointer;
  background: linear-gradient(180deg, #3457d8 0%, #3150cf 4%, #2a42b6 12%, #263cae 20%, #273db2 28%, #2b44bc 38%, #2e4ac7 50%, #3353d5 65%, #385ce5 81%, #3d66f1 92%, #3d66f1 100%);
  border: 1px solid rgba(112, 150, 252, 0.8);
  box-shadow: 0 0 10px rgba(93, 132, 255, 0.1), 0 8px 22px -12px rgba(40, 70, 200, 0.45), 0 2px 6px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(150, 185, 255, 0.3), inset 0 0 5px rgba(125, 170, 255, 0.55), inset 0 -2px 4px -2px rgba(190, 216, 255, 0.95);
  transition: transform 250ms cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 250ms cubic-bezier(0.2, 0.7, 0.3, 1), background 250ms ease;
  will-change: transform;
}
.btn svg { flex: none; }
.btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #4a6cec 0%, #3450cb 10%, #334ec7 28%, #3857d6 50%, #4468ee 75%, #4c72f8 90%, #5c83ff 100%);
  box-shadow: 0 0 16px rgba(105, 145, 255, 0.18), 0 12px 28px -12px rgba(40, 70, 200, 0.55), 0 3px 8px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(210, 228, 255, 0.34), inset 0 0 5px rgba(175, 208, 255, 0.5), inset 0 -2px 5px -2px rgba(215, 232, 255, 1);
}
.btn:active {
  transform: translateY(0);
  box-shadow: 0 0 8px rgba(93, 132, 255, 0.08), 0 4px 12px -10px rgba(40, 70, 200, 0.4), 0 1px 4px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(198, 218, 255, 0.2), inset 0 0 4px rgba(165, 200, 255, 0.35), inset 0 -2px 4px -2px rgba(205, 226, 255, 0.7);
}
.btn-sm { padding: 9px 14px; font-size: 14px; }
/* a quick glint that crosses the button left to right, then rests a few seconds */
.btn.shine { position: relative; overflow: hidden; }
.btn.shine::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; pointer-events: none;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.08) 30%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0.08) 70%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-130%) skewX(-18deg);
  animation: shine 4.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes shine {
  0% { transform: translateX(-130%) skewX(-18deg); }
  30%, 100% { transform: translateX(330%) skewX(-18deg); }
}

/* ---------- the stage ---------- */
/* An inset, rounded card holding the whole scene. The canvas paints the light;
   the gradient underneath is what shows if WebGL is missing. The phones stand
   over its bottom edge, so overflow stays visible and the canvas is rounded. */
.stage {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  width: 100%; height: 100svh; min-height: 560px; margin: 0;
  background: linear-gradient(180deg, #050505 0%, #0e3a6e 40%, #2f86e6 62%, #d6efff 76%, #4fa8ff 90%, #0e3a6e 100%);
  isolation: isolate;
}
.light { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }

/* the floating bar, sized like the reference: 50 px tall, 1000 px wide at most,
   a 6 px radius and a fill you can barely see */
.bar {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: min(1000px, 100% - 20px);
  z-index: 3; height: 50px; padding: 6px 6px 6px 10px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255, 255, 255, 0.04); border-radius: 6px;
}
.bar-mark { display: flex; align-items: center; width: 36px; height: 36px; justify-content: center; }
.bar-mark img { width: 28px; height: 28px; border-radius: 7px; } /* the app icon, as on the home screen */
.bar-nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 24px; font-size: 15px; color: #8b8f98; }
.bar-nav a:hover { color: var(--fg); }

/* the words */
.hero { position: relative; z-index: 2; text-align: center; padding: clamp(104px, 17vh, 180px) 20px 0; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(34px, 4.4vw, 54px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.wordmark img { width: clamp(30px, 3.8vw, 46px); height: auto; }
.hero h1 { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.08; letter-spacing: -0.06em; margin: 34px auto 0; max-width: 18ch; text-wrap: balance; }
.sub { font-size: clamp(17px, 1.7vw, 20px); letter-spacing: -0.03em; line-height: 1.5; margin: 22px auto 0; color: rgba(255, 255, 255, 0.78); max-width: 36ch; }

/* the rolling word: a hidden sizer keeps the width of the longest phrase so
   the sentence never shifts; two full phrases sit over it in a clipped line
   box and roll past each other word by word */
.roll { position: relative; display: inline-block; vertical-align: baseline; text-align: left; color: #fff; font-weight: 500; white-space: nowrap; }
.roll-sizer { visibility: hidden; }
.roll-stage { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; white-space: nowrap; }
.roll .cur, .roll .nxt { position: absolute; left: 0; top: 0; white-space: nowrap; }
.roll .w { display: inline-block; transition: transform .6s cubic-bezier(.22, .8, .2, 1); transition-delay: var(--d, 0s); will-change: transform; }
.roll .nxt .w { transform: translateY(150%); }
.roll-stage.go .cur .w { transform: translateY(-150%); }
.roll-stage.go .nxt .w { transform: translateY(0); }
.roll .gap { display: inline-block; white-space: pre; }

/* the button that turns into the form */
.cta { position: relative; display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.cta .email {
  display: none; height: 51px; width: min(300px, 70vw); border-radius: 6px; padding: 0 16px;
  background: rgba(0, 0, 0, 0.45); border: 1px solid rgba(255, 255, 255, 0.2); color: var(--fg); font: inherit; font-size: 15px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.cta .email::placeholder { color: rgba(255, 255, 255, 0.45); }
.cta .email { font-size: 15px; }
.cta .email:focus { outline: 2px solid var(--accent-soft); outline-offset: 1px; }
.cta.open .email { display: block; }
.cta .fine { flex-basis: 100%; font-size: 13px; color: var(--faint); display: none; margin-top: 4px; }
.cta.open .fine { display: block; }

/* ---------- fan of phones, standing in the light ---------- */
/* margin-top: auto keeps the phones at the bottom of the stage when the
   viewport is taller than the words; the stage's edge crops them otherwise */
.fan { position: relative; z-index: 2; margin-top: auto; padding-top: clamp(28px, 5vh, 56px); }
.fan-layout {
  --fan-spread: 0.88; --fan-drop: 0.14; --fan-rot: 16deg; --fan-side-scale: 0.7756;
  --fan-lift: 0.12; --fan-push: 0.1;
  position: relative; display: grid; place-items: center; height: calc(var(--card-w) * 2.3);
}
.fan-card {
  grid-area: 1 / 1; position: relative; width: var(--card-w); aspect-ratio: 1206 / 2622;
  padding: calc(var(--card-w) * 0.03); border-radius: calc(var(--card-w) * 0.165);
  background: #1c1c1f; border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(0, 0, 0, 0.6);
  will-change: transform; transform-origin: 50% 50%;
}
.fan-card img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--card-w) * 0.135); }
.fan-card:nth-child(1) { z-index: 1; transform: translate(calc(var(--card-w) * var(--fan-spread) * -1), calc(var(--card-w) * var(--fan-drop))) rotate(calc(var(--fan-rot) * -1)) scale(var(--fan-side-scale)); }
.fan-card:nth-child(2) { z-index: 2; }
.fan-card:nth-child(3) { z-index: 1; transform: translate(calc(var(--card-w) * var(--fan-spread)), calc(var(--card-w) * var(--fan-drop))) rotate(var(--fan-rot)) scale(var(--fan-side-scale)); }
.fan-js .fan-card { opacity: 0; }
@media (max-width: 479px) { .fan-layout { --fan-spread: 0.72; --fan-rot: 14deg; } }

@media (max-width: 720px) {
  /* the legal links have nowhere else to live on one screen, so the bar keeps them */
  .bar-nav { position: static; transform: none; font-size: 12px; gap: 12px; }
  .bar .btn { padding: 7px 14px; font-size: 13px; }
  .hero { padding-top: 104px; }
}

/* ---------- legal pages ---------- */
.header { position: sticky; top: 0; z-index: 20; background: rgba(5, 5, 5, 0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 28px; height: 60px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.brand img { width: 26px; height: 26px; border-radius: 7px; }
.nav { display: flex; gap: 22px; font-size: 14px; color: var(--faint); }
.nav a:hover { color: var(--fg); }
.header .spacer { flex: 1; }
.header .btn-primary { background: var(--fg); color: #0a0a0a; box-shadow: none; border-color: transparent; padding: 9px 16px; font-size: 14px; }
@media (max-width: 720px) { .nav { display: none; } }
.doc { max-width: 720px; margin: 0 auto; padding: 72px 0 96px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 10px; }
.doc .meta { color: var(--faint); font-size: 14px; margin-bottom: 40px; }
.doc h2 { font-size: 20px; margin: 40px 0 12px; letter-spacing: -0.02em; }
.doc p, .doc li { color: #d4d4d8; font-size: 16px; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; margin: 12px 0; display: grid; gap: 8px; }
.doc a { color: var(--accent-soft); }
.doc .box { background: #121214; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 18px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 14px 0; }
.doc th, .doc td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: #d4d4d8; }
.doc th { color: var(--faint); font-weight: 500; font-size: 13px; }
.footer { border-top: 1px solid var(--line); padding: 36px 0 48px; }
.footer .wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 13px; color: var(--faint); }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer .copy { margin-left: auto; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .roll .w { transition: none; } .btn:hover { transform: none; } .btn.shine::after { animation: none; } }
