/* =========================================================
   SOYO APP — Developer Profile
   Theme: "Sunny Playground" — bright, rounded, kid-friendly
   Fonts loaded via Google Fonts in the HTML <head>.
========================================================= */

/* =========================================================
   01. Design Tokens
========================================================= */
:root {
  /* Brand palette — pulled straight from the Soyo App banner */
  --sky:          #34bcf0;   /* sky blue  — primary brand   */
  --sky-deep:     #169fdb;
  --sky-soft:     rgba(52, 188, 240, 0.12);
  --sun:          #ffc93c;   /* sunny yellow — accent       */
  --sun-deep:     #ffb000;
  --sun-soft:     rgba(255, 201, 60, 0.16);
  --coral:        #ff6b5e;   /* playful red — call to action */
  --coral-deep:   #ef4a45;
  --coral-soft:   rgba(255, 107, 94, 0.14);
  --grass:        #5fbe6b;   /* meadow green               */
  --grass-deep:   #45a552;
  --grass-soft:   rgba(95, 190, 107, 0.16);

  /* Ink & surfaces */
  --ink:          #243447;   /* soft dark blue-slate text   */
  --ink-soft:     #5e7184;
  --cream:        #fffdf6;
  --paper:        #ffffff;

  /* Page background ramp (sky → warm) */
  --bg-top:       #c6ecfb;
  --bg-mid:       #e2f4fc;
  --bg-bot:       #fff8e9;

  /* Utility */
  --line:         rgba(36, 52, 71, 0.10);
  --line-strong:  rgba(36, 52, 71, 0.18);
  --shadow-sky:   0 18px 42px rgba(40, 150, 210, 0.16);
  --shadow-soft:  0 12px 30px rgba(36, 52, 71, 0.10);
  --shadow-pop:   0 22px 50px rgba(36, 52, 71, 0.16);
  --radius:       22px;
  --radius-lg:    30px;
  --radius-xl:    40px;

  /* Typography */
  --font-display: 'Fredoka', 'Baloo 2', system-ui, sans-serif;
  --font-body:    'Nunito', system-ui, -apple-system, sans-serif;

  color-scheme: light;
  interpolate-size: allow-keywords;
}

/* =========================================================
   02. Reset & Base
========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.7;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 90% -4%, rgba(255, 201, 60, 0.40), transparent 34%),
    radial-gradient(circle at 4% 6%, rgba(52, 188, 240, 0.30), transparent 30%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 18%, var(--cream) 50%, var(--bg-bot) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

p, li, dd, .faq-answer {
  color: var(--ink-soft);
  font-weight: 500;
}

li::marker { color: var(--coral); }

/* =========================================================
   03. Accessibility & Layout Primitives
========================================================= */
.skip-link {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0,0,0,0) !important;
  white-space: nowrap !important; border: 0 !important;
}
.skip-link:focus-visible {
  position: fixed !important;
  top: 14px !important; left: 14px !important;
  z-index: 9999 !important;
  width: auto !important; height: auto !important;
  padding: 12px 20px !important; margin: 0 !important;
  overflow: visible !important; clip: auto !important;
  border-radius: 999px !important;
  background: var(--coral) !important; color: #fff !important;
  font-weight: 700 !important; font-family: var(--font-display) !important;
}

:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 8px;
}
.button:focus-visible { outline-offset: 4px; }

.layout-container { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.layout-container--narrow { width: min(860px, calc(100% - 40px)); }

.section-block { padding: 60px 0; position: relative; }

.section-heading {
  display: flex; justify-content: space-between;
  align-items: flex-end; gap: 18px; margin-bottom: 30px;
}

.flow > * + * { margin-top: 1.1rem; }

/* =========================================================
   04. Typography
========================================================= */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 600;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

.label-text {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  background: var(--paper);
  border: 2px solid var(--line);
  color: var(--sky-deep);
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  box-shadow: var(--shadow-soft);
}
.label-text::before {
  content: '';
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 3px var(--coral-soft);
}

.text-lead {
  max-width: 680px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  font-weight: 500;
  line-height: 1.75;
}

/* =========================================================
   05. Buttons — candy / toy style
========================================================= */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 1rem;
  letter-spacing: 0.01em;
  white-space: nowrap; cursor: pointer;
  transition: transform 0.18s cubic-bezier(.34,1.56,.64,1), box-shadow 0.18s ease, filter 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}
