:root {
  --bg: #07060a;
  --bg-2: #0c0a11;
  --bg-3: #111018;
  --panel: #181620;
  --panel-2: #201c28;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #fff8f4;
  --muted: #c9bec4;
  --soft: #948a91;
  --orange: #ff7a18;
  --pink: #ff315f;
  --teal: #2dd6c7;
  --gold: #f7b733;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: 68px;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 0;
}

p {
  color: var(--muted);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 40px;
  background: rgba(7, 6, 10, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 850;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 4px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lang-switch .lang-current {
  color: #ffffff;
  font-weight: 800;
}

.lang-switch a {
  color: var(--muted);
}

.lang-switch a:hover,
.lang-switch a:focus-visible {
  color: #ffffff;
}

@media (max-width: 740px) {
  .lang-switch {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    margin-top: 10px;
  }
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: #ffffff;
}

.section-inner {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 850;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(255, 74, 56, 0.25);
}

.button.secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.home-hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 6, 10, 0.99) 0%, rgba(7, 6, 10, 0.9) 39%, rgba(7, 6, 10, 0.38) 74%, rgba(7, 6, 10, 0.72) 100%),
    linear-gradient(180deg, rgba(7, 6, 10, 0.2) 0%, rgba(7, 6, 10, 0.86) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 134px 0 78px;
}

.hero-mark-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
  box-shadow: var(--shadow);
}

.hero-mark {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 0;
  color: #eee6e2;
  font-size: 21px;
}

.availability-panel {
  display: grid;
  gap: 8px;
  width: min(100%, 510px);
  margin-top: 30px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.availability-panel p {
  margin: 0;
  color: #fff7f3;
  font-size: 15px;
  font-weight: 850;
}

.download-row,
.launch-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: #09080d;
  font-size: 14px;
  font-weight: 900;
}

.store-button.disabled {
  cursor: default;
  opacity: 0.68;
  pointer-events: none;
}

.official-strip {
  background: #09080d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.official-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.official-grid div {
  min-height: 122px;
  padding: 26px;
  background: #09080d;
}

.official-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.official-grid strong {
  display: block;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.28;
}

.app-section,
.visual-section,
.security-section,
.launch-section,
.page-hero,
.content-band {
  padding: 92px 0;
}

.app-section {
  background: var(--bg);
}

.security-section,
.content-band {
  background: var(--bg-2);
}

.split-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.split-layout.reversed {
  grid-template-columns: 0.9fr 1.1fr;
}

.section-copy {
  max-width: 500px;
}

.section-copy p:last-child {
  margin-bottom: 0;
  font-size: 18px;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list article,
.link-list a,
.legal-panel,
.support-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 24px;
}

.feature-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 49, 95, 0.95), rgba(255, 122, 24, 0.95));
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.feature-list h3,
.feature-list p {
  grid-column: 2;
}

.feature-list p,
.link-list small,
.visual-copy p,
.legal-panel p,
.legal-panel li,
.support-card p,
.page-copy,
.footer-inner p {
  color: var(--muted);
}

.feature-list p,
.link-list small {
  margin-bottom: 0;
}

.visual-section {
  background: #0a090f;
}

.visual-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 42px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111018;
}

.visual-photo {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 16 / 10;
  background: #000000;
}

.visual-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-copy {
  padding: 24px 20px 24px 0;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: #ffffff;
  font-weight: 850;
}

.text-link::after {
  content: "";
  width: 34px;
  height: 2px;
  align-self: center;
  margin-left: 10px;
  background: linear-gradient(90deg, var(--pink), var(--orange));
}

.link-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.link-list a {
  display: grid;
  gap: 12px;
  min-height: 162px;
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.link-list a:hover,
.link-list a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 122, 24, 0.5);
  background: var(--panel-2);
}

.link-list span {
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
}

.launch-section {
  background:
    linear-gradient(90deg, rgba(255, 49, 95, 0.18), rgba(255, 122, 24, 0.18)),
    #12080d;
}

