/* ==========================================================================
   MigraSync — homepage ("night sky" redesign, 2026-10)
   Calm by rule: no flashing, no auto-playing motion faster than ~6s,
   everything still under prefers-reduced-motion.
   ========================================================================== */

:root {
  --g1: #f2385a; --g2: #f78c1e; --g3: #a03bde; --g4: #1f6feb;
  --grad: linear-gradient(100deg, #6ea8ff 0%, #b979ff 38%, #ffab5e 70%, #ff6b85 100%);

  --bg: #06061a;
  --bg-2: #0c0b24;
  --ink: #f4f2ff;
  --body: #b9b6d3;
  --muted: #8b88a8;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --glass: rgba(255, 255, 255, .045);
  --glass-2: rgba(255, 255, 255, .08);

  --blue: #6ea8ff; --violet: #b979ff; --coral: #ff8f7a; --amber: #ffb35e;

  --r-xl: 32px; --r-lg: 24px; --r-md: 18px;
  --maxw: 1200px;
  --font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65;
  color: var(--body); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: #7a5cff; color: #fff; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 8px; }

h1, h2, h3, h4 { color: var(--ink); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6.6vw, 5.2rem); letter-spacing: -.045em; line-height: 1; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -.04em; }
h3 { font-size: 1.18rem; letter-spacing: -.02em; line-height: 1.25; }
p { margin: 0 0 1rem; } p:last-child { margin-bottom: 0; }

.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
h1 .serif { font-size: 1.12em; line-height: .9; }
h2 .serif { font-size: 1.1em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.head { margin-bottom: 56px; }
.head .lede, .center .lede { margin-left: auto; margin-right: auto; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--body); max-width: 60ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--violet);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }

