:root {
  --bg: #050609;
  --bg-soft: #0c0f15;
  --surface: #101521;
  --surface-2: #151c2b;
  --text: #f5f7ff;
  --text-soft: #b8c0d9;
  --border: rgba(255, 255, 255, 0.12);
  --accent: #19d7b6;
  --accent-2: #7dff8d;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.34);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1120px;
}

html[data-theme="light"] {
  --bg: #f5f7fb;
  --bg-soft: #eef2f8;
  --surface: #ffffff;
  --surface-2: #f2f6ff;
  --text: #0f1d34;
  --text-soft: #304766;
  --border: rgba(15, 29, 52, 0.17);
  --accent: #00a98f;
  --accent-2: #15c96a;
  --shadow: 0 14px 34px rgba(20, 38, 68, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: clip;
}

body {
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: radial-gradient(120% 120% at 50% -20%, #12243d 0%, var(--bg) 56%);
  color: var(--text);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html[data-theme="light"] body {
  background:
    radial-gradient(130% 120% at 50% -26%, #d9e7ff 0%, rgba(217, 231, 255, 0) 52%),
    linear-gradient(180deg, #f6f9ff 0%, #edf3ff 100%);
}

h1,
h2,
h3 {
  font-family: "Montserrat", "Manrope", sans-serif;
  margin: 0;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
}

.site-shell {
  isolation: isolate;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(2.8rem, 5vw, 6rem) 0;
}

.section-head {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--accent-2);
}

.skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--border);
}

.header-wrap {
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 900;
  font-family: "Montserrat", sans-serif;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  border-radius: 0.45rem;
  border: none;
  background: #0a0f1a;
  padding: 0.12rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

.header-nav a {
  white-space: nowrap;
  color: var(--text-soft);
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.33rem 0.75rem;
  background: var(--surface);
  transition: color 0.2s ease, transform 0.2s ease;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.header-nav a[aria-current="page"] {
  border-color: color-mix(in srgb, var(--accent) 64%, var(--border));
  color: var(--text);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-policy-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-soft);
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.header-policy-link:hover,
.header-policy-link:focus-visible {
  color: var(--text);
  background: var(--surface-2);
  transform: translateY(-1px);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem;
  gap: 0.2rem;
}

.lang-btn {
  min-width: 2.25rem;
  height: 2rem;
  border: none;
  background: transparent;
  color: var(--text-soft);
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lang-btn:hover,
.lang-btn:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.lang-btn.is-active {
  color: #041115;
  background: linear-gradient(115deg, var(--accent), var(--accent-2));
}

.icon-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.icon-btn:hover,
.icon-btn:focus-visible {
  transform: translateY(-2px);
  background: var(--surface-2);
}

.hero {
  padding-top: clamp(3.6rem, 8vw, 8rem);
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.hero-content {
  display: grid;
  gap: 1.2rem;
  max-width: 40rem;
}

.hero h1 {
  font-size: clamp(2rem, 7vw, 3.9rem);
}

.hero-subtitle {
  color: var(--text-soft);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(115deg, var(--accent), var(--accent-2));
  color: #041115;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 40%, transparent);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
}

.hero-visual {
  display: grid;
  place-items: center;
}

.phone-stack {
  width: min(100%, 220px);
  display: grid;
  gap: 0.65rem;
}

.phone-shot {
  border-radius: 30px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, #111a2b 0%, #0a1120 100%);
  box-shadow: var(--shadow);
  padding: 0.65rem;
}

.phone-shot img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  object-position: center top;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.phone-card {
  border-radius: 30px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, #1a2f54 0%, #0d1422 60%);
  box-shadow: var(--shadow);
  padding: 0.9rem;
}

.phone-card.alt {
  background: linear-gradient(170deg, #101928 0%, #08271e 100%);
}

.screen-title {
  display: block;
  color: #dce5ff;
  font-size: 0.84rem;
  margin-bottom: 0.5rem;
}

.screen-content {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.8rem;
}

.screen-banner {
  border-radius: 14px;
  min-height: 76px;
  background: linear-gradient(135deg, var(--accent), #3971f8);
  margin-bottom: 0.8rem;
}

.screen-content ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.preview-grid,
.feature-grid {
  display: grid;
  gap: 0.9rem;
}

.preview-tile,
.feature-card,
.glass-card,
.support-card,
.theme-card,
.lang-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.preview-tile,
.feature-card {
  padding: 1rem;
}

.preview-tile h3,
.feature-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.4rem;
}

.preview-tile p,
.feature-card p {
  color: var(--text-soft);
}

.split {
  display: grid;
  gap: 1rem;
}

.section-highlight {
  background: linear-gradient(170deg, color-mix(in srgb, var(--surface) 78%, transparent), transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

html[data-theme="light"] .site-header {
  background: color-mix(in srgb, #f8fbff 90%, transparent);
}

html[data-theme="light"] .hero-subtitle,
html[data-theme="light"] .page-subtitle,
html[data-theme="light"] .preview-tile p,
html[data-theme="light"] .feature-card p,
html[data-theme="light"] .support-card p,
html[data-theme="light"] .policy-content p,
html[data-theme="light"] .policy-content li,
html[data-theme="light"] .faq-list p,
html[data-theme="light"] .lang-card p {
  color: var(--text-soft);
}

html[data-theme="light"] .btn-ghost {
  background: #ffffff;
}

html[data-theme="light"] .btn-primary {
  color: #07211f;
}

html[data-theme="light"] .phone-card {
  background: linear-gradient(160deg, #dbe8ff 0%, #f8fbff 60%);
}

html[data-theme="light"] .phone-card.alt {
  background: linear-gradient(170deg, #d9f5ee 0%, #f7fffc 100%);
}

html[data-theme="light"] .screen-title {
  color: #2a3d60;
}

html[data-theme="light"] .screen-content {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(15, 29, 52, 0.14);
}

html[data-theme="light"] .section-highlight {
  background: linear-gradient(170deg, #eff5ff 0%, rgba(239, 245, 255, 0.35) 100%);
}

html[data-theme="light"] .faq-list details,
html[data-theme="light"] .preview-tile,
html[data-theme="light"] .feature-card,
html[data-theme="light"] .glass-card,
html[data-theme="light"] .support-card,
html[data-theme="light"] .theme-card,
html[data-theme="light"] .lang-card,
html[data-theme="light"] .policy-content,
html[data-theme="light"] .play-ru-main-card,
html[data-theme="light"] .play-ru-next-item,
html[data-theme="light"] .play-ru-cta-card {
  background: #ffffff;
}

html[data-theme="light"] .chip-list li,
html[data-theme="light"] .policy-nav a,
html[data-theme="light"] .play-ru-feature-item,
html[data-theme="light"] .play-ru-disclaimer-info {
  background: #f8fbff;
}

html[data-theme="light"] .play-ru-title-status,
html[data-theme="light"] .play-ru-dev-indicator {
  background: #ffffff;
}

html[data-theme="light"] .play-ru-aside-graphic {
  background:
    radial-gradient(circle at 15% 25%, rgba(21, 201, 106, 0.2), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(0, 169, 143, 0.2), transparent 45%),
    linear-gradient(135deg, rgba(171, 201, 255, 0.85), rgba(228, 241, 255, 0.95));
  border-color: rgba(15, 29, 52, 0.16);
}

html[data-theme="light"] .play-ru-hero-aside {
  background: linear-gradient(155deg, #ecf5ff 0%, #eefcf5 100%);
}

html[data-theme="light"] .theme-card.dark {
  background: linear-gradient(140deg, #16243f, #0b1424);
  color: #f3f7ff;
  border-color: rgba(11, 20, 36, 0.34);
}

html[data-theme="light"] .theme-card.dark p {
  color: #c2cce3;
}

.chip-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.chip-list li {
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.85rem 0.95rem;
}

.chip-list span {
  display: inline-block;
  margin-right: 0.5rem;
  font-weight: 800;
  color: var(--accent-2);
}

.glass-card {
  padding: 1.2rem;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}

.glass-card h3 {
  margin-bottom: 0.6rem;
}

.glass-card ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.glass-card li::before {
  content: "• ";
  color: var(--accent);
}

.theme-preview {
  display: grid;
  gap: 0.8rem;
}

.theme-card {
  padding: 1rem;
}

.theme-card p {
  color: var(--text-soft);
}

.theme-card.dark {
  background: linear-gradient(140deg, #131f35, #0a111e);
}

.theme-card.light {
  color: #0b1020;
  background: linear-gradient(140deg, #ffffff, #e6efff);
}

.theme-card.light p {
  color: #42547a;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-list details {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.9rem 1rem;
}

.faq-list summary {
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin-top: 0.5rem;
  color: var(--text-soft);
}

.support-card {
  padding: clamp(1rem, 3vw, 1.4rem);
  display: grid;
  gap: 0.9rem;
}

.support-card p {
  color: var(--text-soft);
}

.support-link {
  display: inline-flex;
  width: fit-content;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 800;
  color: var(--accent-2);
}

.support-link:hover,
.support-link:focus-visible {
  background: var(--surface-2);
}

.support-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.main-dev-section {
  padding-top: 1.2rem;
}

.main-dev-grid {
  display: grid;
  gap: 0.85rem;
}

.main-dev-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(1rem, 2.2vw, 1.4rem);
}

.main-dev-card h2 {
  font-size: clamp(1.45rem, 3.8vw, 2rem);
  margin-top: 0.4rem;
}

.main-dev-name-label {
  margin: 0.46rem 0 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.main-dev-title-line {
  margin: 0.46rem 0 0;
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.main-dev-title-value {
  font-size: clamp(1.45rem, 3.8vw, 2rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text);
}

.main-dev-line {
  margin: 0.58rem 0 0;
  color: var(--text-soft);
  line-height: 1.5;
}

.main-dev-line-address {
  margin-top: 0.62rem;
}

.main-dev-line-address .main-dev-key {
  display: block;
  margin: 0 0 0.15rem;
}

.main-dev-key {
  color: var(--text);
  font-weight: 800;
  margin-right: 0.35rem;
}

.main-dev-email {
  color: var(--accent-2);
  font-weight: 800;
}

.main-dev-email:hover,
.main-dev-email:focus-visible {
  text-decoration: underline;
}

.main-dev-address-block {
  display: block;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.3rem 0 2rem;
  margin-top: 1rem;
  color: var(--text-soft);
}

.footer-inner {
  display: grid;
  gap: 0.75rem;
}

.footer-developer-card {
  width: fit-content;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  padding: 0.62rem 0.78rem;
}

.footer-developer-title {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 800;
}

.footer-developer-meta {
  margin: 0.36rem 0 0;
  display: block;
  color: var(--text);
}

.footer-dev-name {
  font-weight: 800;
}

.footer-developer-line {
  margin: 0.35rem 0 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.footer-dev-key {
  color: var(--text);
  font-weight: 700;
  margin-right: 0.35rem;
}

.footer-dev-email {
  color: var(--accent-2);
  font-weight: 700;
}

.footer-dev-email:hover,
.footer-dev-email:focus-visible {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.page-title {
  font-size: clamp(2rem, 6vw, 3.2rem);
}

.page-subtitle {
  color: var(--text-soft);
  max-width: 52rem;
  margin-top: 0.8rem;
}

.play-page .section:first-child,
.privacy-page .section:first-child {
  padding-bottom: 1.6rem;
}

.play-ru-hero {
  padding-top: 1.3rem;
  padding-bottom: 1.25rem;
}

.play-ru-hero-grid {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.play-ru-subtitle {
  max-width: 38rem;
}

.play-ru-title-focus {
  display: inline-block;
  font-weight: 900;
  color: var(--accent-2);
  text-shadow: 0 0 24px color-mix(in srgb, var(--accent) 30%, transparent);
}

.play-ru-title-status {
  margin-left: 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  color: var(--text-soft);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.36rem 0.74rem;
  vertical-align: middle;
  transform: translateY(-0.12em);
}

.play-ru-dev-icon {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  background: color-mix(in srgb, var(--surface-2) 82%, transparent);
}

.play-ru-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.play-ru-badge {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.34rem 0.7rem;
}

.play-ru-badge-accent {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #041115;
  border-color: transparent;
  background: linear-gradient(115deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 36%, transparent);
  padding: 0.56rem 1.12rem;
}

.play-ru-hero-aside {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(155deg, #0f1a2d 0%, #0a1a16 100%);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.play-ru-aside-label {
  color: var(--accent-2);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.play-ru-hero-aside h2 {
  margin-top: 0.45rem;
  margin-bottom: 0.45rem;
  font-size: clamp(1.2rem, 3.5vw, 1.7rem);
}

.play-ru-hero-aside p {
  color: var(--text-soft);
}

.play-ru-aside-graphic {
  margin-top: 0.9rem;
  min-height: 88px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 15% 25%, rgba(125, 255, 141, 0.32), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(25, 215, 182, 0.28), transparent 45%),
    linear-gradient(135deg, rgba(39, 72, 124, 0.9), rgba(10, 24, 39, 0.95));
}

.play-ru-main {
  padding-top: 1rem;
}

.play-ru-main-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(1rem, 2.2vw, 1.4rem);
}

.play-ru-card-label {
  width: fit-content;
  border-radius: 999px;
  padding: 0.3rem 0.64rem;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-2) 90%, transparent);
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 800;
}

.play-ru-main-card h2 {
  margin-top: 0.6rem;
  font-size: clamp(1.4rem, 4vw, 2rem);
}

.play-ru-card-note {
  margin-top: 0.6rem;
  max-width: 46rem;
  border: 1px solid color-mix(in srgb, var(--accent) 44%, var(--border));
  background: linear-gradient(
    140deg,
    color-mix(in srgb, var(--surface-2) 90%, transparent),
    color-mix(in srgb, var(--surface) 95%, transparent)
  );
  border-radius: 12px;
  padding: 0.62rem 0.78rem;
}

.play-ru-card-description {
  margin: 0;
  color: var(--text);
}

.play-ru-card-translation {
  margin: 0.5rem 0 0;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.play-ru-feature-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.72rem;
}

.play-ru-feature-item {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  padding: 0.82rem 0.86rem;
}

.play-ru-feature-item h3 {
  font-size: 1.02rem;
  margin-bottom: 0.34rem;
}

.play-ru-feature-item p {
  color: var(--text-soft);
  font-size: 0.93rem;
}

.play-ru-disclaimer-info {
  margin-top: 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-2) 82%, transparent);
  padding: 0.7rem 0.8rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: start;
}

.play-ru-disclaimer-info span {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.play-ru-disclaimer-info p {
  color: var(--text-soft);
  margin: 0;
}

.play-ru-what-next {
  padding-top: 1.2rem;
}

.play-ru-next-grid {
  display: grid;
  gap: 0.75rem;
}

.play-ru-next-item {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.85rem 0.92rem;
}

.play-ru-next-item h3 {
  margin-bottom: 0.36rem;
  font-size: 1rem;
}

.play-ru-next-item p {
  color: var(--text-soft);
}

.play-ru-cta {
  padding-top: 1.2rem;
}

.play-ru-cta-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(
    160deg,
    color-mix(in srgb, var(--surface) 96%, transparent),
    color-mix(in srgb, var(--surface-2) 86%, transparent)
  );
  padding: clamp(1rem, 2.4vw, 1.35rem);
  display: grid;
  gap: 0.95rem;
}

.play-ru-cta-card p {
  color: var(--text-soft);
  max-width: 42rem;
}

.play-ru-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.bilingual-grid {
  display: grid;
  gap: 1rem;
}

.lang-card {
  padding: 1.1rem;
}

.lang-card h2 {
  font-size: 1.2rem;
}

.lang-card h3 {
  margin-top: 0.9rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.lang-card ul {
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.lang-card li::before {
  content: "— ";
  color: var(--accent);
}

.disclaimer {
  margin-top: 0.9rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  font-weight: 700;
}

.policy-meta {
  margin-top: 0.7rem;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.policy-layout {
  display: grid;
  gap: 1rem;
}

.policy-nav {
  display: grid;
  gap: 0.45rem;
  position: sticky;
  top: 5.8rem;
  align-self: start;
}

.policy-nav a {
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.5rem 0.65rem;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.28;
  white-space: normal;
  overflow-wrap: anywhere;
}

.policy-nav a:hover,
.policy-nav a:focus-visible {
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent) 60%, var(--border));
}

.policy-content {
  width: min(100%, 760px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(1rem, 2.2vw, 1.5rem);
}

.policy-content section + section {
  margin-top: 1.5rem;
}

.policy-content h2 {
  font-size: clamp(1.12rem, 2.8vw, 1.44rem);
  margin-bottom: 0.55rem;
}

.policy-content p,
.policy-content li {
  color: var(--text-soft);
}

.policy-content ul {
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.policy-content li::before {
  content: "• ";
  color: var(--accent);
}

[data-lang-visible] {
  display: none;
}

html[data-lang="ru"] [data-lang-visible="ru"],
html[data-lang="en"] [data-lang-visible="en"] {
  display: block;
}

@media (min-width: 720px) {
  .header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 1rem;
    padding-top: 0;
    padding-bottom: 0;
  }

  .header-inner {
    min-height: 72px;
  }

  .header-nav {
    overflow: visible;
    gap: 0.8rem;
  }

  .header-nav a {
    font-size: 0.94rem;
    background: transparent;
    border: none;
    padding: 0.2rem 0.3rem;
    border-radius: 0;
  }

  .header-nav a[aria-current="page"] {
    color: var(--accent-2);
    border: none;
  }

  .header-policy-link {
    font-size: 0.88rem;
    padding-inline: 0.82rem;
  }

  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }

  .phone-stack {
    width: min(100%, 245px);
  }

  .phone-shot img {
    height: 190px;
  }

  .preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .theme-preview {
    grid-template-columns: 1fr 1fr;
  }

  .support-card {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .bilingual-grid {
    grid-template-columns: 1fr 1fr;
  }

  .play-ru-hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.2rem;
  }

  .play-ru-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .play-ru-next-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .play-ru-cta-card {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .main-dev-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .header-wrap {
    display: block;
  }

  .header-inner {
    gap: 0.7rem;
  }

  .brand {
    max-width: 100%;
    font-size: 1rem;
  }

  .brand > span:last-child {
    max-width: 56vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-controls {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.45rem;
  }

  .lang-switch {
    flex: 0 0 auto;
  }

  .header-policy-link {
    margin-left: auto;
    min-width: 0;
    width: auto;
    justify-content: center;
    font-size: 0.78rem;
    min-height: 2rem;
    padding: 0.35rem 0.55rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .policy-nav {
    position: static;
    top: auto;
  }

  .policy-content {
    width: 100%;
    padding: 0.95rem;
  }

  .main-dev-line,
  .main-dev-title-line,
  .main-dev-address-block {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 1.1rem, var(--container));
  }

  .section {
    padding: 2.1rem 0;
  }

  .page-title {
    font-size: clamp(1.68rem, 9vw, 2.3rem);
    line-height: 1.18;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 11vw, 2.5rem);
    line-height: 1.15;
  }

  .hero-actions .btn,
  .play-ru-cta-actions .btn,
  .support-actions .support-link {
    width: 100%;
    justify-content: center;
  }

  .phone-stack {
    width: min(100%, 200px);
  }

  .phone-shot img {
    height: 156px;
  }

  .play-ru-title-focus {
    display: block;
  }

  .play-ru-title-status {
    margin-left: 0;
    margin-top: 0.5rem;
    transform: none;
  }

  .play-ru-badge-accent {
    font-size: 0.92rem;
    padding: 0.48rem 0.92rem;
  }
}

@media (max-width: 420px) {
  .header-inner {
    gap: 0.5rem;
  }

  .brand {
    font-size: 0.95rem;
    gap: 0.48rem;
  }

  .brand-mark {
    width: 1.75rem;
    height: 1.75rem;
  }

  .brand > span:last-child {
    max-width: 52vw;
  }

  .header-controls {
    gap: 0.35rem;
  }

  .header-policy-link {
    font-size: 0.74rem;
    min-height: 1.9rem;
    padding-inline: 0.45rem;
  }

  .lang-btn {
    min-width: 1.95rem;
    height: 1.85rem;
    font-size: 0.82rem;
  }

  .icon-btn {
    width: 2.1rem;
    height: 2.1rem;
  }

  .policy-nav a {
    font-size: 0.86rem;
  }
}

@media (min-width: 980px) {
  .preview-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .policy-layout {
    grid-template-columns: 270px minmax(0, 1fr);
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
