:root {
  --bg: #08090d;
  --bg-soft: #101116;
  --panel: #15161c;
  --panel-strong: #1e2027;
  --text: #f6f0e8;
  --muted: #b9b0a5;
  --line: #2b2d35;
  --accent: #5cf2b8;
  --accent-strong: #1dcf90;
  --gold: #f9c74f;
  --red: #ff4d5e;
  --cyan: #7bdff2;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(92, 242, 184, 0.16), transparent 24rem),
    radial-gradient(circle at 15% 26%, rgba(249, 199, 79, 0.12), transparent 20rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  max-width: 100vw;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

code {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0c0d11;
  color: var(--accent);
  display: inline-block;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.95rem;
  padding: 0.65rem 0.8rem;
  word-break: break-word;
}

.skip-link {
  background: var(--accent);
  color: #06100d;
  left: 1rem;
  padding: 0.6rem 0.8rem;
  position: fixed;
  top: -4rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(8, 9, 13, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: 4.25rem;
  padding: 0.75rem clamp(1rem, 4vw, 4rem);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 0.65rem;
  text-decoration: none;
}

.brand img {
  image-rendering: pixelated;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: clamp(0.75rem, 3vw, 1.8rem);
  justify-content: center;
}

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

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

.header-download,
.button,
.inline-download {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 2.75rem;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.header-download {
  background: var(--text);
  color: #111217;
  padding: 0 1rem;
}

.button {
  padding: 0.85rem 1rem;
  text-align: center;
}

.button:hover,
.header-download:hover,
.inline-download:hover {
  transform: translateY(-1px);
}

.primary {
  background: var(--accent);
  color: #06100d;
}

.secondary {
  border: 1px solid rgba(246, 240, 232, 0.28);
  color: var(--text);
}

.demo-toggle {
  background: rgba(123, 223, 242, 0.12);
  border: 1px solid rgba(123, 223, 242, 0.42);
  color: var(--cyan);
  cursor: pointer;
  font: inherit;
}

.hero {
  display: grid;
  min-height: min(43rem, 86vh);
  overflow: hidden;
  padding: clamp(5rem, 10vw, 7.5rem) clamp(1rem, 5vw, 5rem) clamp(4rem, 9vw, 6rem);
  place-items: center start;
  position: relative;
}

.hero::after {
  background: linear-gradient(to bottom, transparent, rgba(8, 9, 13, 0.86));
  bottom: 0;
  content: "";
  height: 28%;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
}

.hero-scene {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
}

.hero-scene::before {
  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: 46px 46px;
  content: "";
  inset: 0;
  opacity: 0.65;
  position: absolute;
}

.hero-scene::after {
  background: linear-gradient(90deg, rgba(8, 9, 13, 0.98) 0%, rgba(8, 9, 13, 0.72) 42%, rgba(8, 9, 13, 0.18) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.mock-browser {
  background: rgba(21, 22, 28, 0.82);
  border: 1px solid rgba(246, 240, 232, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: absolute;
}

.browser-one {
  height: 20rem;
  right: 8vw;
  top: 7rem;
  transform: rotate(-4deg);
  width: min(35rem, 48vw);
}

.browser-two {
  bottom: 5rem;
  height: 14rem;
  right: 18vw;
  transform: rotate(5deg);
  width: min(27rem, 40vw);
}

.browser-bar {
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 0.45rem;
  height: 2.6rem;
  padding: 0 0.75rem;
}

.browser-bar span {
  border-radius: 50%;
  display: block;
  height: 0.7rem;
  width: 0.7rem;
}

.browser-bar span:nth-child(1) {
  background: var(--red);
}

.browser-bar span:nth-child(2) {
  background: var(--gold);
}

.browser-bar span:nth-child(3) {
  background: var(--accent);
}

.address {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: rgba(246, 240, 232, 0.64);
  flex: 1;
  font-size: 0.78rem;
  margin-left: 0.4rem;
  padding: 0.35rem 0.55rem;
}

.browser-lines {
  display: grid;
  gap: 1rem;
  padding: 2rem;
}

.browser-lines i {
  background: rgba(246, 240, 232, 0.08);
  border-radius: 999px;
  display: block;
  height: 0.8rem;
}

.browser-lines i:nth-child(1) {
  background: linear-gradient(90deg, var(--accent), rgba(92, 242, 184, 0.1));
  width: 62%;
}

.browser-lines i:nth-child(2) {
  width: 82%;
}

.browser-lines i:nth-child(3) {
  width: 48%;
}

.browser-lines i:nth-child(4) {
  width: 72%;
}

.cursor-path {
  height: calc(100% - 2.6rem);
  position: relative;
}

.cursor-path::before {
  border-top: 2px dashed rgba(123, 223, 242, 0.45);
  content: "";
  left: 14%;
  position: absolute;
  right: 18%;
  top: 51%;
  transform: rotate(-15deg);
}

.cursor-path b {
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(123, 223, 242, 0.4);
  display: block;
  height: 0.55rem;
  position: absolute;
  width: 0.55rem;
}

.cursor-path b:nth-child(1) {
  left: 18%;
  top: 62%;
}

.cursor-path b:nth-child(2) {
  left: 36%;
  top: 50%;
}

.cursor-path b:nth-child(3) {
  left: 58%;
  top: 39%;
}

.cursor-path b:nth-child(4) {
  left: 77%;
  top: 29%;
}

.hero-cursor {
  border-bottom: 18px solid transparent;
  border-left: 16px solid var(--text);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
  height: 0;
  position: absolute;
  right: 23vw;
  top: 47%;
  transform: rotate(-22deg);
  width: 0;
  z-index: 2;
}

.hero-copy {
  max-width: 54rem;
  min-width: 0;
  position: relative;
  width: 100%;
  z-index: 1;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3.8rem, 12vw, 8.25rem);
  line-height: 0.9;
  margin-bottom: 1.2rem;
  overflow-wrap: break-word;
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  line-height: 1.08;
  margin-bottom: 0;
  max-width: 18ch;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.2;
  margin-bottom: 0.55rem;
}

.hero-lede {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  max-width: 42rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.demo-note {
  border-left: 3px solid var(--cyan);
  color: var(--muted);
  font-size: 0.95rem;
  margin: 1rem 0 0;
  max-width: 36rem;
  padding-left: 0.85rem;
}

.hero-facts {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 2rem 0 0;
  max-width: 34rem;
}

.hero-facts div {
  border-top: 1px solid rgba(246, 240, 232, 0.18);
  padding-top: 0.8rem;
}

.hero-facts dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
  text-transform: uppercase;
}

.hero-facts dd {
  font-weight: 800;
  margin: 0;
}

.section {
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(16rem, 1.1fr);
  margin: 0 auto 2rem;
  max-width: 72rem;
}

.feature-grid,
.limits-grid {
  display: grid;
  gap: 1rem;
  margin: 0 auto;
  max-width: 72rem;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.limit-panel,
.download-panel,
.step-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card,
.limit-panel,
.download-panel {
  min-height: 12rem;
  padding: 1.25rem;
}

.feature-card p,
.limit-panel p,
.download-panel p,
.step-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.download-section {
  background: rgba(92, 242, 184, 0.035);
}

.download-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  margin: 0 auto;
  max-width: 72rem;
}

.download-panel {
  display: flex;
  flex-direction: column;
}

.download-panel .button {
  margin-top: 1.35rem;
  max-width: 100%;
  width: max-content;
}

.app-panel {
  border-color: rgba(92, 242, 184, 0.52);
}

.download-panel .panel-kicker {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

.download-panel .download-meta {
  border-top: 1px solid rgba(246, 240, 232, 0.14);
  font-size: 0.9rem;
  margin-top: 1rem;
  padding-top: 0.8rem;
}

.install-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0));
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0 auto;
  max-width: 72rem;
  padding: 0;
}

.step-card {
  align-items: center;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 25rem);
  min-height: 12rem;
  overflow: hidden;
  padding: 1.25rem;
}

.step-card:not(.with-image) {
  grid-template-columns: 1fr;
}

.compact-step {
  min-height: 10rem;
}

.step-copy {
  min-width: 0;
}

.step-number {
  align-items: center;
  background: var(--accent);
  border-radius: 6px;
  color: #06100d;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 900;
  height: 2rem;
  justify-content: center;
  margin-bottom: 1rem;
  width: 2rem;
}

.inline-download {
  background: rgba(92, 242, 184, 0.12);
  border: 1px solid rgba(92, 242, 184, 0.5);
  color: var(--accent);
  margin-top: 1rem;
  padding: 0 0.9rem;
}

.screenshot-frame {
  align-items: center;
  background: #08090d;
  border: 1px solid rgba(246, 240, 232, 0.12);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  margin: 0;
  min-height: 11rem;
  overflow: hidden;
  padding: 0.8rem;
}

.small-shot {
  min-height: 7rem;
}

.screenshot-frame img {
  border-radius: 6px;
  width: 100%;
}

.small-shot img {
  max-width: 15rem;
}

.limits-grid,
.credits-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.limit-panel.positive {
  border-color: rgba(92, 242, 184, 0.38);
}

.credits-section {
  background: rgba(255, 255, 255, 0.018);
}

.credits-grid {
  display: grid;
  gap: 1rem;
  margin: 0 auto;
  max-width: 72rem;
}

.credit-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 12rem;
  padding: 1.25rem;
}

.credit-panel p {
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.credit-panel a {
  color: var(--accent);
  overflow-wrap: anywhere;
  text-decoration: none;
}

.credit-panel a:hover {
  color: var(--text);
}

.site-footer {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.5rem clamp(1rem, 5vw, 5rem);
}

.site-footer p {
  margin: 0;
}

.cursor-cat {
  background-repeat: no-repeat;
  background-size: 288px 144px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.45));
  height: 36px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  left: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  width: 36px;
  z-index: 2147483647;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .browser-one {
    opacity: 0.6;
    right: -12rem;
    width: 32rem;
  }

  .browser-two {
    opacity: 0.55;
    right: -7rem;
    width: 24rem;
  }

  .section-heading,
  .step-card,
  .download-grid,
  .limits-grid,
  .credits-grid {
    grid-template-columns: 1fr;
  }

  h2 {
    max-width: 22ch;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 0.5rem;
    max-width: 100vw;
    padding-inline: 0.9rem;
  }

  .brand span {
    display: none;
  }

  .header-download {
    font-size: 0.9rem;
    min-height: 2.4rem;
    padding: 0 0.85rem;
  }

  .hero {
    min-height: 84vh;
    padding-top: 4rem;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 3.15rem);
    line-height: 0.95;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-actions .button {
    width: auto;
  }

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

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

  .feature-card,
  .limit-panel,
  .download-panel {
    min-height: auto;
  }

  .download-panel .button {
    width: 100%;
  }

  .screenshot-frame {
    margin-inline: -0.4rem;
    min-height: 8rem;
    padding: 0.55rem;
  }

  .hero-cursor {
    display: none;
  }

  .cursor-cat {
    height: 36px;
    width: 36px;
  }
}

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

  .button,
  .header-download,
  .inline-download {
    transition: none;
  }

  .cursor-cat {
    display: none;
  }
}