.button:hover  { transform: translateY(-3px); }
.button:active { transform: translateY(-1px); }

.button--primary {
  background: linear-gradient(170deg, var(--coral) 0%, var(--coral-deep) 100%);
  color: #fff;
  box-shadow: 0 6px 0 var(--coral-deep), 0 16px 28px rgba(255, 107, 94, 0.32);
}
.button--primary:hover  { box-shadow: 0 8px 0 var(--coral-deep), 0 22px 38px rgba(255, 107, 94, 0.40); filter: saturate(1.05); }
.button--primary:active { box-shadow: 0 3px 0 var(--coral-deep), 0 10px 20px rgba(255, 107, 94, 0.30); }

.button--secondary {
  background: var(--paper);
  color: var(--sky-deep);
  border: 2px solid var(--sky);
  box-shadow: 0 6px 0 rgba(52, 188, 240, 0.30), var(--shadow-soft);
}
.button--secondary:hover  { background: var(--sky-soft); box-shadow: 0 8px 0 rgba(52, 188, 240, 0.30), var(--shadow-pop); }
.button--secondary:active { box-shadow: 0 3px 0 rgba(52, 188, 240, 0.30), var(--shadow-soft); }

.button--sun {
  background: linear-gradient(170deg, var(--sun) 0%, var(--sun-deep) 100%);
  color: var(--ink);
  box-shadow: 0 6px 0 var(--sun-deep), 0 16px 28px rgba(255, 176, 0, 0.30);
}
.button--sun:hover  { box-shadow: 0 8px 0 var(--sun-deep), 0 22px 38px rgba(255, 176, 0, 0.38); }
.button--sun:active { box-shadow: 0 3px 0 var(--sun-deep), 0 10px 20px rgba(255, 176, 0, 0.28); }

.action-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.action-row--center { justify-content: center; }

