:root {
  color-scheme: dark;
  --bg: #07101e;
  --surface: #0d192b;
  --raised: #14243b;
  --border: #263b5c;
  --text: #f4f7fc;
  --muted: #9db0cc;
  --primary: #168df2;
  --primary2: #0d6fc5;
  --success: #20c997;
  --warning: #f5b942;
  --danger: #f06464;
  --radius: 10px;
  --max: 1180px;
  font-family:
    Inter,
    Segoe UI,
    system-ui,
    sans-serif;
}
[hidden] {
  display: none !important;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration: none;
}
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--border);
  background: rgba(7, 16, 30, 0.94);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  margin-right: auto;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--primary);
  font-size: 13px;
}
.nav nav {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}
.nav nav a:hover,
.text-link:hover {
  color: var(--text);
}
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font: inherit;
}
.primary {
  background: var(--primary);
  color: white;
}
.primary:hover {
  background: var(--primary2);
}
.secondary {
  border-color: var(--border);
  background: var(--raised);
}
.full {
  width: 100%;
}
.text-link {
  color: #69b7ff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero {
  max-width: var(--max);
  margin: auto;
  padding: 96px 24px 82px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}
.kicker {
  color: #69b7ff;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 16px;
}
.hero h1,
.auth-copy h1,
.help h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 720px;
}
.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 610px;
  margin: 24px 0;
}
.actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.trust {
  font-size: 13px;
  color: var(--muted);
  margin-top: 18px;
}
.product-shot {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.shot-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}
.online {
  color: var(--success);
  font-size: 13px;
}
.task {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.task-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--raised);
  color: #69b7ff;
}
.task div {
  flex: 1;
}
.task strong,
.task small {
  display: block;
}
.task small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}
.task > span:last-child {
  font-size: 12px;
  color: var(--muted);
}
.shot-action {
  margin-top: 18px;
  background: var(--primary);
  border-radius: 8px;
  text-align: center;
  padding: 12px;
  font-weight: 600;
}
.section {
  max-width: var(--max);
  margin: auto;
  padding: 82px 24px;
}
.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}
.section-heading h2,
.final-cta h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.025em;
}
.section-heading p {
  color: var(--muted);
  font-size: 17px;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.features article,
.price-card,
.help-section {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 26px;
}
.feature-icon {
  color: #69b7ff;
  font-weight: 700;
}
.features h3,
.price-card h3 {
  font-size: 20px;
  margin: 18px 0 8px;
}
.features p,
.price-card p {
  color: var(--muted);
  margin: 0;
}
.price-value {
  margin: 6px 0 10px;
  color: var(--text);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.pricing-section {
  border-top: 1px solid var(--border);
}
.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 430px));
  gap: 18px;
}
.price-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.price-card.featured {
  border-color: var(--primary);
  background: #0d1d34;
}
.price-card ul {
  padding-left: 20px;
  margin: 0;
  color: var(--muted);
  flex: 1;
}
.price-card li {
  margin: 8px 0;
}
.recommended {
  display: inline-block;
  color: var(--warning);
  font-size: 12px;
  font-weight: 700;
}
.email-note {
  color: var(--warning);
  margin-top: 20px;
}
.final-cta {
  max-width: var(--max);
  margin: 48px auto 90px;
  padding: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.final-cta h2 {
  margin: 0;
}
footer {
  max-width: var(--max);
  margin: auto;
  padding: 30px 24px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}
footer span {
  margin-right: auto;
}
.auth-layout {
  max-width: 1050px;
  margin: auto;
  min-height: calc(100vh - 72px);
  padding: 70px 24px;
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 80px;
  align-items: center;
}
.auth-copy h1 {
  font-size: 48px;
}
.auth-copy > p:not(.kicker) {
  color: var(--muted);
  font-size: 17px;
}
.notice,
.warning,
.danger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-left: 3px solid var(--warning);
  background: var(--surface);
  padding: 16px;
  margin-top: 24px;
  color: var(--muted);
}
.notice strong,
.warning strong,
.danger strong {
  color: var(--text);
}
.form-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 28px;
}
.form-card h2 {
  margin: 0;
  font-size: 26px;
}
.form-intro {
  color: var(--muted);
  margin: 6px 0 22px;
}
.form-card form,
.after-register {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.form-card label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}
.form-card input {
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  padding: 0 12px;
  font: inherit;
}
.form-card .check {
  flex-direction: row;
  align-items: center;
}
.form-card .check input {
  width: 18px;
  height: 18px;
}
.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--warning);
}
.after-register {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.after-register h3,
.after-register p {
  margin: 0;
}
.after-register p {
  color: var(--muted);
}
.help {
  max-width: 900px;
  margin: auto;
  padding: 72px 24px;
}
.help > .section-heading {
  margin-bottom: 42px;
}
.help h1 {
  font-size: 48px;
}
.help-section {
  margin: 18px 0;
}
.help-section h2 {
  margin-top: 0;
}
.help-section h3 {
  margin: 26px 0 8px;
}
.help-section p,
.help-section li {
  color: var(--muted);
}
.help-section li {
  margin: 8px 0;
}
.danger {
  border-left-color: var(--danger);
}
@media (max-width: 800px) {
  .nav {
    padding: 0 18px;
  }
  .nav nav {
    display: none;
  }
  .nav > .button {
    display: none;
  }
  .hero,
  .auth-layout {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 56px;
  }
  .hero h1,
  .auth-copy h1,
  .help h1 {
    font-size: 40px;
  }
  .features,
  .pricing {
    grid-template-columns: 1fr;
  }
  .final-cta {
    margin: 32px 18px 64px;
    padding: 28px;
    align-items: flex-start;
    flex-direction: column;
  }
  .actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .auth-layout {
    padding: 42px 18px;
  }
  .section {
    padding: 60px 18px;
  }
  .help {
    padding: 48px 18px;
  }
  footer {
    margin: 0 18px;
    flex-wrap: wrap;
  }
  footer span {
    width: 100%;
  }
}

.language-control {
  position: relative;
  margin-left: auto;
}

.language-control label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.language-control select {
  min-width: 132px;
  height: 40px;
  padding: 0 34px 0 12px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  font: inherit;
  cursor: pointer;
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: -4px 0 18px 28px;
  font-size: 13px;
}

.policy-links a {
  color: var(--muted);
}

.plan-divider {
  height: 1px;
  margin: 24px 0;
  background: var(--border);
}

.verification-layout {
  min-height: calc(100vh - 150px);
  display: grid;
  place-items: center;
  padding: 48px 20px;
}

.verification-card {
  width: min(520px, 100%);
  text-align: center;
}

.verification-card h1 {
  margin: 16px 0 10px;
  font-size: clamp(28px, 5vw, 38px);
}

.verification-card p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.65;
}

