/* The waitlist page, in the landing's art direction (landing/src/app/globals.css,
   styles/hero.css): pure black, glass, white for what matters, the logo's
   iridescence as light, one family (Funnel Display). Plain CSS: this page is
   served by the static site under a strict CSP (no inline styles). */

:root {
  --paper: #000;
  --ink: #fff;
  --ink-soft: rgb(255 255 255 / 0.62);
  --ink-faint: rgb(255 255 255 / 0.4);
  --line: rgb(255 255 255 / 0.1);
  --ease-spring: linear(0, .0345, .1218, .2409, .3747, .5101, .638, .7521, .849, .9275, .9877, 1.0312, 1.06, 1.0764, 1.0831, 1.0824, 1.0765, 1.0674, 1.0565, 1.0451, 1.0341, 1.0241, 1.0155, 1.0083, 1.0027, .9986, .9958, .994, .9932, .993, .9934, .9941, .9949, .9959, .9968, .9977, .9985, .9991, .9996, 1, 1);
  --ease-spring-quick: linear(0, .0483, .1628, .3075, .4576, .5977, .7192, .8184, .8952, .9515, .9902, 1.0146, 1.0283, 1.0341, 1.0346, 1.0318, 1.0273, 1.0221, 1.0169, 1.0123, 1.0083, 1.0052, 1.0028, 1.0011, 1, .9993, .9989, .9988, 1);
  --ease-spring-soft: linear(0, .0224, .0789, .1562, .2444, .3363, .427, .5128, .5919, .6629, .7255, .7798, .826, .8648, .897, .9232, .9443, .961, .9741, .9841, .9915, .997, 1.0008, 1.0034, 1.005, 1.0059, 1.0063, 1.0062, 1.006, 1.0055, 1.005, 1.0044, 1.0038, 1.0033, 1.0028, 1.0023, 1);
  --ease-out-soft: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Funnel Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: rgb(255 255 255 / 0.9); color: #000; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 12px; }
[hidden] { display: none !important; }
.trap, .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow.center { text-align: center; }

/* ───────── Nav: the landing's glass pill ───────── */

.navwrap {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 20px 16px 0;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1060px;
  height: 60px;
  padding: 0 8px 0 12px;
  border-radius: 999px;
  background: linear-gradient(rgb(30 30 33 / 0.62), rgb(18 18 20 / 0.46));
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.14), inset 0 0 0 1px rgb(255 255 255 / 0.07), 0 1px 2px rgb(0 0 0 / 0.4), 0 12px 32px -14px rgb(0 0 0 / 0.8);
  transition: max-width 0.8s var(--ease-spring), background 0.4s ease;
}
.nav[data-scrolled="true"] {
  max-width: 820px;
  background: linear-gradient(rgb(28 28 31 / 0.86), rgb(16 16 18 / 0.78));
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12);
  transition: transform 0.5s var(--ease-spring-quick);
}
.brand:hover img { transform: rotate(-6deg) scale(1.05); }
.brand span { font-size: 21px; font-weight: 600; letter-spacing: -0.03em; }
.nav-links {
  position: relative;
  display: none;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: rgb(255 255 255 / 0.75);
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"] {
  background: rgb(255 255 255 / 0.1);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
}
.nav-pill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--pw, 0px);
  translate: var(--px, 0px) 0;
  opacity: 0;
  border-radius: 999px;
  background: linear-gradient(rgb(255 255 255 / 0.14), rgb(255 255 255 / 0.06));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.16), inset 0 0 0 1px rgb(255 255 255 / 0.06);
  transition: translate 0.5s var(--ease-spring-quick), width 0.5s var(--ease-spring-quick), opacity 0.2s ease;
  pointer-events: none;
}
.nav-links:hover .nav-pill { opacity: 1; }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px 0 16px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: inset 0 -1px 0 rgb(0 0 0 / 0.12), 0 6px 16px -6px rgb(255 255 255 / 0.35);
  transition: transform 0.3s var(--ease-spring-quick);
}
.nav-cta:hover { transform: scale(1.03); }
.nav-cta:active { transform: scale(0.95); }
@media (max-width: 639px) { .brand span { display: none; } }
@media (min-width: 640px) { .navwrap { padding: 28px 24px 0; } }
@media (min-width: 768px) { .nav-links { display: flex; } }

