:root {
  --bg: #f3f3f5;
  --ink: #15131d;
  --navy: #28233f;
  --navy-2: #2e2850;
  --muted: #6c6a7b;
  --soft: #a9a6b8;
  --lav: #d9d6f4;
  --line: #e2e1e8;
  --pad: clamp(16px, 2.8vw, 40px);
  --r: clamp(18px, 1.7vw, 26px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font: 400 16px/1.5 "Plus Jakarta Sans", system-ui, sans-serif;
  letter-spacing: -.01em; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.03em; line-height: 1.08; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 30px; border-radius: 99px;
  font-size: 14px; font-weight: 500; white-space: nowrap; transition: transform .35s var(--ease), background .3s, box-shadow .35s;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #352e58; box-shadow: 0 8px 24px -10px rgba(39, 34, 65, .6); }
.btn-ink { background: #19171f; color: #fff; height: 40px; padding: 0 36px; }
.btn-light { background: #ece9fb; color: var(--navy); }
.btn-light:hover { background: #fff; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 68px; padding: 0 var(--pad); background: rgba(243, 243, 245, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 500; color: #2a2733; }
.mark { width: 28px; height: 28px; color: var(--navy); flex: none; }
.links { display: flex; gap: clamp(18px, 2.6vw, 38px); font-size: 14px; color: #2d2a38; }
.links a { position: relative; padding: 4px 0; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav > .btn { justify-self: end; height: 41px; padding: 0 44px; }
.burger { display: none; }

/* hero */
.hero { padding: 0 var(--pad); }
.hero-card {
  position: relative; overflow: hidden; border-radius: var(--r); height: calc(100svh - 92px); min-height: 520px; max-height: 900px;
  background: linear-gradient(#cfd3f1, #e3e1f7);
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; transform: scale(1.06); animation: settle 2.4s var(--ease) forwards; will-change: transform; }
@keyframes settle { to { transform: scale(1); } }
.hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(80px, 14vh, 150px); }
.hero-copy .mark { width: 32px; height: 32px; color: #1f1b33; margin-bottom: 16px; }
.spin { animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero h1 { font-size: clamp(40px, 4.6vw, 68px); color: #24212f; }
.hero p { max-width: 410px; margin: 20px 0 22px; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.42; color: #3d3a4a; }

/* intro animations */
.blur-in { animation: blurIn 1.3s var(--ease) both .15s; }
@keyframes blurIn { from { opacity: 0; filter: blur(14px); transform: translateY(10px); } to { opacity: 1; filter: blur(0); transform: none; } }
.lines-in .w { display: inline-block; opacity: 0; animation: wordIn .9s var(--ease) forwards; }
@keyframes wordIn { from { opacity: 0; filter: blur(4px); transform: translateY(6px); } to { opacity: 1; filter: none; transform: none; } }
.fade-in { animation: fadeIn 1s var(--ease) both 1.5s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px) scale(.96); } }

/* scroll reveals */
.reveal { opacity: 0; filter: blur(10px); transform: translateY(18px); transition: opacity 1s var(--ease), filter 1s var(--ease), transform 1s var(--ease); }
.rise { opacity: 0; transform: translateY(70px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.in, .rise.in { opacity: 1; filter: none; transform: none; }
.scrub .w { color: var(--soft); transition: color .5s; }
.scrub .w.lit { color: inherit; }

/* about */
.about { padding: clamp(80px, 12vh, 140px) var(--pad) 40px; }
.about-head { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 40px; align-items: start; }
.about h2 { font-size: clamp(38px, 4.15vw, 60px); margin-bottom: 34px; }
.lead { font-size: clamp(20px, 2.08vw, 30px); line-height: 1.21; letter-spacing: -.02em; color: #2c2938; }
.feats { display: grid; grid-template-columns: 2.07fr 1fr 1fr; gap: 20px; margin-top: clamp(48px, 8vh, 80px); }
.feat { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; padding: 28px; border-radius: var(--r); }
.feat h3 { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.15; position: relative; z-index: 1; }
.feat p { font-size: 15px; line-height: 1.45; max-width: 300px; position: relative; z-index: 1; }
.feat-light { background: linear-gradient(100deg, #c5c3e7 0%, #cdcdeb 50%, #d9dcf0 100%); color: #282534; }
.feat-light img { position: absolute; right: 0; bottom: -14%; height: 118%; width: auto; transition: transform 1.2s var(--ease); }
.feat-light:hover img { transform: scale(1.03) rotate(-1deg); }
.feat-dark { background: var(--navy); color: #fff; transition: transform .6s var(--ease), background .4s; }
.feat-dark p { color: #d9d6e8; }
.feat-dark:hover { background: var(--navy-2); }
.feats .feat:nth-child(2) { transition-delay: .08s; }
.feats .feat:nth-child(3) { transition-delay: .16s; }

.backers { display: flex; align-items: center; gap: 40px; padding: 36px 0 0; color: #8b889a; }
.backers p { font-size: 12px; line-height: 1.35; flex: none; color: #6e6b7c; }
.backers ul { flex: 1; display: flex; justify-content: space-between; gap: 24px; list-style: none; padding: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.backers li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; opacity: .8; }
.backers svg { width: 18px; height: 18px; }

/* use cases */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: clamp(80px, 14vh, 160px) var(--pad) 40px; }
.cases-side .sticky { position: sticky; top: 104px; }
.cases small { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.cases h2 { font-size: clamp(38px, 4vw, 58px); margin-bottom: 28px; }
.cases-side p { max-width: 380px; font-size: 16px; line-height: 1.4; color: #3b3848; }
.cases-list { display: flex; flex-direction: column; gap: 22px; }
.case {
  position: relative; overflow: hidden; border-radius: var(--r); padding: 30px 36px 0; min-height: 620px; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #fcfcfe 0%, #fafafd 50%, #f4f3fa 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset;
}
.case h3 { font-size: clamp(26px, 2.5vw, 36px); margin-bottom: 24px; }
.case p { font-size: 16px; line-height: 1.6; max-width: 460px; color: #2d2a38; }
.more { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 14px; color: #2d2a38; }
.more span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #ebe9f6; color: var(--navy); transition: transform .4s var(--ease), background .3s; }
.more:hover span { transform: translateX(4px); background: var(--lav); }
.case img { width: calc(100% + 72px); max-width: none; margin: auto -36px -1px; -webkit-mask-image: linear-gradient(transparent, #000 22%); mask-image: linear-gradient(transparent, #000 22%); transition: transform 1.4s var(--ease); }
.case:hover img { transform: translateY(-6px); }

/* cta */
.cta { display: grid; grid-template-columns: 1fr 1fr; margin: clamp(80px, 14vh, 160px) var(--pad) 0; border-radius: var(--r); overflow: hidden; min-height: 440px; background: var(--navy); }
.cta > img { width: 100%; height: 100%; object-fit: cover; }
.cta-body { position: relative; padding: clamp(32px, 3.6vw, 52px) clamp(28px, 3vw, 44px); color: #fff; }
.cta h2 { font-size: clamp(30px, 2.8vw, 42px); }
.cta p { max-width: 470px; margin: 22px 0 26px; font-size: 16px; line-height: 1.5; color: #d8d5e7; }
.orbit { position: absolute; right: clamp(100px, 10vw, 150px); bottom: clamp(100px, 9vw, 130px); width: 0; height: 0; }
.orbit .mark { position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; max-width: none; }
.orbit a {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: #fff; transition: background .3s, scale .4s var(--ease);
}
.orbit a:hover { background: rgba(255, 255, 255, .2); scale: 1.08; }
.orbit a svg { width: 22px; height: 22px; }

/* faq */
.faq { padding: clamp(110px, 18vh, 200px) var(--pad) 40px; }
.faq h2 { font-size: clamp(44px, 4.6vw, 66px); margin-bottom: 44px; }
.qa details { border-bottom: 1px solid transparent; }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 25px 0; font-size: 17px; color: #3a3746; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; width: 14px; height: 14px; flex: none; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 14px; height: 1px; background: #9a97a8; transition: transform .45s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa details[open] summary i::after { transform: rotate(0); }
.qa details p { max-width: 720px; padding: 0 0 26px; color: var(--muted); font-size: 15px; line-height: 1.6; animation: open .6s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }
.qa details:nth-child(2) { transition-delay: .06s; }
.qa details:nth-child(3) { transition-delay: .12s; }
.qa details:nth-child(4) { transition-delay: .18s; }

/* footer */
.foot { display: grid; grid-template-columns: 1fr auto; gap: 40px 60px; padding: 80px var(--pad) 32px; }
.brand.big { font-size: 30px; gap: 12px; letter-spacing: -.03em; }
.brand.big .mark { width: 42px; height: 42px; }
.foot-brand p { max-width: 280px; margin-top: 18px; font-size: 13px; line-height: 1.45; color: #4a4757; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(120px, 170px)); gap: 20px; }
.foot-cols h4 { font-size: 13px; font-weight: 500; margin-bottom: 14px; color: #2d2a38; }
.foot-cols a { display: block; font-size: 13px; color: #9895a6; margin-bottom: 8px; transition: color .25s; }
.foot-cols a:hover { color: var(--navy); }
.copy { grid-column: 1 / -1; font-size: 12px; color: #aaa7b5; padding-top: 30px; }

/* responsive */
@media (max-width: 980px) {
  .about-head, .cases { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr 1fr; }
  .feat-light { grid-column: 1 / -1; }
  .cases-side .sticky { position: static; }
  .case { min-height: 0; }
  .backers { flex-direction: column; align-items: flex-start; gap: 18px; }
  .backers ul { flex-wrap: wrap; justify-content: flex-start; mask-image: none; }
  .cta { grid-template-columns: 1fr; }
  .cta > img { height: 280px; }
  .cta-body { min-height: 360px; }
}
@media (max-width: 760px) {
  .nav { grid-template-columns: 1fr auto auto; gap: 12px; height: 64px; }
  .nav > .btn { height: 36px; padding: 0 18px; font-size: 13px; }
  .links { position: fixed; inset: 64px 0 auto; flex-direction: column; gap: 0; padding: 8px var(--pad) 20px; background: rgba(243, 243, 245, .97); font-size: 18px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .35s var(--ease); }
  .links a { padding: 12px 0; }
  .nav.open .links { transform: none; opacity: 1; pointer-events: auto; }
  .burger { display: grid; gap: 6px; place-content: center; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; }
  .burger i { display: block; width: 20px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
  .nav.open .burger i:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav.open .burger i:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .hero-card { height: calc(100svh - 84px); min-height: 560px; }
  .hero-img { object-position: 50% 100%; }
  .feats { grid-template-columns: 1fr; }
  .feat { min-height: 240px; }
  .feat-light { min-height: 300px; }
  .feat-light img { height: 82%; }
  .feat-light p { max-width: 50%; }
  .case { padding: 26px 22px 0; }
  .case img { width: calc(100% + 44px); margin: 12px -22px -2px; }
  .foot { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
  .orbit { right: 80px; bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .rise { opacity: 1; filter: none; transform: none; }
}
