/* ============================================================
   TaChance — Landing v2 (premium éditorial)
   Charte : rose #F23F86 → orange #FF7A3D · trèfle · éléments penchés.
   Léger, sans dépendance, animations compositeur-friendly.
   ============================================================ */

:root {
  --pink: #F23F86;
  --pink-deep: #D62A73;
  --orange: #FF7A3D;
  --orange-light: #FF9C3E;
  --grad: linear-gradient(100deg, #F23F86 0%, #FF6B5B 52%, #FF9C3E 100%);
  --grad-2: linear-gradient(120deg, #F23F86, #FF7A3D);

  --ink: #17120F;
  --ink-2: #2A2320;
  --muted: #746B63;
  --paper: #FFFCFA;
  --paper-2: #FBF3EC;
  --paper-3: #F6ECE3;
  --hair: #ECE2D8;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Poppins', system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.7s;

  --fs-display: clamp(2.7rem, 1.2rem + 7vw, 8rem);
  --fs-h2: clamp(2rem, 1.1rem + 4vw, 4.6rem);
  --fs-h3: clamp(1.35rem, 1rem + 1.4vw, 2.1rem);
  --fs-lead: clamp(1.08rem, 1rem + 0.5vw, 1.4rem);
  --fs-body: clamp(1rem, 0.96rem + 0.25vw, 1.12rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis { scroll-behavior: auto; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(242, 63, 134, .22); }

.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typographic primitives ---------- */
.serif { font-family: var(--serif); font-weight: 400; }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  font-family: var(--sans); font-size: .74rem; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase; color: var(--pink-deep);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--pink); opacity: .6; }
.eyebrow.center::before { display: none; }

h2.display, .display {
  font-family: var(--serif); font-weight: 500; font-size: var(--fs-h2);
  line-height: 1.02; letter-spacing: -.02em;
}
.h3 { font-family: var(--serif); font-weight: 500; font-size: var(--fs-h3); line-height: 1.12; letter-spacing: -.01em; }
.lead { font-size: var(--fs-lead); color: var(--muted); line-height: 1.5; }
.measure { max-width: 30ch; }
.measure-lg { max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 17px 30px; border-radius: 999px; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s, color .4s, border-color .4s;
  will-change: transform;
}
.btn svg { width: 19px; height: 19px; }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 14px 30px -12px rgba(242,63,134,.6); }
.btn-grad:hover { box-shadow: 0 20px 40px -12px rgba(242,63,134,.7); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--pink-deep); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: #fff; color: var(--pink-deep); box-shadow: 0 14px 30px -14px rgba(0,0,0,.4); }
.btn .arrow { transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.magnetic { will-change: transform; }

.link-underline { position: relative; font-weight: 600; color: var(--pink-deep); }
.link-underline::after { content:''; position:absolute; left:0; bottom:-2px; width:100%; height:1.5px; background: var(--grad-2); transform: scaleX(.0); transform-origin: left; transition: transform .5s var(--ease); }
.link-underline:hover::after { transform: scaleX(1); }

/* ============================================================
   Preloader
   ============================================================ */
#preloader {
  position: fixed; inset: 0; z-index: 200; background: var(--paper);
  display: grid; place-items: center; transition: opacity .6s ease, visibility .6s;
}
#preloader.done { opacity: 0; visibility: hidden; }
#preloader .pl-inner { text-align: center; }
#preloader .pl-clover { width: 66px; height: 66px; margin: 0 auto 18px; }
#preloader .pl-clover path { stroke: var(--pink); stroke-width: 2; fill: none; stroke-dasharray: 240; stroke-dashoffset: 240; animation: draw 1.1s var(--ease) forwards; }
#preloader .pl-clover .fillp { fill: var(--pink); opacity: 0; animation: fadein .5s ease .7s forwards; }
#preloader .pl-word { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .02em; opacity: 0; transform: translateY(8px); animation: rise .6s var(--ease) .55s forwards; }
#preloader .pl-word b { color: var(--pink); font-weight: 600; }
#preloader .pl-bar { width: 120px; height: 2px; margin: 16px auto 0; background: var(--hair); border-radius: 2px; overflow: hidden; }
#preloader .pl-bar i { display: block; height: 100%; width: 0; background: var(--grad-2); animation: load 1.1s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes load { to { width: 100%; } }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 90; padding: 20px 0;
  transition: padding .4s var(--ease), background .4s, box-shadow .4s;
}
.header.scrolled { padding: 11px 0; background: rgba(255,252,250,.8); backdrop-filter: saturate(1.3) blur(16px); box-shadow: 0 1px 0 var(--hair); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand-badge { background: #fff; border-radius: 12px; padding: 7px 12px; box-shadow: 0 10px 26px -14px rgba(0,0,0,.35); transform: rotate(-3deg); transition: transform .5s var(--ease); }
.brand-badge:hover { transform: rotate(0); }
.brand-badge img { height: 24px; }
.header nav { display: flex; align-items: center; gap: 26px; }
.header .navlink { font-weight: 500; font-size: .93rem; color: var(--ink); opacity: .78; transition: opacity .3s, color .3s; }
.header .navlink:hover { opacity: 1; color: var(--pink-deep); }
.header .btn { padding: 11px 20px; font-size: .9rem; }

/* ============================================================
   Section shell
   ============================================================ */
.sec { padding: clamp(80px, 11vh, 170px) 0; position: relative; }
.sec.tight { padding: clamp(60px, 8vh, 120px) 0; }
.center { text-align: center; }
.center .eyebrow, .center .measure, .center .measure-lg { margin-left: auto; margin-right: auto; }

/* Signature offset-shadow big word (ADN template) */
.offset-word { position: relative; display: inline-block; }
.offset-word > span { position: relative; z-index: 2; }
.offset-word::before {
  content: attr(data-word); position: absolute; left: .06em; top: .09em; z-index: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(242,63,134,.35); text-stroke: 1px rgba(242,63,134,.35);
  pointer-events: none;
}

/* ============================================================
   HERO (Section 1)
   ============================================================ */
.hero { padding: clamp(150px, 22vh, 260px) 0 clamp(70px, 10vh, 130px); position: relative; overflow: hidden; }
.hero::after {
  content: ''; position: absolute; z-index: 0; width: 60vw; max-width: 760px; aspect-ratio: 1;
  right: -14vw; top: -6vw; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255,122,61,.18), rgba(242,63,134,.12) 45%, transparent 70%);
  filter: blur(10px); pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero .eyebrow { margin-bottom: 26px; }
.hero-kicker { font-style: italic; font-size: clamp(1.15rem, 1rem + .8vw, 1.7rem); color: var(--muted); margin-bottom: 18px; letter-spacing: -.01em; }
.hero-kicker::before { content: ''; display: inline-block; width: 26px; height: 1px; background: var(--pink); opacity: .6; vertical-align: middle; margin-right: 12px; transform: translateY(-3px); }
.hero h1 {
  font-family: var(--serif); font-weight: 500; font-size: var(--fs-display);
  line-height: .98; letter-spacing: -.03em; max-width: 15ch;
}
.hero h1 em { font-style: italic; }
.hero .hero-sub { margin-top: 30px; max-width: 46ch; }
.hero .hero-sub .lines span { display: block; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero .scroll-hint { margin-top: 54px; display: inline-flex; align-items: center; gap: 12px; color: var(--muted); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; }
.hero .scroll-hint .mouse { width: 22px; height: 34px; border: 1.5px solid var(--muted); border-radius: 12px; position: relative; }
.hero .scroll-hint .mouse::before { content:''; position:absolute; left:50%; top:6px; width:3px; height:6px; border-radius: 3px; background: var(--pink); transform: translateX(-50%); animation: wheel 1.6s var(--ease) infinite; }
@keyframes wheel { 0%{opacity:0;transform:translate(-50%,0)} 30%{opacity:1} 100%{opacity:0;transform:translate(-50%,10px)} }
.clover-float { position: absolute; z-index: 1; font-size: 2.4rem; opacity: .5; animation: floaty 8s var(--ease) infinite; }
.clover-float.a { top: 22%; right: 12%; }
.clover-float.b { bottom: 14%; left: 7%; font-size: 1.7rem; opacity: .4; animation-delay: 1.2s; }
@keyframes floaty { 0%,100%{transform:translateY(0) rotate(-6deg)} 50%{transform:translateY(-18px) rotate(7deg)} }

/* ============================================================
   Line-by-line reveal (poetic copy)
   ============================================================ */
.lines span {
  display: block; opacity: 0; transform: translateY(115%);
  transition: opacity .7s var(--ease-io), transform .8s var(--ease-io);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.lines.clip span { will-change: transform; }
.lines.in span { opacity: 1; transform: none; }

/* ============================================================
   Section 2 — relatable scene (editorial two-col)
   ============================================================ */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 84px); align-items: center; }
.split.reverse > *:first-child { order: 2; }
.scene { position: relative; }
.scene svg { width: 100%; height: auto; }
.scene .draw path, .scene .draw circle, .scene .draw line, .scene .draw rect { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); transition: stroke-dashoffset 1.6s var(--ease-io); }
.scene.in .draw path, .scene.in .draw circle, .scene.in .draw line, .scene.in .draw rect { stroke-dashoffset: 0; }
.storyline p { font-size: var(--fs-lead); color: var(--ink); }
.storyline p + p { margin-top: 4px; }
.storyline .quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem,1rem+1.6vw,2.1rem); color: var(--pink-deep); margin: 22px 0; line-height: 1.2; }
.storyline .after { color: var(--muted); margin-top: 20px; }

