/* Heaven’s Boutique — marketing (matches iOS HBTheme) */
:root {
  --cream: #fff8f2;
  --soft-pink: #ebc6d4;
  --rose: #dc9ba8;
  --gold: #d4af37;
  --gold-light: #f1e5ac;
  --gold-deep: #b68d19;
  --charcoal: #2b2b2b;
  --muted: #8a8a8a;
  --white: #ffffff;
  /* Warm light for text on dark surfaces (footer, buttons). */
  --cream-light: #fff8f2;
  --page-bg: var(--cream);
  --page-text: var(--charcoal);
  --header-bg: rgba(255, 248, 242, 0.92);
  --header-border: rgba(232, 169, 181, 0.35);
  --shadow: 0 8px 32px rgba(43, 43, 43, 0.08);
  --shadow-strong: 0 16px 50px rgba(43, 43, 43, 0.12);
  --radius: 16px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-script: "Great Vibes", "Snell Roundhand", cursive;
  --font-body: "DM Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-text);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  text-decoration: underline;
}

.site-header a:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 8px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--charcoal);
  color: var(--cream-light);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--header-border);
}

.site-header--animate {
  animation: header-enter 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes header-enter {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-script);
  font-size: 1.85rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--page-text);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  color: var(--rose);
}

.logo--with-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 22%;
  box-shadow: 0 2px 12px rgba(43, 43, 43, 0.1);
}

.logo-text {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.hero-app-mark {
  display: block;
  width: min(112px, 28vw);
  height: auto;
  margin: 0 auto 1rem;
  border-radius: 22%;
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.2);
  position: relative;
  z-index: 1;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-desktop a {
  color: var(--page-text);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-desktop a:hover {
  color: var(--gold);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #c9a227 100%);
  color: var(--page-text);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
  text-decoration: none;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: var(--white);
  color: var(--page-text);
  border: 1px solid rgba(232, 169, 181, 0.6);
}

.btn-ghost:hover {
  background: var(--soft-pink);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(232, 169, 181, 0.6);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--page-text);
  transition: transform 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-desktop {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    background: var(--cream);
    border-bottom: 1px solid var(--header-border);
    gap: 0.5rem;
  }

  .nav-desktop.is-open {
    display: flex;
  }

  .nav-desktop .btn {
    justify-content: center;
    margin-top: 0.5rem;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 6rem) 1.25rem clamp(4rem, 10vw, 7rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(ellipse at center, var(--soft-pink) 0%, transparent 65%);
  pointer-events: none;
  opacity: 0.85;
  animation: hero-glow-shift 16s ease-in-out infinite alternate;
}

@keyframes hero-glow-shift {
  0% {
    opacity: 0.78;
    transform: scale(1) translate(0, 0);
  }
  100% {
    opacity: 0.95;
    transform: scale(1.06) translate(2%, -3%);
  }
}

.hero-aurora {
  position: absolute;
  width: min(92vw, 480px);
  height: min(92vw, 480px);
  right: max(-8%, -4rem);
  top: 5%;
  background: radial-gradient(
    circle at 40% 40%,
    rgba(212, 175, 55, 0.14) 0%,
    rgba(247, 214, 224, 0.08) 35%,
    transparent 68%
  );
  pointer-events: none;
  animation: aurora-float 20s ease-in-out infinite;
}

@keyframes aurora-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-4%, 3%) scale(1.05);
  }
  66% {
    transform: translate(3%, -2%) scale(0.96);
  }
}

.hero-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.hero-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 1rem;
  color: var(--page-text);
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 32ch;
  margin: 0 0 1.75rem;
}

.hero-fineprint {
  margin: 0.9rem 0 0;
  color: rgba(43, 43, 43, 0.7);
  font-size: 0.9rem;
  max-width: 52ch;
}

.hero-trust {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 560px) {
  .hero-trust {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.8rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(232, 169, 181, 0.28);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(43, 43, 43, 0.06);
}

.trust-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(241, 229, 172, 0.95), rgba(235, 198, 212, 0.85));
  font-size: 0.95rem;
}

