/* ========================================================================== 
   QUESTIKA HOME — "FROM ROUTINE TO QUEST"
   Homepage-only product art direction. Legal and editorial pages keep the
   quieter shared stylesheet in style.css.
   ========================================================================== */

.home {
  --home-ink: #211832;
  --home-ink-soft: #50475f;
  --home-purple: #6f35c5;
  --home-purple-deep: #35106f;
  --home-purple-night: #1c0b3a;
  --home-yellow: #ffcc24;
  --home-yellow-soft: #fff0a5;
  --home-cream: #fffaf0;
  --home-cream-deep: #f7efdf;
  --home-mint: #dff8e6;
  --home-coral: #ffddd2;
  --home-line: rgba(53, 16, 111, 0.12);
  --home-shadow: 0 24px 80px rgba(43, 19, 77, 0.14);
  --home-shadow-soft: 0 10px 32px rgba(43, 19, 77, 0.09);
  --home-radius: 32px;
  color: var(--home-ink);
  background: var(--home-cream);
  overflow-x: clip;
}

.home [hidden] {
  display: none !important;
}

.home :focus-visible {
  outline: 3px solid var(--home-purple);
  outline-offset: 4px;
}

.home .hero :focus-visible,
.home .gallery-section :focus-visible,
.home .cta-section :focus-visible,
.home footer :focus-visible,
.home nav.nav-transparent :focus-visible {
  outline-color: var(--home-yellow);
}

.home .store-link:focus-visible {
  outline-color: #ffffff;
}

.home .lang-menu :focus-visible,
.home .nav-links.open :focus-visible {
  outline-color: var(--home-purple);
}

.home .container {
  max-width: 1240px;
  padding-inline: 32px;
}

.home section {
  padding: clamp(84px, 9vw, 132px) 0;
}

.home section[id] {
  scroll-margin-top: 92px;
}

.home h1,
.home h2,
.home h3 {
  color: var(--home-ink);
  letter-spacing: -0.04em;
}

.home h2 {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 0.98;
}

.home p {
  color: var(--home-ink-soft);
}

/* --- Progress thread ----------------------------------------------------- */

.quest-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1001;
  height: 3px;
  pointer-events: none;
  transform: scaleX(var(--quest-progress, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--home-yellow), #ff8c5a, #b68cff);
  box-shadow: 0 0 16px rgba(255, 204, 36, 0.55);
  will-change: transform;
}

/* --- Navigation ---------------------------------------------------------- */

.home nav {
  border-bottom: 1px solid transparent;
}

.home nav.nav-transparent {
  background: linear-gradient(180deg, rgba(28, 11, 58, 0.62), transparent);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.home nav.nav-transparent.scrolled {
  background: rgba(28, 11, 58, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
  box-shadow: 0 12px 36px rgba(16, 4, 35, 0.18);
}

.home nav.nav-solid {
  background: rgba(255, 250, 240, 0.88);
  border-bottom-color: rgba(53, 16, 111, 0.09);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.home nav.scrolled.nav-solid {
  box-shadow: 0 12px 36px rgba(38, 18, 64, 0.08);
}

.home .nav-inner {
  height: 78px;
  max-width: 1240px;
  padding-inline: 32px;
}

.home .nav-logo {
  display: block;
  width: 180px;
  height: 58px;
  overflow: hidden;
  flex: none;
}

.home .nav-logo img {
  display: block;
  width: 165px;
  height: auto;
  transform: none;
  filter: drop-shadow(0 5px 10px rgba(26, 3, 56, 0.2));
}

.home .nav-links {
  gap: clamp(18px, 2vw, 30px);
}

.home .nav-links a,
.home .lang-current {
  font-weight: 650;
}

.home nav.nav-transparent .nav-links a {
  color: rgba(255, 255, 255, 0.88);
}

.home nav.nav-transparent .nav-links a:hover,
.home nav.nav-transparent .nav-links a:focus-visible {
  color: var(--home-yellow);
}

.home .lang-current {
  border-radius: 999px;
  padding: 8px 15px;
}

.home .nav-toggle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  padding: 10px;
}

.home .nav-toggle span {
  width: 23px;
  transform-origin: center;
}

.home .nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.home .nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}

.home .nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero: product stage ------------------------------------------------- */

.home .hero {
  padding: 0;
  min-height: min(940px, 100svh);
  text-align: left;
  isolation: isolate;
  background:
    radial-gradient(circle at 14% 24%, rgba(255, 204, 36, 0.18) 0 2px, transparent 3px) 0 0 / 76px 76px,
    radial-gradient(circle at 77% 18%, rgba(255, 255, 255, 0.13) 0 1px, transparent 2px) 0 0 / 54px 54px,
    radial-gradient(circle at 84% 54%, rgba(178, 123, 255, 0.42), transparent 31%),
    radial-gradient(circle at 12% 82%, rgba(255, 144, 87, 0.19), transparent 28%),
    linear-gradient(140deg, #19082f 0%, #35106f 42%, #692cba 72%, #7d48c7 100%);
}

.home .hero::before {
  inset: auto auto -38% -16%;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(255, 204, 36, 0.19), transparent 66%);
  filter: blur(10px);
}

.home .hero::after {
  inset: -34% -13% auto auto;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.11), transparent 68%);
}

