/* Aasan Rabta website — app ke rang: orange gradient, gehra kala. */
:root {
  --bg: #08080a;
  --bg2: #101013;
  --card: #15151a;
  --card2: #1c1c22;
  --line: #26262e;
  --text: #f4f4f6;
  --text2: #a7a7b2;
  --text3: #74747f;
  --orange: #ff8a24;
  --g1: #ffaa43;
  --g2: #f56b13;
  --grad: linear-gradient(135deg, var(--g1), var(--g2));
  --ok: #22c55e;
  --shadow: 0 30px 80px -30px rgba(245, 107, 19, .35);
  --radius: 22px;
  --max: 1160px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #ffffff; --bg2: #f7f7f9; --card: #ffffff; --card2: #f3f3f6;
    --line: #e6e6eb; --text: #111114; --text2: #5d5d68; --text3: #8a8a95;
    --shadow: 0 30px 70px -35px rgba(245, 107, 19, .45);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #ffffff; --bg2: #f7f7f9; --card: #ffffff; --card2: #f3f3f6;
  --line: #e6e6eb; --text: #111114; --text2: #5d5d68; --text3: #8a8a95;
  --shadow: 0 30px 70px -35px rgba(245, 107, 19, .45);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--text2); }
.small { font-size: 14px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; margin: 0; }
h1 { font-size: clamp(38px, 6.2vw, 68px); font-weight: 850; }
h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 820; }
h3 { font-size: 20px; font-weight: 750; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--orange);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }

/* ---------------- header */
.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.top .wrap { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 850; font-size: 21px; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { text-decoration: none; color: var(--text2); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--card2); }
.top .actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.top .menu-btn { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 20px; border-radius: 14px; font-weight: 750; font-size: 15px; text-decoration: none;
  border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--grad); color: #160a02; border: 0; box-shadow: 0 10px 30px -10px rgba(245, 107, 19, .7); }
.btn.ghost { background: transparent; }
.btn.lg { padding: 16px 26px; font-size: 16.5px; border-radius: 16px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.icon-btn { width: 40px; height: 40px; padding: 0; border-radius: 12px; }

/* ---------------- hero */
.hero { position: relative; padding: 70px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto 30%; height: 900px; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 138, 36, .22), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero p.lead { font-size: 19px; color: var(--text2); max-width: 560px; margin: 22px 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 650; color: var(--text2);
  padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg2);
}
.chip b { color: var(--orange); }
.chip svg { width: 16px; height: 16px; color: var(--orange); flex: none; }

