@font-face { font-family: "Tvoia Display"; src: url(../fonts/TvoiaDisplay.woff2) format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Tvoia Text"; src: url(../fonts/TvoiaText.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Tvoia Symbols"; src: url(../fonts/TvoiaSymbols.woff2) format("woff2"); font-display: block; }

/* Smooth cross-page transitions where the browser supports them. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s ease both; }
::view-transition-new(root) { animation: vt-in .42s cubic-bezier(.2,.8,.2,1) both; }
@keyframes vt-out { to { opacity: 0; transform: scale(.985); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

:root {
  --brand: #0066ff; --brand-2: #3d8bff; --deep: #030c30; --deep-2: #071a5c;
  --ink: #0a122c; --muted: #5f6b86; --pale: #eef3ff; --line: #dbe4f7; --white: #fff;
  --radius: 28px; --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { font-family: "Tvoia Text", system-ui, sans-serif; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, .display { font-family: "Tvoia Display", "Tvoia Text", sans-serif; letter-spacing: -.01em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.ic { font-family: "Tvoia Symbols"; font-style: normal; font-weight: normal; line-height: 1; display: inline-block; }

/* ---------- nav */
.nav { position: fixed; inset: 16px 0 auto; z-index: 50; }
.nav .bar { display: flex; align-items: center; gap: 24px; padding: 10px 10px 10px 18px; border-radius: 999px;
  background: rgba(3,12,48,.55); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.08); color: #fff; transition: background .3s, color .3s, border-color .3s; }
