:root {
  color-scheme: dark;
  --bg: #070914;
  --bg-2: #0c1224;
  --panel: rgba(18, 25, 48, 0.86);
  --panel-strong: #111a31;
  --text: #f5f7ff;
  --muted: #b9c2d9;
  --line: rgba(255, 255, 255, 0.14);
  --blue: #37b6ff;
  --green: #65ff9a;
  --amber: #ffcb66;
  --magenta: #db6cff;
  --danger: #ff7a9a;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(55, 182, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 82% 12%, rgba(219, 108, 255, 0.16), transparent 26rem),
    linear-gradient(180deg, #070914 0%, #0c1224 48%, #070914 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

figure {
  margin: 0;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 9, 20, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(100% - 32px, var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(55, 182, 255, 0.62);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(55, 182, 255, 0.22), rgba(219, 108, 255, 0.18)),
    #0f1730;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 24px rgba(55, 182, 255, 0.2);
  color: var(--text);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92rem;
  text-shadow: 0 0 12px rgba(55, 182, 255, 0.64);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  content: "";
}

.nav-toggle span::before {
  transform: translateY(-7px);
}

.nav-toggle span::after {
  transform: translateY(5px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius);
  padding: 9px 14px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

main {
  overflow: hidden;
}

.section {
  padding: 82px 0;
}

.section.compact {
  padding: 58px 0;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 72px);
  padding: 72px 0 54px;
  display: flex;
  align-items: center;
}

.hero-grid {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: 44px;
}

.hero-grid > *,
.split > *,
.app-card,
.feature-card,
.policy-panel {
  min-width: 0;
}

.hero.page-hero {
  min-height: auto;
  padding: 78px 0 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--green);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
  content: "";
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  font-size: clamp(3rem, 10vw, 6.6rem);
}

.page-hero h1 {
  font-size: clamp(2.7rem, 8vw, 5.5rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
  font-size: 1.22rem;
}

.lead {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  overflow-wrap: break-word;
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  text-decoration: none;
  text-align: center;
  font-weight: 780;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.button.primary {
  border-color: rgba(55, 182, 255, 0.68);
  background: linear-gradient(135deg, var(--blue), #6b7cff);
  color: #03111f;
}

.button.secondary {
  border-color: rgba(101, 255, 154, 0.44);
}

.button.disabled {
  cursor: not-allowed;
  color: #d7dceb;
  background: rgba(255, 203, 102, 0.13);
  border-color: rgba(255, 203, 102, 0.36);
  box-shadow: none;
}

.promo-frame {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.promo-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-heading p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.app-card,
.feature-card,
.policy-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.app-card {
  overflow: hidden;
}

.app-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.app-card-body {
  padding: 26px;
}

.app-card .subtitle {
  margin: 8px 0 14px;
  color: var(--green);
  font-weight: 750;
}

.app-card p {
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  color: #dfe6f8;
}

.feature-list li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--amber);
  box-shadow: 0 0 12px rgba(255, 203, 102, 0.42);
  content: "";
}

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

.feature-card {
  padding: 24px;
}

.feature-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1fr);
  align-items: center;
  gap: 34px;
}

.terminal {
  padding: 22px;
  border: 1px solid rgba(101, 255, 154, 0.28);
  border-radius: var(--radius);
  background: #050807;
  color: var(--green);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  box-shadow: inset 0 0 38px rgba(101, 255, 154, 0.08);
  overflow-x: auto;
}

.policy-panel {
  max-width: 890px;
  padding: 34px;
}

.policy-panel h1 {
  font-size: clamp(2.1rem, 6vw, 4rem);
}

.policy-panel h2 {
  margin-top: 32px;
  font-size: 1.55rem;
}

.policy-panel p,
.policy-panel li {
  color: var(--muted);
}

.policy-panel a {
  color: var(--green);
  font-weight: 750;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(5, 7, 16, 0.72);
}

.footer-wrap {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

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

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #0b1020;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    width: 100%;
  }

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

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

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

  .section-heading {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container,
  .hero-grid,
  .nav-wrap,
  .footer-wrap {
    width: min(100% - 24px, var(--max));
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 0.82rem;
  }

  .section {
    padding: 58px 0;
  }

  h1,
  .page-hero h1 {
    font-size: clamp(2rem, 11vw, 4rem);
  }

  .home-title {
    max-width: 8ch;
  }

  h2 {
    font-size: clamp(1.75rem, 8.5vw, 3rem);
  }

  .hero-actions,
  .card-actions,
  .footer-wrap {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .app-card-body,
  .feature-card,
  .policy-panel {
    padding: 20px;
  }
}
