:root {
  --page: #f6f8fb;
  --paper: #ffffff;
  --ink: #101820;
  --soft-ink: #516171;
  --muted: #7a8796;
  --line: #dfe7ef;
  --teal: #00c9a7;
  --teal-dark: #087f70;
  --orange: #ff5a1f;
  --blue: #e9f3ff;
  --shadow: 0 22px 55px rgba(15, 23, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  background: var(--page);
}

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

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

.site-shell {
  overflow: hidden;
}

.topbar,
.hero,
.metrics,
.section-grid,
.gallery-block,
.download-block,
.contact-block,
.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 900;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--soft-ink);
  font-size: 0.94rem;
  font-weight: 800;
}

.nav-links a:hover {
  color: var(--teal-dark);
}

.nav-links .is-active {
  color: var(--teal-dark);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 42px;
  align-items: center;
  padding: 10px 0 16px;
}

.hero::before {
  display: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1,
.section-head h2,
.download-copy h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 16ch;
  color: var(--ink);
  font-size: 3.35rem;
}

.hero-text {
  max-width: 56ch;
  margin: 18px 0 0;
  color: var(--soft-ink);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-btn {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
}

.secondary-btn {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.primary-btn:hover,
.secondary-btn:hover,
.feature-card:hover {
  transform: translateY(-2px);
}

.store-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual > img {
  width: 100%;
  max-width: 360px;
  height: auto;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.metrics article {
  padding: 24px;
  background: var(--paper);
}

.metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.metrics span,
.feature-card p,
.download-copy p,
.footer p {
  color: var(--soft-ink);
  line-height: 1.68;
}

.section-grid,
.gallery-block,
.download-block,
.contact-block {
  margin-top: 60px;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: start;
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2,
.download-copy h2 {
  max-width: 760px;
  font-size: 2.6rem;
}

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

.feature-card {
  min-height: 200px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.1);
}

.feature-card span {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.feature-card h3 {
  margin: 16px 0 14px;
  font-size: 1.18rem;
}

.feature-card p {
  margin: 0;
}

.section-head-inline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.gallery-tag {
  flex: 0 0 auto;
  padding: 10px 12px;
  border: 1px solid rgba(0, 201, 167, 0.28);
  border-radius: 8px;
  color: var(--teal-dark);
  background: rgba(0, 201, 167, 0.08);
  font-weight: 900;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(180px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-color: var(--teal) transparent;
}

.gallery figure {
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.download-block {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #e8fff9, #fff7f1);
}

.contact-block {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: center;
  padding: 34px 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.contact-block h2 {
  margin: 0;
  font-size: 2.1rem;
  line-height: 1.1;
}

.download-copy p {
  max-width: 56ch;
  margin-bottom: 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 44px 0 36px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.topbar,
.hero,
.metrics,
.section-grid,
.gallery-block,
.download-block,
.contact-block,
.footer {
  animation: rise 0.72s ease both;
}

.contact-details {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.contact-details p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 1.2rem;
  font-weight: 700;
}

.contact-details span {
  color: var(--ink);
  font-weight: 900;
}

.contact-details a {
  color: var(--soft-ink);
  font-weight: 800;
}

.contact-details a:hover {
  color: var(--teal-dark);
}

@media (max-width: 980px) {
  .hero,
  .metrics,
  .section-grid,
  .feature-list,
  .download-block,
  .contact-block {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 34px;
  }

  .hero::before {
    inset: 40% -80px 18px 22px;
  }

  .hero h1 {
    max-width: 14ch;
    font-size: 3.2rem;
  }

  .section-head h2,
  .download-copy h2 {
    font-size: 2.25rem;
  }

  .section-head-inline,
  .footer {
    align-items: start;
    flex-direction: column;
  }

  .hero-visual > img {
    max-width: 380px;
  }
}

@media (max-width: 640px) {
  .topbar,
  .hero,
  .metrics,
  .section-grid,
  .gallery-block,
  .download-block,
  .contact-block,
  .footer {
    width: min(100% - 28px, 1180px);
  }

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

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
    white-space: nowrap;
  }

  .hero {
    padding: 38px 0 48px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-actions,
  .download-actions {
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .gallery {
    grid-template-columns: repeat(6, minmax(156px, 1fr));
  }

  .section-grid,
  .gallery-block,
  .download-block,
  .contact-block {
    margin-top: 44px;
  }

  .section-head h2,
  .download-copy h2 {
    font-size: 1.95rem;
  }

  .download-block,
  .contact-block {
    padding: 24px;
  }

  .contact-details p {
    font-size: 1rem;
  }
}
