/* KamaiPlus website — light theme only (decision 2026-10-04).
   Layout idea: "the counter on the page" — plain ground, one marigold mark, receipt paper as proof. */
:root {
  color-scheme: light;
  --ground: #F4F5F7;
  --surface: #FFFFFF;
  --paper: #FFFEFA;
  --ink: #1D1E22;
  --ink-2: #4B4F5A;
  --ink-3: #666B77; /* 4.9:1 on --ground, WCAG AA (was #737885, 4.05:1) */
  --line: #E1E4EA;
  --marigold: #FFC500;
  --marigold-soft: #FFF3C2;
  --plus: #E3261B;
  --paid: #11734A;
  --paid-soft: #E3F4EC;

  /* The Desktop app's own fonts (src/app/globals.css, ThermalReceipt MONO): Mukta for every
     language, the app's monospace stack for numbers and codes. One family keeps EN and HI alike. */
  --display: 'Mukta', 'Noto Sans Devanagari', 'Nirmala UI', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --body: var(--display);
  --mono: 'Consolas', 'Courier New', 'Lucida Console', ui-monospace, monospace;
  --deva: var(--display);

  --step-1: 1.125rem;
  --step-4: clamp(2.3rem, 5vw, 3.6rem);
  --radius: 14px;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1rem/1.6 var(--body); padding-inline: 16px; padding-top: env(safe-area-inset-top, 0px); }
html[lang="hi"] body { font-family: var(--deva); }
img { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.15; text-wrap: balance; margin: 0; letter-spacing: -0.005em; }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3 { font-family: var(--deva); letter-spacing: 0; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .5rem .8rem; border-radius: 8px; z-index: 50; }
.skip:focus { left: 16px; }
.eyebrow { font: 600 .78rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); display: inline-flex; align-items: center; gap: .5rem; }
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--marigold); border-radius: 3px; }
html[lang="hi"] .eyebrow { letter-spacing: .02em; font-family: var(--deva); font-size: .9rem; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.25rem; border-radius: 12px; font: 600 1rem/1 var(--body); text-decoration: none; border: 1.5px solid var(--ink); cursor: pointer; background: var(--surface); color: var(--ink); transition: transform .15s, background .15s; }
html[lang="hi"] .btn { font-family: var(--deva); }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
kbd { font: 700 .72rem/1 var(--mono); padding: .25rem .4rem; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; background: var(--surface); color: var(--ink); white-space: nowrap; }
.hint { font-size: .85rem; color: var(--ink-3); }
.hint b { color: var(--ink-2); font-weight: 600; }

