@font-face { font-family: "Roboto Flex VC"; src: url("/fonts/robotoflex-latin.woff2") format("woff2"); font-weight: 100 1000; font-stretch: 25% 151%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto Flex VC"; src: url("/fonts/robotoflex-cyrillic.woff2") format("woff2"); font-weight: 100 1000; font-stretch: 25% 151%; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  /* the app's own tokens: src/theme/designTokens.ts */
  --ink: #0a0a0f;
  --surface: #13131a;
  --raised: #22222e;
  --line: #2d2d3a;
  --text: #f5f5f7;
  --dim: #babac4;
  --faint: #9a9aac;
  --violet: #9b4dff;
  --violet-press: #7b2fcc;
  --violet-text: #b580ff;
  --gutter: 16px;
  --face: "Roboto Flex VC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 17px/1.5 var(--face); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; padding: 10px 14px; background: var(--raised); border-radius: 8px; z-index: 5; }
.skip:focus { left: 8px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

/* nav */
.nav { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; min-height: 44px; font-weight: 640; letter-spacing: -.01em; text-decoration: none; }
.brand img { width: 26px; height: 26px; border-radius: 22.37%; }
.links { display: none; gap: 26px; margin-left: auto; font-size: 15px; color: var(--dim); }
.links a { text-decoration: none; padding: 12px 0; }
.links a:hover { color: var(--text); }
/* the language switch is a piece of the timeline: the current language sits under the playhead */
.lang { display: flex; margin-left: auto; font-size: 13px; font-weight: 640; letter-spacing: .06em; color: var(--faint); border-bottom: 1px solid var(--line); }
.lang a { position: relative; display: flex; align-items: center; justify-content: center; min-width: 58px; height: 44px; padding-left: 6px; text-decoration: none; }
.lang a:hover { color: var(--text); }
.lang a[aria-current] { color: var(--text); }
.lang a[aria-current]::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 0; width: 2px; background: var(--violet); }
.lang a[aria-current]::after { content: ""; position: absolute; left: 4px; top: 10px; width: 8px; height: 6px; background: var(--violet); clip-path: polygon(0 0, 100% 0, 50% 100%); }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 8px 0 40px; }
:lang(uk) .h1 { font-size: clamp(26px, 8.6vw, 46px); }
.h1 { margin: 0; font-weight: 720; font-size: clamp(32px, 10vw, 46px); line-height: 1; letter-spacing: -.012em; font-variation-settings: "wdth" 151; }
.h1 > span { display: block; white-space: nowrap; }
.lede { margin: 0; max-width: 34ch; font-size: 18px; line-height: 1.4; color: var(--dim); }
.reel { position: relative; height: clamp(320px, calc(100svh - 340px), 520px); border-radius: 18px; overflow: hidden; background: #0d2a57; }
.reel video, .reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.toggle { position: absolute; right: 4px; top: 4px; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; display: none; }
.js .toggle { display: block; }
.toggle svg { width: 28px; height: 28px; margin: 8px; padding: 7px; background: rgba(10, 10, 15, .62); border-radius: 50%; fill: currentColor; display: block; }
.toggle .i-play { display: none; }
.is-paused .toggle .i-play { display: block; }
.is-paused .toggle .i-pause { display: none; }
.act { display: grid; gap: 8px; }
.btn { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border-radius: 12px; background: var(--violet); color: #fff; font-size: 19px; font-weight: 700; letter-spacing: -.005em; text-decoration: none; transition: transform .15s; }
.btn:hover { background: var(--violet-press); }
.btn:active { transform: scale(.985); }
.note { margin: 0; font-size: 15px; color: var(--faint); text-wrap: balance; }
.note + .note { margin-top: -2px; }

/* section headings: tall and narrow, the way the page ends up after the first scroll */
.h2 { margin: 0; font-size: clamp(32px, 9.2vw, 76px); font-weight: 800; line-height: .98; letter-spacing: -.004em; font-variation-settings: "wdth" 34; text-wrap: balance; isolation: isolate; }
/* a heading plays once like a caption: the word being "said" sits on a violet plate */
.w { position: relative; display: inline-block; opacity: .24; transition: opacity .14s linear; }
.w::before { content: ""; position: absolute; inset: .02em -.09em -.02em; background: var(--violet); border-radius: .07em; opacity: 0; z-index: -1; transition: opacity .1s linear; }
.w.said, .w.on { opacity: 1; }
/* the headline plays once too, without ever dimming: it is the page's first readable line */
.h1 .w { opacity: 1; }
.h1 { isolation: isolate; }
.w.on::before { opacity: 1; }
.h2.quiet { font-size: 32px; }
.line { margin: 14px 0 0; max-width: 42ch; font-size: 18px; line-height: 1.45; color: var(--dim); }
.line b { font-weight: 620; color: var(--text); }
section { padding: 56px 0; }
.rise { transition: opacity .5s ease-out, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js .rise:not(.in) { opacity: 0; transform: translateY(26px); }

/* before / after */
.ba { position: relative; margin-top: 22px; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: var(--surface); touch-action: pan-y; --p: 19%; }
.ba-layer { position: absolute; inset: 0; }
.ba-layer video, .ba-layer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-top { overflow: hidden; transform: translateX(calc(var(--p) - 100%)); }
.ba-top > .ba-inner { position: absolute; inset: 0; transform: translateX(calc(100% - var(--p))); }
.ba-label { position: absolute; bottom: 12px; padding: 4px 7px; background: rgba(10, 10, 15, .72); border-radius: 6px; font-size: 13px; font-weight: 600; z-index: 2; }
.ba-label.l { left: 8px; }
.ba-label.r { right: 12px; }
.ba-head { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; pointer-events: none; transform: translateX(var(--p)); z-index: 2; }
.ba-head::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--violet); }
.ba-head::after { content: ""; position: absolute; left: -9px; top: 0; width: 18px; height: 13px; background: var(--violet); clip-path: polygon(0 0, 100% 0, 100% 45%, 50% 100%, 0 45%); }
.ba-head b { position: absolute; left: -18px; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; background: var(--violet); }
.ba-head b::before, .ba-head b::after { content: ""; position: absolute; top: 13px; width: 8px; height: 8px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; }
.ba-head b::before { left: 8px; transform: rotate(45deg); }
.ba-head b::after { right: 8px; transform: rotate(225deg); }
.ba-label { transition: opacity .15s linear; }
.ba:not(.show-before) .ba-label.l, .ba.hide-after .ba-label.r { opacity: 0; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; display: none; z-index: 3; }
.js .ba input { display: block; }
.hint { margin: 10px 0 0; font-size: 15px; color: var(--faint); display: none; }
.js .hint { display: block; }

/* how it goes: three sentences over the app's own timeline, redrawn large enough to read */
.steps { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 34ch; font-size: 19px; line-height: 1.35; color: var(--dim); }
.tl { margin-top: 28px; padding: 14px 0 0; border-radius: 16px; background: #000; overflow: hidden; --t: .02; }
.tl-lanes { position: relative; display: grid; gap: 6px; padding: 0 12px 14px; overflow: hidden; }
.tl-lane { height: 46px; border-radius: 8px; }
.tl-v { background: var(--surface); }
.tl-wave { display: block; width: 100%; height: 100%; fill: var(--faint); }
.tl-cc { display: grid; grid-template-columns: 46fr 54fr; gap: 3px; }
.tl-cc span { position: relative; display: flex; align-items: center; padding: 0 10px; border-radius: 8px; background: var(--raised); font-size: 15px; white-space: nowrap; overflow: hidden; }
.tl-cc span::before { content: ""; position: absolute; inset: 0; background: var(--violet-press); opacity: 0; transition: opacity .15s linear; }
.tl-cc span { isolation: isolate; }
.tl-cc span::before { z-index: -1; }
.tl-cc .tl-a::before { opacity: var(--a, 1); }
.tl-cc .tl-b::before { opacity: var(--b, 0); }
.tl-head { position: absolute; left: 12px; right: 12px; top: 0; bottom: 8px; pointer-events: none; transform: translateX(calc(var(--t) * 100%)); }
.tl-head::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: #fff; }

/* features */
.beat { display: grid; gap: 22px; padding: 56px 0; }
.beats > .beat:first-child { border-top: 0; padding-top: 0; }
.clip { position: relative; border-radius: 18px; overflow: hidden; background: var(--surface); }
.clip video, .clip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tall { aspect-ratio: 9 / 16; }
.wide { aspect-ratio: 2 / 1; }
.pair { aspect-ratio: 728 / 640; }
.pair-labels { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 0; font-size: 15px; color: var(--dim); }

/* styles */
.looks { margin: 26px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; }
.looks img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--surface); }
.looks span { display: block; margin-top: 6px; font-size: 14px; color: var(--dim); }

