/* Bisro website: shared styles for every page (ported from design/landing/prototypes/site2/css/site.css). */
* { box-sizing: border-box }
html.lenis, html.lenis body { height: auto } .lenis.lenis-smooth { scroll-behavior: auto !important }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip }
a { color: inherit } img { max-width: 100%; height: auto }
a:focus-visible, button:focus-visible { outline: 3px solid var(--sky-dark); outline-offset: 3px }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700 }
.skip:focus { top: 12px }
[id] { scroll-margin-top: 88px }   /* anchor jumps land below the fixed header */

/* Indic scripts: no negative tracking, taller lines */
:lang(te) h1, :lang(te) h2, :lang(te) h3, :lang(hi) h1, :lang(hi) h2, :lang(hi) h3 { letter-spacing: 0 !important; line-height: 1.3 !important }
:lang(te) body, :lang(hi) body { line-height: 1.7 }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer; font: 700 16px/1 var(--font); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s, background .2s }
.btn.primary { background: var(--sky); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(2,132,199,.55) } .btn.primary:hover { transform: translateY(-1px) }
.btn.line { border: 1.5px solid var(--border); background: #fff; color: var(--ink) } .btn.line:hover { border-color: var(--sky) }
.btn svg { flex: none }

/* navigation */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; gap: 28px; padding: 18px var(--gl); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent }
.nav.scrolled, .nav.open { background: rgba(250,251,252,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--border) }
.nav .logo img { display: block; height: 26px; width: auto }
.links > ul, .langs ul { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 15px; font-weight: 500; color: var(--muted) }
.links > ul > li > a, .langs a { text-decoration: none } .links > ul > li > a:hover, .links > ul > li > a[aria-current="page"], .langs a:hover { color: var(--ink) } .links > ul > li > a[aria-current="page"] { font-weight: 700 }
.menu { display: flex; align-items: center; gap: 28px; flex: 1 } .menu .langs { margin-left: auto } .nav .langs ul { gap: 4px; font-size: 14px }
.nav .langs a { display: block; padding: 6px 8px; border-radius: 8px } .nav .langs a[aria-current="true"] { color: var(--ink); font-weight: 700; background: var(--sky-light) }
.nav .btn { height: 42px; padding: 0 20px; font-size: 14.5px }
.menu-btn { all: unset; display: none; box-sizing: border-box; cursor: pointer; width: 42px; height: 42px; border-radius: 12px; place-items: center; border: 1px solid var(--border); background: #fff }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0 } .menu-btn span::before { top: -6px } .menu-btn span::after { top: 6px }
.nav.open .menu-btn span { background: transparent } .nav.open .menu-btn span::before { transform: translateY(6px) rotate(45deg) } .nav.open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg) }

/* page header for inner pages */
.page-head { padding: 150px var(--gl) 80px; max-width: 1320px; margin: 0 auto }
.page-head h1 { margin: 0; max-width: 16ch; font: 800 clamp(40px, 5vw, 76px)/1.03 var(--font); letter-spacing: -0.035em; text-wrap: balance }
.page-head h1 em { font-style: normal; color: var(--sky-dark) }
.page-head p { margin: 20px 0 0; max-width: 36em; font-size: clamp(17px, 1.3vw, 20px); color: var(--muted) }
.home-links { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 18px; font-weight: 600 } .home-links a { color: var(--link) }

/* footer: the full sitemap */
.foot { border-top: 1px solid var(--border); padding: 56px var(--gl) 36px; background: #fff; content-visibility: auto; contain-intrinsic-size: auto 420px }
.foot-top { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(160px, 1fr)); gap: 32px }
.foot-brand img { height: 26px; width: auto } .foot-brand p { margin: 14px 0 0; color: var(--muted); font-size: 15px; max-width: 26em }
.foot h2 { margin: 0 0 12px; font-size: 14px; color: var(--faint); font-weight: 600 }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15.5px } .foot ul a { text-decoration: none } .foot ul a:hover { color: var(--link) }
.foot-col li { overflow-wrap: anywhere }
.foot-bottom { max-width: 1320px; margin: 36px auto 0; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: 13px; color: var(--faint) }
.foot-bottom p { margin: 0 } .foot-bottom .ai-note { margin-left: auto }