/* ---------- Header ---------- */
header.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; margin-top: 10px; }
.nav-inner { max-width: var(--wrap); margin-inline: auto; display: flex; align-items: center; gap: 1rem; padding: .6rem .7rem .6rem .8rem; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 16px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand b { font: 800 1.25rem/1 var(--display); letter-spacing: -.02em; }
.brand b span { color: var(--plus); }
.brand small { display: block; font: 600 .74rem/1.25 var(--body); color: var(--ink-2); letter-spacing: .01em; margin-top: 2px; }
.f-tagline { font-weight: 700; color: var(--ink); }
.nav-links { display: flex; gap: 1.1rem; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 500; color: var(--ink-2); font-size: .95rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--marigold); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.lang a, .lang span { padding: .45rem .6rem; font: 600 .85rem/1 var(--body); color: var(--ink-2); text-decoration: none; }
.lang a:hover { color: var(--ink); background: var(--ground); }
.lang [aria-current="true"] { background: var(--ink); color: #fff; }
.lang [aria-current="true"]:hover { background: var(--ink); color: #fff; }
.lang [lang="hi"], .lang .lang-off { font-family: var(--deva); }
.lang .lang-off { color: var(--line); cursor: not-allowed; }
.nav .btn { padding: .6rem .9rem; font-size: .9rem; }
.menu-btn { display: none; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; width: 40px; height: 36px; cursor: pointer; place-items: center; color: var(--ink); }
.menu-btn svg { width: 20px; height: 20px; }
.mobile-menu { max-width: var(--wrap); margin: .5rem auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: .6rem; display: grid; gap: .1rem; }
.mobile-menu a { text-decoration: none; padding: .7rem .8rem; border-radius: 10px; font-weight: 600; }
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { background: var(--marigold-soft); }
@media (max-width: 980px) { .nav-links { display: none; } .lang { margin-left: auto; } .menu-btn { display: grid; } }
@media (max-width: 560px) { .nav .btn-demo { display: none; } }
@media (max-width: 420px) { .brand small { display: none; } }
@media (min-width: 981px) { .mobile-menu { display: none !important; } }

.lang-note { max-width: var(--wrap); margin: .8rem auto 0; padding: .6rem .9rem; border-radius: 10px; background: var(--marigold-soft); font-family: var(--deva); font-size: .95rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { max-width: var(--wrap); margin: 2.4rem auto 0; display: grid; gap: 1rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: var(--ink-3); list-style: none; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line); }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); font-weight: 800; max-width: 22ch; }
.page-hero .lede { font-size: var(--step-1); color: var(--ink-2); max-width: 44rem; }
.page-hero .cta-row { margin-top: .4rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Generic sections ---------- */
section.block { max-width: var(--wrap); margin: 5rem auto 0; display: grid; gap: 2rem; }
section.block.tight { margin-top: 3rem; }
.head { display: grid; gap: .8rem; max-width: 46rem; }
.head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
.head p { color: var(--ink-2); font-size: var(--step-1); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.points li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: .7rem; }
.points li::before { content: ""; width: 14px; height: 14px; margin-top: .45rem; border-radius: 4px; background: var(--marigold); }
.points b { display: block; font-weight: 700; }
.points span { color: var(--ink-2); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; display: grid; gap: .55rem; align-content: start; text-decoration: none; color: inherit; }
a.card { transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--ink); transform: translateY(-2px); }
.card h3 { font-size: 1.2rem; font-weight: 700; }
.card p { color: var(--ink-2); font-size: .95rem; }
.card .more { font-weight: 600; font-size: .9rem; margin-top: .3rem; }
.card .more::after { content: " →"; }
.card .ico { width: 42px; height: 42px; border-radius: 11px; background: var(--marigold-soft); display: grid; place-items: center; }
.card .ico svg { width: 22px; height: 22px; }
.card .proof { font: 500 .78rem/1.4 var(--mono); color: var(--ink-3); }
@media (max-width: 900px) { .cards, .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards, .cards.two, .cards.four { grid-template-columns: minmax(0, 1fr); } }

.panel-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 2rem); display: grid; gap: 1rem; }
.note { background: var(--marigold-soft); border-radius: 12px; padding: 1rem 1.1rem; font-size: .95rem; }
.note b { font-weight: 700; }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; min-width: 520px; font-size: .95rem; }
table.data th, table.data td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); background: #FAFBFC; }
table.data tr:last-child td { border-bottom: 0; }
table.data td.n { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: s; list-style: none; margin: 0; padding: 0; }
.steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; display: grid; gap: .5rem; align-content: start; }
.step::before { counter-increment: s; content: counter(s); font: 800 1.6rem/1 var(--display); width: 2.6rem; height: 2.6rem; border-radius: 10px; display: grid; place-items: center; background: var(--marigold); }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--ink-2); font-size: .92rem; }
@media (max-width: 900px) { .steps, .steps.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .steps, .steps.three { grid-template-columns: minmax(0, 1fr); } }

/* Key list */
.keylist { display: grid; gap: .5rem; }
.keylist div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: .8rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: .6rem .8rem; }
.keylist kbd { justify-self: start; font-size: .8rem; padding: .3rem .5rem; }

/* Mini receipt (illustrations) */
.receipt-ill { background: var(--paper); padding: 1rem 1rem 1.3rem; font: 500 .8rem/1.5 var(--mono); max-width: 320px; box-shadow: 0 20px 40px -24px rgba(29,30,34,.35);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 7px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 12px 7px repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - 7px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 12px 7px repeat-x; }
.receipt-ill .row { display: flex; justify-content: space-between; gap: 1rem; }
.receipt-ill .c { text-align: center; }
.receipt-ill hr { border: 0; border-top: 1px dashed var(--ink-3); margin: .45rem 0; }
.receipt-ill .tot { font-weight: 700; font-size: .95rem; }

