/* Homepage (motion-first). Builds on insight.css, service.css and app-skins.css. */
.home main { overflow-x: clip; }
.h-sec { position: relative; padding: 110px 0; }
.h-sec.alt { background: linear-gradient(180deg, rgba(255,255,255,.012), rgba(255,255,255,.03) 50%, rgba(255,255,255,.012)); border-top: 1px solid var(--in-line); border-bottom: 1px solid var(--in-line); }
.h-glow::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(45% 40% at 20% 20%, rgba(59,130,246,.14), transparent 70%), radial-gradient(40% 40% at 85% 70%, rgba(249,115,22,.10), transparent 70%); }
.h-kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--in-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--in-ink-2); padding: 7px 13px; border-radius: 99px; border: 1px solid var(--in-line-2); background: rgba(255,255,255,.03); }
.h-kicker i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; }
.h-link { color: var(--in-accent-2); text-decoration: none; font-weight: 600; }
.h-link:hover { text-decoration: underline; }

/* ---------- hero ---------- */
.hh { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hh::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(45% 50% at 75% 40%, rgba(139,92,246,.24), transparent 70%), radial-gradient(40% 45% at 15% 5%, rgba(59,130,246,.22), transparent 70%), radial-gradient(30% 35% at 90% 95%, rgba(249,115,22,.18), transparent 70%); }
.hh::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--in-line) 1px, transparent 1px), linear-gradient(90deg, var(--in-line) 1px, transparent 1px); background-size: 46px 46px;
  mask-image: radial-gradient(70% 70% at 65% 45%, #000, transparent 75%); -webkit-mask-image: radial-gradient(70% 70% at 65% 45%, #000, transparent 75%); }
.hh__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 40px; align-items: center; }
.hh h1 { font-size: clamp(42px, 5.6vw, 72px); line-height: .98; letter-spacing: -.045em; font-weight: 700; margin: 22px 0 20px; text-wrap: balance; }
.hh h1 em { font-family: var(--in-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: #fdba74; }
.hh h1 em .sr-w > span { background: linear-gradient(90deg, #fdba74, #f472b6); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hh__dek { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--in-ink-2); max-width: 36ch; margin: 0 0 22px; }
.hh__leaks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; }
.hh__leak { position: relative; font-size: 13.5px; color: var(--in-ink-2); padding: 7px 12px; border-radius: 99px; border: 1px solid rgba(249,115,22,.35); background: rgba(249,115,22,.07); }
.hh__leak s { text-decoration: none; background: linear-gradient(#f97316, #f97316) 0 55% / 0 1.5px no-repeat; }
.hh__leak.fixed { border-color: rgba(52,211,153,.45); background: rgba(52,211,153,.08); color: var(--in-ink); }
.hh__leak.fixed s { background-size: 100% 1.5px; color: var(--in-muted); }
.hh__leak b { position: absolute; right: -6px; top: -7px; width: 18px; height: 18px; border-radius: 50%; background: #34d399; color: #052e1c; font-size: 11px; display: grid; place-items: center; transform: scale(0); }
.hh__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hh__trust { display: flex; align-items: center; gap: 12px; margin-top: 30px; font-size: 14px; color: var(--in-muted); }
.hh__trust img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.15); }
.hh__trust b { color: var(--in-ink); font-weight: 600; }

/* phone fan */
.hh__stage { position: relative; height: 620px; perspective: 1600px; }
.hh__fan { position: absolute; inset: 0; transform-style: preserve-3d; }
.hh__slot { position: absolute; top: 50%; left: 50%; transform-style: preserve-3d; }
.hh__slot .phone { width: 100%; }
.hh__p1 { width: 250px; transform: translate(-128%, -46%) rotateY(18deg) rotateZ(-4deg) scale(.9); z-index: 1; opacity: .95; }
.hh__p2 { width: 280px; transform: translate(-50%, -50%); z-index: 3; }
.hh__p3 { width: 250px; transform: translate(28%, -44%) rotateY(-18deg) rotateZ(4deg) scale(.9); z-index: 2; opacity: .95; }
.hh__badge { position: absolute; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; z-index: 5;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(12px); box-shadow: 0 20px 40px -18px rgba(0,0,0,.8); }
.hh__badge img { width: 34px; height: 34px; object-fit: contain; }
.hh__chip { position: absolute; z-index: 6; font-size: 12.5px; font-weight: 600; color: #fff; padding: 8px 12px; border-radius: 99px; white-space: nowrap;
  background: rgba(15,18,26,.85); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(12px); box-shadow: 0 16px 34px -14px rgba(0,0,0,.9); display: flex; align-items: center; gap: 8px; }
.hh__chip i { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; }
@media (max-width: 1020px) {
  .hh { padding-top: 124px; }
  .hh__in { grid-template-columns: minmax(0, 1fr); }
  .hh__stage { height: 520px; }
}
@media (max-width: 560px) {
  .hh__stage { height: 470px; margin: 0 -20px; }
  .hh__p2 { width: 230px; }
  .hh__p1, .hh__p3 { width: 196px; }
  .hh__p1 { transform: translate(-118%, -44%) rotateY(20deg) rotateZ(-4deg) scale(.86); }
  .hh__p3 { transform: translate(18%, -42%) rotateY(-20deg) rotateZ(4deg) scale(.86); }
  .hh__badge { width: 46px; height: 46px; border-radius: 14px; } .hh__badge img { width: 26px; height: 26px; }
}

.hh__bubble { align-self: flex-end; max-width: 88%; font-size: 12px; line-height: 1.35; color: #fff; background: #2563eb; padding: 9px 11px; border-radius: 16px 16px 4px 16px; box-shadow: 0 8px 18px -10px rgba(37,99,235,.8); }
.hh__bubble small { display: block; font-size: 9.5px; opacity: .75; margin-top: 3px; text-align: right; }
.hh__risk { margin: 16px 0 0; font-size: 14px; color: var(--in-muted); } .hh__risk b { color: #6ee7b7; font-weight: 600; }
.hh__trust { margin-top: 22px; }
