/* Prems site — same DA as the app: night #111, paper #E8E3D6, Archivo condensed caps + Figtree. */
:root {
  --night: #111111;
  --surface: #1c1c1c;
  --ink: #e8e3d6;
  --ink-soft: rgba(232, 227, 214, 0.6);
  --ink-faint: rgba(232, 227, 214, 0.38);
  --line: rgba(232, 227, 214, 0.12);
  --tint: #2b3a55;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; background: var(--night); color: var(--ink);
  font: 400 16px/1.55 'Figtree', system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.display {
  font-family: 'Archivo', system-ui, sans-serif; font-weight: 900; font-variation-settings: 'wdth' 62;
  text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.95; margin: 0;
}
.wrap { width: min(100% - 32px, 440px); margin: 0 auto; padding: 28px 0 48px; }
.brand { font-size: 22px; text-decoration: none; }
.soft { color: var(--ink-soft); }
.faint { color: var(--ink-faint); font-size: 13px; }

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 22px;
  border-radius: 26px; border: 0; background: var(--ink); color: var(--night); text-decoration: none; cursor: pointer;
  font-family: 'Archivo', system-ui, sans-serif; font-weight: 900; font-variation-settings: 'wdth' 62;
  text-transform: uppercase; font-size: 18px; transition: transform 140ms ease-out;
}
.pill:active { transform: scale(0.97); }
.pill.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(232, 227, 214, 0.28); }
.pill:focus-visible, .play:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* listen page */
.card {
  position: relative; margin-top: 28px; padding: 22px; border-radius: 26px; overflow: hidden;
  background: linear-gradient(180deg, var(--tint) 0%, color-mix(in srgb, var(--tint) 55%, var(--night)) 100%);
}
.sleeve {
  display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); transform: rotate(-3deg); background: var(--surface);
}
.meta { margin-top: 22px; display: flex; align-items: flex-end; gap: 16px; }
.meta > div { flex: 1; min-width: 0; }
.artist { font-size: clamp(40px, 13vw, 58px); overflow-wrap: anywhere; }
.track { margin: 8px 0 0; font-weight: 600; font-size: 17px; }
.play {
  flex: none; width: 64px; height: 64px; border-radius: 32px; border: 0; cursor: pointer;
  background: var(--ink); color: var(--night); display: grid; place-items: center;
  transition: transform 140ms ease-out;
}
.play:active { transform: scale(0.95); }
.play svg { width: 26px; height: 26px; }
.bar { margin-top: 18px; height: 3px; border-radius: 2px; background: rgba(232, 227, 214, 0.18); overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; background: var(--ink); }
.actions { display: grid; gap: 10px; margin-top: 26px; }
.note { margin: 14px 0 0; text-align: center; }

/* text pages */
.prose h1 { font-size: 48px; margin: 36px 0 8px; }
.prose h2 { font-family: 'Figtree', system-ui, sans-serif; font-size: 18px; font-weight: 700; margin: 30px 0 6px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { padding-left: 20px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

@media (prefers-reduced-motion: reduce) { .sleeve { transform: none; } .pill, .play { transition: none; } }

/* privacy policy */
.toc { display: grid; gap: 6px; margin: 24px 0 8px; padding: 16px 18px; border-radius: 16px; background: var(--surface); }
.toc a { color: var(--ink-soft); text-decoration: none; font-size: 15px; }
.toc a:hover { color: var(--ink); }
.prose h2 { scroll-margin-top: 16px; }
.data { margin: 18px 0; }
.data dt { margin-top: 18px; font-weight: 700; color: var(--ink); }
.data dd { margin: 4px 0 0; color: var(--ink-soft); }
.data dd span {
  display: inline-block; min-width: 70px; color: var(--ink-faint); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* home: « Préviens-moi » */
.wait { margin-top: 32px; display: grid; gap: 10px; }
.wait-row { display: grid; gap: 10px; }
.wait input {
  height: 52px; padding: 0 18px; border-radius: 26px; border: 0; background: var(--surface); color: var(--ink);
  font: 600 16px 'Figtree', system-ui, sans-serif; box-shadow: inset 0 0 0 1.5px rgba(232, 227, 214, 0.28); width: 100%;
}
.wait input::placeholder { color: var(--ink-faint); }
.wait input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wait button[disabled] { opacity: 0.5; cursor: default; }
@media (min-width: 420px) { .wait-row { grid-template-columns: 1fr auto; } }
