/* ZERO home. White and blue, Geist for headings, motion from zfx. Product cards borrow each app's own look. */
.zh-hero, .zh-account, .zh-products, .zh-steps, .zh-team, .zh-final { position: relative; }
.zh-h1, .zh-h2, .zh-card h3, .zh-final h2 { font-family: var(--display); }
.eyebrow { font-family: var(--font); }

/* ---- Hero ------------------------------------------------------------------------------------- */
.zh-hero { padding: 56px 0 88px; overflow: hidden; }
.zh-hero [data-dots] { -webkit-mask-image: radial-gradient(70% 70% at 70% 45%, #000 30%, transparent 80%); mask-image: radial-gradient(70% 70% at 70% 45%, #000 30%, transparent 80%); }
.zh-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; min-height: calc(100svh - 160px); }
@media (max-width: 980px) { .zh-hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 64px; } }
.zh-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s; }
.zh-pill:hover { border-color: var(--blue); transform: translateY(-1px); }
.zh-pill .icon { color: var(--blue); }
.zh-pill-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.zh-pill-dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--blue); animation: zh-ping 2.4s cubic-bezier(.2,.8,.2,1) infinite; }
.zh-h1 { display: flex; flex-direction: column; margin-top: 24px; font-size: clamp(40px, 4.5vw, 70px); font-weight: 700; line-height: .98; letter-spacing: -.05em; color: var(--ink); }
.zh-h1 > span { white-space: nowrap; }
.zh-rot-line { white-space: nowrap; }
.zh-rot { color: var(--blue); }
.zh-lead { margin-top: 26px; max-width: 34em; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--muted); }
.zh-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.zh-btn { border-radius: 999px; }
.zh-btn svg { transition: transform .25s; }
.zh-btn:hover svg { transform: translateX(3px); }
.zh-note { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 22px; font-size: 14.5px; color: var(--subtle); }
.zh-note .icon { color: var(--green); }
.zh-note em { display: inline-flex; align-items: center; gap: 6px; margin-right: 14px; font-style: normal; }

/* Stack of real app screens that swap (Card Swap). */
.zh-hero-visual { display: flex; flex-direction: column; align-items: center; gap: 40px; padding: 30px 30px 0 0; }
.zh-swap { width: 100%; aspect-ratio: 1440 / 948; perspective: 1600px; transform-style: preserve-3d; }
.zh-swap > * { transform: translate3d(calc(var(--pos) * 18px), calc(var(--pos) * -16px), calc(var(--pos) * -50px)); opacity: calc(1 - var(--pos) * .28); }
.zh-swap > .leaving { transform: translate3d(-24px, 70px, 40px) rotate(-4deg); opacity: 0; }
.zh-shot { margin: 0; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line-strong); box-shadow: 0 40px 70px -40px rgba(11, 27, 63, .45), 0 2px 6px rgba(11, 27, 63, .06); }
.zh-shot img { width: 100%; height: auto; display: block; }
.zh-shot-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #F4F6FB; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.zh-shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D7DDEA; }
.zh-shot-bar span { margin: 0 auto; padding: 3px 14px; border-radius: 7px; background: #fff; border: 1px solid var(--line); font-size: 12px; color: var(--subtle); transform: translateX(-20px); }
.zh-swap-label { position: relative; height: 54px; width: 100%; display: flex; justify-content: center; }
.zh-app-chip { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.zh-app-chip.on { opacity: 1; transform: none; }
.zh-app-chip .app-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--soft); }
.zh-app-chip b { font-size: 15px; }
.zh-app-chip small { color: var(--muted); font-size: 13.5px; }

