/* Minimal custom CSS for caspering-ai-website */

/* 1. Font-face rules (Archivo and Archivo Narrow) */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/archivo/Archivo_400_normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/archivo/Archivo_400_italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/archivo/Archivo_700_normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo Narrow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/archivonarrow/ArchivoNarrow-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo Narrow';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/archivonarrow/ArchivoNarrow-Italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo Narrow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/archivonarrow/ArchivoNarrow-Bold.woff2') format('woff2');
}

/* 2. CSS Reset & Base Styles */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  margin: 0;
  font-family: 'Archivo', Arial, sans-serif;
  background: #1f1f1f;
  color: #fff;
  line-height: 1.5;
}
a {
  color: #e20078;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ff4fa0;
  text-decoration: none;
}

/* 3. Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* 4. Hero / Large Headings */
.hero, .text-hero, .text-size--hero {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 2rem 0 1rem 0;
  color: #fff;
}
@media (min-width: 600px) {
  .hero, .text-hero, .text-size--hero {
    font-size: 4rem;
  }
}

/* 5. Button Styles */
.button {
  display: inline-block;
  font-family: 'Archivo Narrow', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  font-style: italic;
  padding: 0.75em 2em;
  border: none;
  border-radius: 2em;
  background: #e20078;
  color: #fff;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.button:hover, .button:focus {
  background: #ff4fa0;
  color: #fff;
  text-decoration: none;
}
.button--secondary {
  background: #1f1f1f;
  color: #fff;
}
.button--secondary:hover, .button--secondary:focus {
  background: #333;
  color: #fff;
}

/* 6. Utility: Remove underline from images/links inside .button, .logo, .badge */
.button img, .logo img, .badge img, a img {
  border: none;
  box-shadow: none;
  text-decoration: none;
}

/* 7. Utility: Responsive images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Footer link hover: pink underline */
.site-footer a {
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
  box-shadow: none;
}
.site-footer a:hover, .site-footer a:focus {
  text-decoration: none;
  box-shadow: 0 2px 0 0 #ec4899;
}

/* Prevent underline and color on image links in footer and header */
.site-footer a:has(img), .site-header a:has(img) {
  box-shadow: none !important;
  color: inherit !important;
  text-decoration: none !important;
  transition: none;
}

/* Only apply pink underline to text links in footer */
.site-footer a:not(:has(img)):hover, .site-footer a:not(:has(img)):focus {
  box-shadow: 0 2px 0 0 #ec4899;
} 

/* Standardize app store badge size */
.app-badge {
  height: 56px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

/* Legal pages styling */
.legal-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem 2rem 1rem;
  background: #fff;
  color: #18181b;
}

.legal-page .legal-container {
  max-width: 700px;
  text-align: left;
}

.legal-page .legal-title {
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #18181b;
  text-align: left;
}

.legal-page .legal-content {
  color: #18181b;
  line-height: 1.6;
  font-size: 1rem;
}

.legal-page .legal-content a {
  color: #e20078;
  text-decoration: none;
  transition: color 0.2s;
}

.legal-page .legal-content a:hover,
.legal-page .legal-content a:focus {
  color: #ff4fa0;
  text-decoration: none;
}