/* Inline content links */
main a:not(.button):not(.site-brand):not(.store-btn) {
  color: var(--sky-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--sky-soft);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
main a:not(.button):not(.site-brand):not(.store-btn):hover {
  color: var(--coral);
  text-decoration-color: var(--coral-soft);
}

/* =========================================================
   06. Decorative — clouds, stars, wave
========================================================= */
.cloud, .sparkle {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.cloud {
  background: #ffffff;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.85;
  box-shadow: 0 10px 30px rgba(40, 120, 180, 0.10);
}
.cloud::before, .cloud::after {
  content: ''; position: absolute; background: #fff; border-radius: 50%;
}
.cloud--a { width: 120px; height: 38px; top: 14%; left: 6%;  animation: drift 16s ease-in-out infinite; }
.cloud--a::before { width: 58px; height: 58px; top: -26px; left: 18px; }
.cloud--a::after  { width: 44px; height: 44px; top: -18px; left: 56px; }
.cloud--b { width: 96px; height: 30px; top: 24%; right: 8%; opacity: 0.7; animation: drift 22s ease-in-out infinite reverse; }
.cloud--b::before { width: 46px; height: 46px; top: -22px; left: 14px; }
.cloud--b::after  { width: 34px; height: 34px; top: -14px; left: 46px; }
.cloud--c { width: 76px; height: 24px; bottom: 18%; left: 12%; opacity: 0.6; animation: drift 19s ease-in-out infinite; }
.cloud--c::before { width: 38px; height: 38px; top: -18px; left: 12px; }
.cloud--c::after  { width: 28px; height: 28px; top: -10px; left: 38px; }

.sparkle {
  width: 22px; height: 22px;
  background: var(--sun);
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
  animation: twinkle 3.4s ease-in-out infinite;
}
.sparkle--1 { top: 18%; right: 22%; }
.sparkle--2 { bottom: 26%; right: 16%; width: 16px; height: 16px; background: var(--coral); animation-delay: 1.1s; }
.sparkle--3 { top: 40%; left: 4%; width: 14px; height: 14px; background: var(--grass); animation-delay: 1.8s; }

@keyframes drift   { 0%,100% { transform: translateX(0); } 50% { transform: translateX(22px); } }
@keyframes twinkle { 0%,100% { transform: scale(1) rotate(0); opacity: .9; } 50% { transform: scale(1.25) rotate(20deg); opacity: 1; } }
@keyframes floaty  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* =========================================================
   07. Header & Navigation
========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 253, 246, 0.82);
  border-bottom: 2px solid var(--line);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.header-layout {
  min-height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.site-brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700;
  color: var(--ink); flex-shrink: 0;
}
.site-brand__logo {
  width: 52px; height: 52px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}
.site-brand__name { line-height: 1; }
.site-brand__name b { color: var(--sky-deep); }

.site-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.site-nav a:not(.button) {
  padding: 9px 16px; border-radius: 999px;
  color: var(--ink); font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}
.site-nav a:not(.button):hover,
.site-nav a[aria-current="page"] { background: var(--sky-soft); color: var(--sky-deep); }
.site-nav__cta { display: none; }

.header-actions { display: flex; align-items: center; flex: 0 0 auto; }
.header-cta { min-height: 44px; padding: 0 22px; font-size: 0.92rem; }

.nav-toggle {
  width: 46px; height: 46px;
  border: 2px solid var(--line-strong); border-radius: 14px;
  display: none; place-items: center;
  background: var(--paper); color: var(--ink);
  font-size: 1.25rem; box-shadow: var(--shadow-soft);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.nav-toggle:hover { background: var(--sky-soft); border-color: var(--sky); }

/* =========================================================
   08. Hero
========================================================= */
.home-hero { padding: 56px 0 40px; position: relative; overflow: hidden; }
.home-hero__layout { position: relative; z-index: 1; text-align: center; max-width: 880px; margin: 0 auto; }

.home-hero__banner {
  position: relative;
  margin: 0 auto 34px;
  max-width: 860px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 5px solid var(--paper);
  box-shadow: var(--shadow-pop), 0 0 0 3px var(--sun-soft);
  animation: floaty 7s ease-in-out infinite;
}
.home-hero__banner img { width: 100%; height: auto; aspect-ratio: 1024 / 500; object-fit: cover; }

.home-hero__layout h1 { margin: 4px 0 18px; }
.home-hero__layout .text-lead { margin-left: auto; margin-right: auto; }

.hero-badges {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px; margin-top: 26px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 18px;
  border-radius: 999px;
  background: var(--paper);
  border: 2px solid var(--line);
  color: var(--ink);
  font-family: var(--font-display); font-size: 0.88rem; font-weight: 500;
  box-shadow: var(--shadow-soft);
}
.hero-badge svg { width: 18px; height: 18px; flex: 0 0 auto; }
.hero-badge--sky   svg { color: var(--sky-deep); }
.hero-badge--sun   svg { color: var(--sun-deep); }
.hero-badge--coral svg { color: var(--coral); }
.hero-badge--grass svg { color: var(--grass-deep); }

/* =========================================================
   09. Content Cards & Feature Grid
========================================================= */
.section-card {
  padding: 40px;
  border-radius: var(--radius-xl);
  background: var(--paper);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-soft);
  position: relative; overflow: hidden;
}
.section-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--sky), var(--sun) 40%, var(--coral) 70%, var(--grass));
}
.section-card > * { position: relative; z-index: 1; }

.card-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px; margin-top: 1.4rem; align-items: stretch;
}

.feature-card {
  min-height: 100%;
  padding: 28px;
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--cream);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s cubic-bezier(.34,1.56,.64,1), border-color 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-pop); }