/* ---- Account and orbit --------------------------------------------------------------------- */
.zh-account { padding: 120px 0; background: var(--soft); border-block: 1px solid var(--line); overflow: hidden; }
.zh-account-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
@media (max-width: 900px) { .zh-account-grid { grid-template-columns: 1fr; } }
.zh-h2 { margin-top: 14px; font-size: clamp(36px, 4.4vw, 58px); font-weight: 700; line-height: 1.02; letter-spacing: -.045em; max-width: 16ch; }
.zh-sub { margin-top: 18px; max-width: 36em; font-size: 17.5px; color: var(--muted); }
.zh-list { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-direction: column; }
.zh-list li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.zh-list li > span { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--blue); }
.zh-list b { font-size: 16.5px; }
.zh-list p { margin-top: 3px; color: var(--muted); font-size: 15px; }
.zh-orbit { position: relative; width: min(460px, 100%); aspect-ratio: 1; margin: 0 auto; }
.zh-ring { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(37, 99, 235, .25); }
.zh-ring-1 { inset: 10%; animation: zh-spin 60s linear infinite; }
.zh-ring-2 { inset: 27%; border-style: solid; border-color: rgba(37, 99, 235, .12); }
.zh-orbit-spin { position: absolute; inset: 10%; animation: zh-spin 36s linear infinite; }
.zh-planet { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(calc(var(--k) * 360deg / var(--n))) translateY(calc(-1 * min(184px, 40vw))); }
.zh-planet .app-icon { position: absolute; left: -32px; top: -32px; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgba(11, 27, 63, .4); animation: zh-spin 36s linear infinite reverse; rotate: calc(var(--k) * -360deg / var(--n)); }
.zh-core { position: absolute; inset: 36%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 12px rgba(37, 99, 235, .06), 0 0 0 26px rgba(37, 99, 235, .04), 0 30px 60px -30px rgba(37, 99, 235, .6); }
.zh-core img { width: 44%; height: auto; }
.zh-core small { font-size: 12.5px; font-weight: 700; color: var(--blue); letter-spacing: .02em; }

