:root {
  color-scheme: dark;
  --header-height: 84px;
  --ink: #f5fbfa;
  --muted: #9fb0b5;
  --line: rgba(255, 255, 255, 0.12);
  --paper: #080d10;
  --white: #111a1f;
  --surface: #162229;
  --mint: #55e3c2;
  --mint-dark: #7df0d5;
  --coral: #ff7a59;
  --yellow: #f7c948;
  --blue: #69a9ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: var(--header-height);
  background:
    radial-gradient(circle at 18% 4%, rgba(85, 227, 194, 0.14), transparent 30%),
    radial-gradient(circle at 82% 0%, rgba(105, 169, 255, 0.12), transparent 26%),
    var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-height);
  padding: 14px clamp(16px, 4vw, 72px);
  background: rgba(8, 13, 16, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 0;
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 800;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
}

.brand img {
  border-radius: 10px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
  flex-shrink: 0;
}

.site-nav a {
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-nav .primary-nav-link {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.site-nav .primary-nav-link {
  background: rgba(85, 227, 194, 0.16);
  color: var(--mint-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  min-height: calc(100vh - var(--header-height));
  padding: clamp(44px, 7vw, 96px) clamp(20px, 5vw, 72px) clamp(32px, 5vw, 64px);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--mint-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.25;
}

.lead {
  margin: 22px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 32px;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.app-store-badge img {
  display: block;
  width: 160px;
  height: auto;
  max-width: 100%;
  flex-shrink: 0;
}

.app-store-badge:hover {
  opacity: 0.9;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--mint);
  color: #06100f;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
  color: var(--ink);
}

.hero-media {
  justify-self: stretch;
}

.hero-media img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section,
.content-page {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 28px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature,
.faq article {
  min-height: 174px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.feature p,
.app-showcase p,
.page-title p,
.policy p,
.faq p,
.steps p {
  margin: 0;
  color: var(--muted);
}

.app-showcase {
  background: rgba(17, 26, 31, 0.82);
  overflow: hidden;
}

.showcase-copy {
  display: grid;
  gap: 12px;
  max-width: 780px;
  margin-bottom: 30px;
}

.screenshots {
  display: flex;
  gap: clamp(14px, 2vw, 22px);
  overflow-x: auto;
  max-width: 100%;
  padding: 8px 0 24px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--mint) rgba(255, 255, 255, 0.12);
  -webkit-overflow-scrolling: touch;
}

.screenshots img {
  width: clamp(220px, 23vw, 320px);
  aspect-ratio: 1206 / 2622;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.36);
  scroll-snap-align: start;
}

.content-page {
  max-width: 940px;
  margin: 0 auto;
}

.page-title {
  margin-bottom: 44px;
}

.page-title h1 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 7vw, 5.2rem);
}

.page-title .button {
  margin-top: 26px;
}

.policy,
.faq,
.steps {
  display: grid;
  gap: 18px;
}

.policy {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  font-size: 0.98rem;
}

.policy h2 {
  margin-top: 20px;
  font-size: 1.25rem;
}

.policy h2:first-child {
  margin-top: 0;
}

.policy ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.policy a {
  color: var(--mint-dark);
  font-weight: 800;
  text-decoration: none;
}

.policy a:hover {
  text-decoration: underline;
}

.faq h2 {
  font-size: 1.6rem;
}

.steps article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.steps h2 {
  font-size: clamp(1.12rem, 2vw, 1.45rem);
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(85, 227, 194, 0.14);
  border-radius: 8px;
  color: var(--mint-dark);
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 820px) {
  :root {
    --header-height: 72px;
  }

  .site-header {
    align-items: center;
    gap: 10px;
  }

  .site-nav {
    gap: 4px;
  }

  .site-nav a {
    padding: 6px 8px;
    font-size: 0.9rem;
  }

  .site-nav {
    justify-content: flex-start;
  }

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

  .hero {
    min-height: auto;
  }

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

  h1 {
    font-size: clamp(2.45rem, 11vw, 4.8rem);
  }

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

@media (max-width: 520px) {
  .site-header,
  .section,
  .content-page,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .screenshots img {
    width: min(74vw, 300px);
    border-radius: 24px;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .actions > * {
    width: 100%;
  }

  .app-store-badge {
    justify-content: center;
  }

  .app-store-badge img {
    width: min(100%, 220px);
  }

  .button {
    width: 100%;
  }

  .steps article {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  .site-header {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .site-nav {
    gap: 4px;
  }

  .site-nav a {
    padding: 7px 9px;
    font-size: 0.92rem;
  }

  h1,
  .page-title h1 {
    font-size: clamp(2.05rem, 10vw, 2.45rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(1.55rem, 8vw, 2rem);
  }

  .lead {
    font-size: 1rem;
  }

  .feature,
  .faq article,
  .steps article {
    padding: 20px;
  }
}
