/* =========================================================
   بيتوتي — Landing page
   Pure HTML + CSS (no JavaScript)
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --green: #1F5A42;
  --green-dark: #134130;
  --green-tint: #EAF2ED;
  --orange: #E08A2E;
  --orange-deep: #A9651A;
  --orange-tint: #FBEEDC;
  --ink: #1F2A24;
  --ink-2: #3C4741;
  --muted: #6E675C;
  --muted-2: #8B8377;
  --cream: #FAF6EF;
  --sand: #EFE7DA;
  --line: #EAE1D3;
  --white: #fff;

  --font-ar: "IBM Plex Sans Arabic", "Archivo", system-ui, sans-serif;
  --font-lat: "Archivo", "IBM Plex Sans Arabic", system-ui, sans-serif;

  --gutter: clamp(18px, 4vw, 40px);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  /* lets <details> animate to height:auto in browsers that support it */
  interpolate-size: allow-keywords;
}

/* registered so it can be animated (count-up numbers) */
@property --num {
  syntax: "<integer>";
  initial-value: 0;
  inherits: false;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-ar);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }

:focus-visible { outline: 2.5px solid var(--orange); outline-offset: 3px; border-radius: 8px; }

h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.container {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-pad { padding-block: clamp(56px, 8vw, 100px); }

.latin { font-family: var(--font-lat); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font: 600 15px/1 var(--font-ar);
  padding: 15px 26px;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease-out), box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn-sm { font-size: 14px; padding: 12px 20px; }

.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); color: var(--white); box-shadow: 0 8px 20px rgba(31, 90, 66, .28); }

.btn-light { background: var(--white); color: var(--green); font-weight: 700; }
.btn-light:hover { background: var(--cream); color: var(--green-dark); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }

.btn-outline { border: 1.5px solid rgba(255, 255, 255, .5); color: var(--white); padding: 14px 24px; }
.btn-outline:hover { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, .08); }

/* light sweep across buttons on hover */
.btn::after,
.store-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(110%);
  transition: transform .7s var(--ease-out);
}
.btn:hover::after,
.store-btn:hover::after { transform: translateX(-110%); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 246, 239, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  animation: header-drop .7s var(--ease-out) both;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 14px;
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-name { font: 700 22px/1 var(--font-ar); }

/* the little orange speech bubble on the logo */
.brand-bubble {
  transform-box: fill-box;
  transform-origin: 20% 90%;
  animation: bubble-pop .6s var(--ease-spring) .5s both;
}
.brand:hover .brand-bubble { animation: bubble-wiggle .6s ease-in-out; }

.main-nav {
  display: flex;
  gap: 26px;
  margin-inline-start: auto;
}
.main-nav a {
  position: relative;
  font: 500 14px/1 var(--font-ar);
  color: var(--ink-2);
  padding-block: 6px;
  transition: color .2s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease-out);
}
.main-nav a:hover { color: var(--green); }
.main-nav a:hover::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(40px, 6vw, 72px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-tint);
  color: var(--green);
  font: 600 13px/1 var(--font-ar);
  padding: 9px 14px;
  border-radius: 999px;
}
.pill-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
.pill-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--orange);
  animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite;
}

