:root {
  --bg: #100d12;
  --bg-2: #181320;
  --text: #f6f1ee;
  --muted: rgba(246, 241, 238, 0.7);
  --line: rgba(246, 241, 238, 0.14);
  --amber: #ffb347;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--display); color: var(--text); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, p { overflow-wrap: break-word; }
:focus-visible { outline: 3px solid #ffd166; outline-offset: 3px; border-radius: 10px; }
.sr-only, .siri-lines { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip { position: absolute; left: -999px; top: 8px; background: #ffd166; color: #100d12; padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* ---------- Top bar ---------- */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 90; background: rgba(16, 13, 18, 0.72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line); }
.bar-inner { width: min(1180px, 100% - 40px); margin-inline: auto; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 12px; transition: transform 0.6s var(--ease); }
.brand:hover img { transform: rotate(90deg); }
.brand span { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.bar-nav { display: flex; gap: 4px; }
.bar-nav a { text-decoration: none; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; color: var(--muted); transition: background 0.2s, color 0.2s; }
.bar-nav a:hover { background: var(--text); color: var(--bg); }
.bar-nav a.nav-dl { color: var(--bg); background: var(--amber); font-weight: 700; }
.bar-nav a.nav-dl:hover { background: #fff; }
@supports (animation-timeline: scroll()) {
  .topbar::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; background: linear-gradient(90deg, #ff7aa2, var(--amber)); transform-origin: 0 50%; transform: scaleX(0); animation: progress linear both; animation-timeline: scroll(root); }
  @keyframes progress { to { transform: scaleX(1); } }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 140px 0 90px; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 80px 80px; opacity: 0.35;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); }
.glow { position: absolute; border-radius: 50%; filter: blur(110px); z-index: -1; animation: drift 16s ease-in-out infinite alternate; }
.glow.g1 { width: 520px; height: 520px; right: -120px; top: -100px; background: #6d3bd6; opacity: 0.35; }
.glow.g2 { width: 460px; height: 460px; left: -160px; bottom: -200px; background: #d4366b; opacity: 0.25; animation-delay: -7s; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(50px, 30px, 0) scale(1.15); } }

.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 40px; align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; }
.tag i { width: 8px; height: 8px; border-radius: 50%; background: #66d17a; animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(102, 209, 122, 0.7); } 70%, 100% { box-shadow: 0 0 0 10px rgba(102, 209, 122, 0); } }
.hero h1 { font-weight: 800; font-size: clamp(2.9rem, 7vw, 5.9rem); line-height: 0.98; letter-spacing: -0.045em; margin: 0 0 24px; animation: rise 0.9s var(--ease) both; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #ff7aa2, var(--amber), #ff7aa2); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: flow 8s linear infinite; }
@keyframes flow { to { background-position: -200% 0; } }
.lead { margin: 0 0 34px; max-width: 46ch; font-size: clamp(1.05rem, 2.2vw, 1.22rem); color: var(--muted); animation: rise 0.9s 0.12s var(--ease) both; }
.hero .btn { animation: rise 0.9s 0.24s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 30px; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 750; font-size: 0.98rem; text-decoration: none; transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.btn::after { content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 150, 120, 0.55), transparent); transform: skewX(-20deg); transition: left 0.6s var(--ease); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -16px rgba(255, 255, 255, 0.45); }
.btn:hover::after { left: 140%; }
.btn span { display: inline-block; transition: transform 0.3s var(--ease); }
.btn:hover span { transform: translateY(3px); }

/* ---------- iPhone home screen (grows as apps are added) ---------- */
.homescreen { width: min(320px, 100%); margin-inline: auto; perspective: 1400px; }
.hs-phone { position: relative; aspect-ratio: 9 / 18; border-radius: 46px; border: 8px solid #0b090f; padding: 50px 20px 22px; display: flex; flex-direction: column;
  background: radial-gradient(circle at 20% 15%, rgba(255, 122, 162, 0.35), transparent 50%), radial-gradient(circle at 85% 80%, rgba(255, 179, 71, 0.25), transparent 55%), linear-gradient(165deg, #2a1b3a, #171021 70%);
  box-shadow: 0 60px 90px -30px rgba(0, 0, 0, 0.9), 0 0 0 1.5px rgba(255, 255, 255, 0.16), 0 0 80px -10px rgba(255, 122, 162, 0.3);
  transform: rotateY(-14deg) rotateX(5deg) rotate(2deg); animation: phonefloat 7s ease-in-out infinite; }
@keyframes phonefloat { 0%, 100% { transform: rotateY(-14deg) rotateX(5deg) rotate(2deg) translateY(0); } 50% { transform: rotateY(-10deg) rotateX(3deg) rotate(1deg) translateY(-14px); } }
.hs-island { position: absolute; top: 12px; left: 50%; width: 82px; height: 22px; margin-left: -41px; border-radius: 14px; background: #05040a; }
.hs-time { margin: 0 0 18px; text-align: center; font-weight: 700; font-size: 0.9rem; color: rgba(255, 255, 255, 0.85); }
.hs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 10px; }
.hs-grid li { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; }
.hs-grid b { font-size: 0.56rem; font-weight: 600; color: rgba(255, 255, 255, 0.88); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ic img { width: 100%; height: auto; border-radius: 26%; box-shadow: 0 10px 18px -6px rgba(0, 0, 0, 0.7); animation: pop 0.7s var(--ease) both, tapbounce 6s ease-in-out infinite; }
.ic:nth-child(1) img { animation-delay: 0.3s, 1.5s; } .ic:nth-child(2) img { animation-delay: 0.45s, 3.2s; } .ic:nth-child(3) img { animation-delay: 0.6s, 4.9s; }
@keyframes pop { from { opacity: 0; transform: scale(0.3); } to { opacity: 1; transform: none; } }
@keyframes tapbounce { 0%, 88%, 100% { transform: none; } 92% { transform: scale(0.88); } 96% { transform: scale(1.06); } }
.slot { opacity: 0; animation: fadein 0.6s var(--ease) 0.9s forwards; }
@keyframes fadein { to { opacity: 1; } }
.slot::before { content: ""; width: 100%; aspect-ratio: 1; border-radius: 26%; border: 1.5px dashed rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.03); }
.slot.next { position: relative; }
.slot.next::before { border-color: var(--amber); background: rgba(255, 179, 71, 0.12); animation: nextpulse 2.4s ease-in-out infinite; }
.slot.next span { position: absolute; top: 0; left: 0; right: 0; aspect-ratio: 1; display: grid; place-items: center; font-size: 1.5rem; font-weight: 300; color: var(--amber); }
@keyframes nextpulse { 50% { box-shadow: 0 0 22px rgba(255, 179, 71, 0.45); transform: scale(1.05); } }
.hs-dock { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 10px; border-radius: 26px; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hs-dock i { aspect-ratio: 1; border-radius: 26%; background: rgba(255, 255, 255, 0.12); }

/* ---------- Feature ribbon ---------- */
.marquee { overflow: hidden; background: var(--bg-2); border-block: 1px solid var(--line); padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.marquee-track { display: flex; width: max-content; animation: scroll 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.pill { --dot: #fff; display: inline-flex; align-items: center; gap: 11px; margin-right: 14px; padding: 10px 20px 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.95rem; font-weight: 600; color: var(--text); white-space: nowrap; }
.pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 12px var(--dot); }
.pill.pilupu { --dot: #f5a524; } .pill.meetly { --dot: #b887ff; } .pill.admi { --dot: #66d17a; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- App panels (stack as you scroll on tall desktop screens) ---------- */
.stack { padding: 80px 0 60px; display: grid; gap: 28px; }
.panel { --c1: #3a1a52; --c2: #1a0f2a; --rgb: 184 135 255; position: relative; overflow: hidden; isolation: isolate; border-radius: 34px; padding: clamp(20px, 4vw, 52px); background: linear-gradient(150deg, var(--c1), var(--c2)); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 -20px 60px -30px rgba(0, 0, 0, 0.8), 0 40px 80px -40px rgba(0, 0, 0, 0.9); }
.panel::before { content: ""; position: absolute; width: 560px; height: 560px; right: -160px; top: -220px; border-radius: 50%; background: rgb(var(--rgb) / 0.28); filter: blur(90px); z-index: -1; animation: drift 14s ease-in-out infinite alternate; }
.panel.pilupu { --c1: #8e2748; --c2: #3a0f1f; --rgb: 245 165 36; }
.panel.meetly { --c1: #5a4bf0; --c2: #2a1d78; --rgb: 184 135 255; }
.panel.admi   { --c1: #2f7a43; --c2: #143a22; --rgb: 224 138 78; }
@media (min-width: 1000px) and (min-height: 900px) {
  .panel.pilupu { position: sticky; top: 84px; }
  .panel.meetly { position: sticky; top: 100px; }
}
.panel-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr); gap: clamp(28px, 5vw, 64px); align-items: center; }

.info { min-width: 0; }
.top-row { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; min-width: 0; }
.top-row > div { min-width: 0; }
.top-row img { width: 84px; height: 84px; border-radius: 22%; box-shadow: 0 20px 34px -12px rgba(0, 0, 0, 0.7), 0 0 0 2px rgba(255, 255, 255, 0.25); transition: transform 0.6s var(--ease); }
.panel:hover .top-row img { transform: rotate(-8deg) scale(1.06); }
.num { display: block; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.18em; color: rgba(255, 255, 255, 0.6); margin-bottom: 2px; }
.panel h2 { font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -0.04em; margin: 0 0 6px; }
.line { margin: 0; font-weight: 650; color: rgba(255, 255, 255, 0.92); }
.desc { margin: 0 0 22px; color: rgba(255, 255, 255, 0.78); font-size: 1.04rem; max-width: min(52ch, 100%); }
.use-label { margin: 0 0 12px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); display: flex; align-items: center; gap: 10px; }
.use-label::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.22); }

/* "Use it to" tiles: icon draws itself, tiles light up one after another */
.uses { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.use { position: relative; overflow: hidden; display: flex; gap: 12px; align-items: flex-start; background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 18px; padding: 14px; transition: transform 0.35s var(--ease), background 0.35s, border-color 0.35s; animation: tilelit 8s ease-in-out infinite; }
.use:nth-child(2) { animation-delay: 2s; } .use:nth-child(3) { animation-delay: 4s; } .use:nth-child(4) { animation-delay: 6s; }
@keyframes tilelit {
  0%, 26%, 100% { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.16); box-shadow: none; }
  4%, 22% { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.55); box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.7); }
}
.use::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.18), transparent); transform: skewX(-20deg); transition: left 0.7s var(--ease); pointer-events: none; }
.use:hover { transform: translateY(-4px); }
.use:hover::after { left: 140%; }
.u-ic { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.16); color: #fff; animation: iclit 8s ease-in-out infinite; }
.use:nth-child(2) .u-ic { animation-delay: 2s; } .use:nth-child(3) .u-ic { animation-delay: 4s; } .use:nth-child(4) .u-ic { animation-delay: 6s; }
@keyframes iclit { 0%, 26%, 100% { background: rgba(255, 255, 255, 0.16); color: #fff; transform: none; } 4%, 22% { background: #fff; color: var(--c1); transform: scale(1.08) rotate(-4deg); } }
.u-ic svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.js .u-ic path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .panel.in .u-ic path { animation: draw 1.1s var(--ease) 0.5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.use h3 { margin: 1px 0 3px; font-size: 1rem; font-weight: 750; letter-spacing: -0.01em; line-height: 1.25; }
.use p { margin: 0; font-size: 0.86rem; line-height: 1.4; color: rgba(255, 255, 255, 0.82); }
.hot-tag { margin-left: 6px; vertical-align: middle; font-style: normal; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; background: var(--amber); color: #1b1208; }
.use.hot { border-color: rgba(255, 179, 71, 0.55); }

.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.facts li { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.03em; color: rgba(255, 255, 255, 0.9); border: 1px solid rgba(255, 255, 255, 0.3); padding: 6px 13px; border-radius: 999px; }
.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.btn.light { background: #fff; color: #17101c; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; background: rgba(0, 0, 0, 0.28); border: 1px solid rgba(255, 255, 255, 0.22); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: #ffd166; animation: blink 1.8s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.chip-link { text-decoration: none; transition: border-color 0.25s, background 0.25s; }
.chip-link:hover { border-color: rgba(255, 255, 255, 0.5); background: rgba(0, 0, 0, 0.42); }
.chip-link i { background: #66d17a; animation: none; }

/* ---------- Visuals ---------- */
.visual { position: relative; min-width: 0; }
.tilt-in { position: relative; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.35s var(--ease); will-change: transform; }
.shot-card { position: relative; margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.18); transform: rotate(-1.5deg); }
.shot-card img { width: 100%; height: auto; }
/* Covers the image's baked-in "Coming soon on iOS" pill (lower-left of the artwork, ~x6.7-29% / y60-90%)
   with a live "On the App Store" link. Sized to fully cover the original pill at any width. */
.shot-badge { position: absolute; z-index: 6; left: 5%; top: 77%; width: 29%; height: 13.5%; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 0 2%; border-radius: 999px; background: #ffffff; color: #17101c; font-family: var(--mono); font-size: clamp(0.48rem, 1.05vw, 0.68rem); font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; text-decoration: none; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.6); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.shot-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3e9a52; flex: none; }
.shot-badge:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.7); }

.phones { position: relative; display: flex; justify-content: center; align-items: center; padding: 20px 0; }
.phone { width: clamp(130px, 17vw, 200px); aspect-ratio: 640 / 1391; border-radius: 30px; border: 6px solid #0d0b14; overflow: hidden; background: #fff; box-shadow: 0 44px 64px -26px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.2); }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone.p1 { margin-right: -22px; animation: bob1 7s ease-in-out infinite; }
.phone.p2 { animation: bob2 7s ease-in-out infinite; }
@keyframes bob1 { 0%, 100% { transform: rotate(-5deg) translateY(16px); } 50% { transform: rotate(-5deg) translateY(6px); } }
@keyframes bob2 { 0%, 100% { transform: rotate(4deg) translateY(-12px); } 50% { transform: rotate(4deg) translateY(-24px); } }
.pulse { position: absolute; left: 50%; top: 50%; width: 70%; aspect-ratio: 1; margin: -35% 0 0 -35%; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.45); animation: radar 4s ease-out infinite; }
.pulse.p2 { animation-delay: 2s; }
@keyframes radar { 0% { transform: scale(0.5); opacity: 0.9; } 100% { transform: scale(1.6); opacity: 0; } }

.float { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 9px; background: #fff; color: #17101c; padding: 9px 15px; border-radius: 14px; font-size: 0.8rem; font-weight: 700; white-space: nowrap; box-shadow: 0 20px 34px -14px rgba(0, 0, 0, 0.7); animation: floaty 6s ease-in-out infinite; }
.float .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot.green { background: #3e9a52; } .dot.gold { background: #d49a2a; } .dot.wine { background: #7a1f3d; } .dot.violet { background: #9b6ee8; } .dot.blue { background: #5b84f0; }
.float.f1 { top: -4%; right: -2%; }
.float.f2 { bottom: 14%; left: -4%; animation-delay: -2s; }
.float.f3 { bottom: -3%; right: 4%; animation-delay: -4s; }
@keyframes floaty { 50% { transform: translateY(-12px); } }

/* ---------- HeyAdmi: Siri spotlight ---------- */
.siri-card { position: relative; overflow: hidden; border-radius: 26px; padding: 22px; background: linear-gradient(160deg, rgba(10, 8, 16, 0.78), rgba(10, 8, 16, 0.55)); border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 40px 70px -34px rgba(0, 0, 0, 0.9); }
.siri-card::before { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -110px; border-radius: 50%; background: conic-gradient(#5ac8fa, #af52de, #ff2d55, #ff9f0a, #5ac8fa); filter: blur(60px); opacity: 0.4; animation: spin 10s linear infinite; }
.siri-card > * { position: relative; }
@keyframes spin { to { transform: rotate(360deg); } }
.siri-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.siri-head b { display: block; font-size: 1.15rem; letter-spacing: -0.02em; }
.siri-head small { display: block; color: rgba(255, 255, 255, 0.72); font-size: 0.82rem; line-height: 1.4; }
.orb { flex: none; position: relative; width: 54px; height: 54px; border-radius: 50%; background: conic-gradient(#5ac8fa, #af52de, #ff2d55, #ff9f0a, #5ac8fa); animation: spin 3s linear infinite; box-shadow: 0 0 28px rgba(175, 82, 222, 0.7); }
.orb::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #0d0b14; }
.orb::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid rgba(175, 82, 222, 0.6); animation: ringpulse 2s ease-out infinite; }
@keyframes ringpulse { 0% { transform: scale(0.8); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }

.scenes { display: grid; min-height: 118px; }
.scene { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 12px; opacity: 0; animation: scene 12s linear infinite; }
.scene:nth-child(2) { animation-delay: -8s; } .scene:nth-child(3) { animation-delay: -4s; }
@keyframes scene { 0% { opacity: 0; } 2%, 30% { opacity: 1; } 33%, 100% { opacity: 0; } }
.say { margin: 0; padding: 12px 16px; border-radius: 18px 18px 18px 6px; background: rgba(255, 255, 255, 0.14); font-size: 1.02rem; font-weight: 650; align-self: flex-start; max-width: 100%; }
.say span { display: inline-block; clip-path: inset(0 100% 0 0); animation: type 12s linear infinite; }
.scene:nth-child(2) .say span { animation-delay: -8s; } .scene:nth-child(3) .say span { animation-delay: -4s; }
@keyframes type { 0% { clip-path: inset(0 100% 0 0); } 13%, 100% { clip-path: inset(0 0 0 0); } }
.res { margin: 0; align-self: flex-end; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px 16px 6px 16px; background: #fff; color: #143a22; font-size: 0.92rem; opacity: 0; animation: resin 12s var(--ease) infinite; }
.scene:nth-child(2) .res { animation-delay: -8s; } .scene:nth-child(3) .res { animation-delay: -4s; }
.res b { font-weight: 800; }
.res em { font-style: normal; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: #e6f2e8; color: #2f7a43; }
@keyframes resin { 0%, 14% { opacity: 0; transform: translateY(10px) scale(0.94); } 19%, 30% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; transform: none; } }
.siri-foot { margin: 14px 0 0; font-size: 0.8rem; color: rgba(255, 255, 255, 0.68); }

/* ---------- HeyAdmi: Admi Day spotlight ---------- */
.admi-day, .spotlight { --sp: var(--amber); --sp-ink: #1b1208; margin-top: 30px; padding: clamp(18px, 3vw, 30px); border-radius: 28px; background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.16); }
.spotlight.pilupu-day { --sp: #f0b24a; --sp-ink: #2a1206; }
.spotlight.meetly-day { --sp: #c6a6ff; --sp-ink: #1b1038; }
.ad-head { margin-bottom: 18px; max-width: 60ch; }
.ad-badge { display: inline-block; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--sp); color: var(--sp-ink); font-weight: 700; margin-bottom: 10px; }
.ad-head h3 { margin: 0 0 6px; font-size: clamp(1.4rem, 3.2vw, 2rem); letter-spacing: -0.03em; line-height: 1.1; }
.ad-head p { margin: 0; color: rgba(255, 255, 255, 0.78); }
.ad-bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.18); overflow: hidden; margin-bottom: 14px; }
.ad-bar i { display: block; height: 100%; width: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--sp), #fff); transform-origin: 0 50%; animation: fillbar 8s linear infinite; }
@keyframes fillbar { 0% { transform: scaleX(0.04); } 100% { transform: scaleX(1); } }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.step { position: relative; background: rgba(255, 255, 255, 0.95); color: #17101c; border: 2px solid transparent; border-radius: 16px; padding: 12px 12px 10px; animation: stepglow 8s ease-in-out infinite; }
.step:nth-child(2) { animation-delay: 2s; } .step:nth-child(3) { animation-delay: 4s; } .step:nth-child(4) { animation-delay: 6s; }
@keyframes stepglow {
  0%, 28%, 100% { transform: none; border-color: transparent; box-shadow: none; }
  4%, 24% { transform: translateY(-6px); border-color: var(--sp); box-shadow: 0 22px 34px -18px rgba(0, 0, 0, 0.8); }
}
.step-n { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; background: #143a22; color: #fff; font-family: var(--mono); font-size: 0.72rem; display: grid; place-items: center; }
.spotlight.pilupu-day .step-n { background: #7a1f3d; }
.spotlight.meetly-day .step-n { background: #4a2d8f; }
.step b { display: block; margin-bottom: 7px; font-size: 0.95rem; }
.step ul { display: grid; gap: 4px; margin-bottom: 7px; }
.step li { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.8rem; background: #eef4ec; border-radius: 8px; padding: 3px 8px; }
.step li i { font-style: normal; }
.step li span { color: #5d6a5f; font-size: 0.74rem; font-weight: 700; }
.step small { display: block; color: #5d6a5f; font-size: 0.72rem; line-height: 1.3; }
.ok { width: 15px; height: 15px; border-radius: 50%; background: #3e9a52; position: relative; flex: none; }
.ok::after { content: ""; position: absolute; left: 4.5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.open { width: 15px; height: 15px; border-radius: 50%; border: 2px solid #b9c2ba; flex: none; }

.merge { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.m { font-weight: 700; font-size: 0.86rem; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.28); animation: mergeout 6s var(--ease) infinite; }
.m.m2 { animation-delay: 0.1s; } .m.m3 { animation-delay: 0.2s; }
.eq { font-size: 1.2rem; color: var(--sp); }
.m.sum { background: var(--sp); color: var(--sp-ink); border-color: transparent; animation: mergein 6s var(--ease) infinite; }
@keyframes mergeout { 0%, 40% { opacity: 1; transform: none; } 55%, 92% { opacity: 0.25; transform: translateX(14px) scale(0.92); } 100% { opacity: 1; transform: none; } }
@keyframes mergein { 0%, 40% { transform: scale(0.85); opacity: 0.45; } 55%, 92% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 6px rgba(255, 179, 71, 0.25); } 100% { transform: scale(0.85); opacity: 0.45; } }
.stores { margin: 16px 0 0; font-size: 0.78rem; color: rgba(255, 255, 255, 0.62); }

/* ---------- Download (placeholders) ---------- */
.download { padding: 40px 0 90px; }
.download h2 { font-weight: 800; font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.04em; line-height: 1; margin: 0 0 12px; }
.dl-sub { margin: 0 0 32px; color: var(--muted); max-width: 54ch; }
.dl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dl-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px; border-radius: 24px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s; }
.dl-card:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.34); background: rgba(255, 255, 255, 0.08); }
.dl-card > img { width: 64px; height: 64px; border-radius: 22%; box-shadow: 0 14px 24px -10px rgba(0, 0, 0, 0.8); }
.dl-name { display: flex; flex-direction: column; line-height: 1.25; }
.dl-name b { font-size: 1.2rem; letter-spacing: -0.02em; }
.dl-name span { color: var(--muted); font-size: 0.88rem; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 14px; border: 1.5px dashed rgba(255, 255, 255, 0.35); color: rgba(255, 255, 255, 0.75); cursor: default; }
.store-btn svg { width: 22px; height: 22px; flex: none; }
.store-btn > span { display: flex; flex-direction: column; line-height: 1.1; }
.store-btn small { font-size: 0.62rem; letter-spacing: 0.04em; opacity: 0.8; }
.store-btn b { font-size: 1rem; }
.store-btn.live { border: 0; background: #fff; color: #14101a; cursor: pointer; text-decoration: none; }
.dl-card em { font-style: normal; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); }
.dl-card em.live-tag { color: #66d17a; }
.dl-card.more { border-style: dashed; justify-content: center; align-items: center; text-align: center; background: transparent; }
.more-ic { width: 64px; height: 64px; border-radius: 22%; display: grid; place-items: center; font-size: 2rem; font-weight: 300; color: var(--amber); border: 1.5px dashed var(--amber); animation: nextpulse 2.4s ease-in-out infinite; }
.dl-card.more .dl-name { align-items: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.site-footer .brand { color: var(--text); }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.foot-links a { text-decoration: none; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em; min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; transition: background 0.2s, color 0.2s; }
.foot-links a:hover { background: var(--text); color: var(--bg); }
.copy { margin: 0; font-family: var(--mono); font-size: 0.78rem; flex-basis: 100%; opacity: 0.7; }

/* ---------- Mobile quick-nav (hidden on larger screens) ---------- */
.tabbar { display: none; }

/* ---------- Reveal (applied to panel contents, never to the sticky panel itself) ---------- */
.js .panel .info, .js .panel .visual, .js .admi-day, .js .spotlight { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .panel .visual { transition-delay: 0.15s; }
.js .panel.in .info, .js .panel.in .visual, .js .panel.in .admi-day, .js .panel.in .spotlight { opacity: 1; transform: none; }
.js .panel .use { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), background 0.35s, border-color 0.35s; }
.js .panel.in .use { opacity: 1; transform: none; }
.js .panel.in .use:nth-child(1) { transition-delay: 0.25s; } .js .panel.in .use:nth-child(2) { transition-delay: 0.35s; } .js .panel.in .use:nth-child(3) { transition-delay: 0.45s; } .js .panel.in .use:nth-child(4) { transition-delay: 0.55s; }
.js .panel.in .use:hover { transform: translateY(-4px); transition-delay: 0s; transition-duration: 0.35s; }

/* ---------- Contact form ---------- */
.contact { padding: 20px 0 100px; }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-intro h2 { font-weight: 800; font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.04em; line-height: 1; margin: 0 0 12px; }
.contact-sub { margin: 0 0 16px; color: var(--muted); max-width: 44ch; }
.contact-alt { margin: 0; color: var(--muted); font-size: 0.92rem; }
.contact-alt a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.contact-form { display: grid; gap: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 3vw, 30px); }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; font: inherit; color: var(--text); background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 12px; padding: 11px 13px; transition: border-color 0.25s, box-shadow 0.25s; }
.contact-form textarea { resize: vertical; min-height: 96px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255, 179, 71, 0.25); }
.contact-form select { appearance: none; -webkit-appearance: none; }
.contact-form .btn { justify-self: start; margin-top: 2px; cursor: pointer; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Contact page ---------- */
.contact-page { padding-top: 76px; }
.contact-page .contact { padding: clamp(40px, 7vw, 90px) 0; }
.contact-back { margin: 14px 0 0; }
.contact-back a { color: var(--muted); font-size: 0.9rem; text-decoration: none; }
.contact-back a:hover { color: var(--text); }

/* ---------- Thanks page ---------- */
.thanks-page { min-height: 100vh; display: grid; place-items: center; padding: 40px 0; }
.thanks-box { text-align: center; max-width: 420px; }
.thanks-box img { margin: 0 auto 20px; }
.thanks-box h1 { font-weight: 800; font-size: clamp(2rem, 6vw, 3rem); letter-spacing: -0.03em; margin: 0 0 10px; }
.thanks-box p { color: var(--muted); margin: 0 0 26px; }
.thanks-box .btn { cursor: pointer; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { padding: 116px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .homescreen { width: min(290px, 78%); }
  .panel-grid { grid-template-columns: minmax(0, 1fr); }
  .panel { border-radius: 28px; }
  .float.f1 { right: 0; } .float.f2 { left: 0; }
  .flow { grid-template-columns: 1fr 1fr; }
  .dl-grid { grid-template-columns: 1fr 1fr; }
}

/* Phones: compact, everything stacked vertically (no horizontal scroll), bottom app bar */
@media (max-width: 700px) {
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .wrap, .bar-inner { width: min(1180px, 100% - 28px); }
  .bar-inner { height: 56px; }
  .brand img { width: 34px; height: 34px; }
  .brand span { font-size: 1.05rem; }
  .bar-nav a:not(.nav-dl) { display: none; }
  .bar-nav a.nav-dl { min-height: 40px; padding: 0 16px; }

  .hero { padding: 88px 0 30px; }
  .hero-grid { gap: 26px; }
  .tag { margin-bottom: 14px; font-size: 0.7rem; padding: 6px 12px; }
  .hero h1 { font-size: clamp(2.5rem, 12.5vw, 3.4rem); margin-bottom: 14px; }
  .lead { font-size: 1rem; margin-bottom: 20px; }
  .btn { min-height: 50px; padding: 0 24px; }
  .homescreen { width: min(240px, 66%); }
  .hs-phone { aspect-ratio: auto; padding: 42px 14px 14px; border-width: 6px; border-radius: 38px; transform: rotateY(-10deg) rotateX(3deg) rotate(1deg); }
  .hs-time { margin-bottom: 12px; }
  .hs-grid { gap: 12px 8px; }
  .hs-grid li:nth-child(n+9) { display: none; }
  .hs-dock { display: none; }
  .marquee { padding: 12px 0; }
  .pill { font-size: 0.85rem; padding: 8px 16px 8px 13px; }

  .stack { padding: 34px 0 30px; gap: 16px; }
  /* Panels scroll normally on phones — sticky stacking only works when a panel
     fits the screen, which it never does on a phone. Each panel finishes fully
     before the next begins. (Sticky stays on tall desktop screens, below.) */
  .panel.pilupu, .panel.meetly, .panel.admi { position: relative; top: auto; }
  .panel { padding: 20px 16px 22px; border-radius: 26px; }
  /* Spotlight blocks (Panchangam, Plan & split, Admi Day) are hidden on phones —
     they stay on desktop/tablet. */
  .spotlight, .admi-day { display: none; }
  .panel-grid { gap: 22px; }
  .top-row { gap: 14px; margin-bottom: 12px; }
  .top-row img { width: 64px; height: 64px; }
  .panel h2 { font-size: 2.1rem; }
  .desc { font-size: 0.96rem; margin-bottom: 16px; }

  .contact { padding: 10px 0 60px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 22px; }
  .contact-form { padding: 18px; border-radius: 20px; }
  .contact-form .btn { justify-self: stretch; width: 100%; text-align: center; }

  /* use-case tiles: compact static 2x2 grid — all four visible, no swipe, minimal scroll */
  .uses { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 14px; padding: 0; }
  .use { flex: none; width: auto; flex-direction: column; gap: 8px; padding: 11px; border-radius: 14px; animation: none; }
  .use .u-ic { width: 34px; height: 34px; border-radius: 10px; animation: none; }
  .use .u-ic svg { width: 18px; height: 18px; }
  .use h3 { font-size: 0.82rem; line-height: 1.2; margin: 0 0 2px; }
  .use p { font-size: 0.72rem; line-height: 1.32; }
  .hot-tag { display: inline-block; margin: 3px 0 0; font-size: 0.52rem; padding: 2px 6px; }
  .facts { margin-bottom: 18px; gap: 6px; }
  .facts li { font-size: 0.7rem; padding: 5px 11px; }
  .cta-row { gap: 10px; }
  .cta-row .btn { flex: 1 1 100%; }

  .float { font-size: 0.7rem; padding: 6px 10px; }
  .float.f2 { display: none; }
  .phone { width: clamp(118px, 33vw, 160px); border-width: 5px; border-radius: 24px; }
  .siri-card { padding: 16px; border-radius: 22px; }
  .siri-head { gap: 12px; margin-bottom: 14px; }
  .orb { width: 46px; height: 46px; }
  .say { font-size: 0.95rem; }
  .scenes { min-height: 126px; }

  .admi-day, .spotlight { margin-top: 20px; padding: 18px 14px; border-radius: 22px; }
  /* spotlight steps: stacked vertically on phones, all visible, no horizontal scroll */
  .flow { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0; padding: 0; }
  .step { flex: none; width: auto; }

  .download { padding: 20px 0 50px; }
  .dl-sub { margin-bottom: 20px; font-size: 0.95rem; }
  .dl-grid { gap: 10px; }
  .dl-card { padding: 14px; gap: 10px; border-radius: 20px; }
  .dl-card > img, .more-ic { width: 48px; height: 48px; }
  .dl-name b { font-size: 1.02rem; }
  .store-btn { padding: 7px 10px; gap: 7px; border-radius: 12px; }
  .store-btn svg { width: 18px; height: 18px; }
  .store-btn b { font-size: 0.88rem; }
  .site-footer { padding: 26px 0; }
  .foot-links a { padding: 0 9px; font-size: 0.74rem; }

  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; z-index: 95; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); padding: 6px; border-radius: 24px; background: rgba(24, 19, 32, 0.88); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.8); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: 18px; text-decoration: none; font-size: 0.64rem; font-weight: 650; color: var(--muted); transition: background 0.25s, color 0.25s; }
  .tabbar img { width: 26px; height: 26px; border-radius: 26%; }
  .tabbar svg { width: 24px; height: 24px; }
  .tabbar a[aria-current="true"] { background: rgba(255, 255, 255, 0.14); color: var(--text); }
}
@media (max-width: 420px) {
  .dl-grid { grid-template-columns: 1fr 1fr; }
  .store-btn small { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .topbar::after { display: none; }
  .hs-phone, .ic img { animation: none; }
  .slot { opacity: 1; animation: none; }
  .marquee-track { animation: none; }
  .js .u-ic path { stroke-dashoffset: 0; }
  .scenes { gap: 12px; min-height: 0; }
  .scene { grid-area: auto; opacity: 1; animation: none; }
  .say span { clip-path: none; animation: none; }
  .res { opacity: 1; animation: none; }
  .m { animation: none; opacity: 1; }
  .m.sum { animation: none; transform: none; opacity: 1; }
  .js .panel .info, .js .panel .visual, .js .panel .use, .js .admi-day, .js .spotlight { opacity: 1; transform: none; }
  .tilt-in { transform: none !important; }
}
