/* Self-hosted fonts (sifra-site/fonts/, from Google Fonts: latin + bengali subsets). */
@font-face{font-family:'Figtree';font-style:normal;font-weight:400 700;font-display:swap;src:url(/sifra-site/fonts/figtree-latin-dab710.woff2) format('woff2');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+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:500 600;font-display:swap;src:url(/sifra-site/fonts/fraunces-latin-39ce20.woff2) format('woff2');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+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Hind Siliguri';font-style:normal;font-weight:400;font-display:swap;src:url(/sifra-site/fonts/hind-siliguri-bengali-ff06ff.woff2) format('woff2');unicode-range:U+0951-0952,U+0964-0965,U+0980-09FE,U+1CD0,U+1CD2,U+1CD5-1CD6,U+1CD8,U+1CE1,U+1CEA,U+1CED,U+1CF2,U+1CF5-1CF7,U+200C-200D,U+20B9,U+25CC,U+A8F1}
@font-face{font-family:'Hind Siliguri';font-style:normal;font-weight:400;font-display:swap;src:url(/sifra-site/fonts/hind-siliguri-latin-f53c0e.woff2) format('woff2');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+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Hind Siliguri';font-style:normal;font-weight:500;font-display:swap;src:url(/sifra-site/fonts/hind-siliguri-bengali-3ad1e2.woff2) format('woff2');unicode-range:U+0951-0952,U+0964-0965,U+0980-09FE,U+1CD0,U+1CD2,U+1CD5-1CD6,U+1CD8,U+1CE1,U+1CEA,U+1CED,U+1CF2,U+1CF5-1CF7,U+200C-200D,U+20B9,U+25CC,U+A8F1}
@font-face{font-family:'Hind Siliguri';font-style:normal;font-weight:500;font-display:swap;src:url(/sifra-site/fonts/hind-siliguri-latin-8934b0.woff2) format('woff2');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+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Hind Siliguri';font-style:normal;font-weight:600;font-display:swap;src:url(/sifra-site/fonts/hind-siliguri-bengali-c8534a.woff2) format('woff2');unicode-range:U+0951-0952,U+0964-0965,U+0980-09FE,U+1CD0,U+1CD2,U+1CD5-1CD6,U+1CD8,U+1CE1,U+1CEA,U+1CED,U+1CF2,U+1CF5-1CF7,U+200C-200D,U+20B9,U+25CC,U+A8F1}
@font-face{font-family:'Hind Siliguri';font-style:normal;font-weight:600;font-display:swap;src:url(/sifra-site/fonts/hind-siliguri-latin-449979.woff2) format('woff2');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+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ============================================================================
   sifra.css — Sifra Chat marketing site (sifra.chat). Mobile-first, one file.
   Pages: index, pricing, about, faq, contact, terms, privacy (sifra/*.html).
   ============================================================================ */
:root {
  --bg: #FBF7F1; --bg-2: #F5F0E7; --bg-3: #EFE9DE; --card: #FFFFFF;
  --ink: #1B1A17; --ink-2: #3F3C35; --muted: #5B574F; --faint: #6E695F;
  --line: #E7E0D4; --line-2: #DCD4C6;
  --teal: #0B6E5C; --teal-d: #08564A; --teal-soft: #E3F1EC; --teal-ink: #CDE9E1;
  --amber: #E9A23B; --amber-2: #F0B35A; --rust: #A8441F;
  --dark: #1B1A17; --dark-2: #2A2925; --dark-line: #3A3833; --dark-ink: #D9D3C7;
  --radius: 20px; --radius-l: 28px;
  --wrap: 1280px; --gutter: 20px;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bn: 'Hind Siliguri', 'Figtree', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--teal); }
a:hover { color: var(--teal-d); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
.bn { font-family: var(--bn); }
.serif { font-family: var(--serif); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 64px 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--rust); text-transform: uppercase; letter-spacing: .08em; }
.h1 { font-family: var(--serif); font-weight: 600; letter-spacing: -.03em; line-height: 1.06; font-size: clamp(36px, 7vw, 66px); margin: 0; }
.h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; font-size: clamp(28px, 4.6vw, 46px); margin: 0; }
.h3 { margin: 0; font-size: 20px; line-height: 1.3; }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); margin: 0; }
.muted { color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.center { text-align: center; align-items: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 600 15px var(--sans); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.btn-p { background: var(--teal); color: #fff; }
.btn-p:hover { background: var(--teal-d); color: #fff; }
.btn-g { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); background: transparent; }
.btn-g:hover { background: var(--ink); color: var(--bg); }
.btn-w { background: #fff; color: var(--teal); }
.btn-w:hover { background: var(--bg); color: var(--teal-d); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(251,247,241,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo svg { width: 34px; height: 34px; flex-shrink: 0; }
.logo .wm { font-family: var(--serif); font-size: 25px; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.logo .wm span { color: var(--teal); }
.nav { display: none; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); }
.nav a[aria-current="page"] { font-weight: 700; }
.hdr-cta { display: none; align-items: center; gap: 18px; }
.hdr-cta .login { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; color: var(--ink); }
.menu-btn:hover { background: var(--bg-3); }
.mnav { display: none; border-top: 1px solid var(--line); background: var(--bg); }
.mnav.open { display: block; }
.mnav .wrap { display: flex; flex-direction: column; padding-top: 10px; padding-bottom: 20px; gap: 2px; }
.mnav a:not(.btn) { display: block; padding: 13px 4px; font-size: 17px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mnav a[aria-current="page"] { color: var(--teal); }
.mnav .btn { margin-top: 14px; }

/* Hero */
.hero { padding: 48px 0 56px; }
.hero .wrap { display: grid; gap: 44px; align-items: center; }
.pill { display: inline-flex; align-self: flex-start; padding: 7px 13px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-d); font-size: 13.5px; font-weight: 600; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14.5px; color: var(--muted); font-weight: 500; }
.checks span { display: inline-flex; align-items: center; gap: 7px; }
.checks svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Demo chat widget */
.demo { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; width: 100%; max-width: 440px; justify-self: center; }
.chat { width: 100%; background: #fff; border-radius: 22px; box-shadow: 0 24px 60px rgba(27,26,23,.14), 0 2px 6px rgba(27,26,23,.06); overflow: hidden; }
.chat-h { background: var(--teal); color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.chat-av { width: 40px; height: 40px; border-radius: 12px; background: var(--bg); color: var(--teal); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; flex-shrink: 0; }
.chat-h small { display: block; font-size: 12.5px; color: var(--teal-ink); }
.chat-b { padding: 16px; display: flex; flex-direction: column; gap: 9px; background: #F7F4EE; }
.msg { max-width: 85%; padding: 10px 13px; font-size: 14.5px; line-height: 1.5; }
.msg.bot { align-self: flex-start; background: #fff; border: 1px solid #ECE6DA; border-radius: 16px 16px 16px 4px; }
.msg.me { align-self: flex-end; background: var(--teal); color: #fff; border-radius: 16px 16px 4px 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--teal); color: var(--teal); font-size: 13px; font-weight: 600; }
.human { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; }
.chat-f { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid #ECE6DA; }
.chat-in { flex: 1; min-height: 42px; border-radius: 999px; background: #F3EFE7; display: flex; align-items: center; padding: 0 16px; color: var(--faint); font-size: 14px; }
.chat-send { width: 42px; height: 42px; border-radius: 999px; background: var(--teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.powered { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11.5px; color: var(--faint); padding: 0 0 10px; }
.launcher { width: 60px; height: 60px; border-radius: 999px; background: var(--teal); box-shadow: 0 10px 24px rgba(11,110,92,.35); display: flex; align-items: center; justify-content: center; }

/* Strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 28px; padding-top: 22px; padding-bottom: 22px; }
.strip .lbl { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; width: 100%; text-align: center; }
.strip b { font-size: 16px; }

/* Cards & grids */
.grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.ico { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-soft); display: flex; align-items: center; justify-content: center; }
.ico svg { width: 24px; height: 24px; }
.step-n { font-family: var(--serif); font-size: 42px; font-weight: 600; color: var(--teal); line-height: 1; }
.sec-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; max-width: 760px; }
.sec-head.center { margin-left: auto; margin-right: auto; }
.row-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 36px; }
.row-head .sec-head { margin-bottom: 0; }

/* Honest band */
.band { background: var(--dark); color: var(--bg); border-radius: var(--radius-l); padding: 36px 24px; display: grid; gap: 32px; align-items: center; }
.band p { color: var(--dark-ink); margin: 0; font-size: 17px; }
.band .eyebrow { color: var(--amber-2); }
.bubble-d { padding: 18px 20px; border-radius: 16px; background: var(--dark-2); display: flex; flex-direction: column; gap: 6px; }
.bubble-d small { font-size: 13px; color: #B8B1A4; font-weight: 600; }
.bubble-l { padding: 18px 20px; border-radius: 16px; background: var(--bg); color: var(--ink); display: flex; flex-direction: column; gap: 6px; }
.bubble-l small { font-size: 13px; color: var(--teal); font-weight: 700; }

/* Pricing */
.cur { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg-3); }
.cur button { min-height: 42px; padding: 6px 20px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; border: 0; border-radius: 999px; font: 600 15px var(--sans); background: transparent; color: var(--ink); cursor: pointer; }
.cur button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px 26px; display: flex; flex-direction: column; gap: 10px; }
.plan.pop { background: var(--teal); color: #fff; border-color: var(--teal); box-shadow: 0 22px 50px rgba(11,110,92,.28); }
.plan .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan .name { font-size: 22px; font-weight: 700; }
.badge { font-size: 12.5px; font-weight: 700; background: var(--amber-2); color: var(--ink); padding: 5px 10px; border-radius: 999px; }
.plan .sub { font-size: 15px; color: var(--muted); line-height: 1.5; margin: 0; }
.plan.pop .sub { color: var(--teal-ink); }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.plan .price b { font-family: var(--serif); font-size: 50px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.plan .btn { margin: 10px 0 6px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.45; }
.plan li svg { flex-shrink: 0; margin-top: 2px; width: 18px; height: 18px; }
.disc { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 30px 24px; display: grid; gap: 28px; align-items: center; }
.disc-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.disc-grid div { padding: 22px; border-radius: 18px; display: flex; flex-direction: column; gap: 4px; }
.disc-grid b { font-family: var(--serif); font-size: 36px; font-weight: 600; line-height: 1.15; }
.d1 { background: var(--bg-2); } .d1 span { color: var(--muted); }
.d2 { background: var(--teal-soft); color: var(--teal-d); } .d2 small { color: var(--ink-2); }
.d3 { background: var(--teal); color: #fff; } .d3 span, .d3 small { color: var(--teal-ink); }
.disc-grid span { font-size: 15px; font-weight: 600; } .disc-grid small { font-size: 14.5px; }
.tbl-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.tbl { width: 100%; min-width: 620px; border-collapse: collapse; }
.tbl th, .tbl td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.tbl thead th { background: var(--bg-2); font-size: 13.5px; color: var(--muted); font-weight: 600; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:first-child { font-weight: 500; }

/* FAQ */
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 2px; font-weight: 700; font-size: 17.5px; line-height: 1.35; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--teal); line-height: 1; flex-shrink: 0; }
.qa details[open] summary::after { content: "–"; }
.qa .a { padding: 0 2px 22px; color: var(--muted); font-size: 16px; }
.qa .a p { margin: 0 0 10px; }
.faq-layout { display: grid; gap: 28px; }
.faq-nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.faq-nav::-webkit-scrollbar { display: none; }
.faq-nav a { flex-shrink: 0; padding: 9px 14px; border-radius: 999px; background: var(--bg-3); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.faq-nav a:hover { background: var(--teal-soft); color: var(--teal-d); }
.faq-group { scroll-margin-top: 90px; }
.faq-group + .faq-group { margin-top: 44px; }
.faq-group h2 { font-family: var(--serif); font-size: 28px; font-weight: 600; margin: 0 0 8px; }

/* CTA band */
.cta { background: var(--teal-soft); border-radius: var(--radius-l); padding: 36px 24px; display: grid; gap: 22px; align-items: center; }

/* Forms */
.form { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 26px 20px; display: flex; flex-direction: column; gap: 18px; }
.f { display: flex; flex-direction: column; gap: 7px; }
.f label { font-size: 14.5px; font-weight: 600; }
.f input, .f select, .f textarea { width: 100%; border: 1.5px solid var(--line-2); background: #FFFDF9; border-radius: 12px; padding: 0 14px; min-height: 50px; font: 16px var(--sans); color: var(--ink); }
.f textarea { min-height: 130px; padding: 13px 14px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(11,110,92,.15); }
.f2 { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.form-msg { display: none; padding: 12px 14px; border-radius: 12px; font-size: 15px; }
.form-msg.ok { display: block; background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.form-msg.err { display: block; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.hp { position: absolute; left: -9999px; }
.info { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.info div { display: flex; flex-direction: column; gap: 2px; }
.info small { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.info a, .info b { font-size: 17px; font-weight: 600; word-break: break-word; }

/* About */
.photo { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; border-radius: var(--radius-l); background: var(--bg-3); overflow: hidden; display: flex; align-items: center; justify-content: center; justify-self: center; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo .ini { font-family: var(--serif); font-size: 96px; font-weight: 600; color: var(--teal); }
.story { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 28px 22px; display: grid; gap: 22px; }
.story p { margin: 0 0 14px; font-size: 17.5px; line-height: 1.75; color: var(--ink-2); }
.vals { display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr); }
.vals div { padding-top: 20px; border-top: 3px solid var(--teal); display: flex; flex-direction: column; gap: 10px; }
.vals p { margin: 0; color: var(--muted); }

/* Legal */
.legal { display: grid; gap: 30px; }
.toc { display: none; }
.legal article { max-width: 780px; }
.legal article h2 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin: 34px 0 10px; scroll-margin-top: 90px; }
.legal article p, .legal article li { font-size: 16.5px; line-height: 1.75; color: var(--ink-2); }
.legal article ul { padding-left: 22px; }
.updated { font-size: 14.5px; color: var(--muted); }

/* Footer */
.ftr { background: var(--dark); color: var(--dark-ink); padding: 52px 0 30px; margin-top: 30px; }
.ftr-grid { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ftr-brand { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; }
.ftr-brand .wm { font-family: var(--serif); font-size: 26px; font-weight: 600; color: #fff; }
.ftr-brand .wm span { color: #7FD1BC; }
.ftr-brand p { margin: 0; font-size: 15px; max-width: 360px; }
.ftr-col { display: flex; flex-direction: column; gap: 11px; }
.ftr-col b { color: #fff; }
.ftr-col a { color: var(--dark-ink); text-decoration: none; font-size: 15px; }
.ftr-col a:hover { color: #fff; }
.ftr-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; border-top: 1px solid var(--dark-line); margin-top: 40px; padding-top: 22px; font-size: 14px; }

/* ── ≥ 640px ─────────────────────────────────────────────────────────────── */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .grid-2, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .disc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .f2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form { padding: 34px; }
  .vals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band, .cta, .disc, .story { padding: 48px 40px; }
  .strip .lbl { width: auto; }
}
/* ── ≥ 960px ─────────────────────────────────────────────────────────────── */
@media (min-width: 960px) {
  :root { --gutter: 48px; }
  .section { padding: 96px 0; }
  .nav { display: flex; gap: 32px; }
  .hdr-cta { display: flex; }
  .menu-btn, .mnav, .mnav.open { display: none; }
  .hero { padding: 80px 0 96px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr) 460px; gap: 64px; }
  .demo { justify-self: end; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .band { grid-template-columns: minmax(0, 1fr) 440px; gap: 64px; padding: 64px; }
  .cta { grid-template-columns: minmax(0, 1fr) auto; padding: 64px; }
  .disc { grid-template-columns: 400px minmax(0, 1fr); padding: 52px; gap: 52px; }
  .vals { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .story { grid-template-columns: 320px minmax(0, 1fr); gap: 56px; padding: 56px; }
  .faq-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 64px; align-items: start; }
  .faq-nav { flex-direction: column; position: sticky; top: 96px; overflow: visible; }
  .faq-nav a { background: transparent; border-radius: 10px; }
  .legal { grid-template-columns: 230px minmax(0, 1fr); gap: 72px; }
  .toc { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 96px; align-self: start; }
  .toc b { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
  .toc a { color: var(--muted); text-decoration: none; font-size: 14.5px; padding: 5px 0; }
  .toc a:hover { color: var(--teal); }
  .ftr-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .ftr-brand { grid-column: auto; }
  .about-hero { grid-template-columns: minmax(0, 1fr) 420px !important; gap: 72px !important; }
  .contact-grid { grid-template-columns: 400px minmax(0, 1fr) !important; gap: 64px !important; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ── Account pages (login / register / forgot / reset / verify) ─────────────── */
.auth { min-height: calc(100vh - 69px); display: grid; grid-template-columns: minmax(0, 1fr); }
.auth-side { display: none; background: var(--teal); color: #fff; padding: 56px; flex-direction: column; justify-content: center; gap: 40px; }
.auth-side h2 { font-family: var(--serif); font-weight: 600; font-size: 44px; line-height: 1.08; letter-spacing: -.02em; margin: 0; }
.auth-side p { margin: 0; color: var(--teal-ink); font-size: 17px; }
.auth-side ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.auth-side li { display: flex; gap: 10px; align-items: flex-start; color: #fff; font-size: 16px; }
.auth-side li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; }
.auth-main { display: flex; justify-content: center; padding: 40px var(--gutter) 56px; }
.auth-box { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 18px; }
.auth-box h1 { font-family: var(--serif); font-weight: 600; font-size: 34px; letter-spacing: -.02em; margin: 0; line-height: 1.1; }
.auth-box .btn { width: 100%; }
.auth-alt { text-align: center; font-size: 15px; color: var(--muted); margin: 0; }
/* Hide the browser's built-in reveal/clear buttons (Edge/IE) so only our eye shows */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear { display: none; }
.pw { position: relative; }
.pw input { padding-right: 52px; }
.pw button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: transparent; color: var(--muted); cursor: pointer; border-radius: 10px; }
.hint { font-size: 13.5px; color: var(--muted); }
.row-between { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
@media (min-width: 960px) { .auth { grid-template-columns: 520px minmax(0, 1fr); } .auth-side { display: flex; } .auth-main { align-items: center; } }

/* ── Dashboard shell ────────────────────────────────────────────────────── */
.dash-top { display: flex; align-items: center; gap: 14px; }
.dash-top .who { font-size: 14.5px; color: var(--muted); display: none; }
.dash-top a, .dash-top button.linkish { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; background: none; border: 0; cursor: pointer; font-family: var(--sans); padding: 10px 4px; }
.dash-top a:hover, .dash-top button.linkish:hover { color: var(--teal); }
.dash-main { padding: 24px 0 60px; }
.notice { background: #FFF7E6; border: 1px solid #F3D9A4; color: #6B4A0B; border-radius: 16px; padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 20px; font-size: 15px; }
.notice .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
.loading { padding: 60px 0; text-align: center; color: var(--muted); }
@media (min-width: 640px) { .dash-top .who { display: inline; } }

/* The real widget is live on this site → hide the hero mock-up's launcher so there is only one. */
.has-live-bot .launcher { visibility: hidden; }

/* ── Demo page (sifra.chat/demo/<slug>) ───────────────────────────────────── */
.demo-sec { padding: 56px 0 72px; min-height: calc(100vh - 69px - 260px); }
.demo-box { max-width: 720px; }
.demo-box .h1 { font-size: clamp(34px, 6vw, 58px); }
.demo-steps { margin: 4px 0 0; padding: 0; list-style: none; counter-reset: st; display: grid; gap: 12px; }
.demo-steps li { counter-increment: st; position: relative; padding: 14px 16px 14px 54px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; color: var(--muted); font-size: 15.5px; }
.demo-steps li b { color: var(--ink); font-weight: 600; }
.demo-steps li::before { content: counter(st); position: absolute; left: 16px; top: 13px; width: 26px; height: 26px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-d); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
@media (max-width: 560px) { .demo-sec { padding: 36px 0 56px; } .demo-box .btn-row .btn { flex: 1 1 100%; } }
.demo-box [hidden] { display: none !important; }

/* Account pages: the teal side panel runs straight into the footer (no cream gap). */
main > .auth + .ftr, .auth ~ .ftr { margin-top: 0; }
body:has(.auth) .ftr { margin-top: 0; }

/* ── Mobile menu = side drawer (<960px): slides in from the right, 80% wide ── */
@media (max-width: 959px) {
  .hdr { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(251,247,241,.98); }
  .mnav, .mnav.open { display: block; position: fixed; top: 0; right: 0; bottom: 0; width: min(80vw, 360px); height: 100vh; height: 100dvh; background: var(--bg); border-top: 0; border-left: 1px solid var(--line); box-shadow: -24px 0 48px rgba(27,26,23,.18); overflow-y: auto; z-index: 70; transform: translateX(105%); visibility: hidden; transition: transform .3s cubic-bezier(.22,.8,.26,1), visibility 0s linear .3s; }
  .mnav.open { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.22,.8,.26,1), visibility 0s; }
  .mnav .wrap { padding: 72px 22px 28px; max-width: none; margin: 0; width: auto; align-items: stretch; text-align: left; }
  .mnav a:not(.btn) { text-align: left; }
  .mnav .btn { width: 100%; justify-content: center; }
  .mnav .btn { margin-top: 16px; }
  .mnav-x { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
  body.nav-drawer-open { overflow: hidden; }
  body.nav-drawer-open::before { content: ""; position: fixed; inset: 0; background: rgba(27,26,23,.45); z-index: 45; animation: navFade .25s ease; }
}
@keyframes navFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .mnav, .mnav.open { transition: none !important; } }
body.nav-drawer-open #sifra-chat { display: none; }

/* ── Live-demo promotion (the site's own chat IS the demo) ─────────────── */
.live-only { display: none !important; }
.has-live-bot .live-only { display: revert !important; }
.has-live-bot p.live-only, .has-live-bot .live-hint { display: flex !important; }
.live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: livePulse 1.8s infinite; flex-shrink: 0; margin-right: 8px; vertical-align: middle; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.45); } 70% { box-shadow: 0 0 0 9px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }
.live-hint { align-items: center; flex-wrap: wrap; gap: 4px 6px; margin: -6px 0 0; font-size: 15px; color: var(--ink-2); }
.live-hint .live-dot { margin-right: 4px; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--teal); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn:hover { color: var(--teal-d); }
.live-band { padding: 8px 0 56px; }
.lb-in { background: var(--teal); color: #fff; border-radius: var(--radius-l); padding: 36px 26px; display: grid; gap: 26px; align-items: center; position: relative; overflow: hidden; }
.lb-in::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(233,162,59,.18); pointer-events: none; }
.lb-txt { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.lb-txt .h2 { color: #fff; }
.lb-txt .lead { color: var(--teal-ink); }
.lb-tag { display: inline-flex; align-items: center; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.lb-act { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; position: relative; z-index: 1; }
.lb-act .btn-p { background: #fff; color: var(--teal-d); }
.lb-act .btn-p:hover { background: #F3EEE4; }
.lb-try { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--teal-ink); }
.lb-try .chip { border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13.5px; cursor: pointer; }
.lb-try .chip:hover { background: rgba(255,255,255,.12); }
@media (min-width: 960px) { .lb-in { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); padding: 48px 52px; gap: 40px; } }
/* Nudge bubble next to the launcher */
.sifra-nudge { position: fixed; right: 22px; bottom: 92px; z-index: 2147482999; max-width: 250px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px 16px 4px 16px; box-shadow: 0 12px 32px rgba(27,26,23,.16); padding: 12px 34px 12px 14px; font-size: 14.5px; line-height: 1.45; cursor: pointer; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.sifra-nudge.on { opacity: 1; transform: none; }
.sifra-nudge b { color: var(--teal-d); }
.sifra-nudge .nx { position: absolute; top: 6px; right: 8px; border: 0; background: none; color: var(--faint); font-size: 18px; cursor: pointer; line-height: 1; padding: 2px; }
@media (max-width: 480px) { .sifra-nudge { right: 14px; bottom: 84px; max-width: 220px; font-size: 14px; } }
body.nav-drawer-open .sifra-nudge { display: none; }

.cur .cur-main { font-weight: 600; }
.cur .cur-sub { font-size: 12px; font-weight: 500; opacity: .7; margin-top: 2px; }
.cur-note { margin: 12px auto 0; max-width: 520px; font-size: 14.5px; color: var(--muted); text-align: center; }
@media (max-width: 420px) { .cur button { padding: 6px 14px; } .cur .cur-main { font-size: 14px; } }

/* The hidden attribute always wins (e.g. the dashboard "confirm your email" notice is display:flex). */
[hidden] { display: none !important; }

/* Bangla-language pages (e.g. /bangla-chatbot): Bangla face for body + headings. */
html[lang="bn"] body { font-family: "Hind Siliguri", "Figtree", system-ui, sans-serif; }
html[lang="bn"] .h1, html[lang="bn"] .h2, html[lang="bn"] .h3 { font-family: "Hind Siliguri", "Fraunces", serif; font-weight: 600; letter-spacing: 0; }
