/* TimeVault — noir profond, titres énormes, maquettes iPhone/Mac, clé physique.
   Échelle Opal, geste Foqos, palette Crépuscule. */
:root {
  --bg: #0a0910;
  --bg-2: #100e18;
  --surface: #17141f;
  --surface-2: #1f1b2b;
  --line: #2a2536;
  --line-2: #3a3449;
  --ink: #f2f0f8;
  --dim: #9c97ae;
  --dim-2: #6b667c;
  --mint: #3fd8b0;
  --mint-ink: #052a20;
  --lamp: #c4a574;
  --warn: #e8a33d;
  --display: "Gloock", Palatino, "Iowan Old Style", serif;
  --ui: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --gutter: clamp(1.1rem, 5vw, 4rem);
  --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } *, *::before, *::after { animation: none !important; transition: none !important } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 1.0625rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block }
a { color: inherit; text-decoration: none }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--mint); color: var(--mint-ink); padding: .5rem .8rem; z-index: 50 }
.skip:focus { top: 1rem }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.025em; margin: 0 }
h1 { font-size: clamp(3rem, 10.5vw, 7.5rem); line-height: .92 }
h2 { font-size: clamp(2.3rem, 6.2vw, 4.6rem); line-height: .98 }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.12 }
.k { color: var(--mint); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 1rem }
.lead { color: var(--dim); font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 34rem; margin: 1.25rem 0 0 }
.lead strong { color: var(--ink); font-weight: 500 }

