/* Public-site base. Every theme (public/themes/<id>.css) sets the design tokens below and adds its
   own flourishes. Structure variants (header / hero / footer) are keyed on <body data-*> attributes.
   System fonts and inline SVG only: no CDN, no web fonts, no images. */
:root {
  --primary: #15803d; --primary-ink: #fff; --primary-soft: #e7f5ec; --link: #166534;
  --accent: #f2b134; --accent-ink: #1c1917;
  --bg: #fff; --surface: #fff; --alt: #f4faf6; --text: #14231b; --muted: #506157; --border: #dbe7df;
  --focus: #15803d;
  --ok-bg: #dcfce7; --ok-ink: #14532d; --bad-bg: #fee2e2; --bad-ink: #7f1d1d; --warn-ink: #b45309;
  --radius: 18px; --radius-sm: 12px; --radius-btn: 12px;
  --shadow-sm: 0 1px 2px rgb(16 24 40 / .05), 0 1px 3px rgb(16 24 40 / .06);
  --shadow: 0 1px 2px rgb(16 24 40 / .04), 0 4px 8px -2px rgb(16 24 40 / .06), 0 14px 28px -8px rgb(16 24 40 / .08);
  --shadow-lg: 0 2px 4px rgb(16 24 40 / .04), 0 12px 24px -4px rgb(16 24 40 / .1), 0 32px 64px -12px rgb(16 24 40 / .16);
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Devanagari", "Noto Sans Gujarati", "Nirmala UI", "Mangal", sans-serif;
  --head-weight: 800; --head-track: -.02em;
  --header-bg: rgb(255 255 255 / .82); --band-ink: #fff;
  --footer-bg: #0f2a1c; --footer-ink: #c9d8cf; --footer-head: #fff;
  --max: 1160px;
}
/* Derived defaults live on body (not :root) so they resolve against the active theme's colours. */
body { --font-head: var(--font-body); --header-ink: var(--text); --hero-bg: var(--alt); --hero-ink: var(--text); --hero-muted: var(--muted);
  --band-bg: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 70%, #000)); --tile-bg: var(--primary-soft); --tile-ink: var(--link); --page-hero-bg: var(--alt); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (max-width: 760px) { html { scroll-padding-bottom: 80px; } }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 1rem; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
.ic { flex: none; vertical-align: middle; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
/* dark bands (footer, call-to-action, info strip): a white ring, the theme focus colour is invisible there */
.site-footer, .cta-inner, .strip { --focus: #fff; }
main:focus { outline: none; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: #fff; color: #111; padding: 12px 18px; border-radius: 12px; font-weight: 700; box-shadow: var(--shadow-lg); text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: var(--radius-btn); border: 1.5px solid transparent; font: inherit; font-weight: 700; line-height: 1.1; text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, background .2s, color .2s, border-color .2s, filter .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: var(--primary-ink); box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--primary) 75%, transparent); }
.btn-primary:hover { filter: brightness(1.07); box-shadow: 0 14px 28px -10px color-mix(in srgb, var(--primary) 85%, transparent); }
.btn-outline { background: transparent; color: var(--link); border-color: color-mix(in srgb, var(--link) 45%, transparent); }
.btn-outline:hover { background: var(--primary-soft); border-color: var(--link); }
.btn-light { background: #fff; color: #111827; box-shadow: 0 8px 24px -8px rgb(0 0 0 / .35); }
.btn-ghost { background: rgb(255 255 255 / .14); color: #fff; border-color: rgb(255 255 255 / .55); }
.btn-ghost:hover { background: rgb(255 255 255 / .24); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.04rem; }
.btn-call-hero .num { font-weight: 800; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); color: var(--header-ink);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--border) 75%, transparent); }
.site-header .bar { display: flex; align-items: center; gap: 12px; min-height: 68px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; min-height: 44px; margin-right: auto; }
.logo { flex: 0 1 auto; min-width: 0; }
.logo-text { overflow-wrap: anywhere; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.site-footer .logo-text { -webkit-line-clamp: 4; }
.logo-mark { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--primary-ink);
  background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 55%, var(--accent))); box-shadow: 0 6px 14px -4px color-mix(in srgb, var(--primary) 55%, transparent); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.logo:hover .logo-mark { transform: rotate(90deg) scale(1.05); }
.site-nav { display: flex; gap: 4px; align-items: center; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; color: inherit; text-decoration: none; font-weight: 600; font-size: .95rem; transition: background .2s, color .2s; }
.site-nav a:hover { background: var(--primary-soft); color: var(--link); }
.site-nav a.on { background: var(--primary); color: var(--primary-ink); }
.btn-call { order: 4; flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--primary); color: var(--primary-ink); font-weight: 700; text-decoration: none; white-space: nowrap; transition: transform .2s, box-shadow .2s, filter .2s; }
.btn-call:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 10px 22px -8px color-mix(in srgb, var(--primary) 80%, transparent); }
.burger { display: none; position: relative; width: 44px; height: 44px; flex: none; }
.nav-toggle { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 2; }
.nav-burger { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); }
.nav-burger i, .nav-burger i::before, .nav-burger i::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; content: ""; transition: transform .25s, background .2s; }
.nav-burger i { position: relative; }
.nav-burger i::before { position: absolute; top: -6px; }
.nav-burger i::after { position: absolute; top: 6px; }
.nav-toggle:checked + .nav-burger i { background: transparent; }
.nav-toggle:checked + .nav-burger i::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle:checked + .nav-burger i::after { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle:focus-visible + .nav-burger { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (max-width: 860px) {
  .site-header .bar { gap: 8px; }
  .btn-call { order: 0; }
  .btn-call span { display: none; }
  .btn-call { width: 44px; padding: 0; justify-content: center; }
  .site-nav { flex-basis: 100%; flex-wrap: wrap; padding-bottom: 8px; }
}
@supports selector(:has(a)) {
  @media (max-width: 860px) {
    .site-header .bar { position: relative; flex-wrap: nowrap; }
    .burger { display: block; }
    .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 16px; background: var(--surface); color: var(--text); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); border-radius: 0 0 var(--radius) var(--radius); }
    .site-nav a { min-height: 48px; border-radius: 12px; font-size: 1rem; }
    .bar:has(.nav-toggle:checked) .site-nav { display: flex; animation: drop .22s ease-out; }
  }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* header variants */
[data-header="topstrip"] .site-header { top: -38px; }
.strip { height: 38px; background: var(--strip-bg, var(--primary)); color: var(--strip-ink, var(--primary-ink)); font-size: .85rem; font-weight: 500; }
.strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 100%; }
.strip a { color: inherit; text-decoration: none; font-weight: 700; }
.strip a:hover { text-decoration: underline; }
.strip-l, .strip-r { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.strip-l { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.strip-r a, .strip-r span { display: inline-flex; align-items: center; gap: 6px; }
.strip-dl { opacity: .9; }
@media (max-width: 700px) { .strip .strip-l, .strip .strip-dl { display: none; } .strip .wrap { justify-content: center; } }

[data-header="centered"] .site-header .bar { position: relative; }
@media (min-width: 861px) {
  [data-header="centered"] .site-header .bar { flex-direction: column; justify-content: center; gap: 2px; padding-top: 16px; padding-bottom: 10px; }
  [data-header="centered"] .logo { margin: 0; max-width: calc(100% - 280px); }
  [data-header="centered"] .btn-call { position: absolute; right: 20px; top: 18px; }
}

[data-header="floating"] .site-header { top: 12px; margin: 12px auto 0; width: calc(100% - 24px); max-width: calc(var(--max) + 24px); border-radius: 22px; border: 1px solid rgb(255 255 255 / .55); box-shadow: 0 10px 40px -10px rgb(15 23 42 / .25), 0 2px 6px rgb(15 23 42 / .06); }
[data-header="floating"] .site-header .bar { min-height: 64px; padding-left: 16px; padding-right: 12px; }
[data-header="floating"] .site-main { margin-top: calc(-1 * (76px + 12px)); }
[data-header="floating"] .site-main > .announce { margin-top: 88px; }
[data-header="floating"] .site-main > .announce + main > .hero:first-child { padding-top: clamp(48px, 8vw, 104px); }
[data-header="floating"] .site-shell { position: relative; }
[data-header="floating"] .site-header { position: sticky; z-index: 60; }
@media (min-width: 1101px) {
  [data-header="rail"] .site-shell { display: grid; grid-template-columns: 280px minmax(0, 1fr); min-height: 100vh; }
  [data-header="rail"] .site-header { position: sticky; top: 0; height: 100vh; align-self: start; border-bottom: 0; border-right: 1px solid var(--border); display: flex; flex-direction: column; padding: 28px 20px; gap: 22px; overflow-y: auto; -webkit-backdrop-filter: none; backdrop-filter: none; }
  [data-header="rail"] .site-header .bar { flex-direction: column; align-items: stretch; gap: 24px; padding: 0; }
  [data-header="rail"] .logo { margin: 0; }
  [data-header="rail"] .btn-call { order: 3; justify-content: center; }
  [data-header="rail"] .burger { display: none; }
  [data-header="rail"] .site-nav { flex-direction: column; align-items: stretch; gap: 4px; flex-basis: auto; padding: 0; }
  [data-header="rail"] .site-nav a { border-radius: var(--radius-sm); padding: 0 16px; min-height: 46px; }
  [data-header="rail"] .rail-contact { margin-top: auto; display: grid; gap: 4px; font-size: .88rem; color: var(--muted); }
  [data-header="rail"] .rail-contact a, [data-header="rail"] .rail-contact span { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; min-height: 36px; overflow-wrap: anywhere; }
  [data-header="rail"] .rail-contact a:hover { color: var(--link); }
}
@media (max-width: 1100px) { .rail-contact { display: none; } }
.rail-contact .ic { color: var(--link); }

.announce { background: var(--announce-bg, var(--accent)); color: var(--announce-ink, var(--accent-ink)); font-size: .93rem; font-weight: 600; }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 8px; padding-top: 9px; padding-bottom: 9px; text-align: center; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--hero-bg); color: var(--hero-ink); padding: clamp(44px, 7vw, 96px) 0 clamp(52px, 8vw, 104px); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; position: relative; z-index: 1; }
.hero-text { min-width: 0; }
.hero h1 { font-size: clamp(2.15rem, 1.25rem + 3.9vw, 4.1rem); line-height: 1.04; letter-spacing: var(--head-track); font-weight: var(--head-weight); margin: 0 0 .45em; overflow-wrap: break-word; }
.hero .lead { font-size: clamp(1.05rem, .98rem + .4vw, 1.25rem); color: var(--hero-muted); max-width: 46ch; margin: 0 0 1.6em; line-height: 1.6; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--link); margin-bottom: 14px; line-height: 1.3; }
.hero .eyebrow { padding: 7px 14px; border-radius: 999px; background: var(--primary-soft); margin-bottom: 20px; letter-spacing: .1em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--hero-muted); font-size: .93rem; font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points .ic { color: var(--link); }
.hero-art { position: relative; width: 100%; max-width: 500px; justify-self: center; min-width: 0; }
.hero-art .art { display: block; width: 100%; height: auto; }
.hero-deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; color: #fff; opacity: .22; }
.hero-deco .deco { width: 100%; height: 100%; display: block; }

