/* Sky: the look on top of site.css. Light through reeded glass in every hero and the closing call,
   airy pale-blue pages in between, and the live app mockups left exactly as they are. */

:root[data-theme="light"] {
  --bg: #f4f8fc; --bg-2: #eaf2fa; --panel: #ffffff; --panel-2: #f6f9fc;
  --line: rgba(16, 42, 84, .10); --line-2: rgba(16, 42, 84, .18);
  --text: #0b1628; --muted: #4f5d73; --faint: #8b96a8;
  --accent: #2f6bff; --accent-2: #2f6bff;
  --btn: #0b1628; --btn-fg: #ffffff; --btn-2: rgba(16, 42, 84, .05);
  --glow: rgba(47, 107, 255, .16);
  --sky-ease: cubic-bezier(.2, .7, .2, 1);
}
body { background: var(--bg); font-feature-settings: 'ss01' 1; }
.m-light rect { stroke: none; }

/* ---------- type: lighter and tighter, like the reference ---------- */
h1 { font-weight: 400; letter-spacing: -.045em; line-height: .98; }
h2 { font-weight: 400 !important; letter-spacing: -.035em !important; }
h3 { letter-spacing: -.02em; }
.serif { font-family: inherit !important; font-style: normal !important; color: var(--accent) !important; }
.kicker { text-transform: none !important; letter-spacing: 0 !important; font-weight: 500; color: var(--accent); }
.btn { font-weight: 500; }

