/*
  CulturalPanvel landing page styles, shared by / (Marathi, the default) and
  /en (English). Both pages are the same markup in two languages, so a layout
  change made here lands on both; a copy change has to be made in both files.

  Page rhythm (D170): light hero with the app name and a phone that cycles
  through the app's onboarding screens → patterned icon grid of features →
  dark download band → orange "about" band → dark "promises" band → footer.
*/
@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #1E1B16;
  --ink-soft: #5F564C;
  --orange: #F15A0A;
  --orange-deep: #C2410C;
  --bg: #FFFBF7;
  --card: #FFFFFF;
  --cream: #FFF3E9;
  --line: #F0E1D2;
  --pattern: rgba(194, 65, 12, .09);
  --night: #1A1512;
  --night-2: #120E0C;
  --on-night: #F6EFE8;
  --on-night-soft: #C9BCAE;
  --shadow: 0 1px 2px rgba(30,27,22,.05), 0 12px 32px -12px rgba(30,27,22,.18);
  --display: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --deva: 'Nirmala UI', 'Noto Sans Devanagari', sans-serif;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #F6EFE8;
    --ink-soft: #B5A99C;
    --orange: #FF7A33;
    --orange-deep: #F15A0A;
    --bg: #141110;
    --card: #1E1A17;
    --cream: #1B1714;
    --line: #322A24;
    --pattern: rgba(255, 122, 51, .08);
    --night: #0F0C0A;
    --night-2: #0A0807;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px -16px rgba(0,0,0,.7);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
h1, h2, h3, .nav-brand, .btn, .site-nav { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); line-height: 1.2; margin: 0 0 .6rem; }
h3 { font-size: 1.12rem; line-height: 1.35; margin: 0 0 .4rem; }
p { margin: 0 0 1rem; }
a { color: var(--orange-deep); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1em; height: 1em; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .92rem 1.5rem; border-radius: 999px;
  font-size: 1.02rem; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn-primary {
  background: var(--orange); color: #fff;
  box-shadow: 0 10px 26px -10px rgba(241,90,10,.85);
}
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-2px); }
.btn-ghost { color: var(--ink); border: 1.5px solid var(--line); background: var(--card); }
.btn-ghost:hover { border-color: var(--orange); transform: translateY(-2px); }
.btn:hover { text-decoration: none; }

/* Store-style download button: black tile, Play mark, two-line label. */
.store {
  display: inline-flex; align-items: center; gap: .75rem;
  padding: .6rem 1.15rem .6rem .95rem; border-radius: 12px;
  background: #0B0B0B; color: #fff; text-decoration: none;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 12px 26px -14px rgba(0,0,0,.8);
  transition: transform .15s ease;
}
.store:hover { transform: translateY(-2px); }
.store .icon { width: 24px; height: 26px; color: #34D399; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: .72rem; letter-spacing: .02em; opacity: .85; }
.store strong { font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; }

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 66px; }
.nav-brand { display: flex; align-items: center; gap: .6rem; font-size: 1.06rem; color: var(--ink); text-decoration: none; }
.nav-brand img { width: 30px; height: 29px; }
.site-nav { display: flex; gap: 1.5rem; margin-left: auto; margin-right: .5rem; }
.site-nav a { color: var(--ink-soft); text-decoration: none; font-size: .9rem; }
.site-nav a:hover { color: var(--orange-deep); }
header .btn { padding: .6rem 1.1rem; font-size: .94rem; }
.header-actions { display: flex; align-items: center; gap: .6rem; }

