:root {
  --ink: #18274f;
  --ink-2: #354366;
  --teal: #08716b;
  --saffron: #ffd04b;
  --marigold: #f49a24;
  --saffron-deep: #8a3b0b;
  --cobalt: #17478f;
  --fuchsia: #d9366c;
  --cream: #fff6e3;
  --paper: #faeed7;
  --mist: #ad3437;
  --white: #fffdf8;
  --line: rgba(16, 47, 53, 0.16);
  --shadow: 0 18px 38px rgba(16, 47, 53, 0.16);
  color: var(--ink);
  font-family: "Noto Sans", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); margin: 0; padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
body::selection { background: var(--saffron); color: var(--ink); }
button, a { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 4px; }

.site-header {
  align-items: center;
  background: rgba(24, 39, 79, 0.92);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 clamp(18px, 5vw, 72px);
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 4;
}

.wordmark, .site-footer__brand { align-items: center; color: inherit; display: inline-flex; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.16em; text-decoration: none; }
.wordmark__image { display: block; height: auto; max-height: 36px; object-fit: contain; width: min(36vw, 150px); }
.site-footer__brand .wordmark__image { max-height: 38px; width: min(44vw, 178px); }
.header-actions { align-items: center; display: flex; gap: 8px; }
.language-button, .header-download { background: transparent; border: 0; color: inherit; font-size: 0.7rem; min-height: 44px; padding: 10px 9px; }
.header-download { border: 1px solid rgba(255, 253, 248, 0.36); border-radius: 999px; color: var(--white); font-weight: 700; padding-inline: 14px; }