/* ---------- sky backdrop ---------- */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: radial-gradient(120% 80% at 50% -10%, #17123f 0%, var(--bg) 60%); }
.sky i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.sky .a1 { width: 52vw; height: 52vw; left: -14vw; top: -18vw; background: #2a3dff; opacity: .32; animation: drift 38s ease-in-out infinite alternate; }
.sky .a2 { width: 44vw; height: 44vw; right: -12vw; top: 4vw; background: #9a2fe0; opacity: .28; animation: drift 46s ease-in-out infinite alternate-reverse; }
.sky .a3 { width: 40vw; height: 40vw; left: 30vw; top: 60vh; background: #ff6a3d; opacity: .12; animation: drift 52s ease-in-out infinite alternate; }
.stars {
  position: absolute; inset: 0; opacity: .55;
  background-image:
    radial-gradient(1px 1px at 12% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 38% 68%, #cfc8ff 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 54%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 56% 34%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 22% 86%, #ffd9c2 50%, transparent 51%),
    radial-gradient(1px 1px at 94% 88%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 50%, #fff 50%, transparent 51%);
  background-size: 640px 640px;
}
@keyframes drift { to { transform: translate3d(6vw, 4vw, 0) scale(1.08); } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: .98rem; line-height: 1;
  color: var(--ink); border: 1px solid var(--line-2); background: var(--glass);
  transition: transform .3s var(--ease), background .3s, border-color .3s, box-shadow .3s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); background: var(--glass-2); }
.btn svg { width: 18px; height: 18px; }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-glow {
  color: #12082b; border: 0;
  background: linear-gradient(100deg, #9cc4ff, #d4b0ff 45%, #ffc794 80%, #ffa2b3);
  box-shadow: 0 10px 40px -10px rgba(185, 121, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.btn-glow:hover { background: linear-gradient(100deg, #b2d1ff, #e0c4ff 45%, #ffd3a8 80%, #ffb4c2); box-shadow: 0 16px 50px -12px rgba(185, 121, 255, .9); }
.btn-ghost { background: transparent; }

.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.store-row.center { justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px 12px 18px; min-width: 186px;
  border-radius: 16px; color: var(--ink); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .3s var(--ease), background .3s, border-color .3s;
}
.store:hover { text-decoration: none; transform: translateY(-3px); background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; font-weight: 700; font-size: 1.12rem; line-height: 1.1; letter-spacing: -.01em; }
.store small { font-size: .7rem; font-weight: 500; letter-spacing: .02em; color: var(--muted); }
.store.light { background: #fff; color: #0c0a20; border-color: #fff; }
.store.light small { color: #5c5a74; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px 0; transition: background .4s, padding .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(6, 6, 26, .72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); padding: 8px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-logo { height: 44px; width: auto; display: block; }
.nav-links { display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--body); font-size: .9rem; font-weight: 600; }
.nav-links a:hover { color: var(--ink); background: var(--glass-2); text-decoration: none; }
.nav-end { display: flex; align-items: center; gap: 14px; }
.lang-switch { color: var(--muted); font-size: .88rem; font-weight: 600; }
.lang-switch:hover { color: var(--ink); text-decoration: none; }

/* ---------- hero ---------- */
.hero { padding: clamp(120px, 15vw, 170px) 0 40px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; margin-bottom: 28px;
  border-radius: 999px; font-size: .84rem; font-weight: 600; color: var(--ink);
  background: var(--glass); border: 1px solid var(--line-2);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #5ee6a8; box-shadow: 0 0 0 0 rgba(94, 230, 168, .5); animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 0 7px rgba(94, 230, 168, 0); } }
.hero h1 { margin-bottom: 26px; }
.hero-note { margin-top: 18px; font-size: .88rem; color: var(--muted); }

.hero-stage { position: relative; aspect-ratio: 1 / 1.08; perspective: 1400px; }
.wave { position: absolute; inset: -6% -8%; width: 116%; height: 112%; }
.wave .ring { fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: 1; }
.wave .trace { fill: none; stroke: url(#waveG); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 10px rgba(185, 121, 255, .7)); stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 3.2s .4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.phone {
  position: absolute; left: 50%; top: 50%; width: min(300px, 62%); aspect-ratio: 720 / 1558;
  transform: translate(-50%, -50%) rotateX(var(--rx, 4deg)) rotateY(var(--ry, -10deg)) rotateZ(2deg);
  transition: transform .9s var(--ease);
  border-radius: 34px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 50px 100px -30px rgba(0, 0, 0, .9), 0 0 120px -20px rgba(140, 90, 255, .55);
}
.phone-screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #000; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }

.chip {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  border-radius: 18px; background: rgba(20, 18, 48, .62); border: 1px solid var(--line-2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .8);
  animation: float 9s ease-in-out infinite;
}
.chip b { display: block; color: var(--ink); font-size: .9rem; line-height: 1.2; }
.chip small { display: block; color: var(--muted); font-size: .76rem; }
.chip .dot { width: 34px; height: 34px; border-radius: 11px; flex: none; position: relative; }
.chip .dot::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: #fff; opacity: .9; }
.dot.blue { background: linear-gradient(135deg, #3d7bff, #6ea8ff); }
.dot.violet { background: linear-gradient(135deg, #8a3ce0, #c08bff); }
.dot.coral { background: linear-gradient(135deg, #ff6b5a, #ffb35e); }
.c1 { top: 12%; left: -4%; }
.c2 { top: 46%; right: -6%; animation-delay: -3s; }
.c3 { bottom: 9%; left: 2%; animation-delay: -6s; }
@keyframes float { 50% { transform: translateY(-10px); } }

.marquee { margin-top: 72px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: slide 70s linear infinite; }
.marquee-track span { padding: 9px 18px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--body); border: 1px solid var(--line); background: var(--glass); white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- attack arc ---------- */
.arc { list-style: none; padding: 0; margin: 72px 0 0; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; padding-top: 150px; }
.arc-line { position: absolute; left: 0; top: 0; width: 100%; height: 160px; overflow: visible; }
.arc-line path { fill: none; stroke: url(#waveG); stroke-width: 2.5; vector-effect: non-scaling-stroke; opacity: .9; }
.arc li { position: relative; padding: 22px 20px; border-radius: var(--r-md); background: var(--glass); border: 1px solid var(--line); }
.arc li::before { content: ""; position: absolute; top: -28px; left: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--violet); }
.arc li b { display: block; color: var(--ink); font-size: 1.02rem; margin-bottom: 6px; }
.arc li span { font-size: .9rem; line-height: 1.55; color: var(--muted); }
.arc li.hit { background: linear-gradient(160deg, rgba(185, 121, 255, .2), rgba(255, 143, 122, .08)); border-color: rgba(185, 121, 255, .45); }
.arc li.hit::before { background: var(--coral); border-color: #fff; box-shadow: 0 0 0 6px rgba(255, 143, 122, .2); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--glass); overflow: hidden; }
.stat { padding: 30px 24px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: .9rem; color: var(--muted); }

/* ---------- tour ---------- */
.tour-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 64px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; flex: none; margin-top: 3px; padding: 4px; border-radius: 8px; color: var(--violet); background: rgba(185, 121, 255, .14); box-sizing: content-box; }
.checklist strong { color: var(--ink); }
.tour-video { margin: 0; justify-self: center; width: min(330px, 100%); }
.tour-video video { width: 100%; height: auto; display: block; border-radius: 36px; background: #000; border: 1px solid var(--line-2); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 100px -30px rgba(110, 168, 255, .5); }
.tour-video figcaption { text-align: center; margin-top: 14px; font-size: .82rem; color: var(--muted); }

.gallery-wrap { margin-top: 88px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.gallery { list-style: none; margin: 0; padding: 20px max(24px, calc((100vw - var(--maxw)) / 2 + 24px)) 40px; display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery li { flex: none; width: min(250px, 62vw); scroll-snap-align: center; transition: transform .6s var(--ease); }
.gallery li:nth-child(even) { transform: translateY(34px); }
.gallery li:hover { transform: translateY(-8px); }
.gallery img { width: 100%; height: auto; display: block; border-radius: 28px; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .9); }

/* ---------- cards / bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.span-2 { grid-column: span 2; } .span-4 { grid-column: span 4; }
.card {
  position: relative; padding: 30px; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid var(--line);
  transition: border-color .4s, transform .5s var(--ease);
}
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(185, 121, 255, .16), transparent 60%); }
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card:hover::after { opacity: 1; }
.card p { color: var(--muted); font-size: .95rem; }
.card-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; color: #fff; background: linear-gradient(135deg, #5b4cff, #b979ff); box-shadow: 0 10px 24px -10px rgba(140, 90, 255, .8); }
.card-icon svg { width: 22px; height: 22px; }
.card-icon.coral { background: linear-gradient(135deg, #ff6b5a, #ffb35e); box-shadow: 0 10px 24px -10px rgba(255, 120, 90, .8); }
.card-icon.violet { background: linear-gradient(135deg, #9a2fe0, #e07bff); }
.card-icon.blue { background: linear-gradient(135deg, #1f6feb, #6ec8ff); box-shadow: 0 10px 24px -10px rgba(60, 140, 255, .8); }

.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin-top: 28px; }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: rgba(255, 255, 255, .08); transform-origin: bottom; transform: scaleY(.2); transition: transform 1.2s var(--ease); }
.bars i.on { background: linear-gradient(180deg, #b979ff, #5b4cff); }
.bars i.hot { background: linear-gradient(180deg, #ffb35e, #ff6b5a); }
.in .bars i { transform: scaleY(1); }
.bars i:nth-child(2n) { transition-delay: .08s; } .bars i:nth-child(3n) { transition-delay: .16s; }

.head { display: block; }
svg.head { width: 100%; height: 120px; margin-top: 18px; }
.skull { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .25); stroke-width: 1.5; }
.zone { fill: rgba(255, 107, 90, .35); stroke: #ff8f7a; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ache 6s ease-in-out infinite; }
.zone.z2 { fill: rgba(185, 121, 255, .35); stroke: var(--violet); animation-delay: -3s; }
@keyframes ache { 50% { transform: scale(1.15); opacity: .75; } }

/* ---------- migrabrain ---------- */
.band { background: linear-gradient(180deg, transparent, rgba(60, 40, 150, .14) 30%, rgba(60, 40, 150, .14) 70%, transparent); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.brain { position: relative; }
.brain svg { width: 100%; height: auto; overflow: visible; }
.links line { stroke: url(#waveG); stroke-width: var(--w); stroke-linecap: round; opacity: .55; stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.8s var(--ease); }
.in .links line { stroke-dashoffset: 0; }
.core { fill: url(#waveG); filter: drop-shadow(0 0 40px rgba(185, 121, 255, .7)); }
.core-t { fill: #fff; font: 800 18px var(--font); text-anchor: middle; }
.node circle { fill: rgba(20, 18, 48, .85); stroke: var(--line-2); stroke-width: 1.5; }
.node.n1 circle { stroke: var(--violet); stroke-width: 2.5; }
.node.n2 circle { stroke: var(--blue); stroke-width: 2; }
.node text { fill: var(--ink); font: 700 13px var(--font); text-anchor: middle; }
.node text.pct { fill: var(--muted); font-size: 11px; font-weight: 600; }
.node { animation: float 10s ease-in-out infinite; }
.n2 { animation-delay: -2s; } .n3 { animation-delay: -4s; } .n4 { animation-delay: -6s; } .n5 { animation-delay: -8s; }
.insight { position: absolute; display: flex; gap: 12px; max-width: 270px; padding: 14px 16px; border-radius: 16px; background: rgba(20, 18, 48, .78); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -20px #000; }
.insight p { margin: 0; font-size: .84rem; line-height: 1.5; color: var(--muted); }
.insight b { color: var(--ink); display: block; }
.insight svg { width: 20px; height: 20px; flex: none; color: var(--violet); margin-top: 2px; }
.i1 { right: -4%; bottom: 4%; }
.i2 { left: 18%; top: -16%; }

/* ---------- report paper ---------- */
.paper-stage { position: relative; padding: 30px 20px; }
.paper { position: relative; padding: 32px; border-radius: 22px; background: #fbfaff; color: #4a4959; transform: rotate(-3deg); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .4); transition: transform .8s var(--ease); }
.paper.back { position: absolute; inset: 30px 20px; transform: rotate(4deg) translate(18px, 12px); background: linear-gradient(135deg, #b979ff, #ff8f7a); opacity: .55; }
.paper-stage:hover .paper:not(.back) { transform: rotate(-1deg) translateY(-6px); }
.rp-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 18px; border-bottom: 1px solid #e8e6f2; }
.rp-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8a3ce0; }
.rp-title { font-size: 1.4rem; font-weight: 800; color: #0e0e1a; letter-spacing: -.02em; }
.rp-badge { font-size: .76rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: #efeaff; color: #4c3eb0; }
.rp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0; }
.rp-stats div { padding: 14px; border-radius: 14px; background: #f3f1fa; }
.rp-stats b { display: block; font-size: 1.6rem; font-weight: 800; color: #0e0e1a; letter-spacing: -.03em; line-height: 1.1; }
.rp-stats span { font-size: .72rem; color: #75738a; }
.rp-chart { display: flex; align-items: flex-end; gap: 10px; height: 100px; padding-bottom: 14px; border-bottom: 1px solid #e8e6f2; margin-bottom: 14px; }
.rp-chart i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #8a6bff, #4c4ebe); }
.rp-chart i:nth-child(4) { background: linear-gradient(180deg, #ffb35e, #f2385a); }
.rp-row { display: grid; grid-template-columns: 1fr 1.1fr 38px; gap: 12px; align-items: center; font-size: .8rem; padding: 6px 0; }
.rp-row span { color: #0e0e1a; font-weight: 600; }
.rp-row em { height: 8px; border-radius: 99px; background: linear-gradient(90deg, #4c4ebe var(--v), #ecebf4 var(--v)); }
.rp-row small { text-align: right; font-weight: 700; color: #4c3eb0; }

/* ---------- privacy vault ---------- */
.vault { position: relative; text-align: center; padding: clamp(48px, 7vw, 88px) clamp(22px, 5vw, 72px); border-radius: var(--r-xl); border: 1px solid var(--line-2); overflow: hidden; background: radial-gradient(70% 60% at 50% 0%, rgba(110, 168, 255, .16), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01)); }
.vault .lede { margin: 0 auto 44px; }
.vault-lock { position: relative; width: 120px; height: 120px; margin: 0 auto 30px; display: grid; place-items: center; }
.vault-lock span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(110, 168, 255, .35); animation: halo 6s ease-out infinite; }
.vault-lock span:nth-child(2) { animation-delay: -2s; } .vault-lock span:nth-child(3) { animation-delay: -4s; }
@keyframes halo { from { transform: scale(.55); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.vault-lock svg { width: 54px; height: 54px; padding: 18px; box-sizing: content-box; border-radius: 26px; color: #fff; background: linear-gradient(135deg, #1f6feb, #a03bde); box-shadow: 0 20px 50px -14px rgba(60, 110, 255, .9); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; margin-bottom: 40px; }
.grid-3 article { padding: 26px; border-radius: var(--r-md); background: rgba(6, 6, 26, .5); border: 1px solid var(--line); }
.grid-3 h3 { display: flex; align-items: center; gap: 10px; }
.grid-3 h3 svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.grid-3 p { font-size: .93rem; color: var(--muted); }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: 0 auto; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 38px 34px; border-radius: var(--r-xl); background: var(--glass); border: 1px solid var(--line); }
.plan h3 { font-size: 1.1rem; color: var(--body); margin-bottom: 10px; }
.price { font-size: 3.2rem; font-weight: 800; color: var(--ink); letter-spacing: -.05em; line-height: 1; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan-sub { margin: 12px 0 0; font-size: .92rem; color: var(--muted); }
.plan-sub strong { color: var(--ink); }
.strike { text-decoration: line-through; opacity: .7; }
.plan ul { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--body); }
.plan li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: #5ee6a8; }
.plan li.off { color: var(--muted); opacity: .6; }
.plan li.off svg { color: var(--muted); }
.plan.featured { border: 1px solid transparent; background: linear-gradient(#0f0d2c, #0f0d2c) padding-box, linear-gradient(140deg, #6ea8ff, #b979ff 45%, #ffab5e 80%, #ff6b85) border-box; box-shadow: 0 40px 100px -40px rgba(140, 90, 255, .7); }
.plan.featured::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(185, 121, 255, .14), transparent 60%); }
.plan.featured:hover::after { opacity: 1; }
.plan-tag { position: absolute; top: -14px; right: 26px; padding: 7px 14px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .04em; color: #12082b; background: linear-gradient(100deg, #ffc794, #ffa2b3); }
.fine { margin-top: 18px; font-size: .78rem; color: var(--muted); line-height: 1.55; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: 110px; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r-md); background: var(--glass); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(185, 121, 255, .35); background: rgba(185, 121, 255, .06); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; position: relative; color: var(--ink); font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--violet); border-bottom: 2px solid var(--violet); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- cta ---------- */
.cta { padding: 40px 0 120px; }
.cta-card { position: relative; overflow: hidden; text-align: center; padding: clamp(60px, 9vw, 110px) 24px; border-radius: var(--r-xl); background: radial-gradient(90% 120% at 0% 0%, #3448ff 0%, transparent 55%), radial-gradient(90% 120% at 100% 100%, #ff6a3d 0%, transparent 55%), linear-gradient(120deg, #3a1f9c, #8a2fc8 50%, #c2407a); box-shadow: 0 50px 120px -40px rgba(140, 60, 220, .8); }
.cta-card h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); }
.cta-card .lede { color: rgba(255, 255, 255, .82); margin: 0 auto; }
.cta-wave { position: absolute; left: 0; bottom: 0; width: 100%; height: 50%; opacity: .35; }
.cta-wave path { fill: none; stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.cta-card > *:not(.cta-wave) { position: relative; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 36px; background: rgba(4, 4, 18, .6); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1.1fr; gap: 40px; }
.footer h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer ul a { color: var(--body); font-size: .92rem; }
.footer ul a:hover { color: var(--ink); }
.disclaimer { font-size: .86rem; color: var(--muted); margin-top: 16px; max-width: 36ch; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: var(--body); background: var(--glass); border: 1px solid var(--line); }
.social a:hover { color: var(--ink); border-color: var(--line-2); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
}
@media (max-width: 960px) {
  .hero-grid, .tour-grid, .split, .faq-grid { grid-template-columns: 1fr; }
  .hero-stage { max-width: 520px; width: 100%; margin: 20px auto 0; }
  .faq-grid > div:first-child { position: static; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .span-2 { grid-column: span 1; } .span-4 { grid-column: span 2; }
  .arc { grid-template-columns: 1fr; padding-top: 0; gap: 12px; padding-left: 28px; }
  .arc-line { display: none; }
  .arc::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 2px; background: var(--grad); border-radius: 2px; }
  .arc li::before { top: 26px; left: -29px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .grid-3 { grid-template-columns: 1fr; }
  .paper-stage { max-width: 520px; margin: 0 auto; }
  .brain { max-width: 480px; margin: 0 auto; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .bento, .plans { grid-template-columns: 1fr; }
  .span-4 { grid-column: span 1; }
  .lang-switch { display: none; }
  .brand-logo { height: 36px; }
  .chip { padding: 9px 12px 9px 9px; }
  .chip .dot { width: 26px; height: 26px; } .chip .dot::after { inset: 9px; }
  .chip b { font-size: .8rem; } .chip small { font-size: .7rem; }
  .c1 { left: 0; } .c2 { right: 0; } .c3 { left: 2%; }
  .insight { position: static; max-width: none; margin-top: 12px; }
  .store { flex: 1 1 180px; }
  .gallery li:nth-child(even) { transform: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .plan { padding: 32px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .wave .trace, .links line { stroke-dashoffset: 0; }
  .bars i { transform: none; }
}

/* official-style store badges */
.badge { display: inline-block; line-height: 0; border-radius: 13px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.22), 0 14px 30px -14px rgba(0,0,0,.9); transition: transform .3s var(--ease), box-shadow .3s; }
.badge:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(255,255,255,.4), 0 20px 40px -16px rgba(0,0,0,.9); }
.badge img { display: block; height: 56px; width: auto; }
@media (max-width: 640px) { .badge img { height: 50px; } }
