/* Design tokens. Fattah's red only appears on the Fattah store card. */
:root {
  --ground: #FBF6E9;
  --surface: #FFFFFF;
  --ink: #2A1712;
  --muted: #6D564D;
  --line: #E9DFC6;
  --brand: #B83F0F;
  --brand-hover: #9A3410;
  --sun: #E8A33A;
  --sun-soft: #F3E2BF;
  --teal: #1F6F8B;
  --fresh: #3E8E41;
  --shelf: #C9A26A;
  --band: #2A1712;
  --band-card: #3A241C;
  --band-text: #FBF6E9;
  --band-muted: #D9C8BC;
  --fattah: #E1212F;
  --radius: 14px;
  --font-display: 'Baloo Bhaijaan 2', 'Readex Pro', system-ui, sans-serif;
  --font-body: 'Readex Pro', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --fast: 160ms;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(28px, 4vw, 36px); }

.wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.skip-link { position: absolute; top: -100px; inset-inline-start: 12px; padding: 10px 14px; background: var(--ink); color: var(--ground); border-radius: 8px; z-index: 20; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 26px; border-radius: var(--radius);
  font-weight: 700; font-size: 18px; text-decoration: none;
  transition: background-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 16px; }
.btn-brand { background: var(--brand); color: #FFFFFF; }
.btn-brand:hover { background: var(--brand-hover); }
.btn-line { border: 2px solid var(--ink); }
.btn-line:hover { background: var(--surface); }
.btn-fattah { background: var(--fattah); color: #FFFFFF; }

.site-header .header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 26px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-weight: 500; }
.nav > a:not(.btn) { padding: 10px 12px; text-decoration: none; border-radius: 10px; }
.nav > a:not(.btn):hover { background: var(--sun-soft); }

.hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding-top: 28px; }
.eyebrow { font-size: 14px; letter-spacing: 1px; color: var(--teal); font-weight: 700; }
.hero h1 { font-size: clamp(40px, 7vw, 92px); line-height: 1.05; }
.accent { color: var(--brand); }
.lead { margin: 0; font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }

.scene { padding-top: 32px; }
.scene svg { display: block; width: 100%; height: auto; }

.section { display: flex; flex-direction: column; gap: 18px; padding-block: 48px; }
.section + .section { padding-top: 0; }

.store {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 20px;
  border-radius: 22px; background: var(--surface); border: 2px solid var(--line);
  box-shadow: 0 8px 0 var(--line); text-decoration: none;
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.store:hover { transform: translateY(-2px); box-shadow: 0 10px 0 var(--line); }
.store-logo { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.store-logo img { width: 92px; height: auto; }
.store-text { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 180px; }
.store-text b { font-size: 24px; }
.store-text span { color: var(--muted); }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); text-decoration: none; font-weight: 500; transition: border-color var(--fast) var(--ease); }
.chips a:hover { border-color: var(--brand); }

.band { background: var(--band); color: var(--band-text); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.steps li {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  padding: 40px 20px 24px; border-radius: 120px 120px 18px 18px;
  background: var(--band-card); border: 2px solid var(--brand);
}
.steps b { font-size: 19px; }
.steps li > span:last-child { color: var(--band-muted); }
.step-n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--sun); color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 24px; }

.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; color: var(--muted); }
.site-footer b { color: var(--ink); }

/* Splash: an overlay over real content, shown on every full load. */
.splash {
  position: fixed; inset: 0; z-index: 50;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: var(--ground);
  transition: opacity 400ms var(--ease), visibility 400ms;
}
.splash.is-done { opacity: 0; visibility: hidden; }
.splash-mark { width: 120px; height: 120px; }
.splash-sun { fill: var(--sun); transform-origin: 60px 58px; animation: sun-rise 1100ms var(--ease) both; }
.splash-arch { fill: none; stroke: var(--brand); stroke-width: 5; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 900ms 250ms var(--ease) forwards; }
.splash-bars { stroke: var(--brand); stroke-width: 3; opacity: 0; animation: fade 300ms 900ms forwards; }
.splash-name { font-family: var(--font-display); font-weight: 800; font-size: 30px; opacity: 0; animation: fade 400ms 1000ms forwards; }
.splash-skip {
  position: absolute; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); inset-inline-end: max(20px, env(safe-area-inset-right, 0px));
  min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--ink); font: inherit; font-weight: 500; cursor: pointer;
}
@keyframes sun-rise { from { transform: translateY(40px) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .splash-arch { stroke-dashoffset: 0; }
  .splash-bars, .splash-name { opacity: 1; }
}
