@font-face {
  font-family: Inter;
  src: url('/content/themes/nova/fonts/Inter/inter-cyrillic.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Inter;
  src: url('/content/themes/nova/fonts/Inter/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF,U+2000-206F,U+2190-21FF;
}
:root {
  color-scheme: light;
  font-family: Inter,system-ui,sans-serif;
  color: #101b36;
  background: #f7f9ff;
  --blue: #214ddf;
  --blue-hover: #153ec6;
  --muted: #4e5c77;
}
*,*::before,*::after { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 280px;
  background: #f7f9ff;
}
p,h1,h2,h3 { margin: 0; }
a { color: inherit; text-decoration: none; }
a,button { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
button:focus-visible,a:focus-visible { outline: 2px solid #2754e8; outline-offset: 4px; }
.shell { width: min(1240px,calc(100% - 96px)); margin-inline: auto; }
.skip {
  position: absolute; z-index: 5; top: 12px; left: 12px; border-radius: 8px;
  padding: 12px 16px; color: white; background: var(--blue); transform: translateY(-160%);
}
.skip:focus { transform: none; }

.masthead {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 78px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.44rem; font-weight: 850; letter-spacing: -.035em; }
.brand img { display: block; border-radius: 11px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 11px 18px; border: 1px solid transparent; border-radius: 12px;
  font-weight: 720; line-height: 1.25; transition: background .18s,border-color .18s;
}
.primary { background: var(--blue); color: white; }
.primary:hover { background: var(--blue-hover); }
.nav-download { min-height: 44px; color: #153bbc; background: #fff; border-color: #c6d4f4; font-size: .93rem; }
.nav-download:hover { border-color: #83a0ee; background: #edf2ff; }

.hero {
  display: grid; grid-template-columns: minmax(0,1.18fr) minmax(0,.82fr);
  gap: clamp(16px,4vw,58px); align-items: center; position: relative; isolation: isolate;
  padding: clamp(36px,3.55vw,54px) clamp(40px,5.3vw,76px); min-height: 440px; margin-top: 14px; border-radius: 30px;
  background: #071438 url('/app/media/qivo-hero-v4.webp') center 52% / cover no-repeat;
  color: #fff; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(90deg,#061233ec 0%,#061233ad 43%,transparent 88%);
}
.intro h1 { font-size: clamp(3.3rem,6vw,5.65rem); font-weight: 820; line-height: .99; letter-spacing: -.07em; }
.intro h1 span { display: block; color: #a9c4ff; }
.lead { max-width: 30rem; margin: 20px 0 25px; color: #dce6ff; font-size: clamp(1rem,1.5vw,1.19rem); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 17px; }
.intro .primary { min-height: 54px; padding-inline: 22px; background: #e9f0ff; color: #153798; box-shadow: 0 10px 24px #02092255; }
.intro .primary:hover { background: #fff; }
.hero :focus-visible { outline-color: #b9d0ff; }
.platforms { font-size: .9rem; color: #dce6ff; }
.hero-art { display: grid; place-items: center; }
.hero-art img {
  display: block; width: clamp(158px,19vw,266px); height: auto; transform: rotate(-9deg);
  filter: drop-shadow(0 24px 26px #020a32b0) drop-shadow(0 0 34px #5472ff64);
}

.downloads {
  margin-block: 35px 58px; padding: clamp(21px,3.5vw,45px); border-radius: 26px; scroll-margin-top: 18px;
  background: linear-gradient(147deg,#edf3ff,#f3efff);
  border: 1px solid #dae4fa;
}
.section-heading h2 { margin: 0 0 21px; font-size: clamp(1.9rem,3.5vw,3.15rem); font-weight: 810; letter-spacing: -.05em; line-height: 1.08; }
.download-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,.91fr); gap: 14px; }
.download-card,.qr-card { padding: clamp(15px,1.8vw,22px); border-radius: 17px; }
.download-card {
  display: flex; flex-direction: column; align-items: flex-start; border: 1px solid #dae4fa; background: #fff;
}
.download-card h3,.qr-card h3 { font-size: 1.18rem; line-height: 1.2; letter-spacing: -.025em; }
.download-card h3 { display: flex; align-items: center; gap: 9px; }
.download-card a { width: 100%; margin-top: auto; }
.download-card .secondary { background: #edf3ff; border-color: #cbdafc; color: #1c3d9b; }
.download-card .secondary:hover { background: #e2ebff; border-color: #8ca9f7; }
.release { margin: 12px 0 14px; color: #253969; font-size: .875rem; font-weight: 650; line-height: 1.45; }
.release span { color: var(--muted); font-weight: 450; }
.install,.qr-card p { font-size: 1rem; line-height: 1.5; }
.install { margin-top: 12px; color: var(--muted); overflow-wrap: anywhere; }
.os-icon { width: 29px; height: 29px; flex: 0 0 29px; display: grid; place-items: center; border-radius: 8px; background: #c0d4ff; color: #133182; }
.android-icon { background: #c5f4df; color: #105741; }
.android-icon i { position: relative; width: 14px; height: 8px; border-radius: 9px 9px 2px 2px; background: currentColor; }
.android-icon i::before { content: ''; position: absolute; width: 1px; height: 4px; left: 3px; top: -2px; background: currentColor; transform: rotate(-25deg); }
.android-icon i::after { content: ''; position: absolute; width: 1px; height: 4px; right: 3px; top: -2px; background: currentColor; transform: rotate(25deg); }
.windows-icon i { width: 13px; height: 13px; background: linear-gradient(90deg,transparent 43%,#c0d4ff 43% 57%,transparent 57%),linear-gradient(0deg,currentColor 43%,transparent 43% 57%,currentColor 57%); }
.qr-card { display: grid; gap: 12px; justify-items: center; align-content: center; background: #111f48; color: #f5f8ff; text-align: center; }
.qr-card p { margin-top: 5px; color: #cfddfa; }
.qr-card :focus-visible { outline-color: #b1c9ff; }
.qr,.qr img { display: block; border-radius: 10px; background: white; width: 144px; height: auto; aspect-ratio: 1; }
.qr:hover { box-shadow: 0 0 0 2px #7295ef; }

@media(min-width:1150px) {
  .qr-card { grid-template-columns: auto minmax(0,1fr); align-items: center; justify-items: start; text-align: left; }
  .qr,.qr img { width: 132px; }
}
@media(max-width:1100px) {
  .shell { width: calc(100% - 64px); }
}
@media(max-width:920px) {
  .shell { width: calc(100% - 48px); }
  .hero { min-height: 0; padding: clamp(28px,5vw,44px); }
  .intro h1 { font-size: clamp(2.85rem,6.8vw,4.6rem); }
  .lead { margin-block: 16px 21px; }
  .download-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .qr-card { grid-column: 1/-1; grid-template-columns: auto minmax(0,1fr); align-items: center; justify-items: start; text-align: left; gap: 16px; }
}
@media (541px <= width <= 680px) {
  .hero { grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); }
  .hero-art img { width: min(100%,156px); }
}
@media(max-width:540px) {
  .shell { width: calc(100% - 32px); }
  .masthead { min-height: 69px; }
  .brand { font-size: 1.28rem; }
  .brand img { width: 35px; height: 35px; }
  .hero { grid-template-columns: minmax(0,1fr); padding: 27px 19px 25px; margin-top: 4px; border-radius: 20px; background-position: 77% center; }
  .hero::before { background: linear-gradient(90deg,#061233f3 0%,#061233cc 64%,#0612336b); }
  .intro h1 { font-size: clamp(2.55rem,11vw,3.7rem); }
  .intro .primary { min-height: 48px; padding-inline: 18px; }
  .hero-art { position: absolute; top: 20px; right: 17px; z-index: -1; }
  .hero-art img { width: clamp(48px,14vw,76px); }
  .downloads { margin-block: 24px 30px; padding: 16px; border-radius: 19px; }
  .section-heading h2 { margin-bottom: 16px; }
  .download-grid { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .qr-card { grid-column: auto; gap: 12px; }
  .qr,.qr img { width: min(144px,30vw); }
}
@media(max-width:335px) {
  .hero-art { display: none; }
  .qr-card { grid-template-columns: minmax(0,1fr); text-align: center; justify-items: center; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; }
}
