:root {
  color-scheme: light;
  --night: #140b2d;
  --night-light: #21123d;
  --paper: #faf8ff;
  --ink: #1c1231;
  --muted: #625772;
  --lavender: #cbafff;
  --gold: #ffd45e;
  --line: #e9e0f5;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 100%;
  line-height: 1.55;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
section[id] { scroll-margin-top: 1.25rem; }
:focus-visible { outline: 3px solid #8e59f7; outline-offset: 5px; }

.shell { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: .75rem; left: .75rem; padding: .7rem 1rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }
.hero-wrap { color: #fff; background: var(--night); }
.site-header { min-height: 5.35rem; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; border-bottom: 1px solid #ffffff1b; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.65rem; line-height: 1; font-weight: 850; letter-spacing: -.065em; text-decoration: none; }
.brand img { border-radius: .8rem; }
.section-nav, .site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1rem, 3vw, 2rem); }
.section-nav a { color: #e3d7f2; font-weight: 590; font-size: .94rem; text-decoration: none; }
.section-nav a:hover, .site-footer nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.site-actions, .language-links { display: flex; align-items: center; }
.site-actions { gap: clamp(.65rem, 2vw, 1.15rem); }
.language-links { gap: .1rem; padding: .15rem; border-radius: .7rem; background: #ffffff0e; }
.language-links a { display: grid; min-width: 2.35rem; min-height: 2.35rem; place-items: center; border-radius: .55rem; color: #eadbff; font-size: .875rem; font-weight: 720; text-decoration: none; }
.language-links a:hover { background: #ffffff16; }
.language-links a[aria-current] { background: #e3caff; color: var(--night); }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.25rem; padding: .7rem 1.25rem; border: 1px solid transparent; border-radius: .8rem; font-weight: 750; text-align: center; text-decoration: none; line-height: 1.25; transition: background-color .18s, border-color .18s, color .18s; }
.button-outline { gap: .4rem; min-height: 2.65rem; padding-inline: 1rem; border-color: #b89af563; color: #f8efff; font-size: .875rem; }
.button-outline:hover { background: #ffffff17; border-color: #d6bcff; }
.button-primary { background: var(--gold); color: var(--night); }
.button-primary:hover { background: #ffe48d; }
.button-dark { background: var(--night); color: white; }
.button-dark:hover { background: #362058; }
.text-link { color: #e4d6fe; font-size: .95rem; font-weight: 640; text-decoration: underline; text-decoration-color: #8569b3; text-underline-offset: .33em; }
.text-link:hover { text-decoration-color: currentColor; }

.hero { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(1.5rem, 3.6vw, 3.25rem); align-items: center; padding-block: clamp(3.5rem, 7.4vw, 6.5rem) clamp(4.6rem, 8vw, 7.1rem); }
.eyebrow { display: flex; align-items: center; gap: .58rem; color: var(--lavender); font-size: .875rem; font-weight: 740; letter-spacing: .11em; text-transform: uppercase; }
.waves { display: inline-flex; align-items: center; gap: 3px; color: inherit; }
.waves i { display: block; width: 3px; height: 12px; border-radius: 3px; background: currentColor; }
.waves i:nth-child(2) { height: 20px; }
.waves i:nth-child(3) { height: 16px; }
.waves i:nth-child(4) { height: 9px; }
.hero h1 { margin-block: .95rem 1.35rem; font-size: clamp(3.55rem, 7.15vw, 6.55rem); font-weight: 850; letter-spacing: -.05em; word-spacing: .025em; line-height: .99; }
.hero h1 em { color: var(--lavender); font-style: normal; }
html[lang="ru"] .hero h1 { font-size: clamp(2.4rem, 4.85vw, 4.65rem); }
.hero-body { max-width: 29rem; color: #dfd1ee; font-size: clamp(1.05rem, 1.65vw, 1.205rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.15rem; margin-top: 1.8rem; }
.hero-art { overflow: hidden; border: 1px solid #b69bea48; border-radius: clamp(1.1rem, 3vw, 2rem); background: var(--night-light); box-shadow: 0 1.75rem 5rem #08031561; }
.hero-art img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.features { padding-block: clamp(3.5rem, 7vw, 6rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 830; letter-spacing: -.068em; line-height: 1.05; }
.features h2 { margin-bottom: 1.65rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.feature { padding: 1.55rem; border: 1px solid var(--line); border-radius: 1.2rem; background: white; }
.feature-icon { display: grid; width: 3.1rem; height: 3.1rem; place-items: center; margin-bottom: 1.1rem; border-radius: .9rem; font-size: 1.45rem; }
.icon-voice { background: #eee3ff; }
.icon-games { background: #fff0c4; }
.icon-gifts { background: #ffe2f1; }
.feature h3 { font-size: 1.2rem; letter-spacing: -.033em; margin-bottom: .45rem; }
.feature p, .room-copy > p, .steps span { color: var(--muted); }

.room { background: #eee5ff; border-block: 1px solid #e6dbf6; }
.room-layout { display: grid; grid-template-columns: 1fr .94fr; align-items: center; gap: clamp(2.2rem, 8vw, 7.5rem); padding-block: clamp(3.5rem, 7.5vw, 6.5rem); }
.room-copy > p { margin-top: 1.05rem; max-width: 32rem; }
.steps { margin: 1.5rem 0 0; padding-left: 1.45rem; }
.steps li { padding: .48rem 0 .48rem .35rem; }
.steps li::marker { color: #6532b3; font-weight: 800; }
.steps b, .steps span { display: block; }
.steps b { font-size: 1.04rem; }
.steps span { margin-top: .1rem; }
.room-preview { min-width: 0; }
.demo-room { padding: clamp(1rem, 2.9vw, 1.6rem); color: white; border: 1px solid #ffffff22; border-radius: 1.5rem; background: radial-gradient(ellipse at 90% 8%, #402063 0%, transparent 66%), var(--night); box-shadow: 0 1.2rem 3rem #462b652b; }
.demo-header { display: flex; align-items: center; gap: .65rem; }
.demo-header strong { display: block; letter-spacing: -.02em; }
.demo-header small { display: block; color: #d6c0ff; font-size: .8rem; }
.demo-logo { flex: 0 0 3rem; }
.demo-logo img { border-radius: .8rem; }
.live { display: inline-flex; align-items: center; gap: .4rem; margin-left: auto; color: #e9dcff; font-size: .8rem; }
.live i { width: .48rem; height: .48rem; border-radius: 50%; background: #ff9bb9; }
.seats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; margin-block: 1.45rem; }
.seat { display: grid; justify-items: center; gap: .45rem; }
.seat b { font-size: .83rem; font-weight: 620; color: #f4e7ff; }
.avatar { display: inline-grid; width: clamp(2.5rem, 6vw, 3.5rem); aspect-ratio: 1; place-items: center; border-radius: 50%; font-size: 1.1rem; font-weight: 800; color: var(--night); }
.avatar-1 { background: #ffcce2; }
.avatar-2 { background: #cbb0ff; }
.avatar-3 { background: #ffd46b; }
.avatar.active { outline: 2px solid #d8bbff; outline-offset: 3px; }
.avatar.empty { color: #e9d6ff; border: 1px dashed #d5b1ff83; }
.demo-chat { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .75rem .9rem; border-radius: .8rem; background: #ffffff16; color: #f0e4ff; font-size: .875rem; }
.demo-chat strong { margin-right: .25rem; color: #e5c5ff; }
.demo-chat .waves { color: #c49cff; }
figcaption { margin-top: .65rem; text-align: center; color: var(--muted); font-size: .875rem; }

.download { padding-block: clamp(3.35rem, 7vw, 6rem); }
.download-body { display: grid; grid-template-columns: 1fr auto; gap: 1.4rem; align-items: center; padding: clamp(1.6rem, 5vw, 3.5rem); border-radius: 1.5rem; background: var(--gold); }
.download-label { color: #65451d; }
.download h2 { margin: .5rem 0 .8rem; }
.download-body p:last-child { max-width: 36rem; color: #493515; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 1.35rem; padding-block: 1.55rem 2rem; border-top: 1px solid var(--line); }
.footer-brand { font-size: 1.4rem; }
.footer-brand img { border-radius: .65rem; }
.site-footer nav a { color: var(--muted); font-size: .875rem; text-decoration: none; }

@media (max-width: 56rem) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: clamp(3rem, 7.7vw, 5.8rem); }
  .room-layout { gap: 2rem; }
}

@media (max-width: 44rem) {
  .shell { width: calc(100% - 2rem); }
  .site-header { min-height: 4.5rem; }
  .section-nav, .site-actions .button { display: none; }
  .hero, .room-layout { grid-template-columns: 1fr; }
  .hero { gap: 2.15rem; padding-top: 3rem; }
  .hero h1 { font-size: clamp(3.3rem, 11.8vw, 5.9rem); }
  html[lang="ru"] .hero h1 { font-size: clamp(2.3rem, 8vw, 4.5rem); }
  .feature-grid { grid-template-columns: 1fr; gap: .8rem; }
  .feature { padding: 1.3rem; }
  .download-body { grid-template-columns: 1fr; }
  .download-body .button { justify-self: start; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .site-footer nav { gap: .6rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
