/* Product-page composition. Shared type, chrome, controls, and responsive rules live in pages.css. */
.app-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 8px;
  padding-top: 56px;
  padding-bottom: 76px;
}

.app-hero-copy {
  position: relative;
  z-index: 1;
}
.app-hero-copy > p {
  max-width: 48ch;
}
.app-hero-actions {
  justify-content: flex-start;
  align-items: center;
}
.app-download-link {
  color: var(--ink);
  font-weight: 600;
}

.app-hero-art {
  width: 114%;
  max-width: 114%;
  margin: 0 0 0 -7%;
  mix-blend-mode: multiply;
}
.app-hero-art img {
  width: 100%;
  mask-image: linear-gradient(
      to right,
      transparent,
      #000 6%,
      #000 94%,
      transparent
    ),
    linear-gradient(to bottom, transparent, #000 7%, #000 91%, transparent);
  mask-composite: intersect;
}
.trial-note {
  margin: 16px 0 0;
  font-size: 13px;
}

.app-intro {
  padding: 88px 0 92px;
  background: var(--surface);
}
.app-intro-copy {
  max-width: 650px;
  margin: 0 auto 52px;
  text-align: center;
}
.app-intro-copy p {
  margin-right: auto;
  margin-left: auto;
}

.app-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.app-capability-grid article {
  max-width: 330px;
  margin: 0 auto;
  text-align: center;
}
.app-capability-grid svg {
  display: block;
  width: 164px;
  height: 144px;
  margin: 0 auto 12px;
  color: var(--ink);
  stroke-width: 2.4px;
}
.app-capability-grid h3 {
  margin: 0 0 12px;
}
.app-capability-grid p {
  margin: 0;
}

.white-fill {
  fill: #fff;
}
.sky-fill {
  fill: var(--sky);
}
.coral-fill {
  fill: var(--coral);
}
.butter-fill {
  fill: var(--butter);
}
.sage-fill {
  fill: var(--sage);
}
.primary-fill {
  fill: var(--primary);
}
.primary-stroke {
  stroke: var(--primary);
}
.muted-stroke {
  stroke: var(--muted);
}
.rays {
  stroke: var(--butter);
  stroke-width: 5px;
}

.app-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 88px;
  padding-top: 96px;
  padding-bottom: 96px;
}
.app-section > div > p,
.app-notification-grid > div > p {
  max-width: 47ch;
}

.app-checks {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.app-checks li {
  position: relative;
  margin: 14px 0;
  padding-left: 34px;
}
.app-checks li::before {
  position: absolute;
  top: 1px;
  left: 0;
  width: 22px;
  height: 22px;
  content: '✓';
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  text-align: center;
}

.app-preview {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
}
.app-preview img {
  width: 100%;
}
.app-preview figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.app-notifications {
  padding: 88px 0;
  background: var(--sky);
}
.app-notification-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 88px;
}
.notification-drawing {
  width: min(100%, 450px);
  justify-self: center;
  color: var(--ink);
}
.notification-drawing svg {
  display: block;
  width: 100%;
}

.app-closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 48px;
  margin-bottom: 48px;
  padding-top: 56px;
  padding-bottom: 56px;
  border-radius: 16px;
  background: var(--surface);
}
.app-closing h2,
.app-closing p {
  margin-bottom: 0;
}
.app-closing .actions {
  justify-content: flex-end;
}

@media (max-width: 1100px) {
  .app-hero h1 {
    font-size: 54px;
  }
  .app-hero-art {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
}

@media (max-width: 899px) {
  .app-hero,
  .app-section,
  .app-notification-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .app-hero {
    padding-top: 36px;
    padding-bottom: 60px;
  }
  .app-hero-art {
    width: 100%;
    max-width: 720px;
    margin: -12px auto 0;
  }
  .app-section,
  .app-notifications {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .app-notification-grid > div:last-child {
    grid-row: 1;
  }
  .app-capability-grid {
    gap: 32px;
  }
  .app-closing {
    align-items: flex-start;
    flex-direction: column;
  }
  .app-closing .actions {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .app-hero h1 {
    font-size: 40px;
    line-height: 44px;
  }
}

@media (max-width: 599px) {
  .app-hero {
    gap: 20px;
  }
  .app-hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .app-intro {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .app-intro-copy {
    margin-bottom: 36px;
    text-align: left;
  }
  .app-intro-copy p {
    margin-left: 0;
  }
  .app-capability-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .app-capability-grid article {
    max-width: 420px;
    text-align: left;
  }
  .app-capability-grid svg {
    margin-left: 0;
  }
  .app-preview {
    padding: 12px;
  }
  .app-closing {
    margin-top: 24px;
    margin-bottom: 24px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