/* ---------- language switch ---------- */
.lang {
  display: inline-flex; padding: 3px; gap: 2px;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--card);
  font-family: var(--display); font-weight: 600; font-size: .86rem; line-height: 1.2;
}
.lang a {
  padding: .38rem .72rem; border-radius: 999px;
  color: var(--ink-soft); text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.lang a:hover { color: var(--ink); }
.lang a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.lang .short { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.75rem, 6vw, 5rem); }
.hero::before {
  content: ''; position: absolute; inset: -40px;
  background: url('/img/panvel.webp') center 70% / cover no-repeat;
  filter: blur(34px) saturate(120%);
  opacity: .28; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--bg) 30%, color-mix(in srgb, var(--bg) 40%, transparent));
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; grid-template-columns: 1.1fr .9fr; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--cream); color: var(--orange-deep);
  border: 1px solid var(--line); border-radius: 999px;
  padding: .35rem .85rem; font-size: .84rem; font-weight: 600; letter-spacing: .02em;
  margin-bottom: 1rem;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex: none; }
.app-name { font-size: clamp(2rem, 11vw, 4.6rem); line-height: 1; margin: 0 0 .9rem; letter-spacing: -.03em; }
.app-name .accent { color: var(--orange); }
.tagline { font-family: var(--display); font-weight: 600; font-size: clamp(1.2rem, 3vw, 1.6rem); line-height: 1.3; margin: 0 0 .9rem; }
.hero p.lede { font-size: clamp(1rem, 2.1vw, 1.12rem); color: var(--ink-soft); max-width: 36rem; }
.hero .marathi { font-family: var(--deva); font-size: 1.05rem; color: var(--orange-deep); margin-bottom: 1.2rem; }