/* art colours */
.a-p { fill: var(--primary); } .a-a { fill: var(--accent); } .a-w { fill: #fff; } .a-s { fill: var(--primary-soft); }
.a-ring { fill: none; stroke: var(--primary); stroke-opacity: .2; stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; }
.a-dots circle { fill: var(--primary); opacity: .3; }
.a-shadow { filter: drop-shadow(0 16px 18px rgb(0 0 0 / .16)); }
.a-leaf { filter: drop-shadow(0 10px 12px rgb(0 0 0 / .14)); }
.hero-art .art > g.a-shadow, .hero-art .art > .a-shadow { animation: bob 7s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.hero-art .art > g.a-shadow:nth-of-type(2) { animation-delay: -2s; } .hero-art .art > g.a-shadow:nth-of-type(3) { animation-delay: -4s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
.float-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 16px; background: rgb(255 255 255 / .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow-lg); border: 1px solid rgb(255 255 255 / .7);
  color: #14231b; font-size: .86rem; line-height: 1.25; animation: bob 6s ease-in-out infinite; max-width: 220px; z-index: 2; }
.float-chip .ic { color: var(--primary); } .float-chip b { display: block; font-weight: 700; } .float-chip span { display: grid; }
.float-chip.c1 { left: -3%; top: 12%; } .float-chip.c2 { right: -2%; bottom: 14%; animation-delay: -3s; }

/* hero: gradient / aurora / banner (centered, art is background decoration) */
.hero[data-variant="gradient"], .hero[data-variant="aurora"], .hero[data-variant="banner"] { text-align: center; }
.hero[data-variant="gradient"] .hero-inner, .hero[data-variant="aurora"] .hero-inner, .hero[data-variant="banner"] .hero-inner, .hero[data-variant="plain"] .hero-inner { grid-template-columns: 1fr; }
.hero[data-variant="gradient"] .lead, .hero[data-variant="aurora"] .lead, .hero[data-variant="banner"] .lead { margin-inline: auto; }
.hero[data-variant="gradient"] .hero-cta, .hero[data-variant="aurora"] .hero-cta, .hero[data-variant="banner"] .hero-cta,
.hero[data-variant="gradient"] .hero-points, .hero[data-variant="aurora"] .hero-points, .hero[data-variant="banner"] .hero-points { justify-content: center; }
.hero[data-variant="gradient"] .hero-art, .hero[data-variant="aurora"] .hero-art, .hero[data-variant="banner"] .hero-art, .hero[data-variant="plain"] .hero-art { max-width: 880px; margin-top: clamp(32px, 5vw, 56px); }
.hero[data-variant="plain"] .hero-art { justify-self: start; }

/* ---------- platform billing mock ---------- */
.mock { position: relative; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); font-size: .82rem; text-align: left; color: var(--text); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--alt); border-radius: 20px 20px 0 0; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mock-bar i:nth-child(1) { background: #f87171; } .mock-bar i:nth-child(2) { background: #fbbf24; } .mock-bar i:nth-child(3) { background: #4ade80; }
.mock-bar span { flex: 1; margin-left: 10px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-bar b { font-size: .72rem; padding: 3px 9px; border-radius: 6px; background: var(--primary); color: var(--primary-ink); }
.mock-row { display: grid; grid-template-columns: 2.3fr .9fr .7fr .5fr 1fr; gap: 8px; padding: 11px 16px; border-bottom: 1px solid var(--border); align-items: center; }
.mock-row > :last-child { text-align: right; font-variant-numeric: tabular-nums; }
.mock-head { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.mock-sel { background: var(--primary-soft); box-shadow: inset 3px 0 0 var(--primary); }
.mock .ok { color: var(--ok-ink); } .mock .warn { color: var(--warn-ink); font-weight: 700; }
.mock .tag { font-style: normal; font-size: .66rem; font-weight: 800; padding: 1px 6px; border-radius: 5px; margin-left: 4px; background: #fee2e2; color: #991b1b; vertical-align: 1px; }
.mock-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; font-weight: 600; color: var(--muted); border-radius: 0 0 20px 20px; }
.mock-total b { font-size: 1.35rem; color: var(--text); }
.mock .float-chip.c1 { left: auto; right: 6%; top: -22px; } .mock .float-chip.c2 { right: auto; left: -18px; bottom: 48px; }
@media (max-width: 640px) {
  .mock-row { grid-template-columns: 2fr .5fr 1fr; padding: 10px 12px; }
  .mock-row > :nth-child(2), .mock-row > :nth-child(3) { display: none; }
  .mock .float-chip { display: none; }
  .mock-total { flex-wrap: wrap; }
  .mock-total b { white-space: nowrap; }
}

/* ---------- trust strip ---------- */
.trust { background: var(--surface); border-bottom: 1px solid var(--border); }
.trust .wrap { display: flex; flex-wrap: wrap; gap: 14px 40px; padding-top: 20px; padding-bottom: 20px; }
.trust > .wrap > div { display: flex; align-items: center; gap: 12px; min-width: 0; }
.trust .ic { color: var(--link); }
.trust span { display: flex; flex-direction: column; font-size: .92rem; font-weight: 600; line-height: 1.3; min-width: 0; overflow-wrap: anywhere; }
.trust b { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.alt { background: var(--alt); }
.section-head { max-width: 640px; margin: 0 0 clamp(28px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(1.65rem, 1.15rem + 1.9vw, 2.65rem); line-height: 1.1; letter-spacing: var(--head-track); font-weight: var(--head-weight); margin: 0 0 .4em; }
.section-sub { color: var(--muted); font-size: 1.08rem; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .35s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); }
.card h3 { font-size: 1.2rem; margin: 20px 0 .4em; font-weight: 700; }
.card p { margin: 0; color: var(--muted); }
.card-no { display: none; }
.ic-tile { display: inline-grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 16px; background: var(--tile-bg); color: var(--tile-ink); transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .3s, color .3s; }
.ic-tile.sm { width: 44px; height: 44px; border-radius: 12px; }
.card:hover .ic-tile { background: var(--primary); color: var(--primary-ink); transform: rotate(-6deg) scale(1.06); }

.stats { background: var(--band-bg); color: var(--band-ink); }
.stat-grid { list-style: none; margin: 0; padding: clamp(36px, 5vw, 56px) 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px 24px; text-align: center; }
.stat-v { display: block; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; font-family: var(--font-head); overflow-wrap: anywhere; }
.stat-l { display: block; margin-top: 6px; opacity: .92; font-size: .98rem; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.about { align-items: start; }
.why-title { font-size: 1.3rem; margin-bottom: 1em; font-weight: 700; }
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.why li { display: flex; gap: 16px; align-items: flex-start; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.why li:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.why-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.why-t b { font-size: 1.05rem; } .why-t span { color: var(--muted); }

.prose { font-size: 1.05rem; overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.2rem); letter-spacing: var(--head-track); font-weight: var(--head-weight); }
.prose h3 { font-size: 1.22rem; margin: 1.9em 0 .5em; font-weight: 700; }
.prose h4 { font-size: 1.05rem; margin: 1.4em 0 .4em; }
.prose a { color: var(--link); }
.prose ul, .prose ol { padding-left: 1.35em; margin: 0 0 1em; }
.prose li { margin: .35em 0; }
.prose blockquote { border-left: 4px solid var(--primary); margin: 1.2em 0; padding: .3em 1.1em; color: var(--muted); background: var(--alt); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--border); padding: 8px 10px; text-align: left; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.quote { position: relative; margin: 0; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; transition: transform .35s, box-shadow .35s; }
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.quote-mark { color: var(--primary); opacity: .18; position: absolute; right: 22px; top: 20px; width: 44px; height: 44px; }
.stars { display: flex; gap: 3px; color: #f59e0b; }
.quote blockquote { margin: 0; font-size: 1.05rem; line-height: 1.6; flex: 1; padding-right: 28px; }
.quote figcaption { display: flex; flex-direction: column; font-size: .92rem; color: var(--muted); }
.quote figcaption b { color: var(--text); font-size: 1rem; }

/* faq */
.narrow-faq { max-width: 820px; }
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: box-shadow .25s, border-color .25s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 20px; cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { color: var(--link); transition: transform .3s; }
.faq-item[open] summary .ic { transform: rotate(180deg); }
.faq-a { padding: 0 20px 18px; color: var(--muted); }
.faq-a p { margin: 0; }
@keyframes faqin { from { opacity: 0; translate: 0 -6px; } }
.faq-item[open] .faq-a { animation: faqin .25s ease-out; }

/* call-to-action band */
.cta-band { padding: clamp(40px, 6vw, 72px) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px 40px; flex-wrap: wrap; padding: clamp(28px, 5vw, 56px); border-radius: calc(var(--radius) + 10px); background: var(--band-bg); color: var(--band-ink); position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-inner::before { content: ""; position: absolute; width: 380px; height: 380px; right: -100px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgb(255 255 255 / .22), transparent 70%); pointer-events: none; }
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.35rem); margin: 0 0 .3em; font-weight: var(--head-weight); letter-spacing: var(--head-track); }
.cta-inner p { margin: 0; opacity: .94; max-width: 52ch; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* hours + contact cards */
.visit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); }
.info-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.info-head h2 { margin: 0; font-size: 1.35rem; font-weight: 700; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { padding: 12px 0; border-bottom: 1px dashed var(--border); display: flex; gap: 8px; }
.hours li:last-child { border-bottom: 0; }
.contact-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; overflow-wrap: anywhere; }
.contact-list .ic { color: var(--link); margin-top: 4px; }
.contact-list a { display: inline-flex; align-items: center; min-height: 28px; }
.info-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.open-badge { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px; border-radius: 999px; font-size: .86rem; font-weight: 700; margin-bottom: 12px; }
.open-badge i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }
.is-open { background: var(--ok-bg); color: var(--ok-ink); } .is-open i { animation: pulse 2s ease-out infinite; }
.is-closed { background: var(--bad-bg); color: var(--bad-ink); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }

/* teal hero card */
.panel-card { background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 6px); padding: 28px; box-shadow: var(--shadow-lg); max-width: 440px; }
.panel-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 8px; }
.panel-title { font-weight: 800; font-size: 1.1rem; }
.panel-top .open-badge { margin: 0; }
.panel-hours { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; color: var(--muted); }
.panel-hours li, .panel-addr { display: flex; gap: 10px; align-items: flex-start; }
.panel-hours .ic, .panel-addr .ic { color: var(--link); margin-top: 4px; }
.panel-addr { color: var(--text); margin: 0 0 20px; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.panel-actions .btn { flex: 1; }

/* ---------- inner pages ---------- */
.page-hero { background: var(--page-hero-bg); border-bottom: 1px solid var(--border); padding: clamp(40px, 6vw, 84px) 0 clamp(28px, 4vw, 52px); position: relative; overflow: hidden; }
.page-h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); line-height: 1.06; letter-spacing: var(--head-track); font-weight: var(--head-weight); margin: 0 0 .3em; }
.lead-prose { max-width: 62ch; font-size: 1.15rem; color: var(--muted); }
.lead-prose p:last-child { margin-bottom: 0; }
.updated { color: var(--muted); margin: 0; font-size: .95rem; }
.contact-section { padding-top: clamp(32px, 5vw, 64px); }
.contact-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-layout.solo { grid-template-columns: minmax(0, 640px); justify-content: center; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.contact-card.block { align-items: flex-start; }
.cc-t { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.cc-t b { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.cc-t a { font-weight: 600; }
.cc-hours { display: grid; gap: 4px; margin-top: 4px; }
.map-btn { justify-self: start; }
.enquiry { background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 6px); padding: clamp(22px, 3.2vw, 38px); box-shadow: var(--shadow); display: grid; gap: 16px; }
.enquiry h2 { font-size: 1.5rem; margin: 0; font-weight: 800; }
.enquiry label { display: grid; gap: 6px; font-weight: 600; font-size: .93rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.enquiry input:not(.hp), .enquiry textarea { font: inherit; font-weight: 400; min-height: 48px; padding: .7em .9em; border: 1.5px solid color-mix(in srgb, var(--text) 55%, var(--bg)); border-radius: var(--radius-sm); background: var(--bg); color: var(--text); width: 100%; transition: border-color .2s, box-shadow .2s; }
.enquiry textarea { min-height: 140px; resize: vertical; }
.enquiry { scroll-margin-top: 96px; }
.field-help { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.field-help a { color: var(--link); }
.notice:focus { outline: none; }
.status-page { max-width: 560px; margin: 0 auto; padding: 18vh 20px 10vh; text-align: center; display: grid; justify-items: center; gap: 8px; }
.status-page h1 { font-size: clamp(1.8rem, 1.2rem + 2.5vw, 2.6rem); margin: 12px 0 4px; }
.not-found-actions { margin: 22px 0 0; }
.enquiry input:not(.hp):hover, .enquiry textarea:hover { border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); }
.enquiry input:not(.hp):focus, .enquiry textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 22%, transparent); }
.req { color: var(--bad-ink); }
.notice { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.notice.ok { background: var(--ok-bg); color: var(--ok-ink); } .notice.err { background: var(--bad-bg); color: var(--bad-ink); }

.doc { display: grid; gap: 32px; }
.doc.has-toc { grid-template-columns: 250px minmax(0, 74ch); justify-content: center; gap: clamp(32px, 5vw, 72px); }
.doc:not(.has-toc) .doc-body { max-width: 74ch; margin: 0 auto; width: 100%; }
.doc-body { font-size: 1.06rem; line-height: 1.75; }
.doc-body :is(h2, h3) { scroll-margin-top: 96px; font-size: 1.28rem; margin: 1.9em 0 .5em; font-weight: 700; letter-spacing: 0; }
.doc-body :is(h2, h3):first-child { margin-top: 0; }
.toc { position: sticky; top: 100px; align-self: start; font-size: .94rem; max-height: calc(100vh - 130px); overflow: auto; padding: 4px; }
.toc-h { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--muted); margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--border); }
.toc a { display: block; padding: 7px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.35; transition: color .2s, border-color .2s, background .2s; }
.toc a:hover { color: var(--link); border-left-color: var(--primary); background: var(--primary-soft); }
@media (min-width: 1101px) { [data-header="rail"] .toc { top: 24px; } }
@media (max-width: 960px) { .doc.has-toc { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }

/* ---------- footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); padding: clamp(44px, 6vw, 76px) 0 24px; font-size: .96rem; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer .logo { color: var(--footer-head); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.foot-brand p { margin: 14px 0 12px; max-width: 38ch; }
.foot-h { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--footer-head); margin: 0 0 14px; font-weight: 800; font-family: var(--font-body); }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-list li { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.foot-list .ic { margin-top: 4px; opacity: .85; }
.foot-list.plain li { display: block; }
.foot-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.foot-facts li { font-size: .8rem; padding: 5px 11px; border-radius: 999px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .12); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid rgb(255 255 255 / .14); margin-top: 40px; padding-top: 20px; font-size: .88rem; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot-simple { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.foot-call { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 22px 28px; margin-bottom: 44px; border-radius: var(--radius); background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .16); font-weight: 700; font-size: 1.1rem; }
.foot-call a { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(1.4rem, 1rem + 2vw, 2.1rem); font-weight: 800; color: #fff; }

/* mobile quick-contact bar */
.m-actions { display: none; }
@media (max-width: 760px) {
  .m-actions { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; display: flex; gap: 10px; }
  .m-actions a { flex: 1; min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 16px; font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px -6px rgb(0 0 0 / .4); transition: transform .2s; }
  .m-actions a:active { transform: scale(.97); }
  .m-call { background: var(--primary); color: var(--primary-ink); } .m-wa { background: #0a7d3c; color: #fff; }
  body:has(.m-actions) .site-footer { padding-bottom: 96px; }
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero-inner, .contact-layout { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; }
  .hero[data-variant="split"] .hero-art, .hero[data-variant="arch"] .hero-art, .hero[data-variant="card"] .hero-art { max-width: 320px; }
  .two { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; }
  .float-chip.c1 { left: 0; } .float-chip.c2 { right: 0; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; }
  .cta-actions { width: 100%; } .cta-actions .btn { flex: 1 1 100%; }
  .site-footer a, .foot-legal a { min-height: 44px; display: inline-flex; align-items: center; }
  .foot-list a { min-height: 32px; }
  .trust .wrap { gap: 14px 24px; }
}

/* ---------- Indic scripts: matras need room, negative tracking collides them ---------- */
:lang(hi) :is(h1, h2, h3, h4, .logo, .stat-v, .btn), :lang(mr) :is(h1, h2, h3, h4, .logo, .stat-v, .btn), :lang(gu) :is(h1, h2, h3, h4, .logo, .stat-v, .btn) { line-height: 1.32 !important; letter-spacing: 0 !important; word-spacing: 0; }
:lang(hi) .eyebrow, :lang(mr) .eyebrow, :lang(gu) .eyebrow { letter-spacing: 0; text-transform: none; }

/* ---------- forced colours (Windows high contrast) ---------- */
@media (forced-colors: active) {
  .site-nav a.on { outline: 2px solid CanvasText; }
  .btn, .btn-call, .notice { border: 1px solid ButtonText; }
  .open-badge { border: 1px solid CanvasText; }
}

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.hero-text > * { animation: rise .7s cubic-bezier(.2, .8, .2, 1) backwards; }
.hero-text > :nth-child(2) { animation-delay: .06s; } .hero-text > :nth-child(3) { animation-delay: .12s; } .hero-text > :nth-child(4) { animation-delay: .18s; } .hero-text > :nth-child(5) { animation-delay: .24s; }
.hero-art { animation: rise .9s .15s cubic-bezier(.2, .8, .2, 1) backwards; }
@supports (animation-timeline: view()) {
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- print (policy pages) ---------- */
@media print {
  .site-header, .strip, .announce, .site-footer .foot-grid, .foot-call, .m-actions, .toc, .skip, .cta-band, .hero-deco, .nav-toggle { display: none !important; }
  body { background: #fff !important; color: #000 !important; font-size: 11.5pt; }
  .site-shell { display: block !important; }
  .site-main { margin: 0 !important; }
  .page-hero { background: none !important; border: 0; padding: 0 0 12pt; color: #000 !important; }
  .page-h1 { font-size: 22pt; color: #000 !important; }
  .section { padding: 0; }
  .doc.has-toc { display: block; }
  .doc-body { font-size: 11pt; line-height: 1.5; max-width: none; }
  .doc-body h3 { break-after: avoid; }
  .site-footer { background: none !important; color: #000 !important; padding: 12pt 0 0; }
  .foot-bottom { border-top: 1px solid #999; margin-top: 12pt; }
  a { color: #000 !important; text-decoration: underline; }
}

/* ───────── Public medicine stock page (/stock): filters, table, numbered pagination ───────── */
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.stock-lead { margin: 10px 0 0; max-width: 62ch; color: var(--hero-muted, var(--muted)); font-size: 1.06rem; }
.stock-section { padding-top: clamp(28px, 4vw, 48px); }
.stock-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px 16px; align-items: end; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.sf-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sf-field.sf-wide { grid-column: span 2; }
.sf-field label { font-size: .8rem; font-weight: 700; letter-spacing: .02em; color: var(--muted); }
.sf-field input, .sf-field select { width: 100%; min-height: 44px; padding: 0 12px; font: inherit; color: var(--text); background: var(--bg); border: 1.5px solid color-mix(in srgb, var(--muted) 55%, var(--border)); border-radius: var(--radius-sm); }
.sf-field input:focus-visible, .sf-field select:focus-visible { outline: 3px solid color-mix(in srgb, var(--focus) 55%, transparent); outline-offset: 1px; border-color: var(--focus); }
.sf-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; grid-column: 1 / -1; }
.sf-actions .btn { min-height: 44px; }
.stock-letters { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 6px; }
.stock-letters a { min-width: 34px; height: 34px; padding: 0 9px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--border); color: var(--text); font-weight: 700; font-size: .88rem; text-decoration: none; background: var(--surface); }
.stock-letters a:hover { background: var(--primary-soft); border-color: var(--link); color: var(--link); }
.stock-letters a.on { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.stock-count { margin: 16px 0 12px; color: var(--muted); font-weight: 600; }
.stock-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.stock-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.stock-table th, .stock-table td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.stock-table thead th { position: sticky; top: 0; background: var(--alt); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); white-space: nowrap; }
.stock-table tbody tr:last-child > * { border-bottom: 0; }
.stock-table tbody tr:hover { background: color-mix(in srgb, var(--primary-soft) 55%, transparent); }
.stock-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.st-name { font-weight: 400; }
.st-title { display: block; font-weight: 700; color: var(--text); }
.st-meta, .st-comp { display: block; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.st-rx { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .04em; background: var(--bad-bg); color: var(--bad-ink); vertical-align: 1px; }
.st-qty { font-weight: 600; }
.stock-note { margin: 18px 0 0; color: var(--muted); font-size: .88rem; max-width: 80ch; }
/* numbered pagination */
.pg { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 26px 0 4px; }
.pg-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.pg-n, .pg-b, .pg-gap { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 10px; font-weight: 700; font-size: .92rem; text-decoration: none; }
.pg-n, .pg-b { border: 1px solid var(--border); background: var(--surface); color: var(--text); }
.pg-n:hover, .pg-b:hover { background: var(--primary-soft); border-color: var(--link); color: var(--link); }
.pg-n.on { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.pg-b.off { opacity: .45; pointer-events: none; }
.pg-gap { color: var(--muted); border: 0; min-width: 24px; padding: 0; }
.pg-b:first-child svg { transform: scaleX(-1); }
.pg :focus-visible, .stock-letters a:focus-visible { outline: 3px solid color-mix(in srgb, var(--focus) 60%, transparent); outline-offset: 2px; }
@media (max-width: 720px) {
  .sf-field.sf-wide { grid-column: 1 / -1; }
  .stock-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .stock-table, .stock-table tbody, .stock-table tr, .stock-table th, .stock-table td { display: block; width: 100%; }
  .stock-table tr { padding: 12px 14px; border-bottom: 1px solid var(--border); }
  .stock-table tbody tr:last-child { border-bottom: 0; }
  .stock-table th, .stock-table td { padding: 3px 0; border: 0; }
  .stock-table td { display: flex; justify-content: space-between; gap: 14px; text-align: right; }
  .stock-table td::before { content: attr(data-label); color: var(--muted); font-size: .8rem; font-weight: 700; text-align: left; }
  .stock-table .st-name { margin-bottom: 4px; }
  .pg-b span { display: none; }
}
@media (forced-colors: active) { .stock-letters a.on, .pg-n.on { outline: 2px solid Highlight; } }

/* ───────── Hero illustrations (Indian pharmacy scenes) ───────── */
.scene-svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgb(16 24 40 / .14)); }
.hero-art .scene-svg { max-width: 560px; margin-inline: auto; }
.hero-scene-wide { grid-column: 1 / -1; width: 100%; max-width: 540px; margin: clamp(22px, 4vw, 40px) auto 0; }
.panel-scene { margin: -8px -8px 16px; }
.panel-scene .scene-svg { filter: none; border-radius: 18px; }
@media (max-width: 900px) { .hero-art .scene-svg { max-width: 440px; } }

/* ───────── Real photographs (hero + gallery) ───────── */
.hero-photo { max-width: 600px; margin-inline: auto; width: 100%; }
.hero-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: var(--primary-soft); }
.panel-photo .hero-img { box-shadow: none; border-radius: 14px; }
.gallery-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.gallery-grid.g1 { grid-template-columns: minmax(0, 760px); justify-content: center; }
.gallery-grid li { margin: 0; }
.gallery-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--primary-soft); }

/* ───────── Store photographs (hero photo + gallery) ─────────
   The photo always sits in a fixed aspect-ratio box and is cropped with object-fit: no layout shift, any source ratio works. */
.hero-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--primary-soft); border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow-lg); }
.hero[data-variant="split"] .hero-img { aspect-ratio: 5 / 4; border-radius: 30px; }
.hero[data-variant="arch"] .hero-img { aspect-ratio: 4 / 5; border-radius: 999px 999px 26px 26px; }
.hero[data-variant="card"] .hero-img { aspect-ratio: 4 / 5; border-radius: 130px 26px 130px 26px; }
.hero-scene-wide .hero-img { aspect-ratio: 16 / 9; }
.panel-photo .hero-img { aspect-ratio: 16 / 9; border-radius: 18px; box-shadow: none; }
.panel-scene.panel-photo { margin: -8px -8px 16px; }

.gallery-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(10px, 1.6vw, 18px); }
.gallery-grid li { position: relative; width: 100%; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--primary-soft); aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); }
.gallery-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.gallery-grid li:hover img { transform: scale(1.045); }
.gallery-grid.g1 { grid-template-columns: minmax(0, 1fr); }
.gallery-grid.g1 li { aspect-ratio: 21 / 9; max-height: 560px; }
@media (max-width: 640px) { .gallery-grid.g1 li { aspect-ratio: 4 / 3; } }
.gallery-grid.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-grid.g3 { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.gallery-grid.g3 li:first-child { grid-row: 1 / 3; aspect-ratio: auto; }
@media (max-width: 640px) {
  .gallery-grid.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid.g3 li:first-child { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}

/* "Today at the store" card and the quick-facts bar used by the photo-first heroes */
.store-card { position: relative; width: 100%; max-width: 420px; justify-self: end; padding: clamp(20px, 2.6vw, 28px); border-radius: calc(var(--radius) + 4px); background: var(--surface); color: var(--text); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.sc-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 6px; }
.sc-title { font-weight: 800; font-size: 1.05rem; }
.sc-top .open-badge { margin: 0; }
.sc-hours { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 8px; }
.sc-hours li, .sc-addr { display: flex; gap: 10px; align-items: flex-start; }
.sc-hours .ic, .sc-addr .ic { margin-top: 4px; opacity: .85; }
.sc-addr { margin: 0 0 18px; overflow-wrap: anywhere; }
.sc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sc-actions .btn { flex: 1 1 120px; }

.quickbar { grid-column: 1 / -1; position: relative; z-index: 2; list-style: none; margin: clamp(28px, 4vw, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.quickbar li { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.quickbar li > .ic { flex: none; }
.quickbar li > span:not(.open-badge) { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; font-weight: 600; line-height: 1.35; }
.quickbar b { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; }
.quickbar a { color: inherit; text-underline-offset: 3px; }
.quickbar .open-badge { margin: 6px 0 0; align-self: flex-start; padding: 3px 10px; font-size: .78rem; letter-spacing: 0; text-transform: none; }

/* ───────── Footer variants: centred, and "mega" (giant store name) ───────── */
.foot-center { display: grid; justify-items: center; gap: 18px; text-align: center; }
.foot-center .logo { margin: 0; }
.foot-addr { margin: 0; max-width: 46ch; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 26px; font-weight: 600; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; }
.foot-contact li { display: inline-flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.foot-contact a { display: inline-flex; align-items: center; min-height: 36px; }
.foot-center .foot-facts { justify-content: center; }
.foot-mega { display: block; margin: 0 0 clamp(28px, 5vw, 56px); color: var(--footer-head); font-family: var(--font-head); font-weight: 900; font-size: clamp(2.4rem, 1rem + 8vw, 7.2rem); line-height: .98; letter-spacing: -.04em; text-decoration: none; overflow-wrap: anywhere; }
.foot-mega span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding-bottom: .08em; }
.site-footer a.foot-mega { color: var(--footer-head); }
.site-footer a.foot-mega:hover { text-decoration: none; opacity: .9; }
:lang(hi) .foot-mega, :lang(mr) .foot-mega, :lang(gu) .foot-mega { line-height: 1.3; letter-spacing: 0; }

/* keep faces in frame when a hero photo is cropped */
.hero .hero-img, .hero-photo .hero-img { object-position: 50% 22%; }
