:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: rgba(255, 255, 255, 0.06);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.66);
  --soft: rgba(255, 255, 255, 0.42);
  --line: rgba(255, 255, 255, 0.12);
  --orange: #ff8a00;
  --orange-hot: #ff5a08;
  --amber: #ffc46a;
  --green: #72d79b;
  --radius: 16px;
  font-family: ui-rounded, "SF Pro Rounded", "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 80% 16%, rgba(255, 138, 0, 0.16), transparent 30rem),
    linear-gradient(180deg, #050505 0%, #080706 42%, #050505 100%);
  color: var(--text);
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 44px);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.08));
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 800;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow: 0 12px 26px rgba(255, 116, 0, 0.2);
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 22px);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

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

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

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.96) 0%, rgba(5, 5, 5, 0.78) 34%, rgba(5, 5, 5, 0.28) 70%, rgba(5, 5, 5, 0.72) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.32) 0%, rgba(5, 5, 5, 0.26) 54%, #050505 100%);
}

.hero-content {
  position: relative;
  width: min(660px, 100%);
  padding: 118px clamp(20px, 6vw, 72px) 68px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.12;
}

.hero-copy,
.preview-copy p,
.gallery-copy p,
.download p,
.step-grid p,
.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
}

.hero-copy {
  max-width: 540px;
  margin: 18px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.button.primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-hot));
  box-shadow: 0 14px 34px rgba(255, 112, 0, 0.32);
}

.button.secondary {
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.88);
}

.app-preview,
.steps,
.gallery,
.download,
.legal-content {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.app-preview {
  display: grid;
  grid-template-columns: minmax(250px, 350px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  padding: 52px 0 64px;
}

.screenshot-carousel {
  width: min(350px, 100%);
  margin: 0 auto;
}

.screenshot-track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.screenshot-track::-webkit-scrollbar {
  display: none;
}

.phone-frame {
  position: relative;
  flex: 0 0 100%;
  aspect-ratio: 1310 / 2710;
  scroll-snap-align: center;
  filter: drop-shadow(0 22px 54px rgba(0, 0, 0, 0.52));
}

.screenshot-image {
  position: absolute;
  top: 3.25%;
  left: 3.75%;
  width: 92%;
  height: 93.5%;
  max-width: none;
  object-fit: cover;
  border-radius: 8.4% / 4%;
  background: #050505;
}

.frame-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
}

.carousel-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.carousel-button {
  min-width: 56px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.carousel-button:hover {
  border-color: rgba(255, 138, 0, 0.42);
  color: var(--text);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
}

.carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

.carousel-dots button.is-active {
  width: 22px;
  background: var(--orange);
}

.preview-copy p,
.gallery-copy p,
.download p {
  max-width: 620px;
  margin: 16px 0 0;
}

.steps {
  padding: 52px 0 64px;
}

.section-heading {
  max-width: 650px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.step-grid article,
.download {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.step-grid article {
  padding: 20px;
}

.step-number {
  color: var(--amber);
  font-size: 12px;
  font-weight: 950;
}

.step-grid h3 {
  margin-top: 14px;
}

.step-grid p {
  margin: 10px 0 0;
  font-size: 14px;
}

.gallery {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1fr;
  gap: 12px;
  align-items: stretch;
  padding: 0 0 64px;
}

.gallery img,
.gallery-copy {
  min-height: 340px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-copy {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 24px;
  background:
    linear-gradient(160deg, rgba(255, 138, 0, 0.14), rgba(114, 215, 155, 0.08)),
    var(--panel);
}

.download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(22px, 4vw, 34px);
  margin-bottom: 44px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(18px, 5vw, 44px) 34px;
  color: var(--soft);
}

.legal-hero {
  padding: 110px clamp(20px, 5vw, 48px) 38px;
  background:
    linear-gradient(180deg, rgba(255, 138, 0, 0.16), transparent),
    #050505;
}

.legal-hero h1 {
  max-width: 900px;
  font-size: clamp(38px, 6vw, 66px);
}

.legal-content {
  padding: 12px 0 68px;
}

.legal-content section {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  font-size: clamp(23px, 3.5vw, 32px);
}

.legal-content p,
.legal-content li {
  font-size: 15px;
}

.legal-content ul {
  padding-left: 22px;
}

.legal-content a {
  color: var(--amber);
  font-weight: 800;
}

@media (max-width: 880px) {
  .app-preview,
  .gallery,
  .step-grid,
  .download {
    grid-template-columns: 1fr;
  }

  .app-preview {
    padding-top: 42px;
  }

  .screenshot-carousel {
    width: min(340px, 100%);
    margin: 0 auto;
  }

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

  .gallery img,
  .gallery-copy {
    min-height: 260px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .nav-links {
    gap: 12px;
    font-size: 13px;
  }

  .hero {
    display: block;
    min-height: auto;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.94), rgba(5, 5, 5, 0.58)),
      linear-gradient(180deg, rgba(5, 5, 5, 0.16), rgba(5, 5, 5, 0.2) 46%, #050505 100%);
  }

  .hero-content {
    padding: 92px 20px 38px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-copy,
  .preview-copy p,
  .gallery-copy p,
  .download p {
    font-size: 14px;
  }

  .app-preview,
  .steps,
  .gallery,
  .download,
  .legal-content {
    width: min(100% - 32px, 1120px);
  }

  .screenshot-carousel {
    width: min(280px, 100%);
  }

  .app-preview {
    padding-top: 26px;
    padding-bottom: 48px;
  }

  .button {
    width: 100%;
    min-height: 44px;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 22px;
  }

  .download {
    gap: 18px;
  }

  .download h2,
  .download p {
    max-width: 100%;
  }

  .carousel-controls {
    grid-template-columns: 1fr;
  }

  .carousel-button {
    display: none;
  }

  .site-footer {
    align-items: center;
    flex-direction: column;
    gap: 16px;
    padding-top: 26px;
    text-align: center;
  }

  .site-footer .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
  }
}