/* CTA band */
.cta-band { max-width: var(--wrap); margin: 5rem auto 0; background: var(--ink); color: #fff; border-radius: 22px; padding: clamp(1.6rem, 4vw, 3rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.cta-band p { color: #C9CCD3; margin-top: .5rem; }
.cta-band .btn { border-color: #fff; }
.cta-band .btn-primary { background: var(--marigold); color: var(--ink); border-color: var(--marigold); }
@media (max-width: 760px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }

/* Prose (legal, help) */
.doc { max-width: var(--wrap); margin: 2.5rem auto 0; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 90px); display: grid; gap: .3rem; font-size: .9rem; }
.toc b { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .3rem; }
.toc a { text-decoration: none; color: var(--ink-2); padding: .2rem 0; }
.toc a:hover { color: var(--ink); }
.prose { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2.5rem); max-width: 50rem; min-width: 0; }
.prose h2 { font-size: 1.45rem; margin: 2rem 0 .7rem; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin: 1.4rem 0 .5rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: .8rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: .6rem 0; display: grid; gap: .4rem; }
.prose strong { color: var(--ink); }
.prose .meta { font-size: .85rem; color: var(--ink-3); margin-bottom: 1.2rem; }
.prose .draft { background: #FCE4E2; color: #9B1C14; border-radius: 10px; padding: .7rem .9rem; font-size: .9rem; margin-bottom: 1.2rem; }
@media (max-width: 860px) { .doc { grid-template-columns: minmax(0, 1fr); } .toc { position: static; } }

/* FAQ */
.faq { display: grid; gap: .6rem; max-width: 52rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 1.1rem; }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 1.2rem/1 var(--mono); color: var(--ink-3); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 1rem; color: var(--ink-2); }
.faq-group { display: grid; gap: .8rem; }
.faq-group h2 { font-size: 1.3rem; }

/* Forms */
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .88rem; }
.field input, .field select, .field textarea { font: 500 1rem/1.3 var(--body); padding: .65rem .75rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); width: 100%; }
html[lang="hi"] .field input, html[lang="hi"] .field textarea { font-family: var(--deva); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
@media (max-width: 420px) { .two { grid-template-columns: minmax(0, 1fr); } }
form.contact { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.3rem, 3vw, 2rem); display: grid; gap: .9rem; }
.ok { background: var(--paid-soft); color: var(--paid); padding: .7rem .9rem; border-radius: 10px; font-weight: 600; }
.copyline { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; font-size: .92rem; }
.copyline code { font-family: var(--mono); background: var(--ground); padding: .3rem .5rem; border-radius: 6px; user-select: all; }
.copyline button { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: .3rem .6rem; font: 600 .78rem/1 var(--body); cursor: pointer; color: var(--ink); }

/* Footer */
footer.site { max-width: var(--wrap); margin: 5.5rem auto 0; padding-block: 2.5rem 2rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 2rem; font-size: .92rem; }
footer.site h4 { margin: 0 0 .7rem; font: 700 .78rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
footer.site a { text-decoration: none; color: var(--ink-2); }
footer.site a:hover { color: var(--ink); text-decoration: underline; }
.legal { display: grid; gap: .3rem; color: var(--ink-2); }
.legal .mono { font-size: .82rem; }
.bottomline { max-width: var(--wrap); margin: 0 auto; padding-block: 1rem 2.5rem; color: var(--ink-3); font-size: .82rem; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: space-between; }
.bottomline .made { display: inline-flex; align-items: center; gap: .3rem; color: var(--ink-2); font-weight: 600; }
.bottomline .made .heart { width: 1em; height: 1em; color: var(--plus); animation: kp-beat 1.8s ease-in-out infinite; }
.bottomline .made .flag { width: 1.35em; height: .9em; border-radius: 2px; box-shadow: 0 0 0 1px var(--line); }
@keyframes kp-beat { 0%, 60%, 100% { transform: scale(1); } 30% { transform: scale(1.18); } }
@media (prefers-reduced-motion: reduce) { .bottomline .made .heart { animation: none; } }
@media (max-width: 900px) { footer.site { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } footer.site .f-brand { grid-column: 1 / -1; } }
.social { display: flex; gap: .5rem; margin-top: .4rem; }
.social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; color: var(--ink-2); }
.social a:hover { color: var(--ink); border-color: var(--ink-3); }
.social svg { width: 18px; height: 18px; }

/* ---------- Bottom navigation (2026-10-04) ----------
   Phones / tablets only (≤980px; owner, 2026-10-04): an app-style tab bar that slides away while
   scrolling down and comes back on the way up. Wide screens keep the header only.
   "More" opens a bottom sheet (native <dialog>). */
