/* ========== 0. Variables & Base ========== */
:root {
  --very-dark-blue: #061826;
  --orange:         #ff8b2d;
  --turquoise:      #35c6c0;
  --beige:          #fbf6ee;
  --brown:          #5c4a3d;

  --gradient-light: linear-gradient(135deg, #fbf6ee 0%, #fefaf5 100%);
  --gradient-accent: linear-gradient(135deg, #35c6c0, #2aa3a0);

  --text-primary:   #061826;
  --text-secondary: #5c4a3d;
  --bg-light:       #ffffff;
  --bg-soft:        #fbf6ee;

  --font-base: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: .5rem;
  --gap: 1.5rem;
}

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

body {
  font: 400 1rem/1.6 var(--font-base);
  color: var(--text-primary);
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

/* ===== Utility ===== */
.container {
  width: min(90%, 64rem);
  margin-inline: auto;
}

/* ========== 1. HERO ========== */
.hero {
  padding: 6rem 0 4rem;
  background: var(--gradient-light);
}
.hero__mascot {
  width: clamp(120px, 25vw, 200px);
  transition: transform .3s ease, filter .3s ease;
  filter: drop-shadow(0 0 12px var(--turquoise));
}
.hero__mascot:hover {
  transform: translateY(-5px) scale(1.05);
}
.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-top: var(--gap);
}
.hero__tagline {
  font-size: 1.125rem;
  max-width: 50ch;
  margin: var(--gap) auto;
  color: var(--text-secondary);
}
.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: var(--gap);
}
.btn {
  display: inline-block;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease;
}
.btn--store:hover {
  transform: translateY(-3px);
}
.icon-link img {
  width: 2rem;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.icon-link img:hover {
  opacity: 1;
  transform: scale(1.1);
}
.hero__social-proof {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  opacity: 0.9;
}

/* ========== 2. FEATURES ========== */
.teaser {
  padding: 4rem 0;
  background: var(--bg-light);
}
.teaser h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: var(--gap);
  color: var(--very-dark-blue);
}
.features-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap);
}
.features-grid li {
  background: var(--gradient-accent);
  color: #fff;
  padding: 1.5rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.features-grid li:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.feature-icon {
  font-size: 2rem;
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

/* ========== 3. FOOTER ========== */
footer {
  margin-top: auto;
  padding: 2rem 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--brown);
}
footer small {
  color: var(--text-secondary);
  font-size: .875rem;
}
/* FOOTER */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--brown);
  padding: 1.5rem 0;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Column defaults */
.footer__col {
  flex: 1 1 100%;
  text-align: center;
}

/* On medium+ screens: three columns */
@media (min-width: 600px) {
  .footer__col {
    flex: 1 1 auto;
  }
  .footer__col--social { text-align: left; }
  .footer__col--copy   { text-align: center; }
  .footer__col--support{ text-align: right; }
}

/* Social icon */
.footer__col--social .icon-link img {
  width: 1.75rem;
  opacity: .8;
  transition: opacity .2s ease, transform .2s ease;
}
.footer__col--social .icon-link:hover img {
  opacity: 1;
  transform: scale(1.1);
}

/* Text styling */
.site-footer small {
  color: var(--text-secondary);
  font-size: .875rem;
}
.site-footer a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color .2s ease, border-bottom-color .2s ease;
}
.site-footer a:hover {
  color: var(--turquoise);
  border-bottom-color: var(--turquoise);
}

/* ========== 4. Accessibility ========== */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.footer__col--support a {
  text-decoration: none;
}