.hero-title {
  margin-top: 22px;
  font: 700 clamp(40px, 6vw, 68px)/1.15 var(--font-ar);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.hero-title .accent {
  color: var(--green);
  /* hand-drawn style highlight that sweeps in under the word */
  background: linear-gradient(#F6DDBF, #F6DDBF) no-repeat right 0 bottom .12em / 0% .26em;
  animation: underline-draw .9s var(--ease-out) 1s forwards;
}

.hero-lead {
  margin-top: 20px;
  max-width: 480px;
  font: 400 clamp(16px, 1.6vw, 18px)/1.85 var(--font-ar);
  color: var(--muted);
  text-wrap: pretty;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.store-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 180px;
  padding: 12px 20px 12px 22px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  transition: background-color .25s, transform .25s var(--ease-out), box-shadow .25s;
}
.store-btn:hover {
  background: #000;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(31, 42, 36, .22);
}
.store-label { display: flex; flex-direction: column; gap: 3px; direction: ltr; text-align: right; }
.store-small { font: 400 10px/1 var(--font-lat); opacity: .75; }
.store-big { font: 700 16px/1 var(--font-lat); }

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 44px);
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.stat-num { font: 700 26px/1 var(--font-lat); color: var(--green); }
.stats dd { margin-top: 7px; font: 400 13px/1.4 var(--font-ar); color: var(--muted); }
.stat-num .star { display: inline-block; animation: twinkle 3s ease-in-out 2s infinite; }

/* count-up numbers (CSS counters + animated @property) */
.count {
  --num: var(--to);
  counter-reset: n var(--num);
  animation: count-up 2s var(--ease-out) .7s both;
}
.count::before {
  content: attr(data-prefix) counter(n, arabic-indic);
}
@keyframes count-up { from { --num: 0; } }

/* hero image */
.hero-media {
  position: relative;
  aspect-ratio: 1 / 1.05;
  max-height: 620px;
  border-radius: 32px;
  overflow: hidden;
  background: var(--sand);
  animation: media-reveal 1.2s var(--ease-out) .25s both;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ken-burns 22s ease-in-out 1.4s infinite alternate;
}
.hero-media::after {
  /* soft vignette so the floating card always reads */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31, 42, 36, .28), transparent 40%);
  pointer-events: none;
}

.toast {
  position: absolute;
  z-index: 1;
  bottom: 20px;
  inset-inline-start: 20px;
  max-width: 260px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(31, 42, 36, .16);
  pointer-events: none;
  animation:
    toast-in .8s var(--ease-spring) 1.2s both,
    float 6s ease-in-out 2s infinite;
}
.toast-icon {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--green-tint);
}
.toast-icon .check {
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
  animation: draw-check .5s ease-out 1.8s forwards;
}
.toast-title { font: 600 13px/1.3 var(--font-ar); color: var(--ink); }
.toast-sub { margin-top: 3px; font: 400 12px/1.4 var(--font-ar); color: var(--muted); }

/* ---------- Categories ---------- */
.categories { padding-bottom: clamp(56px, 8vw, 96px); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}
.cat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  cursor: default;
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.cat-card:hover {
  transform: translateY(-4px);
  border-color: #DCCFBB;
  box-shadow: 0 12px 26px rgba(31, 42, 36, .08);
}
.cat-icon {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  transition: transform .4s var(--ease-spring);
}
.cat-icon.green { background: var(--green-tint); color: var(--green); }
.cat-icon.orange { background: var(--orange-tint); color: var(--orange-deep); }
.cat-card:hover .cat-icon { transform: rotate(-10deg) scale(1.1); }
.cat-name { font: 600 15px/1.2 var(--font-ar); }

/* ---------- Section headings ---------- */
.eyebrow { font: 600 13px/1 var(--font-ar); color: var(--orange); }
.section-title {
  margin-top: 12px;
  font: 700 clamp(30px, 4vw, 44px)/1.25 var(--font-ar);
  text-wrap: balance;
}
.section-title.narrow { max-width: 620px; }

/* ---------- How it works ---------- */
.how {
  background: var(--white);
  border-block: 1px solid var(--line);
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
  margin-top: 44px;
}
.step {
  position: relative;
  padding: 28px 26px 30px;
  background: var(--cream);
  border-radius: 22px;
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(31, 42, 36, .08);
}
.step-num {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--green);
  color: var(--white);
  font: 700 19px/1 var(--font-lat);
  transition: transform .45s var(--ease-spring), background-color .3s;
}
.step:hover .step-num { transform: rotate(-8deg) scale(1.08); background: var(--orange); }
.step h3 { margin-top: 22px; font: 700 20px/1.35 var(--font-ar); }
.step p { margin-top: 10px; font: 400 15px/1.85 var(--font-ar); color: var(--muted); text-wrap: pretty; }