.bn { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 0 10px calc(10px + env(safe-area-inset-bottom, 0px)); pointer-events: none; transition: transform .32s cubic-bezier(.2, .8, .2, 1), opacity .25s; }
.bn-bar { pointer-events: auto; max-width: 520px; margin-inline: auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; padding: 6px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 14px 34px -14px rgba(29, 30, 34, .38), 0 2px 6px rgba(29, 30, 34, .06); }
.bn-item { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 5px 2px 3px; min-height: 52px; justify-content: flex-end; text-decoration: none; color: var(--ink-3); font: 600 .72rem/1.1 var(--body); border: 0; background: none; cursor: pointer; border-radius: 16px; -webkit-tap-highlight-color: transparent; position: relative; }
html[lang="hi"] .bn-item { font-size: .76rem; }
.bn-t { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.bn-ic { width: 46px; height: 30px; display: grid; place-items: center; border-radius: 999px; transition: background .2s, transform .15s, color .2s; }
.bn-ic svg { width: 22px; height: 22px; }
.bn-item:hover { color: var(--ink); }
.bn-item:hover .bn-ic { background: var(--ground); }
.bn-item:active .bn-ic { transform: scale(.88); }
.bn-item[aria-current="page"] { color: var(--ink); }
.bn-item[aria-current="page"] .bn-ic { background: var(--marigold-soft); }
.bn-item[aria-current="page"] .bn-ic svg { stroke-width: 2.4; }
/* Download: the raised marigold button in the middle. */
.bn-dl { color: var(--ink); }
.bn-dl .bn-ic { width: 54px; height: 54px; margin-top: -24px; background: var(--marigold); color: var(--ink); border: 4px solid var(--surface); box-shadow: 0 8px 18px -6px rgba(227, 160, 0, .7); }
.bn-dl:hover .bn-ic, .bn-dl[aria-current="page"] .bn-ic { background: var(--marigold); transform: translateY(-2px); }
.bn-dl:active .bn-ic { transform: scale(.92); }
.bn-dl .bn-ic svg { width: 24px; height: 24px; }
/* "More" carries a dot when the page you are on lives inside the sheet. */
.bn:has(+ .bn-sheet [aria-current="page"]) .bn-more { color: var(--ink); }
.bn:has(+ .bn-sheet [aria-current="page"]) .bn-more .bn-ic::after { content: ""; position: absolute; top: 6px; left: calc(50% + 9px); width: 7px; height: 7px; border-radius: 50%; background: var(--plus); border: 2px solid var(--surface); }
.bn-more[aria-expanded="true"] .bn-ic { background: var(--ground); color: var(--ink); }
.bn.is-away { transform: translateY(calc(100% + 16px)); }
@media (max-width: 980px) { body { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); } }
@media (min-width: 981px) { .bn, .bn-sheet { display: none !important; } }
@media print { .bn, .bn-sheet { display: none !important; } }

/* The "More" sheet: bottom sheet on phones, a card above the pill on wide screens. */
.bn-sheet { margin: auto auto 0; width: 100%; max-width: 560px; max-height: min(86vh, 640px); overflow: auto; padding: 0 1rem calc(1rem + env(safe-area-inset-bottom, 0px)); border: 0; border-radius: 24px 24px 0 0; background: var(--surface); color: var(--ink); box-shadow: 0 -18px 40px -18px rgba(29, 30, 34, .35); overscroll-behavior: contain; }
.bn-sheet[open] { animation: bn-up .32s cubic-bezier(.2, .8, .2, 1); }
.bn-sheet::backdrop { background: rgba(29, 30, 34, .42); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
@keyframes bn-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
html:has(.bn-sheet[open]) { overflow: hidden; }
.bn-grab { width: 42px; height: 5px; border-radius: 99px; background: var(--line); margin: .6rem auto .2rem; }
.bn-head { display: flex; align-items: center; justify-content: space-between; padding: .3rem 0 .7rem; }
.bn-title { font: 800 1.15rem/1.2 var(--display); }
.bn-close { width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.bn-close svg { width: 18px; height: 18px; }
.bn-close:hover { background: var(--ground); }
.bn-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .35rem; }
.bn-grid a { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .7rem .2rem .6rem; border-radius: 16px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .82rem; line-height: 1.15; text-align: center; transition: background .15s; -webkit-tap-highlight-color: transparent; }
.bn-grid a:hover { background: var(--ground); color: var(--ink); }
.bn-grid a[aria-current="page"] { background: var(--marigold-soft); color: var(--ink); }
.bn-tile { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--ground); border: 1px solid var(--line); color: var(--ink); transition: transform .15s; }
.bn-grid a:active .bn-tile { transform: scale(.9); }
.bn-grid a[aria-current="page"] .bn-tile { background: var(--marigold); border-color: var(--marigold); }
.bn-tile svg { width: 22px; height: 22px; }
.bn-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .6rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.bn-actions .btn { justify-content: center; padding: .85rem .6rem; font-size: .95rem; }
.bn-wa { background: #E7F7EE; border-color: #1FA855; color: #0B6B33; }
.bn-wa:hover { background: #D3F1E0; }
.bn-wa svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 360px) { .bn-actions { grid-template-columns: minmax(0, 1fr); } .bn-grid a { font-size: .76rem; } }
