:root {
  --rn-bg: #0b1016;
  --rn-bg-soft: #141b23;
  --rn-panel: rgba(24, 29, 36, 0.78);
  --rn-panel-strong: rgba(18, 22, 28, 0.88);
  --rn-panel-soft: rgba(36, 43, 54, 0.62);
  --rn-border: rgba(255, 255, 255, 0.08);
  --rn-text: rgba(249, 250, 252, 0.97);
  --rn-text-dim: rgba(216, 222, 230, 0.72);
  --rn-blue: #5c8dff;
  --rn-blue-soft: rgba(92, 141, 255, 0.18);
  --rn-green: #32ff7e;
  --rn-purple: #bf5af2;
  --rn-shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.24);
  --rn-shadow-md: 0 18px 44px rgba(0, 0, 0, 0.20);
  --rn-radius-xl: 34px;
  --rn-radius-lg: 24px;
  --rn-radius-md: 18px;
  --rn-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(92, 141, 255, 0.12), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(50, 255, 126, 0.08), transparent 24%),
    linear-gradient(180deg, #0a0e13 0%, #10161d 42%, #0b1016 100%);
  color: var(--rn-text);
  font-family:
    "Inter",
    "SF Pro Display",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.9) 0.6px, transparent 0.8px),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.8) 0.5px, transparent 0.7px);
  background-size: 24px 24px, 28px 28px;
  mix-blend-mode: screen;
}

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

a,
button {
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    opacity 220ms ease;
}

button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  filter: blur(110px);
  opacity: 0.7;
}

.bg-glow--blue {
  background: radial-gradient(circle, rgba(92, 141, 255, 0.20), transparent 58%);
  transform: translate(-20%, -12%);
}

.bg-glow--green {
  background: radial-gradient(circle, rgba(50, 255, 126, 0.12), transparent 58%);
  transform: translate(18%, -8%);
}

.site-header,
.page-shell,
.site-footer {
  position: relative;
  z-index: 1;
  width: min(var(--rn-max), calc(100vw - 56px));
  margin: 0 auto;
}

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

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--rn-text);
  text-decoration: none;
}

.brand-mark {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 26px rgba(92, 141, 255, 0.18))
    drop-shadow(0 0 16px rgba(50, 255, 126, 0.16));
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-copy strong,
.site-footer strong {
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.brand-kicker,
.eyebrow,
.feature-card__eyebrow,
.download-card__label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rn-text-dim);
  font-family:
    "JetBrains Mono",
    "SF Mono",
    "SFMono-Regular",
    ui-monospace,
    monospace;
}

.site-nav,
.site-footer__nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a,
.site-footer a {
  color: var(--rn-text-dim);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--rn-text);
}

.page-shell {
  display: grid;
  gap: 52px;
  padding: 40px 0 68px;
}

.hero {
  display: grid;
  gap: 34px;
  padding: 48px 0 10px;
}

@media (min-width: 1080px) {
  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(440px, 0.9fr);
    align-items: center;
  }
}

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

.hero h1,
.section-head h2,
.feature-card h3,
.story-band__copy h3,
.download-card strong,
.spotlight-card strong,
.stack-item strong {
  margin: 0;
  letter-spacing: -0.04em;
}

.hero h1 {
  margin-top: 12px;
  font-size: clamp(3.4rem, 8vw, 6rem);
  line-height: 0.92;
}

.hero-body,
.section-head p,
.feature-card p,
.story-band__copy p,
.download-card small,
.spotlight-card p,
.stack-item span,
.hero-footnote,
.download-meta,
.site-footer span {
  margin: 0;
  color: var(--rn-text-dim);
  font-size: 1.03rem;
  line-height: 1.7;
}

.hero-actions,
.downloads-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.hero-footnote {
  margin-top: 14px;
  font-size: 0.96rem;
}

.download-meta {
  margin-top: 6px;
  font-size: 0.92rem;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--rn-text-dim);
  font-size: 0.84rem;
  font-family:
    "JetBrains Mono",
    "SF Mono",
    "SFMono-Regular",
    ui-monospace,
    monospace;
}