/* ============================================================
   Section 3 — redefinition (centered statement)
   ============================================================ */
.statement { text-align: center; }
.statement .big { font-family: var(--serif); font-weight: 500; font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -.02em; max-width: 20ch; margin: 18px auto 0; }
.statement .steps-inline { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.statement .chip { font-weight: 600; padding: 12px 22px; border: 1px solid var(--hair); border-radius: 999px; background: #fff; box-shadow: 0 10px 24px -18px rgba(0,0,0,.3); }
.statement .chip b { color: var(--pink-deep); }

/* ============================================================
   Section 4 — the messenger (feature moment, rich)
   ============================================================ */
.feature { background: var(--ink); color: var(--paper); border-radius: clamp(20px, 3vw, 40px); overflow: hidden; position: relative; }
.feature::before { content:''; position:absolute; width: 480px; height: 480px; border-radius:50%; background: var(--grad); filter: blur(90px); opacity:.42; top:-160px; left:-120px; }
.feature .inner { position: relative; z-index: 2; padding: clamp(40px, 6vw, 90px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.feature .eyebrow { color: #fff; }
.feature .eyebrow::before { background: var(--orange-light); }
.feature h2 { color: #fff; margin-top: 20px; }
.feature p { color: rgba(255,255,255,.8); margin-top: 20px; max-width: 46ch; }
.feature .roles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.feature .roles span { font-size: .88rem; padding: 8px 15px; border-radius: 999px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); }
/* messenger hand-off illustration */
.handoff { display: grid; place-items: center; }
.handoff svg { width: 100%; max-width: 420px; }
.handoff .card-pass { animation: pass 4.5s var(--ease) infinite; }
@keyframes pass { 0%,100%{transform:translateX(0) rotate(-8deg)} 50%{transform:translateX(60px) rotate(6deg)} }

/* ============================================================
   Section 5 — how it works (timeline vertical)
   ============================================================ */
.timeline { list-style: none; max-width: 780px; margin: 56px auto 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 34px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(var(--pink), var(--orange-light)); opacity: .35; }
.tl-step { position: relative; display: grid; grid-template-columns: 70px 1fr; gap: 22px; align-items: start; padding: 16px 0; }
.tl-num { grid-column: 1; width: 70px; height: 70px; border-radius: 20px; display: grid; place-items: center; font-family: var(--serif); font-size: 1.7rem; color: #fff; background: var(--grad); box-shadow: 0 16px 30px -14px rgba(242,63,134,.6); transform: rotate(-6deg); z-index: 2; }
.tl-card { grid-column: 2; background: #fff; border: 1px solid var(--hair); border-radius: 22px; padding: 26px 28px; box-shadow: 0 26px 54px -40px rgba(0,0,0,.32); transition: transform .5s var(--ease); }
.tl-card:hover { transform: translateX(6px); }
.tl-emoji { font-size: 1.5rem; }
.tl-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin-top: 8px; letter-spacing: -.01em; }
.tl-card p { color: var(--muted); margin-top: 8px; }

/* ============================================================
   Section 6 — why it works (two lists)
   ============================================================ */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-top: 50px; }
.why .col { background: var(--paper-2); border-radius: 26px; padding: clamp(28px, 3vw, 44px); border: 1px solid var(--hair); }
.why .col:last-child { background: var(--ink); color: var(--paper); border-color: transparent; }
.why .col:last-child .c-h { color: #fff; }
.why .col:last-child li { color: rgba(255,255,255,.9); }
.why .col:last-child .tick { background: rgba(255,255,255,.12); color: var(--orange-light); }
.why .c-h { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 20px; }
.why ul { list-style: none; display: grid; gap: 15px; }
.why li { display: flex; gap: 13px; align-items: flex-start; font-size: 1.04rem; }
.why .tick { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(242,63,134,.12); color: var(--pink-deep); margin-top: 1px; }
.why .tick svg { width: 15px; height: 15px; }

/* ============================================================
   Section 7 — replying costs nothing
   ============================================================ */
.reassure-block { text-align: center; }
.reassure-block .qmark { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem,1.1rem+2vw,2.8rem); line-height: 1.25; max-width: 22ch; margin: 24px auto; }
.reassure-block .qmark .grad-text { font-style: normal; }

/* ============================================================
   Section 8 — scanner (trust framing)
   ============================================================ */
.scanner-sec { background: var(--paper-2); }
.scanner-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.scanner-copy .trust-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.scanner-copy .trust-badges span { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--hair); }
.scanner-copy .trust-badges svg { width: 16px; height: 16px; color: var(--pink); }
.scanner-copy .btn { margin-top: 30px; }
.scanner-copy .note { margin-top: 14px; font-size: .86rem; color: var(--muted); }
.scanner-visual { display: grid; place-items: center; }
.phone { width: min(74vw, 270px); aspect-ratio: 9/18; background: #0b0a0c; border-radius: 38px; border: 9px solid #17151a; box-shadow: 0 50px 90px -40px rgba(0,0,0,.5); position: relative; overflow: hidden; transform: rotate(4deg); transition: transform .6s var(--ease); }
.phone:hover { transform: rotate(0); }
.phone .screen { position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 0%, #201d24, #0d0c10); display: grid; place-items: center; }
.scan-frame { width: 62%; aspect-ratio: 1; position: relative; }
.scan-frame b { position: absolute; width: 26px; height: 26px; border: 3px solid var(--pink); }
.scan-frame b:nth-child(1){top:0;left:0;border-right:0;border-bottom:0;border-top-left-radius:8px}
.scan-frame b:nth-child(2){top:0;right:0;border-left:0;border-bottom:0;border-top-right-radius:8px}
.scan-frame b:nth-child(3){bottom:0;left:0;border-right:0;border-top:0;border-bottom-left-radius:8px}
.scan-frame b:nth-child(4){bottom:0;right:0;border-left:0;border-top:0;border-bottom-right-radius:8px}
.scan-frame .clv { position:absolute; inset:0; display:grid; place-items:center; font-size:3rem; }
.scan-line { position:absolute; left:8%; right:8%; height:3px; border-radius:3px; background:linear-gradient(90deg,transparent,var(--pink),transparent); top:18%; animation: scanmove 2.6s var(--ease) infinite; }
@keyframes scanmove { 0%,100%{top:18%} 50%{top:80%} }
.phone .verif { position:absolute; bottom:30px; left:0; right:0; text-align:center; color:#fff; font-size:.82rem; display:flex; flex-direction:column; align-items:center; gap:6px; }
.phone .verif .ok { display:inline-flex; align-items:center; gap:6px; color:var(--orange-light); font-weight:600; }

/* ============================================================
   Section 9 — objects ecosystem
   ============================================================ */
.objects { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); margin-top: 50px; }
.obj { background: #fff; border: 1px solid var(--hair); border-radius: 24px; padding: 30px 26px; transition: transform .5s var(--ease); position: relative; overflow: hidden; }
.obj:hover { transform: translateY(-8px) rotate(-1deg); }
.obj .ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 1.8rem; background: var(--paper-2); transform: rotate(-6deg); }
.obj h3 { font-family: var(--serif); font-size: 1.4rem; margin-top: 18px; }
.obj p { color: var(--muted); margin-top: 6px; font-size: .96rem; }
.obj.soon .ic { background: var(--grad); }
.obj .tag { position: absolute; top: 18px; right: 18px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pink-deep); }

/* carry — where to keep a card */
.carry { margin-top: clamp(24px, 3vw, 40px); background: var(--paper-2); border: 1px solid var(--hair); border-radius: clamp(20px, 3vw, 32px); padding: clamp(28px, 4vw, 46px); }
.carry-head { display: flex; gap: 20px; align-items: flex-start; max-width: 74ch; }
.carry-emoji { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem; background: #fff; box-shadow: var(--shadow-soft); transform: rotate(-6deg); }
.carry-head h3 { color: var(--ink); }
.carry-spots { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.carry-spots .spot { font-weight: 500; font-size: .96rem; padding: 12px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--hair); box-shadow: 0 12px 26px -20px rgba(0,0,0,.3); transition: transform .5s var(--ease); }
.carry-spots .spot:nth-child(odd) { transform: rotate(-1.5deg); }
.carry-spots .spot:nth-child(even) { transform: rotate(1.5deg); }
.carry-spots .spot:hover { transform: rotate(0) translateY(-3px); }
@media (max-width: 560px) { .carry-head { flex-direction: column; gap: 14px; } }

/* ============================================================
   FAQ (Section 10)
   ============================================================ */
.faq-list { max-width: 820px; margin: 46px auto 0; }
details.qa { border-bottom: 1px solid var(--hair); padding: 6px 0; }
details.qa summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); font-weight: 500; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 400; font-size: 1.6rem; color: var(--pink); transition: transform .4s var(--ease); }
details.qa[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details.qa .a { padding: 0 44px 22px 0; color: var(--muted); font-size: 1.05rem; }

/* ============================================================
   Final CTA
   ============================================================ */
.final { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); text-align: center; }
.final::before { content:''; position:absolute; inset:0; background: radial-gradient(80% 70% at 50% 120%, rgba(242,63,134,.4), transparent 60%); }
.final::after { content:''; position:absolute; width: 520px; height: 520px; border-radius:50%; background: var(--grad); filter: blur(110px); opacity:.35; top:-200px; right:-140px; }
.final .wrap { position: relative; z-index: 2; }
.final h2 { font-family: var(--serif); font-weight: 500; font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -.02em; max-width: 20ch; margin: 0 auto; }
.final .q { font-family: var(--serif); font-style: italic; color: var(--orange-light); font-size: clamp(1.3rem,1rem+1.4vw,2rem); margin-top: 26px; }
.final .btn { margin-top: 34px; }
.final .tiny { margin-top: 16px; font-size: .84rem; color: rgba(255,255,255,.7); }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: #0e0c0b; color: rgba(255,255,255,.7); padding: 64px 0 38px; }
.footer .top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer .brand-badge { transform: rotate(-3deg); }
.footer p.tagline { margin-top: 16px; max-width: 32ch; font-size: .94rem; }
.footer .cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer h4 { color: #fff; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.footer a { display: block; font-size: .93rem; margin: 8px 0; color: rgba(255,255,255,.7); transition: color .3s; }
.footer a:hover { color: var(--pink); }
.footer .bottom { margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .84rem; }

/* ============================================================
   Scanner modal
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 150; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal .backdrop { position: absolute; inset: 0; background: rgba(10,9,11,.7); backdrop-filter: blur(7px); animation: fade .3s ease; }
.modal .sheet { position: relative; z-index: 2; width: 100%; max-width: 420px; background: #101013; color: #fff; border-radius: 28px; padding: 22px; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 50px 100px -40px rgba(0,0,0,.8); animation: pop .45s var(--ease); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.modal .sheet-head { display: flex; align-items: center; justify-content: space-between; }
.modal .sheet-head .t { display: flex; align-items: center; gap: 9px; font-weight: 600; }
.modal .sheet-head .t .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange-light); box-shadow: 0 0 10px var(--orange); }
.modal .close { background: rgba(255,255,255,.08); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; line-height: 1; }
.modal .videowrap { margin-top: 16px; border-radius: 20px; overflow: hidden; background: #000; aspect-ratio: 1; position: relative; }
.modal video { width: 100%; height: 100%; object-fit: cover; }
.modal .videowrap .ovl { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.modal .videowrap .ovl .fr { width: 66%; aspect-ratio: 1; border-radius: 18px; box-shadow: 0 0 0 3px rgba(242,63,134,.9), 0 0 0 2000px rgba(0,0,0,.34); }
.modal .status { margin-top: 16px; font-size: .92rem; text-align: center; color: rgba(255,255,255,.85); min-height: 40px; }
.modal .status.ok { color: #6ee7a0; font-weight: 600; }
.modal .status.err { color: #ffd27d; font-weight: 600; }
.modal .manual { margin-top: 8px; display: flex; gap: 8px; }
.modal .manual input { flex: 1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; border-radius: 999px; padding: 11px 16px; font: inherit; font-size: .9rem; outline: none; }
.modal .manual input:focus { border-color: var(--pink); }
.modal .manual button { background: var(--grad); border: 0; color: #fff; border-radius: 999px; padding: 0 18px; font-weight: 600; cursor: pointer; }
.modal .foot-note { margin-top: 14px; font-size: .76rem; color: rgba(255,255,255,.5); text-align: center; }

/* ============================================================
   Reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease-io), transform .8s var(--ease-io); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
.reveal.d4 { transition-delay: .4s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
  .split, .feature .inner, .scanner-grid, .why { grid-template-columns: 1fr; }
  .split.reverse > *:first-child { order: 0; }
  .feature .handoff { order: -1; }
  .objects { grid-template-columns: 1fr; }
  .header nav .navlink { display: none; }
  /* pinned horizontal -> vertical stack */
  .hscroll { height: auto !important; }
  .hscroll .pin { position: static; height: auto; display: block; }
  .hscroll .track { flex-direction: column; transform: none !important; padding: 0; }
  .hscroll .intro-card, .hstep { width: 100%; }
  .hscroll .progress { display: none; }
}
@media (max-width: 560px) {
  .hero .cta-row .btn { width: 100%; justify-content: center; }
  .footer .top { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .lines span { opacity: 1 !important; transform: none !important; }
  .hscroll .pin { position: static; height: auto; display: block; }
  .hscroll .track { flex-direction: column; transform: none !important; }
  .hscroll .intro-card, .hstep { width: 100%; }
  #preloader { display: none; }
}
