:root {
  color-scheme: dark;
  --bg: #05070c;
  --panel: #0d1320;
  --panel-2: #101827;
  --text: #f7fbff;
  --muted: #aeb8c8;
  --cyan: #1bdcff;
  --violet: #8b55ff;
  --amber: #f5b84b;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  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;
  background:
    radial-gradient(circle at 15% 10%, rgba(27, 220, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 85% 25%, rgba(139, 85, 255, 0.18), transparent 30rem),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled,
.site-header.compact {
  background: rgba(5, 7, 12, 0.82);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 8px;
}

.brand span {
  white-space: nowrap;
}

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

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

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

.nav .nav-cta {
  color: #06111f;
  background: linear-gradient(135deg, var(--cyan), var(--amber));
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.84;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.92), rgba(5, 7, 12, 0.45) 48%, rgba(5, 7, 12, 0.7)),
    linear-gradient(0deg, var(--bg), transparent 34%);
}

.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 76px;
}

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

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3.6rem, 10vw, 8.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.hero-text,
.lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  color: #06111f;
  background: linear-gradient(135deg, var(--cyan), #ffffff 50%, var(--violet));
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.app-visual {
  position: relative;
}

.app-visual::before {
  content: "";
  position: absolute;
  inset: 10%;
  background: linear-gradient(135deg, rgba(27, 220, 255, 0.28), rgba(139, 85, 255, 0.3));
  filter: blur(54px);
}

.app-visual img {
  position: relative;
  width: 100%;
  max-width: 440px;
  display: block;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

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

.feature-list article,
.values article,
.support-links a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.feature-list article {
  min-height: 188px;
  padding: 20px;
}

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

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
  border: 1px solid rgba(27, 220, 255, 0.5);
  border-radius: 50%;
  color: var(--cyan);
  font-weight: 900;
  font-size: 0.78rem;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.store-row span,
.store-row a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 6px;
  font-weight: 900;
}

.store-row span {
  color: var(--amber);
  border: 1px solid rgba(245, 184, 75, 0.42);
}

.store-row a {
  color: #06111f;
  background: var(--cyan);
  text-decoration: none;
}

.studio-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.studio-panel p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.8;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.values article {
  min-height: 156px;
  padding: 22px;
}

.support-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
}

.support-links {
  display: grid;
  gap: 12px;
}

.support-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
  padding: 18px;
  text-decoration: none;
}

.support-links a:hover,
.support-links a:focus-visible {
  border-color: rgba(27, 220, 255, 0.58);
  background: rgba(27, 220, 255, 0.09);
}

.support-links span {
  color: var(--muted);
}

.support-links strong {
  text-align: right;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 900;
}

.footer img {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  object-fit: cover;
}

.document-page {
  background: var(--bg);
}

.legal {
  width: min(820px, calc(100% - 36px));
  margin: 0 auto;
  padding: 132px 0 84px;
}

.legal h1 {
  font-size: clamp(2.8rem, 8vw, 5.2rem);
}

.legal h2 {
  margin-top: 34px;
  font-size: 1.4rem;
}

.legal p {
  color: var(--muted);
  line-height: 1.8;
}

.legal a {
  color: var(--cyan);
}

.updated {
  color: var(--amber);
  font-weight: 800;
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .brand span {
    font-size: 0.9rem;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav a {
    white-space: nowrap;
  }

  .hero-inner {
    padding-top: 178px;
  }

  .section-grid,
  .studio-panel,
  .support-section {
    grid-template-columns: 1fr;
  }

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

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

  .support-links strong {
    text-align: left;
  }
}

@media (max-width: 540px) {
  .brand img {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 94svh;
  }

  .hero-bg {
    object-position: 60% center;
  }

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

  .section {
    padding: 70px 0;
  }
}
