@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/manrope-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/manrope-latin.woff2') format('woff2'); 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: "Unbounded"; font-style: normal; font-weight: 600 800; font-display: swap; src: url('/assets/fonts/unbounded-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 600 800; font-display: swap; src: url('/assets/fonts/unbounded-latin.woff2') format('woff2'); 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: dark;
  --ink: #071a16;
  --ink-soft: #0d2b22;
  --leaf: #176b45;
  --mint: #8de0bd;
  --lagoon: #18c9bc;
  --mango: #ffc83d;
  --coral: #ff5847;
  --sand: #f7e8bf;
  --cream: #fff8e4;
  --line: rgba(247, 232, 191, .22);
  --shadow: 0 30px 90px rgba(2, 14, 11, .42);
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--cream); color: var(--ink); font-family: var(--body); }
body::selection { color: var(--ink); background: var(--mango); }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
button, .button { font: inherit; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; transform: translateY(-150%); padding: 10px 16px; border-radius: 999px; background: var(--cream); color: var(--ink); font-weight: 800; }
.skip-link:focus { transform: none; }
.grain { position: fixed; inset: 0; z-index: 90; opacity: .038; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 88px; padding: 8px clamp(20px, 4vw, 64px); color: var(--cream); transition: background .3s ease, min-height .3s ease, backdrop-filter .3s ease; }
.site-header.is-scrolled { min-height: 70px; background: rgba(7, 26, 22, .82); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255,255,255,.08); }
.brand { justify-self: start; display: block; width: clamp(158px, 12vw, 214px); text-decoration: none; filter: drop-shadow(0 8px 16px rgba(0,0,0,.32)); transition: width .3s ease, transform .3s ease; }
.brand:hover, .brand:focus-visible { transform: translateY(-2px); }
.brand img { width: 100%; height: auto; }
.site-header.is-scrolled .brand { width: clamp(148px, 10vw, 178px); }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 700; }
.main-nav a { position: relative; text-decoration: none; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--mango); transition: right .25s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.language { justify-self: end; display: flex; padding: 3px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; }
.language button { min-width: 38px; padding: 7px 8px; border: 0; border-radius: 999px; color: inherit; background: transparent; cursor: pointer; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.language button[aria-pressed="true"] { color: var(--ink); background: var(--mango); }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(310px, .72fr); align-items: center; min-height: 100svh; padding: 130px clamp(24px, 7vw, 110px) 70px; overflow: hidden; isolation: isolate; color: var(--cream); background: var(--ink); }
.hero-world, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-world { z-index: -4; object-fit: cover; object-position: center; filter: saturate(.94) contrast(1.05); transform: scale(1.035); }
.hero-shade { z-index: -3; background: linear-gradient(90deg, rgba(5,19,15,.96) 0%, rgba(5,19,15,.82) 43%, rgba(5,19,15,.18) 76%), linear-gradient(0deg, rgba(5,19,15,.58), transparent 58%); }
.radio-wave { position: absolute; z-index: -1; inset: 33% -6% auto; width: 112%; height: 42%; opacity: .68; filter: drop-shadow(0 0 14px rgba(255,200,61,.45)); }
.radio-wave path { fill: none; stroke: var(--mango); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--scroll-progress, 0)); }
.hero-copy { max-width: 820px; padding-right: 5vw; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow > span:first-child { flex: 0 0 34px; height: 2px; background: var(--mango); }
.hero h1, .section h2 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -.055em; line-height: .98; }
.hero h1 { max-width: 900px; font-size: clamp(3.1rem, 7.2vw, 7.5rem); text-wrap: balance; }
.hero-lead { max-width: 650px; margin: 30px 0 0; color: rgba(255,248,228,.78); font-size: clamp(1rem, 1.45vw, 1.3rem); line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 54px; padding: 0 23px; border: 1px solid transparent; border-radius: 3px; text-decoration: none; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.button:hover, .button:focus-visible { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(0,0,0,.2); }
.button-primary { color: var(--ink); background: var(--mango); }
.button-sand { color: var(--ink); background: var(--sand); }
.coming { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; color: rgba(255,248,228,.74); }
.coming i { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 7px rgba(255,88,71,.15); animation: pulse 2s ease-in-out infinite; }
.poster-card { position: relative; justify-self: end; width: min(42vw, 540px); margin: 20px 0 0; transform: rotate(1.5deg); }
.poster-card img { width: 100%; object-fit: contain; filter: drop-shadow(0 32px 36px rgba(0,0,0,.48)); }
.poster-halo { position: absolute; z-index: -1; inset: 15% -25%; border-radius: 50%; background: radial-gradient(circle, rgba(24,201,188,.38), transparent 67%); filter: blur(18px); }
.poster-card figcaption { display: flex; justify-content: space-between; padding: 14px 4px 0; color: rgba(255,248,228,.76); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.scroll-note { position: absolute; left: clamp(24px, 4vw, 64px); bottom: 35px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.58); transform: rotate(-90deg) translateX(100%); transform-origin: left bottom; }
.scroll-note span { width: 46px; height: 1px; background: currentColor; }
.scroll-note b { font-size: 9px; letter-spacing: .25em; text-transform: uppercase; }

.section { position: relative; padding: clamp(90px, 11vw, 170px) clamp(24px, 7vw, 110px); }
.section-kicker { display: flex; align-items: center; gap: 14px; color: var(--leaf); }
.section-kicker span { display: grid; place-items: center; width: 34px; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; font-size: 9px; font-weight: 800; }
.section-kicker p { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section-kicker.light { color: var(--mango); }
.game-loop { background: var(--cream); }
.loop-intro { display: grid; grid-template-columns: 1.4fr .6fr; gap: 7vw; align-items: end; margin-top: 34px; }
.loop-intro h2, .character h2, .screens h2 { font-size: clamp(2.7rem, 5.7vw, 6rem); }
.loop-intro > p, .character-copy > p { margin: 0 0 6px; color: #466057; font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.75; }
.loop-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(60px, 8vw, 110px) 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(7,26,22,.22); }
.loop-steps li { min-height: 245px; padding: 25px 22px 20px 0; border-right: 1px solid rgba(7,26,22,.14); }
.loop-steps li + li { padding-left: 22px; }
.loop-steps small { display: block; color: var(--coral); font-weight: 800; }
.loop-steps strong { display: block; margin-top: 64px; font-family: var(--display); font-size: clamp(1.1rem, 1.6vw, 1.55rem); }
.loop-steps span { display: block; max-width: 240px; margin-top: 12px; color: #52675f; font-size: 13px; line-height: 1.6; }

.world { min-height: 92svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; color: var(--cream); background: var(--ink); }
.world-backdrop, .world-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.world-backdrop { object-fit: cover; object-position: center; }
.world-overlay { background: linear-gradient(90deg, rgba(7,26,22,.92), rgba(7,26,22,.18) 70%), linear-gradient(0deg, rgba(7,26,22,.82), transparent 58%); }
.world-copy { position: relative; max-width: 850px; }
.world-copy h2 { margin-top: 32px; font-size: clamp(3rem, 6.2vw, 6.7rem); }
.world-copy > p { max-width: 630px; margin: 28px 0 0; color: rgba(255,248,228,.8); font-size: clamp(1rem, 1.4vw, 1.22rem); line-height: 1.7; }
.world-tags { position: relative; display: flex; flex-wrap: wrap; gap: 9px; margin-top: 42px; }
.world-tags span, .future-badges span { padding: 10px 15px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; backdrop-filter: blur(10px); }

.character { display: grid; grid-template-columns: minmax(320px, .85fr) 1.15fr; align-items: center; gap: clamp(40px, 9vw, 150px); overflow: hidden; background: var(--mango); }
.character-art { position: relative; min-height: 610px; display: grid; place-items: center; }
.character-crop { position: relative; z-index: 2; width: min(34vw, 450px); aspect-ratio: .54; overflow: hidden; filter: drop-shadow(0 35px 35px rgba(96,45,3,.28)); }
.character-crop img { position: absolute; width: 200%; max-width: none; top: 0; left: 0; }
.orbit { position: absolute; inset: 8%; border: 1px solid rgba(7,26,22,.28); border-radius: 50%; }
.orbit::before { content: ""; position: absolute; top: 7%; left: 17%; width: 15px; aspect-ratio: 1; border-radius: 50%; background: var(--coral); }
.orbit-two { inset: 20%; border-style: dashed; animation: spin 24s linear infinite; }
.character-copy { position: relative; z-index: 2; }
.character-copy h2 { margin-top: 34px; }
.character-copy > p { max-width: 670px; margin-top: 30px; color: rgba(7,26,22,.72); }
.character-copy blockquote { max-width: 660px; margin: 42px 0 0; padding: 22px 0 22px 24px; border-left: 3px solid var(--coral); font-weight: 800; font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.6; }

.screens { display: grid; grid-template-columns: minmax(250px, .55fr) minmax(0, 1.45fr); align-items: start; gap: 4vw; background: var(--sand); }
.screens-heading { position: sticky; top: 120px; }
.screens-heading h2 { margin-top: 34px; }
.phone-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.8vw, 26px); }
.phone { margin: 0; }
.phone-offset { margin-top: 110px; }
.phone-tail { margin-top: 38px; }
.phone img { width: 100%; aspect-ratio: 9/16; object-fit: cover; border: 7px solid var(--ink); border-radius: 30px; box-shadow: 0 30px 60px rgba(7,26,22,.2); }
.phone figcaption { display: flex; flex-direction: column; gap: 6px; padding: 18px 6px 0; }
.phone figcaption b { font-family: var(--display); font-size: 1.05rem; }
.phone figcaption span { color: #52675f; font-size: 13px; }

.future { background: var(--ink); color: var(--cream); }
.future-card { position: relative; min-height: 590px; display: flex; flex-direction: column; justify-content: center; padding: clamp(38px, 6vw, 90px); overflow: hidden; border: 1px solid rgba(255,255,255,.16); background: radial-gradient(circle at 84% 32%, rgba(24,201,188,.35), transparent 26%), linear-gradient(135deg, #0b3027, #071a16); }
.future-card h2 { max-width: 960px; font-size: clamp(2.8rem, 6.2vw, 6.6rem); }
.future-card > p:not(.eyebrow) { max-width: 600px; margin: 26px 0 0; color: rgba(255,248,228,.72); font-size: 1.05rem; line-height: 1.7; }
.future-badges { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 34px; }
.future-signal { position: absolute; right: 7%; top: 50%; width: min(33vw, 430px); aspect-ratio: 1; transform: translateY(-50%); }
.future-signal i { position: absolute; inset: 44%; border: 1px solid rgba(255,200,61,.6); border-radius: 50%; animation: signal 3.6s ease-out infinite; }
.future-signal i:nth-child(2) { animation-delay: 1.2s; }.future-signal i:nth-child(3) { animation-delay: 2.4s; }

.finale { min-height: 92svh; display: flex; align-items: flex-end; justify-content: center; color: var(--cream); background: linear-gradient(0deg, rgba(4,16,14,.96) 0%, rgba(4,16,14,.48) 42%, rgba(7,26,22,.08) 75%), url('/assets/rmi-banner.webp') center/cover; }
.developer-card { width: min(1180px, 100%); display: grid; grid-template-columns: minmax(220px, .75fr) minmax(280px, 1.35fr) auto; align-items: center; gap: 18px clamp(28px, 4vw, 68px); padding: clamp(28px, 4vw, 52px); border: 1px solid rgba(255,255,255,.2); background: linear-gradient(110deg, rgba(4,16,14,.94), rgba(13,43,34,.82)); box-shadow: 0 30px 80px rgba(0,0,0,.42); backdrop-filter: blur(18px); text-align: left; }
.developer-eyebrow { grid-column: 1 / -1; margin: 0; color: var(--mango); font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.developer-logo { display: block; padding: 8px 0; transition: transform .25s ease, filter .25s ease; }
.developer-logo:hover, .developer-logo:focus-visible { transform: translateY(-3px); filter: drop-shadow(0 10px 22px rgba(24,201,188,.22)); }
.developer-logo img { width: min(100%, 330px); }
.developer-lead { max-width: 590px; margin: 0; color: rgba(255,248,228,.76); font-size: clamp(.95rem, 1.25vw, 1.1rem); line-height: 1.7; }
.site-footer { display: flex; justify-content: space-between; gap: 30px; padding: 34px clamp(24px, 7vw, 110px); color: rgba(255,248,228,.72); background: #04100e; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }
.site-footer > div, .site-footer nav { display: flex; align-items: center; gap: 24px; }
.site-footer b { color: var(--cream); }
.site-footer a { text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--mango); }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 4px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 12px rgba(255,88,71,0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes signal { 0% { inset: 44%; opacity: 0; } 18% { opacity: 1; } 100% { inset: 1%; opacity: 0; } }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .hero { grid-template-columns: 1fr .62fr; padding-left: 28px; padding-right: 28px; }
  .hero h1 { font-size: clamp(3rem, 8vw, 5.5rem); }
  .poster-card { width: min(38vw, 380px); }
  .loop-intro { grid-template-columns: 1fr; }
  .loop-intro > p { max-width: 620px; }
  .loop-steps { grid-template-columns: repeat(2, 1fr); }
  .loop-steps li:nth-child(2) { border-right: 0; }
  .character { grid-template-columns: .8fr 1.2fr; gap: 35px; }
  .character-art { min-height: 520px; }
  .screens { grid-template-columns: 1fr; }
  .screens-heading { position: static; }
  .phone-gallery { max-width: 960px; margin-inline: auto; }
  .developer-card { grid-template-columns: minmax(210px, .8fr) 1.2fr; }
  .developer-card .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 700px) {
  .site-header { min-height: 70px; padding: 6px 18px; }
  .brand, .site-header.is-scrolled .brand { width: 150px; }
  .hero { display: flex; flex-direction: column; justify-content: flex-end; min-height: 990px; padding: 116px 20px 70px; }
  .hero-shade { background: linear-gradient(0deg, rgba(5,19,15,.98) 3%, rgba(5,19,15,.76) 55%, rgba(5,19,15,.18)); }
  .hero-world { object-position: 63% center; }
  .poster-card { order: -1; align-self: flex-end; width: min(72vw, 360px); margin: 0 7px 18px 0; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(2.65rem, 12.4vw, 4.5rem); }
  .hero-lead { margin-top: 21px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 19px; margin-top: 28px; }
  .scroll-note { display: none; }
  .section { padding: 84px 20px; }
  .loop-steps { grid-template-columns: 1fr; }
  .loop-steps li, .loop-steps li + li { min-height: 190px; padding: 22px 0; border-right: 0; border-bottom: 1px solid rgba(7,26,22,.14); }
  .loop-steps strong { margin-top: 38px; }
  .world { min-height: 820px; }
  .world-overlay { background: linear-gradient(0deg, rgba(7,26,22,.96), rgba(7,26,22,.18) 75%); }
  .character { grid-template-columns: 1fr; }
  .character-art { min-height: 480px; }
  .character-crop { width: min(72vw, 390px); }
  .screens { overflow: hidden; }
  .phone-gallery { display: flex; max-width: none; gap: 14px; margin-inline: -20px; padding: 0 20px 22px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .phone { flex: 0 0 min(76vw, 330px); scroll-snap-align: center; }
  .phone-offset, .phone-tail { margin-top: 0; }
  .phone img { border-width: 4px; border-radius: 18px; }
  .phone figcaption span { display: none; }
  .future-card { min-height: 620px; padding: 30px 22px; }
  .future-signal { top: 22%; right: -14%; width: 78vw; opacity: .58; }
  .finale { min-height: 760px; padding-inline: 20px; background-position: 58% center; }
  .developer-card { grid-template-columns: 1fr; gap: 24px; padding: 28px 22px; }
  .developer-card .button { grid-column: auto; justify-self: stretch; }
  .developer-logo img { width: min(100%, 280px); }
  .site-footer, .site-footer > div, .site-footer nav { flex-direction: column; align-items: flex-start; }
  .site-footer { padding: 30px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