.home .hero .container {
  width: 100%;
  max-width: 1320px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(540px, 1.12fr);
  column-gap: clamp(44px, 6vw, 96px);
  align-items: center;
  padding: 128px 40px 78px;
}

.home .hero h1,
.home .hero .subtitle-box,
.home .hero .hero-label,
.home .hero .hero-cta {
  grid-column: 1;
}

.home .hero-copy {
  grid-column: 1;
  min-width: 0;
}

.home .hero-audience {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 204, 36, 0.48);
  border-radius: 999px;
  color: var(--home-yellow);
  background: rgba(255, 204, 36, 0.09);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home .hero-audience::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(255, 204, 36, .12);
}

.home .hero h1 {
  align-self: end;
  max-width: 700px;
  margin: 0 0 26px;
  color: white;
  font-size: clamp(3.25rem, 5.8vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.home .hero h1 .highlight {
  display: inline;
  color: var(--home-yellow);
  font-size: 0.72em;
  font-weight: 760;
  letter-spacing: -0.045em;
}

.home .hero .subtitle-box {
  max-width: 620px;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.home .hero .subtitle-box p {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.65;
}

.home .hero .hero-label {
  justify-self: start;
  margin: 0 0 16px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 204, 36, 0.5);
  border-radius: 999px;
  color: var(--home-yellow);
  background: rgba(255, 204, 36, 0.08);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.home .hero-cta,
.home .cta-buttons {
  justify-content: flex-start;
}

.home .hero-cta { align-items: center; gap: 20px; }

.home .hero-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.86);
  font-size: .93rem;
  font-weight: 750;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.home .hero-secondary-link span { color: var(--home-yellow); font-size: 1.1rem; }
.home .hero-secondary-link:hover { color: #fff; transform: translateY(2px); }

.home .store-link {
  display: inline-flex;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(8, 2, 20, 0.24);
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.home .store-link img {
  display: block;
  width: auto;
  height: 54px;
  border-radius: 12px;
}

.home .store-link:hover,
.home .store-link:focus-visible {
  filter: brightness(1.06);
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(8, 2, 20, 0.32);
}

.home .hero-visual {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  min-height: 680px;
  margin: 0;
  perspective: 1200px;
}

.home .hero-visual .screenshots {
  position: relative;
  display: block;
  height: 680px;
}

.home .phone-frame {
  position: absolute;
  width: 244px;
  padding: 6px 6px 7px;
  border-radius: 33px;
  transform-origin: 50% 86%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 34px 80px rgba(8, 2, 20, 0.48),
    0 8px 24px rgba(8, 2, 20, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.home .phone-frame:nth-child(1) {
  z-index: 1;
  top: 164px;
  left: 1%;
  transform: rotate(-9deg) scale(0.84);
  filter: saturate(0.82) brightness(0.9);
}

.home .hero-visual .screenshots .phone-frame:nth-child(2) {
  z-index: 3;
  top: 10px;
  left: 50%;
  width: 276px;
  transform: translateX(-50%);
}

.home .phone-frame:nth-child(3) {
  z-index: 2;
  top: 150px;
  right: 0;
  transform: rotate(9deg) scale(0.84);
  filter: saturate(0.86) brightness(0.92);
}

.home .hero-visual .screenshots img {
  border-radius: 27px;
}

.quest-signal {
  position: absolute;
  z-index: 7;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 20px;
  color: var(--home-purple-night);
  background: var(--home-yellow);
  box-shadow: 0 16px 36px rgba(10, 2, 25, 0.3);
  font-size: 1.35rem;
  font-weight: 900;
  pointer-events: none;
}

.quest-signal.signal-check {
  top: 84px;
  right: 8%;
  animation: quest-bob 4.8s ease-in-out infinite;
}

.quest-signal.signal-star {
  bottom: 86px;
  left: 10%;
  color: white;
  background: rgba(111, 53, 197, 0.78);
  animation: quest-bob 5.4s ease-in-out -1.6s infinite;
}

@keyframes quest-bob {
  0%, 100% { translate: 0 0; rotate: -2deg; }
  50% { translate: 0 -12px; rotate: 3deg; }
}

.js .home .hero-audience,
.js .home .hero h1,
.js .home .hero .subtitle-box,
.js .home .hero .hero-label,
.js .home .hero .hero-cta {
  opacity: 0;
  transform: translateY(24px);
  animation: home-hero-in 780ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.js .home .hero-audience { animation-delay: 0ms; }
.js .home .hero h1 { animation-delay: 45ms; }
.js .home .hero .subtitle-box { animation-delay: 90ms; }
.js .home .hero .hero-label { animation-delay: 170ms; }
.js .home .hero .hero-cta { animation-delay: 230ms; }

.js .home .phone-frame {
  opacity: 0;
  animation: home-phone-in 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.js .home .phone-frame:nth-child(1) { animation-delay: 230ms; }
.js .home .phone-frame:nth-child(2) { animation-delay: 80ms; }
.js .home .phone-frame:nth-child(3) { animation-delay: 330ms; }

@keyframes home-hero-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes home-phone-in {
  from { opacity: 0; translate: 0 70px; }
  to { opacity: 1; translate: 0 0; }
}

/* --- Verified trust strip ------------------------------------------------ */

.trust-strip {
  position: relative;
  z-index: 10;
  margin: -34px auto 0;
  padding: 0;
}

.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(53, 16, 111, 0.11);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--home-shadow);
  padding: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 76px;
  padding: 18px 24px;
  color: var(--home-ink);
  font-size: 0.92rem;
  font-weight: 750;
  text-align: center;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--home-line);
}

.trust-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  color: var(--home-purple-deep);
  background: var(--home-yellow-soft);
  font-weight: 900;
}

.trust-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Age paths: route broad traffic to the right story ----------------- */

.home .age-path-section {
  position: relative;
  overflow: hidden;
  padding-top: clamp(110px, 11vw, 155px);
  background:
    radial-gradient(circle at 7% 18%, rgba(255,204,36,.14), transparent 22%),
    radial-gradient(circle at 92% 82%, rgba(111,53,197,.09), transparent 25%),
    #fffaf0;
}

.home .age-path-heading {
  max-width: 790px;
  margin: 0 auto 52px;
  text-align: center;
}

.home .age-path-heading > span {
  color: var(--home-purple);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.home .age-path-heading h2 { margin: 12px 0 16px; }
.home .age-path-heading p { max-width: 650px; margin: 0 auto; font-size: 1.08rem; }

.home .age-path-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}

.home .age-path-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr) 126px;
  min-height: 405px;
  overflow: hidden;
  border: 1px solid rgba(53,16,111,.1);
  border-radius: 30px;
  color: var(--home-ink);
  box-shadow: 0 18px 48px rgba(43,19,77,.09);
  text-decoration: none;
  transition: transform 300ms cubic-bezier(.16,1,.3,1), box-shadow 300ms ease;
}

.home .age-path-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -85px;
  top: -85px;
  border-radius: 50%;
  background: rgba(255,255,255,.38);
}

.home .age-path-card:hover,
.home .age-path-card:focus-visible {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(43,19,77,.16);
}

.home .age-path-young { background: linear-gradient(145deg,#fff7cf,#f1e8ff); }
.home .age-path-middle { background: linear-gradient(145deg,#e8f8f4,#d9eee9); }
.home .age-path-teen { color: #fff; background: linear-gradient(145deg,#253754,#405f86); }

.home .age-path-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 34px 0 34px 30px;
}

.home .age-range {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--home-purple-deep);
  background: rgba(255,255,255,.72);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.home .age-path-middle .age-range { color: #17635e; }
.home .age-path-teen .age-range { color: #fff; background: rgba(255,255,255,.12); }
.home .age-path-copy h3 { margin: 18px 0 11px; font-size: clamp(1.42rem,2vw,1.75rem); line-height: 1.05; }
.home .age-path-copy p { min-height: 82px; font-size: .9rem; line-height: 1.55; }
.home .age-path-teen h3 { color: #fff; }
.home .age-path-teen p { color: rgba(255,255,255,.7); }
.home .age-path-copy strong { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--home-purple-deep); font-size: .8rem; }
.home .age-path-middle strong { color: #17635e; }
.home .age-path-teen strong { color: #bcebd3; }
.home .age-path-copy i { font-style: normal; transition: transform 180ms ease; }
.home .age-path-card:hover .age-path-copy i { transform: translateX(5px); }

.home .age-path-phone {
  position: relative;
  z-index: 1;
  align-self: end;
  width: 142px;
  margin: 0 -4px -105px -5px;
  padding: 5px;
  border-radius: 25px 25px 0 0;
  background: #171321;
  box-shadow: 0 18px 38px rgba(31,18,48,.22);
  transform: rotate(4deg);
  transition: transform 350ms cubic-bezier(.16,1,.3,1);
}

.home .age-path-middle .age-path-phone { transform: rotate(-3deg); }
.home .age-path-card:hover .age-path-phone { transform: translateY(-14px) rotate(1deg); }
.home .age-path-phone img { display: block; width: 100%; border-radius: 20px 20px 0 0; }

.home-mobile-download { display: none; }

/* --- Problem / solution: before and after ------------------------------- */

.home .problem-section {
  background:
    radial-gradient(circle at 10% 20%, rgba(111, 53, 197, 0.07), transparent 25%),
    var(--home-cream);
}

.home .problem-grid {
  gap: 24px;
  align-items: stretch;
}

.home .problem-side {
  position: relative;
  min-height: 100%;
  padding: clamp(34px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--home-shadow-soft);
}

.home .problem-side:nth-child(1) {
  background: linear-gradient(145deg, #fff7f2, var(--home-coral));
}

.home .problem-side:nth-child(2) {
  border-color: rgba(255, 255, 255, 0.12);
  color: white;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 204, 36, 0.24), transparent 26%),
    linear-gradient(145deg, var(--home-purple-night), var(--home-purple-deep));
  box-shadow: 0 28px 74px rgba(53, 16, 111, 0.25);
}

.home .problem-side h2 {
  max-width: 10ch;
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.home .problem-side h2::before {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  border-radius: 15px;
  font-size: 1.1rem;
}

.home .problem-side:nth-child(1) h2::before {
  content: "×";
  color: #9b3e24;
  background: rgba(255, 255, 255, 0.68);
}

.home .problem-side:nth-child(2) h2,
.home .problem-side:nth-child(2) p,
.home .problem-side:nth-child(2) li {
  color: white;
}

.home .problem-side:nth-child(2) h2::before {
  content: "✓";
  color: var(--home-purple-night);
  background: var(--home-yellow);
}

.home .problem-side > p {
  max-width: 48ch;
  font-size: 1.04rem;
}

.home .problem-list {
  margin-top: 30px;
}

.home .problem-list li {
  padding: 12px 0 12px 36px;
  font-size: 1rem;
}

.home .problem-list li::before {
  top: 19px;
  width: 12px;
  height: 12px;
}

.home .problem-list.pains li::before {
  background: #ff8d6c;
}

.home .problem-list.gains li::before {
  background: var(--home-yellow);
  box-shadow: 0 0 0 5px rgba(255, 204, 36, 0.12);
}

/* --- The quest loop ------------------------------------------------------ */

.home .how-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 204, 36, 0.13), transparent 24%),
    radial-gradient(circle at 94% 88%, rgba(141, 85, 211, 0.1), transparent 26%),
    #fffdf8;
}

.home .how-heading {
  max-width: 760px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  text-align: center;
}

.home .how-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 18px;
  padding: 7px 14px;
  border: 1px solid rgba(111, 53, 197, 0.13);
  border-radius: 999px;
  color: var(--home-purple-deep);
  background: rgba(111, 53, 197, 0.08);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.home .how-section h2 {
  margin: 0;
}

.home .how-lead {
  max-width: 650px;
  margin: 22px auto 0;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
}

.home .steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  text-align: left;
}

.home .steps::before {
  display: none;
}

.home .step {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--home-line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--home-shadow-soft);
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms ease;
}

.home .step:hover {
  transform: translateY(-6px);
  box-shadow: var(--home-shadow);
}

.home .step-visual {
  position: relative;
  margin: 0;
  padding: 12px 12px 0;
}

.home .step-visual img {
  display: block;
  width: 100%;
  max-width: none;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 0;
  border-radius: 23px;
  background: var(--home-cream);
  box-shadow: none;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.home .step:hover .step-visual img {
  transform: scale(1.018);
}

.home .step-number {
  top: 28px;
  right: auto;
  left: 28px;
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.9);
  color: #ffffff;
  background: var(--home-purple-deep);
  box-shadow: 0 10px 24px rgba(53, 16, 111, 0.25);
  font-size: 1rem;
}

.home .step-copy {
  padding: 26px clamp(24px, 4vw, 36px) 34px;
}

.home .step-role {
  display: inline-flex;
  margin-bottom: 13px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--home-purple-deep);
  background: rgba(111, 53, 197, 0.1);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.home .step-role-child {
  color: #6c4b00;
  background: rgba(255, 204, 36, 0.24);
}

.home .step-role-together {
  color: #8a3822;
  background: rgba(255, 141, 108, 0.18);
}

.home .step h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.home .step p {
  max-width: 52ch;
  font-size: 1rem;
  line-height: 1.7;
}

.home .strip-controls {
  display: none;
}

/* --- Feature cards ------------------------------------------------------- */

.home .features-section {
  background:
    radial-gradient(circle at 5% 8%, rgba(255, 204, 36, 0.14), transparent 22%),
    radial-gradient(circle at 96% 88%, rgba(111, 53, 197, 0.1), transparent 25%),
    #fffaf2;
}

.home .features-section h2 {
  max-width: 920px;
  margin: 0 auto 20px;
  text-align: center;
  text-wrap: balance;
}

.home .features-section .section-subtitle {
  max-width: 680px;
  margin: 0 auto clamp(46px, 6vw, 68px);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.6;
  text-align: center;
}

.home .features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.home .feature-card {
  --feature-accent: var(--home-yellow);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 11px 11px 32px;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--home-shadow-soft);
  transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms ease, border-color 300ms ease;
}

.home .feature-card::after {
  content: "";
  position: absolute;
  inset: auto 34px 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: var(--feature-accent);
}

.home .feature-card:nth-child(2) {
  --feature-accent: #ff8d6c;
}

.home .feature-card:nth-child(3) {
  --feature-accent: #8d55d3;
}

.home .feature-card:nth-child(4) {
  --feature-accent: #f5b700;
}

.home .feature-card:nth-child(5) {
  --feature-accent: #62b67a;
}

.home .feature-card:nth-child(6) {
  --feature-accent: #6f35c5;
}

.home .feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(111, 53, 197, 0.25);
  box-shadow: var(--home-shadow);
}

.home .feature-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 25px;
  border: 0;
  border-radius: 22px;
  box-shadow: none;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.home .feature-card:hover .feature-thumb {
  transform: scale(1.018);
}

.home .feature-card h3 {
  margin: 0 18px 11px;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.home .feature-card p {
  margin-inline: 18px;
  font-size: 0.96rem;
  line-height: 1.7;
}

/* --- Controlled product gallery ----------------------------------------- */

.home .gallery-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 204, 36, 0.13), transparent 25%),
    radial-gradient(circle at 87% 75%, rgba(154, 95, 230, 0.27), transparent 30%),
    var(--home-purple-night);
}