.feature-icon {
  display: inline-grid; place-items: center;
  width: 56px; height: 56px; margin-bottom: 18px;
  border-radius: 18px;
  color: #fff;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-icon--sky   { background: linear-gradient(160deg, var(--sky), var(--sky-deep)); }
.feature-icon--sun   { background: linear-gradient(160deg, var(--sun), var(--sun-deep)); color: var(--ink); }
.feature-icon--coral { background: linear-gradient(160deg, var(--coral), var(--coral-deep)); }
.feature-icon--grass { background: linear-gradient(160deg, var(--grass), var(--grass-deep)); }

.feature-card:nth-child(4n+1):hover { border-color: var(--sky); }
.feature-card:nth-child(4n+2):hover { border-color: var(--sun); }
.feature-card:nth-child(4n+3):hover { border-color: var(--coral); }
.feature-card:nth-child(4n+4):hover { border-color: var(--grass); }

.feature-card h3 { margin-bottom: 8px; }

/* =========================================================
   10. Store buttons
========================================================= */
.store-row {
  display: flex; flex-wrap: wrap; gap: 16px; margin-top: 6px;
}
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 24px 12px 20px;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s cubic-bezier(.34,1.56,.64,1), box-shadow 0.18s ease;
}
.store-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); }
.store-btn svg { width: 28px; height: 28px; flex: 0 0 auto; }
.store-btn__txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-btn__txt small { font-size: 0.68rem; font-weight: 600; opacity: 0.8; letter-spacing: 0.04em; text-transform: uppercase; font-family: var(--font-body); }
.store-btn__txt b { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }

/* =========================================================
   11. FAQ
========================================================= */
.faq-list { display: grid; gap: 12px; }

.faq-item {
  border-radius: var(--radius);
  background: var(--paper);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.2s ease;
  overflow: hidden;
}
.faq-item[open] { border-color: var(--sky); }

.faq-question { list-style: none; }
.faq-question::-webkit-details-marker { display: none; }
.faq-question {
  padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  color: var(--ink);
  font-family: var(--font-display); font-weight: 500; font-size: 1.02rem;
  cursor: pointer; user-select: none;
  transition: background 0.15s ease;
}
.faq-question:hover { background: var(--sky-soft); }
.faq-question span {
  flex-shrink: 0; width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--coral-soft); color: var(--coral);
  font-size: 1.2rem; font-weight: 600;
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}
.faq-item[open] .faq-question span { transform: rotate(45deg); background: var(--sky); color: #fff; }

.faq-answer {
  padding: 2px 24px 22px;
  font-weight: 500; line-height: 1.75;
  overflow: hidden;
  transition: height 0.32s ease;
}
details.faq-item[open] > .faq-answer { height: auto; }

/* =========================================================
   12. Contact band
========================================================= */
.contact-card {
  text-align: center;
  padding: 52px 40px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.55), transparent 45%),
    linear-gradient(155deg, var(--sky) 0%, var(--sky-deep) 100%);
  border: 5px solid var(--paper);
  box-shadow: var(--shadow-pop);
  position: relative; overflow: hidden;
}
.contact-card h2 { color: #fff; }
.contact-card p  { color: rgba(255, 255, 255, 0.92); font-weight: 600; max-width: 560px; margin-inline: auto; }
.contact-card .text-lead { color: rgba(255,255,255,0.92); }

/* =========================================================
   13. Footer
========================================================= */
.site-footer {
  margin-top: 60px;
  background: var(--ink);
  color: #fff;
}

.footer-promise { padding: 44px 0; border-bottom: 1px solid rgba(255,255,255,0.10); }
.footer-promise__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
}
.promise-card {
  display: flex; align-items: center; gap: 14px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.promise-card__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; flex: 0 0 auto;
  border-radius: 13px; color: #fff;
}
.promise-card__icon svg { width: 24px; height: 24px; }
.promise-card__icon--sky   { background: linear-gradient(160deg, var(--sky), var(--sky-deep)); }
.promise-card__icon--sun   { background: linear-gradient(160deg, var(--sun), var(--sun-deep)); color: var(--ink); }
.promise-card__icon--coral { background: linear-gradient(160deg, var(--coral), var(--coral-deep)); }
.promise-card__icon--grass { background: linear-gradient(160deg, var(--grass), var(--grass-deep)); }
.promise-card b { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; display: block; }
.promise-card span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.66); }