/* ---------- Products ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 18px;
  margin-top: 36px;
}
.product {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 1px 3px rgba(31, 42, 36, .06);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(31, 42, 36, .12);
}
.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand);
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.product:hover .product-media img { transform: scale(1.07); }

.badge {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--white);
  font: 600 11px/1 var(--font-ar);
  pointer-events: none;
  transition: transform .35s var(--ease-spring);
}
.product:hover .badge { transform: scale(1.08); }
.badge-green { background: var(--green); }
.badge-orange { background: var(--orange); }
.badge-dark { background: var(--ink); }

.product-body { padding: 16px 18px 18px; }
.product-name { font: 600 16px/1.35 var(--font-ar); }
.product-family { margin-top: 4px; font: 400 13px/1.4 var(--font-ar); color: var(--muted-2); }
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}
.price { font: 700 16px/1 var(--font-lat); color: var(--green); }
.rating { font: 600 13px/1 var(--font-lat); color: var(--orange); }

/* ---------- For families ---------- */
.families-wrap { padding-bottom: clamp(56px, 8vw, 100px); }

.families {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  padding: clamp(32px, 5vw, 64px);
  border-radius: 32px;
  background: var(--green);
  color: var(--white);
}
/* slowly drifting glow blobs behind the content */
.families::before,
.families::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}
.families::before {
  width: 420px;
  height: 420px;
  top: -160px;
  left: -120px;
  background: radial-gradient(circle, rgba(224, 138, 46, .35), transparent 65%);
  animation: drift 14s ease-in-out infinite alternate;
}
.families::after {
  width: 360px;
  height: 360px;
  bottom: -170px;
  right: 30%;
  background: radial-gradient(circle, rgba(255, 255, 255, .14), transparent 65%);
  animation: drift 18s ease-in-out -6s infinite alternate-reverse;
}

.vendor-app { display: flex; align-items: center; gap: 12px; }
.vendor-app span { font: 600 14px/1 var(--font-ar); opacity: .8; }
.vendor-icon {
  flex: none;
  border-radius: 14px;
  animation: bob 4s ease-in-out infinite;
}

.families-title {
  margin-top: 22px;
  font: 700 clamp(30px, 4vw, 46px)/1.25 var(--font-ar);
  text-wrap: balance;
}
.families-lead {
  margin-top: 16px;
  max-width: 460px;
  font: 400 16px/1.85 var(--font-ar);
  opacity: .86;
  text-wrap: pretty;
}
.families-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.perks { display: flex; flex-direction: column; gap: 12px; }
.perk {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: background-color .3s, transform .35s var(--ease-out), border-color .3s;
}
.perk:hover {
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .26);
  transform: translateX(-6px);
}
.perk-icon {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--orange);
  transition: transform .4s var(--ease-spring);
}
.perk:hover .perk-icon { transform: rotate(-10deg) scale(1.1); }
.perk-title { font: 700 16px/1.35 var(--font-ar); }
.perk-body { margin-top: 4px; font: 400 14px/1.7 var(--font-ar); opacity: .8; }

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  padding-bottom: clamp(56px, 8vw, 100px);
}
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 30px; }

.faq-item {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: border-color .3s, box-shadow .3s;
}
.faq-item:hover { border-color: #DCCFBB; }
.faq-item[open] { box-shadow: 0 10px 28px rgba(31, 42, 36, .07); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  font: 600 16px/1.45 var(--font-ar);
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }

/* + / − icon made from two bars */
.faq-sign {
  position: relative;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: #F3EDE3;
  transition: background-color .3s, transform .4s var(--ease-out);
}
.faq-sign::before,
.faq-sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--green);
  transition: transform .4s var(--ease-out), background-color .3s;
}
.faq-sign::after { transform: rotate(90deg); }
.faq-item summary:hover .faq-sign { transform: scale(1.08); }
.faq-item[open] .faq-sign { background: var(--green); transform: rotate(180deg); }
.faq-item[open] .faq-sign::before,
.faq-item[open] .faq-sign::after { background: var(--white); }
.faq-item[open] .faq-sign::after { transform: rotate(0deg); }

.faq-item p {
  padding: 0 22px 22px;
  font: 400 15px/1.85 var(--font-ar);
  color: var(--muted);
  text-wrap: pretty;
}
.faq-item[open] p { animation: fade-down .45s var(--ease-out); }