.hero-status__pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(92, 141, 255, 0.14);
  color: #d7e4ff;
  border: 1px solid rgba(92, 141, 255, 0.22);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.cta--primary {
  color: var(--rn-text);
  background:
    linear-gradient(135deg, rgba(92, 141, 255, 0.20), rgba(50, 255, 126, 0.12)),
    rgba(18, 20, 24, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 16px 40px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(92, 141, 255, 0.10);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.cta--ghost {
  color: var(--rn-text);
  background: rgba(20, 22, 26, 0.62);
  border: 1px solid var(--rn-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.cta:hover,
.download-card:hover {
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
}

.device-scene {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}

.device-scene::before {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 7%;
  height: 72px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(12, 12, 16, 0.88), transparent 72%);
  filter: blur(18px);
  opacity: 0.95;
}

.device-scene__glow {
  position: absolute;
  inset: 10% 12% 4%;
  border-radius: 42px;
  background:
    radial-gradient(circle at 38% 36%, rgba(92, 141, 255, 0.18), transparent 34%),
    radial-gradient(circle at 64% 52%, rgba(50, 255, 126, 0.12), transparent 30%);
  filter: blur(50px);
  opacity: 0.86;
}

.device-shell {
  position: relative;
  width: min(100%, 640px);
  padding: 18px;
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(56, 60, 68, 0.70), rgba(24, 28, 34, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.30),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: perspective(1800px) rotateX(8deg) rotateY(-12deg) rotateZ(2deg);
}

.device-shell__camera {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 76px;
  height: 8px;
  margin-left: -38px;
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.92);
}

.device-screen {
  display: grid;
  gap: 14px;
  min-height: 540px;
  padding: 24px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(13, 16, 21, 0.96), rgba(17, 21, 27, 0.96)),
    radial-gradient(circle at top right, rgba(92, 141, 255, 0.10), transparent 25%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.device-screen__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--rn-text-dim);
  font-size: 0.8rem;
  font-family:
    "JetBrains Mono",
    "SF Mono",
    "SFMono-Regular",
    ui-monospace,
    monospace;
}

.device-badge,
.screen-preview__pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(92, 141, 255, 0.12);
  color: #d7e4ff;
  border: 1px solid rgba(92, 141, 255, 0.22);
}

.device-commandbar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 16px;
  border-radius: 18px;
  background: rgba(25, 25, 28, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.device-commandbar__glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--rn-text-dim);
  font-size: 0.8rem;
  font-family:
    "JetBrains Mono",
    "SF Mono",
    "SFMono-Regular",
    ui-monospace,
    monospace;
}

.device-commandbar__text {
  color: var(--rn-text-dim);
  font-size: 0.98rem;
}

.device-layout {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  min-height: 0;
}

.device-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 14px 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.device-sidebar__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.device-sidebar__dot--active {
  background: var(--rn-blue);
  box-shadow: 0 0 14px rgba(92, 141, 255, 0.42);
}

.device-bento {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 14px;
}

.device-card {
  display: grid;
  gap: 10px;
  min-height: 140px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(25, 25, 28, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.device-card strong,
.device-card__eyebrow {
  margin: 0;
}

.device-card strong {
  color: var(--rn-text);
  font-size: 1rem;
  line-height: 1.3;
}

.device-card__eyebrow {
  color: var(--rn-text-dim);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family:
    "JetBrains Mono",
    "SF Mono",
    "SFMono-Regular",
    ui-monospace,
    monospace;
}

.device-card--map {
  grid-row: span 2;
}

.device-map,
.screen-preview__map {
  position: relative;
  min-height: 170px;
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(13, 13, 15, 0.9), rgba(20, 20, 24, 0.92));
  background-size: 20px 20px, 20px 20px, auto;
  overflow: hidden;
}

.device-map__route,
.screen-preview__route {
  position: absolute;
  left: 12%;
  top: 20%;
  width: 70%;
  height: 46%;
  border: 3px solid rgba(92, 141, 255, 0.88);
  border-color: transparent transparent rgba(92, 141, 255, 0.88) rgba(92, 141, 255, 0.88);
  border-radius: 100px 0 120px 80px;
  transform: rotate(-6deg);
  filter: drop-shadow(0 0 10px rgba(92, 141, 255, 0.34));
}

.device-map__marker,
.screen-preview__marker {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
}

.device-map__marker--green,
.screen-preview__marker--green {
  left: 22%;
  top: 28%;
  background: var(--rn-green);
  box-shadow: 0 0 14px rgba(50, 255, 126, 0.54);
}

.device-map__marker--purple,
.screen-preview__marker--purple {
  right: 18%;
  bottom: 22%;
  background: var(--rn-purple);
  box-shadow: 0 0 14px rgba(191, 90, 242, 0.54);
}

.device-chat,
.screen-preview__chat {
  display: grid;
  gap: 10px;
}

.device-chat__line,
.screen-preview__bubble {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--rn-text-dim);
  font-size: 0.9rem;
}

.device-chat__line--reply,
.screen-preview__bubble--reply {
  background: rgba(50, 255, 126, 0.10);
  color: var(--rn-text);
}

.pill-row,
.card-grid,
.download-grid {
  display: grid;
  gap: 16px;
}

