@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600&display=swap');

/* Softer typography and spacing for the public reference site. */
body {
  font-family: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #2e3a50;
  line-height: 1.68;
  font-weight: 400;
}

h1,
h2,
h3 {
  font-family: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.015em;
  line-height: 1.18;
  font-weight: 600;
}

h1 {
  max-width: 620px;
  font-size: clamp(38px, 4.6vw, 58px);
}

h2 {
  font-size: clamp(26px, 2.8vw, 36px);
}

h3 {
  font-size: 18px;
  font-weight: 600;
}

.hero {
  min-height: 570px;
  padding-top: 48px;
  padding-bottom: 34px;
}

.hero-text {
  max-width: 620px;
  margin-top: 20px;
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 400;
  line-height: 1.62;
  color: #5a6678;
}

.pill,
.eyebrow {
  font-weight: 600;
  letter-spacing: 0.035em;
}

.nav,
.button,
.store-badge {
  font-weight: 600;
}

.nav {
  font-size: 14px;
}

.button,
.store-badge {
  letter-spacing: 0;
}

.section {
  padding: 34px;
}

.section-copy p:not(.eyebrow),
.product-copy p,
.why p,
.legal-page p,
.legal-page li,
.feature-copy p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.76;
  font-weight: 400;
}

.product-copy h3 {
  font-size: 19px;
  font-weight: 500;
}

.principles strong,
.product-points strong,
.preview-card li,
.app-card strong {
  font-weight: 600;
}

.brand img,
.site-footer img {
  object-fit: contain;
}

.hero-app-screenshot,
.product-image-preview img,
.feature-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 16px 42px rgba(15, 35, 70, 0.13);
}

/* Homepage: keep one complete, smaller portrait screenshot. */
.hero-app-screenshot {
  position: relative;
  z-index: 2;
  width: min(250px, 72%);
  max-height: 500px;
  object-fit: contain;
}

.product-image-preview {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 20px;
  border-radius: 32px;
  background: linear-gradient(135deg, #f9fbff, #eef5ff);
}

.product-image-preview img {
  width: min(240px, 100%);
  max-height: 470px;
  object-fit: contain;
}

.mgf-page {
  padding-top: 34px;
}

.mgf-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 42px;
  align-items: center;
}

.mgf-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: center;
  margin: 48px 0;
  padding: 34px;
  border: 1px solid #e5ebf5;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(15, 35, 70, 0.06);
}

.mgf-feature.reverse .feature-copy {
  order: 2;
}

.mgf-feature.reverse .feature-screenshot {
  order: 1;
}

.feature-copy h2 {
  margin-bottom: 16px;
}

/* Feature screens: show roughly the top three quarters to keep the page compact. */
.feature-screenshot {
  width: min(250px, 100%);
  height: 430px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 24px;
  background: #f7f9fc;
  box-shadow: 0 16px 42px rgba(15, 35, 70, 0.13);
}

.feature-screenshot img {
  width: 100%;
  height: 100%;
  max-height: none;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  object-position: top center;
}

.legal-page {
  max-width: 820px;
  padding-top: 40px;
}

.legal-page > h1 {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 600;
}

.legal-card {
  padding: 30px 34px;
  border-radius: 24px;
  box-shadow: 0 12px 36px rgba(15, 35, 70, 0.05);
}

.legal-card h2 {
  margin-top: 28px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.legal-card p {
  color: #657083;
}

.legal-updated {
  margin-top: 32px;
  font-size: 14px !important;
  color: #7b8799 !important;
}

.footer-meta {
  justify-self: end;
  text-align: right;
}

.footer-meta p,
.site-footer .footer-meta a {
  margin: 2px 0;
  color: #7a8698;
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
}

.legal-footer img {
  width: 150px;
}

/* The Athirikya homepage presents only the company and its products.
   German Buzz remains available within the MyGermanFreund product area. */
a[href="german-buzz/"],
a[href="german-buzz/2026/kw-28/"] {
  display: none !important;
}

@media (max-width: 960px) {
  .footer-meta {
    justify-self: start;
    text-align: left;
  }

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

  .mgf-feature.reverse .feature-copy,
  .mgf-feature.reverse .feature-screenshot {
    order: initial;
  }

  .hero-app-screenshot {
    width: min(230px, 64%);
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-app-screenshot {
    width: min(210px, 66%);
    max-height: 420px;
    border-radius: 20px;
  }

  .product-image-preview,
  .mgf-feature {
    padding: 20px;
    border-radius: 24px;
  }

  .product-image-preview {
    min-height: 310px;
  }

  .product-image-preview img {
    width: min(210px, 78%);
    max-height: 410px;
    border-radius: 20px;
  }

  .feature-screenshot {
    width: min(220px, 82%);
    height: 370px;
    border-radius: 20px;
  }

  .legal-card {
    padding: 24px;
  }
}