.hero { background: var(--ink); color: var(--white); min-height: min(700px, 100svh); overflow: hidden; position: relative; }
.hero__visual { inset: 0; position: absolute; }
.hero__image, .hero__veil { height: 100%; inset: 0; position: absolute; width: 100%; }
.hero__image { animation: hero-drift 20s ease-in-out infinite alternate; object-fit: cover; object-position: center 58%; transform: scale(1.04); }
.hero__veil { background: rgba(6, 16, 27, 0.24); }
.hero__phulkari { background: url("assets/phulkari-shawl.jpg") center 43% / cover; bottom: 0; height: 14px; left: 0; opacity: 0.92; position: absolute; right: 0; z-index: 1; }
.hero__content { display: flex; flex-direction: column; justify-content: space-between; margin: 0 auto; max-width: 1180px; min-height: min(700px, 100svh); padding: clamp(128px, 17vh, 168px) clamp(22px, 8vw, 116px) 148px; position: relative; z-index: 2; }
.eyebrow, .hero__gurmukhi { margin: 0; }
.eyebrow { color: var(--saffron); font-family: "Noto Serif Gurmukhi", serif; font-size: 1rem; letter-spacing: 0.02em; }
.hero__gurmukhi { color: rgba(255, 253, 248, 0.9); font-family: "Noto Serif Gurmukhi", serif; font-size: 1.28rem; margin-top: 26px; }
h1, h2, h3 { font-family: "Noto Serif", "Noto Serif Gurmukhi", serif; font-weight: 700; letter-spacing: 0; }
h1 { font-size: 5rem; line-height: 0.98; margin: 14px 0 24px; max-width: 740px; }
.hero__action { max-width: 530px; }
.hero__lede { color: rgba(255, 253, 248, 0.9); font-size: 1.12rem; line-height: 1.55; margin: 0 0 24px; max-width: 500px; }
.primary-button, .outline-button { align-items: center; border: 0; border-radius: 999px; display: inline-flex; font-weight: 800; justify-content: center; min-height: 54px; padding: 0 22px; transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.primary-button { background: var(--saffron); box-shadow: 0 10px 22px rgba(239, 159, 46, 0.25); color: #291707; }
.primary-button:hover, .primary-button:focus-visible, .outline-button:hover, .outline-button:focus-visible, .header-download:hover, .header-download:focus-visible { box-shadow: var(--shadow); transform: translateY(-2px); }
.hero__scroll-prompt { align-items: center; animation: prompt-lift 2.2s ease-in-out infinite; background: var(--saffron); border-radius: 999px; bottom: 104px; box-shadow: 0 8px 22px rgba(8, 15, 35, 0.3); color: #281a09; display: flex; font-size: 0.78rem; font-weight: 800; gap: 10px; left: clamp(22px, 8vw, 116px); padding: 9px 13px; position: absolute; }
.hero__scroll-dot { animation: prompt-pulse 1.7s ease-in-out infinite; background: var(--saffron); border: 3px solid rgba(239, 159, 46, 0.28); border-radius: 50%; height: 13px; width: 13px; }
@keyframes hero-drift { from { transform: scale(1.04); } to { transform: scale(1.1); } }
@keyframes prompt-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(239, 159, 46, 0.42); transform: translateY(0); } 50% { box-shadow: 0 0 0 8px rgba(239, 159, 46, 0); transform: translateY(4px); } }
@keyframes prompt-lift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

.gift-rail { background: var(--cobalt) url("assets/phulkari-shawl.jpg") center top / 100% 10px no-repeat; border-bottom: 7px solid var(--fuchsia); color: var(--white); overflow: hidden; padding: 28px clamp(22px, 8vw, 116px) 36px; position: relative; }
.gift-rail__head { align-items: end; display: flex; gap: 32px; justify-content: space-between; margin: 0 auto 18px; max-width: 1180px; position: relative; }
.gift-rail__head h2 { font-size: 2.15rem; max-width: 540px; }
.gift-rail__head > p { color: rgba(255, 253, 248, 0.86); font-size: 0.85rem; line-height: 1.5; margin: 0; max-width: 280px; }
.gift-rail__count { align-self: end; color: var(--saffron); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; max-width: 170px; text-transform: uppercase; }
.gift-rail__items { display: grid; gap: 12px; grid-template-columns: repeat(8, minmax(0, 1fr)); margin: 0 auto; max-width: 1180px; position: relative; }
.rail-card { background: var(--white); border-radius: 8px; color: var(--ink); display: grid; grid-template-rows: 126px auto; min-width: 0; overflow: hidden; }
.rail-card img { height: 126px; object-fit: cover; width: 100%; }
.rail-card--pendant img { background: var(--white); object-fit: contain; padding: 5px; }
.rail-card--prasad img { object-position: center 65%; }
.rail-card > div { display: grid; gap: 5px; padding: 11px 13px 13px; }
.rail-card span { color: var(--saffron-deep); font-size: 0.6rem; font-weight: 800; letter-spacing: 0.08em; }
.rail-card strong { font-size: 0.94rem; line-height: 1.16; }

.daily { background: var(--paper); padding: 70px clamp(22px, 8vw, 116px) 64px; }
.daily__inner { margin: 0 auto; max-width: 1180px; }
.daily__grid { align-items: end; display: grid; gap: 46px; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
h2 { font-size: 3.6rem; line-height: 1.03; margin: 0; max-width: 570px; }
.daily__copy, .gifts__lede { color: var(--ink-2); font-size: 1rem; line-height: 1.62; margin: 18px 0 0; max-width: 430px; }
.hukam-card { background: var(--cream); border-radius: 8px; box-shadow: 0 10px 24px rgba(16, 47, 53, 0.08); padding: 26px 28px 24px; }
.hukam-card__script { font-family: "Noto Serif Gurmukhi", serif; font-size: 1.8rem; line-height: 1.55; margin: 0; }
.hukam-card__meta { color: var(--ink-2); font-size: 0.78rem; margin: 14px 0 16px; }
.text-button { align-items: center; background: transparent; border: 0; color: var(--saffron-deep); display: inline-flex; font-size: 0.82rem; font-weight: 800; min-height: 44px; padding: 0; }
.feature-strip { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 54px; }
.feature-strip > div { display: grid; gap: 4px; padding: 19px 20px 19px 0; }
.feature-strip > div + div { border-left: 1px solid var(--line); padding-left: 20px; }
.feature-strip strong { font-size: 0.98rem; }
.feature-strip small { color: var(--ink-2); font-size: 0.78rem; }

.gifts { background: var(--mist) url("assets/phulkari-shawl.jpg") center top / 100% 10px no-repeat; color: var(--white); display: grid; gap: 40px; grid-template-columns: minmax(200px, 0.72fr) minmax(0, 1.28fr); padding: 70px clamp(22px, 8vw, 116px) 78px; }
.gifts__intro { max-width: 360px; }
.shop-kicker, .gift-card__type { color: var(--saffron-deep); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; margin: 0 0 14px; }
.gifts .shop-kicker { color: #ffe18a; }
.gifts__lede { color: rgba(255, 253, 248, 0.88); }
.gift-note { color: rgba(255, 253, 248, 0.72); font-size: 0.73rem; line-height: 1.45; margin: 14px 0 0; max-width: 300px; }
.gifts__items { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gift-card { background: var(--white); border-radius: 8px; box-shadow: 0 12px 30px rgba(44, 15, 21, 0.19); color: var(--ink); display: flex; flex-direction: column; min-width: 0; overflow: hidden; transition: box-shadow 180ms ease, transform 180ms ease; }
.gift-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.gift-card__image, .gift-card__art { aspect-ratio: 1.22; display: block; width: 100%; }
.gift-card__image { object-fit: cover; }
.gift-card--pendant .gift-card__image { background: var(--white); object-fit: contain; padding: 9px; }
.gift-card__art { background: #173f45 url("assets/harmandir-sahib-night.jpg") center / cover; color: var(--white); display: flex; flex-direction: column; justify-content: end; padding: 20px; position: relative; }
.gift-card__art::before { background: rgba(16, 47, 53, 0.55); content: ""; inset: 0; position: absolute; }
.gift-card__art > * { position: relative; }
.gift-card__art span { color: var(--saffron); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.09em; }
.gift-card__art strong { font-family: "Noto Serif Gurmukhi", serif; font-size: 1.35rem; line-height: 1.25; margin: 9px 0; }
.gift-card__art small { font-size: 0.72rem; opacity: 0.84; }
.gift-card__body { display: flex; flex: 1; flex-direction: column; padding: 18px 17px 20px; }
.gift-card__type { margin-bottom: 8px; }
.gift-card h3 { font-size: 1.15rem; line-height: 1.18; margin: 0 0 9px; }
.gift-card p { color: var(--ink-2); font-size: 0.84rem; line-height: 1.55; margin: 0; }

.download-band { align-items: center; background: var(--ink); color: var(--white); display: flex; gap: 28px; justify-content: space-between; padding: 56px clamp(22px, 8vw, 116px); }
.download-band h2 { font-size: 3.2rem; }
.download-band p { color: rgba(255, 253, 248, 0.76); font-size: 0.82rem; margin: 14px 0 0; }
.outline-button { border: 1px solid var(--saffron); color: var(--saffron); min-width: 160px; }
.site-footer { background: #0b252b; color: rgba(255, 253, 248, 0.68); display: grid; gap: 9px; padding: 30px clamp(22px, 8vw, 116px) 46px; }
.site-footer__brand { color: var(--white); }
.site-footer p { font-size: 0.78rem; line-height: 1.55; margin: 0; }
.attribution { color: rgba(255, 253, 248, 0.58); font-size: 0.76rem; line-height: 1.55; }
.attribution summary { cursor: pointer; min-height: 44px; padding-top: 10px; }
.attribution a { color: var(--saffron); }

.apk-dialog { background: rgba(4, 15, 20, 0.76); border: 0; height: 100%; max-height: none; max-width: none; padding: 14px; width: 100%; }
.apk-dialog::backdrop { background: rgba(4, 15, 20, 0.76); }
.apk-dialog__surface { background: var(--cream); border-radius: 8px; box-shadow: var(--shadow); margin: auto; max-height: calc(100svh - 28px); max-width: 520px; overflow: auto; padding: 30px; position: relative; }
.dialog-close { background: transparent; border: 0; color: var(--ink); font-size: 1.8rem; line-height: 1; min-height: 44px; min-width: 44px; padding: 8px; position: absolute; right: 12px; top: 10px; }
.apk-dialog h2 { font-size: 2.65rem; margin: 18px 48px 14px 0; }
.apk-dialog__intro { color: var(--ink-2); font-size: 0.95rem; line-height: 1.55; margin: 0; }
.apk-details { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); margin: 24px 0; padding: 16px 0; }
.apk-details div { display: grid; gap: 5px; }
.apk-details span { color: var(--ink-2); font-size: 0.7rem; text-transform: uppercase; }
.apk-details strong { font-size: 0.78rem; min-width: 0; overflow-wrap: anywhere; }
.apk-details div:last-child strong { text-align: right; }
.install-details { border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 0.83rem; line-height: 1.55; padding-bottom: 18px; }
.install-details summary { color: var(--ink); cursor: pointer; font-weight: 800; min-height: 44px; padding-top: 10px; }
.install-details p { margin: 12px 0 0; }
.primary-button--dark { background: var(--ink); color: var(--white); margin-top: 22px; width: 100%; }
.dialog-status { color: var(--ink-2); font-size: 0.78rem; line-height: 1.45; margin: 12px 0; }
.privacy-link { color: var(--saffron-deep); font-size: 0.78rem; }

.sticky-download { align-items: center; background: var(--saffron); border: 1px solid #ffe6a4; border-radius: 0; bottom: 0; box-shadow: 0 -10px 28px rgba(5, 14, 38, 0.3); color: #291707; display: flex; justify-content: center; left: 0; max-width: none; min-height: 72px; padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); position: fixed; right: 0; text-align: center; transform: none; transition: box-shadow 180ms ease, transform 180ms ease; width: 100%; z-index: 9; }
.sticky-download__copy { display: grid; gap: 2px; min-width: 0; }
.sticky-download__copy strong { font-size: 0.98rem; line-height: 1.2; }
.sticky-download__copy small { color: rgba(41, 23, 7, 0.72); font-size: 0.68rem; line-height: 1.25; }
.sticky-download:hover, .sticky-download:focus-visible { box-shadow: 0 -12px 34px rgba(16, 47, 53, 0.34); transform: translateY(-2px); }

@media (max-width: 820px) {
  .hero, .hero__content { min-height: 620px; }
  h1 { font-size: 4rem; }
  h2 { font-size: 2.8rem; }
  .download-band h2 { font-size: 2.8rem; }
  .gifts { display: block; }
  .gifts__intro { max-width: 500px; }
  .gifts__items { margin-top: 34px; }
  .gift-rail__head { align-items: start; display: grid; gap: 10px; }
  .gift-rail__items { display: flex; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .rail-card { flex: 0 0 clamp(170px, 22vw, 220px); scroll-snap-align: start; }
}

@media (max-width: 620px) {
  .site-header { min-height: 58px; padding: 0 16px; }
  .header-actions { gap: 2px; }
  .language-button { font-size: 0.62rem; }
  .header-download { font-size: 0.66rem; padding-inline: 12px; }
  .hero, .hero__content { min-height: 340px; }
  .hero__content { justify-content: flex-start; padding: 76px 20px 54px; }
  .hero__image { object-position: 56% center; }
  h1 { font-size: 2.3rem; line-height: 1; margin: 8px 0 11px; max-width: 355px; }
  h2 { font-size: 2.25rem; }
  .download-band h2 { font-size: 2.25rem; }
  .hukam-card__script { font-size: 1.45rem; }
  .apk-dialog h2 { font-size: 2rem; }
  .eyebrow { font-size: 0.82rem; }
  .hero__gurmukhi { font-size: 1rem; margin-top: 12px; }
  .hero__lede { font-size: 0.88rem; line-height: 1.34; margin-bottom: 5px; max-width: 330px; }
  .hero__desktop-cta { display: none; }
  .hero__scroll-prompt { bottom: 22px; font-size: 0.68rem; left: 20px; padding: 8px 11px; }
  .gift-rail { padding: 17px 20px 29px; }
  .gift-rail__head { gap: 6px; margin-bottom: 11px; }
  .gift-rail__head h2 { font-size: 1.58rem; }
  .gift-rail__head > p { display: none; }
  .gift-rail__count { align-self: start; font-size: 0.56rem; max-width: none; }
  .gift-rail__items { display: flex; gap: 10px; margin-right: -20px; overflow-x: auto; padding-right: 20px; scrollbar-width: none; }
  .gift-rail__items::-webkit-scrollbar { display: none; }
  .rail-card { flex: 0 0 154px; grid-template-rows: 124px auto; }
  .rail-card img { height: 124px; }
  .rail-card > div { padding: 10px 11px 12px; }
  .rail-card strong { font-size: 0.82rem; }
  .daily { padding: 58px 20px 52px; }
  .daily__grid { display: block; }
  .hukam-card { margin-top: 30px; padding: 22px 20px; }
  .feature-strip { margin-top: 42px; }
  .feature-strip > div { padding: 16px 8px 16px 0; }
  .feature-strip > div + div { padding-left: 10px; }
  .feature-strip strong { font-size: 0.78rem; }
  .feature-strip small { font-size: 0.68rem; }
  .gifts { padding: 54px 20px 66px; }
  .gifts__items { gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; }
  .gift-card { display: flex; }
  .gift-card__image, .gift-card__art { aspect-ratio: 1 / 0.92; height: auto; min-height: 0; }
  .gift-card__art { padding: 12px; }
  .gift-card__art strong { font-size: 1rem; }
  .gift-card__art span { font-size: 0.52rem; }
  .gift-card__art small { font-size: 0.6rem; }
  .gift-card__body { padding: 12px 12px 14px; }
  .gift-card__type { font-size: 0.54rem; line-height: 1.2; margin-bottom: 6px; }
  .gift-card h3 { font-size: 0.96rem; line-height: 1.12; }
  .gift-card p { display: none; }
  .download-band { align-items: start; display: grid; padding: 48px 20px; }
  .outline-button { width: 100%; }
  .site-footer { padding: 26px 20px 40px; }
  .apk-dialog { padding: 10px; }
  .apk-dialog__surface { padding: 26px 19px 22px; }
  .apk-details { gap: 7px; }
  .apk-details { grid-template-columns: 1fr; }
  .apk-details div { display: flex; justify-content: space-between; gap: 12px; }
  .apk-details div:last-child { align-items: start; display: grid; grid-template-columns: auto minmax(0, 1fr); }
  .apk-details div:last-child strong { max-width: 100%; word-break: break-all; }
  .apk-details strong { font-size: 0.7rem; }
  .sticky-download { min-height: 72px; padding-inline: 12px; }
  .sticky-download__copy strong { font-size: 1rem; }
}

@media (max-width: 380px) {
  .language-button { font-size: 0.58rem; padding-inline: 4px; }
  .hero__content { padding-left: 18px; padding-right: 18px; }
  .hero__scroll-prompt { bottom: 22px; left: 18px; max-width: calc(100% - 36px); }
  .apk-dialog h2 { font-size: 1.8rem; line-height: 1.02; margin: 4px 44px 10px 0; }
  .apk-dialog__intro { font-size: 0.86rem; }
  .apk-details { margin: 16px 0; padding: 12px 0; }
  .install-details { padding-bottom: 10px; }
  .install-details summary { min-height: 40px; }
  .primary-button--dark { margin-top: 16px; min-height: 48px; }
  .dialog-status { margin: 9px 0; }
  .gifts__items { gap: 10px; }
  .gift-card__body { padding-inline: 10px; }
  .gift-card h3 { font-size: 0.88rem; }
  .sticky-download__copy strong { font-size: 0.9rem; }
}

@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; }
}

.reduced-motion .hero__image { animation: none; }
.reduced-motion .hero__scroll-prompt { animation: none; }