.stats { display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.stats li { display: flex; align-items: baseline; gap: .45rem; color: var(--ink-soft); font-size: .95rem; }
.stats b { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 4vw, 2.2rem); line-height: 1; color: var(--ink); }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: 0 0 1rem; }
.fineprint { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* ---------- phone + carousel ---------- */
.phone-col { display: grid; justify-items: center; gap: 1rem; }
.phone {
  width: min(290px, 74vw);
  padding: 10px;
  border-radius: 44px;
  background: linear-gradient(160deg, #3A332E, #14100E);
  box-shadow: 0 34px 64px -30px rgba(30,27,22,.7), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.screen {
  position: relative; overflow: hidden;
  aspect-ratio: 9 / 19.5; border-radius: 34px;
  background: #FFF8F1;
}
.slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transition: opacity .6s ease;
  display: flex; flex-direction: column;
}
.slide.is-active { opacity: 1; }
.slide > img.full { width: 100%; height: 100%; object-fit: cover; }
/* An "art" slide is drawn as an app onboarding screen: the picture runs edge
   to edge over the top 60% and fades into the screen, the section name sits on
   it as a frosted label, then title, line, and pager + Next at the bottom.
   No highlight lists here — the feature grid below already lists every
   feature, and repeating it inside the phone was redundant.
   Everything is sized in em off one container-relative font size, so the
   screen keeps its proportions at every phone width (12px is the fallback for
   browsers without container query units). */
.screen { container-type: inline-size; }
.slide.art {
  font-size: 12px; font-size: 4.4cqi;
  padding: 0; color: #1E1B16; background: #FFF8F1;
}
.slide .appbar {
  position: absolute; top: 1.6em; left: 1.1em; z-index: 1;
  display: flex; align-items: center; gap: .45em;
  padding: .38em .8em .38em .5em; border-radius: 999px;
  background: rgba(255,248,241,.82);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 .3em 1em -.4em rgba(30,27,22,.45);
  font-family: var(--display); font-weight: 600; font-size: .97em; color: #2A241E;
}
.slide .appbar img { width: 1.45em; height: auto; box-shadow: none; border-radius: 0; }
.slide.art > img {
  flex: none; width: 100%; height: 60%; object-fit: cover; object-position: center 40%;
  border-radius: 0; box-shadow: none;
  -webkit-mask-image: linear-gradient(#000 80%, transparent);
  mask-image: linear-gradient(#000 80%, transparent);
}
.slide.art h3 {
  font-size: 1.55em; line-height: 1.3; margin: .35em 1.1em .35em;
  text-align: center; text-wrap: balance;
}
.slide.art > p {
  font-size: 1.08em; line-height: 1.5; color: #5F564C;
  margin: 0 1.5em; text-align: center; text-wrap: balance;
}
.slide .foot { margin-top: auto; padding: .9em 1.25em 1.5em; display: flex; align-items: center; justify-content: space-between; }
.slide .pager { display: flex; gap: 5px; }
.slide .pager i { width: 6px; height: 6px; border-radius: 3px; background: #F0D6C2; }
.slide .pager i.on { width: 18px; background: #F15A0A; }
.slide .next {
  font-family: var(--display); font-weight: 600; font-size: .97em;
  background: #F15A0A; color: #fff; border-radius: 999px; padding: .4em 1em;
}

.dots { display: flex; gap: .45rem; }
.dots button {
  width: 11px; height: 11px; padding: 0; border-radius: 50%;
  border: 0; background: var(--line); cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.dots button[aria-current="true"] { background: var(--orange); transform: scale(1.15); }

/* ---------- sections ---------- */
section { padding-block: clamp(3rem, 6vw, 4.75rem); }
.section-head { max-width: 42rem; margin: 0 auto clamp(1.75rem, 4vw, 2.75rem); text-align: center; }
.section-head p { color: var(--ink-soft); margin: 0; }

/* features: circular icon badges on a faint dotted field */
.features {
  background-color: var(--cream);
  background-image: radial-gradient(var(--pattern) 1.4px, transparent 1.6px);
  background-size: 22px 22px;
  border-block: 1px solid var(--line);
}
.feature-grid {
  display: grid; gap: 2rem 1.25rem;
  grid-template-columns: repeat(5, 1fr);
  list-style: none; margin: 0; padding: 0;
}
.feature { text-align: center; }
.badge {
  width: 92px; height: 92px; margin: 0 auto .85rem;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--card); color: var(--orange-deep);
  border: 3px solid var(--orange);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--orange) 12%, transparent), var(--shadow);
  transition: transform .18s ease;
}
.feature:hover .badge { transform: translateY(-4px); }
.badge .icon { width: 40px; height: 40px; }
.feature h3 { font-size: 1.02rem; margin-bottom: .2rem; color: var(--orange-deep); }
.feature p { font-size: .88rem; line-height: 1.5; color: var(--ink-soft); margin: 0; }

/* dark bands */
.band-dark { position: relative; overflow: hidden; background: var(--night); color: var(--on-night); }
.band-dark::before {
  content: ''; position: absolute; inset: -40px;
  background: var(--band-img, none) center / cover no-repeat;
  filter: blur(26px); opacity: .32; pointer-events: none;
}
.band-dark .wrap { position: relative; }
.band-dark p { color: var(--on-night-soft); }

.download { --band-img: url('/img/discover.webp'); }
.download .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.download h2 { color: #fff; }
.download .store { margin: .5rem 0 1.75rem; }
.steps { display: grid; gap: 1.1rem; counter-reset: step; list-style: none; margin: 0 0 1.25rem; padding: 0; }
.step { counter-increment: step; padding-left: 3rem; position: relative; }
.step::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--orange); color: #fff;
  font-family: var(--display); font-weight: 600; font-size: .95rem;
}
.step h3 { color: #fff; font-size: 1.02rem; margin-bottom: .15rem; }
.step p { font-size: .93rem; margin: 0; }
.download .fineprint { color: var(--on-night-soft); }

/* about: solid brand band */
.about { background: linear-gradient(135deg, #F15A0A, #C2410C); color: #fff; }
.about .wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.about-mark {
  width: clamp(110px, 16vw, 160px); aspect-ratio: 1; border-radius: 50%;
  background: #fff; display: grid; place-items: center;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.55);
}
.about-mark img { width: 62%; }
.about h2 { color: #fff; }
.about p { color: rgba(255,255,255,.93); max-width: 44rem; }
.about h3 { color: #fff; font-size: 1rem; margin: 1.5rem 0 .75rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.chips li {
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px; padding: .38rem .95rem; font-size: .92rem; font-weight: 600;
}

/* promises: speech-bubble cards */
.promises { --band-img: url('/img/updated.webp'); }
.promises h2 { color: #fff; }
.promises .section-head p { color: var(--on-night-soft); }
.bubbles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.bubble { display: flex; flex-direction: column; }
.bubble blockquote {
  position: relative; margin: 0 0 1.4rem; flex: 1;
  background: #FFFBF7; color: #1E1B16; border-radius: 16px;
  padding: 1.3rem 1.35rem 1.4rem;
  box-shadow: 0 18px 40px -22px rgba(0,0,0,.8);
}
.bubble blockquote::after {
  content: ''; position: absolute; left: 30px; bottom: -11px;
  border: 12px solid transparent; border-bottom: 0; border-top-color: #FFFBF7;
}
.bubble .icon { width: 26px; height: 26px; color: var(--orange); margin-bottom: .4rem; }
.bubble strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.08rem; line-height: 1.35; margin-bottom: .4rem; }
.bubble blockquote p { color: #5F564C; font-size: .94rem; margin: 0; }
.bubble figcaption { display: flex; align-items: center; gap: .6rem; padding-left: 14px; font-size: .9rem; color: var(--on-night-soft); }
.bubble figcaption img { width: 36px; height: 36px; border-radius: 50%; background: #fff; padding: 5px; }

/* ---------- footer ---------- */
footer { background: var(--night-2); color: var(--on-night-soft); padding-block: 3rem 2rem; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
footer .nav-brand { color: var(--on-night); margin-bottom: .75rem; }
footer h3 { color: var(--on-night); font-size: .95rem; margin: .3rem 0 .75rem; }
footer p { font-size: .92rem; margin: 0 0 .6rem; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
footer a { color: var(--on-night-soft); text-decoration: none; font-size: .93rem; }
footer a:hover { color: #fff; text-decoration: underline; }
footer .contact { display: flex; align-items: center; gap: .5rem; }
footer .contact .icon { width: 18px; height: 18px; color: var(--orange); }
.colophon { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.25rem; padding-top: 1.25rem; font-size: .86rem; }

/* ---------- Marathi ----------
   Poppins carries Devanagari, so headings keep the display face. Devanagari
   needs room above and below the line for matras, and negative tracking pulls
   conjuncts apart, so both are relaxed here. */
html:lang(mr) {
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Nirmala UI', 'Noto Sans Devanagari', Arial, sans-serif;
}
html:lang(mr) h1, html:lang(mr) h2, html:lang(mr) h3, html:lang(mr) .tagline,
html:lang(mr) .nav-brand, html:lang(mr) .btn, html:lang(mr) .site-nav,
html:lang(mr) .bubble strong { letter-spacing: 0; }
html:lang(mr) .tagline { line-height: 1.45; text-wrap: balance; }
html:lang(mr) h2 { line-height: 1.38; text-wrap: balance; }
html:lang(mr) h3 { line-height: 1.5; }
html:lang(mr) .slide.art > p { line-height: 1.6; }
html:lang(mr) .slide.art h3 { line-height: 1.45; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .site-nav { display: none; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .hero .wrap, .download .wrap { grid-template-columns: 1fr; }
  .hero::after { background: color-mix(in srgb, var(--bg) 72%, transparent); }
  .phone { width: min(260px, 76vw); }
  .bubbles { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  footer .cols > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem .75rem; }
  .badge { width: 78px; height: 78px; }
  .badge .icon { width: 34px; height: 34px; }
  .about .wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .about .chips { justify-content: center; }
  header .btn span { display: none; }
  header .btn { padding: .6rem .85rem; }
  .header-actions { gap: .45rem; }
  .lang a { padding: .38rem .6rem; }
  .lang .long { display: none; }
  .lang .short { display: inline; }
  .cta-row .btn { flex: 1 1 100%; justify-content: center; white-space: normal; text-align: center; text-wrap: balance; }
  .cta-row .store { flex: 1 1 100%; justify-content: center; }
  footer .cols { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  header .nav-brand .wordmark { display: none; }
}
