:root {
  color-scheme: dark;
  --bg: #08080e;
  --surface: #0f0f18;
  --surface-high: #161622;
  --well: #0c0c15;
  --accent: #6070ff;
  --accent-soft: #7b5cff;
  --accent-dim: #1e2460;
  --text: #eeeef8;
  --text-secondary: #aaaad0;
  --text-muted: #7878a0;
  --border: #1a1a2e;
  --border-bright: #3a3a68;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(96, 112, 255, 0.22), transparent 28rem),
    radial-gradient(circle at 85% 8%, rgba(123, 92, 255, 0.16), transparent 22rem),
    linear-gradient(180deg, #0b0b14 0%, var(--bg) 52%, #07070c 100%);
}

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

.site-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(96, 112, 255, 0.16);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.nav a {
  transition: color 160ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.brand-hero {
  overflow: hidden;
  margin-bottom: 28px;
  border-top: 1px solid rgba(58, 58, 104, 0.34);
  border-bottom: 1px solid rgba(58, 58, 104, 0.34);
  background: #050b17;
}

.hero-banner {
  display: block;
  width: 100%;
  height: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  align-items: center;
  gap: 56px;
  min-height: calc(100vh - 92px);
  padding: 36px 0 72px;
}

.hero-copy,
.page-heading {
  max-width: 650px;
}

.intro-section {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding: 42px 0 68px;
}

.intro-copy {
  max-width: 680px;
}

.intro-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
}

.intro-copy p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  line-height: 1.65;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 0.95;
}

.lede {
  margin: 22px 0 0;
  max-width: 590px;
  color: var(--text-secondary);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 0 20px;
  font-weight: 700;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

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

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  box-shadow: 0 18px 42px rgba(96, 112, 255, 0.24);
}

.button-secondary {
  border-color: var(--border-bright);
  color: var(--text);
  background: rgba(15, 15, 24, 0.72);
}

.product-visual {
  position: relative;
  min-height: 430px;
}

.screen {
  position: absolute;
  inset: 34px 0 auto auto;
  width: min(100%, 520px);
  min-height: 310px;
  border: 1px solid var(--border-bright);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 32%),
    var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.screen-topbar {
  display: flex;
  gap: 7px;
  padding: 15px;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-bright);
}

.screen-content {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.connection-line {
  height: 12px;
  border-radius: 999px;
  background: var(--well);
}

.connection-line:nth-child(1) {
  width: 72%;
  background: var(--accent);
}

.connection-line:nth-child(2) {
  width: 54%;
}

.connection-line:nth-child(3) {
  width: 84%;
}

.touchpad {
  display: grid;
  position: absolute;
  right: 36px;
  bottom: 12px;
  width: 170px;
  height: 250px;
  place-items: center;
  border: 1px solid var(--border-bright);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 25%, rgba(96, 112, 255, 0.26), transparent 56%),
    #09090f;
  box-shadow: var(--shadow);
}

.touchpad-ring {
  width: 80px;
  height: 80px;
  border: 1px solid rgba(96, 112, 255, 0.55);
  border-radius: 50%;
  background: rgba(96, 112, 255, 0.08);
}

.section {
  padding: 72px 0;
}

.section h2,
.page-heading h1 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 1;
}

.section-heading {
  max-width: 650px;
}

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

.feature,
.step {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(15, 15, 24, 0.74);
  padding: 22px;
}

.feature h3,
.step h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

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

.products-section {
  padding-top: 36px;
}

.product-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-top: 28px;
  border: 1px solid var(--border-bright);
  border-radius: 22px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(96, 112, 255, 0.16), transparent 50%),
    rgba(15, 15, 24, 0.9);
  box-shadow: var(--shadow);
}

.product-icon {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border: 1px solid var(--border-bright);
  border-radius: 18px;
  background: #07101f;
  overflow: hidden;
}

.product-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-content {
  min-width: 0;
}

.product-kicker {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-content h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.product-content p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.download-hero {
  padding: 86px 0 42px;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 42px;
  align-items: start;
  padding: 34px 0 84px;
}

.download-card {
  border: 1px solid var(--border-bright);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(96, 112, 255, 0.12), transparent 52%),
    var(--surface);
  box-shadow: var(--shadow);
  padding: 28px;
}

.download-icon {
  display: block;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border: 1px solid var(--border-bright);
  border-radius: 18px;
  object-fit: cover;
}

.download-card h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.download-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.65;
}

.download-card .button {
  width: 100%;
  margin-top: 24px;
}

.note {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(58, 58, 104, 0.46);
  background: rgba(12, 12, 21, 0.6);
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.note strong {
  color: var(--text-secondary);
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
}

.step-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--border-bright);
  border-radius: 50%;
  color: var(--accent);
  background: var(--accent-dim);
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 26px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-links a {
  color: var(--text-secondary);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.policy-page {
  padding: 76px 0 90px;
}

.policy-header {
  max-width: 760px;
  margin-bottom: 34px;
}

.policy-header h1 {
  font-size: clamp(2.35rem, 5vw, 4.4rem);
}

.policy-updated {
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.policy-card {
  max-width: 840px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(15, 15, 24, 0.78);
  padding: 26px;
  margin-bottom: 16px;
}

.policy-card h2 {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.policy-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.72;
}

.policy-card p + p {
  margin-top: 14px;
}

.policy-card a {
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 820px) {
  .site-shell {
    width: min(100% - 28px, 680px);
  }

  .site-header {
    align-items: flex-start;
  }

  .nav {
    gap: 12px;
  }

  .intro-section {
    align-items: start;
    flex-direction: column;
    padding: 32px 0 56px;
  }

  .hero,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .hero-banner {
    min-height: 360px;
    object-fit: cover;
    object-position: 58% center;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .product-visual {
    min-height: 360px;
  }

  .screen {
    inset: 10px auto auto 0;
  }

  .touchpad {
    right: 18px;
    bottom: 0;
  }

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

  .product-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .product-card .button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .site-header {
    flex-direction: column;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .actions,
  .button {
    width: 100%;
  }

  .hero-banner {
    object-position: 49% center;
  }

  .product-visual {
    min-height: 310px;
  }

  .screen {
    min-height: 240px;
  }

  .touchpad {
    width: 132px;
    height: 200px;
  }

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