:root {
  --page: #f5f7f8;
  --surface: #ffffff;
  --surface-soft: #edf8f6;
  --ink: #172225;
  --muted: #657277;
  --line: rgba(23, 34, 37, 0.1);
  --teal: #1aa79b;
  --teal-dark: #087d78;
  --shadow: 0 24px 70px rgba(12, 37, 40, 0.12);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.company-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #6d7a83;
  font-size: 1.34rem;
  font-weight: 760;
  letter-spacing: 0;
}

.company-logo {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  box-shadow: 0 10px 24px rgba(12, 37, 40, 0.1);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.site-nav a {
  border-radius: 999px;
  padding: 8px 12px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(420px, 1.16fr);
  grid-template-areas:
    "brand brand"
    "copy shot";
  align-items: center;
  column-gap: 54px;
  row-gap: 26px;
  min-height: auto;
  padding-top: 62px;
}

.hero-copy {
  grid-area: copy;
  max-width: 600px;
}

.app-icon {
  width: 104px;
  height: 104px;
  flex: 0 0 auto;
  border-radius: 22px;
  box-shadow: 0 22px 48px rgba(8, 125, 120, 0.22);
}

.hero-brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 22px;
  width: 100%;
  max-width: 720px;
  margin-bottom: 0;
}

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

h1 {
  margin-bottom: 0;
  font-size: clamp(2.7rem, 5.6vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.1rem, 5vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
  line-height: 1.2;
}

.subtitle {
  margin-bottom: 28px;
  color: var(--teal-dark);
  font-size: clamp(1.35rem, 3vw, 2.05rem);
  font-weight: 700;
  line-height: 1.18;
}

.intro {
  max-width: 56ch;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.app-store-button {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 188px;
  min-height: 60px;
  border-radius: 8px;
  padding: 10px 18px;
  background: #111618;
  color: #fff;
  box-shadow: 0 14px 30px rgba(17, 22, 24, 0.2);
}

.app-store-button:hover,
.app-store-button:focus-visible {
  background: #000;
}

.button-kicker {
  font-size: 0.76rem;
  line-height: 1;
}

.button-title {
  font-size: 1.42rem;
  font-weight: 700;
  line-height: 1.1;
}

.tagline {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.22rem;
  font-weight: 700;
}

.trial-note {
  max-width: 48ch;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.hero-shot {
  grid-area: shot;
  margin: 0;
  border-radius: var(--radius);
  padding: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(237, 248, 246, 0.78));
  box-shadow: var(--shadow);
}

.hero-shot img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.feature-card {
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--surface);
  box-shadow: 0 16px 42px rgba(20, 36, 39, 0.06);
}

.feature-card p,
.about-card p,
.statement-inner p {
  margin-bottom: 0;
  color: var(--muted);
}

.screenshots-section {
  width: min(1320px, calc(100% - 40px));
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(18, 34, 37, 0.11);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.025);
}

.gallery-item.tablet {
  grid-column: span 2;
  aspect-ratio: 4 / 3;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.phone {
  grid-column: span 1;
  aspect-ratio: 9 / 19.5;
}

.perfect-section {
  text-align: center;
}

.perfect-section .section-heading {
  margin-inline: auto;
}

.audience-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience-list li {
  border: 1px solid rgba(8, 125, 120, 0.2);
  border-radius: 999px;
  padding: 11px 18px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-weight: 700;
}

.statement-section {
  margin: 54px 0;
  background: #102326;
  color: #fff;
}

.statement-inner {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 108px 0;
  text-align: center;
}

.statement-section .eyebrow,
.statement-section p {
  color: rgba(255, 255, 255, 0.78);
}

.statement-section h2 {
  color: #fff;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
}

.split-section h2 {
  max-width: 740px;
  margin-bottom: 0;
}

.contact-heading {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.6;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 8px;
  padding: 0 22px;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 15px 34px rgba(26, 167, 155, 0.24);
}

.contact-button:hover,
.contact-button:focus-visible {
  background: var(--teal-dark);
}

.about-section {
  padding-top: 30px;
}

.about-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(34px, 6vw, 64px);
  background: var(--surface);
  box-shadow: 0 18px 52px rgba(20, 36, 39, 0.07);
}

.about-heading {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.6;
}

.about-body {
  margin-top: 1.6rem;
}

.about-card p {
  max-width: 680px;
  font-size: 1.08rem;
}

.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 34px 0 46px;
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin-bottom: 6px;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "shot"
      "copy";
    min-height: auto;
  }

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

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

  .gallery-item.tablet {
    grid-column: span 2;
  }

  .gallery-item.phone {
    grid-column: span 1;
  }

  .split-section {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-header {
    width: min(100% - 28px, var(--max));
    align-items: center;
    padding: 14px 0;
  }

  .company-brand {
    gap: 10px;
    font-size: 1.05rem;
  }

  .company-logo {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .site-nav {
    gap: 0;
    font-size: 0.88rem;
  }

  .site-nav a {
    padding: 7px 8px;
  }

  .section,
  .screenshots-section,
  .statement-inner,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    gap: 34px;
    padding-top: 42px;
  }

  .app-icon {
    width: 78px;
    height: 78px;
    border-radius: 17px;
  }

  .hero-brand {
    gap: 14px;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.15rem);
  }

  .hero-actions {
    align-items: stretch;
  }

  .app-store-button {
    width: 100%;
  }

  .hero-shot {
    padding: 8px;
  }

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

  .feature-card {
    min-height: auto;
  }

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

  .gallery-item.tablet,
  .gallery-item.phone {
    grid-column: span 2;
  }

  .statement-inner {
    padding: 76px 0;
  }
}