.home .gallery-section h2 {
  max-width: 740px;
  margin: 0 0 48px;
  color: white;
  text-align: left;
}

.home .gallery-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px 4px 40px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  scrollbar-width: none;
  touch-action: auto;
  cursor: grab;
}

.home .gallery-scroll::-webkit-scrollbar {
  display: none;
}

.home .gallery-scroll:active {
  cursor: grabbing;
}

.home .gallery-track {
  width: max-content;
  gap: 26px;
  animation: none;
  transform: none;
  will-change: auto;
}

.home .gallery-item {
  scroll-snap-align: start;
}

.home .gallery-item img {
  width: auto;
  height: min(67vh, 620px);
  max-height: 620px;
  aspect-ratio: 1242 / 2688;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  -webkit-user-drag: none;
}

.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.gallery-count {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.gallery-buttons {
  display: flex;
  gap: 10px;
}

.gallery-button {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.gallery-button:hover,
.gallery-button:focus-visible {
  color: var(--home-purple-night);
  background: var(--home-yellow);
  transform: translateY(-2px);
}

.gallery-button:disabled {
  opacity: 0.34;
  cursor: default;
  transform: none;
}

/* Unverified placeholder testimonials stay out of the published story. */
.home .testimonials-section {
  display: none;
}

/* --- Final action -------------------------------------------------------- */

.home .cta-section {
  padding: clamp(72px, 9vw, 120px) 0;
  color: white;
  background: var(--home-cream);
}

.home .cta-section::before {
  display: none;
}

.home .cta-section .container {
  position: relative;
  max-width: 1180px;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding: clamp(48px, 8vw, 96px);
  border-radius: 48px;
  text-align: left;
  background:
    radial-gradient(circle at 80% 12%, rgba(255, 204, 36, 0.27) 0 2px, transparent 3px) 0 0 / 56px 56px,
    radial-gradient(circle at 88% 48%, rgba(165, 102, 241, 0.42), transparent 31%),
    linear-gradient(140deg, #1d0a3c, #42117d 58%, #6f35c5);
  box-shadow: 0 35px 90px rgba(53, 16, 111, 0.25);
}

.home .cta-section .container::after {
  content: "★";
  position: absolute;
  right: clamp(38px, 8vw, 110px);
  top: 50%;
  color: var(--home-yellow);
  font-size: clamp(8rem, 18vw, 15rem);
  line-height: 1;
  opacity: 0.9;
  translate: 0 -50%;
  rotate: 8deg;
  filter: drop-shadow(0 20px 40px rgba(8, 2, 20, 0.35));
}

.home .cta-section h2,
.home .cta-section p,
.home .cta-buttons {
  position: relative;
  z-index: 1;
  max-width: 660px;
}

.home .cta-section h2 {
  margin-bottom: 20px;
  color: white;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  text-wrap: balance;
}

.home .cta-section p {
  max-width: 590px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.77);
  font-size: 1.08rem;
}

/* --- Footer -------------------------------------------------------------- */

.home footer {
  padding: 72px 0 30px;
  background: #150826;
}

.home .footer-brand {
  max-width: 310px;
}

.home .footer-brand img {
  width: 220px;
  height: auto;
  margin: 0 0 18px;
}

.home .footer-brand p {
  color: rgba(255, 255, 255, 0.72);
}

.home .footer-bottom {
  color: rgba(255, 255, 255, 0.64);
}

.home .footer-links h4 {
  color: var(--home-yellow-soft);
}

.home .footer-links a:hover {
  color: var(--home-yellow);
}

/* --- Scroll choreography ------------------------------------------------- */

.js .home .motion-item {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 700ms ease var(--motion-delay, 0ms), translate 850ms cubic-bezier(0.16, 1, 0.3, 1) var(--motion-delay, 0ms);
}

.js .home .motion-item.is-visible {
  opacity: 1;
  translate: 0 0;
}

/* --- Responsive ---------------------------------------------------------- */

@media (max-width: 1080px) {
  .home .hero .container {
    grid-template-columns: minmax(0, 0.9fr) minmax(470px, 1.1fr);
    column-gap: 28px;
    padding-inline: 30px;
  }

  .home .phone-frame {
    width: 210px;
  }

  .home .phone-frame:nth-child(2) {
    width: 244px;
  }

  .home .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home .feature-card {
    grid-column: auto;
  }

  .home .age-path-grid { grid-template-columns: repeat(2,1fr); }
  .home .age-path-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .home .container {
    padding-inline: 22px;
  }

  .home .hero {
    min-height: auto;
  }

  .home .hero .container {
    display: block;
    padding: 124px 24px 72px;
  }

  .home .hero h1 {
    max-width: 760px;
    font-size: clamp(3.4rem, 10vw, 5.2rem);
  }

  .home .hero .subtitle-box {
    max-width: 660px;
  }

  .home .hero-visual {
    min-height: 570px;
    margin-top: 26px;
  }

  .home .hero-visual .screenshots {
    height: 570px;
    max-width: 650px;
    margin: 0 auto;
  }

  .home .phone-frame {
    width: 194px;
  }

  .home .phone-frame:nth-child(1) {
    top: 130px;
    left: 4%;
  }

  .home .phone-frame:nth-child(2) {
    top: 0;
    width: 230px;
  }

  .home .phone-frame:nth-child(3) {
    top: 125px;
    right: 4%;
  }

  .trust-strip {
    margin-top: -25px;
  }

  .trust-strip .container {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .trust-item {
    justify-content: flex-start;
    min-height: 60px;
    text-align: left;
  }

  .trust-item + .trust-item {
    border-top: 1px solid var(--home-line);
    border-left: 0;
  }

  .home .age-path-grid { grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; }
  .home .age-path-card,
  .home .age-path-card:last-child { grid-column: auto; min-height: 330px; grid-template-columns: 1fr 170px; }
  .home .age-path-phone { width: 165px; margin-bottom: -120px; }
  .home .age-path-copy p { min-height: 0; max-width: 360px; }

  .home .problem-grid {
    grid-template-columns: 1fr;
  }

  .home .steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home .step {
    width: 100%;
  }

  .home .features-grid {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 4px 1px 30px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .home .features-grid::-webkit-scrollbar {
    display: none;
  }

  .home .features-grid + .strip-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 14px;
  }

  .home .strip-button {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(53, 16, 111, 0.18);
    border-radius: 50%;
    color: var(--home-purple-deep);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--home-shadow-soft);
    font-size: 1.15rem;
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
  }

  .home .strip-button:hover,
  .home .strip-button:focus-visible {
    color: white;
    background: var(--home-purple-deep);
    transform: translateY(-2px);
  }

  .home .strip-button:disabled {
    opacity: 0.34;
    cursor: default;
    transform: none;
  }

  .home .feature-card,
  .home .feature-card:nth-child(6) {
    flex: 0 0 min(82vw, 430px);
    display: block;
    scroll-snap-align: center;
  }

  .home .cta-section .container::after {
    right: -22px;
    opacity: 0.28;
  }
}

@media (max-width: 640px) {
  .home section {
    padding: 74px 0;
  }

  .home .nav-inner {
    height: 70px;
    padding-inline: 18px;
  }

  .home .nav-logo {
    width: 150px;
    height: 46px;
  }

  .home .nav-logo img {
    width: 140px;
    transform: none;
  }

  .home .nav-links {
    position: fixed;
    inset: 70px 10px auto;
    display: flex;
    max-height: calc(100dvh - 82px);
    overflow-y: auto;
    padding: 22px;
    border: 1px solid var(--home-line);
    border-radius: 22px;
    color: var(--home-ink);
    background: rgba(255, 250, 240, 0.98);
    box-shadow: var(--home-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(0.98);
    pointer-events: none;
    transition: opacity 220ms ease, transform 350ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 350ms;
  }

  .home .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .home nav.nav-transparent .nav-links a,
  .home nav.nav-transparent .lang-current,
  .home .nav-links a,
  .home .lang-current {
    color: var(--home-ink);
  }

  .home .nav-links a {
    display: block;
    width: 100%;
    padding: 8px 4px;
    font-size: 1rem;
  }

  .home .lang-dropdown,
  .home .lang-current {
    width: 100%;
  }

  .home .lang-current {
    text-align: left;
  }

  .home nav.nav-solid .nav-toggle span {
    background: var(--home-ink);
  }

  .home .hero .container {
    padding: 106px 20px 52px;
  }

  .home .hero-audience { margin-bottom: 17px; font-size: .66rem; }
  .home .hero-cta { align-items: flex-start; flex-direction: column; gap: 16px; }

  .home .hero h1 {
    margin-bottom: 20px;
    font-size: clamp(2.85rem, 14vw, 4.15rem);
  }

  .home .hero h1 .highlight {
    font-size: 0.7em;
  }

  .home .hero .subtitle-box p {
    font-size: 1rem;
  }

  .home .hero-visual {
    min-height: 440px;
    margin-top: 26px;
  }

  .home .hero-visual .screenshots {
    height: 440px;
  }

  .home .phone-frame {
    width: 158px;
    border-radius: 25px;
  }

  .home .phone-frame:nth-child(1) {
    top: 92px;
    left: -15%;
    transform: rotate(-10deg) scale(0.82);
  }

  .home .phone-frame:nth-child(2) {
    top: 0;
    width: 188px;
  }

  .home .phone-frame:nth-child(3) {
    top: 88px;
    right: -15%;
    transform: rotate(10deg) scale(0.82);
  }

  .home .hero-visual .screenshots img {
    border-radius: 20px;
  }

  .quest-signal {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 1.1rem;
  }

  .quest-signal.signal-check {
    top: 54px;
    right: 3%;
  }

  .quest-signal.signal-star {
    bottom: 58px;
    left: 3%;
  }

  .trust-strip {
    margin-top: -18px;
    padding-inline: 14px;
  }

  .trust-strip .container {
    border-radius: 20px;
  }

  .home .age-path-section { padding-top: 88px; }
  .home .age-path-heading { margin-bottom: 36px; text-align: left; }
  .home .age-path-heading p { margin: 0; font-size: 1rem; }
  .home .age-path-card,
  .home .age-path-card:last-child { grid-template-columns: minmax(0,1fr) 112px; min-height: 320px; border-radius: 24px; }
  .home .age-path-copy { padding: 25px 0 25px 22px; }
  .home .age-path-copy h3 { font-size: 1.3rem; }
  .home .age-path-copy p { font-size: .82rem; }
  .home .age-path-copy strong { font-size: .72rem; }
  .home .age-path-phone { width: 125px; margin: 0 -5px -78px -4px; }

  .home { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .home .home-mobile-download {
    position: fixed;
    z-index: 1002;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 10px 10px 15px;
    padding-bottom: max(10px,env(safe-area-inset-bottom));
    border: 1px solid rgba(53,16,111,.13);
    border-radius: 20px;
    color: var(--home-ink);
    background: rgba(255,255,255,.94);
    box-shadow: 0 16px 45px rgba(38,21,62,.24);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    animation: home-mobile-bar 550ms 1.1s cubic-bezier(.16,1,.3,1) both;
  }
  .home .home-mobile-download > span { min-width: 0; }
  .home .home-mobile-download strong { display: block; color: var(--home-purple-deep); font-size: .94rem; }
  .home .home-mobile-download small { display: block; overflow: hidden; color: #6b6175; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
  .home .home-mobile-download a { flex: 0 0 auto; padding: 11px 17px; border-radius: 999px; color: #2d2040; background: var(--home-yellow); box-shadow: 0 7px 18px rgba(255,204,36,.3); font-size: .84rem; font-weight: 900; text-decoration: none; }

  .home .problem-side {
    padding: 32px 26px;
    border-radius: 26px;
  }

  .home .problem-side h2 {
    max-width: none;
  }

  .home .how-section h2,
  .home .features-section h2,
  .home .gallery-section h2 {
    text-align: left;
  }

  .home .how-heading {
    margin-inline: 0;
    text-align: left;
  }

  .home .how-lead {
    margin-inline: 0;
  }

  .home .feature-card {
    padding: 10px 10px 28px;
  }

  .home .gallery-item img {
    height: min(62vh, 500px);
    border-radius: 25px;
  }

  .home .cta-section {
    padding-inline: 14px;
  }

  .home .cta-section .container {
    min-height: 470px;
    padding: 48px 28px;
    border-radius: 32px;
  }

  .home .cta-section h2 {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home *,
  .home *::before,
  .home *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }

  .quest-progress,
  .quest-signal {
    display: none;
  }

  .js .home .motion-item,
  .js .home .hero-audience,
  .js .home .hero h1,
  .js .home .hero .subtitle-box,
  .js .home .hero .hero-label,
  .js .home .hero .hero-cta {
    opacity: 1 !important;
    transform: none !important;
    translate: 0 !important;
  }

  .js .home .phone-frame {
    opacity: 1 !important;
    translate: 0 !important;
  }
}

@keyframes home-mobile-bar {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* VIDEO */
.home .video-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 15%, rgba(255, 204, 36, 0.12), transparent 24%),
    radial-gradient(circle at 92% 85%, rgba(141, 85, 211, 0.1), transparent 26%),
    #fffdf8;
}

.home .video-heading {
  max-width: 760px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}

.home .video-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 18px;
  padding: 7px 14px;
  border: 1px solid rgba(111, 53, 197, 0.13);
  border-radius: 999px;
  color: var(--home-purple-deep);
  background: rgba(111, 53, 197, 0.08);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.home .video-section h2 {
  margin: 0;
}

.home .video-lead {
  max-width: 650px;
  margin: 22px auto 0;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
}

.home .video-frame {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--home-line);
  box-shadow: var(--home-shadow);
  background: #000;
}

.home .video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
