:root {
  --bg: #F7F3EC;
  --ink: #161616;
  --muted: #5b5750;
  --cobalt: #2F5BFF;
  --coral: #FF7A59;
  --yellow: #FFC83D;
  --mint: #B8F2D0;
  --lilac: #D9CCFF;
  --line: #161616;
  --radius: 22px;
  --head: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 22px; padding-right: 22px; }

h1, h2, h3 { font-family: var(--head); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 14px; }
h1 { font-size: clamp(42px, 7vw, 78px); font-weight: 800; }
h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; }
h3 { font-size: 22px; font-weight: 700; }
p { margin: 0 0 14px; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.logo { font-family: var(--head); font-weight: 800; font-size: 24px; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo-mark { display: inline-flex; }
.logo-mark span { width: 18px; height: 26px; border-radius: 6px; border: 2px solid var(--ink); }
.logo-mark span:first-child { background: var(--cobalt); }
.logo-mark span:last-child { background: var(--coral); margin-left: -6px; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 15px; }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: var(--yellow);
  font-family: var(--body); font-weight: 700; font-size: 16px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid var(--ink);
  text-decoration: none; cursor: pointer; transition: transform .12s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.secondary { background: #fff; color: var(--ink); }
.btn.small { padding: 10px 18px; font-size: 14px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 80px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; padding-top: 16px; padding-bottom: 40px; } }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 18px; }
.pill { display: inline-block; background: var(--mint); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 13px; margin-bottom: 20px; }
.note { font-size: 14px; color: var(--muted); }

/* Duo card */
.duo { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.creator {
  border: 2.5px solid var(--ink); padding: 24px 20px 48px; min-height: 340px;
  display: flex; flex-direction: column; gap: 10px;
}
.creator.you { background: var(--cobalt); color: #fff; border-radius: var(--radius) 0 0 var(--radius); }
.creator.them { background: var(--coral); border-radius: 0 var(--radius) var(--radius) 0; border-left: none; }
.avatar { width: 54px; height: 54px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--yellow); display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 22px; color: var(--ink); }
.creator .who { font-weight: 700; font-size: 15px; }
.creator .tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.stat { margin-top: auto; }
.stat + .stat { margin-top: 0; }
.stat b { display: block; font-family: var(--head); font-size: 34px; line-height: 1; }
.stat small { font-size: 12px; font-weight: 600; opacity: .85; }
.fit {
  position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%) rotate(-4deg);
  background: var(--yellow); border: 2.5px solid var(--ink); border-radius: 999px;
  padding: 10px 18px; font-family: var(--head); font-weight: 800; font-size: 22px; white-space: nowrap;
  box-shadow: 4px 4px 0 var(--ink);
}
.duo-caption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 40px; }

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.kicker { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--cobalt); margin-bottom: 10px; display: block; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.block { border: 2.5px solid var(--ink); border-radius: var(--radius); padding: 24px; background: #fff; }
.block.yellow { background: var(--yellow); }
.block.mint { background: var(--mint); }
.block.lilac { background: var(--lilac); }
.block.coral { background: var(--coral); }
.block.cobalt { background: var(--cobalt); color: #fff; }
.block p { margin: 0; }
.num { font-family: var(--head); font-weight: 800; font-size: 40px; line-height: 1; margin-bottom: 12px; display: block; }

/* Gate */
.gate { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .gate { grid-template-columns: 1fr; } }
.gate-card { background: #fff; border: 2.5px solid var(--ink); border-radius: var(--radius); padding: 26px; box-shadow: 8px 8px 0 var(--ink); }
.gate-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 2px dashed #d8d2c6; font-weight: 600; }
.gate-row:last-of-type { border-bottom: none; }
.gate-row span:last-child { font-family: var(--head); font-weight: 800; }
.gate-count { margin-top: 16px; background: var(--mint); border: 2px solid var(--ink); border-radius: 14px; padding: 12px 16px; font-weight: 700; }

/* Brands */
.brands { background: var(--ink); color: var(--bg); border-radius: 32px; padding: 56px 44px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }
@media (max-width: 900px) { .brands { grid-template-columns: 1fr; padding: 40px 26px; } }
.brands .kicker { color: var(--yellow); }
.brands ul { margin: 0; padding-left: 20px; }
.brands li { margin-bottom: 10px; }
.brands .btn { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

/* Waitlist */
.waitlist { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .waitlist { grid-template-columns: 1fr; } }
form.card { background: #fff; border: 2.5px solid var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: 8px 8px 0 var(--ink); }
.toggle { display: grid; grid-template-columns: 1fr 1fr; border: 2.5px solid var(--ink); border-radius: 999px; overflow: hidden; margin-bottom: 22px; }
.toggle button { border: 0; background: #fff; padding: 12px; font-family: var(--body); font-weight: 700; font-size: 15px; cursor: pointer; }
.toggle button.active { background: var(--ink); color: var(--yellow); }
label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field { margin-bottom: 16px; }
input, select {
  width: 100%; padding: 13px 14px; font-family: var(--body); font-size: 16px;
  border: 2px solid var(--ink); border-radius: 12px; background: var(--bg); color: var(--ink);
}
input:focus, select:focus { outline: 3px solid var(--cobalt); outline-offset: 1px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .row-2 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; }
form .btn { width: 100%; margin-top: 6px; }
.consent { font-size: 13px; color: var(--muted); margin-top: 12px; }
.msg { margin-top: 14px; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--ink); font-weight: 600; display: none; }
.msg.ok { background: var(--mint); display: block; }
.msg.err { background: #ffd9cf; display: block; }
.hidden { display: none; }
.badge-founder { display: inline-flex; align-items: center; gap: 10px; background: var(--yellow); border: 2.5px solid var(--ink); border-radius: 16px; padding: 12px 16px; font-weight: 800; margin-top: 10px; }

/* FAQ */
details { border: 2.5px solid var(--ink); border-radius: 16px; background: #fff; padding: 18px 22px; margin-bottom: 12px; }
summary { font-weight: 700; cursor: pointer; font-size: 18px; }
details p { margin: 12px 0 0; color: var(--muted); }

/* Footer */
footer { border-top: 2.5px solid var(--ink); padding-top: 32px; padding-bottom: 48px; margin-top: 40px; font-size: 14px; }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* Legal pages */
.legal { max-width: 760px; padding-top: 20px; padding-bottom: 60px; }
.legal h1 { font-size: clamp(36px, 6vw, 56px); }
.legal h2 { font-size: 26px; margin-top: 40px; }
.legal h3 { font-size: 19px; margin-top: 24px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-weight: 600; }
.legal .box { background: var(--mint); border: 2px solid var(--ink); border-radius: 16px; padding: 16px 20px; margin: 20px 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.legal th, .legal td { border: 2px solid var(--ink); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--lilac); }
.fill { background: var(--yellow); padding: 0 4px; border-radius: 4px; font-weight: 700; }

/* ================= 3D + MOTION LAYER ================= */

/* Soft moving colour blobs behind everything */
.blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blobs span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; animation: drift 18s ease-in-out infinite alternate; }
.blobs .b1 { width: 460px; height: 460px; background: var(--lilac); top: -120px; right: -80px; }
.blobs .b2 { width: 380px; height: 380px; background: var(--mint); top: 40%; left: -140px; animation-duration: 22s; }
.blobs .b3 { width: 340px; height: 340px; background: #ffd9a8; bottom: -120px; right: 20%; animation-duration: 26s; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.15); } }

/* Hero stage: perspective + floating */
.stage { position: relative; perspective: 1100px; padding: 30px 10px; --rx: 6deg; --ry: -14deg; --px: 0px; --py: 0px; }
.duo.tilt {
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .25s ease-out;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 30px 30px rgba(22,22,22,.22));
}
.duo.tilt .creator.you  { transform: translateZ(20px); }
.duo.tilt .creator.them { transform: translateZ(20px); }
.duo.tilt .fit { transform: translateX(-50%) translateZ(70px) rotate(-4deg); animation: pop 2.8s ease-in-out infinite; }
.duo.tilt .avatar { transform: translateZ(30px); box-shadow: 3px 3px 0 var(--ink); }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes pop { 0%,100% { scale: 1; } 50% { scale: 1.07; } }

/* Floating chips around the card */
.chip {
  position: absolute; z-index: 3; background: #fff; border: 2.5px solid var(--ink); border-radius: 999px;
  padding: 8px 14px; font-weight: 800; font-size: 14px; white-space: nowrap; box-shadow: 4px 4px 0 var(--ink);
  translate: var(--px) var(--py); transition: translate .3s ease-out;
  animation: bob 5s ease-in-out infinite;
}
.chip.c1 { top: 0; left: -6px; background: var(--mint); }
.chip.c2 { top: 8%; right: -10px; background: var(--yellow); animation-delay: -1.5s; }
.chip.c3 { bottom: 22%; left: -22px; background: var(--lilac); animation-delay: -3s; }
.chip.c4 { top: 52%; right: -22px; animation-delay: -2s; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@media (max-width: 560px) {
  .chip { font-size: 12px; padding: 6px 10px; }
  .chip.c1 { left: 0; } .chip.c2 { right: 0; } .chip.c3 { left: 0; bottom: 24%; } .chip.c4 { right: 0; }
  .stage { --ry: -8deg; }
}

/* Niche marquee */
.marquee { overflow: hidden; border-top: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); background: var(--yellow); transform: rotate(-1.5deg); margin: 10px -20px 0; }
.marquee .track { display: flex; gap: 34px; width: max-content; padding: 14px 0; animation: scroll 30s linear infinite; }
.marquee span { font-family: var(--head); font-weight: 800; font-size: 22px; white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Chunky 3D blocks that lift and tilt on hover */
.block { box-shadow: 6px 6px 0 var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.lift:hover { transform: translate(-3px, -6px) rotate(-1deg); box-shadow: 10px 12px 0 var(--ink); }

/* Pressed-in 3D buttons */
.btn { box-shadow: 4px 4px 0 var(--ink); }
.btn.secondary { box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.nav .btn { box-shadow: none; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px) scale(.98); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .2s; }
.reveal.in { opacity: 1; transform: none; }
.reveal.in.lift:hover { transform: translate(-3px, -6px) rotate(-1deg); }

/* Respect people who turn off motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ================= V3: PHONE DEMO + INTERACTIVE ================= */

/* Rotating headline word */
.rot-wrap { display: inline-block; }
.rot {
  display: inline-block; background: var(--yellow); padding: 0 .18em; border-radius: .18em;
  box-shadow: 5px 5px 0 var(--ink); border: 3px solid var(--ink); transform: rotate(-2deg);
  transition: transform .35s cubic-bezier(.5,-0.5,.5,1.5), opacity .35s;
}
.rot.out { transform: rotate(-2deg) translateY(40%) rotateX(90deg); opacity: 0; }

/* Shine sweep on main buttons */
.btn:not(.secondary) { position: relative; overflow: hidden; }
.btn:not(.secondary)::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); animation: shine 3.5s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 140%; } }

/* Phone */
.stage { display: grid; place-items: center; min-height: 620px; }
.phone {
  width: 290px; height: 590px; border-radius: 44px; background: var(--ink); padding: 12px;
  position: relative; transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .25s ease-out;
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 40px 60px -20px rgba(22,22,22,.45), inset 0 0 0 2px #333;
}
.notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; background: var(--ink); border-radius: 20px; z-index: 5; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 34px; background: var(--bg); overflow: hidden; padding: 54px 16px 16px; }
.app-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--head); font-size: 22px; }
.live { font-family: var(--body); font-size: 11px; font-weight: 800; color: var(--coral); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* Step 0: radar */
.radar { position: absolute; left: 0; right: 0; top: 150px; display: grid; place-items: center; transition: opacity .4s, transform .4s; }
.radar i { position: absolute; width: 90px; height: 90px; border-radius: 50%; border: 3px solid var(--cobalt); animation: ping 1.8s ease-out infinite; opacity: 0; }
.radar i:nth-child(2) { animation-delay: .6s; } .radar i:nth-child(3) { animation-delay: 1.2s; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.radar .me { width: 76px; height: 76px; border-radius: 50%; background: var(--cobalt); color: #fff; border: 3px solid var(--ink); display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 32px; box-shadow: 4px 4px 0 var(--ink); position: relative; }
.radar small { position: absolute; top: 150px; font-weight: 700; font-size: 13px; color: var(--muted); white-space: nowrap; }
.s1 .radar { opacity: 0; transform: scale(.6); }

/* Match card */
.mcard { position: absolute; left: 16px; right: 16px; top: 100px; display: grid; grid-template-columns: 1fr 1fr; opacity: 0; transform: translateY(60px) scale(.85) rotate(4deg); transition: all .6s cubic-bezier(.2,1.4,.4,1); }
.s1 .mcard { opacity: 1; transform: none; }
.half { border: 2.5px solid var(--ink); padding: 14px 10px 30px; display: flex; flex-direction: column; gap: 2px; min-height: 230px; }
.half.you { background: var(--cobalt); color: #fff; border-radius: 18px 0 0 18px; }
.half.them { background: var(--coral); border-radius: 0 18px 18px 0; border-left: none; }
.half .av { width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: var(--ink); border: 2.5px solid var(--ink); display: grid; place-items: center; font-family: var(--head); font-weight: 800; margin-bottom: 6px; }
.half small { font-size: 10px; font-weight: 800; letter-spacing: .04em; margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.half b { font-family: var(--head); font-size: 26px; line-height: 1; }
.half em { font-style: normal; font-size: 10px; font-weight: 600; opacity: .85; margin-bottom: 8px; }
.mfit { position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%) scale(0) rotate(-8deg); background: var(--yellow); border: 2.5px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-family: var(--head); font-weight: 800; font-size: 18px; white-space: nowrap; box-shadow: 3px 3px 0 var(--ink); transition: transform .5s cubic-bezier(.3,1.8,.5,1) .35s; }
.s1 .mfit { transform: translateX(-50%) scale(1) rotate(-4deg); }

/* Button / tracker slot */
.slot { position: absolute; left: 16px; right: 16px; bottom: 22px; height: 150px; }
.propose { position: absolute; left: 0; right: 0; bottom: 0; background: var(--ink); color: var(--yellow); border: 0; border-radius: 999px; padding: 16px; font-family: var(--body); font-weight: 800; font-size: 16px; box-shadow: 4px 4px 0 #888; opacity: 0; transform: translateY(30px); transition: all .4s; }
.s1 .propose { opacity: 1; transform: none; }
.s2 .propose { transform: scale(.92) translate(3px, 3px); box-shadow: 0 0 0 #888; background: #333; }
.s3 .propose { opacity: 0; transform: translateY(30px); }

.tracker { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border: 2.5px solid var(--ink); border-radius: 18px; padding: 12px 14px; opacity: 0; transform: translateY(30px); transition: all .45s; box-shadow: 4px 4px 0 var(--ink); }
.s3 .tracker { opacity: 1; transform: none; }
.tstep { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; padding: 6px 0; color: #aaa; transition: color .3s; }
.tstep span { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid #ccc; transition: all .35s cubic-bezier(.3,1.8,.5,1); }
.s4 .t1, .s5 .t2, .s6 .t3 { color: var(--ink); }
.s4 .t1 span, .s5 .t2 span, .s6 .t3 span { background: var(--mint); border-color: var(--ink); transform: scale(1.2); }
.s6 .t3 { color: var(--ink); }

/* Toast */
.toast { position: absolute; left: 14px; right: 14px; top: 46px; z-index: 4; background: var(--mint); border: 2.5px solid var(--ink); border-radius: 14px; padding: 10px 12px; font-weight: 800; font-size: 13px; box-shadow: 3px 3px 0 var(--ink); transform: translateY(-260%); transition: transform .45s cubic-bezier(.3,1.5,.5,1); }
.s3 .toast { transform: none; }
.s4 .toast { transform: translateY(-260%); }

/* Confetti */
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; top: 55%; left: 50%; width: 10px; height: 14px; border: 2px solid var(--ink); border-radius: 3px; opacity: 0; }
.confetti i:nth-child(5n+1) { background: var(--yellow); } .confetti i:nth-child(5n+2) { background: var(--coral); }
.confetti i:nth-child(5n+3) { background: var(--cobalt); } .confetti i:nth-child(5n+4) { background: var(--mint); } .confetti i:nth-child(5n) { background: var(--lilac); }
.s6 .confetti i { animation: burst 1.6s cubic-bezier(.2,.8,.3,1) forwards; }
.confetti i:nth-child(1) { --x: -120px; --y: -220px; } .confetti i:nth-child(2) { --x: 110px; --y: -240px; }
.confetti i:nth-child(3) { --x: -60px; --y: -280px; } .confetti i:nth-child(4) { --x: 70px; --y: -190px; }
.confetti i:nth-child(5) { --x: -130px; --y: -120px; } .confetti i:nth-child(6) { --x: 130px; --y: -140px; }
.confetti i:nth-child(7) { --x: 10px; --y: -300px; } .confetti i:nth-child(8) { --x: -90px; --y: -60px; }
.confetti i:nth-child(9) { --x: 95px; --y: -70px; } .confetti i:nth-child(10) { --x: -30px; --y: -170px; }
.confetti i:nth-child(11) { --x: 40px; --y: -250px; } .confetti i:nth-child(12) { --x: -110px; --y: -260px; }
@keyframes burst { 0% { opacity: 1; transform: translate(0,0) rotate(0); } 100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 180px)) rotate(540deg); } }

/* Chips placement around the phone */
.stage .chip.c1 { top: 70px; left: 0; }
.stage .chip.c2 { top: 150px; right: 0; left: auto; }
.stage .chip.c3 { bottom: 120px; left: 10px; top: auto; }
.stage .chip.c4 { bottom: 40px; right: 10px; top: auto; }
@media (max-width: 560px) {
  .stage { min-height: 600px; }
  .phone { width: 260px; height: 540px; }
  .stage .chip.c1 { top: 30px; } .stage .chip.c2 { top: 120px; }
}

/* Interactive gate demo */
.slider { margin: 14px 0; }
.slider label { display: flex; justify-content: space-between; font-size: 15px; }
.slider label b { font-family: var(--head); font-size: 18px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 14px; border-radius: 999px; border: 2.5px solid var(--ink); padding: 0; background: linear-gradient(90deg, var(--cobalt) var(--fill, 20%), #fff var(--fill, 20%)); cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); }
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); }
.pool { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 18px 0 6px; }
.pc { border: 2px solid var(--ink); border-radius: 12px; padding: 6px 2px; text-align: center; line-height: 1.15; transition: all .35s cubic-bezier(.3,1.5,.5,1); box-shadow: 2px 2px 0 var(--ink); }
.pc b { display: block; font-family: var(--head); font-size: 18px; }
.pc small { display: block; font-size: 10px; font-weight: 700; }
.pc.out { opacity: .18; transform: scale(.82) rotate(-6deg); filter: grayscale(1); box-shadow: none; }
@media (max-width: 480px) { .pool { grid-template-columns: repeat(4, 1fr); } }
.gate-count { transition: transform .2s; }
.gate-count.bump { animation: bump .35s; }
.gate-count span { font-family: var(--head); font-size: 22px; }
@keyframes bump { 50% { transform: scale(1.06); } }

/* ================= WHAT YOU GET ================= */
.vtoggle { max-width: 420px; margin-bottom: 30px; background: #fff; box-shadow: 4px 4px 0 var(--ink); }
.vgrid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: start; }
@media (max-width: 900px) { .vgrid { grid-template-columns: 1fr; } }
.vlist { display: grid; gap: 16px; }
.vitem { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 2.5px solid var(--ink); border-radius: 20px; padding: 18px; box-shadow: 5px 5px 0 var(--ink); transition: transform .2s; }
.vitem:hover { transform: translate(-2px, -4px) rotate(-.5deg); }
.vitem h3 { font-size: 19px; margin-bottom: 4px; }
.vitem p { margin: 0; color: var(--muted); font-size: 15px; }
.vic { flex: none; width: 52px; height: 52px; border-radius: 16px; border: 2.5px solid var(--ink); display: grid; place-items: center; font-size: 24px; box-shadow: 3px 3px 0 var(--ink); }
.vic.yellow { background: var(--yellow); } .vic.mint { background: var(--mint); } .vic.coral { background: var(--coral); } .vic.lilac { background: var(--lilac); }
.soon { font-style: normal; font-family: var(--body); font-size: 11px; font-weight: 800; background: var(--coral); border: 2px solid var(--ink); border-radius: 999px; padding: 2px 8px; vertical-align: middle; margin-left: 4px; }
.calc { background: var(--cobalt); color: #fff; border: 2.5px solid var(--ink); border-radius: 26px; padding: 28px; box-shadow: 8px 8px 0 var(--ink); position: sticky; top: 20px; }
.calc .slider label { color: #fff; }
.calc input[type=range] { background: linear-gradient(90deg, var(--yellow) var(--fill, 20%), #fff var(--fill, 20%)); }
.result { background: var(--yellow); color: var(--ink); border: 2.5px solid var(--ink); border-radius: 20px; padding: 18px 20px; margin-top: 20px; box-shadow: 4px 4px 0 var(--ink); transform: rotate(-1.5deg); }
.result small { display: block; font-weight: 700; font-size: 13px; }
.result b { display: block; font-family: var(--head); font-size: clamp(44px, 7vw, 64px); line-height: 1.05; }
.result b.bump { animation: bump .35s; }
.fine { font-size: 12.5px; opacity: .85; margin: 16px 0 0; }
.vitem.paid { background: var(--yellow); }
.vitem.paid p { color: var(--ink); }
.deal-types { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.deal-types span { background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 700; }

/* ================= FIRST 3 COLLABS REWARD ================= */
.reward { background: var(--lilac); border: 2.5px solid var(--ink); border-radius: 32px; padding: 48px 44px; box-shadow: 8px 8px 0 var(--ink); display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: center; }
@media (max-width: 900px) { .reward { grid-template-columns: 1fr; padding: 34px 22px; } }
.fine.dark { opacity: 1; color: var(--muted); }
.gifts { position: relative; display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 14px; align-items: end; padding-bottom: 10px; }
.gift { position: relative; z-index: 1; text-align: center; }
.gift b { display: block; font-family: var(--head); font-size: 18px; margin-top: 12px; }
.gift small { display: block; font-weight: 700; font-size: 12px; color: var(--muted); opacity: 0; transition: opacity .4s .3s; }
.box { position: relative; margin: 0 auto; width: 86px; height: 72px; background: var(--coral); border: 2.5px solid var(--ink); border-radius: 10px; box-shadow: 4px 4px 0 var(--ink); }
.gift.big .box { width: 118px; height: 96px; background: var(--cobalt); }
.g2 .box { background: var(--yellow); }
.lid { position: absolute; left: -8px; right: -8px; top: -20px; height: 24px; background: inherit; border: 2.5px solid var(--ink); border-radius: 8px; transform-origin: 10% 100%; transition: transform .6s cubic-bezier(.3,1.6,.5,1); }
.ribbon { position: absolute; left: 50%; top: -20px; bottom: 0; width: 14px; transform: translateX(-50%); background: var(--mint); border-left: 2.5px solid var(--ink); border-right: 2.5px solid var(--ink); }
.burst { position: absolute; left: 50%; top: -10px; transform: translate(-50%, 0) scale(0); font-size: 34px; transition: transform .6s cubic-bezier(.3,1.8,.5,1) .15s; }
.gift.big .burst { font-size: 46px; }
.o1 .g1 .lid, .o2 .g2 .lid, .o3 .g3 .lid { transform: translateY(-14px) rotate(-28deg); }
.o1 .g1 .burst, .o2 .g2 .burst, .o3 .g3 .burst { transform: translate(-50%, -56px) scale(1); }
.o1 .g1 small, .o2 .g2 small, .o3 .g3 small { opacity: 1; }
.o3 .g3 .box { animation: wiggle .5s 2; }
@keyframes wiggle { 25% { transform: rotate(-5deg); } 75% { transform: rotate(5deg); } }
.gline { position: absolute; left: 14%; right: 18%; top: 58%; height: 8px; background: #fff; border: 2px solid var(--ink); border-radius: 999px; z-index: 0; overflow: hidden; }
.gline i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .8s ease; }
.gift-badge { background: var(--lilac); }
.gline { display: none; }
.gifts { padding-top: 80px; }
@media (max-width: 480px) { .box { width: 70px; height: 60px; } .gift.big .box { width: 92px; height: 78px; } .gifts { gap: 8px; } }

/* ================= HOW IT WORKS: ANIMATED STEP CARDS ================= */
.steps { position: relative; }
.step { position: relative; overflow: hidden; }
.step .num { display: inline-block; }
.reveal.in.step .num { animation: numpop .6s cubic-bezier(.3,1.8,.5,1) both; animation-delay: inherit; }
@keyframes numpop { from { transform: scale(.3) rotate(-20deg); opacity: 0; } }
.anim { position: relative; height: 74px; margin: 4px 0 14px; border: 2px solid var(--ink); border-radius: 14px; background: var(--bg); overflow: hidden; }
.cobalt .anim { background: #1f45d6; border-color: var(--ink); }
.yellow .anim { background: #fff3cf; }

/* 01 Verify: scanning card + tick */
.mini-card { position: absolute; left: 14px; top: 12px; width: 92px; height: 48px; background: #fff; border: 2px solid var(--ink); border-radius: 10px; padding: 7px 8px; display: grid; gap: 5px; }
.mini-card i { display: block; height: 6px; border-radius: 4px; background: var(--lilac); }
.mini-card i:nth-child(2) { width: 70%; background: var(--mint); } .mini-card i:nth-child(3) { width: 45%; background: var(--yellow); }
.scan { position: absolute; left: 10px; width: 100px; top: 8px; height: 4px; background: var(--cobalt); box-shadow: 0 0 12px var(--cobalt); border-radius: 4px; animation: scan 2.4s ease-in-out infinite; }
@keyframes scan { 0%,100% { top: 10px; } 50% { top: 60px; } }
.tick { position: absolute; right: 16px; top: 50%; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; background: var(--mint); border: 2.5px solid var(--ink); display: grid; place-items: center; font-weight: 900; font-size: 20px; animation: tickpop 2.4s ease-in-out infinite; }
@keyframes tickpop { 0%,45% { transform: scale(0); } 60% { transform: scale(1.25); } 70%,100% { transform: scale(1); } }

/* 02 Gate: sliders moving */
.a-gate { padding: 16px 16px; display: grid; gap: 18px; }
.a-gate .track { position: relative; height: 8px; background: #fff; border: 2px solid var(--ink); border-radius: 999px; }
.a-gate .fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--cobalt); border-radius: 999px; animation: slidefill 3s ease-in-out infinite alternate; }
.a-gate .thumb { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; background: var(--yellow); border: 2.5px solid var(--ink); border-radius: 50%; animation: slidethumb 3s ease-in-out infinite alternate; }
.a-gate .t2 .fill, .a-gate .t2 .thumb { animation-delay: -1.4s; animation-duration: 2.4s; }
@keyframes slidefill { from { width: 15%; } to { width: 80%; } }
@keyframes slidethumb { from { left: 15%; } to { left: 80%; } }

/* 03 Match: two dots meet in the middle */
.a-match { display: flex; align-items: center; justify-content: center; }
.a-match .dot { position: absolute; top: 50%; width: 42px; height: 42px; margin-top: -21px; border-radius: 50%; border: 2.5px solid var(--ink); display: grid; place-items: center; font-family: var(--head); font-weight: 800; color: var(--ink); }
.a-match .dot.l { background: var(--yellow); animation: meetL 2.6s cubic-bezier(.5,0,.3,1.4) infinite; }
.a-match .dot.r { background: var(--coral); animation: meetR 2.6s cubic-bezier(.5,0,.3,1.4) infinite; }
@keyframes meetL { 0%,10% { left: 8px; } 45%,80% { left: calc(50% - 46px); } 100% { left: 8px; } }
@keyframes meetR { 0%,10% { right: 8px; } 45%,80% { right: calc(50% - 46px); } 100% { right: 8px; } }
.a-match .arrows { color: #fff; font-size: 22px; font-weight: 900; animation: fadeArr 2.6s infinite; }
@keyframes fadeArr { 0%,30% { opacity: 1; } 40%,85% { opacity: 0; } 100% { opacity: 1; } }
.a-match .heart { position: absolute; left: 50%; top: 4px; transform: translateX(-50%) scale(0); background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 0 8px; font-family: var(--head); font-weight: 800; font-size: 13px; animation: fitpop 2.6s infinite; }
@keyframes fitpop { 0%,42% { transform: translateX(-50%) scale(0); } 52% { transform: translateX(-50%) scale(1.2); } 58%,80% { transform: translateX(-50%) scale(1); } 90%,100% { transform: translateX(-50%) scale(0); } }

/* 04 Track: proposal flies, steps fill */
.a-track { display: flex; align-items: center; padding: 0 16px; }
.a-track .pt { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--ink); background: #fff; animation: ptfill 3.6s infinite; }
.a-track .p2 { animation-delay: .9s; } .a-track .p3 { animation-delay: 1.8s; }
@keyframes ptfill { 0%,8% { background: #fff; transform: scale(1); } 15% { background: var(--mint); transform: scale(1.3); } 22%,85% { background: var(--mint); transform: scale(1); } 100% { background: #fff; } }
.a-track .ln { flex: 1; height: 5px; background: #e5e0d6; border-radius: 4px; overflow: hidden; }
.a-track .ln b { display: block; height: 100%; width: 0; background: var(--ink); animation: lnfill 3.6s infinite; }
.a-track .l2 b { animation-delay: .9s; }
@keyframes lnfill { 0%,10% { width: 0; } 30%,85% { width: 100%; } 100% { width: 0; } }
.a-track .plane { position: absolute; top: 6px; font-size: 20px; animation: fly 3.6s ease-in-out infinite; }
@keyframes fly { 0% { left: 6px; opacity: 0; } 10% { opacity: 1; } 60% { left: calc(100% - 34px); opacity: 1; } 70%,100% { left: calc(100% - 34px); opacity: 0; } }

/* Dashed connector between step cards (desktop) */
@media (min-width: 901px) {
  .steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 50%; border-top: 3px dashed var(--ink); opacity: .35; z-index: -1; }
}
/* Cards enter with a 3D flip, one after another */
.reveal.step { transform: perspective(800px) rotateY(-35deg) translateY(30px); transform-origin: left center; }
.reveal.in.step { transform: none; }
.reveal.in.step.lift:hover { transform: translate(-3px, -6px) rotate(-1deg); }

/* ================= ORBIT ================= */
.orbit-wrap { background: var(--ink); color: var(--bg); border-radius: 32px; padding: 48px 44px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: center; overflow: hidden; position: relative; }
@media (max-width: 900px) { .orbit-wrap { grid-template-columns: 1fr; padding: 34px 20px; } }
.orbit-wrap .kicker { color: var(--yellow); }
.orbit-wrap .lead { color: #cfcac0; }
.orbit-wrap .fine.dark { color: #a8a399; }
.dist { display: inline-flex; border: 2.5px solid var(--bg); border-radius: 999px; overflow: hidden; margin: 6px 0 18px; }
.dist button { background: transparent; color: var(--bg); border: 0; padding: 10px 18px; font-family: var(--body); font-weight: 800; font-size: 14px; cursor: pointer; min-height: 44px; }
.dist button.active { background: var(--yellow); color: var(--ink); }
.ocard { background: #fff; color: var(--ink); border: 2.5px solid var(--bg); border-radius: 20px; padding: 16px; min-height: 150px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.ocard-empty { text-align: center; font-weight: 700; color: var(--muted); }
.ocard-in { display: flex; gap: 14px; align-items: center; animation: cardin .35s cubic-bezier(.3,1.5,.5,1); }
@keyframes cardin { from { transform: translateY(12px) scale(.96); opacity: 0; } }
.oav { flex: none; width: 58px; height: 58px; border-radius: 50%; border: 2.5px solid var(--ink); display: grid; place-items: center; font-size: 28px; box-shadow: 3px 3px 0 var(--ink); }
.oinfo b { font-family: var(--head); font-size: 20px; } .oinfo small { display: block; font-weight: 700; color: var(--muted); font-size: 13px; }
.ostats { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; font-size: 12.5px; }
.ostats b { font-size: 15px; font-family: var(--head); }
.orq { width: 100%; padding: 12px; }
.orq.sent { background: var(--mint); color: var(--ink); }

.orbit { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1; margin: 0 auto; }
.ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 2px dashed rgba(247,243,236,.35); transform: translate(-50%, -50%); transition: opacity .4s, transform .5s cubic-bezier(.3,1.4,.5,1); }
.ring.r1 { width: 36%; height: 36%; background: rgba(47,91,255,.18); }
.ring.r2 { width: 68%; height: 68%; background: rgba(47,91,255,.10); }
.ring.r3 { width: 98%; height: 98%; background: rgba(47,91,255,.06); }
.ring.off { opacity: 0; transform: translate(-50%, -50%) scale(.85); pointer-events: none; }
.spin { position: absolute; inset: 0; animation: orbitspin 40s linear infinite; }
.spin.s1 { animation-duration: 22s; } .spin.s2 { animation-duration: 34s; animation-direction: reverse; } .spin.s3 { animation-duration: 50s; }
.orbit:hover .spin, .orbit:focus-within .spin { animation-play-state: paused; }
@keyframes orbitspin { to { transform: rotate(360deg); } }
.arm { position: absolute; inset: 0; pointer-events: none; }
.odot { position: absolute; left: 50%; top: 0; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; border: 2.5px solid var(--bg); cursor: pointer; padding: 0; pointer-events: auto; transition: box-shadow .2s, scale .2s; }
@media (max-width: 480px) { .odot { width: 40px; height: 40px; margin: -20px 0 0 -20px; } .odot span { font-size: 18px; } }
.odot span { display: grid; place-items: center; width: 100%; height: 100%; font-size: 22px; animation: counter 22s linear infinite; }
.s2 .odot span { animation-duration: 34s; animation-direction: reverse; } .s3 .odot span { animation-duration: 50s; }
.orbit:hover .odot span, .orbit:focus-within .odot span { animation-play-state: paused; }
@keyframes counter { to { transform: rotate(-360deg); } }
.odot:hover, .odot.sel { scale: 1.2; box-shadow: 0 0 0 5px var(--yellow); }
.odot:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.c0 { background: var(--coral); } .c1 { background: var(--yellow); } .c2 { background: var(--mint); } .c3 { background: var(--lilac); }
.me-dot { position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--cobalt); color: #fff; border: 3px solid var(--bg); display: grid; place-items: center; font-family: var(--head); font-weight: 800; z-index: 2; }
.me-dot::before, .me-dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid var(--cobalt); animation: ping 2.2s ease-out infinite; }
.me-dot::after { animation-delay: 1.1s; }
.rlabel { position: absolute; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 800; color: rgba(247,243,236,.6); pointer-events: none; }
.rlabel.l1 { top: 31%; } .rlabel.l2 { top: 15%; } .rlabel.l3 { top: 0.5%; }
.orbit { width: calc(100% - 44px); }

/* ================= FINAL LOGO ================= */
.logo { gap: 12px; }
.logo-svg { width: 56px; height: 56px; flex: none; overflow: visible; }
footer .logo-svg { width: 40px; height: 40px; }
.logo-svg .e-blue, .logo-svg .e-coral, .logo-svg .e-spot { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .nav .logo-svg .e-blue  { animation: eBlue 1s cubic-bezier(.6,0,.2,1) both; }
  .nav .logo-svg .e-coral { animation: eCoral 1s cubic-bezier(.6,0,.2,1) both; }
  .nav .logo-svg .e-spot  { animation: eSpot 1s ease-out both; }
  .logo:hover .logo-svg .e-blue  { animation: eBlueLoop 3.2s cubic-bezier(.6,0,.2,1) infinite; }
  .logo:hover .logo-svg .e-coral { animation: eCoralLoop 3.2s cubic-bezier(.6,0,.2,1) infinite; }
  .logo:hover .logo-svg .e-spot  { animation: eSpotLoop 3.2s ease-in-out infinite; }
}
@keyframes eBlue  { from { transform: translate(-34px,-34px); } }
@keyframes eCoral { from { transform: translate(34px,34px); } }
@keyframes eSpot  { 0%,60% { opacity: 0; transform: scale(.3); } 85% { opacity: 1; transform: scale(1.25); } 100% { opacity: 1; transform: scale(1); } }
@keyframes eBlueLoop  { 0%,100% { transform: translate(-34px,-34px); } 30%,78% { transform: translate(0,0); } }
@keyframes eCoralLoop { 0%,100% { transform: translate(34px,34px); } 30%,78% { transform: translate(0,0); } }
@keyframes eSpotLoop  { 0%,28% { opacity: 0; transform: scale(.3); } 40% { opacity: 1; transform: scale(1.25); } 50%,76% { opacity: 1; transform: scale(1); } 86%,100% { opacity: 0; transform: scale(.3); } }

/* ================= STEP SCENES (realistic mini UI) ================= */
.anim.scene { height: 158px; padding: 12px; background: #fff; font-family: var(--body); }
.yellow .anim.scene { background: #fff; } .cobalt .anim.scene { background: #fff; color: var(--ink); }
.scene .av { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--ink); background: var(--yellow); display: inline-grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 13px; }
.scene > * { transition: opacity .35s, transform .4s cubic-bezier(.3,1.4,.5,1); }

/* 01 verify */
.sv-btn { position: absolute; left: 12px; right: 12px; top: 50%; margin-top: -22px; height: 44px; display: grid; place-items: center; border-radius: 999px; background: var(--ink); color: var(--yellow); font-weight: 800; font-size: 14px; }
.sc-verify.s1 .sv-btn { transform: scale(.93); background: #333; }
.sc-verify.s2 .sv-btn { opacity: 0; transform: translateY(-20px); }
.sv-load { position: absolute; left: 12px; right: 12px; top: 50%; margin-top: -20px; opacity: 0; }
.sv-load small { display: block; font-weight: 700; font-size: 12px; margin-bottom: 8px; color: var(--muted); }
.sv-load .bar { height: 10px; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; }
.sv-load .bar b { display: block; height: 100%; width: 0; background: var(--cobalt); }
.sc-verify.s2 .sv-load { opacity: 1; }
.sc-verify.s2 .sv-load .bar b { width: 100%; transition: width 1.3s ease-in-out; }
.sc-verify.s3 .sv-load { opacity: 0; }
.sv-card { position: absolute; left: 12px; right: 12px; top: 14px; border: 2px solid var(--ink); border-radius: 14px; padding: 10px; background: var(--bg); opacity: 0; transform: translateY(24px) scale(.9); }
.sc-verify.s3 .sv-card { opacity: 1; transform: none; }
.sv-card .row { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.vbadge { margin-left: auto; background: var(--mint); border: 2px solid var(--ink); border-radius: 999px; padding: 1px 7px; font-size: 11px; font-weight: 800; transform: scale(0); transition: transform .4s cubic-bezier(.3,1.8,.5,1) .5s; }
.sc-verify.s3 .vbadge { transform: scale(1); }
.sv-card .nums { display: grid; gap: 2px; margin-top: 10px; font-size: 12px; font-weight: 600; }
.sv-card .nums b { font-family: var(--head); font-size: 20px; }

/* 02 gate */
.sc-gate .g-row { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; }
.sc-gate .g-row b { font-family: var(--head); font-size: 15px; }
.g-track { position: relative; height: 8px; margin: 6px 4px 12px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; }
.g-track i { position: absolute; left: 0; top: 0; bottom: 0; width: 15%; background: var(--cobalt); border-radius: 999px; transition: width .9s cubic-bezier(.5,0,.2,1); }
.g-track em { position: absolute; top: 50%; left: 15%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--yellow); border: 2.5px solid var(--ink); transition: left .9s cubic-bezier(.5,0,.2,1); }
.sc-gate.s1 .g-track:not(.t2) i { width: 35%; } .sc-gate.s1 .g-track:not(.t2) em { left: 35%; }
.sc-gate.s2 .g-track.t2 i { width: 45%; } .sc-gate.s2 .g-track.t2 em { left: 45%; }
.g-count { background: var(--mint); border: 2px solid var(--ink); border-radius: 10px; padding: 4px 10px; font-size: 12.5px; font-weight: 700; }
.g-count b { font-family: var(--head); font-size: 16px; }

/* 03 match */
.m-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.m-c { display: grid; grid-template-columns: auto 1fr; column-gap: 6px; align-items: center; border: 2px solid var(--ink); border-radius: 12px; padding: 6px 8px; font-size: 13px; opacity: 0; }
.m-c small { grid-column: 2; font-size: 11px; font-weight: 700; color: var(--muted); }
.m-c.you { background: #dfe6ff; transform: translateX(-30px); } .m-c.them { background: #ffe1d8; transform: translateX(30px); }
.sc-match.s1 .m-c { opacity: 1; transform: none; }
.m-check { margin-top: 6px; font-size: 12.5px; font-weight: 800; color: #1a7a4c; opacity: 0; transform: translateX(-12px); }
.sc-match.s2 .m-check.mk1, .sc-match.s3 .m-check.mk2 { opacity: 1; transform: none; }
.m-banner { position: absolute; left: 12px; right: 12px; bottom: 10px; text-align: center; background: var(--yellow); border: 2.5px solid var(--ink); border-radius: 999px; padding: 4px; font-family: var(--head); font-weight: 800; font-size: 15px; box-shadow: 3px 3px 0 var(--ink); opacity: 0; transform: scale(.4) rotate(-6deg); }
.sc-match.s4 .m-banner { opacity: 1; transform: rotate(-2deg); }

/* 04 propose & track */
.p-card { display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 2px solid var(--ink); border-radius: 12px; padding: 8px 10px; background: var(--bg); font-size: 13px; }
.p-card small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }
.p-send { background: var(--ink); color: var(--yellow); border-radius: 999px; padding: 6px 12px; font-weight: 800; font-size: 12px; transition: all .3s; }
.sc-track.s1 .p-send { transform: scale(.9); }
.sc-track.s2 .p-send { background: var(--mint); color: var(--ink); }
.sc-track.s2 .p-send::after { content: " ✓"; }
.p-steps { display: flex; justify-content: space-between; margin-top: 12px; position: relative; }
.p-steps::before { content: ""; position: absolute; left: 10px; right: 10px; top: 9px; height: 3px; background: #e5e0d6; }
.ps { position: relative; display: grid; justify-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: #aaa; transition: color .3s; }
.ps i { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid #ccc; background: #fff; transition: all .35s cubic-bezier(.3,1.8,.5,1); }
.sc-track.s3 .p1, .sc-track.s4 .p2, .sc-track.s5 .p3 { color: var(--ink); }
.sc-track.s3 .p1 i, .sc-track.s4 .p2 i, .sc-track.s5 .p3 i { background: var(--mint); border-color: var(--ink); transform: scale(1.15); }
.p-done { position: absolute; right: 12px; bottom: 10px; background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 800; opacity: 0; transform: translateY(10px); }
.sc-track.s5 .p-done { opacity: 1; transform: none; }
/* scene fit fixes for narrow cards */
.anim.scene { height: 184px; }
.sv-card .row { flex-wrap: wrap; row-gap: 6px; }
.vbadge { margin-left: 0; }
.m-check { background: none; }
.m-c { padding: 6px; font-size: 12px; }
.m-c small { font-size: 10.5px; }
.m-banner { font-size: 14px; }
.p-card { padding: 8px; font-size: 12.5px; }
.p-card b { white-space: nowrap; }
.p-send { padding: 6px 10px; flex: none; }
.ps { font-size: 10px; }
.p-done { bottom: 8px; }
.p-steps { margin-top: 14px; }
.m-check { margin-top: 3px; } .m-banner { bottom: 6px; padding: 3px; } .m-cards { gap: 5px; }

/* ================= STEPS v3: 2x2 cards with mini 3D phones ================= */
.steps2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .steps2 { grid-template-columns: 1fr; } }
.st { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 18px; align-items: center; border: 2.5px solid var(--ink); border-radius: 28px; padding: 26px 22px 26px 28px; box-shadow: 8px 8px 0 var(--ink); overflow: visible; min-height: 360px; }
.st-white { background: #fff; } .st-yellow { background: var(--yellow); } .st-cobalt { background: var(--cobalt); color: #fff; } .st-lilac { background: var(--lilac); }
.st-num { display: inline-block; font-family: var(--head); font-weight: 800; font-size: 15px; background: var(--ink); color: var(--yellow); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.st-cobalt .st-num { background: var(--yellow); color: var(--ink); }
.st h3 { font-size: 28px; line-height: 1.05; }
.st p { margin: 0; font-size: 15.5px; opacity: .85; }
@media (max-width: 520px) { .st { grid-template-columns: 1fr; padding: 24px 20px; } .st-vis { justify-self: center; } }
.st.reveal { transform: translateY(40px) rotate(-1.5deg); }
.st.reveal.in { transform: none; }
.st:hover .mphone { transform: rotateY(-4deg) rotateX(4deg) translateY(-6px); }

/* phone */
.st-vis { position: relative; perspective: 900px; }
.mphone { width: 196px; height: 340px; background: var(--ink); border-radius: 30px; padding: 8px; transform: rotateY(-14deg) rotateX(6deg); transform-style: preserve-3d; transition: transform .4s cubic-bezier(.3,1.4,.5,1); box-shadow: -14px 24px 30px -12px rgba(0,0,0,.35); }
.mscreen { position: relative; height: 100%; border-radius: 23px; background: var(--bg); overflow: hidden; padding: 6px 10px 10px; color: var(--ink); font-size: 12px; }
.mscreen > * { transition: opacity .35s, transform .45s cubic-bezier(.3,1.4,.5,1); }
.mbar { display: flex; justify-content: space-between; font-size: 9px; font-weight: 800; padding: 2px 6px 6px; }
.mhead { font-family: var(--head); font-weight: 800; font-size: 18px; margin-bottom: 10px; }
.vav { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ink); background: var(--yellow); display: inline-grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 14px; color: var(--ink); }

/* popping badge outside the phone */
.pop { position: absolute; z-index: 3; right: -18px; top: 26px; background: #fff; color: var(--ink); border: 2.5px solid var(--ink); border-radius: 999px; padding: 7px 14px; font-weight: 800; font-size: 14px; white-space: nowrap; box-shadow: 4px 4px 0 var(--ink); opacity: 0; transform: translateZ(60px) scale(.3) rotate(-10deg); transition: opacity .3s, transform .5s cubic-bezier(.3,1.8,.5,1); }
.p-verified { background: var(--mint); } .p-gate { background: #fff; top: auto; bottom: 30px; left: -30px; right: auto; } .p-match { background: var(--yellow); } .p-stars { background: var(--yellow); top: auto; bottom: 26px; left: -26px; right: auto; }
.st-vis:has(.sv.s3) .p-verified, .st-vis:has(.sg.s2) .p-gate, .st-vis:has(.sm.s4) .p-match, .st-vis:has(.sp.s6) .p-stars { opacity: 1; transform: scale(1) rotate(-4deg); }

/* tap finger */
.tap { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: rgba(22,22,22,.25); border: 2.5px solid rgba(22,22,22,.6); opacity: 0; transform: scale(1.6); pointer-events: none; }
.tap::after { content: "👆"; position: absolute; left: 8px; top: 14px; font-size: 26px; }
.sv.s1 .t-ig, .sp.s1 .t-send { animation: tapit .6s ease-out forwards; }
.sv.s2 .t-ig, .sp.s2 .t-send { opacity: 0; animation: none; }
@keyframes tapit { 0% { opacity: 0; transform: scale(1.6) translate(20px, 30px); } 50% { opacity: 1; transform: scale(1) translate(0,0); } 100% { opacity: 1; transform: scale(.85); } }

/* 01 verify */
.ig-btn { position: absolute; left: 12px; right: 12px; top: 120px; padding: 12px 0; text-align: center; color: #fff; font-weight: 800; font-size: 13px; border-radius: 14px; border: 2px solid var(--ink); background: linear-gradient(45deg, #f9a03f, #e1306c 50%, #833ab4); box-shadow: 3px 3px 0 var(--ink); }
.t-ig { left: 80px; top: 120px; }
.sv.s1 .ig-btn { transform: scale(.94); box-shadow: 0 0 0 var(--ink); }
.sv.s2 .ig-btn { opacity: 0; transform: translateY(-30px); }
.posts { position: absolute; left: 12px; right: 12px; top: 84px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.posts i { aspect-ratio: 1; border-radius: 6px; border: 1.5px solid var(--ink); opacity: 0; transform: scale(.3); transition: opacity .25s, transform .35s cubic-bezier(.3,1.8,.5,1); }
.posts i:nth-child(4n+1) { background: var(--coral); } .posts i:nth-child(4n+2) { background: var(--lilac); } .posts i:nth-child(4n+3) { background: var(--mint); } .posts i:nth-child(4n) { background: var(--yellow); }
.sv.s2 .posts i { opacity: 1; transform: none; }
.posts i:nth-child(1){transition-delay:.05s}.posts i:nth-child(2){transition-delay:.15s}.posts i:nth-child(3){transition-delay:.25s}.posts i:nth-child(4){transition-delay:.35s}.posts i:nth-child(5){transition-delay:.45s}.posts i:nth-child(6){transition-delay:.55s}.posts i:nth-child(7){transition-delay:.65s}.posts i:nth-child(8){transition-delay:.75s}.posts i:nth-child(9){transition-delay:.85s}.posts i:nth-child(10){transition-delay:.95s}.posts i:nth-child(11){transition-delay:1.05s}.posts i:nth-child(12){transition-delay:1.15s}.posts i:nth-child(13){transition-delay:1.25s}.posts i:nth-child(14){transition-delay:1.35s}.posts i:nth-child(15){transition-delay:1.45s}
.sv.s3 .posts { opacity: 0; transform: scale(.8); }
.read { position: absolute; left: 0; right: 0; top: 200px; text-align: center; font-weight: 700; color: var(--muted); opacity: 0; }
.sv.s2 .read { opacity: 1; } .sv.s3 .read { opacity: 0; }
.vcard { position: absolute; left: 10px; right: 10px; top: 76px; background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 12px; box-shadow: 3px 3px 0 var(--ink); opacity: 0; transform: translateY(40px) scale(.85); }
.sv.s3 .vcard { opacity: 1; transform: none; }
.vtop { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.vtop b { display: block; font-size: 13px; } .vtop small { font-size: 10px; color: var(--muted); font-weight: 600; }
.vstat { border-top: 2px dashed #e2dccf; padding: 8px 0 4px; }
.vstat b { display: block; font-family: var(--head); font-size: 30px; line-height: 1; }
.vstat small { font-size: 10px; font-weight: 700; color: var(--muted); }

/* 02 gate */
.gl { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 11px; }
.gl b { font-family: var(--head); font-size: 16px; }
.gt { position: relative; height: 9px; margin: 6px 4px 14px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; }
.gt i { position: absolute; left: 0; top: 0; bottom: 0; width: 15%; background: var(--cobalt); border-radius: 999px; transition: width .9s cubic-bezier(.5,0,.2,1); }
.gt em { position: absolute; top: 50%; left: 15%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--yellow); border: 2.5px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); transition: left .9s cubic-bezier(.5,0,.2,1); }
.sg.s1 .gt:not(.g2) i { width: 38%; } .sg.s1 .gt:not(.g2) em { left: 38%; }
.sg.s2 .gt.g2 i { width: 48%; } .sg.s2 .gt.g2 em { left: 48%; }
.gchips { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.gchips span { border: 1.5px solid var(--ink); border-radius: 999px; padding: 2px 7px; font-size: 9.5px; font-weight: 800; background: #fff; }
.gbig { background: var(--ink); color: var(--bg); border-radius: 16px; padding: 10px 12px; text-align: center; }
.gbig b { display: block; font-family: var(--head); font-size: 40px; line-height: 1; color: var(--yellow); }
.gbig small { font-weight: 700; font-size: 11px; }
.stack { display: flex; justify-content: center; margin-top: 8px; }
.stack i { width: 24px; height: 24px; margin-left: -6px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 800; color: var(--ink); background: var(--coral); }
.stack i:nth-child(2) { background: var(--mint); } .stack i:nth-child(3) { background: var(--lilac); } .stack i:nth-child(4) { background: var(--yellow); } .stack i:nth-child(5) { background: #fff; }
.sg .gc { transition: transform .3s; }

/* 03 match */
.duo2 { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 22px; }
.dh { border: 2px solid var(--ink); padding: 10px 8px 18px; display: grid; gap: 2px; justify-items: start; opacity: 0; }
.dh.you { background: var(--cobalt); color: #fff; border-radius: 14px 0 0 14px; transform: translateX(-60px) rotate(-8deg); }
.dh.them { background: var(--coral); border-radius: 0 14px 14px 0; border-left: none; transform: translateX(60px) rotate(8deg); }
.sm.s1 .dh { opacity: 1; transform: none; transition: opacity .3s, transform .6s cubic-bezier(.3,1.5,.5,1); }
.dh small { font-size: 9px; font-weight: 800; letter-spacing: .05em; margin-top: 4px; }
.dh b { font-family: var(--head); font-size: 22px; line-height: 1; } .dh em { font-style: normal; font-size: 9px; font-weight: 700; opacity: .85; }
.dfit { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%) scale(0); background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px; padding: 3px 10px; font-family: var(--head); font-weight: 800; font-size: 14px; white-space: nowrap; box-shadow: 2px 2px 0 var(--ink); transition: transform .5s cubic-bezier(.3,1.8,.5,1); }
.sm.s4 .dfit { transform: translateX(-50%) scale(1) rotate(-4deg); }
.mk { background: #fff; border: 2px solid var(--ink); border-radius: 10px; padding: 6px 8px; margin-top: 6px; font-weight: 800; font-size: 11px; color: #1a7a4c; opacity: 0; transform: translateX(-20px); }
.sm.s2 .mk1, .sm.s3 .mk2 { opacity: 1; transform: none; }
.mconf { position: absolute; inset: 0; pointer-events: none; }
.mconf i { position: absolute; top: 40%; left: 50%; width: 8px; height: 11px; border: 1.5px solid var(--ink); border-radius: 2px; opacity: 0; }
.mconf i:nth-child(odd) { background: var(--yellow); } .mconf i:nth-child(3n) { background: var(--coral); } .mconf i:nth-child(4n) { background: var(--mint); }
.sm.s4 .mconf i { animation: burst 1.4s cubic-bezier(.2,.8,.3,1) forwards; }
.mconf i:nth-child(1){--x:-70px;--y:-120px}.mconf i:nth-child(2){--x:70px;--y:-130px}.mconf i:nth-child(3){--x:-40px;--y:-160px}.mconf i:nth-child(4){--x:40px;--y:-150px}.mconf i:nth-child(5){--x:-80px;--y:-60px}.mconf i:nth-child(6){--x:80px;--y:-70px}.mconf i:nth-child(7){--x:0px;--y:-170px}.mconf i:nth-child(8){--x:-20px;--y:-90px}

/* 04 propose */
.bub { max-width: 82%; border: 2px solid var(--ink); border-radius: 14px; padding: 8px 10px; font-weight: 700; font-size: 11.5px; margin-bottom: 8px; box-shadow: 2px 2px 0 var(--ink); }
.bub small { font-weight: 600; color: var(--muted); }
.bub.me { background: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.bub.them { background: var(--coral); border-bottom-left-radius: 4px; opacity: 0; transform: translateY(14px) scale(.9); }
.sp.s3 .bub.them { opacity: 1; transform: none; }
.sendb { background: var(--ink); color: var(--yellow); border-radius: 999px; padding: 9px; text-align: center; font-weight: 800; font-size: 12px; margin-bottom: 10px; }
.t-send { left: 70px; top: 128px; }
.sp.s1 .sendb { transform: scale(.94); }
.sp.s2 .sendb { background: var(--mint); color: var(--ink); }
.sp.s2 .sendb::before { content: "✓ "; }
.trk { position: absolute; left: 10px; right: 10px; bottom: 14px; display: flex; justify-content: space-between; background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 10px 8px 8px; }
.trk::before { content: ""; position: absolute; left: 26px; right: 26px; top: 19px; height: 3px; background: #e5e0d6; }
.k { position: relative; display: grid; justify-items: center; gap: 3px; font-size: 9.5px; font-weight: 800; color: #aaa; }
.k i { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid #ccc; background: #fff; transition: all .35s cubic-bezier(.3,1.8,.5,1); }
.sp.s4 .k1, .sp.s5 .k2, .sp.s6 .k3 { color: var(--ink); }
.sp.s4 .k1 i, .sp.s5 .k2 i, .sp.s6 .k3 i { background: var(--mint); border-color: var(--ink); transform: scale(1.15); }
.p-gate { top: 70px; bottom: auto; left: -34px; right: auto; }
.p-stars { top: 22px; bottom: auto; right: -18px; left: auto; }
.gbig { padding: 8px 10px; } .gbig b { font-size: 34px; }
.gt { margin-bottom: 12px; } .gchips { margin-bottom: 10px; }
.mhead { margin-bottom: 8px; }
.p-gate { top: auto; bottom: -16px; left: -26px; }
.fixed-field { padding: 13px 14px; font-size: 16px; font-weight: 700; border: 2px solid var(--ink); border-radius: 12px; background: var(--mint); }

/* ================= CONTACT ================= */
.contact { background: var(--mint); border: 2.5px solid var(--ink); border-radius: 32px; padding: 44px; box-shadow: 8px 8px 0 var(--ink); display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; padding: 30px 20px; } }
.cgrid { display: grid; gap: 14px; }
.cbox { display: flex; align-items: center; gap: 14px; background: #fff; border: 2.5px solid var(--ink); border-radius: 20px; padding: 16px; box-shadow: 5px 5px 0 var(--ink); }
.cbox > div { flex: 1; min-width: 0; }
.cbox small { display: block; font-weight: 700; font-size: 13px; color: var(--muted); }
.cval { font-family: var(--head); font-weight: 800; font-size: 19px; text-decoration: none; overflow-wrap: anywhere; }
.cbox .btn { flex: none; }
@media (max-width: 480px) { .cbox { flex-wrap: wrap; } .cbox .btn { width: 100%; } }
@media (max-width: 480px) { .cval { font-size: 15.5px; } }
.phone-in { display: flex; border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; background: var(--bg); }
.phone-in span { flex: none; display: grid; place-items: center; padding: 0 12px; background: var(--mint); border-right: 2px solid var(--ink); font-weight: 800; font-size: 15px; }
.phone-in input { border: 0; border-radius: 0; }
.phone-in:focus-within { outline: 3px solid var(--cobalt); outline-offset: 1px; }
.phone-in input:focus { outline: none; }

/* ================= LANGUAGE SWITCH + URDU (RTL) ================= */
.lang-btn { font-family: "Noto Sans Arabic", var(--body); font-weight: 700; font-size: 15px; line-height: 1; background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 10px 16px; min-height: 44px; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); }
html[lang=ur] .lang-btn { font-family: var(--body); }
.lang-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
@media (max-width: 760px) { .nav-links { gap: 10px; } .lang-btn { padding: 8px 12px; } }

html[lang=ur] body { font-family: "Noto Sans Arabic", var(--body); line-height: 2.1; }
html[lang=ur] h1, html[lang=ur] h2, html[lang=ur] h3,
html[lang=ur] .btn, html[lang=ur] button, html[lang=ur] input, html[lang=ur] select, html[lang=ur] summary,
html[lang=ur] .cval, html[lang=ur] .result b, html[lang=ur] .badge-founder, html[lang=ur] .pill, html[lang=ur] .soon {
  font-family: "Noto Sans Arabic", var(--body);
}
html[lang=ur] body *:not(.stage *):not(.st-vis *):not(.orbit *) { letter-spacing: 0 !important; text-transform: none !important; }
html[lang=ur] h1 { font-size: clamp(32px, 5vw, 58px); line-height: 1.75; font-weight: 700; }
html[lang=ur] h2 { font-size: clamp(26px, 3.6vw, 42px); line-height: 1.7; font-weight: 700; }
html[lang=ur] h3 { font-size: 20px; line-height: 1.8; }
html[lang=ur] .st h3 { font-size: 22px; }
html[lang=ur] .kicker { font-size: 15px; }
html[lang=ur] .lead { font-size: 17px; }
html[lang=ur] .rot { padding: 0 .25em; line-height: 1.6; }
html[lang=ur] .btn { padding-top: 10px; padding-bottom: 12px; }
html[lang=ur] label { font-size: 14px; }
/* widgets stay in English, left-to-right, normal font */
html[lang=ur] .stage, html[lang=ur] .st-vis, html[lang=ur] .orbit, html[lang=ur] .pool, html[lang=ur] .marquee { font-family: var(--body); line-height: 1.6; }
input[type=range] { direction: ltr; }
.brands ul { padding-left: 0; padding-inline-start: 20px; }
.soon { margin-left: 0; margin-inline-start: 4px; }
.hp { position: absolute; left: auto; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
html, body { overflow-x: clip; }
.nav .btn { white-space: nowrap; }
@media (max-width: 480px) { html[lang=ur] .nav .btn.small { display: none; } }

/* Urdu with Noto Sans Arabic: tighter, cleaner spacing */
html[lang=ur] body { line-height: 1.75; }
html[lang=ur] h1 { font-size: clamp(36px, 5.6vw, 66px); line-height: 1.3; font-weight: 800; }
html[lang=ur] h2 { font-size: clamp(28px, 4vw, 46px); line-height: 1.3; font-weight: 800; }
html[lang=ur] h3 { font-size: 20px; line-height: 1.45; font-weight: 700; }
html[lang=ur] .st h3 { font-size: 24px; }
html[lang=ur] .rot { line-height: 1.3; padding: 0 .2em .05em; }
html[lang=ur] .btn { padding-top: 12px; padding-bottom: 12px; }
html[lang=ur] .kicker { font-weight: 800; }

/* ================= TOP MENU HOVER ================= */
.nav-links a:not(.btn) { position: relative; padding: 6px 2px; transition: color .2s, transform .25s cubic-bezier(.3,1.6,.5,1); }
.nav-links a:not(.btn)::before {
  content: ""; position: absolute; left: -8px; right: -8px; top: 50%; height: 34px; margin-top: -17px; z-index: -1;
  background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px; box-shadow: 2px 2px 0 var(--ink);
  transform: scale(.4, .2) rotate(-4deg); opacity: 0; transition: transform .35s cubic-bezier(.3,1.6,.5,1), opacity .2s;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: -4px; height: 3px; border-radius: 3px; background: var(--cobalt);
  transition: left .3s ease, right .3s ease;
}
.nav-links a:not(.btn):hover { transform: translateY(-2px); }
.nav-links a:not(.btn):hover::before, .nav-links a:not(.btn):focus-visible::before { transform: scale(1) rotate(-2deg); opacity: 1; }
.nav-links a.active::after { left: 0; right: 0; }
.nav-links a:not(.btn):hover::after { left: 50%; right: 50%; }
.nav-links a:not(.btn):focus-visible { outline: none; }
.nav-links { isolation: isolate; }
.lang-btn, .nav .btn { transition: transform .25s cubic-bezier(.3,1.6,.5,1), box-shadow .25s; }
.lang-btn:hover, .nav .btn:hover { transform: translateY(-3px) rotate(-2deg); box-shadow: 5px 5px 0 var(--ink); }
.nav .btn:hover { box-shadow: 4px 4px 0 var(--yellow), 6px 6px 0 var(--ink); }
.logo:hover { transform: none; }
/* sticky glass top bar */
header.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: box-shadow .3s, padding .3s; }
header.nav.scrolled { box-shadow: 0 2px 0 var(--ink); padding-top: 10px; padding-bottom: 10px; }
header.nav { max-width: none; padding-left: max(22px, calc((100% - 1120px) / 2 + 22px)); padding-right: max(22px, calc((100% - 1120px) / 2 + 22px)); }
html { scroll-padding-top: 90px; }
@media (max-width: 480px) {
  header.nav .logo { font-size: 18px; gap: 8px; }
  header.nav .logo-svg { width: 40px; height: 40px; }
  .nav .btn.small { padding: 8px 12px; font-size: 13px; }
  .lang-btn { padding: 6px 10px; font-size: 14px; min-height: 40px; }
  .nav-links { gap: 8px; }
}
/* menu: never wrap, compact line height (fixes tall Urdu hover pills) */
.nav-links a:not(.btn) { white-space: nowrap; line-height: 1.2; }
html[lang=ur] .nav-links a:not(.btn) { font-size: 15px; font-weight: 700; padding: 6px 4px; }
html[lang=ur] .nav-links a:not(.btn)::before { height: 36px; margin-top: -18px; }
@media (max-width: 1150px) { .nav-links { gap: 16px; } .nav-links a:not(.btn) { font-size: 14px; } }
@media (max-width: 960px) { .nav-links a:not(.btn) { display: none; } }
@media (max-width: 1060px) { .nav-links a:not(.btn) { display: none; } }
/* keep space between logo and menu (Urdu menu is wider) */
header.nav { gap: 32px; }
header.nav .logo { flex: none; }
html[lang=ur] .nav-links { gap: 20px; }
@media (max-width: 1240px) { html[lang=ur] .nav-links a[href="#gate"] { display: none; } }
@media (max-width: 1160px) { html[lang=ur] .nav-links a:not(.btn) { display: none; } }