.card-grid--three,
.download-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.spotlight-card,
.stack-item,
.download-card {
  background:
    linear-gradient(180deg, rgba(25, 25, 28, 0.76), rgba(20, 20, 24, 0.64));
  border: 1px solid var(--rn-border);
  box-shadow: var(--rn-shadow-md);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.feature-card,
.download-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: var(--rn-radius-lg);
}

.feature-card h3,
.download-card strong,
.spotlight-card strong,
.stack-item strong {
  font-size: 1.06rem;
  line-height: 1.3;
  color: var(--rn-text);
}

.content-section {
  display: grid;
  gap: 20px;
}

.section-head {
  max-width: 760px;
  display: grid;
  gap: 10px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 0.98;
}

.story-stack {
  display: grid;
  gap: 28px;
}

.story-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 22px;
  align-items: center;
}

.story-band--reverse {
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
}

.story-band--reverse .story-band__visual {
  order: 2;
}

.story-band--reverse .story-band__copy {
  order: 1;
}

.story-band__copy {
  display: grid;
  gap: 10px;
}

.story-band__copy h3,
.story-band__copy p {
  margin: 0;
}

.story-band__copy h3 {
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  line-height: 1.02;
}

.screen-preview {
  display: grid;
  gap: 14px;
  min-height: 270px;
  padding: 18px;
  border-radius: var(--rn-radius-lg);
  background:
    linear-gradient(180deg, rgba(25, 25, 28, 0.86), rgba(15, 16, 20, 0.82));
  border: 1px solid var(--rn-border);
  box-shadow: var(--rn-shadow-md);
  overflow: hidden;
}

.screen-preview__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--rn-text-dim);
  font-size: 0.92rem;
}

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

.screen-preview__tile {
  display: grid;
  gap: 6px;
  min-height: 88px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.screen-preview__tile--wide {
  grid-column: 1 / -1;
  min-height: 110px;
  background:
    radial-gradient(circle at top right, rgba(92, 141, 255, 0.14), transparent 38%),
    rgba(255, 255, 255, 0.04);
}

.screen-preview__tile strong,
.screen-preview__meta span,
.screen-preview__list span {
  color: var(--rn-text);
  font-size: 0.95rem;
}

.screen-preview__tile span {
  color: var(--rn-text-dim);
  font-size: 0.88rem;
}

.screen-preview__meta,
.screen-preview__list {
  display: grid;
  gap: 8px;
}

.screen-preview__meta span,
.screen-preview__list span {
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.split-highlight {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 16px;
}

.spotlight-card {
  display: grid;
  gap: 10px;
  padding: 26px;
  border-radius: var(--rn-radius-lg);
  background:
    linear-gradient(145deg, rgba(92, 141, 255, 0.08), rgba(50, 255, 126, 0.06)),
    linear-gradient(180deg, rgba(25, 25, 28, 0.76), rgba(20, 20, 24, 0.68));
}

.stack-list {
  display: grid;
  gap: 12px;
}

.stack-item {
  display: grid;
  gap: 6px;
  padding: 20px;
  border-radius: var(--rn-radius-md);
}

.download-card {
  text-align: left;
  color: var(--rn-text);
}

.download-card[data-active="true"] {
  border-color: rgba(92, 141, 255, 0.34);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(92, 141, 255, 0.12),
    0 0 30px rgba(92, 141, 255, 0.08);
}

.downloads-actions {
  margin-top: 4px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 42px;
}

.site-footer__copy {
  display: grid;
  gap: 4px;
}

@media (max-width: 1024px) {
  .device-shell {
    transform: none;
  }

  .device-scene {
    min-height: 540px;
  }

  .card-grid--three,
  .download-grid,
  .split-highlight,
  .story-band,
  .story-band--reverse {
    grid-template-columns: 1fr;
  }

  .story-band--reverse .story-band__visual,
  .story-band--reverse .story-band__copy {
    order: initial;
  }

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

  .device-card--map {
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav,
  .site-footer__nav {
    width: 100%;
  }

  .site-header,
  .page-shell,
  .site-footer {
    width: min(var(--rn-max), calc(100vw - 32px));
  }

  .hero {
    padding-top: 18px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 13vw, 4.6rem);
  }

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

  .cta,
  .hero-status {
    width: 100%;
  }

  .hero-status {
    justify-content: space-between;
  }

  .device-scene {
    min-height: 420px;
  }

  .device-shell {
    padding: 12px;
    border-radius: 28px;
  }

  .device-screen {
    min-height: 420px;
    padding: 16px;
    border-radius: 22px;
  }

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

  .device-sidebar {
    flex-direction: row;
    justify-content: center;
  }

  .device-screen__topbar {
    flex-wrap: wrap;
  }

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