/* ==========================================================================
   Keepop — site vitrine (version 2, octobre 2026)
   Une seule feuille pour index.html. Les pages d'aide et légales gardent
   styles.css.
   Mouvement : tout passe par `transform` et `opacity`, et s'éteint avec
   `prefers-reduced-motion`.
   ========================================================================== */

:root {
  --ink: #140C1D;
  --ink-2: #3A3145;
  --mute: #6E6580;
  --faint: #A49DB3;
  --line: #EAE4F1;
  --bg: #FBF9FD;
  --card: #FFFFFF;
  --pink: #F01686;
  --violet: #8E51FD;
  --grad: linear-gradient(120deg, #F01686 0%, #C63BC9 52%, #8E51FD 100%);
  --night: #0F0818;
  --r: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 1px 2px rgba(20, 12, 29, .04), 0 12px 32px -12px rgba(20, 12, 29, .14);
  --shadow-lg: 0 2px 4px rgba(20, 12, 29, .05), 0 40px 80px -30px rgba(60, 20, 90, .35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* 🪤 `overflow-x: hidden` sur body ferait de body une boîte défilante : le
   téléphone épinglé de « The app » (position: sticky) ne tiendrait plus. `clip`
   coupe ce qui dépasse sans créer de boîte défilante. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; overflow-x: clip; }
body { font-family: var(--text); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
:focus-visible { outline: 2.5px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ── Typography ── */
.h-xl, .h-l { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.h-xl { font-size: clamp(2.6rem, 6.2vw, 4.9rem); }
.h-l { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.h-xl em, .h-l em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.02rem, 1.35vw, 1.2rem); color: var(--ink-2); max-width: 34em; }
.kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; }
.fine { font-size: .8rem; color: var(--mute); }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--pink); }
.link svg { transition: transform .25s var(--ease); }
.link:hover svg { transform: translateX(4px); }

.sec-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.sec-head p { color: var(--mute); font-size: 1.08rem; margin-top: 16px; }
.sec-head.left { text-align: left; margin-left: 0; }
.sec-head.on-dark p { color: rgba(255, 255, 255, .68); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 600; font-size: .98rem; padding: 14px 24px; border-radius: 999px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-s { padding: 10px 18px; font-size: .9rem; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { box-shadow: 0 12px 28px -10px rgba(20, 12, 29, .55); }
.btn-grad { background: var(--grad); color: #fff; background-size: 160% 100%; box-shadow: 0 10px 30px -10px rgba(240, 22, 134, .6); }
.btn-grad:hover { background-position: 100% 0; box-shadow: 0 16px 36px -10px rgba(142, 81, 253, .6); }
.btn-line { border: 1.5px solid var(--line); background: #fff; }
.btn-line:hover { border-color: var(--ink); }

.store { display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; padding: 11px 22px 11px 18px; border-radius: 16px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.store:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -12px rgba(20, 12, 29, .6); }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: .66rem; opacity: .75; letter-spacing: .02em; }
.store b { font-size: 1.1rem; font-weight: 600; letter-spacing: -.01em; }
.store.light { background: #fff; color: var(--ink); }

/* Store buttons : le bon selon l'appareil. Un élément peut porter deux classes. */
.only-ios, .only-android, .only-desktop { display: none !important; }
html[data-platform="ios"] .only-ios,
html[data-platform="android"] .only-android,
html[data-platform="desktop"] .only-desktop { display: inline-flex !important; }
html[data-platform="ios"] p.only-ios, html[data-platform="android"] p.only-android { display: block !important; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.cta-row.center { justify-content: center; }

/* ── Scroll progress ── */
.scroll-bar { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.scroll-bar i { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ── Navigation ── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav-in { display: flex; align-items: center; gap: 24px; height: 72px; transition: height .3s var(--ease); }
.nav.is-stuck { background: rgba(251, 249, 253, .78); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); box-shadow: 0 1px 0 rgba(20, 12, 29, .06); }
.nav.is-stuck .nav-in { height: 60px; }
.nav.on-dark.is-stuck { background: rgba(15, 8, 24, .72); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.nav.on-dark .nav-links a, .nav.on-dark .nav-login { color: rgba(255, 255, 255, .78); }
.nav.on-dark .nav-links a:hover, .nav.on-dark .nav-login:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.nav.on-dark .btn-ink { background: #fff; color: var(--ink); }
.nav-links a, .nav-login, .nav .btn-ink { transition: background .3s, color .3s, transform .25s var(--ease), box-shadow .25s var(--ease); }
.brand { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; }
.brand-word { height: 25px; width: auto; }
.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a { font-size: .93rem; font-weight: 500; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.nav-links a:hover { background: rgba(20, 12, 29, .06); color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-links + .nav-cta { margin-left: 0; }
.nav-login { display: inline-flex; align-items: center; gap: 7px; font-size: .92rem; font-weight: 600; padding: 9px 14px; border-radius: 999px; color: var(--ink-2); transition: background .2s; }
.nav-login:hover { background: rgba(20, 12, 29, .06); }

/* ── Phone ── */
.phone { position: relative; width: 100%; aspect-ratio: 720 / 1500; border-radius: 13.5% / 6.5%; padding: 2.6%; background: linear-gradient(160deg, #2B2236, #0E0916 60%); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, .12); }
.phone-in { position: relative; width: 100%; height: 100%; border-radius: 11.5% / 5.6%; overflow: hidden; background: #fff; }
.phone-in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.phone-in::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); pointer-events: none; }

/* ───────────── HERO ───────────── */
.hero { position: relative; padding: 132px 0 70px; overflow: hidden; }
.hero-bg, .go-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.hero .b1 { width: 520px; height: 520px; background: #FFB3DA; top: -160px; right: -60px; animation: drift1 18s ease-in-out infinite alternate; }
.hero .b2 { width: 460px; height: 460px; background: #CDB4FF; top: 180px; right: 28%; animation: drift2 22s ease-in-out infinite alternate; }
.hero .b3 { width: 380px; height: 380px; background: #FFD6B8; top: 40px; left: -140px; opacity: .4; animation: drift1 26s ease-in-out infinite alternate-reverse; }
.grain { position: absolute; inset: 0; opacity: .05; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes drift1 { to { transform: translate3d(-70px, 60px, 0) scale(1.12); } }
@keyframes drift2 { to { transform: translate3d(90px, -50px, 0) scale(.92); } }

.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 500; color: var(--ink-2); background: rgba(255, 255, 255, .8); border: 1px solid var(--line); padding: 6px 14px 6px 6px; border-radius: 999px; margin-bottom: 26px; box-shadow: var(--shadow); transition: transform .25s var(--ease); }
.pill:hover { transform: translateY(-2px); }
.pill:hover svg { transform: translateX(3px); }
.pill svg { transition: transform .25s var(--ease); color: var(--pink); }
.pill-tag { background: var(--grad); color: #fff; font-weight: 700; font-size: .74rem; letter-spacing: .03em; padding: 4px 10px; border-radius: 999px; }
.hero h1 { margin-bottom: 24px; }
.hero .cta-row { margin-top: 32px; }
.hero-alt, .final-alt { font-size: .86rem; margin-top: 12px; }
.hero-alt a, .final-alt a { text-decoration: underline; text-underline-offset: 3px; color: var(--mute); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.hero-facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts svg { color: var(--pink); }
.hero-web { margin-top: 14px; font-size: .9rem; color: var(--mute); }
.hero-web a { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--ink); border-bottom: 1.5px solid var(--line); transition: border-color .2s; }
.hero-web a:hover { border-color: var(--pink); }

/* Le titre arrive mot par mot. */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 55ms + 120ms); }
.is-in .w > span { transform: none; }
.h-xl em .w > span, .h-l em .w > span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* La scène : trois téléphones, des photocards abstraites, des pastilles. */
.hero-stage { position: relative; height: min(660px, 78vw); perspective: 1400px; --mx: 0; --my: 0; }
.hero-stage > * { will-change: transform; }
.halo { position: absolute; left: 50%; top: 52%; width: 78%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(240, 22, 134, .28), rgba(142, 81, 253, .16) 45%, transparent 68%); filter: blur(10px); }
.hero-stage .phone { position: absolute; top: 50%; left: 50%; width: 44%; transition: transform .25s linear; }
.ph-c { z-index: 3; transform: translate(-50%, -50%) translate3d(calc(var(--mx) * 10px), calc(var(--my) * 10px), 0) rotateY(calc(var(--mx) * 3deg)); animation: floatY 7s ease-in-out infinite; }
.ph-l { z-index: 2; width: 38% !important; transform: translate(-128%, -44%) translate3d(calc(var(--mx) * 22px), calc(var(--my) * 18px), 0) rotate(-9deg); opacity: .96; }
.ph-r { z-index: 2; width: 38% !important; transform: translate(28%, -52%) translate3d(calc(var(--mx) * 22px), calc(var(--my) * 18px), 0) rotate(9deg); opacity: .96; }
@keyframes floatY { 50% { margin-top: -12px; } }

/* Photocards abstraites : des cartes de couleur, jamais de visage. */
.pc { position: absolute; width: 74px; aspect-ratio: 55 / 85; border-radius: 10px; box-shadow: 0 14px 28px -12px rgba(60, 20, 90, .5), inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.pc::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) 48%, transparent 62%); background-size: 260% 100%; animation: shine 5s ease-in-out infinite; }
@keyframes shine { 0%, 55% { background-position: 120% 0; } 100% { background-position: -80% 0; } }
.pc1 { background: linear-gradient(160deg, #FF8AC4, #F01686); top: 6%; left: 8%; transform: translate3d(calc(var(--mx) * 44px), calc(var(--my) * 36px), 0) rotate(-16deg); animation: bob 8s ease-in-out infinite; }
.pc2 { background: linear-gradient(160deg, #C7A6FF, #8E51FD); top: 2%; right: 9%; width: 60px; transform: translate3d(calc(var(--mx) * 62px), calc(var(--my) * 50px), 0) rotate(14deg); animation: bob 9.5s ease-in-out -2s infinite; }
.pc3 { background: linear-gradient(160deg, #FFD1A6, #FF8A5B); bottom: 7%; left: 3%; width: 58px; transform: translate3d(calc(var(--mx) * 30px), calc(var(--my) * 26px), 0) rotate(11deg); animation: bob 7.5s ease-in-out -1s infinite; }
.pc4 { background: linear-gradient(160deg, #A6E6FF, #5B8CFF); bottom: 3%; right: 6%; transform: translate3d(calc(var(--mx) * 50px), calc(var(--my) * 42px), 0) rotate(-12deg); animation: bob 10s ease-in-out -3s infinite; }
@keyframes bob { 50% { margin-top: -14px; } }

.chip { position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .9); padding: 10px 15px 10px 10px; border-radius: 16px; box-shadow: 0 18px 40px -16px rgba(60, 20, 90, .4); font-size: .82rem; line-height: 1.25; white-space: nowrap; }
.chip b { display: block; font-weight: 700; }
.chip small { color: var(--mute); font-size: .74rem; }
.chip-ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.i-pink { background: rgba(240, 22, 134, .12); color: var(--pink); }
.i-green { background: rgba(22, 163, 74, .12); color: #16A34A; }
.i-violet { background: rgba(142, 81, 253, .12); color: var(--violet); }
.chip-a { top: 16%; left: -2%; transform: translate3d(calc(var(--mx) * 34px), calc(var(--my) * 28px), 0); animation: bob 6.5s ease-in-out infinite; }
.chip-b { bottom: 20%; right: -3%; transform: translate3d(calc(var(--mx) * 46px), calc(var(--my) * 38px), 0); animation: bob 8s ease-in-out -2s infinite; }
.chip-c { bottom: 6%; left: 14%; transform: translate3d(calc(var(--mx) * 24px), calc(var(--my) * 20px), 0); animation: bob 7s ease-in-out -4s infinite; }

/* Entrée de la scène */
.js .hero-stage .phone, .js .hero-stage .chip, .js .hero-stage .pc { opacity: 0; }
.js .hero-stage.is-in .phone, .js .hero-stage.is-in .chip, .js .hero-stage.is-in .pc { opacity: 1; transition: opacity .9s var(--ease) var(--sd, 0s), transform .25s linear; }
.js .hero-stage .ph-c { --sd: .15s; } .js .hero-stage .ph-l { --sd: .35s; } .js .hero-stage .ph-r { --sd: .45s; }
.js .hero-stage .pc { --sd: .7s; } .js .hero-stage .chip-a { --sd: .9s; } .js .hero-stage .chip-b { --sd: 1.05s; } .js .hero-stage .chip-c { --sd: 1.2s; }
.js .hero-stage.is-in .ph-l, .js .hero-stage.is-in .ph-r { opacity: .96; }

/* ── Reveal ── */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ───────────── TICKER ───────────── */
.ticker { padding: 26px 0 30px; border-block: 1px solid var(--line); background: #fff; overflow: hidden; }
.ticker-row { display: flex; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker-row + .ticker-row { margin-top: 12px; }
.ticker-track { display: flex; align-items: center; gap: 26px; flex-shrink: 0; padding-right: 26px; animation: slide 42s linear infinite; }
.ticker-row.rev .ticker-track { animation-direction: reverse; animation-duration: 52s; }
.ticker-track span { font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; }
.ticker-row.rev span { color: transparent; -webkit-text-stroke: 1.2px var(--faint); }
.ticker-track i { width: 9px; height: 9px; border-radius: 3px; background: var(--grad); transform: rotate(45deg); flex-shrink: 0; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ───────────── STORY ───────────── */
.story { padding: 120px 0 60px; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 60px; align-items: start; }
.story-steps { padding: 6vh 0 36vh; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; max-width: 30em; opacity: .28; transition: opacity .5s var(--ease), transform .6s var(--ease); transform: translateX(-8px); }
.step.is-on { opacity: 1; transform: none; }
.step-n { font-family: var(--display); font-weight: 800; font-size: .95rem; letter-spacing: .08em; color: var(--pink); display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.step-n::after { content: ""; width: 44px; height: 2px; border-radius: 2px; background: var(--grad); transform-origin: 0 50%; transform: scaleX(.3); transition: transform .6s var(--ease); }
.step.is-on .step-n::after { transform: scaleX(1); }
.step h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 2.8vw, 2.35rem); letter-spacing: -.03em; line-height: 1.08; margin-bottom: 14px; }
.step p { color: var(--mute); font-size: 1.08rem; }
.step-shot { display: none; }

.story-stage { position: sticky; top: 96px; height: calc(100vh - 120px); max-height: 760px; display: grid; place-items: center; }
.stage-glow { position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(142, 81, 253, .22), rgba(240, 22, 134, .12) 50%, transparent 70%); filter: blur(8px); transition: transform 1s var(--ease); transform: rotate(calc(var(--s, 0) * 60deg)) scale(calc(1 + var(--s, 0) * .03)); }
.phone-xl { width: min(330px, 78%); aspect-ratio: 720 / 1500; transform: rotate(calc(-3deg + var(--s, 0) * 1.5deg)); transition: transform .9s var(--ease); }
#story-phone .phone-in img { opacity: 0; transform: scale(1.06) translateY(14px); transition: opacity .55s var(--ease), transform .9s var(--ease); }
#story-phone .phone-in img.is-on { opacity: 1; transform: none; }
.stage-dots { position: absolute; right: 2%; top: 50%; transform: translateY(-50%); display: grid; gap: 9px; }
.stage-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: height .4s var(--ease), background .4s; }
.stage-dots i.is-on { height: 26px; border-radius: 6px; background: var(--grad); }

/* ───────────── BENTO ───────────── */
.bento-sec { padding: 80px 0 120px; }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; box-shadow: var(--shadow); overflow: hidden; transform-style: preserve-3d; transition: box-shadow .35s var(--ease), border-color .3s; }
.card:hover { box-shadow: 0 2px 4px rgba(20, 12, 29, .04), 0 30px 60px -24px rgba(60, 20, 90, .28); border-color: #DCCFEA; }
.card h3 { font-family: var(--display); font-weight: 800; font-size: 1.4rem; letter-spacing: -.025em; line-height: 1.15; margin-bottom: 8px; }
.card p { color: var(--mute); font-size: .98rem; }
.card .link { margin-top: 14px; font-size: .95rem; }
.c-score, .c-alert, .c-lang { grid-column: span 2; }
.c-community, .c-copies, .c-web { grid-column: span 2; }
.c-alert { grid-column: span 2; }
.c-score { background: linear-gradient(180deg, #fff, #FDF4FA); }
.c-lang { background: var(--night); color: #fff; border-color: transparent; }
.c-lang p { color: rgba(255, 255, 255, .66); }

.ring { position: relative; width: 132px; height: 132px; margin-bottom: 26px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.ring-bg { stroke: #F3ECF8; }
.ring-fg { stroke: url(#kp-grad); stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.6s var(--ease) .2s; }
.is-in .ring-fg { stroke-dashoffset: calc(326.7 * (1 - var(--ring, .8))); }
.ring-n { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.ring-n b { font-family: var(--display); font-size: 2.2rem; font-weight: 800; letter-spacing: -.04em; }
.ring-n small { font-size: .78rem; color: var(--mute); font-weight: 600; margin-top: 3px; }

.notif { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow); font-size: .86rem; line-height: 1.3; margin-bottom: 10px; }
.notif b { display: block; font-weight: 700; }
.notif small { color: var(--mute); font-size: .78rem; }
.notif-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; flex-shrink: 0; }
.notif.n2 { margin: 0 0 26px 22px; opacity: .78; }
.notif.n2 .notif-ico { background: #F3ECF8; color: var(--violet); }
.js .c-alert .notif { transform: translateY(18px) scale(.96); opacity: 0; transition: transform .7s var(--ease) .25s, opacity .6s var(--ease) .25s; }
.js .c-alert .notif.n2 { transition-delay: .55s; }
.js .c-alert.is-in .notif { transform: none; opacity: 1; }
.js .c-alert.is-in .notif.n2 { opacity: .78; }
.c-alert.is-in .notif:not(.n2) .notif-ico svg { animation: ring-bell 1.1s ease .9s 2; transform-origin: 50% 10%; }
@keyframes ring-bell { 20% { transform: rotate(16deg); } 40% { transform: rotate(-13deg); } 60% { transform: rotate(8deg); } 80% { transform: rotate(-4deg); } }

.lang-roll { height: 132px; display: flex; align-items: center; margin-bottom: 26px; overflow: hidden; }
.lang-roll span { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 4.4vw, 3.6rem); letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; transition: transform .45s var(--ease), opacity .35s; line-height: 1.2; }
.lang-roll span.out { transform: translateY(-70%); opacity: 0; }
.lang-roll span.pre { transform: translateY(70%); opacity: 0; transition: none; }

.add-row { display: flex; gap: 10px; height: 106px; margin-bottom: 26px; align-items: flex-end; }
.add-card { flex: 1; max-width: 66px; aspect-ratio: 55 / 85; border-radius: 10px; background: linear-gradient(160deg, #EFE6F8, #E1D3F2); }
.add-card:nth-child(2) { background: linear-gradient(160deg, #FFE0F0, #FFC7E2); }
.add-card:nth-child(3) { background: linear-gradient(160deg, #E0ECFF, #C9DBFF); }
.add-new { background: none; border: 2px dashed var(--pink); color: var(--pink); display: grid; place-items: center; }
.js .c-community .add-card { transform: translateY(24px); opacity: 0; transition: transform .7s var(--ease), opacity .6s; }
.js .c-community.is-in .add-card { transform: none; opacity: 1; }
.c-community .add-card:nth-child(1) { transition-delay: .2s; } .c-community .add-card:nth-child(2) { transition-delay: .3s; } .c-community .add-card:nth-child(3) { transition-delay: .4s; }
.c-community .add-new { transition-delay: .62s; }
.c-community.is-in .add-new svg { animation: pop 2.4s var(--ease) 1.4s infinite; }
@keyframes pop { 0%, 70%, 100% { transform: scale(1) rotate(0); } 82% { transform: scale(1.35) rotate(90deg); } }

.copies { position: relative; height: 106px; margin-bottom: 26px; }
.copy { position: absolute; left: 0; bottom: 0; width: 66px; aspect-ratio: 55 / 85; border-radius: 10px; background: linear-gradient(160deg, #FF9CCB, #F01686); box-shadow: 0 10px 22px -10px rgba(60, 20, 90, .5), inset 0 0 0 1.5px rgba(255, 255, 255, .45); transition: transform .9s var(--ease) .2s; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 7px; }
.copy:nth-child(2) { background: linear-gradient(160deg, #C7A6FF, #8E51FD); }
.copy:nth-child(3) { background: linear-gradient(160deg, #FFD1A6, #FF8A5B); }
.c-copies.is-in .copy:nth-child(1) { transform: translateX(0) rotate(-7deg); }
.c-copies.is-in .copy:nth-child(2) { transform: translateX(78px) rotate(0deg); }
.c-copies.is-in .copy:nth-child(3) { transform: translateX(156px) rotate(7deg); }
.tag { font-style: normal; font-size: .6rem; font-weight: 800; letter-spacing: .06em; background: rgba(255, 255, 255, .92); color: var(--ink); padding: 2px 7px; border-radius: 999px; }

.browser { height: 106px; margin-bottom: 26px; border-radius: 14px; background: linear-gradient(180deg, #F6F1FA, #fff); border: 1px solid var(--line); padding: 12px 14px; display: flex; flex-direction: column; gap: 14px; }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #E3D9EE; }
.url { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; font-size: .84rem; font-weight: 600; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 11px; color: var(--ink-2); box-shadow: var(--shadow); }
.url svg { color: #16A34A; }

/* ───────────── GROUP ORDERS ───────────── */
.go { position: relative; background: var(--night); color: #fff; padding: 120px 0 100px; overflow: hidden; border-radius: 44px 44px 0 0; }
.go .g1 { width: 620px; height: 620px; background: #F01686; top: -260px; left: -180px; opacity: .32; animation: drift1 20s ease-in-out infinite alternate; }
.go .g2 { width: 560px; height: 560px; background: #8E51FD; bottom: -280px; right: -160px; opacity: .34; animation: drift2 24s ease-in-out infinite alternate; }
.go .grain { opacity: .12; mix-blend-mode: overlay; }
.go .wrap { position: relative; }
.go .kicker { background: linear-gradient(120deg, #FF7CC0, #C2A3FF); -webkit-background-clip: text; background-clip: text; }
.go-line { position: relative; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12); margin: 0 16.66% 0; top: 23px; }
.go-line i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #FF5FB0, #B58CFF); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); box-shadow: 0 0 18px rgba(240, 22, 134, .8); }
.go-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.go-step { text-align: center; }
.go-dot { position: relative; z-index: 1; width: 46px; height: 46px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.1rem; background: #1D1229; border: 2px solid rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .6); transition: background .5s var(--ease), border-color .5s, color .5s, box-shadow .5s, transform .5s var(--ease); }
.go-step.is-lit .go-dot { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 0 0 7px rgba(240, 22, 134, .18), 0 0 30px rgba(240, 22, 134, .6); transform: scale(1.08); }
.go-step h3 { font-family: var(--display); font-weight: 800; font-size: 1.7rem; letter-spacing: -.03em; margin-bottom: 8px; }
.go-step p { color: rgba(255, 255, 255, .66); font-size: .98rem; max-width: 22em; margin: 0 auto 34px; }
.go-step .phone { width: min(250px, 82%); margin: 0 auto; transform: translateY(calc(var(--py, 0) * 1px)); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .8), inset 0 0 0 1.5px rgba(255, 255, 255, .16); }

/* ───────────── GOMANAGER ───────────── */
.gom { background: var(--night); color: #fff; padding: 20px 0 130px; }
.gom-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 64px; align-items: center; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 90px; }
.gom .kicker { background: linear-gradient(120deg, #FF7CC0, #C2A3FF); -webkit-background-clip: text; background-clip: text; }
.gom .lead { color: rgba(255, 255, 255, .7); margin-top: 18px; }
.gom-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; margin: 40px 0 38px; }
.gom-list li { display: flex; gap: 14px; }
.g-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); color: #FF8CC6; flex-shrink: 0; }
.gom-list b { display: block; font-weight: 700; margin-bottom: 3px; }
.gom-list p { color: rgba(255, 255, 255, .6); font-size: .9rem; line-height: 1.55; }
.gom .fine { color: rgba(255, 255, 255, .55); }

.gom-board { background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .14); border-radius: 26px; padding: 22px; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .03) inset; transform-style: preserve-3d; }
.board-top { display: flex; align-items: center; gap: 12px; font-size: .9rem; margin-bottom: 18px; }
.board-top .dots i { background: rgba(255, 255, 255, .2); }
.board-top b { font-weight: 600; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-tag { font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(34, 197, 94, .18); color: #6EE7A0; }
.board-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.board-kpis div { background: rgba(255, 255, 255, .06); border-radius: 16px; padding: 14px 16px; }
.board-kpis small { display: block; font-size: .74rem; color: rgba(255, 255, 255, .55); }
.board-kpis b { font-family: var(--display); font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.board-rows .row { display: flex; align-items: center; gap: 12px; padding: 11px 6px; border-top: 1px solid rgba(255, 255, 255, .07); font-size: .88rem; }
.js .board-rows .row { opacity: 0; transform: translateX(18px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.js .gom-board.is-in .row { opacity: 1; transform: none; }
.gom-board .row:nth-child(1) { transition-delay: .25s; } .gom-board .row:nth-child(2) { transition-delay: .35s; } .gom-board .row:nth-child(3) { transition-delay: .45s; } .gom-board .row:nth-child(4) { transition-delay: .55s; } .gom-board .row:nth-child(5) { transition-delay: .65s; }
.av { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; }
.a1 { background: linear-gradient(135deg, #FF8AC4, #F01686); } .a2 { background: linear-gradient(135deg, #C7A6FF, #8E51FD); } .a3 { background: linear-gradient(135deg, #FFD1A6, #FF8A5B); } .a4 { background: linear-gradient(135deg, #A6E6FF, #5B8CFF); } .a5 { background: linear-gradient(135deg, #B8F5C8, #22C55E); }
.who { font-weight: 600; width: 96px; flex-shrink: 0; }
.what { color: rgba(255, 255, 255, .55); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st { font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.s-paid { background: rgba(34, 197, 94, .18); color: #6EE7A0; }
.s-wait { background: rgba(142, 81, 253, .24); color: #C9B0FF; }
.s-due { background: rgba(245, 158, 11, .2); color: #FCD27A; }
.s-ship { background: rgba(59, 130, 246, .22); color: #A5C8FF; }
.board-bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); margin-top: 16px; overflow: hidden; }
.board-bar i { display: block; height: 100%; width: 72%; border-radius: inherit; background: linear-gradient(90deg, #FF5FB0, #B58CFF); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.6s var(--ease) .5s; }
.gom-board.is-in .board-bar i { transform: scaleX(1); }

/* ───────────── TEMPLATES ───────────── */
.tpl { padding: 120px 0 110px; overflow: hidden; }
.tpl-rail { display: flex; gap: 28px; padding: 30px max(24px, calc((100vw - 1180px) / 2 + 24px)) 40px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; }
.tpl-rail::-webkit-scrollbar { display: none; }
.tpl-rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.tpl-card { flex: 0 0 clamp(210px, 22vw, 270px); scroll-snap-align: center; transition: transform .5s var(--ease); }
.tpl-card:nth-child(odd) { transform: translateY(26px) rotate(-2.2deg); }
.tpl-card:nth-child(even) { transform: translateY(-6px) rotate(1.8deg); }
.tpl-card:hover { transform: translateY(-10px) rotate(0); }
.tpl-card figcaption { text-align: center; font-weight: 600; margin-top: 18px; font-size: .95rem; }
.tpl-card .phone { box-shadow: var(--shadow-lg); }

/* ───────────── PRICING ───────────── */
.pricing { padding: 100px 0 110px; background: #fff; border-block: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 34px 30px 30px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan h3 { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.plan-tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; background: rgba(142, 81, 253, .1); color: var(--violet); margin-bottom: 14px; }
.price { display: flex; align-items: baseline; gap: 7px; margin: 14px 0 22px; }
.price b { font-family: var(--display); font-weight: 800; font-size: 3rem; letter-spacing: -.045em; line-height: 1; }
.price span { color: var(--mute); font-weight: 500; }
.plan ul { display: grid; gap: 11px; margin-bottom: 28px; flex: 1; align-content: start; }
.plan li, .plan-gom li { display: flex; gap: 10px; font-size: .95rem; line-height: 1.45; }
.plan li svg, .plan-gom li svg { color: var(--pink); flex-shrink: 0; margin-top: 3px; }
.plan li.muted { color: var(--mute); font-weight: 600; font-size: .86rem; }
.plan .fine { margin-top: 14px; text-align: center; }
.plan-best { background: var(--night); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); }
.plan-best::before { content: ""; position: absolute; inset: -1.5px; border-radius: inherit; padding: 1.5px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan-best .plan-tag { background: var(--grad); color: #fff; }
.plan-best .price span, .plan-best li.muted, .plan-best .fine { color: rgba(255, 255, 255, .6); }
.plan-best li svg { color: #FF8CC6; }

.plan-gom { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) auto; gap: 16px 44px; align-items: center; margin-top: 20px; background: linear-gradient(120deg, #FDF2F9, #F5EFFF); border: 1px solid #EBDDF4; border-radius: var(--r); padding: 34px 36px; }
.plan-gom h3 { font-family: var(--display); font-weight: 800; font-size: 1.7rem; letter-spacing: -.03em; margin-bottom: 6px; }
.plan-gom p { color: var(--ink-2); font-size: .97rem; }
.plan-gom ul { display: grid; gap: 9px; }
.gom-price { text-align: right; }
.gom-price .price { margin: 0 0 2px; justify-content: flex-end; }
.price-alt { font-size: .86rem; color: var(--mute); margin-bottom: 16px; }
.fine.wide { grid-column: 1 / -1; }

/* ───────────── FAQ ───────────── */
.faq { padding: 120px 0; }
.faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; align-items: start; }
.faq .sec-head { margin-bottom: 0; position: sticky; top: 110px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; padding: 24px 4px; font-family: var(--display); font-weight: 700; font-size: 1.22rem; letter-spacing: -.02em; transition: color .2s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--pink); }
.faq-list summary::after { content: ""; width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; background: #F3ECF8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23140C1D' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .4s var(--ease), background-color .3s; }
.faq-list details[open] summary::after { transform: rotate(135deg); background-color: #FFD9EC; }
.faq-list details > div { overflow: hidden; }
.faq-list details > div > p { color: var(--mute); font-size: 1.02rem; max-width: 44em; padding: 0 4px 26px; }

/* ───────────── FINAL ───────────── */
.final { padding: 0 0 110px; }
.final-card { position: relative; overflow: hidden; text-align: center; color: #fff; border-radius: 40px; padding: clamp(56px, 8vw, 100px) 28px; background: radial-gradient(120% 140% at 10% 0%, #FF4DA6 0%, #F01686 28%, #A33BE0 68%, #6B36E8 100%); box-shadow: 0 50px 100px -40px rgba(142, 81, 253, .7); }
.final-card h2 { max-width: 15em; margin: 0 auto 16px; }
.final-card > p { color: rgba(255, 255, 255, .86); font-size: 1.12rem; margin-bottom: 34px; }
.final-alt a { color: rgba(255, 255, 255, .85); }
.final .pc { opacity: .9; }
.final .f1 { background: rgba(255, 255, 255, .22); top: 14%; left: 7%; transform: rotate(-18deg); animation: bob 8s ease-in-out infinite; }
.final .f2 { background: rgba(255, 255, 255, .16); bottom: 12%; right: 8%; width: 92px; transform: rotate(14deg); animation: bob 10s ease-in-out -3s infinite; }
.final .f3 { background: rgba(255, 255, 255, .13); top: 12%; right: 16%; width: 52px; transform: rotate(8deg); animation: bob 7s ease-in-out -1s infinite; }

/* ───────────── FOOTER ───────────── */
.foot { border-top: 1px solid var(--line); padding: 64px 0 34px; background: #fff; }
.foot-in { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.foot-brand p { color: var(--mute); margin-top: 14px; max-width: 18em; font-size: .95rem; }
.foot h4 { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.foot nav a { display: block; padding: 5px 0; color: var(--ink-2); font-size: .95rem; transition: color .2s, transform .25s var(--ease); }
.foot nav a:hover { color: var(--pink); transform: translateX(3px); }
.foot-end { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: .86rem; }

/* ───────────── RESPONSIVE ───────────── */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-links + .nav-cta { margin-left: auto; }
  .hero { padding-top: 112px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero .cta-row, .hero-facts { justify-content: center; }
  .hero-stage { height: min(620px, 118vw); max-width: 560px; margin: 0 auto; width: 100%; }
  .chip-a { left: 0; } .chip-b { right: 0; }

  .story-grid { grid-template-columns: minmax(0, 1fr); }
  .story-stage { display: none; }
  .story-steps { padding: 0; display: grid; gap: 80px; }
  .step { min-height: 0; opacity: 1; transform: none; max-width: none; text-align: center; align-items: center; }
  .step p { max-width: 30em; }
  .step-shot { display: block; width: min(270px, 72%); margin-top: 34px; }

  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento .card { grid-column: span 1; }

  .go-line { display: none; }
  .go-steps { grid-template-columns: minmax(0, 1fr); gap: 70px; }
  .go-step .phone { transform: none; }
  .gom-in { grid-template-columns: minmax(0, 1fr); gap: 50px; }

  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; }
  .plan-gom { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .gom-price { text-align: left; }
  .gom-price .price { justify-content: flex-start; }
  .faq-in { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .faq .sec-head { position: static; }
  .foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .nav-login { display: none; }
  .hero { padding: 100px 0 40px; }
  .chip { font-size: .74rem; padding: 8px 12px 8px 8px; }
  .chip small { display: none; }
  .chip-c { display: none; }
  .pc { width: 52px; }
  .ticker-track span { font-size: 1.05rem; }
  .story, .tpl, .faq { padding-block: 80px; }
  .bento-sec { padding: 60px 0 80px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .go { padding: 80px 0 90px; border-radius: 28px 28px 0 0; }
  .gom { padding-bottom: 90px; }
  .gom-in { padding-top: 80px; }
  .gom-list { grid-template-columns: minmax(0, 1fr); }
  .who { width: 78px; }
  .final-card { border-radius: 28px; }
  .sec-head { margin-bottom: 40px; }
}

/* ───────────── REDUCED MOTION ───────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .hero-stage .phone, .js .hero-stage .chip, .js .hero-stage .pc, .w > span,
  .js .c-alert .notif, .js .c-community .add-card, .js .board-rows .row { opacity: 1 !important; transform: none !important; }
  .js .hero-stage .ph-c { transform: translate(-50%, -50%) !important; }
  .js .hero-stage .ph-l { transform: translate(-128%, -44%) rotate(-9deg) !important; }
  .js .hero-stage .ph-r { transform: translate(28%, -52%) rotate(9deg) !important; }
  .step { opacity: 1; }
}
