/* Identité existante : LoginScreen, DepthBackground et OnboardingModal. */
@font-face { font-family: Outfit; src: url('assets/Outfit_Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Outfit; src: url('assets/Outfit_Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: Outfit; src: url('assets/Outfit_Black.ttf') format('truetype'); font-weight: 900; font-display: swap; }
@font-face { font-family: Ionicons; src: url('assets/Ionicons.ttf') format('truetype'); font-display: block; }
:root { color-scheme: dark; --background: #010108; --pink: #DC0F61; --green: #0BBD9F; --muted: #aaa; --line: rgba(255,255,255,.1); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--background); color: #fff; font-family: Outfit, Arial, sans-serif; font-weight: 400; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 6px; }
img { display: block; max-width: 100%; height: auto; }
.skip-link { position: absolute; top: -70px; left: 20px; z-index: 10; padding: 12px 20px; background: var(--pink); border-radius: 16px; }
.skip-link:focus { top: 14px; }
.depth-background { position: absolute; inset: 0 0 auto; height: 1080px; z-index: -1; overflow: hidden; pointer-events: none; background: linear-gradient(#010108, #030314 20%, #05051c 50%, #030314 80%, #010108); }
.orb { position: absolute; border-radius: 50%; background: linear-gradient(145deg, var(--green), transparent 75%); opacity: .11; }
.orb-one { width: 320px; height: 320px; right: -155px; top: 100px; }
.orb-two { width: 220px; height: 220px; left: -110px; top: 460px; background: linear-gradient(145deg, var(--pink), transparent 80%); opacity: .14; }
.orb-three { width: 90px; height: 90px; right: 19%; top: 720px; opacity: .07; }
.tri { position: absolute; display: block; opacity: .5; transform: rotate(var(--r, 0deg)); animation: floatTri 4s ease-in-out infinite alternate; }
.tri svg { display: block; filter: drop-shadow(0 4px 10px rgba(0,0,0,.3)); }
@keyframes floatTri { from { transform: translateY(0) rotate(var(--r, 0deg)); } to { transform: translateY(-16px) rotate(calc(var(--r, 0deg) + 14deg)); } }
@media (prefers-reduced-motion: reduce) { .tri { animation: none; } }
.header, main, .footer { width: min(1080px, calc(100% - 64px)); margin-inline: auto; }
.header { display: flex; justify-content: space-between; align-items: center; padding-block: 24px; }
.brand { width: 162px; }
.header-link { font-size: 14px; color: var(--muted); padding: 12px 0 12px 16px; }
.header-link span { margin-left: 10px; color: var(--green); }
.header-link:hover { color: #fff; }
.hero { text-align: center; padding: 58px 0 34px; }
.phone-mock { display: flex; justify-content: center; margin: 0 auto 30px; }
.phone-screen { width: 300px; height: 650px; border-radius: 40px; border: 6px solid #2A2D35; position: relative; overflow: hidden; background: #0A0C11; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.pm-tri { position: absolute; inset: 0; animation: pm-o 5s ease-out infinite; }
.pm-tri span { position: absolute; display: block; }
.pm-tri svg { display: block; animation: pm-f 4s ease-in-out infinite alternate; }
.pm-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; }
.pm-logo { filter: drop-shadow(0 12px 40px rgba(11,189,159,.3)); animation: pm-p 5s cubic-bezier(.2,.8,.2,1) infinite; }
.pm-logo .rg { transform-origin: 512px 512px; animation: pm-s 7s linear infinite; }
.pm-logo .pl { transform-origin: 540px 512px; animation: pm-b 5s ease-out infinite; }
.pm-word { overflow: visible; animation: pm-x 5s cubic-bezier(.2,.8,.2,1) infinite; }
.pm-word .in { transform-box: fill-box; transform-origin: center; animation: pm-i 5s cubic-bezier(.2,.8,.2,1) infinite; }
.pm-fle .ld { animation: pm-l 5s ease-out infinite; }
@keyframes pm-s { to { transform: rotate(360deg); } }
@keyframes pm-p { 0%{transform:scale(.55);opacity:0} 12%{transform:scale(1.06);opacity:1} 18%{transform:scale(1)} 88%{transform:scale(1);opacity:1} 100%{transform:scale(1.04);opacity:0} }
@keyframes pm-b { 0%,18%{transform:scale(1)} 22%{transform:scale(.86)} 27%{transform:scale(1.08)} 31%,100%{transform:scale(1)} }
@keyframes pm-f { to { transform: translateY(-18px) rotate(14deg); } }
@keyframes pm-o { 0%,4%{opacity:0} 20%,88%{opacity:1} 100%{opacity:0} }
@keyframes pm-i { 0%,14%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--r))} 24%,88%{opacity:1;transform:none} 100%{opacity:0} }
@keyframes pm-x { 0%,17%{opacity:0;transform:translateY(40px)} 28%,88%{opacity:1;transform:none} 100%{opacity:0} }
@keyframes pm-l { 0%,30%{opacity:.25} 36%,88%{opacity:1} 100%{opacity:.25} }
@media (prefers-reduced-motion: reduce) { .phone-mock * { animation: none !important; } .pm-logo, .pm-word, .pm-fle, .pm-tri { opacity: 1 !important; } }
.eyebrow { margin: 0 0 22px; color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero .eyebrow { display: flex; gap: 10px; align-items: center; justify-content: center; }
.hero .eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(11,189,159,.4); }
h1 { margin: 0; font-size: clamp(58px, 7.6vw, 100px); line-height: .99; font-weight: 900; letter-spacing: -.045em; }
h1 em { color: var(--green); font-style: normal; text-shadow: 0 0 48px rgba(11,189,159,.13); }
.intro { margin: 27px auto 0; max-width: 500px; font-size: 19px; color: var(--muted); line-height: 1.6; }
.mobile-break { display: none; }
.downloads { margin: 37px auto 0; max-width: 480px; scroll-margin-top: 40px; }
.availability { font-size: 13px; margin: 0 0 16px; color: #ddd; }
.store-links { display: flex; justify-content: center; gap: 14px; }
.store-link { display: flex; align-items: center; text-align: left; gap: 13px; min-width: 210px; padding: 15px 19px; border: 1px solid rgba(255,255,255,.14); border-top-color: rgba(255,255,255,.22); border-radius: 16px; background: rgba(255,255,255,.028); box-shadow: 0 12px 32px rgba(0,0,0,.35); transition: border-color .2s, background .2s; }
.store-link:hover { border-color: var(--green); background: rgba(11,189,159,.07); }
.store-icon { font-family: Ionicons; font-size: 32px; font-weight: normal; line-height: 1; }
.store-link small { display: block; color: #aaa; font-size: 11px; line-height: 1.6; }
.store-link strong { display: block; font-size: 20px; line-height: 1.2; font-weight: 700; white-space: nowrap; }
.store-arrow { font-size: 18px; color: #888; margin-left: auto; }
.store-note { font-size: 11px; color: #92929e; margin: 14px 0 0; }
.discover { display: inline-flex; align-items: center; gap: 14px; margin-top: 47px; padding: 12px; color: var(--muted); font-size: 13px; }
.discover span { color: var(--pink); }
.principle { display: grid; grid-template-columns: minmax(200px, 270px) 1fr; gap: 48px; padding: 48px 46px; margin-top: 45px; border: 1px solid var(--line); border-top-color: rgba(255,255,255,.18); border-radius: 28px; background: rgba(255,255,255,.028); box-shadow: 0 24px 48px rgba(0,0,0,.5); align-items: center; overflow: hidden; }
.principle-visual { display: flex; justify-content: center; align-items: center; }
.principle-visual .phone-mock { margin: -112px -52px; transform: scale(.66); transform-origin: center center; }
.principle-content { min-width: 0; }
.principle-content .section-heading { margin-bottom: 26px; }
.section-heading .eyebrow { margin-bottom: 15px; }
h2 { margin: 0; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.12; font-weight: 900; letter-spacing: -.025em; }
.relay { width: 255px; margin-top: 35px; opacity: .85; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 18px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; }
.steps li:last-child { padding-bottom: 0; border-bottom: 0; }
.step-number { color: var(--green); font-size: 12px; line-height: 26px; font-weight: 700; }
h3 { font-size: 18px; line-height: 26px; margin: 0 0 6px; }
.steps p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }
.closing { padding: 64px 0 68px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.closing p { font-size: 25px; line-height: 1.35; margin: 0; color: var(--muted); }
.closing strong { color: #fff; font-weight: 700; }
.neon-button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; background: var(--pink); color: #fff; border-radius: 24px; padding: 19px 26px; font-weight: 700; font-size: 16px; box-shadow: 0 8px 24px rgba(220,15,97,.22); transition: background .2s; }
.neon-button:hover { background: #bd0d53; }
.footer { border-top: 1px solid var(--line); padding-block: 26px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #92929e; font-size: 12px; }
.footer > span:first-child { font-weight: 900; color: #fff; font-size: 17px; }
.footer a:hover { color: var(--green); }
@media (max-width: 700px) {
  .header, main, .footer { width: calc(100% - 40px); }
  .header { padding-block: 18px; }
  .brand { width: 125px; }
  .header-link { font-size: 12px; }
  .hero { padding-top: 48px; }
  .principle-visual .phone-mock { transform: scale(.6); margin: -132px -62px; }
  h1 { font-size: clamp(52px, 12vw, 76px); }
  .hero .eyebrow { font-size: 11px; letter-spacing: .09em; }
  .intro { font-size: 16px; margin-top: 23px; }
  .mobile-break { display: block; }
  .downloads { margin-top: 30px; }
  .store-links { gap: 10px; }
  .store-link { flex: 1; min-width: 0; padding: 13px 12px; gap: 9px; }
  .store-icon { font-size: 27px; }
  .store-link strong { font-size: 17px; }
  .store-arrow { display: none; }
  .store-note { font-size: 10px; }
  .discover { margin-top: 30px; font-size: 12px; gap: 10px; }
  .principle { grid-template-columns: 1fr; padding: 30px 24px; margin-top: 20px; gap: 28px; }
  .relay { width: 220px; margin-top: 24px; }
  .closing { flex-direction: column; text-align: center; padding-block: 45px; gap: 24px; }
  .neon-button { width: 100%; max-width: 340px; }
  .footer { flex-wrap: wrap; gap: 16px; }
  .footer > span:last-child { flex-basis: 100%; }
}
@media (max-width: 350px) {
  .store-links { flex-direction: column; }
  .store-link { justify-content: center; }
  .header-link span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
