@font-face {
  font-family: Inter;
  src: url("/platform/media/inter-cyrillic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Inter;
  src: url("/platform/media/inter-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  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;
}
:root {
  color-scheme: light;
  --bg: #f8f8f6;
  --text: #191918;
  --muted: #62625f;
  --line: #dadbd5;
  --surface: #fff;
  --surface-2: #eeefeb;
  --accent: #ff6545;
  --on-accent: #251510;
  --gutter: clamp(1rem, 3.2vw, 3.5rem);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #161716;
  --surface: #202120;
  --surface-2: #292b28;
  --text: #f7f6f1;
  --muted: #aaa9a3;
  --line: #3c3d38;
}
* {box-sizing: border-box}
[hidden] {display: none !important}
body {margin: 0; min-width: 280px; background: var(--bg); color: var(--text); font-size: 1rem; line-height: 1.45}
button, input, select, textarea {font: inherit}
button, a {-webkit-tap-highlight-color: transparent}
button {color: inherit}
button:not(:disabled) {cursor: pointer}
a {color: inherit}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #ff7457;
  outline-offset: 3px;
}
main:focus {outline: none}
.skip-content {position: fixed; top: .5rem; left: .5rem; z-index: 5; padding: .75rem; transform: translateY(-160%); color: #181818; background: #fff; border-radius: .35rem}
.skip-content:focus {transform: none}
.site-header {background: #151614; color: #f6f6f2; border-bottom: 1px solid #2c2d2a}
.header-inner {min-height: 4rem; max-width: 116rem; margin: auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: clamp(.75rem, 2.5vw, 2.75rem)}
.site-brand {display: inline-flex; align-items: center; justify-content: flex-start; flex: none; gap: .5rem; text-decoration: none; line-height: 1}
.brand-mark {width: 2rem; height: 2rem; display: block; flex: none}
.brand-word {width: auto; height: 1.32rem; display: block; color: #f8f8f5}
html:lang(ru) .word-en, html:lang(en) .word-ru {display: none}
.brand-word [data-hf-z] {transform-box: fill-box; transform-origin: center}
@keyframes site-z {from {transform: rotate(9deg)} to {transform: rotate(369deg)}}
@media (prefers-reduced-motion: no-preference) {
  .brand-word [data-hf-z] {animation: site-z 12s linear infinite}
}
.site-nav {align-self: stretch; display: flex; align-items: stretch; gap: clamp(.5rem, 1.8vw, 1.7rem); min-width: 0}
.site-nav a {position: relative; display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap; color: #bcbcb7; font-size: .91rem; font-weight: 550}
.site-nav a:hover, .site-nav a[aria-current="page"] {color: #fff}
.site-nav a[aria-current="page"]::after {content: ""; position: absolute; bottom: .56rem; left: 0; right: 0; height: 2px; background: var(--accent); border-radius: 5px}
.header-actions {margin-left: auto; display: flex; align-items: center; gap: .4rem; white-space: nowrap}
.head-small, .head-login, .head-primary {min-height: 2.25rem; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; border-radius: .48rem; text-decoration: none; font-size: .87rem; line-height: 1; font-weight: 650}
.head-small {width: 2.25rem; border: 1px solid #42433e; background: transparent; color: #deded9; padding: 0}
.head-small:hover, .head-login:hover {background: #343530; color: #fff}
.head-login {padding: 0 .82rem; color: #f5f5f0}
.head-primary {padding: 0 .9rem; background: var(--accent); color: var(--on-accent)}
.head-primary:hover, .hero-cta:hover {background: #ff846a}
.theme-switch svg, .site-glyph {width: 1.12rem; height: 1.12rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; flex: none}
html[data-theme="dark"] .when-light, html:not([data-theme="dark"]) .when-dark {display: none}
.account-symbol::before {content: ""; display: inline-block; width: .53rem; height: .53rem; border-radius: 50%; background: currentColor}
.home-page {width: 100%; max-width: 116rem; padding: clamp(.9rem, 2vw, 1.85rem) var(--gutter) 2.75rem; margin: auto}
.home-hero {display: flex; flex-direction: column; justify-content: space-between; position: relative; isolation: isolate; overflow: hidden; min-height: 23.5rem; height: clamp(24rem, 32vw, 36rem); border-radius: 1.15rem; color: #fff; background: #123333}
.hero-art, .hero-shade {position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2}
.hero-art {object-fit: cover; object-position: 50% 45%}
.home-hero[data-frame="portrait"] .hero-art {object-position: 50% 44%}
.hero-shade {z-index: -1; background: linear-gradient(90deg, rgba(5, 10, 10, .64) 0%, rgba(5, 10, 10, .18) 49%, transparent 72%), linear-gradient(0deg, rgba(7, 8, 8, .4) 0%, transparent 55%)}
.hero-top, .hero-bottom {padding-left: clamp(1.4rem, 3.8vw, 4.25rem); padding-right: clamp(1.4rem, 3vw, 3.25rem)}
.hero-top {padding-top: clamp(1.45rem, 2.7vw, 3rem)}
.hero-kicker {display: inline-flex; align-items: center; gap: .5rem; font-size: .79rem; text-transform: uppercase; letter-spacing: .105em; font-weight: 650}
.hero-kicker .site-glyph {width: 1.08rem; height: 1.08rem; stroke-width: 1.9}
.hero-bottom {display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding-bottom: clamp(1.55rem, 3.2vw, 3.65rem)}
.hero-caption {max-width: min(50rem, 68%)}
#hero-genre {margin: 0 0 .48rem; font-size: .9rem; font-weight: 550; color: #fff2e8}
.hero-caption h1 {margin: 0; font-size: clamp(3.25rem, 6vw, 7.2rem); font-weight: 670; letter-spacing: -.055em; line-height: .98; text-wrap: balance}
.hero-description {margin: 1rem 0 1.4rem; font-size: clamp(.95rem, 1.08vw, 1.16rem); line-height: 1.45; color: #f4f2ed; max-width: 32rem; text-wrap: pretty}
.hero-cta, .blank-project, .connect-link {display: inline-flex; align-items: center; justify-content: center; text-decoration: none; gap: .5rem; min-height: 2.75rem; border-radius: .57rem; font-size: .92rem; font-weight: 650; line-height: 1.2}
.hero-cta {padding: .72rem 1rem; background: var(--accent); color: var(--on-accent)}
.hero-cta .site-glyph {height: 1.18rem; width: 1.18rem; stroke-width: 1.9}
.hero-control {display: inline-flex; align-items: center; gap: .4rem; flex-shrink: 0}
#hero-counter {display: inline-block; margin-right: .4rem; font-size: .78rem; font-variant-numeric: tabular-nums; letter-spacing: .12em; font-weight: 650; text-shadow: 0 0 4px #151515}
.hero-control button {display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid #ffffff70; background: #16181788; color: #fff}
.hero-control button:hover {background: #151716cc}
.starter-section {margin-top: clamp(1.9rem, 3vw, 3.15rem)}
.starter-heading {display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.15rem}
.starter-heading h2 {margin: 0; font-weight: 660; letter-spacing: -.047em; font-size: clamp(1.6rem, 2.45vw, 2.85rem); line-height: 1.12}
.blank-project, .connect-link {border: 1px solid var(--line); background: var(--surface); color: var(--text); padding: .58rem .86rem; min-height: 2.45rem; font-size: .85rem}
.blank-project:hover, .connect-link:hover {border-color: var(--muted); background: var(--surface-2)}
.starter-grid {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.7rem, 1.45vw, 1.7rem)}
.starter-card {display: block; text-decoration: none; min-width: 0; border-radius: .75rem}
.starter-art {overflow: hidden; position: relative; isolation: isolate; aspect-ratio: 2.03; border-radius: .75rem; background: var(--surface-2)}
.starter-art img {display: block; width: 100%; height: 100%; object-fit: cover}
.starter-art.orbit img {object-position: 76% 48%}
.starter-art.portrait img {object-position: 50% 40%}
.card-plus {position: absolute; bottom: .7rem; right: .7rem; width: 1.9rem; height: 1.9rem; display: grid; place-items: center; border: 1px solid #ffffff75; background: #15151585; color: #fff; border-radius: 50%}
.starter-card:hover .card-plus {background: var(--accent); border-color: var(--accent); color: var(--on-accent)}
.starter-card:focus-visible {outline-offset: 4px}
.starter-info {padding-top: .72rem}
.starter-info h3 {margin: 0 0 .16rem; font-weight: 630; font-size: clamp(1rem, 1.32vw, 1.4rem); letter-spacing: -.042em; line-height: 1.23}
.starter-info p {margin: 0; color: var(--muted); font-size: .88rem}
.home-connections {margin-top: clamp(1.75rem, 3vw, 3.2rem); display: flex; align-items: center; gap: 1.05rem; border-top: 1px solid var(--line); padding: 1.5rem .1rem .3rem}
.connect-icon {width: 2.8rem; height: 2.8rem; display: grid; place-items: center; border-radius: .7rem; background: var(--surface-2); color: var(--text); flex: none}
.connect-icon svg {width: 1.5rem; height: 1.5rem}
.home-connections h2 {margin: 0; font-size: 1.16rem; letter-spacing: -.035em; font-weight: 650}
.home-connections p {margin: .15rem 0 0; color: var(--muted); font-size: .9rem}
.connect-link {margin-left: auto; flex-shrink: 0}
@media (prefers-reduced-motion: no-preference) {
  .starter-art img {transition: transform .32s ease}
  .starter-card:is(:hover, :focus-visible) .starter-art img {transform: scale(1.025)}
}
@media (max-width: 60rem) {
  .header-inner {column-gap: 1rem}
  .site-nav {gap: .82rem}
  .head-login {padding-right: .55rem; padding-left: .55rem}
  .brand-word {height: 1.12rem}
  .site-nav a {font-size: .84rem}
}
@media (max-width: 49rem) {
  .header-inner {min-height: 0; flex-wrap: wrap; align-content: flex-start; gap: 0; padding-top: .6rem}
  .site-nav {order: 3; width: 100%; overflow-x: auto; gap: 1.35rem; scrollbar-width: none}
  .site-nav::-webkit-scrollbar {display: none}
  .site-nav a {min-height: 2.65rem; font-size: .88rem}
  .site-nav a[aria-current="page"]::after {bottom: .13rem}
  .hero-caption {max-width: 80%}
  .hero-top, .hero-bottom {padding-left: 1.55rem; padding-right: 1.4rem}
  .hero-control {gap: .27rem}
  .hero-description {max-width: 26rem}
  .home-connections {gap: .8rem}
}
@media (max-width: 38rem) {
  :root {--gutter: .9rem}
  .home-page {padding-top: .82rem}
  .header-actions {gap: .25rem}
  .head-small {width: 1.95rem; min-height: 2rem}
  .head-primary, .head-login {min-height: 2rem; font-size: .79rem}
  .head-primary {padding: 0 .58rem}
  .head-login {padding: 0 .4rem}
  .brand-mark {width: 1.8rem; height: 1.8rem}
  .brand-word {height: .95rem}
  .site-brand {gap: .32rem}
  .site-nav {gap: 1.25rem}
  .home-hero {min-height: 24rem; height: 98vw; max-height: 31rem; border-radius: .85rem}
  .hero-art {object-position: 69% 50%}
  .home-hero[data-frame="portrait"] .hero-art {object-position: 68% 48%}
  .hero-shade {background: linear-gradient(0deg, rgba(5,9,8,.83) 2%, rgba(5,9,8,.31) 56%, transparent 86%), linear-gradient(115deg, rgba(5,9,8,.35), transparent 65%)}
  .hero-top {padding: 1.2rem}
  .hero-bottom {display: block; position: relative; padding: 0 1.2rem 1.2rem}
  .hero-caption {max-width: 100%}
  .hero-caption h1 {font-size: clamp(2.55rem, 9.4vw, 4.2rem); letter-spacing: -.065em}
  .hero-description {font-size: .9rem; max-width: 24rem; margin: .63rem 0 1rem}
  #hero-genre {font-size: .81rem; margin-bottom: .4rem}
  .hero-control {position: absolute; bottom: 1.38rem; right: 1rem}
  #hero-counter {margin-right: .12rem; font-size: .65rem}
  .hero-control button {width: 1.8rem; height: 1.8rem}
  .hero-control svg {width: .9rem; height: .9rem}
  .hero-cta {min-height: 2.25rem; padding: .55rem .65rem; font-size: .83rem}
  .starter-section {margin-top: 1.7rem}
  .starter-heading {margin-bottom: .9rem; gap: .55rem}
  .starter-heading h2 {font-size: clamp(1.4rem, 5.7vw, 1.9rem)}
  .blank-project {min-height: 2.12rem; font-size: .78rem; gap: .23rem; padding: .4rem .48rem}
  .blank-project svg {width: .98rem; height: .98rem}
  .starter-grid {grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem .72rem}
  .starter-art {aspect-ratio: 1.56; border-radius: .6rem}
  .card-plus {right: .38rem; bottom: .38rem; width: 1.6rem; height: 1.6rem}
  .starter-info {padding-top: .45rem}
  .starter-info p {font-size: .79rem}
  .home-connections {display: grid; grid-template-columns: auto minmax(0,1fr); gap: .6rem .75rem; align-items: start}
  .connect-link {grid-column: 2; margin-left: 0; justify-self: start}
}
@media (max-width: 27rem) {
  .site-brand .brand-word {display: none}
}
@media (max-width: 23rem) {
  .site-nav {justify-content: space-between; gap: .45rem}
  .site-nav a {font-size: .79rem}
  #hero-counter {display: none}
  .starter-heading {align-items: flex-start}
}