/* ───────── Hero card ───────── */

.hero-wrap { padding: 10px; }
@media (min-width: 640px) { .hero-wrap { padding: 14px; } }
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(120% 60% at 50% 100%, rgb(179 155 255 / 0.2), transparent 70%),
    radial-gradient(50% 40% at 12% 92%, rgb(255 176 138 / 0.14), transparent 70%),
    radial-gradient(50% 40% at 88% 88%, rgb(126 176 255 / 0.14), transparent 70%),
    linear-gradient(180deg, #0c0c0f 0%, #08080a 52%, #0e0c14 100%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06);
}
@media (min-width: 640px) { .hero { border-radius: 36px; } }
.hero-glow {
  position: absolute;
  left: 50%;
  bottom: -25%;
  width: min(1100px, 130%);
  aspect-ratio: 16 / 9;
  translate: -50% 0;
  background: url('/glow.jpg') center / cover no-repeat;
  filter: blur(70px) saturate(1.15);
  opacity: 0.3;
  pointer-events: none;
}

.grain { isolation: isolate; }
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.haze {
  position: absolute;
  width: var(--w);
  height: var(--h);
  pointer-events: none;
  animation: drift var(--drift, 40s) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
  --tint: #fff;
}
.haze-a { --w: 520px; --h: 260px; left: -140px; top: 300px; --dx: 30px; --drift: 46s; opacity: 0.5; }
.haze-b { --w: 460px; --h: 240px; right: -120px; top: 120px; --dx: -36px; --drift: 52s; --delay: -12s; --tint: #b39bff; opacity: 0.65; }
.haze-c { --w: 360px; --h: 190px; right: 14%; bottom: 40px; --dx: -20px; --drift: 44s; --delay: -6s; --tint: #ffb08a; opacity: 0.45; }
.haze-soft {
  position: absolute;
  inset: 12%;
  filter: blur(22px);
  opacity: 0.5;
  background:
    radial-gradient(closest-side at 32% 62%, var(--tint), transparent),
    radial-gradient(closest-side at 58% 42%, var(--tint), transparent),
    radial-gradient(closest-side at 78% 64%, var(--tint), transparent);
}
.haze-dots {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(circle, var(--tint) 1.1px, transparent 1.7px);
  background-size: 5px 5px;
  -webkit-mask-image: radial-gradient(closest-side at 30% 62%, #000 30%, transparent), radial-gradient(closest-side at 55% 40%, #000 35%, transparent), radial-gradient(closest-side at 78% 60%, #000 25%, transparent);
  mask-image: radial-gradient(closest-side at 30% 62%, #000 30%, transparent), radial-gradient(closest-side at 55% 40%, #000 35%, transparent), radial-gradient(closest-side at 78% 60%, #000 25%, transparent);
}
@keyframes drift {
  from { transform: translate3d(calc(var(--dx, 40px) * -1), 0, 0); }
  to { transform: translate3d(var(--dx, 40px), 0, 0); }
}

.hero-grid {
  position: relative;
  z-index: 10;
  display: grid;
  gap: 56px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 136px 20px 64px;
}
@media (min-width: 640px) { .hero-grid { padding: 168px 40px 88px; } }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 64px; padding: 176px 64px 104px; } }

.copy { text-align: center; }
@media (min-width: 1000px) { .copy { text-align: left; } }

h1 {
  margin: 16px 0 0;
  font-size: 44px;
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
@media (min-width: 640px) { h1 { font-size: 64px; } }
/* Two columns: « Cinemotion arrive » has to hold on one line. */
@media (min-width: 1000px) { h1 { font-size: 52px; } }
@media (min-width: 1200px) { h1 { font-size: 60px; } }
h1 .line { display: block; }
h1 .line > span { display: inline-block; animation: hero-word 1s var(--ease-spring-soft) both; }
h1 .line:first-child > span:nth-child(1) { animation-delay: 60ms; }
h1 .line:first-child > span:nth-child(2) { animation-delay: 130ms; }
h1 .line:last-child > span { animation-delay: 220ms; }
@keyframes hero-word {
  from { opacity: 0; filter: blur(10px); transform: translateY(18px); }
  to { opacity: 1; filter: none; transform: none; }
}
.fade { animation: fade 1s var(--ease-out-soft) backwards; }
.fade.d1 { animation-delay: 420ms; }
.fade.d2 { animation-delay: 520ms; }
.fade.d3 { animation-delay: 650ms; }
@keyframes fade { from { opacity: 0; filter: blur(6px); } }

.lede {
  margin: 22px auto 0;
  max-width: 34rem;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}
@media (min-width: 640px) { .lede { font-size: 19px; } }
@media (min-width: 1000px) { .lede { margin-left: 0; } }

/* ───────── Form card ───────── */

.sheet {
  max-width: 460px;
  margin: 32px auto 0;
  padding: 20px;
  border-radius: 28px;
  text-align: left;
  background: linear-gradient(rgb(28 28 31 / 0.82), rgb(18 18 20 / 0.86));
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), inset 0 0 0 1px rgb(255 255 255 / 0.06), 0 30px 60px -28px rgb(0 0 0 / 0.9);
}
@media (min-width: 1000px) { .sheet { margin-left: 0; } }

.field input {
  width: 100%;
  height: 56px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.07);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}
.field input::placeholder { color: var(--ink-faint); }
.field input:focus { background: rgb(255 255 255 / 0.1); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.8); }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 16px 4px 20px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--ink-soft);
  cursor: pointer;
}
.consent input {
  flex: none;
  display: grid;
  place-content: center;
  width: 22px;
  height: 22px;
  margin: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.07);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: background 0.2s ease, scale 0.35s var(--ease-spring-quick);
}
.consent input:checked { background: #fff; scale: 1.06; }
.consent input:checked::after { content: ''; width: 10px; height: 6px; border: solid #000; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.consent a { color: #fff; font-weight: 600; text-decoration: none; }

.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 3.25rem;
  padding: 0 1.6rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 -1px 0 rgb(0 0 0 / 0.12), 0 1px 2px rgb(0 0 0 / 0.4), 0 10px 30px -10px rgb(255 255 255 / 0.35);
  transition: transform 0.35s var(--ease-spring-quick), box-shadow 0.3s ease, opacity 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-light:hover { transform: translateY(-1px) scale(1.02); }
.btn-light:active { transform: scale(0.97); }
.btn-light[disabled] { opacity: 0.5; cursor: default; transform: none; }
.btn-light.wide { width: 100%; height: 56px; }

.error { margin: 14px 4px 0; font-size: 13.5px; text-align: center; }
.count { margin: 16px 0 0; text-align: center; font-size: 13.5px; color: var(--ink-faint); }

.done, .out { text-align: center; }
.number {
  margin: 10px 0 8px;
  font-size: clamp(32px, 9vw, 44px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.note { margin: 0 auto; max-width: 340px; font-size: 15px; color: var(--ink-soft); }
.wallet { margin-top: 22px; }
.hint { margin: 12px 8px 0; font-size: 13px; line-height: 1.4; color: var(--ink-faint); }
.inapp { color: var(--ink-soft); }

/* The « Pour toi » pastel grain, drifting behind the founder number. */
.pastel-text {
  background: url('/pastel.webp') 0 0 / 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: pastel 60s ease-in-out infinite alternate;
}
@keyframes pastel {
  0% { background-position: 0% 10%; }
  33% { background-position: 80% 40%; }
  66% { background-position: 30% 90%; }
  100% { background-position: 100% 0%; }
}

/* ───────── Founder pass preview ───────── */

.pass-stage {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 18px;
  perspective: 1400px;
}
.pass {
  position: relative;
  width: min(340px, 86vw);
  aspect-ratio: 340 / 440;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12), 0 50px 90px -30px rgb(0 0 0 / 0.95), 0 0 120px -30px rgb(179 155 255 / 0.4);
  transform: rotateY(-12deg) rotateX(4deg) rotateZ(3deg);
  transition: transform 1.2s var(--ease-spring-soft);
}
.pass-stage:hover .pass { transform: rotateY(-4deg) rotateX(2deg) rotateZ(1deg); }
.pass-glow {
  position: absolute;
  inset: auto -30% -40% -30%;
  height: 70%;
  background: url('/glow.jpg') center / cover no-repeat;
  filter: blur(40px);
  opacity: 0.35;
  pointer-events: none;
}
.pass-top, .pass-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.pass-row { justify-content: flex-start; gap: 44px; }
.pass-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.pass-logo img { width: 30px; height: 30px; border-radius: 8px; }
.pass-field { display: grid; gap: 2px; }
.pass-field.right { text-align: right; }
.pass-field small { font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; color: rgb(143 143 143); }
.pass-field b { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.pass-top .pass-field b { font-size: 21px; font-variant-numeric: tabular-nums; }
.pass-qr {
  position: relative;
  margin-top: auto;
  align-self: center;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 12px 12px 8px;
  border-radius: 10px;
  background: #fff;
}
.pass-qr svg { width: 104px; height: 104px; display: block; shape-rendering: crispEdges; }
.pass-qr small { font-size: 11px; font-weight: 600; color: #000; }
.pass-stage figcaption { font-size: 13.5px; font-weight: 500; color: var(--ink-faint); }

/* ───────── Screenshots ───────── */

.shots { padding: 104px 0 0; text-align: center; }
.shots h2 {
  margin: 14px 0 36px;
  font-size: 40px;
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.035em;
}
@media (min-width: 640px) { .shots h2 { font-size: 56px; } }
.track {
  display: flex;
  gap: 16px;
  padding: 0 20px 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 20px;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.track img {
  flex: none;
  width: min(62vw, 260px);
  height: auto;
  aspect-ratio: 600 / 1304;
  border-radius: 22px;
  background: #111;
  scroll-snap-align: start;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08), 0 30px 60px -30px rgb(0 0 0 / 0.9);
  user-select: none;
  -webkit-user-drag: none;
}
@media (min-width: 1200px) {
  .track { justify-content: safe center; padding: 0 40px 8px; }
}
.more { margin: 28px 0 0; }
.more a {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.3);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s ease;
}
.more a:hover { text-decoration-color: #fff; }

/* ───────── Footer ───────── */

.foot {
  max-width: 1240px;
  margin: 0 auto;
  padding: 88px 24px 48px;
}
.foot-top {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}
@media (min-width: 640px) { .foot-top { flex-direction: row; align-items: flex-end; } }
.foot .brand span { font-size: 24px; }
.foot-line { margin: 16px 0 0; font-size: 15.5px; color: var(--ink-soft); }
.foot-line b { color: #fff; font-weight: 600; }
.foot-fine { margin: 12px 0 0; max-width: 24rem; font-size: 13.5px; color: var(--ink-faint); }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.foot-links a { font-size: 15px; font-weight: 500; color: rgb(255 255 255 / 0.7); text-decoration: none; transition: color 0.15s ease; }
.foot-links a:hover { color: #fff; }
.foot-copy { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-faint); }

@media (prefers-reduced-motion: reduce) {
  .haze, .pastel-text, h1 .line > span, .fade { animation: none; }
  .pass { transition: none; }
}