/* ---------- nav ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10, 9, 16, .72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.top .wrap { display: flex; align-items: center; gap: 1.5rem; height: 64px }
.logo { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-size: 1.25rem }
.logo img { width: 28px; height: 28px; border-radius: 7px }
.top nav { display: flex; gap: 1.6rem; margin-left: auto; color: var(--dim); font-size: .92rem; font-weight: 500 }
.top nav a { transition: color .2s }
.top nav a:hover { color: var(--ink) }
.pill {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--ink); color: #0a0910;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  padding: .55rem .95rem; border-radius: 999px; white-space: nowrap;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(63,216,176,.25) }
@media (max-width: 760px) { .top nav { display: none } .top .wrap { gap: .8rem } .logo { margin-right: auto } }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(4rem, 10vh, 8rem) 0 0; text-align: center; overflow-x: clip }
.hero::before {
  content: ""; position: absolute; inset: 0 0 -260px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 45% at 50% 100%, rgba(63,216,176,.14), transparent 70%),
    radial-gradient(40% 30% at 50% 60%, rgba(120, 90, 200, .12), transparent 70%);
}
.hero .eyebrow { color: var(--dim); font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 1.4rem }
.hero .eyebrow b { color: var(--mint) }
.hero h1 { max-width: 12ch; margin: 0 auto }
.hero h1 em { font-style: normal; color: var(--dim-2) }
.hero .lead { margin: 1.6rem auto 0; max-width: 36rem }
.cta { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--ink); color: #0a0910;
  font-weight: 700; font-size: 1rem; padding: .95rem 1.4rem; border-radius: 999px;
  transition: transform .25s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-1px) }
.btn:active { transform: scale(.97) }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2) }
.btn.ghost:hover { border-color: var(--dim) }
.hero-stage {
  position: relative;
  margin: clamp(3rem, 7vh, 5rem) auto 0;
  display: flex; justify-content: center; align-items: flex-end;
  min-height: 560px;
}
.hero-photo {
  position: absolute; inset: 0 0 -170px; z-index: 0; pointer-events: none;
  background: url("img/hero.jpg") center 55% / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  opacity: .85;
}
.hero-photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 60% at 50% 60%, rgba(10,9,16,.55), transparent 70%) }
.hero-stage .phone { position: relative; z-index: 2; margin-bottom: -170px }
.hero-glow {
  z-index: 1;
  position: absolute; left: 50%; bottom: -120px; width: min(900px, 120vw); height: 420px;
  transform: translateX(-50%);
  background: radial-gradient(50% 60% at 50% 100%, rgba(63,216,176,.25), transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.float {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(23,20,31,.85); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 14px; padding: .65rem .85rem; font-size: .85rem; font-weight: 500;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
  animation: bob 6s ease-in-out infinite;
}
.float small { display: block; color: var(--dim); font-size: .72rem; font-weight: 500 }
.float .ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-2); color: var(--mint); font-size: 1rem }
.f1 { left: calc(50% - 330px); top: 90px; animation-delay: -1s }
.f2 { right: calc(50% - 330px); top: 190px; animation-delay: -3s }
.f3 { left: calc(50% - 300px); top: 330px; animation-delay: -5s }
@keyframes bob { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }
@media (max-width: 760px) {
  .hero-stage { min-height: 460px }
  .hero-stage .phone { margin-bottom: -220px; transform: scale(.86); transform-origin: top center }
  .float { display: none }
}

/* ---------- iPhone mockup ---------- */
.phone {
  width: 300px; aspect-ratio: 300 / 640;
  background: #050408;
  border-radius: 48px; padding: 10px;
  box-shadow:
    0 0 0 1.5px #2b2837,
    0 0 0 5px #0f0d14,
    0 0 0 6.5px #35313f,
    0 40px 80px rgba(0,0,0,.6),
    inset 0 0 0 1px rgba(255,255,255,.06);
  flex: none;
}
.screen {
  position: relative; height: 100%; width: 100%; overflow: hidden;
  border-radius: 38px; background: #14121f; color: var(--ink);
  font-size: 13px; line-height: 1.35;
  display: flex; flex-direction: column;
}
.screen::before {
  content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 28px; border-radius: 999px; background: #050408; z-index: 5;
}
.status { display: flex; justify-content: space-between; padding: 16px 24px 0; font-size: 12.5px; font-weight: 600 }
.status span:last-child { letter-spacing: .05em }
.sc-body { padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 10px; flex: 1 }
.card { background: #1f1c2e; border: 1px solid #2c283b; border-radius: 16px; padding: 12px 13px }
.card.mint { border-color: rgba(63,216,176,.35); box-shadow: inset 0 0 0 1px rgba(63,216,176,.08) }
.lbl { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim) }
.lbl.on { color: var(--mint) }
.big { font-family: var(--display); font-size: 40px; letter-spacing: -.02em; line-height: 1; margin-top: 6px; font-variant-numeric: tabular-nums }
.big small { font-family: var(--ui); font-size: 12px; color: var(--dim); letter-spacing: 0; margin-left: 6px }
.sub { color: var(--dim); font-size: 12px; margin-top: 6px }
.row { display: flex; align-items: center; justify-content: space-between; gap: 8px }
.row + .row { border-top: 1px solid #2a2536; margin-top: 8px; padding-top: 8px }
.row b { font-weight: 600; font-size: 13px }
.row span { color: var(--dim); font-size: 11.5px }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); flex: none }
.led.off { background: #4a4560; box-shadow: none }
.apps { display: flex; gap: 8px; margin-top: 8px }
.app { width: 36px; height: 36px; border-radius: 10px; background: #2a2639; position: relative; overflow: hidden }
.app::after { content: ""; position: absolute; inset: 0; background: rgba(20,18,31,.55); backdrop-filter: blur(2px) }
.app.ig { background: linear-gradient(135deg, #f9a03f, #e1306c, #833ab4) }
.app.tt { background: #111 }
.app.yt { background: #e62117 }
.app.x  { background: #222 }
.app.more { background: transparent; border: 1px dashed #3a3449; display: grid; place-items: center; color: var(--dim); font-size: 11px; font-weight: 600 }
.app.more::after { display: none }
.keys { display: flex; gap: 6px; margin-top: 8px }
.key { flex: 1; text-align: center; background: #14121f; border: 1px solid #2c283b; border-radius: 10px; padding: 8px 4px; font-size: 10.5px; font-weight: 600 }
.key i { display: block; font-style: normal; font-size: 15px; margin-bottom: 2px }
.sc-btn { margin-top: auto; text-align: center; background: #2a2639; color: var(--dim); border-radius: 12px; padding: 12px; font-weight: 600; font-size: 13px }
.sc-btn.primary { background: var(--ink); color: #0a0910 }
.tabs { display: flex; justify-content: space-around; padding: 8px 8px 22px; font-size: 10px; color: var(--dim); border-top: 1px solid #221e2e }
.tabs span { display: flex; flex-direction: column; align-items: center; gap: 3px }
.tabs span::before { content: ""; width: 20px; height: 20px; border-radius: 6px; background: #2a2639 }
.tabs span.on { color: var(--ink) }
.tabs span.on::before { background: var(--mint) }
.rule { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #1f1c2e; border: 1px solid #2c283b; border-radius: 14px }
.rule .th { width: 40px; height: 40px; border-radius: 10px; flex: none; background-size: cover; background-position: center }
.rule b { display: block; font-weight: 600; font-size: 13px }
.rule span { color: var(--dim); font-size: 11px }
.rule .tg { margin-left: auto; width: 34px; height: 20px; border-radius: 999px; background: #3a3449; position: relative; flex: none }
.rule .tg::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff }
.rule .tg.on { background: var(--mint) }
.rule .tg.on::after { left: 16px }
.bal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px }
.bal div { background: #14121f; border-radius: 10px; padding: 8px; text-align: center }
.bal b { display: block; font-size: 15px; font-variant-numeric: tabular-nums }
.bal span { font-size: 10px; color: var(--dim) }
.bal .plus { color: var(--mint) }
.bal .minus { color: var(--warn) }
.tx { display: flex; justify-content: space-between; font-size: 12px; padding: 7px 0; border-top: 1px solid #2a2536 }
.tx:first-of-type { border-top: 0 }
.tx span { color: var(--dim) }
.tx b { font-weight: 600; font-variant-numeric: tabular-nums }
.tx b.plus { color: var(--mint) }
.tx b.minus { color: var(--warn) }

.screen .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center }
.stage.duo .phone { transform: scale(.88) translateX(60px) }
.stage.duo .phone.back { position: absolute; transform: scale(.72) translateX(-150px) rotate(-6deg); opacity: .55; filter: blur(.4px) }
@media (max-width: 480px) { .stage.duo .phone { transform: scale(.8) translateX(30px) } .stage.duo .phone.back { transform: scale(.62) translateX(-120px) rotate(-6deg) } }

/* ---------- proof bar ---------- */
.proof { margin-top: 200px; border-block: 1px solid var(--line); background: var(--bg-2) }
.proof .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) }
.proof .wrap > div { padding: 1.5rem 1.2rem; border-right: 1px solid var(--line); min-width: 0 }
.proof .wrap > div:first-child { padding-left: 0 }
.proof .wrap > div:last-child { border-right: 0 }
.proof strong { display: block; font-family: var(--display); font-size: 1.6rem; letter-spacing: -.02em; font-weight: 400 }
.proof span { color: var(--dim); font-size: .85rem }
@media (max-width: 800px) {
  .proof { margin-top: 150px }
  .proof .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) }
  .proof .wrap > div { border-bottom: 1px solid var(--line); padding-left: 0 }
  .proof .wrap > div:nth-child(even) { border-right: 0; padding-left: 1.2rem }
  .proof .wrap > div:nth-child(n+3) { border-bottom: 0 }
}

/* ---------- sections ---------- */
section.block { padding: clamp(5rem, 12vh, 9rem) 0 }
.head { max-width: 44rem }
.head .lead { margin-top: 1.2rem }

/* feature rows (Opal-style) */
.feat {
  display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center;
  margin-top: clamp(3rem, 8vh, 6rem);
}
@media (min-width: 900px) {
  .feat { grid-template-columns: 1fr 1fr }
  .feat.flip .feat-copy { order: 2 }
}
.feat-copy h3 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 1rem }
.feat-copy p { color: var(--dim); max-width: 30rem; margin: 0 }
.feat-copy ul { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .6rem; color: var(--dim); font-size: .98rem }
.feat-copy li { padding-left: 1.4rem; position: relative }
.feat-copy li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--mint) }
.feat-copy li b { color: var(--ink); font-weight: 600 }
.stage {
  position: relative; display: flex; justify-content: center; align-items: center;
  min-height: 560px; border-radius: 28px; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}
.stage::before { content: ""; position: absolute; inset: 0; background: var(--stage-bg, none) center/cover; opacity: .9 }
.stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,9,16,.1), rgba(10,9,16,.55)) }
.stage > * { position: relative; z-index: 1 }
.stage .phone { transform: scale(.92) }
@media (max-width: 480px) { .stage { min-height: 520px } .stage .phone { transform: scale(.8) } }

/* Mac mockup */
.mac {
  width: min(100%, 720px); border-radius: 12px; overflow: hidden;
  background: #1e1b28; border: 1px solid #3a3449;
  box-shadow: 0 40px 80px rgba(0,0,0,.6);
  display: grid; grid-template-columns: 172px 1fr; aspect-ratio: 16 / 10.4;
  font-size: 12px;
}
.mac-side { background: #f4f3f7; color: #1a1826; padding: 14px 14px 12px; display: flex; flex-direction: column }
.mac-side .tl { display: flex; gap: 6px; margin-bottom: 18px }
.mac-side .tl i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57 }
.mac-side .tl i:nth-child(2) { background: #febc2e }
.mac-side .tl i:nth-child(3) { background: #28c840 }
.mac-side .n { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1 }
.mac-side .nl { font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: #6b667c; font-weight: 600; margin: 4px 0 20px }
.mac-side .it { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 12px; font-weight: 500; color: #2a2637 }
.mac-side .it::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: #d6d3df }
.mac-side .it.on { color: #0a0910; font-weight: 600 }
.mac-side .it.on::before { background: var(--mint) }
.mac-side .st { margin-top: auto; font-size: 10.5px; color: #6b667c; display: flex; align-items: center; gap: 6px }
.mac-side .st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint) }
.mac-main { position: relative; background: url("img/rule-focus.jpg") center/cover; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px 18px 12px; color: #fff }
.mac-main::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55)) }
.mac-main > * { position: relative }
.mac-main .ctl { position: absolute; top: 12px; right: 12px; display: flex; gap: 6px }
.mac-main .ctl i { width: 24px; height: 24px; border-radius: 50%; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.2) }
.mac-main .title { position: absolute; top: 45%; left: 0; right: 0; text-align: center; font-weight: 600; font-size: 13px; text-shadow: 0 1px 8px rgba(0,0,0,.6) }
.mac-main .pause { align-self: center; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); border-radius: 999px; padding: 9px 40px; font-weight: 600; font-size: 12px; margin-bottom: 14px }
.mac-main .time { display: flex; justify-content: space-between; align-items: baseline; font-variant-numeric: tabular-nums }
.mac-main .time b { font-size: 16px; font-weight: 600 }
.mac-main .time span { font-size: 10.5px; opacity: .8 }
.mac-main .bar { height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); margin-top: 6px; overflow: hidden }
.mac-main .bar i { display: block; height: 100%; width: 58%; background: #fff }
@media (max-width: 560px) { .mac { grid-template-columns: 1fr } .mac-side { display: none } .mac { aspect-ratio: 4/3 } }

/* key trio (Foqos-style) */
.trio { display: grid; gap: 1rem; margin-top: clamp(2.5rem, 6vh, 4rem) }
@media (min-width: 820px) { .trio { grid-template-columns: repeat(3, 1fr) } }
.trio article {
  position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5;
  background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .5s var(--ease);
}
.trio article:hover { transform: translateY(-4px) }
.trio img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease) }
.trio article:hover img { transform: scale(1.04) }
.trio .txt { position: relative; padding: 1.4rem; background: linear-gradient(180deg, transparent, rgba(10,9,16,.92) 45%) ; padding-top: 5rem }
.trio h3 { font-size: 1.5rem; margin-bottom: .4rem; display: flex; align-items: center; gap: .6rem }
.trio .tag { font-family: var(--ui); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); border: 1px solid rgba(63,216,176,.35); border-radius: 999px; padding: .2rem .5rem }
.trio p { color: var(--dim); margin: 0; font-size: .95rem }

/* steps */
.steps { display: grid; gap: 1rem; margin-top: clamp(2.5rem, 6vh, 4rem); counter-reset: s }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr) } }
.steps article { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 1.6rem; counter-increment: s }
.steps article::before { content: "0" counter(s); font-family: var(--display); font-size: 2.6rem; color: var(--dim-2); display: block; line-height: 1; margin-bottom: 1.2rem }
.steps h3 { font-size: 1.4rem; margin-bottom: .5rem }
.steps p { color: var(--dim); margin: 0; font-size: .97rem }

