/* lunacyweb — місяць, зірки, кіно-типографіка */
:root {
  --bg: #050507;
  --bg2: #0b0b10;
  --ink: #efe9de;
  --mute: #a39d92;
  --dim: #6f6a62;
  --line: rgba(239, 233, 222, .13);
  --glow: #7ef2c0;
  --glow2: #3ed39a;
  --rose: #e9a8b8;
  --gold: #d2ad6a;
  --display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease2: cubic-bezier(.65, 0, .35, 1);
  --pad: clamp(20px, 5vw, 80px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
html.pre body { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
::selection { background: var(--glow); color: #04110b; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--glow); color: #04110b; padding: 10px 16px; border-radius: 30px; font-weight: 700; text-decoration: none; transition: top .3s; }
.skip:focus { top: 12px; }

/* ---------- фон ---------- */
.stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(1%, 3%); } }
main, .footer, .ticker { position: relative; z-index: 2; }

.progress { position: fixed; left: 0; top: 0; right: 0; height: 2px; z-index: 120; }
.progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--glow2), var(--glow), #fff); box-shadow: 0 0 12px var(--glow); }

/* ---------- курсор ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px var(--glow); }
.cursor__ring { position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1px solid rgba(239, 233, 222, .45); transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .4s, border-color .4s; }
.cursor__label { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(.4); opacity: 0; font: 600 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #04110b; white-space: nowrap; transition: .35s var(--ease); }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--glow); background: rgba(126, 242, 192, .08); }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--glow); border-color: var(--glow); }
.cursor.is-label .cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cursor.is-label .cursor__dot { opacity: 0; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.has-cursor input, .has-cursor textarea { cursor: text; }

/* ---------- інтро ---------- */
.intro { position: fixed; inset: 0; z-index: 150; display: none; place-items: center; background: radial-gradient(ellipse at 50% 46%, #0c0d12 0%, #030304 70%); overflow: hidden; perspective: 900px; }
html.pre .intro, html.intro-out .intro { display: grid; }
.intro { background: radial-gradient(ellipse at 50% 46%, rgba(12, 13, 18, .55) 0%, rgba(3, 3, 4, .9) 70%); }
.intro__stage { position: absolute; left: 50%; top: 44%; width: min(46vmin, 380px); aspect-ratio: 1; transform: translate(-50%, -50%); transition: transform 1.4s var(--ease2), opacity 1s; }
.intro__moon { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro__ring { position: absolute; inset: -1px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .0), 0 0 40px 6px rgba(126, 242, 192, 0); animation: ring 2.6s .2s var(--ease) forwards; }
@keyframes ring { 0% { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0), 0 0 0 0 rgba(126, 242, 192, 0); } 35% { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .9), 0 0 60px 10px rgba(126, 242, 192, .55); } 100% { box-shadow: 0 0 0 1px rgba(255, 255, 255, .15), 0 0 120px 20px rgba(126, 242, 192, .12); } }
.intro__flare { position: absolute; right: 9%; top: 9%; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 30px 12px #fff, 0 0 90px 30px rgba(126, 242, 192, .7); opacity: 0; transform: scale(.2); animation: flare 1.2s .75s var(--ease) forwards; }
.intro__flare::before, .intro__flare::after { content: ''; position: absolute; left: 50%; top: 50%; width: 260px; height: 1.5px; margin: -.75px 0 0 -130px; background: linear-gradient(90deg, transparent, #fff, transparent); }
.intro__flare::after { transform: rotate(90deg); width: 140px; margin-left: -70px; }
@keyframes flare { 0% { opacity: 0; transform: scale(.2); } 35% { opacity: 1; transform: scale(1.3); } 100% { opacity: 0; transform: scale(.6); } }
.intro__logo { position: absolute; left: 0; right: 0; top: calc(44% + min(23vmin, 190px) + 4vh); margin: 0; text-align: center; font: 800 clamp(40px, 8vw, 104px)/1 var(--display); letter-spacing: -.02em; transform-style: preserve-3d; }
.intro__logo .w2 { font: italic 400 1.02em/1 var(--serif); color: var(--glow); margin-left: .06em; text-shadow: 0 0 30px rgba(126, 242, 192, .6); }
.intro__logo .ch { display: inline-block; opacity: 0; transform: translateZ(-600px) rotateX(70deg) translateY(40px); filter: blur(12px); animation: ch 1.1s var(--ease) forwards; }
@keyframes ch { to { opacity: 1; transform: none; filter: blur(0); } }
.intro__sub { position: absolute; left: 0; right: 0; bottom: 9vh; margin: 0; display: flex; justify-content: center; gap: 18px; font: 500 11px/1 var(--sans); letter-spacing: .5em; text-transform: uppercase; color: var(--mute); opacity: 0; animation: fadeUp 1s 1.9s var(--ease) forwards; }
.intro__sub i { color: var(--glow); font-style: normal; letter-spacing: 0; }
.intro__count { position: absolute; right: var(--pad); bottom: 8vh; margin: 0; font: 500 12px/1 var(--display); letter-spacing: .2em; color: var(--mute); }
.intro__skip { position: absolute; left: var(--pad); bottom: 8vh; background: none; border: 0; color: var(--mute); font: 600 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; cursor: pointer; padding: 10px 0; }
.intro__skip:hover { color: var(--ink); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
html.intro-out .intro { animation: introOut 1.2s var(--ease2) forwards; }
html.intro-out .intro__stage { transform: translate(-50%, -50%) scale(5.5); opacity: 0; }
html.intro-out .intro__logo, html.intro-out .intro__sub, html.intro-out .intro__count, html.intro-out .intro__skip { opacity: 0 !important; transform: translateY(-30px) scale(1.1); transition: .7s var(--ease); }
@keyframes introOut { 0% { opacity: 1; } 60% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }

/* ---------- шапка ---------- */
.header { position: fixed; left: 0; right: 0; top: 0; z-index: 100; display: flex; align-items: center; gap: 28px; padding: 18px var(--pad); transition: padding .5s var(--ease), background .5s, backdrop-filter .5s, transform .6s var(--ease); }
.header.is-scrolled { padding-top: 12px; padding-bottom: 12px; background: rgba(5, 5, 7, .62); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); }
.header.is-hidden { transform: translateY(-110%); }
html.pre .header { transform: translateY(-120%); }
.logo { display: flex; align-items: baseline; gap: 2px; text-decoration: none; font: 800 19px/1 var(--display); letter-spacing: -.01em; margin-right: auto; }
.logo__moon { align-self: center; width: 18px; height: 18px; border-radius: 50%; margin-right: 9px; background: radial-gradient(circle at 34% 32%, #fff, #cfc9bd 40%, #6e6a63 72%, #222 100%); box-shadow: 0 0 14px rgba(126, 242, 192, .5), inset -4px -2px 6px rgba(0, 0, 0, .6); transition: transform .8s var(--ease); }
.logo:hover .logo__moon { transform: rotate(200deg) scale(1.15); }
.logo__w2 { font: italic 400 22px/1 var(--serif); color: var(--glow); }
.nav { display: flex; gap: 4px; }
.nav a { position: relative; padding: 8px 14px; text-decoration: none; font: 500 13.5px/1 var(--sans); color: var(--mute); border-radius: 30px; transition: color .3s; }
.nav a::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--glow); transform: scale(0); transition: transform .4s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a.is-active::after { transform: scale(1); box-shadow: 0 0 8px var(--glow); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(5, 5, 7, .5); position: relative; cursor: pointer; }
.burger i { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink); transition: .5s var(--ease); }
.burger i:first-child { top: 19px; } .burger i:last-child { top: 26px; }
.burger[aria-expanded="true"] i:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 22px; transform: rotate(-45deg); }
.drawer { position: fixed; inset: 0; z-index: 95; background: rgba(5, 5, 7, .97); display: flex; flex-direction: column; justify-content: center; padding: 90px var(--pad) 40px; clip-path: circle(0 at calc(100% - 44px) 40px); transition: clip-path .8s var(--ease2); }
.drawer.is-open { clip-path: circle(150% at calc(100% - 44px) 40px); }
.drawer nav { display: flex; flex-direction: column; gap: 4px; }
.drawer nav a { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; text-decoration: none; font: 800 clamp(26px, 8vw, 40px)/1.1 var(--display); border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(24px); transition: .6s var(--ease); }
.drawer.is-open nav a { opacity: 1; transform: none; }
.drawer.is-open nav a:nth-child(2) { transition-delay: .05s; } .drawer.is-open nav a:nth-child(3) { transition-delay: .1s; } .drawer.is-open nav a:nth-child(4) { transition-delay: .15s; } .drawer.is-open nav a:nth-child(5) { transition-delay: .2s; } .drawer.is-open nav a:nth-child(6) { transition-delay: .25s; }
.drawer nav small { font: 500 11px/1 var(--sans); color: var(--glow); letter-spacing: .1em; }
.drawer__moon { margin: 36px 0 0; font: 800 22px/1 var(--display); color: var(--dim); }
.drawer__moon em { color: var(--glow); font-size: 1.1em; }

/* ---------- кнопки ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 26px; border-radius: 60px; text-decoration: none; font: 600 14px/1 var(--sans); letter-spacing: .02em; border: 1px solid transparent; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s, border-color .4s, color .4s; white-space: nowrap; }
.btn span, .btn svg { position: relative; z-index: 2; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateY(3px); }
.btn--glow { background: var(--glow); color: #04110b; box-shadow: 0 0 0 0 rgba(126, 242, 192, .5), 0 10px 40px -10px rgba(126, 242, 192, .6); }
.btn--glow::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .75) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn--glow:hover::before { transform: translateX(120%); }
.btn--glow:hover { box-shadow: 0 0 0 6px rgba(126, 242, 192, .14), 0 16px 50px -8px rgba(126, 242, 192, .8); }
.btn--line { border-color: rgba(239, 233, 222, .3); color: var(--ink); background: rgba(5, 5, 7, .35); backdrop-filter: blur(6px); }
.btn--line::before { content: ''; position: absolute; inset: 0; z-index: 1; background: var(--ink); border-radius: inherit; transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--ease); }
.btn--line:hover { color: var(--bg); border-color: var(--ink); }
.btn--line:hover::before { transform: scaleY(1); }
.btn--big { min-height: 60px; padding: 0 34px; font-size: 15.5px; }
.header__cta { min-height: 42px; padding: 0 20px; font-size: 13px; }
.linkbtn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }

/* ---------- типографіка секцій ---------- */
.section { position: relative; padding: clamp(90px, 13vw, 180px) var(--pad); }
.head { max-width: 900px; margin-bottom: clamp(40px, 6vw, 80px); }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { margin: 0 0 22px; font: 500 11.5px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--mute); }
.kicker b { color: var(--glow); font-weight: 600; }
.title { margin: 0; font: 800 clamp(34px, 5.6vw, 82px)/1.02 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.title em { font-size: 1.12em; letter-spacing: -.01em; color: var(--glow); text-shadow: 0 0 40px rgba(126, 242, 192, .35); }
.title--xl { font-size: clamp(38px, 7.4vw, 120px); }
.lead { margin: 26px 0 0; max-width: 620px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.65; color: var(--mute); }
.head--center .lead { margin-left: auto; margin-right: auto; }

/* поява */
.rv { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.rv-words .w > span { display: inline-block; transform: translateY(105%) rotate(6deg); transform-origin: 0 100%; transition: transform 1s var(--ease); }
.rv-words.in .w > span { transform: none; }
.rv-words.done .w { overflow: visible; }
html.static .rv { opacity: 1; transform: none; }
html.static .rv-words .w > span { transform: none; }

/* ---------- ГЕРОЙ ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px var(--pad) 110px; overflow: hidden; }
.hero__giant { position: absolute; left: 0; right: 0; top: 50%; margin: 0; transform: translateY(-50%); text-align: center; pointer-events: none; font: 900 clamp(90px, 23vw, 400px)/.8 var(--display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(239, 233, 222, .11); white-space: nowrap; }
.hero__giant span { display: inline-block; background: linear-gradient(180deg, rgba(239, 233, 222, .07), rgba(239, 233, 222, 0) 80%); -webkit-background-clip: text; background-clip: text; transition: transform 1.6s var(--ease); }
html.pre .hero__giant span { transform: translateY(30%) scale(.9); }
.hero__giant, .hero__scroll, .hero__hint { transition: opacity 1.2s .4s; }
html.pre .hero__giant, html.pre .hero__scroll, html.pre .hero__hint { opacity: 0; }
html.hero-done .hero__title .line { overflow: visible; }
.hero__moonwrap { position: absolute; right: 6vw; top: 50%; width: min(48vw, 640px); aspect-ratio: 1; transform: translateY(-50%); will-change: transform; }
.hero__moon { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__halo { position: absolute; inset: -14%; border-radius: 50%; background: radial-gradient(circle, rgba(126, 242, 192, .16) 30%, rgba(126, 242, 192, .05) 48%, transparent 66%); filter: blur(10px); animation: halo 6s ease-in-out infinite; }
@keyframes halo { 50% { transform: scale(1.06); opacity: .75; } }
.hero__orbit { position: absolute; inset: -8%; width: 116%; height: 116%; overflow: visible; transform: rotate(-16deg); }
.hero__orbit ellipse { fill: none; stroke: rgba(239, 233, 222, .16); stroke-width: 1; stroke-dasharray: 2 6; }
.hero__orbit .sat { fill: var(--glow); filter: drop-shadow(0 0 6px var(--glow)); offset-path: path('M592 300a292 96 0 1 1-584 0a292 96 0 1 1 584 0'); animation: sat 14s linear infinite; }
@keyframes sat { to { offset-distance: 100%; } }
html.pre .hero__moonwrap { opacity: 0; }
.hero__moonwrap { transition: opacity 1.2s .2s; }

.corner { position: absolute; z-index: 3; font: 500 10.5px/1.6 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }
.corner b { display: block; color: var(--ink); font-weight: 600; }
.corner i { display: block; font-style: normal; color: var(--glow); margin-bottom: 10px; letter-spacing: 0; }
.corner--tl { left: var(--pad); top: 96px; }
.corner--tr { right: var(--pad); top: 96px; text-align: right; }
.corner--tr b { color: var(--glow); }
.corner--ml { left: var(--pad); bottom: 120px; display: none; }
.corner--mr { right: var(--pad); bottom: 120px; text-align: right; }
.corner--mr::after { content: ''; display: block; width: 1px; height: 44px; margin: 14px 0 0 auto; background: linear-gradient(var(--line), transparent); }
html.pre .corner { opacity: 0; }
.corner { transition: opacity 1s .9s; }

.hero__text { position: relative; z-index: 4; max-width: 760px; }
.status { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; padding: 8px 16px 8px 12px; border: 1px solid var(--line); border-radius: 40px; background: rgba(5, 5, 7, .5); backdrop-filter: blur(8px); font: 500 12.5px/1 var(--sans); color: var(--ink); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 0 rgba(126, 242, 192, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(126, 242, 192, 0); } 100% { box-shadow: 0 0 0 0 rgba(126, 242, 192, 0); } }
.hero__title { margin: 0; font: 800 clamp(38px, 5.5vw, 88px)/1 var(--display); letter-spacing: -.035em; }
.hero__title .line { display: block; overflow: hidden; padding: .04em 0 .1em; margin-bottom: -.06em; }
.hero__title .line > span { display: inline-block; transition: transform 1.3s var(--ease); }
.hero__title .line:nth-child(2) > span { transition-delay: .1s; } .hero__title .line:nth-child(3) > span { transition-delay: .2s; }
html.pre .hero__title .line > span { transform: translateY(110%) rotate(4deg); }
.hero__title em { font-size: 1.12em; color: var(--ink); font-weight: 300; }
.glow { font-weight: 800; color: var(--glow); text-shadow: 0 0 24px rgba(126, 242, 192, .55), 0 0 80px rgba(126, 242, 192, .35); position: relative; }
.glow::after { content: ''; position: absolute; left: 0; right: 0; bottom: .02em; height: .06em; border-radius: 4px; background: var(--glow); box-shadow: 0 0 16px var(--glow); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s .9s var(--ease); }
html:not(.pre) .glow::after { transform: scaleX(1); }
.hero__lead { max-width: 560px; margin: 30px 0 0; font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.7; color: var(--mute); transition: opacity 1s .5s, transform 1s .5s var(--ease); }
.hero__lead b { color: var(--ink); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; transition: opacity 1s .7s, transform 1s .7s var(--ease); }
html.pre .hero__lead, html.pre .hero__actions, html.pre .status { opacity: 0; transform: translateY(24px); }
.status { transition: opacity 1s .3s, transform 1s .3s var(--ease); }
.hero__scroll { position: absolute; left: 50%; bottom: 30px; z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 10px; transform: translateX(-50%); font: 500 10px/1 var(--sans); letter-spacing: .4em; text-transform: uppercase; color: var(--mute); text-decoration: none; }
.hero__scroll span { width: 1px; height: 46px; background: linear-gradient(var(--glow), transparent); position: relative; overflow: hidden; }
.hero__scroll span::after { content: ''; position: absolute; left: -1px; width: 3px; height: 14px; border-radius: 3px; background: #fff; animation: drop 2s var(--ease2) infinite; }
@keyframes drop { 0% { top: -14px; } 100% { top: 46px; } }
.hero__hint { position: absolute; right: var(--pad); bottom: 34px; margin: 0; font: italic 400 15px/1 var(--serif); color: var(--mute); }

/* ---------- бігучий рядок ---------- */
.ticker-wrap { position: relative; z-index: 2; overflow: hidden; padding: 30px 0; margin: -30px 0; }
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: rgba(5, 5, 7, .6); backdrop-filter: blur(6px); padding: 20px 0; transform: rotate(-1.2deg) scale(1.02); }
.ticker__track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker__track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 800 clamp(18px, 2vw, 28px)/1 var(--display); letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; }
.ticker__track span:nth-child(even) { font: italic 400 clamp(22px, 2.4vw, 34px)/1 var(--serif); text-transform: none; color: var(--mute); }
.ticker__track i { font-style: normal; color: var(--glow); font-size: .7em; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- МАКЕТИ: кільце ---------- */
.works { position: relative; height: 640vh; }
.works__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; padding: 96px var(--pad) 28px; }
.works__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.works__head .kicker { margin-bottom: 14px; }
.works__head .title { font-size: clamp(30px, 4.2vw, 64px); }
.ring-stage { position: relative; perspective: 2000px; perspective-origin: 50% 40%; min-height: 0; }
.ring { position: absolute; left: 50%; top: 46%; width: 0; height: 0; transform-style: preserve-3d; }
.ritem { position: absolute; left: calc(var(--w) / -2); top: calc(var(--h) / -2); width: var(--w); height: var(--h); transform-style: preserve-3d; cursor: pointer; transition: opacity .5s, filter .5s; }
.device { position: absolute; inset: 0; border-radius: 14px; padding: 10px 10px 22px; background: linear-gradient(160deg, #2a2a30, #121216 40%, #0b0b0e); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 100px -30px rgba(0, 0, 0, .9), 0 0 120px -40px var(--c, var(--glow)); }
.device::after { content: ''; position: absolute; left: 50%; bottom: 8px; width: 40px; height: 5px; margin-left: -20px; border-radius: 4px; background: #2c2c33; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 6px; overflow: hidden; background: #000; }
.screen img, .screen .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.poster { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--c) 30%, #000), #050507 70%); }
.poster b { font: 800 clamp(22px, 3vw, 46px)/1 var(--display); color: var(--c); letter-spacing: .08em; }
.screen iframe { position: absolute; left: 0; top: 0; width: 1440px; height: 900px; border: 0; transform-origin: 0 0; transform: scale(var(--s, .5)); opacity: 0; transition: opacity .8s; pointer-events: none; background: #000; }
.screen iframe.is-ready { opacity: 1; }
.screen::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .14) 0%, transparent 32%, transparent 70%, rgba(255, 255, 255, .04)); }
.ritem__tag { position: absolute; left: 0; right: 0; top: calc(100% + 16px); text-align: center; font: 500 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }
.ritem__tag { opacity: 0; transition: opacity .5s; }
.ritem.is-front .ritem__tag { opacity: 1; }
.ritem.is-front .device { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 50px 120px -30px rgba(0, 0, 0, .95), 0 0 160px -30px var(--c); }
.ring-floor { position: absolute; left: 50%; top: 80%; width: 120%; height: 260px; transform: translateX(-50%) rotateX(80deg); background: radial-gradient(ellipse at 50% 50%, rgba(126, 242, 192, .14), transparent 60%); pointer-events: none; }
.works__info { position: relative; z-index: 3; display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: clamp(20px, 4vw, 60px); padding-top: 18px; border-top: 1px solid var(--line); }
.works__num { margin: 0; font: 500 13px/1 var(--display); color: var(--mute); }
.works__num b { font-size: clamp(36px, 4vw, 56px); color: var(--ink); font-weight: 800; letter-spacing: -.04em; }
.works__style { margin: 0 0 6px; font: 600 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--c, var(--glow)); transition: color .5s; }
.works__name { margin: 0; font: 800 clamp(22px, 2.6vw, 38px)/1.05 var(--display); letter-spacing: -.02em; }
.works__desc { margin: 8px 0 0; max-width: 560px; color: var(--mute); font-size: 14.5px; line-height: 1.55; }
.works__meta.swap { animation: swap .7s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } }
.works__btns { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.works__dots { display: flex; gap: 6px; }
.works__dots button { width: 30px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.works__dots button::before { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--dim); transition: .4s var(--ease); }
.works__dots button.is-on::before { width: 22px; margin-left: -11px; border-radius: 6px; background: var(--c, var(--glow)); box-shadow: 0 0 10px var(--c, var(--glow)); }
.works__hint { position: absolute; left: 50%; bottom: 150px; transform: translateX(-50%); margin: 0; font: italic 400 15px/1 var(--serif); color: var(--mute); pointer-events: none; }
.hint-mob { display: none; }

/* ---------- НАВІЩО: телефон ---------- */
.why__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.why__text .title { font-size: clamp(30px, 4.2vw, 62px); }
.compare { margin-top: 44px; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: rgba(11, 11, 16, .6); backdrop-filter: blur(8px); }
.compare__row { display: grid; grid-template-columns: .8fr 1fr 1.2fr; border-top: 1px solid var(--line); opacity: 0; transform: translateX(-20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.compare.in .compare__row { opacity: 1; transform: none; }
.compare__row--head { border-top: 0; opacity: 1; transform: none; }
.compare__row > span { padding: 15px 18px; font-size: 14px; line-height: 1.45; }
.compare__row > span:first-child { font: 600 11px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); align-self: center; }
.compare__row > span:nth-child(2) { color: var(--mute); }
.compare__row > span:nth-child(3) { color: var(--ink); background: linear-gradient(90deg, rgba(126, 242, 192, .07), transparent); border-left: 1px solid rgba(126, 242, 192, .2); }
.compare__row > span:nth-child(3)::before { content: '✦ '; color: var(--glow); }
.compare__row--head > span { font: 600 11px/1 var(--sans) !important; letter-spacing: .25em !important; text-transform: uppercase; padding-top: 18px; padding-bottom: 18px; }
.compare__row--head > span:nth-child(3) { color: var(--glow); }
.compare__row--head > span:nth-child(3)::before { content: none; }
.compare__note { margin: 18px 0 0; color: var(--mute); font-size: 14.5px; }
.why__phone-wrap { position: sticky; top: 14vh; display: flex; flex-direction: column; align-items: center; gap: 26px; perspective: 1400px; padding-top: 20px; }
.phone3d { position: relative; width: min(300px, 70vw); aspect-ratio: 9 / 19; transform-style: preserve-3d; transform: rotateY(var(--ry, -18deg)) rotateX(var(--rx, 6deg)); }
.phone3d__face { position: absolute; inset: 0; border-radius: 44px; padding: 12px; background: linear-gradient(145deg, #34343c, #121216); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), 0 50px 90px -30px rgba(0, 0, 0, .9); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.phone3d__face--front { transform: translateZ(7px); }
.phone3d__face--back { transform: rotateY(180deg) translateZ(7px); }
.phone3d__face > div { position: relative; height: 100%; border-radius: 33px; overflow: hidden; }
.phone3d__face::before { content: ''; position: absolute; left: 50%; top: 22px; z-index: 3; width: 76px; height: 22px; margin-left: -38px; border-radius: 20px; background: #000; }
.phone3d__edge { position: absolute; top: 40px; bottom: 40px; left: -7px; width: 14px; background: linear-gradient(90deg, #1b1b20, #4a4a52, #1b1b20); transform: rotateY(90deg); }
.phone3d__edge--r { left: auto; right: -7px; }
.tpl { background: #f4f4f6; color: #222; padding: 54px 16px 16px; font-family: Arial, sans-serif; }
.tpl__bar { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 10px; background: #e6e6ea; font-size: 9.5px; color: #555; margin-bottom: 16px; white-space: nowrap; overflow: hidden; }
.tpl__bar span { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #888; flex: none; }
.tpl__logo { width: 52px; height: 52px; border-radius: 50%; background: #d4d4da; margin: 0 auto 8px; }
.tpl__h { margin: 0 0 10px; text-align: center; font-weight: 700; font-size: 17px; }
.tpl__tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.tpl__tabs i { flex: 1; height: 22px; border-radius: 12px; background: #dcdce2; }
.tpl__tabs i:first-child { background: #2b2b2b; }
.tpl__item { display: grid; grid-template-columns: 46px 1fr 34px; gap: 10px; align-items: center; padding: 8px; margin-bottom: 7px; background: #fff; border-radius: 10px; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.tpl__item i { height: 46px; border-radius: 8px; background: #e2e2e7; }
.tpl__item b { height: 9px; border-radius: 5px; background: #cfcfd6; box-shadow: 0 14px 0 -1px #e4e4e9; margin-bottom: 14px; }
.tpl__item s { height: 10px; border-radius: 5px; background: #bdbdc5; }
.tpl__stamp, .own__stamp { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%) rotate(-6deg); margin: 0; padding: 8px 14px; border: 2px solid currentColor; border-radius: 8px; font: 800 11px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.tpl__stamp { color: #9a9aa3; background: rgba(244, 244, 246, .9); }
.own { background: radial-gradient(circle at 70% 20%, #16302a, #070809 60%); padding: 64px 20px 20px; color: var(--ink); }
.own__glow { position: absolute; right: -40px; top: 40px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #cfc9bd 35%, #5a574f 70%, #111); box-shadow: 0 0 60px rgba(126, 242, 192, .4); }
.own__logo { position: relative; margin: 0 0 70px; font: 800 14px/1 var(--display); }
.own__logo em { color: var(--glow); font-size: 1.15em; }
.own__h { position: relative; margin: 0 0 18px; font: 800 25px/1.05 var(--display); letter-spacing: -.03em; }
.own__h em { color: var(--glow); font-weight: 400; font-size: 1.15em; }
.own__btn { position: relative; display: inline-block; padding: 10px 18px; border-radius: 30px; background: var(--glow); color: #04110b; font: 700 12px/1 var(--sans); }
.own__cards { position: relative; display: flex; gap: 8px; margin-top: 26px; }
.own__cards i { flex: 1; height: 84px; border-radius: 12px; background: linear-gradient(160deg, rgba(126, 242, 192, .25), rgba(255, 255, 255, .04)); border: 1px solid rgba(126, 242, 192, .25); }
.own__cards i:nth-child(2) { transform: translateY(-10px); background: linear-gradient(160deg, rgba(233, 168, 184, .3), rgba(255, 255, 255, .04)); border-color: rgba(233, 168, 184, .3); }
.own__cards i:nth-child(3) { background: linear-gradient(160deg, rgba(210, 173, 106, .3), rgba(255, 255, 255, .04)); border-color: rgba(210, 173, 106, .3); }
.own__stamp { color: var(--glow); background: rgba(5, 5, 7, .7); box-shadow: 0 0 20px rgba(126, 242, 192, .3); }
.why__flip { margin: 0; font: italic 400 16px/1 var(--serif); color: var(--mute); text-align: center; }

/* ---------- МОЖЛИВОСТІ ---------- */
.fgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; perspective: 1400px; }
.fcard { grid-column: span 2; position: relative; padding: 34px 30px 30px; border-radius: 26px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(20, 20, 26, .85), rgba(8, 8, 11, .85)); backdrop-filter: blur(8px); transform-style: preserve-3d; transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .6s var(--ease), border-color .5s, opacity 1s var(--ease), translate 1s var(--ease); overflow: hidden; }
.fcard:nth-child(4), .fcard:nth-child(5) { grid-column: span 3; }
.fcard.rv { transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); translate: 0 50px; }
.fcard.rv.in { translate: 0 0; }
.fcard::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(126, 242, 192, .13), transparent 45%); opacity: 0; transition: opacity .5s; }
.fcard:hover { border-color: rgba(126, 242, 192, .35); }
.fcard:hover::before { opacity: 1; }
.fcard__icon { width: 58px; height: 58px; margin-bottom: 24px; border-radius: 18px; display: grid; place-items: center; background: rgba(126, 242, 192, .08); border: 1px solid rgba(126, 242, 192, .22); transform: translateZ(40px); }
.fcard__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--glow); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.fcard__icon svg * { stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset 1.8s var(--ease); }
.fcard.in .fcard__icon svg * { stroke-dashoffset: 0; }
html.static .fcard__icon svg * { stroke-dashoffset: 0; }
.fcard__n { position: absolute; right: 26px; top: 28px; font: 800 13px/1 var(--display); color: var(--dim); }
.fcard h3 { margin: 0 0 18px; font: 800 21px/1.15 var(--display); letter-spacing: -.02em; transform: translateZ(28px); }
.fcard ul { list-style: none; margin: 0; padding: 0; transform: translateZ(16px); }
.fcard li { position: relative; padding: 9px 0 9px 24px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; color: #cfc9be; }
.fcard li::before { content: ''; position: absolute; left: 2px; top: 16px; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #bdb7ab 45%, #444 100%); box-shadow: 0 0 8px rgba(126, 242, 192, .5); }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 18px; }
.num { padding: 28px 26px; border-radius: 22px; border: 1px solid var(--line); background: rgba(11, 11, 16, .6); }
.num b { display: block; font: 800 clamp(34px, 4vw, 58px)/1 var(--display); letter-spacing: -.04em; color: var(--ink); }
.num b em { color: var(--glow); font-size: .8em; }
.num span { display: block; margin-top: 10px; color: var(--mute); font-size: 14px; }

/* ---------- ПРОЦЕС ---------- */
.phases { position: relative; }
.phases__line { position: absolute; left: 0; right: 0; top: 46px; height: 1px; background: var(--line); }
.phases__line i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--glow2), var(--glow)); box-shadow: 0 0 10px var(--glow); }
.phases__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.phase { position: relative; padding-top: 0; }
.pmoon { position: relative; width: 92px; height: 92px; border-radius: 50%; background: #121216; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; margin-bottom: 30px; transition: box-shadow .8s; }
.pmoon::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #fbf8f1, #d6d0c4 40%, #8d887e 75%, #4a4741); }
.pmoon::after { content: ''; position: absolute; top: 0; bottom: 0; width: 100%; border-radius: 50%; background: #0a0a0d; left: calc(var(--sh) * 1%); transition: left 1.4s var(--ease); }
.phase.is-lit .pmoon { box-shadow: inset 0 0 0 1px rgba(126, 242, 192, .3), 0 0 40px rgba(126, 242, 192, .28); }
.phase:not(.is-lit) .pmoon::after { left: 0 !important; }
.phase__n { margin: 0 0 10px; font: 500 11px/1 var(--sans); letter-spacing: .3em; color: var(--glow); }
.phase h3 { margin: 0 0 12px; font: 800 19px/1.2 var(--display); letter-spacing: -.02em; }
.phase p { margin: 0; color: var(--mute); font-size: 14.5px; line-height: 1.6; }
.phases__note { margin: 50px 0 0; text-align: center; font: italic 400 clamp(22px, 2.4vw, 32px)/1.3 var(--serif); }
.phases__note b { font-style: normal; font: 800 .8em var(--display); color: var(--glow); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq__head { position: sticky; top: 120px; }
.faq__head .title { font-size: clamp(32px, 4.4vw, 64px); }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; font: 700 clamp(16px, 1.5vw, 20px)/1.35 var(--display); letter-spacing: -.01em; transition: color .3s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--glow); }
.qa summary i { position: relative; flex: none; width: 34px; height: 34px; margin-left: auto; border-radius: 50%; border: 1px solid var(--line); transition: transform .6s var(--ease), background .4s, border-color .4s; }
.qa summary i::before, .qa summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; }
.qa summary i::after { transform: rotate(90deg); transition: transform .5s var(--ease); }
.qa[open] summary i { transform: rotate(180deg); background: var(--glow); border-color: var(--glow); color: #04110b; }
.qa[open] summary i::after { transform: rotate(0); }
.qa__body { overflow: hidden; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.qa[open] .qa__body { grid-template-rows: 1fr; }
.qa__body > div { min-height: 0; }
.qa__body p { margin: 0; padding: 0 60px 26px 0; color: var(--mute); line-height: 1.7; }

/* ---------- БРИФ ---------- */
.brief { overflow: hidden; }
.brief__eclipse { position: absolute; left: 50%; top: 40px; width: min(80vw, 900px); aspect-ratio: 1; transform: translateX(-50%); pointer-events: none; }
.brief__eclipse span { position: absolute; inset: 0; border-radius: 50%; background: #050507; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 -10px 80px rgba(126, 242, 192, .35), 0 -2px 20px rgba(255, 255, 255, .3), inset 0 10px 60px rgba(126, 242, 192, .08); transform: translateY(var(--ey, 30%)); opacity: .9; }
.brief .head { position: relative; }
.bform { position: relative; max-width: 860px; margin: 0 auto; padding: clamp(24px, 4vw, 48px); border-radius: 30px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(18, 18, 24, .9), rgba(7, 7, 10, .92)); backdrop-filter: blur(12px); box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(126, 242, 192, .05); }
.bform fieldset { border: 0; margin: 0 0 26px; padding: 0; }
.bform legend { padding: 0; margin-bottom: 14px; font: 700 15px/1 var(--display); }
.bform legend small { margin-left: 8px; font: 400 13px var(--sans); color: var(--mute); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 11px 18px; border-radius: 40px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); cursor: pointer; font: 500 14px/1 var(--sans); transition: .35s var(--ease); }
.pill:hover { border-color: rgba(126, 242, 192, .5); }
.pill[aria-pressed="true"] { background: var(--glow); color: #04110b; border-color: var(--glow); box-shadow: 0 0 22px rgba(126, 242, 192, .35); transform: translateY(-2px); }
.bform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; margin-bottom: 8px; font-size: 13px; color: var(--mute); }
.field input, .field textarea { width: 100%; padding: 15px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(0, 0, 0, .35); color: var(--ink); font: 400 15.5px/1.4 var(--sans); transition: border-color .3s, box-shadow .3s; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #77726a; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--glow); box-shadow: 0 0 0 4px rgba(126, 242, 192, .12); }
.field.is-err input { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(233, 168, 184, .14); }
.bform__foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 10px; }
.bform__note { margin: 0; flex: 1 1 260px; font-size: 13px; color: var(--mute); }
.bform__done { margin-top: 24px; padding: 22px; border-radius: 18px; border: 1px solid rgba(126, 242, 192, .3); background: rgba(126, 242, 192, .06); animation: fadeUp .8s var(--ease); }
.bform__done-t { margin: 0 0 6px; font: 800 18px/1.2 var(--display); color: var(--glow); }
.bform__done p { margin: 0 0 14px; color: var(--mute); }
.contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.contacts--main { margin-top: 40px; }
.contacts:empty { display: none; }
.clink { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 40px; border: 1px solid var(--line); text-decoration: none; font: 600 14px/1 var(--sans); transition: .4s var(--ease); background: rgba(5, 5, 7, .5); }
.clink:hover { border-color: var(--glow); color: var(--glow); transform: translateY(-3px); }
.clink small { color: var(--mute); font-weight: 400; }

/* мобільна кнопка */
.mcta { display: none; }

/* ---------- ФУТЕР ---------- */
.footer { padding: 60px var(--pad) 30px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__giant { margin: 0 0 30px; display: flex; justify-content: center; align-items: baseline; font: 900 clamp(56px, 16vw, 270px)/.85 var(--display); letter-spacing: -.06em; white-space: nowrap; }
.footer__giant span { background: linear-gradient(180deg, var(--ink) 20%, rgba(239, 233, 222, .05) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__giant em { font-weight: 400; font-size: 1.05em; color: var(--glow); text-shadow: 0 0 60px rgba(126, 242, 192, .4); letter-spacing: -.02em; }
.footer__giant > * { display: inline-block; transform: translateY(var(--fy, 40%)); transition: transform .2s linear; }
.footer__row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--mute); }

/* ---------- ДІАЛОГИ ---------- */
dialog { border: 0; padding: 0; color: var(--ink); background: transparent; }
dialog::backdrop { background: rgba(3, 3, 5, .82); backdrop-filter: blur(8px); }
.xbtn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(5, 5, 7, .6); cursor: pointer; flex: none; transition: transform .5s var(--ease), border-color .3s; }
.xbtn:hover { transform: rotate(90deg); border-color: var(--glow); }
.xbtn i { position: absolute; left: 13px; right: 13px; top: 21px; height: 1.5px; background: var(--ink); transform: rotate(45deg); }
.xbtn i:last-child { transform: rotate(-45deg); }
.viewer { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; background: #050507; }
.viewer[open] { display: flex; flex-direction: column; animation: vin .7s var(--ease); }
@keyframes vin { from { opacity: 0; transform: scale(.96); } }
.viewer__bar { display: flex; align-items: center; gap: 18px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.viewer__title { display: flex; align-items: center; gap: 12px; margin: 0 auto 0 0; min-width: 0; }
.viewer__title b { font: 800 16px/1 var(--display); }
.viewer__title span:not(.viewer__dot) { font-size: 13px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer__dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.viewer__modes { display: flex; padding: 4px; border-radius: 30px; border: 1px solid var(--line); }
.vmode { padding: 8px 14px; border: 0; border-radius: 30px; background: none; cursor: pointer; font: 500 13px/1 var(--sans); color: var(--mute); }
.vmode.is-on { background: var(--ink); color: var(--bg); }
.viewer__new { font-size: 13px; color: var(--mute); text-decoration: none; white-space: nowrap; }
.viewer__new:hover { color: var(--glow); }
.viewer__body { flex: 1; min-height: 0; display: grid; place-items: center; padding: 16px; background: radial-gradient(circle at 50% 30%, #101015, #050507 70%); }
.viewer__frame { width: 100%; height: 100%; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); transition: width .7s var(--ease), height .7s var(--ease), border-radius .7s; }
.viewer__frame iframe { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.viewer.is-phone .viewer__frame { width: 390px; height: min(844px, 100%); border-radius: 40px; box-shadow: 0 0 0 10px #1a1a1f, 0 0 0 11px rgba(255, 255, 255, .12), 0 40px 100px rgba(0, 0, 0, .8); }
.legal { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 40px); padding: 40px 36px 34px; border-radius: 26px; background: #0c0c11; border: 1px solid var(--line); overflow: auto; }
.legal[open] { animation: vin .6s var(--ease); }
.legal .xbtn { position: absolute; right: 16px; top: 16px; }
.legal h3 { margin: 0 0 22px; font: 800 24px/1.1 var(--display); padding-right: 50px; }
.legal h4 { margin: 20px 0 6px; font: 700 14px/1.3 var(--display); color: var(--glow); }
.legal p { margin: 0; color: var(--mute); font-size: 14.5px; line-height: 1.65; }

/* ---------- АДАПТИВ ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .hero__moonwrap { right: -10vw; width: min(70vw, 600px); opacity: .9; }
  .why__grid { grid-template-columns: 1fr; }
  .why__phone-wrap { position: relative; top: 0; order: -1; }
  .fcard, .fcard:nth-child(4), .fcard:nth-child(5) { grid-column: span 3; }
  .fcard:nth-child(5) { grid-column: span 6; }
  .phases__list { grid-template-columns: 1fr; gap: 0; }
  .phases__line { left: 46px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .phases__line i { transform: scaleY(var(--p, 0)); transform-origin: 50% 0; }
  .phase { display: grid; grid-template-columns: 92px 1fr; gap: 26px; padding-bottom: 36px; }
  .pmoon { margin: 0; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .header { padding: 14px 18px; gap: 12px; }
  .header__cta { display: none; }
  .corner--tl, .corner--tr, .corner--mr, .hero__hint { display: none; }
  .hero { align-items: flex-end; padding: 0 20px 96px; }
  .hero__moonwrap { left: 50%; right: auto; top: 25%; width: 88vw; transform: translate(-50%, -50%); }
  .hero__giant { top: 25%; font-size: 30vw; }
  .hero__title { font-size: clamp(30px, 9.4vw, 46px); }
  .hero__lead { margin-top: 20px; font-size: 15.5px; }
  .hero__actions { margin-top: 26px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .status { margin-bottom: 18px; }
  .hero__scroll { display: none; }
  .works { height: 560vh; }
  .works__pin { padding: 86px 18px 20px; }
  .works__hint { display: none; }
  .works__head { display: block; }
  .works__head .kicker { margin-bottom: 10px; }
  .works__head .title { font-size: 30px; }
  .why__phone-wrap { order: 0; }
  .phone3d { width: 230px; }
  .phone3d__face { border-radius: 36px; padding: 10px; }
  .phone3d__face > div { border-radius: 27px; }
  .tpl { padding-top: 46px; }
  .tpl__item:nth-of-type(n+8) { display: none; }
  .hint-desk { display: none; } .hint-mob { display: inline; }
  .ring-stage { perspective: 1100px; }
  .works__info { grid-template-columns: 1fr; gap: 12px; }
  .works__num { display: none; }
  .works__desc { font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .works__btns { flex-direction: row-reverse; justify-content: space-between; align-items: center; }
  .compare__row { grid-template-columns: 1fr 1fr; }
  .compare__row > span:first-child { grid-column: 1 / -1; padding-bottom: 0; }
  .compare__row--head > span:first-child { display: none; }
  .compare__row > span { padding: 12px 14px; font-size: 13.5px; }
  .fgrid { grid-template-columns: 1fr; }
  .fcard, .fcard:nth-child(4), .fcard:nth-child(5) { grid-column: auto; }
  .fcard { padding: 28px 22px 22px; }
  .numbers { grid-template-columns: 1fr 1fr; gap: 10px; }
  .num { padding: 20px 18px; }
  .phase { grid-template-columns: 64px 1fr; gap: 18px; }
  .pmoon { width: 64px; height: 64px; }
  .phases__line { left: 32px; }
  .bform__row { grid-template-columns: 1fr; gap: 0; }
  .qa__body p { padding-right: 0; }
  .footer__row { flex-direction: column; align-items: center; text-align: center; }
  .viewer__bar { flex-wrap: wrap; gap: 10px; padding: 10px 14px; }
  .viewer__title span:not(.viewer__dot) { display: none; }
  .viewer__modes { display: none; }
  .viewer__body { padding: 0; }
  .viewer__frame { border-radius: 0; }
  .mcta { position: fixed; left: 14px; right: 14px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 80; display: flex; transform: translateY(150%); transition: transform .6s var(--ease); }
  .mcta.is-on { transform: none; }
  .mcta .btn { flex: 1; min-height: 54px; }
  .legal { padding: 34px 22px 26px; }
}

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