.trust-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--page-text);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-copy > * {
  opacity: 0;
  transform: translateY(22px);
  animation: fade-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-copy .hero-eyebrow {
  animation-delay: 0.08s;
}

.hero-copy h1 {
  animation-delay: 0.18s;
}

.hero-copy .hero-lead {
  animation-delay: 0.28s;
}

.hero-copy .hero-cta {
  animation-delay: 0.38s;
}

@keyframes fade-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-visual {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--white) 0%, var(--soft-pink) 100%);
  box-shadow: var(--shadow-strong);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  border: 1px solid rgba(232, 169, 181, 0.4);
  overflow: hidden;
}

.hero-visual--animate {
  animation: fade-rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

.hero-visual__float {
  animation: float-card 8s ease-in-out 1.2s infinite alternate;
}

@keyframes float-card {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}

.hero-sparkle {
  position: absolute;
  font-size: 0.95rem;
  color: var(--gold);
  opacity: 0.35;
  pointer-events: none;
  animation: sparkle-twinkle 3.5s ease-in-out infinite;
}

.hero-sparkle--1 {
  top: 14%;
  right: 12%;
  animation-delay: 0s;
}

.hero-sparkle--2 {
  bottom: 22%;
  left: 10%;
  font-size: 0.75rem;
  opacity: 0.28;
  animation-delay: 0.6s;
}

.hero-sparkle--3 {
  top: 42%;
  right: 8%;
  font-size: 0.65rem;
  animation-delay: 1.1s;
}

@keyframes sparkle-twinkle {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 0.65;
    transform: scale(1.15) rotate(12deg);
  }
}

.hero-visual .tagline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--page-text);
  margin: 0 0 0.5rem;
}

.hero-visual p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-mini-proof {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.75rem;
}

.mini-proof-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 0.75rem;
}

.stars {
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  font-weight: 800;
  font-size: 0.95rem;
}

.mini-proof-text {
  font-size: 0.9rem;
  color: rgba(43, 43, 43, 0.75);
  font-weight: 600;
}

.mini-proof-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(232, 169, 181, 0.35);
  color: rgba(43, 43, 43, 0.78);
  font-size: 0.85rem;
  font-weight: 700;
}

.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 1.25rem;
}

.section-tight {
  padding-top: clamp(2.5rem, 6vw, 4rem);
}

.section-head--compact {
  margin-bottom: 2rem;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.75rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--page-text);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.highlights {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 760px) {
  .highlights {
    grid-template-columns: repeat(3, 1fr);
  }
}

.highlight {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(232, 169, 181, 0.28);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.highlight h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.highlight p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.story-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 800px) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.story-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(232, 169, 181, 0.25);
}

.story-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
}

.story-card p {
  margin: 0;
  color: var(--muted);
}

.pillars {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  border: 1px solid rgba(232, 169, 181, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-light), var(--soft-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  animation: pillar-glow 5s ease-in-out infinite;
}

.pillar:nth-child(2) .pillar-icon {
  animation-delay: 0.4s;
}

.pillar:nth-child(3) .pillar-icon {
  animation-delay: 0.8s;
}

@keyframes pillar-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2);
    transform: scale(1.04);
  }
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.pillar p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.section-soft {
  background: linear-gradient(180deg, var(--soft-pink) 0%, var(--cream) 100%);
}

.app-cta {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: var(--shadow);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.app-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
}

.app-cta > p {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  background: var(--charcoal);
  color: var(--cream-light);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  animation: badge-shimmer 4s ease-in-out infinite;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.app-store-btn__icon {
  font-size: 1.05rem;
  line-height: 1;
}

.app-store-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(43, 43, 43, 0.2);
  text-decoration: none;
  color: var(--cream-light);
}

.app-meta {
  display: grid;
  gap: 0.5rem;
  justify-content: center;
  margin: 0 0 1.25rem;
  color: rgba(43, 43, 43, 0.72);
  font-size: 0.92rem;
}

