:root {
  --bg: #020202;
  --bg-deep: #090a0d;
  --panel: rgba(17, 18, 21, 0.74);
  --panel-strong: rgba(20, 21, 26, 0.92);
  --panel-border: rgba(255, 255, 255, 0.12);
  --panel-border-strong: rgba(255, 255, 255, 0.2);
  --text: #f5f7fb;
  --muted: #a4aab4;
  --soft: #767d88;
  --silver: #d7dde7;
  --chrome-light: #fbfcff;
  --chrome-mid: #c1c8d3;
  --chrome-dark: #5d6674;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.52);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.09), transparent 24rem),
    radial-gradient(circle at 80% 10%, rgba(152, 166, 189, 0.07), transparent 28rem),
    linear-gradient(130deg, #090909 0%, #040404 48%, #010101 100%);
  color: var(--text);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(60px);
  z-index: 0;
}

body::before {
  width: 32rem;
  height: 18rem;
  top: 2rem;
  right: -6rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  transform: rotate(-18deg);
}

body::after {
  width: 30rem;
  height: 12rem;
  bottom: 6rem;
  left: -9rem;
  background: linear-gradient(135deg, rgba(171, 181, 198, 0.09), rgba(255, 255, 255, 0));
  transform: rotate(-22deg);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

code {
  font-family: "SFMono-Regular", "Menlo", monospace;
}

.network-canvas,
.noise-layer,
.page-shell {
  position: relative;
}

.network-canvas,
.noise-layer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.network-canvas {
  z-index: 0;
  opacity: 0.34;
}

.noise-layer {
  z-index: 1;
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 4px 4px, 4px 4px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.page-shell {
  z-index: 2;
}

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  letter-spacing: 0.01em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.85rem;
  border: 1px solid var(--panel-border-strong);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.04)),
    linear-gradient(180deg, rgba(30, 32, 39, 0.88), rgba(10, 10, 12, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -10px 18px rgba(0, 0, 0, 0.34);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  color: var(--chrome-light);
}

.brand-text,
.eyebrow,
h1,
h2 {
  font-family: "Sora", sans-serif;
}

.brand-copy {
  display: grid;
  gap: 0.1rem;
}

.brand-kicker {
  color: var(--soft);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.brand-text {
  font-weight: 600;
  font-size: 0.98rem;
}

.quiet-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.3rem 0.85rem;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
}

.main-layout {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 5rem);
  display: grid;
  align-content: center;
  gap: 2rem;
  padding: 5.5rem 0 4rem;
}

.hero {
  width: 100%;
  padding: 0;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.76rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--soft);
}

h1 {
  margin: 0;
  max-width: 9ch;
  font-size: clamp(2.6rem, 6vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.lede {
  max-width: 28rem;
  margin: 1.1rem 0 0;
  font-size: clamp(1rem, 2vw, 1.05rem);
  line-height: 1.75;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

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

.button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 3px;
}

.button-primary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(197, 204, 215, 0.94) 52%, rgba(134, 142, 154, 0.94));
  border-color: rgba(255, 255, 255, 0.28);
  color: #090909;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 14px 36px rgba(0, 0, 0, 0.34);
}

h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.download-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.1rem;
  padding: 1.2rem 1.25rem;
  border-radius: 1.7rem;
  border: 1px solid var(--panel-border);
  background:
    linear-gradient(180deg, rgba(28, 30, 36, 0.86), rgba(13, 14, 17, 0.92)),
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.card-sheen {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.14), transparent 24%, transparent 72%, rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.1), transparent 34%);
  pointer-events: none;
}

.app-icon {
  width: 6.6rem;
  height: 6.6rem;
  border-radius: 1.55rem;
  display: block;
  box-shadow: 0 20px 32px rgba(0, 0, 0, 0.34);
  position: relative;
  z-index: 1;
}

.card-copy {
  position: relative;
  z-index: 1;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 0.65rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--chrome-mid);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-label {
  color: var(--soft);
  font-size: 0.86rem;
}

.card-copy p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.card-button {
  position: relative;
  z-index: 1;
  min-width: 9.5rem;
}

.quiet-strip,
.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.quiet-strip {
  align-items: center;
  padding: 0.1rem 0 0.3rem;
  color: var(--soft);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quiet-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer {
  justify-content: space-between;
  padding: 2.4rem 0 3rem;
  color: var(--soft);
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .download-grid {
    grid-template-columns: 1fr;
  }

  .download-card {
    grid-template-columns: auto 1fr;
  }

  .card-button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 1.1rem, 1120px);
  }

  .topbar,
  .footer,
  .download-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-layout {
    padding-top: 4.8rem;
  }

  .download-card {
    display: flex;
    gap: 1rem;
    border-radius: 1.45rem;
  }

  h1 {
    font-size: clamp(2.5rem, 13vw, 3.75rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