/* ranks strip */
.ranks { display: flex; gap: .8rem; overflow-x: auto; margin-top: 2.5rem; padding-bottom: .6rem; scroll-snap-type: x mandatory; scrollbar-width: none }
.ranks::-webkit-scrollbar { display: none }
.ranks figure { flex: 0 0 clamp(150px, 20vw, 210px); margin: 0; scroll-snap-align: start }
.ranks img { aspect-ratio: 1; object-fit: cover; border-radius: 18px; border: 1px solid var(--line) }
.ranks figcaption { display: flex; justify-content: space-between; padding: .6rem .2rem 0; font-size: .85rem }
.ranks figcaption span { color: var(--dim-2); font-variant-numeric: tabular-nums }

/* honest */
.honest { background: var(--bg-2); border-block: 1px solid var(--line) }
.honest .grid { display: grid; gap: 1rem; margin-top: 2.5rem }
@media (min-width: 820px) { .honest .grid { grid-template-columns: repeat(3, 1fr) } }
.honest article { border-top: 2px solid var(--line-2); padding-top: 1.2rem }
.honest article b { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); margin-bottom: .5rem }
.honest article p { color: var(--dim); margin: 0 }

/* faq */
.faq .list { margin-top: 2rem; max-width: 48rem }
.faq details { border-top: 1px solid var(--line); padding: 1.1rem 0 }
.faq details:last-child { border-bottom: 1px solid var(--line) }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.6rem; color: var(--dim); transition: transform .3s var(--ease) }
.faq details[open] summary::after { transform: rotate(45deg) }
.faq details p { color: var(--dim); margin: .8rem 0 0; max-width: 40rem }