.verification-spinner {
  width: 38px;
  height: 38px;
  margin: 0 auto;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: verification-spin 0.8s linear infinite;
}

.verification-symbol {
  display: grid;
  width: 44px;
  height: 44px;
  margin: 0 auto;
  place-items: center;
  border-radius: 50%;
  font-weight: 700;
}

.success-symbol {
  color: #08785d;
  background: #dff8ef;
}

@keyframes verification-spin { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
  .nav .language-control {
    order: 3;
    width: 100%;
  }

  .language-control select {
    width: 100%;
  }
}
.app-promo {
  border-top: 1px solid var(--border);
}

.mobile-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 270px);
  gap: 18px;
  margin: 0 0 34px;
  padding: 2px 2px 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--border) transparent;
}

.mobile-gallery a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  scroll-snap-align: start;
}

.mobile-gallery a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.mobile-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

@media (max-width: 680px) {
  .mobile-gallery {
    grid-auto-columns: minmax(220px, 78vw);
    margin-right: -18px;
  }
}

.store-badge {
  width: 188px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}
.store-badge img { display: block; width: 100%; height: 100%; object-fit: contain; }
.windows-download { display: inline-flex; margin-top: 18px; }

.store-badge small,
.store-badge strong {
  display: block;
  line-height: 1.1;
}

.store-badge small {
  margin-bottom: 4px;
  font-size: 9px;
  letter-spacing: 0.04em;
}

.store-badge strong {
  font-size: 18px;
  font-weight: 600;
}

.store-symbol {
  width: 28px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 28px;
}

.play-symbol {
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 25px solid #fff;
}

.apple-symbol {
  border: 2px solid #fff;
  border-radius: 9px;
  font-size: 17px;
  font-weight: 700;
}

.store-badge.disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.store-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.app-detail-link {
  display: inline-block;
  margin-top: 22px;
}

.download-page {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 64px 24px;
}

.download-copy {
  width: min(760px, 100%);
}

.download-copy h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.direct-downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}
.download-option {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
.download-option h2 {
  margin: 0 0 10px;
  font-size: 20px;
}
.download-option p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.6;
}
.release-meta {
  color: var(--muted);
  font-size: 13px;
}
.release-download {
  align-self: flex-start;
  text-decoration: none;
}
.release-download.disabled {
  opacity: 0.5;
  pointer-events: none;
}
@media (max-width: 680px) {
  .direct-downloads { grid-template-columns: 1fr; }
  .download-option { min-height: 0; }
}
.legal-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 96px;
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  gap: 72px;
  justify-content: center;
}
.legal-index {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 4px;
  padding-right: 24px;
  border-right: 1px solid var(--border);
}
.legal-index strong {
  margin-bottom: 10px;
  color: var(--text);
}
.legal-index a {
  padding: 8px 0;
  color: var(--muted);
  text-decoration: none;
}
.legal-index a:hover {
  color: var(--text);
}
.legal-copy h1 {
  margin: 8px 0 18px;
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.legal-copy .lead {
  margin-bottom: 48px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}
.legal-copy section {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 90px;
}
.legal-copy h2 {
  margin: 0 0 12px;
  font-size: 21px;
}
.legal-copy p {
  color: var(--muted);
  line-height: 1.75;
}
@media (max-width: 800px) {
  .legal-page {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 40px;
  }
  .legal-index {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 0 22px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .legal-index strong {
    grid-column: 1 / -1;
  }
}