/* pricing */
.plans { display: grid; gap: 30px; margin-top: 28px; }
.plan { border-top: 2px solid var(--line); padding-top: 14px; }

.plan h3 { margin: 0; font-size: 34px; font-weight: 800; line-height: 1; font-variation-settings: "wdth" 34; }
.price { margin: 10px 0 0; font-size: 19px; font-weight: 620; }
.plan p.body { margin: 10px 0 0; color: var(--dim); max-width: 46ch; }
.small { margin: 22px 0 0; font-size: 15px; color: var(--faint); max-width: 62ch; }
.small + .small { margin-top: 6px; }

/* questions */
.faq { margin-top: 22px; border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(45deg) translate(-2px, -2px); transition: transform .18s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq p { margin: 0 0 16px; max-width: 58ch; color: var(--dim); }

/* last action */
.last { padding-bottom: 72px; }
.last .act { margin-top: 22px; }

.foot { border-top: 1px solid var(--line); padding: 24px 0 36px; font-size: 15px; color: var(--dim); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot small { margin-left: auto; font-size: 15px; color: var(--faint); }
.demo-note { flex-basis: 100%; margin: 6px 0 0; font-size: 14px; color: var(--faint); }

/* the headline starts wide and narrows as the page scrolls, the way a wide clip is cut to 9:16 */
@keyframes squeeze { to { font-variation-settings: "wdth" 30; } }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .h1 { animation: squeeze linear both; animation-timeline: scroll(root); animation-range: 0 120px; }
  }
}