/* smooth open/close where ::details-content + interpolate-size are supported */
@supports (interpolate-size: allow-keywords) {
  .faq-item::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size .4s var(--ease-out), content-visibility .4s allow-discrete;
  }
  .faq-item[open]::details-content { block-size: auto; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--white); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 36px;
}
.footer-about { max-width: 320px; }
.footer-about .brand { color: var(--white); }
.footer-about .brand-name { font-size: 20px; }
.footer-about p { margin-top: 14px; font: 400 14px/1.8 var(--font-ar); color: rgba(255, 255, 255, .65); }

.footer-cols { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 72px); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-head { font: 600 13px/1 var(--font-ar); color: rgba(255, 255, 255, .5); }
.footer-col a {
  font: 400 14px/1 var(--font-ar);
  color: var(--white);
  transition: color .2s, transform .25s var(--ease-out);
}
.footer-col a.latin { font-family: var(--font-lat); }
.footer-col a:hover { color: var(--orange); transform: translateX(-4px); }

.footer-bottom {
  padding-top: 18px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font: 400 13px/1 var(--font-ar);
  color: rgba(255, 255, 255, .5);
}

/* =========================================================
   Animations
   ========================================================= */

/* hero entrance — staggered with --d */
.load-in {
  animation: rise .9s var(--ease-out) both;
  animation-delay: calc(var(--d, 0) * 120ms + 150ms);
}

@keyframes rise {
  from { opacity: 0; translate: 0 26px; }
  to   { opacity: 1; translate: 0 0; }
}
@keyframes header-drop {
  from { opacity: 0; translate: 0 -100%; }
  to   { opacity: 1; translate: 0 0; }
}
@keyframes media-reveal {
  from { opacity: 0; clip-path: inset(10% 10% 10% 10% round 48px); scale: .96; }
  to   { opacity: 1; clip-path: inset(0 0 0 0 round 32px); scale: 1; }
}
@keyframes ken-burns {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.1) translate(-2%, -2%); }
}
@keyframes toast-in {
  from { opacity: 0; translate: 0 30px; scale: .9; }
  to   { opacity: 1; translate: 0 0; scale: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes draw-check { to { stroke-dashoffset: 0; } }
@keyframes underline-draw { to { background-size: 100% .26em; } }
@keyframes ping {
  0%        { transform: scale(1); opacity: .7; }
  80%, 100% { transform: scale(3); opacity: 0; }
}
@keyframes twinkle {
  0%, 85%, 100% { transform: scale(1) rotate(0); }
  90%           { transform: scale(1.35) rotate(15deg); }
}
@keyframes bubble-pop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}
@keyframes bubble-wiggle {
  0%, 100% { transform: rotate(0); }
  25%      { transform: rotate(-14deg); }
  75%      { transform: rotate(10deg); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-4px) rotate(-3deg); }
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.15); }
}
@keyframes fade-down {
  from { opacity: 0; translate: 0 -6px; }
  to   { opacity: 1; translate: 0 0; }
}
@keyframes reveal-up {
  from { opacity: 0; translate: 0 32px; scale: .97; }
  to   { opacity: 1; translate: 0 0; scale: 1; }
}
@keyframes header-shadow {
  to { box-shadow: 0 6px 24px rgba(31, 42, 36, .08); background: rgba(250, 246, 239, .97); }
}

/* scroll-triggered reveals (no JS) — browsers without
   scroll-driven animations simply show everything */
@supports (animation-timeline: view()) {
  .reveal {
    animation: reveal-up linear both;
    animation-timeline: view();
    animation-range: entry calc(var(--i, 0) * 7%) entry calc(75% + var(--i, 0) * 7%);
  }
  .site-header {
    animation: header-drop .7s var(--ease-out) both, header-shadow linear both;
    animation-timeline: auto, scroll();
    animation-range: normal, 0 140px;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .main-nav { display: none; }
  .header-inner { justify-content: space-between; }
}

@media (max-width: 420px) {
  .store-btn { min-width: 0; flex: 1 1 160px; }
  .toast { inset-inline: 14px; bottom: 14px; max-width: none; }
}

/* ---------- Respect reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .01ms !important;
  }
  .hero-title .accent { background-size: 100% .26em; }
  .toast-icon .check { stroke-dashoffset: 0; }
}
