@font-face {
  font-family: "Zeny Jost";
  src: url("assets/fonts/Jost-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zeny Jost";
  src: url("assets/fonts/Jost-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zeny Manrope";
  src: url("assets/fonts/Manrope-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0d0c14;
  --bg-deep: #08070d;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.13);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --faint: rgba(255, 255, 255, 0.48);
  --line: rgba(255, 255, 255, 0.14);
  --accent: #ff61b2;
  --accent-strong: #db007d;
  --violet: #8a58ff;
  --blue: #42c8ff;
  --gold: #ffd34a;
  --radius-xs: 12px;
  --radius-sm: 16px;
  --radius-md: 24px;
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg-deep);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: "Zeny Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  background: var(--bg-deep);
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
}

body::before {
  z-index: -2;
  background:
    radial-gradient(circle at 18% 4%, rgba(255, 97, 178, 0.20), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(66, 200, 255, 0.13), transparent 27rem),
    linear-gradient(180deg, #1c102d 0%, var(--bg) 28%, var(--bg-deep) 100%);
}

body::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 7, 13, 0.02), rgba(8, 7, 13, 0.86)),
    linear-gradient(90deg, rgba(8, 7, 13, 0.70), transparent 25%, transparent 72%, rgba(8, 7, 13, 0.72));
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1180px, calc(100% - 40px));
  height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: fit-content;
  font-family: "Zeny Jost", system-ui, sans-serif;
  font-size: 23px;
  font-weight: 700;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-nav a,
.nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.site-nav a {
  padding: 0 14px;
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.site-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.12);
}

.nav-action {
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.10);
  color: var(--text);
}

.showcase-section,
.support-section,
.legal-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-section {
  position: relative;
  width: min(1760px, calc(100% - 40px));
  min-height: min(680px, calc(100vh - 126px));
  margin: 0 auto 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px max(28px, 5vw) 70px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 97, 178, 0.18), transparent 24rem),
    linear-gradient(90deg, rgba(7, 7, 12, 0.78) 0%, rgba(12, 13, 27, 0.48) 48%, rgba(7, 7, 12, 0.78) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    url("assets/images/hero-atmosphere.png") center / cover;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.38);
}

.hero-section::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.12), transparent 20rem),
    radial-gradient(circle at 50% 48%, rgba(66, 200, 255, 0.16), transparent 30rem),
    linear-gradient(180deg, transparent 72%, rgba(8, 7, 13, 0.78));
}

.hero-section::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
}

.page-section {
  min-height: calc(100vh - 82px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(860px, 100%);
  text-align: center;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Zeny Jost", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.page-title {
  font-size: clamp(64px, 9vw, 124px);
  line-height: 0.86;
}

h1 {
  max-width: none;
  font-size: clamp(84px, 11vw, 158px);
  line-height: 0.86;
  text-shadow: 0 26px 74px rgba(0, 0, 0, 0.42);
}

.hero-copy p {
  max-width: 700px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.42;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.36);
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.store-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 56px;
  overflow: hidden;
}

.store-badge img {
  display: block;
}

.app-store-badge img {
  width: 189px;
  height: 56px;
}

.google-play-badge img {
  position: absolute;
  top: -14px;
  left: -14px;
  width: 215px;
  height: 83px;
  max-width: none;
}

.showcase-section,
.support-section,
.legal-section {
  padding: 88px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.72fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

h2 {
  font-size: clamp(40px, 5.8vw, 72px);
  line-height: 0.94;
}

.section-heading p,
.support-copy p,
.legal-heading p,
.feature-panel p,
.legal-grid p,
.faq-panel p,
.site-footer p {
  color: var(--muted);
  line-height: 1.58;
}

.section-heading p {
  margin: 0;
  font-size: 18px;
}

.feature-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 16px;
}

.feature-panel {
  min-height: 315px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.05);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.feature-panel-large {
  grid-row: span 2;
  min-height: 646px;
}

.feature-panel img {
  width: min(100%, 420px);
  margin: 0 auto auto;
  object-fit: contain;
}

.feature-panel-large img {
  width: min(100%, 570px);
  margin-top: 26px;
}

.feature-panel h3 {
  margin-top: 18px;
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1;
}

