/* Mezbaan website. Brand tokens shared with the app (client/src/styles/app.css).
   One family (Inter) for everything readable; Noto Serif Devanagari only for
   the edition names in Hindi, used large as the one decorative element. */
@font-face { font-family: 'Inter Variable'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/assets/fonts/inter-latin-opsz-normal.woff2') format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter Variable'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/assets/fonts/inter-latin-ext-opsz-normal.woff2') format('woff2-variations'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20B8, U+20BA-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Noto Serif Devanagari'; font-style: normal; font-display: swap; font-weight: 700; src: url('/assets/fonts/noto-serif-devanagari-devanagari-700-normal.woff2') format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }

:root {
  --paper: #fffdf8;
  --cream: #fff8ec;
  --ink: #231f20;
  --ink-2: #574b45;
  --pom: #9b1d3a;
  --pom-700: #831931;
  --pom-deep: #4c0f1e;
  --pom-50: #fcf1f3;
  --pom-100: #f7e3e8;
  --tur: #e8a317;
  --tur-100: #fbefd2;
  --green: #5c7a3a;
  --green-100: #e6eedc;
  --line: #e7dccb;
  --line-soft: #f1e9dc;
  --white: #ffffff;
  --err: #b3261e;
  --err-bg: #fbe4e1;
  --ok-bg: #eaf0df;
  --font: 'Inter Variable', Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --hindi: 'Noto Serif Devanagari', 'Nirmala UI', serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-lg: 20px;
  --r: 12px;
  --r-sm: 8px;
  /* aliases the pricing component (pricing.css) expects */
  --kohl: var(--ink);
  --slate: var(--ink-2);
  --tur-800: #855a06;
  --green-700: #46612a;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; font-optical-sizing: auto; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pom); text-underline-offset: 3px; }
a:hover { color: var(--pom-700); }
:focus-visible { outline: 3px solid var(--tur); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.022em; font-weight: 760; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type scale (≈1.25) ---------- */
.h-hero .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.h-hero .line > span { display: inline-block; }
.h-hero { font-size: clamp(38px, 6.2vw, 68px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 790; letter-spacing: -0.03em; line-height: 1.05; }
.h2 { font-size: clamp(27px, 3.4vw, 40px); letter-spacing: -0.026em; }
.h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 720; letter-spacing: -0.015em; line-height: 1.25; }
.lede { font-size: clamp(18px, 1.6vw, 20.5px); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.body { color: var(--ink-2); max-width: 66ch; }
.small { font-size: 14.5px; }
.muted { color: var(--ink-2); }
.kicker { font-size: 15px; font-weight: 650; color: var(--pom); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: inherit; font-size: 16px; font-weight: 680; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn-primary { background: var(--pom); color: #fff; }
.btn-primary:hover { background: var(--pom-700); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--pom-deep); }
.btn-light:hover { background: var(--cream); color: var(--pom-deep); }
.btn-line-light { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-line-light:hover { border-color: #fff; color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn[disabled] { opacity: .65; cursor: progress; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.textlink { font-weight: 650; text-decoration: none; }
.textlink:hover { text-decoration: underline; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 248, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-head.scrolled { border-bottom-color: var(--line); }
.head-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; flex: none; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.nav > a, .nav-item > button { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font: inherit; font-size: 15.5px; font-weight: 560; background: none; border: 0; cursor: pointer; }
.nav > a:hover, .nav-item > button:hover, .nav-item.open > button { background: var(--pom-50); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--pom); }
.nav-item { position: relative; }
.nav-item > button svg { transition: transform .15s; }
.nav-item.open > button svg { transform: rotate(180deg); }
.menu { position: absolute; top: calc(100% + 8px); left: -8px; min-width: 300px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 18px 44px rgba(76, 15, 30, .12); display: none; }
.nav-item.open .menu { display: block; }
.menu a { display: grid; grid-template-columns: 36px 1fr; gap: 2px 12px; align-items: center; padding: 10px 12px; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; }
.menu a:hover, .menu a:focus-visible { background: var(--cream); }
.menu a img { grid-row: span 2; width: 32px; height: 32px; }
.menu a .mi { grid-row: span 2; width: 32px; height: 32px; border-radius: 8px; background: var(--pom-50); color: var(--pom); display: grid; place-items: center; }
.menu strong { font-size: 15px; font-weight: 680; }
.menu span.d { font-size: 13.5px; color: var(--ink-2); line-height: 1.35; }
.head-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.signin { font-size: 15.5px; font-weight: 600; color: var(--ink); text-decoration: none; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; }
.signin:hover { background: var(--pom-50); color: var(--ink); }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.drawer { display: none; }
@media (max-width: 1080px) {
  .nav, .head-cta .signin { display: none; }
  .burger { display: inline-flex; margin-left: 0; }
  .head-cta { margin-left: auto; }
  .drawer { position: fixed; inset: 72px 0 0; background: var(--paper); z-index: 49; overflow-y: auto; padding: 8px var(--gutter) 40px; border-top: 1px solid var(--line); }
  .drawer.open { display: block; }
  .drawer h2 { font-size: 13px; font-weight: 650; color: var(--ink-2); margin: 22px 0 6px; letter-spacing: 0; }
  .drawer a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 0; border-bottom: 1px solid var(--line-soft); color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 600; }
  .drawer a img { width: 28px; height: 28px; }
  .drawer .cta-row { margin-top: 24px; }
  .drawer .cta-row .btn { flex: 1; }
}
@media (max-width: 460px) { .head-cta .btn-primary { padding: 0 14px; font-size: 15px; } .logo img { height: 26px; } .head-in { gap: 12px; } }
body.drawer-open { overflow: hidden; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.band-cream { background: var(--cream); }
.band-deep { background: var(--pom-deep); color: #fff; }
.band-deep .lede, .band-deep .body, .band-deep .muted { color: rgba(255, 255, 255, .78); }
.band-deep a:not(.btn) { color: #fff; }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 56px); max-width: 760px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.flip > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split.flip { grid-template-columns: minmax(0, 1fr); } .split.flip > :first-child { order: 0; } }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 56px); align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero-copy .lede { max-width: 52ch; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-2); font-size: 15px; }
.hero-facts li { list-style: none; display: inline-flex; gap: 8px; align-items: center; }
.hero-facts svg { color: var(--green); flex: none; }
.hero-visual { position: relative; margin-right: calc(-1 * var(--gutter) - 120px); }
.hero-visual .phone { position: absolute; left: -36px; bottom: -28px; width: 30%; max-width: 210px; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { margin-right: calc(-1 * var(--gutter) - 40%); }
  .hero-visual .phone { left: 8px; bottom: -20px; width: 34%; }
}

/* ---------- screen frames (real product screens) ---------- */
.frame { position: relative; margin: 0; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 70px -28px rgba(76, 15, 30, .35), 0 2px 6px rgba(35, 31, 32, .05); overflow: hidden; }
.frame .bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #f6efe3; border-bottom: 1px solid var(--line); }
.frame .bar i { width: 9px; height: 9px; border-radius: 50%; background: #dccdb6; }
.frame .bar span { margin-left: 10px; font-size: 11.5px; color: var(--ink-2); }
.frame .shot { overflow: hidden; }
.frame img { width: 100%; aspect-ratio: 1280 / 824; object-fit: cover; object-position: top left; user-select: none; -webkit-user-drag: none; }
.phone { margin: 0; border-radius: 30px; padding: 7px; background: var(--ink); box-shadow: 0 28px 60px -20px rgba(35, 31, 32, .55); }
.phone img { border-radius: 24px; width: 100%; aspect-ratio: 600 / 1299; user-select: none; -webkit-user-drag: none; object-fit: cover; object-position: top; }
.cap { margin-top: 12px; font-size: 13.5px; color: var(--ink-2); display: flex; gap: 8px; align-items: baseline; }
.sample { display: inline-block; flex: none; font-size: 12px; font-weight: 650; color: #6b4a04; background: var(--tur-100); border-radius: 999px; padding: 2px 9px; }
.band-deep .cap { color: rgba(255, 255, 255, .7); }

/* ---------- editions ---------- */
.ed-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
.ed-tab { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center; padding: 16px 18px; border-radius: var(--r); border: 1.5px solid var(--line); background: #fff; transition: border-color .15s, background-color .15s; }
.ed-tab:hover { border-color: var(--pom-100); }
.ed-tab[aria-selected="true"] { border-color: var(--pom); background: var(--pom-50); }
.ed-tab:focus-visible { outline: 3px solid var(--tur); outline-offset: 2px; }
.ed-tab .hi { grid-row: span 2; font-family: var(--hindi); font-weight: 700; font-size: 34px; line-height: 1; color: var(--pom); min-width: 2.6em; }
.ed-tab strong { font-size: 17px; font-weight: 720; }
.ed-tab span.f { font-size: 14px; color: var(--ink-2); }
.ed-panel[hidden] { display: none; }
.ed-panel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.ed-panel .copy { display: grid; gap: 18px; padding-top: 8px; }
@media (prefers-reduced-motion: no-preference) { .ed-panel:not([hidden]) .frame { animation: rise .45s cubic-bezier(.2, .7, .2, 1) both; } @keyframes rise { from { opacity: 0; transform: translateY(10px); } } }
@media (max-width: 900px) { .ed-tabs { grid-template-columns: minmax(0, 1fr); } .ed-tab .hi { font-size: 28px; } .ed-panel { grid-template-columns: minmax(0, 1fr); } }

.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.ticks svg { color: var(--green); margin-top: 3px; }
.band-deep .ticks svg { color: var(--tur); }

/* ---------- edition hero (edition pages) ---------- */
.ed-hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.ed-mark { display: flex; align-items: center; gap: 14px; }
.ed-mark img { width: 44px; height: 44px; }
.ed-mark .hi { font-family: var(--hindi); font-weight: 700; font-size: 26px; color: var(--pom); line-height: 1; }
.ed-mark .en { font-size: 15px; font-weight: 650; color: var(--ink-2); }
.ed-hero .big-hi { font-family: var(--hindi); font-size: clamp(90px, 15vw, 190px); line-height: .9; color: var(--pom-100); font-weight: 700; user-select: none; }
@media (max-width: 900px) { .ed-hero { grid-template-columns: minmax(0, 1fr); } }

/* ---------- problem / solution lists ---------- */
.pairs { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.pair .was { color: var(--ink-2); }
.pair .was strong { display: block; color: var(--ink); font-weight: 680; margin-bottom: 4px; }
.pair .now strong { display: block; color: var(--pom); font-weight: 700; margin-bottom: 4px; }
@media (max-width: 720px) { .pair { grid-template-columns: minmax(0, 1fr); gap: 10px; } }
.pairs-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; font-size: 14px; font-weight: 650; color: var(--ink-2); padding-bottom: 10px; }
@media (max-width: 720px) { .pairs-head { display: none; } }

/* ---------- steps (a real sequence) ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 2px solid var(--ink); }
.steps li { counter-increment: s; padding: 22px 28px 0 0; display: grid; gap: 10px; align-content: start; }
.steps li::before { content: counter(s); font-size: 15px; font-weight: 750; color: var(--pom); width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--pom); display: grid; place-items: center; }
@media (max-width: 820px) { .steps { grid-template-columns: minmax(0, 1fr); } .steps li { padding: 20px 0; border-bottom: 1px solid var(--line); } }

/* ---------- flow diagram (Haveli) ---------- */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.2fr) auto minmax(0, 1fr); gap: 0; align-items: stretch; }
.flow .node { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 6px; align-content: start; }
.flow .node.core { border-color: var(--pom); background: var(--pom-50); }
.flow .node h3 { font-size: 17px; }
.flow .node p { font-size: 14.5px; color: var(--ink-2); }
.flow .arrow { display: grid; place-items: center; padding: 0 10px; color: var(--pom); }
.flow .checks { list-style: none; display: grid; gap: 6px; margin-top: 4px; font-size: 14px; }
.flow .checks li { display: flex; gap: 8px; align-items: center; }
.flow .checks svg { color: var(--green); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .flow.reveal:not(.in) .node, .js .flow.reveal:not(.in) .arrow { opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; }
  .flow.reveal .node, .flow.reveal .arrow { transition: opacity .5s, transform .5s; }
  .flow.reveal.in > :nth-child(2) { transition-delay: .15s; } .flow.reveal.in > :nth-child(3) { transition-delay: .3s; } .flow.reveal.in > :nth-child(4) { transition-delay: .45s; } .flow.reveal.in > :nth-child(5) { transition-delay: .6s; }
}
@media (max-width: 900px) { .flow { grid-template-columns: minmax(0, 1fr); } .flow .arrow { padding: 8px 0; transform: rotate(90deg); } .flow.reveal.in .arrow { transform: rotate(90deg); } }

/* ---------- feature index / related ---------- */
.feat-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 0 40px; }
.feat-list a { display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; padding: 20px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.feat-list a:hover strong { color: var(--pom); text-decoration: underline; text-underline-offset: 3px; }
.feat-list .mi { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; background: var(--pom-50); color: var(--pom); display: grid; place-items: center; }
.feat-list strong { font-size: 17px; font-weight: 700; }
.feat-list span.d { font-size: 15px; color: var(--ink-2); line-height: 1.45; }

.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 28px 40px; }
.points > div { display: grid; gap: 8px; align-content: start; }
.points h3 { font-size: 18px; font-weight: 700; }
.points p { color: var(--ink-2); font-size: 16px; }
.band-deep .points p { color: rgba(255, 255, 255, .78); }

/* ---------- product tour ---------- */
.tour { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.tour-list { list-style: none; display: grid; gap: 4px; position: sticky; top: 96px; }
.tour-list button { all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; padding: 12px 14px; border-radius: var(--r-sm); font-weight: 620; color: rgba(255, 255, 255, .78); }
.tour-list button:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.tour-list button[aria-selected="true"] { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 3px 0 0 var(--tur); }
.tour-list button:focus-visible { outline: 3px solid var(--tur); outline-offset: 2px; }
.tour-stage { display: grid; gap: 16px; }
.tour-pane[hidden] { display: none; }
.tour-pane { display: grid; gap: 18px; }
.tour-pane .notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px 28px; list-style: none; counter-reset: n; }
.tour-pane .notes li { counter-increment: n; display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, .82); }
.tour-pane .notes li::before { content: counter(n); width: 24px; height: 24px; border-radius: 50%; background: var(--tur); color: var(--pom-deep); font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.tour-view { display: flex; gap: 8px; }
.tour-view button { all: unset; cursor: pointer; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 620; color: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .25); }
.tour-view button[aria-pressed="true"] { background: #fff; color: var(--pom-deep); border-color: #fff; }
.tour-view button:focus-visible { outline: 3px solid var(--tur); outline-offset: 2px; }
.tour-phone { max-width: 300px; }
@media (max-width: 900px) {
  .tour { grid-template-columns: minmax(0, 1fr); }
  .tour-list { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; scrollbar-width: thin; }
  .tour-list li { flex: none; }
  .tour-list button { white-space: nowrap; }
}

/* ---------- compare table ---------- */
.compare { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.compare th, .compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 15px; vertical-align: bottom; }
.compare thead th img { width: 34px; height: 34px; margin-bottom: 6px; }
.compare tbody th { font-weight: 600; width: 34%; }
.compare td.y svg { color: var(--green); }
.compare td.n { color: var(--ink-2); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.table-scroll .compare { min-width: 640px; }
.compare-stack { display: none; }
@media (max-width: 680px) {
  .table-scroll.has-stack { display: none; }
  .compare-stack { display: grid; gap: 14px; }
  .compare-stack section { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
  .compare-stack h3 { font-size: 18px; display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
  .compare-stack h3 img { width: 30px; height: 30px; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font-size: 18px; font-weight: 660; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; color: var(--pom); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .a { padding: 0 0 22px; color: var(--ink-2); max-width: 70ch; display: grid; gap: 10px; }
.faq-group { margin-top: 40px; }
.faq-group h2 { font-size: 22px; margin-bottom: 8px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--pom-deep); color: #fff; border-radius: var(--r-lg); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band .hi { position: absolute; right: -10px; bottom: -40px; font-family: var(--hindi); font-weight: 700; font-size: clamp(120px, 16vw, 220px); color: rgba(255, 255, 255, .06); line-height: 1; pointer-events: none; user-select: none; }
.cta-band .lede { color: rgba(255, 255, 255, .8); }
.cta-band .cta-row { justify-content: flex-end; position: relative; }
@media (max-width: 820px) { .cta-band { grid-template-columns: minmax(0, 1fr); } .cta-band .cta-row { justify-content: flex-start; } }

/* ---------- demo form ---------- */
.form-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .form-wrap { grid-template-columns: minmax(0, 1fr); } }
.demo-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px); display: grid; gap: 18px; }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.fgrid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .fgrid { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; align-content: start; }
.field label, .field legend { font-size: 15px; font-weight: 650; }
.field .opt { font-weight: 450; color: var(--ink-2); }
.field .hint { font-size: 13.5px; color: var(--ink-2); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-sm); min-height: 48px; padding: 10px 12px; width: 100%; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--pom); box-shadow: 0 0 0 3px var(--pom-100); background: #fff; }
.field [aria-invalid="true"] { border-color: var(--err); }
.field .err { font-size: 13.5px; color: var(--err); font-weight: 600; }
.field .err:empty { display: none; }
.phone-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; font-size: 15px; font-weight: 560; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; }
.chips input:checked + span { border-color: var(--pom); background: var(--pom-50); color: var(--pom-700); font-weight: 680; }
.chips input:focus-visible + span { outline: 3px solid var(--tur); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 15px; color: var(--ink-2); align-items: start; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--pom); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--r-sm); padding: 14px 16px; font-size: 15.5px; display: grid; gap: 6px; }
.form-status:empty { display: none; }
.form-status.error { background: var(--err-bg); color: #6f1712; }
.form-status.done { background: var(--ok-bg); color: #2f4519; }
.form-done { display: grid; gap: 14px; }
.form-done .ref { font-size: 26px; font-weight: 780; letter-spacing: .02em; color: var(--pom); font-variant-numeric: tabular-nums; }
.next-steps { list-style: none; display: grid; gap: 18px; counter-reset: n; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.next-steps li::before { content: counter(n); width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--pom); color: var(--pom); font-weight: 750; font-size: 14px; display: grid; place-items: center; }
.contact-lines { display: grid; gap: 10px; }
.contact-lines a { font-weight: 650; }

/* ---------- prose pages ---------- */
.prose { max-width: 72ch; display: grid; gap: 16px; }
.prose h2 { font-size: 24px; margin-top: 24px; }
.prose h3 { font-size: 19px; margin-top: 12px; }
.prose ul { padding-left: 22px; display: grid; gap: 6px; }
.prose p, .prose li { color: var(--ink-2); }
.note { background: var(--tur-100); border-radius: var(--r); padding: 14px 18px; font-size: 15px; color: #5a3d04; }
.crumbs { font-size: 14px; color: var(--ink-2); margin-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--pom); text-decoration: underline; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: rgba(255, 255, 255, .8); padding: 64px 0 36px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.site-foot h2 { font-size: 14px; font-weight: 650; color: #fff; margin-bottom: 12px; letter-spacing: 0; }
.site-foot ul { list-style: none; display: grid; gap: 8px; }
.site-foot a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot .brand img { height: 28px; width: auto; margin-bottom: 14px; }
.site-foot .brand p { max-width: 34ch; }
.foot-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 14px; color: rgba(255, 255, 255, .6); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-foot .brand { grid-column: 1 / -1; } }

/* ---------- lightbox ---------- */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1600px); max-height: 94vh; }
dialog.lightbox::backdrop { background: rgba(35, 31, 32, .82); }
dialog.lightbox img { max-height: 88vh; width: auto; border-radius: 10px; }
dialog.lightbox .close { position: fixed; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
dialog.lightbox p { color: #fff; font-size: 14px; margin-top: 8px; }

/* pricing page: the shared price component inside the site frame */
.px-page { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 96px); }

@media print { .site-head, .site-foot, .drawer, .cta-band { display: none; } body { background: #fff; } }

/* edition page price card */
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); display: grid; gap: 4px; }
.price-line { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.price-line > span { font-size: 24px; font-weight: 780; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-line > span .muted { font-size: 14px; font-weight: 500; letter-spacing: 0; }
.price-card .small { margin-top: 10px; }
.status-table td, .status-table th { font-size: 15px; }
.badge { display: inline-block; font-size: 13px; font-weight: 650; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.badge.ok { background: var(--green-100); color: #3b5321; }
.badge.part { background: var(--tur-100); color: #6b4a04; }
.badge.no { background: #efe9e1; color: var(--ink-2); }

/* decorative Devanagari: drawn by CSS so it is not read or contrast-checked as text */
.big-hi::before, .cta-band .hi::before { content: attr(data-t); }
.foot-base a { color: #fff; text-decoration: underline; }
.table-scroll:focus-visible, .px-table-box:focus-visible { outline: 3px solid var(--tur); outline-offset: 2px; }
/* pricing cards are drawn by script: reserve their space so the page does not jump */
.px-scope #pricing:empty, .px-scope #pricing:has(> noscript:only-child) { min-height: 2300px; }
@media (max-width: 1100px) { .px-scope #pricing:empty, .px-scope #pricing:has(> noscript:only-child) { min-height: 2650px; } }
@media (max-width: 900px) { .px-scope #pricing:empty, .px-scope #pricing:has(> noscript:only-child) { min-height: 3500px; } }
@media (max-width: 600px) { .px-scope #pricing:empty, .px-scope #pricing:has(> noscript:only-child) { min-height: 4450px; } }

/* =================== motion ===================
   Everything below runs only with JavaScript on (html.js) and when the
   visitor has not asked for reduced motion. Without either, content shows
   as it is. */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.65, 0, .35, 1); }
.hero-stage { position: relative; }
@media (prefers-reduced-motion: no-preference) {
  /* hero: masked line rise, then copy, then the product */
  .js .h-hero .line > span { transform: translateY(105%); }
  .js .hero-copy > :not(h1) { opacity: 0; transform: translateY(16px); }
  .js.ready .h-hero .line > span { transform: none; transition: transform 1.1s var(--ease-out); }
  .js.ready .h-hero .line:nth-child(2) > span { transition-delay: .08s; }
  .js.ready .h-hero .line:nth-child(3) > span { transition-delay: .16s; }
  .js.ready .hero-copy > :not(h1) { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
  .js.ready .hero-copy > :nth-child(2) { transition-delay: .35s; }
  .js.ready .hero-copy > :nth-child(3) { transition-delay: .45s; }
  .js.ready .hero-copy > :nth-child(4) { transition-delay: .55s; }
  .hero-visual { perspective: 1600px; }
  .js .hero-stage { opacity: 0; transform: rotateX(var(--rx, 16deg)) rotateY(var(--ry, -12deg)) translate3d(40px, 30px, 0) scale(.94); transform-origin: 30% 50%; will-change: transform; }
  .js.ready .hero-stage { opacity: 1; transition: opacity 1.2s var(--ease-out) .25s, transform 1.4s var(--ease-out) .25s; transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -9deg)) translate3d(0, 0, 0) scale(.98); }
  .js.ready.settled .hero-stage { transition: transform .5s var(--ease-out); }
  .phone.float { animation: float 7s ease-in-out infinite; }
  @keyframes float { 0%, 100% { transform: translate3d(0, 0, 40px) rotate(-1.5deg); } 50% { transform: translate3d(0, -10px, 40px) rotate(-.5deg); } }

  /* scroll reveals, staggered within a group */
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 70ms); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .js .frame-fig[data-reveal] .shot img { transform: scale(1.06); transition: transform 1.6s var(--ease-out); transition-delay: calc(var(--d, 0) * 70ms + .1s); }
  .js .frame-fig[data-reveal].in .shot img { transform: none; }

  /* frames lift a little under the pointer */
  .frame { transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
  .split .frame:hover, .ed-panel .frame:hover { transform: translateY(-6px); box-shadow: 0 44px 90px -30px rgba(76, 15, 30, .42), 0 2px 6px rgba(35, 31, 32, .05); }

  /* tabs: panels cross-fade and settle */
  .ed-panel:not([hidden]), .tour-pane:not([hidden]) { animation: panelIn .7s var(--ease-out) both; }
  .ed-panel:not([hidden]) .frame, .tour-pane:not([hidden]) .frame { animation: frameIn .9s var(--ease-out) both; }
  @keyframes panelIn { from { opacity: 0; transform: translateY(12px); } }
  @keyframes frameIn { from { opacity: 0; transform: translateY(18px) scale(.985); } }
  .ed-tab { transition: border-color .3s, background-color .3s, transform .4s var(--ease-out); }
  .ed-tab:hover { transform: translateY(-2px); }
  .ed-tab .hi { transition: transform .5s var(--ease-out); }
  .ed-tab[aria-selected="true"] .hi { transform: scale(1.06); }

  /* buttons: soft sheen and a press */
  .btn { position: relative; overflow: hidden; transition: background-color .25s, color .25s, border-color .25s, transform .2s var(--ease-out); }
  .btn:active { transform: scale(.97); }
  .btn-primary::after, .btn-light::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%); transform: translateX(-120%); transition: transform .9s var(--ease-out); pointer-events: none; }
  .btn-primary:hover::after, .btn-light:hover::after { transform: translateX(120%); }

  /* lists: links slide, FAQ answers ease open */
  .feat-list a .mi { transition: transform .4s var(--ease-out), background-color .3s; }
  .feat-list a:hover .mi { transform: translateY(-3px) rotate(-4deg); background: var(--pom-100); }
  .faq details[open] .a { animation: faqIn .5s var(--ease-out); }
  @keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }
  .faq summary svg { transition: transform .45s var(--ease-out); }

  /* header settles smaller once the page scrolls */
  .head-in { transition: min-height .4s var(--ease-out); }
  .site-head.scrolled .head-in { min-height: 62px; }

  /* the Devanagari watermark drifts with scroll */
  .cta-band .hi, .big-hi { transform: translate3d(0, var(--drift, 0px), 0); transition: transform .2s linear; }
}
