@font-face {
  font-family: Unbounded;
  src: url('/assets/fonts/unbounded.ttf') format('truetype');
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: Onest;
  src: url('/assets/fonts/onest.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  font-family: Onest, Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  background: #0b0c0f;
  color: #f1f2f4;
  --header-height: calc(82px + env(safe-area-inset-top, 0px));
  --gutter: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; min-inline-size: 280px; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid #a7c2e7; outline-offset: 5px; }
img, svg { display: block; }
.icon { inline-size: 18px; block-size: 18px; flex-shrink: 0; }
.copy { display: inline; }
html[data-language='ru'] [data-language='en'],
html[data-language='en'] [data-language='ru'] { display: none !important; }
.skip-link { position: fixed; z-index: 100; inset: 12px auto auto 20px; padding: 12px 18px; border-radius: 30px; background: #f0f2f7; color: #111; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: calc(20px + env(safe-area-inset-top, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)) 20px max(var(--gutter), env(safe-area-inset-left, 0px));
  background: linear-gradient(#0b0c0f 15%, rgb(11 12 15 / .8) 68%, transparent);
}
.header-inner { max-inline-size: 1320px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-block-size: 40px; }
.header-brand { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 50px; padding: 0 12px; min-block-size: 44px; background: #1a1b1e; white-space: nowrap; }
.header-logo { inline-size: 36px; block-size: 36px; object-fit: contain; flex-shrink: 0; }
.header-brand > span:last-child { display: block; line-height: 1; font-family: Unbounded, Onest, sans-serif; font-size: 11px; font-weight: 500; letter-spacing: -.045em; }
.header-actions { display: flex; align-items: center; justify-content: center; gap: 23px; }
/* Press feedback changes light and depth; control geometry and label alignment stay fixed. */
.button { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 19px; min-block-size: 40px; padding: 0 17px; border-radius: 100px; color: #17191e; background: #f2f3f5; font-size: 13px; font-weight: 650; white-space: nowrap; line-height: 1; box-shadow: 0 1px 0 rgb(255 255 255 / .5) inset; transition: background-color .28s cubic-bezier(.2,.65,.3,1), box-shadow .32s cubic-bezier(.2,.65,.3,1); }
.button > .copy, .button > .icon { position: relative; z-index: 1; }
.button .copy, .login-button .copy { display: block; line-height: 1; }
.button > .icon { inline-size: 15px; block-size: 15px; flex-shrink: 0; }
.button::after { content: ''; position: absolute; z-index: 0; inset: -50%; pointer-events: none; background: linear-gradient(110deg, transparent 34%, rgb(255 255 255 / .65) 49%, transparent 64%); opacity: 0; transform: translateX(-70%); }
.button:active { background: #e0e5ed; box-shadow: 0 2px 6px rgb(36 44 58 / .13) inset, 0 0 0 rgb(235 242 255 / 0); }
.login-button { display: inline-flex; align-items: center; justify-content: center; padding: 0 8px; min-block-size: 40px; background: transparent; border-radius: 100px; color: #a2a3aa; font-size: 13px; line-height: 1; transition: color .28s ease, background-color .28s ease, box-shadow .32s ease; }
.login-button:active { color: #f2f3f7; background: rgb(255 255 255 / .065); box-shadow: 0 1px 5px rgb(0 0 0 / .12) inset; }
.header-brand { transition: background-color .28s ease, box-shadow .32s ease; }
.header-brand:active { background: #292c32; box-shadow: 0 1px 6px rgb(0 0 0 / .18) inset; }
.notification-region { position: fixed; z-index: 60; inset: calc(var(--header-height) + 5px) max(20px, env(safe-area-inset-right, 0px)) auto max(20px, env(safe-area-inset-left, 0px)); display: flex; align-items: flex-start; justify-content: center; pointer-events: none; }
.notification { position: relative; isolation: isolate; display: inline-flex; max-inline-size: min(620px, 100%); background: transparent; color: #f5f6f8; font-size: 14px; line-height: 1.6; text-align: center; }
.notification::before { content: ''; position: absolute; inset: -32px -56px; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at center, rgb(255 255 255 / .065), rgb(15 16 19 / .15) 35%, transparent 72%); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); mask-image: radial-gradient(ellipse at center, #000 10%, rgb(0 0 0 / .9) 28%, transparent 72%); -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, rgb(0 0 0 / .9) 28%, transparent 72%); opacity: .001; transition: opacity .65s var(--ease); }
.notification-content { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-inline-size: 0; padding: 13px 20px; opacity: 0; transform: translateY(-8px); text-shadow: 0 0 12px rgb(255 255 255 / .22), 0 0 28px rgb(255 255 255 / .08); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.notification-content > .icon { inline-size: 18px; block-size: 18px; filter: drop-shadow(0 0 5px rgb(255 255 255 / .25)); }
.notification-content > [data-notice-text] { min-inline-size: 0; overflow-wrap: anywhere; }
.notification.is-visible .notification-content { opacity: 1; transform: translateY(0); }
.notification.is-visible::before { opacity: 1; }
.landing-main { min-block-size: 100svh; overflow: clip; }
/* Intrinsic text rows keep their space; the scene uses the remaining viewport. */
.hero { inline-size: 100%; max-inline-size: 1600px; block-size: min(100svh, 880px); block-size: min(100dvh, 880px); min-block-size: 0; margin-inline: auto; padding: calc(var(--header-height) + clamp(10px, 2.5svh, 25px)) var(--gutter) max(clamp(32px, 7svh, 64px), env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; }
.hero-heading-group { position: relative; z-index: 2; text-align: center; flex-shrink: 0; }
.hero-badges { display: flex; align-items: center; justify-content: center; gap: 5px; margin-block-end: 17px; }
.priority-badge { display: inline-flex; align-items: center; gap: 10px; min-block-size: 47px; padding: 6px 16px 6px 10px; border-radius: 7px; background: #202125; }
.medal-icon { inline-size: 22px; block-size: 27px; flex-shrink: 0; }
.priority-text { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; font-size: 12px; font-weight: 650; line-height: 1; }
.priority-label { color: #8f929c; font-size: 9px; letter-spacing: .075em; font-weight: 600; }
.utility-badge { display: grid; place-items: center; inline-size: 44px; block-size: 47px; border-radius: 7px; background: #202125; color: #b5bfd0; }
.utility-badge > .icon { inline-size: 18px; block-size: 18px; stroke-width: 1.6; }
h1 { font-family: Unbounded, Onest, sans-serif; text-wrap: balance; }
.hero h1 { margin: 0; font-size: clamp(32px, 3.65vw, 54px); line-height: 1.21; letter-spacing: -.05em; font-weight: 500; }
.hero-description { margin: 16px auto 0; max-inline-size: 620px; color: #868891; font-size: 15px; line-height: 1.7; letter-spacing: .005em; text-wrap: balance; }
.hero-scene { position: relative; min-block-size: 0; inline-size: calc(100% + var(--gutter) * 2); margin-inline: calc(var(--gutter) * -1); isolation: isolate; pointer-events: none; mask-image: radial-gradient(ellipse 68% 65% at 50% 51%, #000 45%, transparent 100%); }
.scene-static, #tools-scene { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; transition: opacity 1s var(--ease); }
.scene-static { opacity: 1; }
#tools-scene { opacity: 0; }
.scene-ready #tools-scene { opacity: 1; }
.scene-ready .scene-static { opacity: 0; }
.hero-details { inline-size: min(100%, 1040px); margin: 0 auto; position: relative; z-index: 2; }
.platform-strip { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 19px; padding: 8px 10px 8px 20px; border-radius: 15px; background: rgb(216 225 242 / .04); box-shadow: 0 1px 0 rgb(255 255 255 / .025) inset; }
.platforms-heading { display: flex; align-items: center; justify-content: center; margin: 0; color: #83868e; font-size: 10px; line-height: 1; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.platform-window { position: relative; min-inline-size: 0; }
.platform-mask { overflow: hidden; min-inline-size: 0; mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / .025) 2%, rgb(0 0 0 / .13) 5%, rgb(0 0 0 / .4) 9%, rgb(0 0 0 / .75) 14%, #000 21%, #000 79%, rgb(0 0 0 / .75) 86%, rgb(0 0 0 / .4) 91%, rgb(0 0 0 / .13) 95%, rgb(0 0 0 / .025) 98%, transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / .025) 2%, rgb(0 0 0 / .13) 5%, rgb(0 0 0 / .4) 9%, rgb(0 0 0 / .75) 14%, #000 21%, #000 79%, rgb(0 0 0 / .75) 86%, rgb(0 0 0 / .4) 91%, rgb(0 0 0 / .13) 95%, rgb(0 0 0 / .025) 98%, transparent 100%); }
.platform-mask::-webkit-scrollbar { display: none; }
.platform-mask:focus-visible { outline: 1px solid #a7c2e7; outline-offset: 3px; border-radius: 5px; }
.platform-track { display: flex; inline-size: max-content; contain: layout style; will-change: transform; transform: translate3d(0, 0, 0); backface-visibility: hidden; }
.platform-list { inline-size: max-content; flex: 0 0 auto; list-style: none; display: flex; align-items: center; justify-content: center; gap: 28px; padding: 8px 28px 8px 0; margin: 0; }
.platform { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; gap: 8px; min-block-size: 24px; color: #b0b3bc; font-size: 13px; font-weight: 500; line-height: 1; white-space: nowrap; }
.platform > span { display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.platform > .icon { inline-size: 18px; block-size: 18px; fill: currentColor; flex-shrink: 0; }
.platform-cta { min-block-size: 36px; padding-inline: 16px; gap: 15px; font-size: 12px; }
.platform-cta > .icon { inline-size: 14px; block-size: 14px; }
.login-button > .icon { display: none; }
.error-main { overflow: clip; }
.error-page { position: relative; isolation: isolate; min-block-size: 100svh; display: grid; place-items: center; padding: calc(var(--header-height) + 80px) var(--gutter) max(90px, env(safe-area-inset-bottom, 0px)); }
.error-backdrop { position: absolute; z-index: -1; inset: 0; display: flex; justify-content: center; align-items: center; overflow: hidden; background: radial-gradient(ellipse at 50% 44%, rgb(67 86 118 / .09), transparent 60%); }
.error-backdrop > span { position: absolute; inset-block-start: 12%; font-size: clamp(220px, 40vw, 560px); line-height: 1; letter-spacing: -.08em; font-weight: 800; color: #434d60; opacity: .14; filter: blur(3px); mask-image: linear-gradient(#000, transparent 90%); }
.error-content { text-align: center; max-inline-size: 650px; }
.error-label { margin: 0 0 26px; color: #7d8593; font-size: 10px; font-weight: 600; letter-spacing: .16em; line-height: 1.5; }
.error-content h1 { margin: 0; color: #d9dce2; font-size: clamp(40px, 4.8vw, 64px); font-weight: 550; line-height: 1.12; letter-spacing: -.05em; }
.error-description { max-inline-size: 400px; margin: 24px auto 0; color: #777e8c; font-size: 15px; line-height: 1.8; text-wrap: balance; }
.home-button { min-block-size: 44px; margin-block-start: 34px; padding-inline: 22px; gap: 26px; }
.noscript-note { text-align: center; padding: 20px; font-size: 14px; color: #8b8e97; line-height: 1.6; }
@media (hover: hover) {
  .button:hover:not(:active) { background: #fff; box-shadow: 0 1px 0 rgb(255 255 255 / .6) inset, 0 5px 20px rgb(235 242 255 / .07); }
  .button:hover::after { animation: button-sheen .85s cubic-bezier(.16,1,.3,1) both; }
  .login-button:hover:not(:active) { color: #f2f3f7; background: rgb(255 255 255 / .035); }
  .header-brand:hover:not(:active) { background: #24262b; }
}
@keyframes button-sheen { 0% { opacity: 0; transform: translateX(-70%); } 18% { opacity: .6; } 100% { opacity: 0; transform: translateX(70%); } }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.hero-heading-group, .error-content { animation: enter 1s var(--ease) both; }
.hero-details { animation: strip-enter 1s .15s var(--ease) backwards; }
@keyframes strip-enter { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 1700px) {
  .hero { max-inline-size: 1700px; }
}
@media (max-width: 1000px) {
  .platform-strip { gap: 12px; padding-inline-start: 15px; }
  .platform-list { gap: 24px; padding-inline-end: 24px; }
}
@media (max-width: 760px) {
  .platform-strip { gap: 10px; padding: 7px 8px 7px 14px; }
  .platforms-heading { font-size: 9px; letter-spacing: .06em; }
  .platform-list { gap: 23px; padding-inline: 0 23px; }
  .platform { font-size: 12px; gap: 7px; }
  .platform > .icon { inline-size: 17px; block-size: 17px; }
  .platform-cta { padding-inline: 14px; gap: 12px; min-block-size: 40px; }
  :root { --gutter: 24px; }
  .hero h1 { max-inline-size: 650px; margin-inline: auto; font-size: clamp(30px, 5vw, 42px); }
  .hero-description { max-inline-size: 420px; }
}
@media (max-width: 480px) {
  .platform-strip { grid-template-columns: minmax(0, 1fr) auto; border-radius: 13px; gap: 4px 12px; padding: 8px 10px 10px; }
  .platforms-heading { grid-column: 1; grid-row: 1; justify-content: flex-start; padding-inline-start: 5px; font-size: 10px; }
  .platform-window { grid-column: 1 / -1; grid-row: 2; }
  .platform-cta { grid-column: 2; grid-row: 1; }
  .platform-list { padding-block: 5px; }
  .platform-cta { padding-inline: 13px; gap: 9px; font-size: 11px; }
  :root { --header-height: calc(68px + env(safe-area-inset-top, 0px)); --gutter: 20px; }
  .site-header { padding-block: calc(10px + env(safe-area-inset-top, 0px)) 10px; }
  .header-inner { display: flex; gap: 8px; }
  .header-brand { min-block-size: 44px; padding-inline: 8px; gap: 5px; }
  .header-logo { inline-size: 30px; block-size: 30px; }
  .header-brand > span:last-child { max-inline-size: 94px; font-size: 10px; line-height: 1.2; white-space: normal; text-wrap: balance; }
  .header-actions { inline-size: auto; gap: 8px; }
  .login-button { inline-size: 38px; min-block-size: 44px; padding: 0; position: relative; }
  .login-button > .icon { display: block; inline-size: 19px; block-size: 19px; }
  .login-button > .copy { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .header-cta { min-block-size: 44px; font-size: 12px; padding-inline: 13px; gap: 0; }
  .header-cta > .icon { display: none; }
  .hero { padding-block-start: calc(var(--header-height) + 10px); padding-block-end: max(24px, env(safe-area-inset-bottom, 0px)); }
  .hero-badges { margin-block-end: 15px; }
  .priority-badge { padding-inline-end: 12px; }
  .hero h1 { font-size: clamp(27px, 7.3vw, 34px); line-height: 1.24; }
  .hero-description { max-inline-size: 310px; font-size: 14px; margin-block-start: 12px; }
  .notification-region { inset-inline: 22px; }
  .notification { text-align: start; font-size: 13px; }
  .error-page { padding-block-start: calc(var(--header-height) + 60px); padding-block-end: 80px; }
  .error-backdrop > span { inset-block-start: 22%; font-size: 65vw; }
  .error-content h1 { font-size: clamp(37px, 10vw, 48px); }
  .error-description { font-size: 14px; }
}
@media (max-height: 560px) and (orientation: landscape) {
  .platform-strip { gap: 12px; padding-block: 5px; }
  .platform-list { padding-block: 4px; }
  .platform-cta { min-block-size: 34px; }
  :root { --header-height: calc(64px + env(safe-area-inset-top, 0px)); --gutter: 24px; }
  .site-header { padding-block: calc(8px + env(safe-area-inset-top, 0px)) 8px; }
  .header-inner { display: flex; gap: 16px; }
  .header-actions { inline-size: auto; gap: 18px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; padding-block-start: calc(var(--header-height) + 9px); padding-block-end: max(10px, env(safe-area-inset-bottom, 0px)); }
  .hero-heading-group { grid-column: 1; grid-row: 1; align-self: center; }
  .hero-scene { grid-column: 2; grid-row: 1; inline-size: 100%; margin: 0; }
  .hero h1 { font-size: clamp(23px, 3.2vw, 32px); }
  .hero-badges { margin-block-end: 10px; gap: 4px; }
  .priority-badge, .utility-badge { min-block-size: 30px; block-size: 30px; }
  .priority-badge { padding-block: 3px; gap: 7px; }
  .priority-label { display: none; }
  .medal-icon { inline-size: 18px; block-size: 23px; }
  .utility-badge { inline-size: 32px; }
  .hero-description { font-size: 12px; line-height: 1.5; margin-block-start: 9px; max-inline-size: 330px; }
  .hero-details { grid-column: 1 / -1; grid-row: 2; display: block; }
  .error-page { padding-block: calc(var(--header-height) + 35px) 40px; }
}
@media (max-width: 480px) and (max-height: 620px) and (orientation: portrait) {
  :root { --header-height: calc(64px + env(safe-area-inset-top, 0px)); --gutter: 16px; }
  .site-header { padding-block: calc(8px + env(safe-area-inset-top, 0px)) 8px; }
  .header-inner { display: flex; gap: 8px; }
  .header-brand { gap: 5px; padding-inline: 7px; }
  .header-logo { inline-size: 28px; block-size: 28px; }
  .header-brand > span:last-child { font-size: 9.5px; }
  .header-actions { inline-size: auto; gap: 7px; }
  .login-button { inline-size: 38px; padding: 0; position: relative; }
  .login-button > .icon { display: block; inline-size: 19px; block-size: 19px; }
  .login-button > .copy { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .header-cta { padding-inline: 12px; font-size: 12px; gap: 0; }
  .header-cta > .icon { display: none; }
  .hero h1 { font-size: 25px; }
  .hero-badges { margin-block-end: 11px; }
  .priority-badge, .utility-badge { min-block-size: 38px; block-size: 38px; }
  .hero-description { font-size: 13px; line-height: 1.5; margin-block-start: 9px; }
}
@media (max-width: 340px) {
  .platform-strip { gap: 4px 10px; padding-inline: 9px; }
  .platforms-heading { font-size: 9px; letter-spacing: .04em; }
  .platform-cta { padding-inline: 11px; }
  .header-brand { gap: 4px; padding-inline: 6px; }
  .header-logo { inline-size: 26px; block-size: 26px; }
  .header-brand > span:last-child { max-inline-size: 76px; font-size: 9px; }
  .header-actions { gap: 5px; }
  .login-button { inline-size: 32px; }
  .header-cta { padding-inline: 10px; font-size: 11px; }
  :root { --gutter: 16px; }
  .priority-badge { gap: 7px; padding-inline: 8px; }
  .priority-text { font-size: 11px; }
  .utility-badge { inline-size: 38px; }
  .hero h1 { font-size: 25px; }
}
@media (pointer: coarse) {
  .button, .login-button { min-block-size: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html, .platform-mask { scroll-behavior: auto; }
  .platform-mask { overflow-x: auto; scrollbar-width: none; }
  .platform-track { transform: none; will-change: auto; }
  .platform-list[aria-hidden='true'] { display: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .notification-content { transform: none; transition: opacity .18s ease !important; }
  .notification::before { transition: opacity .18s ease !important; }
}