.launch-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.launch-inner > div:first-child {
  max-width: 640px;
}

.launch-inner h2 {
  margin-bottom: 14px;
}

.launch-inner p {
  margin-bottom: 0;
}

.site-footer {
  padding: 48px 40px 30px;
  background: #050407;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 42px;
  width: min(1080px, 100%);
  margin: 0 auto;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-inner nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 10px 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.footer-inner nav a:hover,
.footer-inner nav a:focus-visible {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1080px, 100%);
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--soft);
  font-size: 13px;
}

.page-hero {
  padding-top: 148px;
  background:
    linear-gradient(90deg, rgba(255, 49, 95, 0.12), rgba(45, 214, 199, 0.08)),
    var(--bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-hero .section-inner {
  max-width: 820px;
}

.page-copy {
  max-width: 720px;
  font-size: 19px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.legal-sidebar a {
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.legal-sidebar a:hover,
.legal-sidebar a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.legal-panel {
  display: grid;
  gap: 28px;
  padding: 34px;
}

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

.legal-panel h2 {
  font-size: 28px;
}

.legal-panel h3 {
  font-size: 20px;
}

.legal-panel ul,
.legal-panel ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.support-card {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
}

.support-card .button {
  align-self: flex-start;
  margin-top: 22px;
}

.notice {
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid rgba(45, 214, 199, 0.34);
  border-radius: 8px;
  background: rgba(45, 214, 199, 0.08);
  color: #e9fffc;
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 24px;
  }

  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 36px;
  }

  .split-layout,
  .split-layout.reversed,
  .visual-panel,
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .section-copy {
    max-width: 720px;
  }

  .visual-copy {
    padding: 0 4px 4px;
  }

  .official-grid {
    grid-template-columns: 1fr;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .legal-sidebar {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 740px) {
  .site-header {
    height: 64px;
    padding: 0 16px;
  }

  .brand {
    font-size: 15px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 64px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(7, 6, 10, 0.97);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .section-inner,
  .hero-inner {
    width: min(100% - 32px, 1080px);
  }

  .home-hero {
    min-height: 650px;
  }

  .hero-media img {
    object-position: 70% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 6, 10, 0.98), rgba(7, 6, 10, 0.66)),
      linear-gradient(180deg, rgba(7, 6, 10, 0.16), rgba(7, 6, 10, 0.92));
  }

  .hero-inner {
    padding: 104px 0 54px;
  }

  .hero-mark-wrap {
    width: 62px;
    height: 62px;
    margin-bottom: 24px;
  }

  .hero-mark {
    width: 42px;
    height: 42px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 19px;
  }

  .hero-lead,
  .section-copy p:last-child,
  .page-copy {
    font-size: 17px;
  }

  .availability-panel {
    padding: 15px;
  }

  .availability-panel p {
    font-size: 14px;
  }

  .download-row,
  .launch-downloads {
    width: min(100%, 340px);
    flex-direction: column;
  }

  .store-button {
    width: 100%;
  }

  .official-grid div {
    min-height: auto;
    padding: 22px;
  }

  .app-section,
  .visual-section,
  .security-section,
  .launch-section,
  .page-hero,
  .content-band {
    padding: 64px 0;
  }

  .page-hero {
    padding-top: 118px;
  }

  .feature-list article {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px;
  }

  .feature-list h3,
  .feature-list p {
    grid-column: auto;
  }

  .visual-panel {
    padding: 14px;
  }

  .visual-photo {
    aspect-ratio: 4 / 3;
  }

  .link-list {
    grid-template-columns: 1fr;
  }

  .link-list a {
    min-height: auto;
  }

  .launch-inner,
  .footer-inner,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .launch-downloads {
    width: min(100%, 340px);
  }

  .footer-inner nav {
    grid-template-columns: 1fr;
  }

  .legal-panel {
    padding: 24px;
  }

  .legal-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .download-row,
  .launch-downloads {
    width: 100%;
  }
}
