:root {
  --k: #0B0B0B;
  --w: #FFFFFF;
  --a: #FFA51F;
  --g: #9A978F;
  --line: #3A3935;
  --f: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gut: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--k);
  color: var(--w);
  font: 400 17px/1.5 var(--f);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
h1, p { margin: 0; }
:focus-visible { outline: 3px solid var(--a); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Le champ de pixels occupe tout l'écran ; le texte passe devant. */
.field { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }

.stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  padding: max(var(--gut), env(safe-area-inset-top)) var(--gut) max(20px, env(safe-area-inset-bottom));
  pointer-events: none;
}
.stage > * { pointer-events: auto; }

.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; color: var(--g); }
.lock { display: inline-flex; align-items: center; gap: 10px; }
.lock svg { width: 18px; height: 18px; color: var(--a); }
.caption { display: inline-flex; gap: 10px; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.caption-n { color: var(--a); }
#caption-t { transition: opacity .25s ease; }
.caption.is-out #caption-t { opacity: 0; }

.copy { grid-row: 3; max-width: 640px; }
h1 {
  font-weight: 500;
  font-size: clamp(44px, 7.4vw, 104px);
  line-height: .94;
  letter-spacing: -.035em;
}
.lede { margin-top: 18px; max-width: 30em; color: #CFCCC6; font-size: clamp(16px, 1.35vw, 19px); }

.signup { margin-top: 26px; }
.row { display: flex; gap: 8px; max-width: 520px; }
input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 1px solid #55534E;
  border-radius: 0;
  background: rgba(11, 11, 11, .86);
  color: var(--w);
  font: inherit;
  font-size: 16px;
}
input[type="email"]::placeholder { color: #8E8B84; }
input[aria-invalid="true"] { border-color: #FF7A6B; }
.btn {
  flex: none;
  height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 0;
  background: var(--a);
  color: var(--k);
  font: 500 16px var(--f);
  cursor: pointer;
  transition: background-color .15s ease, transform .1s ease;
}
.btn:hover { background: #FFB547; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .7; cursor: default; }
.hp { position: absolute; left: -9999px; }
.status { min-height: 1.5em; margin-top: 10px; font-size: 14px; color: var(--g); }
.status.is-error { color: #FF9A8E; }
.status.is-ok { color: var(--w); }
.signup.is-done .row { display: none; }

.foot { grid-row: 4; display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 22px; font-size: 13px; color: #8E8B84; }
.contact { color: var(--w); text-underline-offset: 3px; }

@media (max-width: 560px) {
  .row { flex-direction: column; }
  input[type="email"] { flex: none; width: 100%; }
  .btn { width: 100%; }
  .foot { margin-top: 14px; }
}
@media (max-height: 640px) {
  h1 { font-size: clamp(36px, 6vw, 64px); }
  .lede { margin-top: 10px; }
  .signup { margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