.footer-mid { padding: 48px 0 38px; }
.footer-mid__grid {
  display: grid; grid-template-columns: 1.6fr 0.8fr 0.8fr 0.9fr; gap: 44px;
}
.footer-brand-block .site-brand { color: #fff; margin-bottom: 16px; }
.footer-brand-block .site-brand b,
.footer-brand-block .site-brand__name b { color: var(--sun); }
.footer-brand-block p { color: rgba(255, 255, 255, 0.66); font-weight: 500; max-width: 340px; }

.footer-links h3 {
  margin-bottom: 16px; color: #fff;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.55;
}
.footer-links a {
  display: block; margin-bottom: 11px;
  color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; font-weight: 600;
  transition: color 0.15s ease, padding-left 0.15s ease;
}
.footer-links a:hover { color: var(--sun); padding-left: 4px; }

.footer-bottom {
  padding: 22px 0 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  text-align: center;
}
.footer-bottom p { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; font-weight: 500; }

/* =========================================================
   14. Floating action (scroll to top)
========================================================= */
.floating-actions {
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.floating-actions.is-visible { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.floating-top {
  width: 52px; height: 52px;
  border: 0; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: linear-gradient(170deg, var(--coral), var(--coral-deep));
  color: #fff; font-size: 1.3rem;
  box-shadow: 0 6px 0 var(--coral-deep), 0 14px 26px rgba(255, 107, 94, 0.34);
  transition: transform 0.18s cubic-bezier(.34,1.56,.64,1);
}
.floating-top:hover { transform: translateY(-3px); }

/* =========================================================
   15. Entrance animation (CSS-only — always settles visible)
========================================================= */
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
[data-reveal] { animation: rise 0.7s cubic-bezier(.34,1.2,.64,1) both; }

/* Gentle stagger for the hero block */
.home-hero__layout > [data-reveal]:nth-child(1) { animation-delay: 0.04s; }
.home-hero__layout > [data-reveal]:nth-child(2) { animation-delay: 0.12s; }
.home-hero__layout > [data-reveal]:nth-child(3) { animation-delay: 0.20s; }
.home-hero__layout > [data-reveal]:nth-child(4) { animation-delay: 0.28s; }
.home-hero__layout > [data-reveal]:nth-child(5) { animation-delay: 0.36s; }
.home-hero__layout > [data-reveal]:nth-child(6) { animation-delay: 0.44s; }

/* =========================================================
   16. Responsive
========================================================= */
@media (max-width: 1024px) {
  .footer-mid__grid { grid-template-columns: 1fr 1fr; gap: 34px 44px; }
  .footer-promise__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-grid; }
  .header-actions { display: none; }
  .site-nav__cta { display: inline-flex; width: 100%; margin-top: 8px; }
  .site-nav {
    position: absolute; top: 76px; left: 16px; right: 16px;
    display: none; flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 16px;
    background: var(--paper);
    border: 2px solid var(--line-strong);
    border-radius: 24px;
    box-shadow: var(--shadow-pop);
  }
  .site-nav.active { display: flex; }
  .site-nav a:not(.button) { padding: 12px 16px; font-size: 1rem; }
  .card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .layout-container, .layout-container--narrow { width: calc(100% - 24px); }
  .header-layout { position: relative; }
  .site-brand { font-size: 1.2rem; }
  .site-brand__logo { width: 46px; height: 46px; }
  .home-hero { padding: 32px 0 24px; }
  .home-hero__banner { margin-bottom: 26px; border-width: 4px; border-radius: 26px; }
  .section-block { padding: 44px 0; }
  .section-card { padding: 26px 22px; border-radius: 28px; }
  .contact-card { padding: 38px 24px; }
  .action-row, .action-row .button { width: 100%; }
  .store-row { flex-direction: column; }
  .store-btn { width: 100%; }
  .footer-mid__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-promise__grid { grid-template-columns: 1fr; }
  .floating-actions { right: 14px; bottom: 16px; }
}

/* =========================================================
   17. Reduced Motion
========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
