:root {
  color-scheme: dark;
  --bg: #08080b;
  --surface: #111116;
  --surface-2: #181820;
  --text: #f7f5ff;
  --muted: #aaa7b5;
  --line: #292733;
  --purple: #7c5cff;
  --purple-light: #a895ff;
  --green: #50df88;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 "Segoe UI", Inter, system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 750; font-size: 18px; }
.brand-logo { width: 34px; height: 34px; display: block; border-radius: 9px; box-shadow: 0 0 24px #7655ff2e; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { color: var(--muted); font-size: 14px; font-weight: 600; }
nav a:hover { color: var(--text); }
.nav-download { color: white; padding: 9px 16px; border: 1px solid #7258df; border-radius: 10px; background: #29203e; }

.hero { min-height: 620px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 60px; padding-block: 80px; }
.eyebrow { color: var(--purple-light); font-size: 12px; letter-spacing: .16em; font-weight: 750; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 18px 0 24px; font-size: clamp(48px, 7vw, 82px); line-height: 1.02; letter-spacing: -.055em; }
h1 span, h2 span { color: var(--purple-light); }
.hero-copy > p { max-width: 650px; color: var(--muted); font-size: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 18px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 21px; border-radius: 11px; font-weight: 700; transition: .18s ease; }
.button:hover { transform: translateY(-1px); }
.primary { background: var(--purple); box-shadow: 0 10px 34px #7352ff38; }
.primary:hover { background: #896dff; }
.secondary { border: 1px solid var(--line); background: var(--surface); }
.secondary:hover { border-color: #5a526f; }
.small { font-size: 13px !important; color: #777481 !important; }
.hero-art { min-height: 420px; position: relative; display: grid; place-items: center; }
.glow { position: absolute; width: 370px; height: 370px; border-radius: 50%; background: #6d48ff; filter: blur(100px); opacity: .22; }
.app-icon { position: relative; width: min(310px, 70vw); aspect-ratio: 1; filter: drop-shadow(0 28px 48px #000) drop-shadow(0 0 28px #6846e24d); transform: rotate(-2deg); }
.app-icon img { width: 100%; height: 100%; object-fit: contain; }

.trust { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.trust div { padding: 26px 30px; }
.trust div + div { border-left: 1px solid var(--line); }
.trust strong, .trust span { display: block; }
.trust span { margin-top: 4px; color: var(--muted); font-size: 14px; }

.section { padding-block: 120px; }
.section-heading { max-width: 720px; margin-bottom: 46px; }
h2 { margin: 13px 0 13px; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -.04em; }
.section-heading p, .security p { color: var(--muted); font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-grid article { min-height: 230px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.feature-grid article:hover { border-color: #4d4564; background: #15141b; }
.feature-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 28px; border-radius: 11px; color: var(--purple-light); background: #28203e; font-size: 21px; }
h3 { margin-bottom: 8px; font-size: 20px; }
.feature-grid p { margin-bottom: 0; color: var(--muted); font-size: 15px; }

.screenshots-section { background: #0c0c10; border-block: 1px solid #1d1c24; }
.screenshot { margin: 0; overflow: hidden; border: 1px solid #383442; border-radius: 16px; background: var(--surface-2); box-shadow: 0 24px 60px #0008; }
.screenshot img { width: 100%; }
.screenshot figcaption { padding: 11px 16px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }
.screenshot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.screenshot-grid .wide { grid-column: 1 / -1; }

.security { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: start; }
.security ul { padding: 0; list-style: none; }
.security li { position: relative; padding: 10px 0 10px 31px; border-bottom: 1px solid var(--line); }
.security li::before { content: "✓"; position: absolute; left: 4px; color: var(--green); font-weight: 800; }
.security aside { padding: 30px; border: 1px solid #544674; border-radius: 18px; background: linear-gradient(145deg, #1b1529, #111116); }
.security aside p { font-size: 15px; }

.cta { margin-bottom: 90px; padding: 46px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border: 1px solid #4f4271; border-radius: 20px; background: radial-gradient(circle at 80% 0%, #422c7b 0, transparent 45%), #15121d; }
.cta h2 { font-size: 34px; }
.cta p { margin-bottom: 0; color: var(--muted); }
.cta .actions { margin: 0; }

footer { min-height: 120px; display: flex; align-items: center; gap: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer p { margin: 0; flex: 1; }
footer > div:last-child { display: flex; gap: 18px; }
footer a:hover { color: white; }

@media (max-width: 850px) {
  nav a:not(.nav-download) { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 70px; }
  .hero-copy > p { margin-inline: auto; }
  .hero .actions { justify-content: center; }
  .hero-art { min-height: 330px; }
  .app-icon { width: 240px; }

  .trust, .feature-grid { grid-template-columns: 1fr; }
  .trust div + div { border-left: 0; border-top: 1px solid var(--line); }
  .screenshot-grid, .security { grid-template-columns: 1fr; }
  .screenshot-grid .wide { grid-column: auto; }
  .cta { align-items: flex-start; flex-direction: column; }
  footer { padding-block: 30px; align-items: flex-start; flex-direction: column; }
  footer p { flex: unset; }
}

@media (max-width: 520px) {
  .shell { width: min(100% - 24px, 1180px); }
  h1 { font-size: 46px; }
  .section { padding-block: 80px; }
  .button { width: 100%; }
  .cta { padding: 28px; }
  footer > div:last-child { flex-wrap: wrap; }
}

.language-switch { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.language-switch button { min-width: 38px; height: 32px; padding: 0 9px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; transition: color .16s ease, background-color .16s ease; }
.language-switch button:hover { color: var(--text); }
.language-switch button.active { color: white; background: var(--purple); }
@media (max-width: 620px) {
  .nav { gap: 10px; }
  .nav nav { margin-left: auto; }
  .nav-download { padding-inline: 11px; }
  .language-switch button { min-width: 34px; padding-inline: 7px; }
}
@media (max-width: 620px) {
  .nav > .brand .brand-logo { display: none; }
  .nav > .brand { gap: 0; font-size: 16px; }
}
@media (max-width: 620px) {
  .hero-art { display: none; }
  .hero { min-height: auto; padding-block: 64px 78px; }
}
/* Keep the official mark only in the footer. */
.nav > .brand .brand-logo { display: none; }
.hero { grid-template-columns: minmax(0, 900px); justify-content: center; }
.hero-copy { width: 100%; }
.hero-art { display: none; }
@media (min-width: 851px) {
  .hero { min-height: 570px; }
}
@media (max-width: 620px) {
  footer .brand-logo { width: 24px; height: 24px; border-radius: 6px; box-shadow: none; }
  footer .brand { gap: 8px; font-size: 15px; }
}
footer .brand-logo {
  width: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  height: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  flex: 0 0 20px !important;
  border-radius: 5px;
  box-shadow: none;
}