.nav.light .bar { background: rgba(255,255,255,.78); color: var(--ink); border-color: var(--line); }
.logo { display: flex; align-items: center; gap: 10px; font-family: "Tvoia Display"; font-weight: 800; font-size: 20px; white-space: nowrap; }
.logo svg { width: 34px; height: 34px; transition: transform .5s var(--ease); }
.logo:hover svg { transform: rotate(-14deg) scale(1.08); }
.nav .links { display: flex; gap: 6px; margin-left: auto; font-size: 15px; }
.nav .links a { padding: 8px 12px; border-radius: 999px; opacity: .8; transition: opacity .2s, background .2s; white-space: nowrap; }
.nav .links a:hover { opacity: 1; background: rgba(61,139,255,.16); }
.nav .links a.on { opacity: 1; background: rgba(61,139,255,.22); color: var(--brand-2); }
.nav.light .links a.on { color: var(--brand); background: rgba(0,102,255,.1); }
.nav .links .m-only { display: none; }
.burger { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: inherit; cursor: pointer; }
.burger i { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav.open .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .burger i:nth-child(2) { opacity: 0; }
.nav.open .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 16px; border: 0; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s; will-change: transform; font-family: inherit; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 30px -10px rgba(0,102,255,.8); }
.btn-primary:hover { background: #2a7fff; box-shadow: 0 16px 40px -12px rgba(0,102,255,.9); }
.btn-glass { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.btn-glass:hover { background: var(--brand); border-color: var(--brand); box-shadow: 0 16px 40px -12px rgba(0,102,255,.9); }
.btn-line { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-line:hover { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 16px 40px -12px rgba(0,102,255,.7); }
.btn img { width: 26px; height: 26px; border-radius: 7px; }
.btn small { display: block; font-weight: 500; font-size: 12px; opacity: .75; line-height: 1.1; }
.btn span { line-height: 1.15; text-align: left; }
.nav .btn { padding: 10px 18px; font-size: 14px; }
.ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- hero shared */
.dark-sec { color: #fff; background: radial-gradient(1200px 700px at 75% 10%, #10349f 0%, transparent 60%), radial-gradient(900px 600px at 10% 90%, #0b2a8a 0%, transparent 60%), var(--deep); position: relative; overflow: hidden; }
.page-hero { padding: 170px 0 110px; text-align: center; }
.page-hero h1 { font-size: clamp(44px, 7.5vw, 96px); font-weight: 900; line-height: .98; margin: 20px 0 18px; }
.page-hero p.lead { max-width: 660px; margin: 0 auto; font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: #b9c6e8; }
.blob { position: absolute; border-radius: 50%; opacity: .55; animation: drift 14s ease-in-out infinite alternate; pointer-events: none; will-change: transform; }
.blob.a { width: 760px; height: 760px; background: radial-gradient(circle, rgba(0,102,255,.9), rgba(0,102,255,0) 65%); top: -240px; right: -200px; }
.blob.b { width: 640px; height: 640px; background: radial-gradient(circle, rgba(58,28,255,.9), rgba(58,28,255,0) 65%); bottom: 0; left: -280px; animation-delay: -5s; opacity: .35; }
@keyframes drift { to { transform: translate(-60px, 60px) scale(1.15); } }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); pointer-events: none; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: rgba(0,102,255,.18); border: 1px solid rgba(80,150,255,.35); color: #a9c8ff; }
.pill i.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 12px #3ddc84; }
.grad { background: linear-gradient(92deg, #fff 10%, #8fb8ff 60%, #3d8bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.split .w { display: inline-block; opacity: 0; transform: translateY(40px) rotate(4deg); animation: up .9s var(--ease) forwards; }
@keyframes up { to { opacity: 1; transform: none; } }
.rise { opacity: 0; animation: up .9s var(--ease) forwards; transform: translateY(24px); }

/* ---------- sections */
section { padding: 120px 0; }
main > section:not(:first-child) { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.kicker { color: var(--brand); font-weight: 700; font-size: 15px; letter-spacing: .02em; }
h2 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 900; line-height: 1.02; margin: 12px 0 18px; }
.sub { font-size: 19px; color: var(--muted); max-width: 620px; line-height: 1.55; }
.center { text-align: center; } .center .sub { margin-inline: auto; }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(30px) scale(.98); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.stagger.in > * { opacity: 1; transform: none; }

/* cards */
.card { position: relative; overflow: hidden; border-radius: var(--radius); padding: 30px; background: var(--pale); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,60,180,.35); }
.card h3 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.card p { color: var(--muted); line-height: 1.5; font-size: 16px; }
.card.dark { background: linear-gradient(160deg, #0a2a8f, var(--deep)); color: #fff; border: 0; }
.card.dark p { color: #a9bbe6; }
.card.blue { background: linear-gradient(150deg, #2b7bff, #0050d8); color: #fff; border: 0; }
.card.blue p { color: #d5e4ff; }
.icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--brand); margin-bottom: 18px; font-size: 28px;
  box-shadow: 0 8px 20px -10px rgba(0,60,180,.4); transition: transform .5s var(--ease); }
.card:hover .icon { transform: rotate(-8deg) scale(1.12); }
.card.dark .icon { background: rgba(255,255,255,.1); color: #8fb8ff; box-shadow: none; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 56px; }
.c-2 { grid-column: span 2; } .c-3 { grid-column: span 3; } .c-4 { grid-column: span 4; } .c-6 { grid-column: span 6; }
.card .shot { margin-top: 26px; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(0,30,90,.5); transform: translateY(30px); transition: transform .6s var(--ease); }
.card:hover .shot { transform: translateY(10px); }
.card:has(.shot) { height: 560px; }
.big { font-family: "Tvoia Display"; font-weight: 900; font-size: 76px; line-height: 1; margin: 6px 0 4px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin-top: 22px; }
.bars i { flex: 1; border-radius: 8px 8px 4px 4px; background: rgba(255,255,255,.85); height: 0; transition: height 1.1s var(--ease); }
.in .bars i, .bars.in i { height: var(--h); }

/* phone frames */
.frame { position: relative; width: min(340px, 80%); aspect-ratio: 780 / 1640; border-radius: 46px; padding: 10px; background: #111827;
  box-shadow: 0 60px 120px -30px rgba(0,80,255,.45), 0 0 0 1px rgba(255,255,255,.1) inset; }
.frame .scr { position: absolute; inset: 10px; border-radius: 37px; overflow: hidden; }
.frame .scr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .6s, transform .8s var(--ease); }
.frame .scr img.on { opacity: 1; transform: none; }
.phone-img { border-radius: 36px; border: 9px solid #111827; box-shadow: 0 40px 80px -30px rgba(0,30,120,.55); }

/* faq */
.faq { max-width: 820px; margin: 50px auto 0; }
details { border-bottom: 1px solid var(--line); padding: 22px 4px; }
summary { list-style: none; cursor: pointer; font-family: "Tvoia Display"; font-weight: 700; font-size: 22px; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand); font-size: 28px; line-height: 1; transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); font-size: 17px; line-height: 1.6; padding-top: 12px; max-width: 700px; }
details[open] p { animation: up .5s var(--ease); }

/* final call to action */
.final { text-align: center; }
.final .appicon { width: 120px; height: 120px; margin: 0 auto 26px; border-radius: 30px; background: #f4f7ff; display: grid; place-items: center;
  box-shadow: 0 30px 80px -20px rgba(0,102,255,.8); animation: bob 5s ease-in-out infinite; }
.final .appicon svg { width: 82px; height: 82px; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-3deg); } }
.final h2 { color: #fff; }
.final .sub { color: #a9bbe6; margin: 0 auto 34px; }

/* footer */
footer.foot { background: var(--deep); color: #6f80b3; padding: 56px 0 44px; font-size: 14px; border-top: 1px solid rgba(255,255,255,.06); }
footer.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
footer.foot .logo { color: #fff; margin-bottom: 14px; }
footer.foot h4 { color: #fff; font-family: "Tvoia Display"; font-size: 15px; margin-bottom: 12px; }
footer.foot a { display: block; padding: 4px 0; transition: color .2s; }
footer.foot a:hover { color: #fff; }
footer.foot .legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.06); }

/* pointer glow */
.cursor-glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: 40;
  background: radial-gradient(circle, rgba(0,102,255,.16), rgba(0,102,255,0) 65%); mix-blend-mode: screen; opacity: 0; transition: opacity .4s; }
.cursor-glow.on { opacity: 1; }

/* the acorn that peeks over a card */
.peek-wrap { position: relative; }
.bento:has(> .peek-wrap), .pages:has(> .peek-wrap), .grid-peek:has(> .peek-wrap) { margin-top: 100px; }
.peek-wrap > .card { position: relative; z-index: 2; }
.peek-body, .peek-hands { position: absolute; width: 96px; height: 106px; top: -78px; pointer-events: none; }
.peek-body { z-index: 1; transform: translateY(70px); transition: transform .9s cubic-bezier(.3,1.5,.5,1); }
.peek-hands { z-index: 3; opacity: 0; transform: translateY(14px); transition: opacity .3s .55s, transform .5s .55s var(--ease); }
.peek-wrap.in .peek-body { transform: none; }
.peek-wrap.in .peek-hands { opacity: 1; transform: none; }
.peek-body .eyes { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
.peek-body .sway { transform-origin: 50px 96px; animation: sway 4s ease-in-out infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes sway { 50% { transform: rotate(4deg); } }

@media (max-width: 980px) {
  .nav .links { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; padding: 12px; border-radius: 24px;
    background: rgba(3,12,48,.95); backdrop-filter: blur(18px); color: #fff; }
  .nav.open .links { display: flex; }
  .nav .links a { padding: 14px 16px; font-size: 17px; }
  .burger { display: block; }
  .nav .links .m-only { display: block; }
  .nav .bar { gap: 10px; padding: 8px 8px 8px 14px; position: relative; }
  .nav .btn { padding: 9px 14px; font-size: 13px; }
  .logo { font-size: 17px; } .logo svg { width: 28px; height: 28px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .c-2, .c-3, .c-4, .c-6 { grid-column: span 2; }
  section { padding: 84px 0; }
  .page-hero { padding: 140px 0 80px; }
  .big { font-size: 60px; }
  footer.foot .cols { grid-template-columns: 1fr; }
  .cursor-glow { display: none; }
}
@media (max-width: 420px) { .nav .btn { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .split .w, .rise, .stagger > * { opacity: 1 !important; transform: none !important; }
}
