:root {
  --blue: #17668a;
  --text: #4b5961;
  --muted: #667781;
  --white: #ffffff;
  --gradient-start: #eb6070;
  --gradient-end: #ed7954;
  --content-width: 1100px;
  --font: "Quicksand", Arial, sans-serif;
}

* { box-sizing: border-box; }

/* Animations */
.bob {
  animation: bobUpDown 1.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

@keyframes bobUpDown {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

/*Styles */

body {
  margin: 0;
  background: #282828;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
}

.site {
  width: 100%;
  margin: 0 auto;
}

.main-content {
  background: var(--white);
}

.gradientbackground {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: var(--white);
  height: 105vh;
  width: 100%;
  top: 0;
  position: fixed;
  z-index: -1000;
}

.hero {
  height: 100vh;
  min-height: 400px;

  display: grid;
  place-items: center;
  text-align: center;

  transition: height 0.6s ease;
}

.hero.shrunk {
  height: 50vh;
}

.sub-hero {
  height: 400px;
  display: grid;
  place-items: center;
  text-align: center;
}

.scrollarrow {
  opacity. 1;
  position: fixed;
  top: 85vh;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  transition: opacity 1s ease;
  cursor: pointer;
}
.scrollarrow.hidden {
  opacity: 0;
}

p.scrolltext {
  color: #ffffff;
  font-weight: 500;
  font-family: var(--font);
  letter-spacing: 0.05em;
  margin: 0 auto;
  padding: 0;
  line-height: 1em;
  font-size: 1em;
}

.hero-inner {
  display: grid;
  justify-items: center;
  gap: 24px;
  transform: translateY(8px);
}

.logo-link {
  display: inline-block;
  line-height: 0;
}

.site-logo {
  display: block;
  width: 200px;
  height: auto;
  margin-bottom: 30px;
}

h1, h2, p { margin-top: 0; }

h1 {
  color: var(--blue);
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.15;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.02em;
}

h2 {
  color: var(--blue);
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}

p { 
  margin-bottom: 16px; 
  font-size: 15px;
  color: var(--muted);
}

p a {
  color: var(--blue);
  text-decoration: none;
}
p a:hover {
  text-decoration: underline;
}

.store-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.store-buttons a {
  display: inline-block;
  line-height: 0;
}

.store-buttons img {
  display: block;
  width: 160px;
  height: auto;
}

.content-wrap {
  width: min(100% - 80px, var(--content-width));
  margin: 0 auto;
}

.intro {
  max-width: 550px;
  padding: 80px 0 50px;
  text-align: center;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 28px;
  padding-bottom: 66px;
}

.feature-card > img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  margin-bottom: 18px;
  border-radius: 9px;
  background: linear-gradient(135deg, #e8696d, #3d9ab8);
}

.image-band {
  position: relative;
  min-height: 315px;
  display: grid;
  place-items: center;
  padding: 80px 40px 80px 40px;
  background-image: url("assets/woman-journaling.webp");
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
}

.privacy-content {
  position: relative;
  width: min(100%, 720px);
}

.privacy h2 {
  color: #fff;
  margin-bottom: 22px;
}

.privacy p {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
}

.footer {
  min-height: 300px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 28px;
  text-align: center;
  padding: 64px 24px;
}

.footer h2 {
  color: #fff;
  margin-bottom: 0;
}

.instagram-link {
  display: inline-block;
  margin-top: 48px;
  line-height: 0;
}

.instagram-link img {
  display: block;
  width: 32px;
  height: auto;
}

@media (max-width: 700px) {
  body { background: #fff; }

  h1 { font-size: 28px; }
  h2 { font-size: 23px; }
  p { font-size: 15px; }
  
  
  .site { width: 100%; }

  .hero {
    min-height: 245px;
    padding: 42px 20px;
  }

  .site-logo { width: 160px; }
  
  h1 { font-size: }

  .content-wrap {
    width: min(100% - 40px, 420px);
  }

  .intro {
    padding: 80px 0 80px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 80px;
  }

  .feature-card > img {
    margin-bottom: 16px;
  }

  .image-band {
    min-height: 360px;
    padding: 80px 2-px;
  }

  .footer {
    min-height: 330px;
    padding: 80px 20px;
  }

  .footer .store-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .instagram-link { margin-top: 34px; }
}


/* Subtle scroll fade-in animations
   The .reveal class is added by scroll-animations.js so the HTML can stay clean. */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }

/* Keep the motion accessible for users who prefer reduced motion. */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