/* ---------- nav: white over the sky, a floating glass pill once you scroll ---------- */
.nav { transition: none; border: 0 !important; background: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.nav .wrap { transition: width .5s var(--sky-ease), height .5s var(--sky-ease), margin-top .5s var(--sky-ease), padding .5s var(--sky-ease), background-color .4s, box-shadow .4s, border-color .4s;
  border: 1px solid transparent; border-radius: 999px; }
.nav.scrolled .wrap { width: min(820px, 100% - 24px); height: 54px; margin-top: 12px; padding: 0 8px 0 16px; gap: 22px;
  background: rgba(255, 255, 255, .72); border-color: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 12px 32px -14px rgba(16, 42, 84, .28), 0 0 0 1px rgba(16, 42, 84, .06); }
.nav.scrolled .brand { font-size: 16px; }
.nav.scrolled .brand .mark { width: 26px; height: 26px; }
.nav.scrolled .links { gap: 2px; }
.nav.scrolled .links a { padding: 7px 11px; border-radius: 999px; transition: background-color .2s, color .2s; }
.nav.scrolled .links a:hover { background: rgba(16, 42, 84, .06); }
.nav.scrolled .links a[aria-current="page"] { background: rgba(47, 107, 255, .1); color: var(--accent); }
.nav.scrolled .btn-primary { height: 38px; }
.nav:not(.scrolled) { color: #fff; }
.nav:not(.scrolled) .links { color: rgba(255, 255, 255, .82); }
.nav:not(.scrolled) .links a:hover, .nav:not(.scrolled) .links a[aria-current="page"] { color: #fff; }
.nav:not(.scrolled) .btn-primary { background: #fff; color: #0b1628; box-shadow: none; }
.nav:not(.scrolled) .menu-btn { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .14); color: #fff; }
.nav .btn-primary { box-shadow: none; }
@media (max-width: 980px) { .nav.scrolled .wrap { width: calc(100% - 20px); } }

/* ---------- the scene ---------- */
.scene { position: absolute; inset: 0 0 auto; height: min(100%, 980px); z-index: -1; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }
.scene-img { position: absolute; inset: -4%; background: #5cbcf2 url(/assets/site/scene.webp) 72% 40% / cover no-repeat;
  will-change: transform; animation: skyDrift 26s var(--sky-ease) infinite alternate; }
@keyframes skyDrift {
  0% { transform: translate3d(0, 0, 0) scale(1.02); }
  50% { transform: translate3d(-1.6%, .8%, 0) scale(1.06); }
  100% { transform: translate3d(1.2%, -.6%, 0) scale(1.04); }
}
.scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 64, 170, .32), rgba(14, 64, 170, .08) 55%, rgba(14, 64, 170, 0) 75%); }
.hero .lede, .hero .meta, .phero .lede { text-shadow: 0 1px 2px rgba(10, 40, 120, .28), 0 1px 14px rgba(10, 50, 140, .35); }
@media (max-width: 760px) { .scene-img { background-image: url(/assets/site/scene-mobile.webp); background-position: 60% 30%; } }

/* ---------- hero: left aligned, white type on the calm side of the scene ---------- */
.hero { padding: 168px 0 96px; color: #fff; }
.hero .hero-in { text-align: left; max-width: 1180px; }
.hero h1 { margin: 0; max-width: 11.5ch; font-size: clamp(52px, 7.6vw, 104px); color: #fff; }
.hero h1 .dim { color: rgba(255, 255, 255, .72) !important; }
.hero .lede { margin: 26px 0 0; color: #fff; max-width: 34em; }
.hero .rot { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .35); color: #fff; backdrop-filter: blur(8px); }
.hero .ctas { justify-content: flex-start; }
.hero .meta { color: rgba(255, 255, 255, .92); }
.hero .btn-primary { background: #fff; color: #0b1628; box-shadow: 0 10px 30px -12px rgba(8, 40, 110, .45); }
.hero .btn-ghost { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); color: #fff; backdrop-filter: blur(10px); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .24); border-color: rgba(255, 255, 255, .6); }
.hero .eyebrow { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .35); color: #fff; }
.hero .stage { margin-top: 72px; }
.hero .window { box-shadow: 0 40px 90px -40px rgba(8, 30, 90, .55), 0 0 0 1px rgba(255, 255, 255, .25); }

/* product page heroes share the scene */
.phero .hero-in { text-align: left; }
.phero .lede, .phero .ctas { margin-left: 0; justify-content: flex-start; }
.psplit .hero-in { text-align: left !important; }
.psplit .lede { margin-inline: 0 !important; }
.psplit .ctas { justify-content: flex-start !important; }

/* glass cards that float on the scene, like the reference's schedule cards */
.glass { position: absolute; right: 0; top: 4px; display: grid; gap: 12px; width: 300px; z-index: 2; }
.gcard { padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .34);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); color: #fff; font-size: 13.5px; line-height: 1.35;
  box-shadow: 0 20px 40px -24px rgba(8, 30, 90, .45); opacity: 0; transform: translateY(10px); transition: opacity .7s var(--sky-ease), transform .7s var(--sky-ease); }
.gcard.on { opacity: 1; transform: none; }
.gcard .gh { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; color: rgba(255, 255, 255, .78); font-size: 12px; }
.gcard .gh span { display: inline-flex; align-items: center; gap: 7px; }
.gcard .gh i { width: 7px; height: 7px; border-radius: 50%; background: #7dffb0; box-shadow: 0 0 0 3px rgba(125, 255, 176, .22); }
.gcard b { display: block; font-size: 15px; font-weight: 500; color: #fff; letter-spacing: -.01em; }
.gcard .gs { color: rgba(255, 255, 255, .78); margin-top: 2px; }
.gcard .ga { display: flex; gap: 8px; margin-top: 12px; }
.gcard .ga em { font-style: normal; flex: 1; text-align: center; padding: 7px 0; border-radius: 10px; background: rgba(255, 255, 255, .16); font-size: 12.5px; font-weight: 500; }
.gcard .ga em.pri { background: #fff; color: #0b1628; }
.gcard .ga em.pop { background: #ff4b91; color: #2a0614; }
.gcard .gb { display: flex; align-items: center; gap: 10px; }
.gcard .gb .av { width: 34px; height: 34px; flex: none; }
.gcard .gb .av svg { width: 34px; height: 34px; }
.gcard .wave { display: flex; align-items: center; gap: 3px; height: 16px; margin-left: auto; }
.gcard .wave i { width: 3px; border-radius: 2px; background: #fff; animation: gwave 1s ease-in-out infinite; animation-delay: calc(var(--i) * -.12s); }
@keyframes gwave { 0%, 100% { height: 4px; } 50% { height: 15px; } }
@media (max-width: 1080px) { .glass { display: none; } }

/* ---------- sections: pale sky between the scenes ---------- */
.sec { position: relative; }
.card, .b, .f, .proof, .mk, .look { border-color: var(--line) !important; box-shadow: 0 1px 2px rgba(16, 42, 84, .05), 0 18px 40px -30px rgba(16, 42, 84, .25) !important; }
.b, .card, .f { border-radius: 24px !important; }
.models p { color: var(--muted); }
.track span { border-color: var(--line); }
.getall { border-color: var(--line-2); }
.ticks li::before { background-color: rgba(47, 107, 255, .14) !important; }

/* ---------- the closing call sits in the scene again ---------- */
.final { position: relative; overflow: hidden; isolation: isolate; color: #fff; border: 0 !important; background: none !important; }
.final::before { content: ""; position: absolute; inset: -4%; z-index: -1; background: #5cbcf2 url(/assets/site/scene.webp) 72% 50% / cover no-repeat;
  will-change: transform; animation: skyDrift 26s var(--sky-ease) infinite alternate; }
.final h2, .final h2 .serif { color: #fff !important; }
.final .btn-primary { background: #fff; color: #0b1628; }
.final .btn-ghost { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); color: #fff; }
.final .mark svg { filter: drop-shadow(0 12px 24px rgba(8, 30, 90, .35)); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 64px 0 0 !important; background: var(--bg); }
footer .wrap { display: block !important; }
.ft-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.ft-brand p { color: var(--muted); font-size: 14.5px; margin-top: 14px; max-width: 22em; }
.ft-top nav { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.ft-top nav b { font-size: 13px; font-weight: 500; color: var(--faint); margin-bottom: 4px; }
.ft-top nav a { color: var(--muted); transition: color .2s; }
.ft-top nav a:hover { color: var(--text); }
.ft-legal { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding: 22px 0 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }
@media (max-width: 860px) { .ft-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ft-brand { grid-column: 1 / -1; } .ft-legal { flex-direction: column; } }

/* ---------- text pages get a slim scene behind their title ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding-bottom: 72px !important; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #5cbcf2 url(/assets/site/scene.webp) 80% 35% / cover no-repeat; }
.page-hero h1, .page-hero p, .page-hero .eyebrow { color: #fff !important; }
.page-hero p { opacity: .88; }
.page-hero .eyebrow { background: rgba(255, 255, 255, .16) !important; border-color: rgba(255, 255, 255, .35) !important; }

@media (prefers-reduced-motion: reduce) { .scene-img, .final::before { animation: none; } .gcard { transition: none; opacity: 1; transform: none; } }

/* ---------- the hello film, in a window on the scene ---------- */
.film-stage { max-width: 1040px; }
.fwin { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 50px 100px -40px rgba(8, 30, 90, .6), 0 0 0 6px rgba(255, 255, 255, .14); }
.fw-bar { height: 40px; display: flex; align-items: center; gap: 10px; padding-left: 14px; background: #f6f8fb; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.fw-bar .mark { width: 18px; height: 18px; }
.fw-t { flex: 1; text-align: center; }
.fw-ctl { display: flex; }
.fw-ctl i { width: 44px; height: 40px; display: grid; place-items: center; }
.fw-ctl svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.fw-body { position: relative; aspect-ratio: 16 / 9; background: #0b1020; }
.fw-body video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fw-play { position: absolute; inset: 0; cursor: pointer; transition: opacity .35s; }
.fw-pill { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 12px; height: 64px; padding: 0 28px 0 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .78); color: #0b1628; font: 500 19px/1 var(--font); letter-spacing: -.01em; white-space: nowrap;
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 18px 40px -16px rgba(8, 30, 90, .55); will-change: transform; }
.fw-pill .face { width: 46px; height: 46px; display: grid; place-items: center; }
.fw-pill .face svg { width: 46px; height: 46px; }
.fwin.playing .fw-play { opacity: 0; pointer-events: none; }
.fw-cap { margin-top: 14px; text-align: center; font-size: 13px; color: var(--faint); }

@media (max-width: 760px) { .fw-pill { height: 50px; font-size: 15px; padding-right: 20px; } .fw-pill .face, .fw-pill .face svg { width: 36px; height: 36px; } }

/* ---------- Wisp's specialists inside the old cards ---------- */
.mk-presets i .spec, .cw-chip i .spec, .cw-card [data-spec] .spec, .mk-av .spec { width: 100%; height: 100%; }
.cw-card [data-spec] { display: block; }
.mk-av .spec .eyes { animation-duration: 4s; }
.cli-shot.live { border: 0 !important; border-radius: 12px; overflow: visible; display: block; }
.cli-shot.live .term-live { box-shadow: none; }
.cw-card [data-spec] { width: 42px; height: 42px; margin: 0 auto 4px; display: block; }
.mk-presets [data-spec] { width: 22px; height: 22px; display: block; }
.cw-chip [data-spec] { width: 20px; height: 20px; display: inline-block; vertical-align: middle; }
.mk-av { display: block; }
.gc-avs [data-spec], .gc-m [data-spec] { width: 22px; height: 22px; display: block; flex: none; }
.gc-avs [data-spec] { margin-right: -6px; }
.db-chips [data-spec], .cw-chip i[data-spec] { width: 18px; height: 18px; display: block; }
.ph-shot .pv-wrap { margin: 0 auto; }
.f .gc-m p { font-size: 12.5px; margin-top: 1px; color: #d4d4d8; }
.f .gc-m b { font-size: 12px; }
.psplit h1 { font-size: clamp(44px, 5.2vw, 76px); max-width: 12ch; }
@media (max-width: 760px) { .hero { padding-top: 120px; } .hero h1 { font-size: clamp(44px, 12vw, 64px); } .gcard { display: none; } }