/* final cta */
.download { text-align: center; position: relative; overflow: hidden; padding-bottom: clamp(6rem, 14vh, 10rem) }
.download::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 70% at 50% 100%, rgba(63,216,176,.16), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, rgba(10,9,16,.92) 35%, rgba(10,9,16,.72) 100%),
    url("img/key-hide.jpg") center 40% / cover no-repeat;
}
.download h2 { max-width: 14ch; margin: 0 auto }
.download .lead { margin: 1.4rem auto 0 }
.download .cta { margin-top: 2rem }
.soon { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid var(--line-2); border-radius: 999px; padding: .85rem 1.2rem; color: var(--dim); font-size: .92rem; font-weight: 600 }
.mascot { width: clamp(150px, 22vw, 220px); margin: 2.5rem auto 0; filter: drop-shadow(0 24px 40px rgba(0,0,0,.6)) }

footer { border-top: 1px solid var(--line); padding: 2rem 0 2.5rem; color: var(--dim); font-size: .88rem }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center }
footer a:hover { color: var(--ink) }
footer nav { display: flex; gap: 1.2rem }

/* reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease) }
.rv.in { opacity: 1; transform: none }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none } }

/* ---------- legal pages ---------- */
body.legal nav.bar { border-bottom: 1px solid var(--line); padding: 1rem var(--gutter) }
.wordmark { font-family: var(--display); font-size: 1.25rem }
.legal-page { max-width: 42rem; margin: 0 auto; padding: clamp(3rem, 8vh, 6rem) var(--gutter) 6rem }
.legal-page h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 1.2rem }
.legal-page h2 { font-size: 1.6rem; margin: 2.4rem 0 .6rem }
.legal-page p, .legal-page li { color: var(--dim); font-size: 1.05rem }
.legal-page li strong { color: var(--ink) }
.legal-page code { font-family: ui-monospace, Menlo, monospace; font-size: .9em; background: var(--surface); border: 1px solid var(--line); padding: .1em .4em; border-radius: 6px; color: var(--ink) }
.legal-page a { color: var(--mint) }

/* ---------- à propos ---------- */
.legal-page h3 { font-family: var(--display); font-weight: 400; font-size: 1.2rem; margin: 1.6rem 0 .3rem }
.legal-page .facts { display: grid; grid-template-columns: minmax(8rem, 12rem) 1fr; gap: .7rem 1.2rem; margin: 1rem 0 0; padding: 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface) }
.legal-page .facts dt { color: var(--ink); font-weight: 600; font-size: .95rem }
.legal-page .facts dd { margin: 0; color: var(--dim); font-size: 1rem; min-width: 0; overflow-wrap: anywhere }
.legal-page .facts ul { margin: 0; padding-left: 1.1rem }
.legal-page .facts li { font-size: .95rem; margin-bottom: .35rem }
@media (max-width: 560px) { .legal-page .facts { grid-template-columns: 1fr; gap: .2rem } .legal-page .facts dd { margin-bottom: .6rem } }
footer nav { flex-wrap: wrap }