@media (min-width: 700px) {
  .app-meta {
    grid-template-columns: repeat(3, auto);
    gap: 0.75rem 1.5rem;
  }
}

.app-meta strong {
  color: var(--page-text);
}

.app-support-note,
.contact-card .contact-detail {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

.app-support-note a,
.contact-detail a {
  font-weight: 600;
}

@keyframes badge-shimmer {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.12);
  }
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid rgba(232, 169, 181, 0.3);
}

.contact-card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 760px) {
  .testimonials {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid rgba(232, 169, 181, 0.28);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.testimonial::before {
  content: "“";
  position: absolute;
  top: -14px;
  left: 14px;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(212, 175, 55, 0.22);
}

.testimonial blockquote {
  margin: 0;
  font-size: 0.98rem;
  color: rgba(43, 43, 43, 0.78);
}

.testimonial figcaption {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: rgba(43, 43, 43, 0.6);
  font-weight: 700;
}

/* FAQ */
.faq {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(232, 169, 181, 0.3);
  border-radius: var(--radius);
  padding: 0.2rem 1rem;
  box-shadow: 0 10px 28px rgba(43, 43, 43, 0.06);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0.25rem;
  font-weight: 700;
  color: var(--page-text);
  outline: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--gold-deep);
  font-weight: 900;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-body {
  padding: 0 0.25rem 1rem;
  color: rgba(43, 43, 43, 0.74);
  font-size: 0.95rem;
}

.faq-body p {
  margin: 0;
}

/* Legal (terms.html) */
.legal-page {
  padding: clamp(2rem, 5vw, 3.5rem) 1.25rem clamp(3rem, 8vw, 5rem);
}

.legal-inner {
  max-width: 42rem;
  margin: 0 auto;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--page-text);
  margin: 0 0 0.5rem;
  line-height: 1.15;
}

.legal-updated {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 2rem;
}

.legal-prose {
  color: var(--page-text);
  font-size: 0.98rem;
  line-height: 1.65;
}

.legal-prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: var(--page-text);
}

.legal-prose h2:first-of-type {
  margin-top: 0;
}

.legal-prose p {
  margin: 0 0 1rem;
}

.legal-prose ul {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
}

.legal-prose li {
  margin-bottom: 0.5rem;
}

.legal-prose a {
  word-break: break-word;
}

.legal-disclaimer {
  margin-top: 2.5rem;
  padding: 1.25rem 1.25rem;
  background: var(--white);
  border: 1px solid rgba(232, 169, 181, 0.45);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.site-footer {
  background: var(--charcoal);
  color: var(--cream-light);
  padding: 2.5rem 1.25rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: flex-start;
  }
}

.footer-brand {
  font-family: var(--font-script);
  font-size: 1.65rem;
  font-weight: 400;
  margin: 0 0 0.35rem;
  color: var(--cream-light);
}

.footer-meta {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 248, 242, 0.65);
}

.footer-attribution {
  margin-top: 0.65rem;
}

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

.footer-links a {
  color: var(--gold-light);
  font-weight: 500;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--soft-pink);
  text-decoration: none;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal .section-inner > * {
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal:not(.reveal--visible) .section-inner > * {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.reveal--visible .section-inner > *:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.05s;
}

.reveal.reveal--visible .section-inner > *:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.14s;
}

.reveal.reveal--visible .section-inner > *:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.22s;
}

.site-footer.reveal .footer-inner {
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.08s, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

.site-footer.reveal:not(.reveal--visible) .footer-inner {
  opacity: 0;
  transform: translateY(16px);
}

.site-footer.reveal.reveal--visible .footer-inner {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .site-header--animate,
  .hero::before,
  .hero-aurora,
  .hero-visual--animate,
  .hero-visual__float,
  .hero-sparkle,
  .pillar-icon,
  .app-store-btn {
    animation: none !important;
  }

  .hero-copy > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .reveal,
  .reveal .section-inner > *,
  .site-footer.reveal .footer-inner {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
