:root {
  color-scheme: dark;
  --bg: #08111f;
  --panel: #101b2b;
  --panel-strong: #152338;
  --text: #f7fafc;
  --muted: #a9b6c7;
  --line: rgba(255, 255, 255, 0.14);
  --cyan: #67e8f9;
  --green: #52d273;
  --amber: #f5c565;
  --ink: #020617;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(103, 232, 249, 0.14), transparent 28rem),
    radial-gradient(circle at 90% 20%, rgba(82, 210, 115, 0.12), transparent 26rem),
    linear-gradient(135deg, #07111f 0%, var(--bg) 52%, #0f172a 100%);
}

a {
  color: inherit;
}

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

.page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 48px;
}

.brand,
.language-switch {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a,
.language-switch {
  text-decoration: none;
}

nav a:hover,
.language-switch:hover {
  color: var(--text);
}

.language-switch {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 56px;
  align-items: center;
  padding: clamp(64px, 10vw, 120px) 0 56px;
}

main,
section,
.hero > *,
.console,
.download-panel > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--cyan);
  font-size: 0.92rem;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(82, 210, 115, 0.75);
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  max-width: 670px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.lead strong {
  color: var(--text);
  font-weight: 700;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--green);
  color: var(--ink);
}

.button.secondary {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 11px;
  background: rgba(255, 255, 255, 0.04);
}

.console {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.64);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
}

.dots {
  display: flex;
  gap: 7px;
}

.dots i {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: #ef4444;
}

.dots i:nth-child(2) {
  background: var(--amber);
}

.dots i:nth-child(3) {
  background: var(--green);
}

.console-body {
  padding: 24px;
}

.app-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.app-lockup img {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.app-lockup h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.app-lockup p {
  margin: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 13px;
  margin-top: 22px;
}

.step {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
  line-height: 1.55;
}

.step b {
  color: var(--text);
}

.num {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: rgba(103, 232, 249, 0.13);
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 800;
}

section {
  padding: 54px 0 0;
}

.section-head {
  max-width: 690px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.section-head p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.05rem;
}

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

.feature,
.download-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.feature {
  padding: 22px;
}

.feature svg {
  width: 30px;
  height: 30px;
  color: var(--cyan);
}

.feature h3 {
  margin: 16px 0 8px;
  font-size: 1.08rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.download-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: 26px;
  padding: 26px;
  background: linear-gradient(135deg, rgba(103, 232, 249, 0.1), rgba(82, 210, 115, 0.08));
}

.download-panel h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.download-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-note {
  flex-basis: 100%;
  color: rgba(169, 182, 199, 0.62);
  font-size: 0.82rem;
  line-height: 1.55;
}

.redirect-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  width: min(520px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
}

.redirect-page img {
  width: 84px;
  height: 84px;
  border-radius: 18px;
}

.redirect-page h1 {
  font-size: 3rem;
}

.redirect-page p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 860px) {
  .hero,
  .download-panel {
    grid-template-columns: 1fr;
  }

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

  .download-actions {
    justify-content: flex-start;
  }

  nav {
    display: none;
  }
}

@media (max-width: 520px) {
  .page {
    width: 100%;
    padding: 22px 16px 48px;
  }

  .header-actions {
    gap: 10px;
  }

  .hero {
    gap: 34px;
    padding-top: 54px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.75rem, 13vw, 3.35rem);
    line-height: 1;
  }

  h1 span {
    display: block;
  }

  .lead {
    max-width: 100%;
    overflow-wrap: break-word;
    font-size: 1rem;
    line-height: 1.58;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .meta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .meta span {
    width: fit-content;
    max-width: 100%;
    white-space: normal;
  }

  .console-body {
    padding: 18px;
  }

  .console-head {
    font-size: 0.75rem;
  }

  .app-lockup {
    align-items: flex-start;
  }

  .app-lockup img {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