/* shared sections (from the prototype) */
/* generic sections */
.sec { padding: clamp(80px, 12vh, 130px) var(--gl); max-width: 1320px; margin: 0 auto }
.sec h2 { margin: 0 0 12px; font: 800 clamp(32px, 3.4vw, 54px)/1.06 var(--font); letter-spacing: -0.03em; text-wrap: balance }
.sec .sub { margin: 0 0 48px; color: var(--muted); max-width: 36em }
/* download block */
.download { background: linear-gradient(180deg, var(--bg), var(--sky-light)); max-width: none }
.dl { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 6vw; align-items: center }
.dl h2 { margin: 0; font: 800 clamp(38px, 4vw, 64px)/1.03 var(--font); letter-spacing: -0.03em }
.dl .lead { margin: 18px 0 0; color: var(--muted); max-width: 32em }
.steps-list { list-style: none; counter-reset: s; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; max-width: 34em }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: center; color: #2F3640 }
.steps-list li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1.5px solid var(--border); display: grid; place-items: center; font-weight: 700; color: var(--link) }
.dl .cta { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 32px }
.qr { justify-self: center; background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 26px; text-align: center; box-shadow: 0 30px 60px -36px rgba(0,49,91,.35) }
.qr img { display: block; width: 200px; height: 200px; margin: 0 auto 14px; image-rendering: pixelated }
.qr b { display: block; font-size: 17px } .qr span { font-size: 14px; color: var(--muted) }
/* questions */
.faq { max-width: 860px }
.faq details { border-bottom: 1px solid var(--border); padding: 4px 0 }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-size: 19px; font-weight: 600 }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 26px; font-weight: 400; color: var(--link); transition: transform .25s }
.faq details[open] summary::after { transform: rotate(45deg) }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 44em }
/* download dialog */
.dlg { border: 0; padding: 0; border-radius: 26px; width: min(520px, calc(100% - 32px)); background: #fff; color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0,49,91,.45) }
.dlg::backdrop { background: rgba(31,35,40,.42); backdrop-filter: blur(3px) }
.dlg-in { padding: 30px 30px 26px; position: relative }
.dlg h2 { margin: 0 0 8px; font-size: 26px; letter-spacing: -0.02em } .dlg .lead { margin: 0; color: var(--muted); font-size: 15.5px }
.dlg .steps-list { margin-top: 20px; gap: 12px } .dlg .steps-list li { font-size: 15.5px }
.dlg .act { display: grid; gap: 10px; margin-top: 24px } .dlg .btn { width: 100% }
.dlg .x { all: unset; cursor: pointer; position: absolute; right: 16px; top: 16px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; color: var(--muted) } .dlg .x:hover { background: var(--bg) }
.dlg .msg { display: none; margin-top: 16px; padding: 12px 14px; border-radius: 12px; font-size: 15px } .dlg .msg.ok { display: block; background: #E6F8F1; color: #0B6B4F } .dlg .msg.err { display: block; background: #FDECEC; color: var(--red) }
.dlg .desk { display: none; margin-top: 18px; align-items: center; gap: 16px; padding: 14px; border: 1px dashed var(--border); border-radius: 16px; font-size: 14.5px; color: var(--muted) }
.dlg .desk img { width: 96px; height: 96px; image-rendering: pixelated } .dlg.desktop .desk { display: flex }
.dlg .note { margin-top: 12px; font-size: 13px; color: var(--faint); text-align: center }
@media (max-width: 980px) { .dl { grid-template-columns: minmax(0, 1fr) } .qr { display: none } }

/* nav menus: Features (mega menu with a phone preview) and For your shop (photo thumbnails) */
.dd-btn { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; font: 500 15px/1 var(--font); color: var(--muted) }
.dd-btn:hover, .dd-btn[aria-expanded="true"], .dd-btn[data-current] { color: var(--ink) } .dd-btn[data-current] { font-weight: 700 }
.dd-btn:focus-visible { outline: 3px solid var(--sky-dark); outline-offset: 4px; border-radius: 4px }
.dd-btn .chev { transition: transform .2s } .dd-btn[aria-expanded="true"] .chev { transform: rotate(180deg) }
.dd-panel { display: none; position: absolute; left: var(--gl); right: var(--gl); top: calc(100% - 4px); z-index: 50; max-width: 1180px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 26px 26px 18px; box-shadow: 0 40px 80px -40px rgba(0,49,91,.38) }
.dd.open .dd-panel { display: grid }
.mega { grid-template-columns: minmax(0, 3fr) minmax(240px, 1.05fr); gap: 24px }
.mega-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 22px }
.mega-group + .mega-group { margin-top: 18px }
.mega-group h3 { margin: 0 0 6px; padding: 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .03em; color: var(--faint) }
.mega-group ul, .sm-grid { list-style: none; margin: 0; padding: 0 }
.dd-panel { color: var(--ink); font-size: 16px } .dd-panel ul { list-style: none; margin: 0; padding: 0 }
.mega-link { display: block; padding: 8px 10px; border-radius: 10px; font-weight: 600; text-decoration: none }
a.mega-link:hover, a.mega-link:focus-visible, li.pv a.mega-link { background: #EEF6FE }
.mega-link.soon { font-weight: 500; cursor: default }
.mega-preview { position: relative; border-radius: 18px; background: linear-gradient(160deg, #E0F2FE, #F4FAFF 70%); padding: 18px 18px 20px; overflow: hidden }
.mp { display: none; margin: 0; text-align: center } .mp.on { display: block }
.mp-img { display: block; width: 150px; margin: 0 auto 6px } .mp-img img { width: 100%; height: auto; display: block }
.mp figcaption b { display: block; font-size: 17px } .mp figcaption span { display: block; margin-top: 4px; color: var(--muted); font-size: 14.5px; line-height: 1.45 }
.mega-foot { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: 14px }
.mega-all { font-weight: 700; color: var(--link); text-decoration: none; font-size: 15.5px } a.mega-all:hover { text-decoration: underline }
.shops-menu { grid-template-columns: minmax(0, 1fr); max-width: 980px }
.sm-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px }
.sm-img { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; margin-bottom: 8px } .sm-img img { width: 100%; height: 100%; object-fit: cover; display: block }
.sm-blank { background: linear-gradient(135deg, #E0F2FE, #F3FAFF) }
.sm-link { font-weight: 600; font-size: 15px; text-decoration: none } a.sm-link:hover { color: var(--link) }

/* reveal on scroll (one-shot) */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1) } .rv.in { opacity: 1; transform: none }

@media (max-width: 980px) {
  .nav { gap: 12px } .menu-btn { display: grid; margin-left: auto } .nav .btn { margin-left: auto } .nav .btn + .menu-btn { margin-left: 0 }
  .menu { display: none }
  .nav.open .menu { display: grid; gap: 8px; position: absolute; left: 0; right: 0; top: 100%; padding: 8px var(--gl) 18px; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: 0 24px 40px -24px rgba(0,49,91,.3) }
  .nav.open .links > ul { display: grid; gap: 0 } .nav.open .links > ul > li > a { display: block; padding: 12px 0; font-size: 18px; color: var(--ink) }
  .nav.open .langs { margin: 0 } .nav.open .langs a { padding: 10px 12px; font-size: 16px }
  .page-head { padding-top: 120px }
  .menu { max-height: calc(100vh - 70px); overflow: auto }
  .nav.open .links .dd { border-bottom: 1px solid var(--border) }
  .dd-btn { width: 100%; justify-content: space-between; padding: 14px 0; font-size: 18px; color: var(--ink) }
  .dd-panel { position: static; padding: 0 0 12px; border: 0; box-shadow: none; border-radius: 0; background: none }
  .mega { grid-template-columns: minmax(0, 1fr) } .mega-cols { grid-template-columns: minmax(0, 1fr); gap: 18px } .mega-preview { display: none }
  .sm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px }
  .mega-link { padding: 9px 0 } .mega-group h3 { padding: 0 }
  .foot-top { grid-template-columns: 1fr 1fr } .foot-top > :first-child { grid-column: 1 / -1 }
  .foot-bottom .ai-note { margin-left: 0 }
}
@media (max-width: 560px) { .nav .btn { height: 38px; padding: 0 14px; font-size: 13.5px } }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none } * { scroll-behavior: auto !important } }

/* Google Play mark in the footer (templates/_play.html): symbol and name, quiet */
.play { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font: 600 14.5px/1.2 var(--font); color: var(--muted); text-decoration: none }
a.play:hover { color: var(--link) } a.play:focus-visible { outline: 3px solid var(--sky-dark); outline-offset: 2px }
.play-ic { flex: none }
/* Log in / Sign up in the bar (desktop) and in the open menu (phones) */
.nav .acct { display: flex; gap: 8px; align-items: center }
@media (max-width: 980px) { .nav.open .acct { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px } .nav.open .acct .btn { margin-left: 0; width: 100% } }