@media (min-width: 900px) {
  :root { --gutter: 40px; }
  .nav { height: 76px; }
  .links { display: flex; }
  .links + .lang { margin-left: 0; }
  .hero { grid-template-columns: minmax(0, 1fr) min(400px, 30vw); grid-template-rows: 1fr auto auto auto 1fr; column-gap: 64px; row-gap: 24px; padding: 22px 0 56px; }
  .hero .h1 { grid-row: 2; }
  .hero .lede { grid-row: 3; }
  .hero .act { grid-row: 4; }
  .reel { height: auto; aspect-ratio: 9 / 16; }
  .h1 { grid-column: 1; font-size: clamp(46px, 5.3vw, 78px); }
  :lang(uk) .h1 { font-size: clamp(38px, 4.7vw, 66px); }
  .lede { grid-column: 1; font-size: 23px; max-width: 42ch; }
  .stage { grid-column: 2; grid-row: 1 / -1; align-self: center; }
  .act { grid-column: 1; align-self: start; justify-items: start; margin-top: 6px; }
  .reel { border-radius: 26px; }
  section { padding: 96px 0; }
  .h2 { font-size: clamp(56px, 5.2vw, 76px); }
  :lang(uk) .h2 { font-size: clamp(48px, 4.4vw, 64px); }
  .h2.quiet, :lang(uk) .h2.quiet { font-size: 44px; }
  .line { margin-top: 18px; font-size: 21px; max-width: 46ch; }
  .steps { margin-top: 26px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; max-width: none; font-size: 22px; }
  .tl { margin-top: 40px; padding-top: 20px; }
  .tl-lanes { padding: 0 24px 22px; gap: 8px; }
  .tl-lane { height: 72px; }
  .tl-head { left: 24px; right: 24px; }
  .tl-cc span { padding: 0 16px; font-size: 19px; }
      .plan p.body, .price { font-size: 20px; }
  .split { display: grid; grid-template-columns: minmax(0, 1fr) min(400px, 30vw); gap: 64px; align-items: center; }
  .ba { margin-top: 0; border-radius: 26px; }
  .beat { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; padding: 96px 0; align-items: center; }
  .beat > .say { grid-column: 1 / span 6; }
  .beat > .media { grid-column: 8 / span 5; }
  .beat:nth-child(even) > .say { grid-column: 7 / span 6; grid-row: 1; }
  .beat:nth-child(even) > .media { grid-column: 1 / span 5; grid-row: 1; }
  .beat > .media-wide { grid-column: 7 / span 6; }
  .beat:nth-child(even) > .say + .media-wide { grid-column: 1 / span 6; }
  .tall { width: min(400px, 30vw); aspect-ratio: 9 / 16; margin-left: auto; }
  .beat:nth-child(even) .tall { margin-left: 0; margin-right: auto; }
  .clip { border-radius: 26px; }
  .looks { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 14px; margin-top: 40px; }
  .looks img { border-radius: 16px; }
  .plans { grid-template-columns: 5fr 7fr; gap: 64px; margin-top: 40px; }
  .faq { max-width: 860px; margin-top: 34px; }
}
@media (min-width: 900px) and (max-height: 760px) {
  .reel { max-height: calc(100vh - 110px); aspect-ratio: 9 / 16; margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .btn, .w, .w::before { transition: none; }
  .js .rise:not(.in) { opacity: 1; transform: none; }
}

/* every link a thumb can hit */
footer a, nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }

/* phones: the action stays in reach between the hero and the end */
.stick { position: fixed; left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 5; transition: transform .25s ease-out; transform: translateY(160%); box-shadow: 0 6px 24px rgba(0, 0, 0, .5); }
.stick.on { transform: none; }
@media (min-width: 700px) { .stick { display: none; } }
@media (prefers-reduced-motion: reduce) { .stick { transition: none; } }

.ba:has(input:focus-visible) .ba-head b { outline: 2px solid #fff; outline-offset: 2px; }
.stick { min-height: 44px; }
