:root {
  --bg: #080a0d;
  --panel: rgba(16, 20, 24, 0.72);
  --panel-strong: rgba(20, 25, 29, 0.9);
  --text: #f5f3ee;
  --muted: #aaa69e;
  --line: rgba(245, 243, 238, 0.14);
  --green: #75ff91;
  --amber: #d8ad68;
  --red: #ff6b5f;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: #4a5052 #07090b;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #07090b;
}

::-webkit-scrollbar-thumb {
  border: 3px solid #07090b;
  border-radius: 999px;
  background: #4a5052;
}

::-webkit-scrollbar-thumb:hover {
  background: #667073;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

#scene {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100vw;
  transform: translateX(-50%);
  z-index: 0;
  background: radial-gradient(circle at 60% 40%, #232825 0%, #0b0d0f 52%, #030405 100%);
  opacity: 0;
  transition: opacity 420ms ease-out;
}

.hero.scene-ready #scene {
  opacity: var(--scene-opacity, 1);
}

.hero-scene-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(233, 243, 247, 0.82) 34%, rgba(232, 242, 246, 0.66) 64%, rgba(8, 10, 13, 0.5) 100%),
    repeating-linear-gradient(
      92deg,
      transparent 0 22px,
      rgba(42, 103, 156, 0.72) 22px 30px,
      rgba(151, 190, 211, 0.54) 30px 41px,
      transparent 41px 72px
    ),
    radial-gradient(circle at 52% 36%, rgba(255, 255, 255, 0.92), rgba(195, 223, 236, 0.62) 34%, rgba(42, 103, 156, 0.3) 72%);
  transform: translateZ(0);
  transition: opacity 520ms ease-out;
}

.hero-scene-placeholder::before,
.hero-scene-placeholder::after {
  position: absolute;
  inset: -8% -4%;
  content: "";
  pointer-events: none;
}

.hero-scene-placeholder::before {
  opacity: 0.78;
  background:
    linear-gradient(90deg, transparent 0 7%, rgba(34, 92, 148, 0.52) 7% 8.5%, transparent 8.5% 13%),
    linear-gradient(90deg, transparent 0 17%, rgba(103, 153, 190, 0.48) 17% 19.5%, transparent 19.5% 26%),
    linear-gradient(90deg, transparent 0 31%, rgba(28, 78, 130, 0.58) 31% 33%, transparent 33% 41%),
    linear-gradient(90deg, transparent 0 48%, rgba(114, 167, 204, 0.52) 48% 50%, transparent 50% 59%),
    linear-gradient(90deg, transparent 0 66%, rgba(37, 99, 158, 0.54) 66% 68%, transparent 68% 76%),
    linear-gradient(90deg, transparent 0 84%, rgba(117, 169, 204, 0.5) 84% 86%, transparent 86% 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 74%, transparent 100%);
}

.hero-scene-placeholder::after {
  opacity: 0.92;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(255, 255, 255, 0.96) 0 24%, rgba(255, 255, 255, 0.76) 36%, transparent 58%),
    radial-gradient(ellipse at 25% 62%, rgba(255, 255, 255, 0.74) 0 20%, transparent 44%),
    radial-gradient(ellipse at 74% 18%, rgba(255, 255, 255, 0.62) 0 18%, transparent 42%),
    linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.54) 38%, rgba(8, 10, 13, 0.32) 100%);
  filter: blur(0.2px);
}

.hero.scene-ready .hero-scene-placeholder {
  opacity: 0;
}

.grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 86%);
}

.site-header {
  position: fixed;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(8, 10, 13, 0.68);
  backdrop-filter: blur(18px);
}

.brand,
.site-header nav,
.hero-meta,
.section,
.site-footer {
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  max-width: max-content;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

.site-header nav {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  max-width: max-content;
}

.site-header nav a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 13px;
  transition:
    color 180ms ease-out,
    border-color 180ms ease-out,
    background 180ms ease-out;
  cursor: pointer;
}