/* ---------------- phone mockup */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone {
  width: 300px; height: 610px; border-radius: 46px; padding: 12px; background: #050506;
  border: 1px solid #2c2c33; box-shadow: var(--shadow), inset 0 0 0 2px #1a1a1f; position: relative;
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 14px; background: #050506; z-index: 3; }
.screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #0b0b0d; color: #f2f2f4; display: flex; flex-direction: column; font-size: 13px; }
.phone.back { position: absolute; transform: translate(130px, 40px) rotate(8deg) scale(.86); opacity: .9; z-index: -1; }
.sbar { height: 44px; flex: none; }
.app-head { display: flex; align-items: center; gap: 10px; padding: 6px 16px 12px; border-bottom: 1px solid #1d1d22; }
.ava { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #160a02; background: var(--grad); }
.ava.b { background: linear-gradient(135deg, #7dd3fc, #6366f1); color: #fff; }
.ava.c { background: linear-gradient(135deg, #86efac, #059669); color: #fff; }
.ava.d { background: linear-gradient(135deg, #f9a8d4, #db2777); color: #fff; }
.app-head .t { font-weight: 800; font-size: 14px; line-height: 1.2; }
.app-head .s { color: #22c55e; font-size: 11px; }
.msgs { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; background:
  radial-gradient(circle at 20% 10%, rgba(255,138,36,.08), transparent 40%), #0b0b0d; }
.b { max-width: 78%; padding: 8px 11px 6px; border-radius: 16px; line-height: 1.35; }
.b.in { background: #1b1b21; border-top-left-radius: 5px; }
.b.out { align-self: flex-end; background: linear-gradient(135deg, #3a1f0c, #2a1608); border: 1px solid rgba(255,138,36,.35); border-top-right-radius: 5px; }
.b .m { display: block; text-align: right; font-size: 10px; color: #8c8c96; margin-top: 2px; }
.b .m i { font-style: normal; color: #ff8a24; }
.voice { display: flex; align-items: center; gap: 8px; }
.voice .wave { flex: 1; height: 18px; background: repeating-linear-gradient(90deg, #ff8a24 0 2px, transparent 2px 5px); mask: linear-gradient(90deg, #000 60%, rgba(0,0,0,.35) 60%); -webkit-mask: linear-gradient(90deg, #000 60%, rgba(0,0,0,.35) 60%); border-radius: 3px; }
.play { width: 24px; height: 24px; border-radius: 50%; background: var(--grad); flex: none; }
.photo { height: 110px; border-radius: 12px; margin-bottom: 4px; background: linear-gradient(135deg, #f59e0b, #b45309 60%, #451a03); position: relative; overflow: hidden; }
.photo::after { content: ""; position: absolute; inset: auto -20% -40% -20%; height: 80%; background: radial-gradient(closest-side, rgba(255,255,255,.35), transparent); }
.compose { display: flex; gap: 8px; align-items: center; padding: 10px 12px 18px; border-top: 1px solid #1d1d22; }
.compose .in { flex: 1; height: 36px; border-radius: 18px; background: #18181d; color: #77777f; display: flex; align-items: center; padding: 0 14px; font-size: 12px; }
.compose .send { width: 36px; height: 36px; border-radius: 50%; background: var(--grad); }
.tabs { display: flex; justify-content: space-around; padding: 10px 6px 16px; border-top: 1px solid #1d1d22; color: #77777f; font-size: 10px; font-weight: 700; }
.tabs span.on { color: #ff8a24; }
.list-row { display: flex; gap: 10px; align-items: center; padding: 9px 14px; }
.list-row .tx { flex: 1; min-width: 0; }
.list-row .tx b { display: block; font-size: 13px; }
.list-row .tx span { display: block; color: #8c8c96; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge { min-width: 18px; height: 18px; border-radius: 9px; padding: 0 5px; background: var(--grad); color: #160a02; font-size: 10px; font-weight: 800; display: grid; place-items: center; }
.reel { flex: 1; position: relative; background: linear-gradient(160deg, #1e3a8a, #7c2d12 55%, #0b0b0d); }
.reel .side { position: absolute; right: 10px; bottom: 90px; display: grid; gap: 14px; text-align: center; font-size: 10px; font-weight: 700; }
.reel .side i { display: block; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.14); margin-bottom: 3px; }
.reel .cap { position: absolute; left: 12px; right: 60px; bottom: 22px; }
.reel .shop { display: inline-block; margin-top: 8px; padding: 6px 10px; border-radius: 10px; background: var(--grad); color: #160a02; font-weight: 800; font-size: 11px; }
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; }
.prod { background: #15151a; border-radius: 14px; overflow: hidden; }
.prod .pi { height: 92px; }
.prod .pt { padding: 7px 9px 9px; font-size: 11.5px; }
.prod .pt b { display: block; color: #ff8a24; }

/* ---------------- sections */
section { padding: 90px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { font-size: 18px; color: var(--text2); margin: 16px 0 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.grid { display: grid; gap: 18px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--orange) 45%, var(--line)); }
.card p { color: var(--text2); margin: 10px 0 0; }
.ic {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: color-mix(in srgb, var(--orange) 14%, transparent); color: var(--orange);
}
.ic svg { width: 24px; height: 24px; }
.card ul { margin: 12px 0 0; padding-left: 18px; color: var(--text2); }
.card li { margin: 4px 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.rev > :first-child { order: 2; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; color: var(--text2); }
.ticks li::before {
  content: "✓"; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 7px; background: var(--grad);
  color: #160a02; font-size: 13px; font-weight: 900; display: grid; place-items: center;
}
.ticks li b { color: var(--text); }

.cta-band {
  position: relative; overflow: hidden; border-radius: 32px; padding: 64px 40px; text-align: center;
  background: radial-gradient(120% 140% at 50% 0%, #3a1a06 0%, #120804 55%, #0a0605 100%);
  border: 1px solid rgba(255,138,36,.35); color: #f6f6f8;
}
.cta-band p { color: #c9c0b8; font-size: 18px; max-width: 620px; margin: 16px auto 30px; }
.cta-band .btn:not(.primary) { background: rgba(255,255,255,.06); color: #f6f6f8; border-color: rgba(255,255,255,.18); }

/* ---------------- download */
.dl-card { display: flex; flex-direction: column; }
.dl-card .btn { margin-top: auto; }
.meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; margin: 18px 0 22px; }
.meta dt { color: var(--text3); }
.meta dd { margin: 0; color: var(--text2); word-break: break-all; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: flex; gap: 12px; color: var(--text2); }
.steps li::before {
  content: counter(s); flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 800; color: #160a02; background: var(--grad);
}
.note {
  border: 1px solid color-mix(in srgb, var(--orange) 40%, var(--line)); background: color-mix(in srgb, var(--orange) 7%, var(--card));
  border-radius: 16px; padding: 16px 18px; color: var(--text2); font-size: 15px;
}
.note b { color: var(--text); }

/* ---------------- faq */
details { border: 1px solid var(--line); border-radius: 16px; background: var(--card); padding: 0 20px; }
details + details { margin-top: 12px; }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--orange); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p, details ul { color: var(--text2); margin: 0 0 18px; }

/* ---------------- legal docs */
.doc-hero { padding: 56px 0 10px; }
.doc { display: grid; grid-template-columns: 240px 1fr; gap: 48px; padding: 30px 0 90px; }
.toc { position: sticky; top: 90px; align-self: start; font-size: 14px; }
.toc a { display: block; text-decoration: none; color: var(--text2); padding: 6px 10px; border-radius: 8px; }
.toc a:hover { background: var(--card2); color: var(--text); }
.prose { max-width: 760px; }
.prose h2 { font-size: 23px; margin: 38px 0 12px; scroll-margin-top: 90px; }
.prose p, .prose li { color: var(--text2); }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--orange); }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.legal-nav a { text-decoration: none; font-size: 14px; font-weight: 650; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--text2); }
.legal-nav a[aria-current="page"] { color: #160a02; background: var(--grad); border-color: transparent; }

/* ---------------- footer */
footer { border-top: 1px solid var(--line); background: var(--bg2); padding: 60px 0 40px; font-size: 14.5px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
.foot h4 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--text3); }
.foot a { display: block; text-decoration: none; color: var(--text2); padding: 4px 0; }
.foot a:hover { color: var(--text); }
.copy { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--text3); }

/* ---------------- reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------------- responsive */
@media (max-width: 980px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .g3, .g4 { grid-template-columns: 1fr 1fr; }
  .phone.back { display: none; }
  .doc { grid-template-columns: 1fr; }
  .toc { position: static; display: none; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; padding: 12px 16px 18px;
         background: var(--bg); border-bottom: 1px solid var(--line); margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 17px; }
  .top .menu-btn { display: inline-flex; }
  .top .actions .hide-sm { display: none; }
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .hero { padding-top: 36px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .phone { width: 270px; height: 550px; }
  .cta-band { padding: 46px 20px; border-radius: 24px; }
  .foot { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .top .wrap { gap: 10px; }
  .brand { font-size: 19px; }
  .top .actions { gap: 6px; }
  .top .actions .btn.primary { padding: 10px 13px; font-size: 14px; }
  .icon-btn { width: 36px; height: 36px; }
  .btn.lg { width: 100%; }
}

/* =================================================================
   v2 — advanced: animations, bento, tabs, marquee, mesh, timeline
   ================================================================= */

/* scroll progress + back to top */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 100; background: var(--grad); box-shadow: 0 0 12px rgba(255,138,36,.7); }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 46px; height: 46px; border-radius: 14px; border: 0;
  background: var(--grad); color: #160a02; display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(12px);
  transition: .3s; box-shadow: 0 12px 30px -10px rgba(245,107,19,.8); }
.to-top.show { opacity: 1; transform: none; }
.to-top svg { width: 22px; height: 22px; }

/* hero v2 */
.hero2 { position: relative; padding: 80px 0 60px; overflow: hidden; isolation: isolate; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: -1; animation: float 14s ease-in-out infinite; }
.blob.a { width: 520px; height: 520px; background: #ff8a24; top: -160px; right: -120px; opacity: .38; }
.blob.b { width: 380px; height: 380px; background: #f56b13; bottom: -180px; left: -120px; opacity: .25; animation-delay: -5s; }
.blob.c { width: 260px; height: 260px; background: #ffd08a; top: 40%; left: 45%; opacity: .14; animation-delay: -9s; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-40px) scale(1.08); } }
.grid-bg { position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }
.hero2 .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; font-size: 14px; font-weight: 650;
  background: var(--card); border: 1px solid var(--line); color: var(--text2); text-decoration: none; }
.pill b { background: var(--grad); color: #160a02; padding: 3px 10px; border-radius: 999px; font-size: 12px; }
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator span { grid-area: 1/1; opacity: 0; transform: translateY(40%); transition: .55s cubic-bezier(.2,.8,.2,1); }
.rotator span.on { opacity: 1; transform: none; }
.rotator span.out { opacity: 0; transform: translateY(-40%); }
.float-badge { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px;
  background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); font-size: 13.5px; font-weight: 700; animation: bob 6s ease-in-out infinite; }
.float-badge small { display: block; color: var(--text3); font-weight: 600; font-size: 11.5px; }
.float-badge .ic { width: 36px; height: 36px; margin: 0; border-radius: 11px; }
.float-badge .ic svg { width: 19px; height: 19px; }
.fb1 { top: 8%; left: -6%; } .fb2 { top: 46%; right: -10%; animation-delay: -2s; } .fb3 { bottom: 6%; left: -2%; animation-delay: -4s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.phone.tilt { transition: transform .25s ease; transform-style: preserve-3d; }

/* marquee */
.marquee { border-block: 1px solid var(--line); background: var(--bg2); overflow: hidden; padding: 18px 0; }
.marquee .track { display: flex; gap: 14px; width: max-content; animation: slide 45s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee .chip { white-space: nowrap; font-size: 14.5px; padding: 9px 16px; background: var(--card); }
@keyframes slide { to { transform: translateX(-50%); } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.stat { text-align: center; padding: 26px 12px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.stat .n { font-size: 40px; font-weight: 850; letter-spacing: -.03em; line-height: 1; }
.stat .l { color: var(--text2); font-size: 13.5px; margin-top: 8px; }

/* steps (how it works) */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.how .card { text-align: center; padding-top: 34px; }
.how .num { width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 18px; display: grid; place-items: center; font-size: 22px; font-weight: 850;
  color: #160a02; background: var(--grad); box-shadow: 0 14px 30px -12px rgba(245,107,19,.8); }

/* showcase tabs */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.tablist { display: grid; gap: 10px; }
.tab { all: unset; cursor: pointer; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; border: 1px solid transparent; transition: .25s; }
.tab:hover { background: var(--card); }
.tab[aria-selected="true"] { background: var(--card); border-color: color-mix(in srgb, var(--orange) 50%, var(--line)); box-shadow: var(--shadow); }
.tab .ic { margin: 0; flex: none; }
.tab b { display: block; font-size: 17px; }
.tab span { color: var(--text2); font-size: 14.5px; }
.tab:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.screens { position: relative; display: flex; justify-content: center; }
.screens .phone { transition: opacity .4s ease, transform .4s ease; }
.screens .phone:not(.on) { position: absolute; opacity: 0; transform: scale(.94) translateY(14px); pointer-events: none; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, auto); gap: 16px; }
.bento .card { position: relative; overflow: hidden; display: flex; flex-direction: column; }
.bento .w2 { grid-column: span 2; } .bento .h2 { grid-row: span 2; }
.bento .vis { margin-top: auto; padding-top: 18px; }
.card.glow::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255,138,36,.13), transparent 45%); }
.card.glow:hover::before { opacity: 1; }

/* mini visuals inside bento */
.mini-call { display: flex; gap: 10px; justify-content: center; }
.mini-call .p { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; color: #fff; position: relative; }
.mini-call .p::after { content: ""; position: absolute; inset: -4px; border-radius: 19px; border: 2px solid #22c55e; opacity: 0; animation: ring 2.4s infinite; }
.mini-call .p:nth-child(2)::after { animation-delay: .6s; } .mini-call .p:nth-child(3)::after { animation-delay: 1.2s; }
@keyframes ring { 0% { opacity: .9; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.25); } }
.poll .opt { position: relative; padding: 8px 12px; border-radius: 10px; background: var(--card2); margin-top: 8px; font-size: 13.5px; font-weight: 650; overflow: hidden; display: flex; justify-content: space-between; }
.poll .opt i { position: absolute; inset: 0 auto 0 0; background: color-mix(in srgb, var(--orange) 22%, transparent); width: var(--w); }
.poll .opt span, .poll .opt b { position: relative; }
.rings { display: flex; gap: 12px; }
.rings .r { width: 52px; height: 52px; border-radius: 50%; padding: 3px; background: var(--grad); }
.rings .r div { width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--card); }
.rings .r.seen { background: var(--line); }
.timeline { display: grid; gap: 0; }
.timeline .st { display: flex; gap: 12px; align-items: center; font-size: 13.5px; font-weight: 650; color: var(--text2); padding: 6px 0; position: relative; }
.timeline .st i { width: 22px; height: 22px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 2px solid var(--line); background: var(--card); font-style: normal; font-size: 11px; }
.timeline .st.done i { background: var(--grad); border-color: transparent; color: #160a02; }
.timeline .st.done { color: var(--text); }
.timeline .st:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 28px; width: 2px; height: 14px; background: var(--line); }
.langs { display: grid; gap: 8px; }
.langs .lb { padding: 8px 12px; border-radius: 12px; background: var(--card2); font-size: 14px; display: flex; justify-content: space-between; gap: 10px; }
.langs .lb small { color: var(--orange); font-weight: 700; }
.wave-big { height: 46px; border-radius: 12px; background: repeating-linear-gradient(90deg, var(--orange) 0 3px, transparent 3px 7px);
  -webkit-mask: linear-gradient(90deg, #000, #000 55%, rgba(0,0,0,.25) 55%); mask: linear-gradient(90deg, #000, #000 55%, rgba(0,0,0,.25) 55%);
  animation: wave 1.6s ease-in-out infinite alternate; }
@keyframes wave { from { transform: scaleY(.55); } to { transform: scaleY(1); } }
.site-mini { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--card2); }
.site-mini .bar { height: 22px; display: flex; gap: 5px; align-items: center; padding: 0 9px; border-bottom: 1px solid var(--line); }
.site-mini .bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.site-mini .hero-s { height: 60px; background: linear-gradient(135deg, #3a1a06, #f56b13); }
.site-mini .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 8px; }
.site-mini .row div { height: 34px; border-radius: 7px; background: var(--line); }

/* offline mesh animation */
.mesh-vis { position: relative; height: 230px; }
.mesh-vis .node { position: absolute; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--card2); border: 1px solid var(--line); color: var(--orange); }
.mesh-vis .node svg { width: 26px; height: 26px; }
.mesh-vis .node.me { background: var(--grad); color: #160a02; border: 0; }
.mesh-vis svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.mesh-vis svg.lines path { stroke: var(--orange); stroke-width: 2; fill: none; stroke-dasharray: 6 8; animation: dash 1.2s linear infinite; opacity: .7; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.mesh-vis .packet { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px 4px rgba(255,138,36,.9); offset-rotate: 0deg; animation: travel 4s linear infinite; }
@keyframes travel { from { offset-distance: 0%; } to { offset-distance: 100%; } }

/* personas */
.personas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.persona { padding: 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.persona .em { font-size: 30px; }
.persona b { display: block; margin-top: 10px; font-size: 16.5px; }
.persona span { color: var(--text2); font-size: 14px; }

/* feature list with icons (features page) */
.feat-nav { position: sticky; top: 68px; z-index: 20; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.feat-nav .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.feat-nav a { white-space: nowrap; text-decoration: none; font-weight: 650; font-size: 14.5px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--text2); }
.feat-nav a:hover { color: var(--text); border-color: var(--orange); }
.fitem { display: flex; gap: 14px; align-items: flex-start; }
.fitem .ic { margin: 0; flex: none; width: 44px; height: 44px; border-radius: 13px; }
.fitem h3 { font-size: 17px; }
.fitem p { margin: 4px 0 0; }
.cat-head { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; margin-bottom: 24px; scroll-margin-top: 140px; }

/* changelog */
.changes { display: grid; gap: 10px; }
.changes li { list-style: none; display: flex; gap: 10px; color: var(--text2); }
.changes li::before { content: "NEW"; flex: none; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; color: #160a02; background: var(--grad); padding: 3px 7px; border-radius: 6px; height: fit-content; margin-top: 3px; }
.qr { width: 172px; height: 172px; padding: 12px; background: #fff; border-radius: 18px; }
.qr img, .qr canvas { width: 100% !important; height: 100% !important; }
.highlight { outline: 2px solid var(--orange); outline-offset: 4px; }

/* faq search */
.search { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); margin-bottom: 18px; }
.search input { all: unset; flex: 1; font-size: 16px; color: var(--text); }
.search svg { width: 20px; height: 20px; color: var(--text3); }
.faq-cat { margin: 26px 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--orange); }
.nores { display: none; color: var(--text2); padding: 20px 0; }

/* report flow */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.flow .card { position: relative; }
.flow .card:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 50%; transform: translate(50%, -50%); color: var(--orange); font-weight: 900; z-index: 2; }

@media (max-width: 980px) {
  .hero2 .wrap, .showcase { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .personas, .flow { grid-template-columns: 1fr 1fr; }
  .flow .card::after { display: none; }
  .fb1 { left: 0; } .fb2 { right: 0; }
}
@media (max-width: 760px) {
  .hero2 { padding-top: 40px; }
  .how, .personas, .flow { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento .w2 { grid-column: auto; } .bento .h2 { grid-row: auto; }
  .float-badge { display: none; }
  .tab { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .blob, .float-badge, .marquee .track, .mini-call .p::after, .wave-big, .mesh-vis svg.lines path, .mesh-vis .packet { animation: none !important; }
}