.feature-panel p {
  margin: 12px 0 0;
  font-size: 16px;
}

.support-section {
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
  gap: 28px;
  align-items: center;
}

.support-copy {
  padding-right: 22px;
}

.support-copy p {
  max-width: 560px;
  margin: 20px 0 0;
  font-size: 19px;
}

.mail-card {
  width: min(100%, 460px);
  min-height: 112px;
  margin-top: 30px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 211, 74, 0.30), transparent 8rem),
    linear-gradient(135deg, rgba(255, 97, 178, 0.25), rgba(66, 200, 255, 0.10)),
    rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.mail-card span {
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: clamp(21px, 2.8vw, 30px);
  font-family: "Zeny Jost", system-ui, sans-serif;
  line-height: 1.05;
}

.mail-card strong {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.faq-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

details {
  border-top: 1px solid var(--line);
}

details:first-child {
  border-top: 0;
}

summary {
  cursor: pointer;
  padding: 22px 24px;
  font-family: "Zeny Jost", system-ui, sans-serif;
  font-size: 22px;
  line-height: 1.1;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--accent);
}

details[open] summary::after {
  content: "-";
}

.faq-panel p {
  margin: -8px 24px 22px;
  font-size: 16px;
}

.faq-panel a,
.legal-grid a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.34);
  text-underline-offset: 4px;
}

.legal-section {
  scroll-margin-top: 88px;
}

.legal-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-heading p {
  margin: 0;
  white-space: nowrap;
}

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

.legal-grid article {
  min-height: 196px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.055);
}

.legal-grid h3 {
  font-size: 23px;
  line-height: 1.08;
}

.legal-grid p {
  margin: 12px 0 0;
  font-size: 15px;
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 46px;
  display: grid;
  grid-template-columns: minmax(140px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 22px;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
  text-align: right;
  font-size: 14px;
}

.site-footer .store-legal {
  grid-column: 1 / -1;
  max-width: 860px;
  margin: -6px auto 0;
  color: var(--faint);
  text-align: center;
  font-size: 12px;
}

@media (max-width: 900px) {
  .site-header {
    width: min(100% - 28px, 640px);
    height: auto;
    min-height: 76px;
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .site-nav a {
    flex: 1;
    padding: 0 10px;
  }

  .nav-action {
    min-height: 38px;
    padding: 0 14px;
  }

  .hero-section,
  .showcase-section,
  .support-section,
  .legal-section,
  .site-footer {
    width: min(100% - 28px, 640px);
  }

  .hero-section {
    min-height: 0;
    padding: 42px 24px 52px;
  }

  h1 {
    font-size: clamp(68px, 19vw, 104px);
  }

  .hero-copy p {
    font-size: 18px;
  }

  .section-heading,
  .feature-layout,
  .support-section,
  .legal-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .showcase-section,
  .support-section,
  .legal-section {
    padding: 68px 0;
  }

  .feature-panel,
  .feature-panel-large {
    min-height: 360px;
    grid-row: auto;
  }

  .support-copy {
    padding-right: 0;
  }

  .legal-heading {
    display: block;
  }

  .legal-heading p {
    margin-top: 10px;
    white-space: normal;
  }

  .site-footer p {
    text-align: left;
  }

  .site-footer .store-legal {
    margin: 0;
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .site-header {
    width: min(100% - 24px, 420px);
  }

  .brand {
    font-size: 21px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .site-nav a {
    font-size: 13px;
  }

  .hero-section,
  .showcase-section,
  .support-section,
  .legal-section,
  .site-footer {
    width: min(100% - 24px, 420px);
  }

  .store-badges {
    justify-content: center;
    gap: 12px;
  }

  .store-badge {
    width: 169px;
    height: 50px;
  }

  .app-store-badge img {
    width: 169px;
    height: 50px;
  }

  .google-play-badge img {
    top: -13px;
    left: -13px;
    width: 193px;
    height: 75px;
  }

  .feature-panel {
    padding: 20px;
  }

  .feature-panel h3 {
    font-size: 28px;
  }

  summary {
    padding: 20px;
    font-size: 20px;
  }

  .faq-panel p {
    margin-right: 20px;
    margin-left: 20px;
  }

  .legal-grid article {
    min-height: auto;
    padding: 20px;
  }
}