.site-header nav a:hover {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

main {
  position: relative;
  z-index: 1;
}

.section {
  max-width: var(--max);
  min-height: 92vh;
  margin: 0 auto;
  padding: 130px 18px 70px;
}

.hero {
  position: relative;
  display: grid;
  align-content: end;
  gap: 38px;
  max-width: none;
  min-height: 100vh;
  overflow: hidden;
  padding-left: max(18px, calc((100vw - var(--max)) / 2 + 18px));
  padding-right: max(18px, calc((100vw - var(--max)) / 2 + 18px));
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(to bottom, transparent 38%, rgba(0, 0, 0, 0.16) 66%, rgba(0, 0, 0, 0.56) 100%),
    radial-gradient(circle at 28% 70%, rgba(0, 0, 0, 0.34), transparent 34%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 980px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.42);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 100%;
  font-size: clamp(44px, 9.5vw, 128px);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.lede {
  max-width: 660px;
  color: rgba(245, 243, 238, 0.82);
  font-size: clamp(20px, 3vw, 34px);
  line-height: 1.15;
}

.hero-meta {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: rgba(8, 10, 13, 0.58);
  backdrop-filter: blur(16px);
}

.hero-meta div {
  min-height: 110px;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.hero-meta div:last-child {
  border-right: 0;
}

.hero-meta span,
.section-label,
.app-kicker,
dt,
.site-footer {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-meta strong {
  display: block;
  margin-top: 20px;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.apps-section,
.studio-section,
.contact-section,
.legal-section {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 38px;
  min-height: auto;
}

.section-label {
  position: sticky;
  top: 110px;
  align-self: start;
  display: flex;
  gap: 14px;
  padding-top: 12px;
}

.section-label p {
  margin: 0;
}

.section-body h2 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(36px, 7vw, 92px);
  line-height: 0.95;
  font-weight: 760;
}

.section-body > p,
.split p,
.legal-grid p {
  max-width: 680px;
  color: rgba(245, 243, 238, 0.72);
  font-size: 18px;
  line-height: 1.55;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 44px;
}

.app-card {
  min-height: 310px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  transition:
    transform 220ms ease-out,
    border-color 220ms ease-out,
    background 220ms ease-out;
}

.app-card:hover,
.app-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(117, 255, 145, 0.45);
  background: var(--panel-strong);
}

.app-open,
.app-row-main {
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.app-open {
  display: flex;
  min-height: 274px;
  flex-direction: column;
}

.app-icon {
  display: block;
  width: 62px;
  height: 62px;
  margin-bottom: 48px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.app-icon-img {
  width: 68px;
  height: 68px;
  margin-bottom: 44px;
  border-radius: 17px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.app-icon-one {
  background: linear-gradient(135deg, #f5f3ee, #75ff91 52%, #1b1f1d);
}

.app-icon-two {
  background: linear-gradient(135deg, #ff6b5f, #d8ad68 44%, #101418);
}

.app-icon-three {
  background: linear-gradient(135deg, #8bb7ff, #f5f3ee 50%, #111722);
}

.app-kicker {
  margin-bottom: 10px;
}

.app-card h3 {
  margin-bottom: 14px;
  font-size: 25px;
}

.app-card p:not(.app-kicker) {
  color: rgba(245, 243, 238, 0.68);
  line-height: 1.5;
}

.app-card a {
  display: inline-flex;
  margin-top: 22px;
  color: var(--green);
  font-weight: 700;
  cursor: pointer;
}

.app-open span {
  display: inline-flex;
  margin-top: auto;
  color: var(--green);
  font-weight: 700;
}

.loading-copy {
  grid-column: 1 / -1;
  color: var(--muted);
}

.catalog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.developer-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  color: var(--green);
  font-weight: 700;
  cursor: pointer;
}

.all-apps-list {
  display: grid;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.app-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.app-row-main {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.app-row-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
}

.app-row strong,
.app-row small {
  display: block;
}

.app-row strong {
  margin-bottom: 5px;
  font-size: 18px;
}

.app-row small {
  color: var(--muted);
  font-size: 14px;
}

.app-row > a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  color: var(--green);
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.app-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  pointer-events: none;
  visibility: hidden;
  overflow-y: auto;
}

.app-modal[aria-hidden="false"] {
  pointer-events: auto;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(3, 4, 5, 0.76);
  backdrop-filter: blur(12px);
  cursor: pointer;
  opacity: 0;
  transition: opacity 180ms ease-out;
}

.app-modal[aria-hidden="false"] .modal-backdrop {
  opacity: 1;
}

.modal-window {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: min(1060px, 100%);
  max-height: min(780px, calc(100dvh - 40px));
  overflow: hidden;
  border: 1px solid rgba(245, 243, 238, 0.24);
  background: #07090b;
  backdrop-filter: blur(24px);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(117, 255, 145, 0.08) inset;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition:
    opacity 180ms ease-out,
    transform 180ms ease-out;
}

.app-modal[aria-hidden="false"] .modal-window {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: #0b0e10;
}

.modal-title-block {
  display: flex;
  min-width: 0;
  gap: 14px;
  align-items: center;
}

.modal-title-block img {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: 16px;
}

.modal-title-block h2 {
  margin: 0 0 6px;
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1;
}

.modal-title-block p {
  margin: 0;
  color: var(--muted);
}

.modal-close {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.modal-close span,
.modal-close span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--text);
  content: "";
}

.modal-close span {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal-close span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.modal-content {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  gap: 20px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px;
  background: #07090b;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

.modal-copy p {
  color: rgba(245, 243, 238, 0.78);
  font-size: 17px;
  line-height: 1.58;
  white-space: pre-line;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.modal-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  color: var(--green);
  font-weight: 750;
  cursor: pointer;
}

.modal-screenshots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

.modal-screenshots img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(245, 243, 238, 0.14);
}

.screenshot-fallback {
  grid-column: 1 / -1;
  display: grid;
  min-height: 280px;
  place-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
}

.screenshot-fallback img {
  width: 96px;
  max-width: 96px;
  border: 0;
}

.screenshot-fallback span {
  max-width: 260px;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.7fr);
  gap: 44px;
  align-items: start;
}

.principles {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.principles li {
  padding: 15px 0;
  border-top: 1px solid var(--line);
  color: rgba(245, 243, 238, 0.86);
}

.contact-panel {
  padding: 34px;
  border: 1px solid var(--line);
  background: rgba(117, 255, 145, 0.08);
  backdrop-filter: blur(18px);
}

.contact-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green);
  font-size: clamp(26px, 6vw, 72px);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.legal-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(8, 10, 13, 0.62);
  backdrop-filter: blur(14px);
}

.legal-grid h2 {
  font-size: clamp(34px, 5vw, 62px);
}

dl {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
}

dt {
  margin-bottom: 5px;
}

dd {
  margin: 0;
  color: rgba(245, 243, 238, 0.82);
}

dd a,
.legal-grid a {
  color: var(--green);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 18px 44px;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.site-footer a,
.legal-link {
  cursor: pointer;
}

.legal-link {
  display: inline-flex;
  margin: 18px 14px 0 0;
  color: var(--green);
  font-weight: 750;
}

.legal-page {
  min-height: 100vh;
  padding: 140px 18px 80px;
}

.legal-document {
  max-width: 920px;
  margin: 0 auto;
}

.legal-document h1 {
  white-space: normal;
}

.legal-document h2 {
  margin: 42px 0 12px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

.legal-document p,
.legal-document li {
  color: rgba(245, 243, 238, 0.74);
  font-size: 18px;
  line-height: 1.58;
}

.legal-document a {
  color: var(--green);
}

.legal-intro {
  max-width: 720px;
  color: rgba(245, 243, 238, 0.84);
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.28;
}

@media (max-width: 820px) {
  .site-header {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    width: calc(100% - 24px);
    margin: 12px auto 0;
    padding: 12px;
  }

  .site-header nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .site-header nav::-webkit-scrollbar {
    display: none;
  }

  .site-header nav a {
    min-height: 30px;
    flex: 0 0 auto;
  }

  .section {
    min-height: auto;
    padding-top: 74px;
    padding-bottom: 52px;
  }

  .hero {
    min-height: calc(100svh - 116px);
    align-content: center;
    padding-top: 38px;
    padding-bottom: 40px;
  }

  .hero-meta,
  .app-grid,
  .split,
  .legal-grid,
  .modal-content,
  .modal-screenshots {
    grid-template-columns: 1fr;
  }

  .hero-meta div {
    min-height: 88px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-meta div:last-child {
    border-bottom: 0;
  }

  .apps-section,
  .studio-section,
  .contact-section,
  .legal-section {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-label {
    position: static;
  }

  .app-card {
    min-height: auto;
  }

  .contact-panel {
    padding: 22px;
  }

  .catalog-heading,
  .app-row {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .catalog-heading {
    flex-direction: column;
  }

  .app-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
  }

  .app-row > a {
    align-self: center;
    min-height: 34px;
    padding: 0 10px;
    white-space: nowrap;
  }

  .modal-window {
    max-height: calc(100dvh - 24px);
  }
}

@media (max-width: 520px) {
  .site-header {
    width: calc(100% - 24px);
    margin-top: 10px;
    padding: 10px 10px 8px;
  }

  .brand {
    font-size: 13px;
  }

  .site-header nav a {
    min-height: 28px;
    padding: 0 7px;
    font-size: 12px;
  }

  h1 {
    font-size: clamp(40px, 13vw, 58px);
    white-space: normal;
  }

  .section {
    padding: 58px 20px 46px;
  }

  .hero {
    min-height: calc(100svh - 104px);
    gap: 26px;
    align-content: center;
    padding-top: 24px;
    padding-bottom: 34px;
  }

  .hero-copy {
    max-width: 100%;
    padding-top: 0;
    text-shadow:
      0 2px 8px rgba(0, 0, 0, 0.62),
      0 12px 38px rgba(0, 0, 0, 0.72);
  }

  .hero-copy::before {
    display: none;
  }

  .hero::after {
    background:
      linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 0%, transparent 18%, rgba(4, 7, 10, 0.1) 36%, rgba(4, 7, 10, 0.34) 58%, rgba(4, 7, 10, 0.68) 100%),
      radial-gradient(ellipse at 33% 43%, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.24) 34%, transparent 64%),
      radial-gradient(ellipse at 88% 44%, rgba(255, 255, 255, 0.18), transparent 38%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.22), transparent 28%, transparent 72%, rgba(0, 0, 0, 0.14));
  }

  .hero.scene-ready #scene {
    filter: saturate(1.12) contrast(1.05);
  }

  .hero-scene-placeholder {
    background:
      linear-gradient(to bottom, rgba(255, 255, 255, 0.88), rgba(235, 244, 248, 0.78) 26%, rgba(221, 236, 243, 0.7) 56%, rgba(8, 10, 13, 0.62) 100%),
      linear-gradient(92deg, transparent 0 4%, rgba(25, 81, 138, 0.62) 4% 8%, transparent 8% 12%),
      linear-gradient(92deg, transparent 0 15%, rgba(95, 152, 194, 0.5) 15% 19%, transparent 19% 24%),
      linear-gradient(92deg, transparent 0 28%, rgba(31, 99, 162, 0.72) 28% 34%, transparent 34% 39%),
      linear-gradient(92deg, transparent 0 47%, rgba(125, 184, 218, 0.58) 47% 52%, transparent 52% 58%),
      linear-gradient(92deg, transparent 0 64%, rgba(22, 78, 132, 0.7) 64% 69%, transparent 69% 75%),
      linear-gradient(92deg, transparent 0 84%, rgba(92, 157, 201, 0.56) 84% 90%, transparent 90% 100%),
      radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.95), rgba(202, 225, 237, 0.7) 34%, rgba(42, 103, 156, 0.34) 72%);
  }

  .hero-scene-placeholder::before {
    opacity: 0.86;
    background:
      linear-gradient(to bottom, rgba(21, 78, 135, 0.72), rgba(21, 78, 135, 0.2)) 4% 4% / 7% 78% no-repeat,
      linear-gradient(to bottom, rgba(113, 172, 210, 0.62), rgba(113, 172, 210, 0.16)) 14% 22% / 5% 54% no-repeat,
      linear-gradient(to bottom, rgba(37, 107, 169, 0.66), rgba(37, 107, 169, 0.14)) 25% 9% / 8% 72% no-repeat,
      linear-gradient(to bottom, rgba(152, 195, 218, 0.58), rgba(152, 195, 218, 0.13)) 39% 26% / 6% 50% no-repeat,
      linear-gradient(to bottom, rgba(18, 77, 133, 0.78), rgba(18, 77, 133, 0.18)) 52% 0% / 8% 86% no-repeat,
      linear-gradient(to bottom, rgba(94, 158, 203, 0.66), rgba(94, 158, 203, 0.16)) 66% 18% / 5% 60% no-repeat,
      linear-gradient(to bottom, rgba(27, 92, 151, 0.72), rgba(27, 92, 151, 0.16)) 78% 8% / 7% 76% no-repeat,
      linear-gradient(to bottom, rgba(136, 188, 216, 0.56), rgba(136, 188, 216, 0.12)) 91% 24% / 6% 52% no-repeat;
    mask-image: linear-gradient(to bottom, black 0%, black 80%, transparent 100%);
  }

  .hero-scene-placeholder::after {
    opacity: 0.88;
    background:
      radial-gradient(ellipse at 50% 35%, rgba(255, 255, 255, 0.92) 0 20%, rgba(255, 255, 255, 0.74) 36%, transparent 58%),
      radial-gradient(ellipse at 28% 58%, rgba(255, 255, 255, 0.74) 0 18%, transparent 44%),
      radial-gradient(ellipse at 72% 18%, rgba(255, 255, 255, 0.58) 0 16%, transparent 42%),
      linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.38) 32%, rgba(8, 10, 13, 0.42) 100%);
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 11px;
  }

  .lede {
    max-width: 340px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 21px;
    line-height: 1.2;
  }

  .hero-meta div {
    min-height: 74px;
    padding: 14px;
  }

  .hero-meta strong {
    margin-top: 12px;
  }

  .section-body h2 {
    margin-bottom: 16px;
    font-size: clamp(38px, 12vw, 56px);
    line-height: 1;
  }

  .section-body > p,
  .split p,
  .legal-grid p {
    font-size: 17px;
    line-height: 1.5;
  }

  .app-grid {
    margin-top: 28px;
  }

  .app-card {
    padding: 14px;
  }

  .app-open {
    min-height: 0;
  }

  .app-icon-img {
    width: 64px;
    height: 64px;
    margin-bottom: 28px;
    border-radius: 16px;
  }

  .app-card h3 {
    font-size: 24px;
  }

  .app-row {
    padding: 12px 0;
  }

  .app-row-main {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
  }

  .app-row-icon {
    width: 54px;
    height: 54px;
    border-radius: 13px;
  }

  .app-row strong {
    font-size: 17px;
  }

  .app-row small {
    font-size: 13px;
  }

  .app-row > a {
    font-size: 12px;
  }

  .contact-panel,
  .legal-grid article {
    padding: 20px;
  }

  .contact-link {
    display: block;
    font-size: clamp(25px, 7.8vw, 34px);
    line-height: 1.08;
    white-space: nowrap;
    overflow-wrap: normal;
  }

  .app-modal {
    align-items: start;
    padding: 10px;
  }

  .modal-window {
    width: 100%;
    max-height: calc(100dvh - 20px);
    background: #07090b;
  }

  .modal-header {
    gap: 10px;
    padding: 8px;
  }

  .modal-title-block {
    gap: 10px;
  }

  .modal-title-block img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .modal-title-block h2 {
    font-size: clamp(18px, 5.6vw, 23px);
    line-height: 1.04;
  }

  .modal-title-block p {
    font-size: 13px;
  }

  .modal-close {
    width: 32px;
    height: 32px;
  }

  .modal-content {
    gap: 18px;
    padding: 16px;
  }

  .modal-copy p {
    font-size: 15px;
    line-height: 1.5;
  }

  .modal-actions {
    margin-top: 18px;
  }

  .modal-screenshots img {
    border-radius: 14px;
  }

  .legal-page {
    padding: 56px 18px 64px;
  }

  .legal-document h2 {
    margin-top: 32px;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

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