*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  background: #faf9f7;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 1.5rem 2rem;
}

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

main {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 0 0 3rem;
}

.site-header {
  width: 100%;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.site-brand {
  width: min(960px, 100%);
  margin: 0 auto;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.95rem;
  text-align: left;
  color: #0f172a;
}

.hero {
  width: min(960px, 100%);
  margin: 0 auto;
  text-align: center;
  padding-bottom: 1rem;
}

.hero p {
  margin: 0;
}

.hero-description {
  margin-top: 0.75rem;
  font-size: 1rem;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  color: #0070f3;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-link::after {
  content: "↗";
  font-size: 0.9rem;
}

header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.apps {
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-subtitle {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.65);
}

.section-heading h2 {
  margin: 0.5rem 0 0.25rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.section-heading p {
  margin: 0;
  color: rgba(15, 23, 41, 0.8);
}

.app-card {
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 2rem;
  background: #e8f5e9;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: left;
  box-shadow: 0 25px 45px rgba(15, 23, 42, 0.12);
}

@media (min-width: 900px) {
  .app-card {
    flex-direction: row;
    align-items: center;
  }
}

.app-card__content {
  flex: 1;
}

.app-card h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.app-card__lede {
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.app-card__content p {
  margin: 0 0 0.85rem;
}

.app-card__content p:last-of-type {
  margin-bottom: 0;
}

.app-card__media {
  flex: 1;
  margin: 0;
  text-align: center;
}

.app-card__media img {
  width: 100%;
  max-width: 430px;
  border-radius: 1.5rem;
}

.app-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-card__cta:hover,
.app-card__cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.35);
}

.site-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 3rem 1rem 0;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: #0070f3;
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

.footer-copy {
  margin: 0;
  font-size: 0.95rem;
  color: #0f172a;
}