/* ---- Products (Scroll Stack) ------------------------------------------------------------------ */
.zh-products { padding: 120px 0 60px; }
.zh-head { margin-bottom: 48px; }
.zh-stack { display: flex; flex-direction: column; gap: 28px; }
.zh-card { --c: var(--blue); top: calc(96px + var(--i) * 16px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding: 48px; border-radius: 32px; min-height: min(620px, 78vh); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 40px 80px -50px rgba(11, 27, 63, .45); }
@media (max-width: 980px) { .zh-card { grid-template-columns: 1fr; padding: 28px; gap: 28px; top: 84px; } }
.zh-card-head { display: flex; align-items: center; gap: 12px; }
.zh-card-head .app-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: rgba(255,255,255,.9); box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.zh-card-head b { display: block; font-size: 17px; }
.zh-card-head small { display: block; font-size: 13.5px; opacity: .7; }
.zh-card h3 { margin-top: 24px; font-size: clamp(30px, 3.2vw, 44px); font-weight: 700; line-height: 1.04; letter-spacing: -.04em; }
.zh-card p { margin-top: 14px; font-size: 16.5px; line-height: 1.6; opacity: .78; max-width: 32em; }
.zh-card ul { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15.5px; }
.zh-card li { display: flex; gap: 10px; align-items: flex-start; }
.zh-card li .icon { margin-top: 3px; color: var(--c); flex-shrink: 0; }
.zh-card-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; }
.zh-cta { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; background: var(--c); color: var(--on-c, #fff); font-weight: 600; font-size: 15px; transition: filter .2s; }
.zh-cta:hover { filter: brightness(1.08); }
.zh-cta svg, .zh-more svg { transition: transform .25s; }
.zh-cta:hover svg, .zh-more:hover svg { transform: translateX(3px); }
.zh-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; opacity: .85; }
.zh-more:hover { opacity: 1; }
.zh-more-ink { margin-top: 26px; color: var(--blue); opacity: 1; }
.zh-card-shot { margin: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 40px 70px -36px rgba(0,0,0,.55); transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.zh-card:hover .zh-card-shot { transform: none; }
.zh-card-shot img { width: 100%; height: auto; display: block; }
/* Each card wears its app's brand. */
.zh-fd { --c: #6366F1; background: radial-gradient(800px 500px at 90% 0%, rgba(99,102,241,.22), transparent 60%), #0B0F17; color: #F3F4F6; border-color: #1F2533; }
.zh-fd .zh-shot-bar { background: #161B26; border-color: #262D3D; } .zh-fd .zh-shot-bar span { background: #0B0F17; border-color: #262D3D; } .zh-fd .zh-shot-bar i { background: #2B3346; }
.zh-rp { --c: #8B5CF6; background: radial-gradient(700px 420px at 15% 100%, rgba(139,92,246,.35), transparent 60%), linear-gradient(160deg, #130A2A, #07040F 70%); color: #F5F3FF; border-color: #241A40; }
.zh-rp .zh-shot-bar { background: #1A1230; border-color: #2D2350; } .zh-rp .zh-shot-bar span { background: #0D0820; border-color: #2D2350; } .zh-rp .zh-shot-bar i { background: #3A2E63; }
.zh-vn { --c: #7C3AED; background: radial-gradient(600px 400px at 100% 0%, rgba(236,72,153,.16), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(37,99,235,.14), transparent 60%), #FFFFFF; color: var(--ink); }
.zh-vn .zh-cta { background: linear-gradient(100deg, #2563EB, #7C3AED 55%, #EC4899); }
.zh-pd { --c: #FF5A1F; background: radial-gradient(600px 420px at 100% 100%, rgba(255,90,31,.16), transparent 60%), #F5EFE7; color: #16110D; border-color: rgba(22,17,13,.1); }
.zh-pd h3 { font-family: 'Bricolage Grotesque', var(--display); }

/* ---- Timeline -------------------------------------------------------------------------------- */
.zh-steps { padding: 100px 0 120px; }
.zh-timeline { position: relative; }
.zh-line { position: absolute; left: 0; right: 0; top: 10px; width: 100%; height: 40px; color: var(--blue); opacity: .5; }
.zh-timeline ol { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 760px) { .zh-timeline ol { grid-template-columns: 1fr; } .zh-line { display: none; } }
.zh-num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--display); font-size: 22px; font-weight: 700; box-shadow: 0 0 0 8px #fff, 0 16px 30px -12px rgba(37, 99, 235, .7); }
.zh-timeline h3 { margin-top: 22px; font-family: var(--display); font-size: 22px; letter-spacing: -.03em; }
.zh-timeline p { margin-top: 6px; color: var(--muted); }

/* ---- Team ------------------------------------------------------------------------------------- */
.zh-team { padding: 110px 0; background: var(--soft); border-top: 1px solid var(--line); }
.zh-team-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
@media (max-width: 900px) { .zh-team-grid { grid-template-columns: 1fr; } }
.zh-founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.zh-founder { position: relative; margin: 0; padding: 14px 14px 20px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 50px -36px rgba(11, 27, 63, .45); overflow: hidden; }
.zh-founder img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; background: var(--blue-50); }
.zh-founder figcaption { padding: 14px 6px 0; }
.zh-founder b { display: block; font-family: var(--display); font-size: 18px; letter-spacing: -.02em; }
.zh-founder small { color: var(--blue); font-weight: 600; font-size: 13px; }
.zh-glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.55), transparent 45%); opacity: 0; transition: opacity .3s; mix-blend-mode: soft-light; }
.zh-founder.tilting .zh-glare { opacity: 1; }

/* ---- Final ------------------------------------------------------------------------------------ */
.zh-final { padding: 140px 0; text-align: center; color: #fff; background: radial-gradient(900px 500px at 50% 0%, #3B82F6 0%, transparent 70%), linear-gradient(180deg, #1D4ED8, #0B1B3F); overflow: hidden; }
.zh-final::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 80% at 50% 20%, #000, transparent 75%); mask-image: radial-gradient(70% 80% at 50% 20%, #000, transparent 75%); }
.zh-final .container { position: relative; display: flex; flex-direction: column; align-items: center; }
.zh-final h2 { font-size: clamp(52px, 8.5vw, 124px); font-weight: 700; line-height: .95; letter-spacing: -.055em; }
.zh-final p { margin-top: 22px; font-size: 18px; color: rgba(255,255,255,.78); }
.zh-final .zh-ctas { justify-content: center; margin-top: 38px; }
.zh-btn-line { color: #fff; border: 1px solid rgba(255,255,255,.35); background: transparent; }
.zh-btn-line:hover { background: rgba(255,255,255,.1); }

@keyframes zh-ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes zh-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .zh-ring-1, .zh-orbit-spin, .zh-planet .app-icon, .zh-pill-dot::after { animation: none; } }
