/* SiteIQ public website (docs/WEBSITE.md). Phones first; no web fonts, so the
   first paint is fast on a slow mobile connection. Bangla falls back to the
   system's Bengali font (Nirmala UI on Windows, Noto Sans Bengali on Android). */
:root {
  --navy: #101B36;
  --navy-2: #1A2850;
  --blue: #326BFA;
  --blue-dark: #2152CF;
  --violet: #7658E8;
  --grey: #F5F7FB;
  --line: #E3E8F2;
  --white: #FFFFFF;
  --ink: #101B36;
  --muted: #4E5A75;
  --soft: #EEF3FF;
  --green: #1B8A5A;
  --amber: #A15C00;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 27, 54, .06), 0 8px 28px rgba(16, 27, 54, .08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
          "Noto Sans Bengali", "Nirmala UI", "Hind Siliguri", "Vrinda", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 16px/1.6 var(--font); text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-underline-offset: 2px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6.4vw, 3.05rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.4rem); font-weight: 750; letter-spacing: -.02em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
[lang="bn"] { line-height: 1.75; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 50; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* -- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-dark); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--soft); color: var(--navy); }
.btn-outline-light { color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { color: var(--white); border-color: var(--white); }
.btn-lg { min-height: 50px; padding: 12px 22px; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* -- header -------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.brand b { color: var(--blue); font-weight: 800; }
.brand:hover { color: var(--navy); }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; content: ""; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; box-shadow: var(--shadow); }
.site-header.is-open .site-nav { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a { display: block; padding: 12px 4px; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--grey); }
.site-nav a[aria-current="page"] { color: var(--blue-dark); }
.nav-actions { display: flex; gap: 10px; margin-top: 16px; }
.nav-actions .btn { flex: 1; }
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; position: static; align-items: center; gap: 28px; padding: 0; border: 0; box-shadow: none; background: transparent; }
  .site-nav ul { display: flex; gap: 4px; }
  .site-nav li a { border: 0; padding: 8px 12px; border-radius: 8px; color: var(--muted); }
  .site-nav li a:hover { color: var(--ink); background: var(--grey); }
  .site-nav li a[aria-current="page"] { color: var(--navy); background: var(--soft); }
  .nav-actions { margin: 0; }
  .nav-actions .btn { flex: none; min-height: 40px; padding: 8px 16px; }
}

/* -- sections ------------------------------------------------------------ */
.section { padding: 56px 0; }
.section-grey { background: var(--grey); }
.section-navy { background: var(--navy); color: #D9E1F5; }
.section-navy h2, .section-navy h3 { color: var(--white); }
@media (min-width: 720px) { .section { padding: 88px 0; } }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); margin-bottom: 12px; }
.section-navy .eyebrow { color: #B4A5FF; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 46em; }
.section-navy .lead { color: #C3CCE4; }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* -- hero ---------------------------------------------------------------- */
.hero { padding: 40px 0 56px; background: linear-gradient(180deg, var(--grey) 0%, var(--white) 100%); overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { color: var(--navy); }
.hero h1 .accent { color: var(--blue); }
.hero .lead { font-size: 1.15rem; }
.hero-tagline { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 8px; font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
.hero-tagline .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; margin-left: 4px; }
.hero-note { font-size: .92rem; color: var(--muted); margin-top: 16px; }
.hero-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero-visual { position: relative; }
.hero-visual .shot-main { border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--white); }
.hero-visual .shot-phone { position: absolute; width: 36%; right: -4px; bottom: 0; border-radius: 16px; border: 6px solid var(--navy); box-shadow: var(--shadow); background: var(--white); }
.hero-visual figcaption { font-size: .85rem; color: var(--muted); margin-top: 14px; max-width: 54%; line-height: 1.45; }
@media (min-width: 960px) {
  .hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: 1fr 1.08fr; gap: 56px; }
  .hero-visual .shot-phone { width: 34%; right: -20px; bottom: -36px; }
}

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--soft); color: var(--navy); font-size: .85rem; font-weight: 600; }
.chip-violet { background: #F0ECFF; color: #4B34B8; }
.chip-green { background: #E6F5EE; color: #11603F; }
.chip-amber { background: #FFF3E0; color: var(--amber); }

/* -- channel strip ------------------------------------------------------- */
.strip { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip p { text-align: center; font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.strip .strip-note { margin: 14px 0 0; font-size: .85rem; }
.strip li { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--navy); }
.icon { width: 22px; height: 22px; flex: none; color: var(--blue); }

/* -- cards --------------------------------------------------------------- */
.grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section-grey .card { border-color: transparent; box-shadow: 0 1px 2px rgba(16,27,54,.05); }
.card h3 { color: var(--navy); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.card .icon-box { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card .icon-box .icon { width: 24px; height: 24px; }
.card .icon-box.violet { background: #F0ECFF; }
.card .icon-box.violet .icon { color: var(--violet); }
.card-link { display: inline-block; margin-top: 12px; font-weight: 650; text-decoration: none; }
.card-link::after { content: " \2192"; }
.section-navy .card { background: var(--navy-2); border-color: rgba(255,255,255,.08); }
.section-navy .card p { color: #C3CCE4; }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 8px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.ticks-dash li::before { width: 10px; height: 0; border-left: 0; border-bottom: 2.5px solid #9AA5BE; transform: none; top: .8em; }
.section-navy .ticks li { color: #C3CCE4; }

/* -- feature rows (text + screenshot) ------------------------------------ */
.feature { display: grid; gap: 28px; align-items: center; padding: 28px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.section-grey .feature + .feature { border-color: #E1E6F0; }
.feature h3 { font-size: clamp(1.3rem, 3.4vw, 1.7rem); }
.feature p { color: var(--muted); }
.shot { border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--white); }
.shot-narrow { max-width: 340px; margin: 0 auto; }
.shot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.figure { margin: 0; }
.figure figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; text-align: center; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1.15fr; gap: 56px; padding: 44px 0; }
  .feature.flip > :first-child { order: 2; }
}

/* -- steps --------------------------------------------------------------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps-4 { grid-template-columns: repeat(4, 1fr); } }
.steps > li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps > li::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--violet)); color: var(--white); font-weight: 800; margin-bottom: 14px; }
.steps p { color: var(--muted); margin-bottom: 0; }

/* -- pillars ------------------------------------------------------------- */
.pillar-num { font-size: .8rem; font-weight: 800; color: var(--violet); letter-spacing: .08em; text-transform: uppercase; }

/* -- tables -------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .95rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--grey); color: var(--navy); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
td .chip { white-space: nowrap; }

/* -- pricing ------------------------------------------------------------- */
.plans { display: grid; gap: 18px; }
@media (min-width: 960px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.plan.recommended { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.plan .badge { position: absolute; top: -13px; left: 24px; background: var(--blue); color: var(--white); font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.4rem; margin-bottom: 4px; }
.plan .for { color: var(--muted); min-height: 3.2em; }
.plan .price { font-size: 1.15rem; font-weight: 750; color: var(--navy); margin: 8px 0 18px; }
.plan .price small { display: block; font-size: .85rem; font-weight: 500; color: var(--muted); }
.plan .ticks { flex: 1; }
.plan .btn { margin-top: 12px; }

/* -- notices ------------------------------------------------------------- */
.notice { border-left: 4px solid var(--violet); background: #F6F3FF; padding: 16px 18px; border-radius: 0 10px 10px 0; color: var(--ink); }
.notice p:last-child { margin-bottom: 0; }
.notice-blue { border-color: var(--blue); background: var(--soft); }

/* -- contact ------------------------------------------------------------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon-box { width: 40px; height: 40px; border-radius: 10px; background: var(--soft); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-list strong { display: block; color: var(--navy); }
.contact-list a { word-break: break-word; }

/* -- CTA band ------------------------------------------------------------ */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, #1C2A6B 60%, #3B2E8C 100%); color: #D9E1F5; border-radius: 20px; padding: 40px 24px; text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #C3CCE4; max-width: 40em; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 24px; }
@media (min-width: 720px) { .cta-band { padding: 64px 48px; } }

/* -- page header (inner pages) ------------------------------------------- */
.page-head { background: var(--grey); padding: 48px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.9rem, 6vw, 3rem); color: var(--navy); }
@media (min-width: 720px) { .page-head { padding: 72px 0 56px; } }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.anchor-nav a { font-size: .9rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--navy); }
.anchor-nav a:hover { border-color: var(--blue); }
[id] { scroll-margin-top: 80px; }

.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style-position: outside; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* -- footer -------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #AEB9D6; padding: 48px 0 24px; margin-top: 0; font-size: .95rem; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }
.brand-light { color: var(--white); }
.brand-light:hover { color: var(--white); }
.brand-light b { color: #8FB0FF; }
.footer-brand p { margin: 12px 0 0; }
.footer-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--white); margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #D9E1F5; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; font-size: .88rem; }
.footer-base p { margin: 0; }

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 40px; }
.center { text-align: center; }
.small { font-size: .9rem; color: var(--muted); }

/* -- screenshots: galleries, zoom links, video --------------------------- */
.zoom { display: block; border-radius: 12px; cursor: zoom-in; }
.zoom:hover .shot { box-shadow: 0 2px 4px rgba(16,27,54,.08), 0 14px 36px rgba(16,27,54,.14); }
.shot { width: 100%; }
.shot-small { max-width: 322px; margin: 0 auto; }
.gallery { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
.gallery-3 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .gallery-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .gallery-chat { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.story { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px 20px; grid-template-columns: 1fr; counter-reset: story; }
@media (min-width: 560px) { .story { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .story { grid-template-columns: repeat(4, 1fr); } }
.story > li { counter-increment: story; display: flex; flex-direction: column; }
.story .zoom { aspect-ratio: 9 / 10; overflow: hidden; background: var(--grey); border: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: center; }
.story .zoom .shot { border: 0; box-shadow: none; border-radius: 0; }
.story h3 { margin-top: 14px; font-size: 1.05rem; }
.story h3::before { content: counter(story) ". "; color: var(--violet); }
.story p { color: var(--muted); margin: 0; font-size: .95rem; }
.video-frame { border-radius: 16px; overflow: hidden; background: var(--navy); box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; display: block; background: var(--navy); }
.watch { display: grid; gap: 24px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 18px; box-shadow: 0 1px 2px rgba(16,27,54,.05); }
@media (min-width: 820px) { .watch { grid-template-columns: 1.2fr 1fr; padding: 24px; gap: 40px; } }
.watch-link { position: relative; display: block; border-radius: 12px; overflow: hidden; }
.watch-link img { width: 100%; }
.watch-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(50,107,250,.92); box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.watch-play::after { content: ""; position: absolute; left: 29px; top: 22px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent var(--white); }
.watch-link:hover .watch-play { background: var(--blue-dark); }
.watch p { color: var(--muted); }
.widget-note { background: var(--soft); border-top: 1px solid var(--line); padding: 18px 0 18px; font-size: .95rem; }
.widget-note p { margin: 0; color: var(--navy); display: flex; gap: 10px; align-items: baseline; padding-right: 64px; }
.widget-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; }
.grid > .card { display: flex; flex-direction: column; }
.grid > .card .card-link { margin-top: auto; padding-top: 12px; }
.story .zoom.wide { align-items: center; background: var(--white); padding: 8px; }
.site-nav .btn-primary[aria-current="page"] { color: var(--white); }

/* -- enquiry form (partials/enquiry-form.html) ------------------------------ */
.enquiry { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(18px, 4vw, 32px); }
.enquiry fieldset { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.enquiry legend, .enquiry label:not(.choice) { display: block; font-weight: 650; margin-bottom: 6px; }
.field { margin-bottom: 14px; }
.field-grid { display: grid; gap: 0 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .field-grid { grid-template-columns: 1fr 1fr; } }
.enquiry input[type="text"], .enquiry input[type="email"], .enquiry input[type="tel"], .enquiry select, .enquiry textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid #C9D2E3; border-radius: 10px; padding: 11px 12px; min-height: 46px;
}
.enquiry textarea { min-height: 110px; resize: vertical; }
.enquiry input:focus-visible, .enquiry select:focus-visible, .enquiry textarea:focus-visible { border-color: var(--blue); outline: 3px solid rgba(50, 107, 250, .25); outline-offset: 0; }
.enquiry [aria-invalid="true"] { border-color: #B42318; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.choice { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; font-weight: 500; min-height: 44px; }
.choice:has(input:checked) { border-color: var(--blue); background: var(--soft); }
.choice input { accent-color: var(--blue); width: 18px; height: 18px; margin: 0; }
.req, .opt { font-weight: 500; font-size: .8rem; color: var(--muted); margin-left: 4px; }
.req { color: var(--blue-dark); }
.hint { font-size: .9rem; color: var(--muted); margin: -4px 0 18px; }
.field-error { color: #B42318; font-size: .9rem; margin: 4px 0 0; min-height: 0; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 12px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { color: #B42318; background: #FEF3F2; border-radius: 10px; padding: 10px 14px; }
.enquiry button[disabled] { opacity: .65; cursor: progress; }

/* -- status labels for features (platform, pricing) ------------------------ */
.status { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .02em; border-radius: 999px; padding: 2px 10px; vertical-align: middle; white-space: nowrap; }
.status-ok { background: #E7F6EE; color: #11663F; }
.status-meta { background: #FFF4E0; color: #8A4B00; }
.status-api { background: #EEF3FF; color: #1F44A8; }
.status-no { background: #F1F3F7; color: #4E5A75; }
.legend-row { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: .9rem; color: var(--muted); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--white); }
.compare th, .compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--grey); font-size: .9rem; }
.compare tbody th { font-weight: 600; }
.compare td.yes::before { content: "✓ "; color: var(--green); font-weight: 800; }
.journey { display: grid; gap: 14px; grid-template-columns: 1fr; counter-reset: j; list-style: none; padding: 0; margin: 0; }
@media (min-width: 860px) { .journey { grid-template-columns: repeat(4, 1fr); } }
.journey li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: relative; }
.journey li::before { counter-increment: j; content: counter(j); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: var(--white); font-weight: 800; margin-bottom: 8px; }
.journey h3 { font-size: 1.02rem; }
.journey p { margin: 0; color: var(--muted); font-size: .95rem; }
.example { border-left: 4px solid var(--blue); background: var(--soft); border-radius: 0 10px 10px 0; padding: 14px 16px; margin: 16px 0; }
.example p { margin: 0 0 6px; }
.example .who { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.chapters { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.chapters li { font-size: .95rem; }
.chapters time { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--blue-dark); margin-right: 8px; }
.transcript { margin-top: 14px; }
.transcript summary { cursor: pointer; font-weight: 650; }
.transcript p { font-size: .95rem; color: var(--muted); }

/* -- pricing page (Tidio-style: four plan cards, add-ons, full comparison) -- */
.page-head.center { text-align: center; }
.page-head.center .lead { margin-left: auto; margin-right: auto; }
.center-row { justify-content: center; }
.section-tight { padding-top: 24px; }
@media (min-width: 720px) { .plans-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) { .plans-4 { grid-template-columns: repeat(4, 1fr); } }
.plan-name { font-size: 1.4rem; margin-bottom: 4px; }
.plan-includes { font-weight: 700; font-size: .92rem; margin: 18px 0 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.plan .ticks li { font-size: .95rem; }
.plan-why { font-size: .85rem; color: var(--muted); margin: 10px 0 0; }
.plan .btn { margin-top: 0; }
.compare-plans { min-width: 760px; }
.compare-plans thead th { position: sticky; top: 0; z-index: 1; }
.compare-plans td, .compare-plans thead th:not(:first-child) { text-align: center; }
.compare-plans tbody th { width: 40%; }
.compare-plans tr.group th { background: var(--soft); color: var(--navy); font-size: .95rem; font-weight: 800; text-align: left; }
.compare-plans td.yes::before { content: "✓"; display: block; }
.compare-plans td.yes { font-size: .8rem; color: var(--muted); }

/* /showcase?try=<client>: which client's assistant is in the corner */
.try-note { margin: 0 0 20px; padding: 12px 16px; border-radius: 12px; background: #EEF3FF; border: 1px solid #C9D8FF; color: #10204A; font-size: .95rem; }
.try-note a { font-weight: 600; }

/* ------------------------------------------------------------------------------------------------
   Motion infographics (2026-11-10): workflow diagrams, a self-playing chat, the credit meter, FAQ.
   CSS only. Nodes appear as they scroll into view (site.js adds .in-view); without script, or for a
   visitor who asked for reduced motion, everything is simply shown, still. */
.flow { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: flow; }
@media (min-width: 900px) { .flow { grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; } }
.flow-node { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 16px 16px; box-shadow: var(--shadow); text-align: center; counter-increment: flow; }
@media (min-width: 900px) { .flow-node { margin: 0 14px; } }
.flow-node::before { content: counter(flow); position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; font: 700 13px/24px var(--font); }
.flow-node .icon { width: 34px; height: 34px; margin: 4px auto 8px; color: var(--blue); }
.flow-node h3 { font-size: 1rem; margin: 0 0 4px; }
.flow-node p { font-size: .9rem; color: var(--muted); margin: 0; }
.flow-node .tag { display: inline-block; margin-top: 8px; font-size: .75rem; font-weight: 700; color: var(--violet);
  background: #F1EDFF; border-radius: 99px; padding: 2px 9px; }
.flow-node:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -14px; width: 2px; height: 14px;
  background: repeating-linear-gradient(to bottom, var(--blue) 0 4px, transparent 4px 8px); background-size: 2px 16px;
  animation: flow-dash-v 1s linear infinite; }
@media (min-width: 900px) {
  .flow-node:not(:last-child)::after { left: auto; right: -29px; top: 50%; bottom: auto; width: 30px; height: 2px;
    background: repeating-linear-gradient(to right, var(--blue) 0 4px, transparent 4px 8px); background-size: 16px 2px;
    animation-name: flow-dash-h; }
}
@keyframes flow-dash-h { to { background-position: 16px 0; } }
@keyframes flow-dash-v { to { background-position: 0 16px; } }
.flow-node .pulse { position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(50, 107, 250, .35); animation: flow-pulse 6s ease-out infinite; }
@keyframes flow-pulse { 0% { box-shadow: 0 0 0 0 rgba(50,107,250,.35); } 12% { box-shadow: 0 0 0 10px rgba(50,107,250,0); } 100% { box-shadow: 0 0 0 0 rgba(50,107,250,0); } }
.flow-node:nth-child(2) .pulse { animation-delay: 1s; } .flow-node:nth-child(3) .pulse { animation-delay: 2s; }
.flow-node:nth-child(4) .pulse { animation-delay: 3s; } .flow-node:nth-child(5) .pulse { animation-delay: 4s; }
.flow-node:nth-child(6) .pulse { animation-delay: 5s; }
.js .flow-node { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .flow.in-view .flow-node { opacity: 1; transform: none; }
.js .flow.in-view .flow-node:nth-child(2) { transition-delay: .15s; } .js .flow.in-view .flow-node:nth-child(3) { transition-delay: .3s; }
.js .flow.in-view .flow-node:nth-child(4) { transition-delay: .45s; } .js .flow.in-view .flow-node:nth-child(5) { transition-delay: .6s; }
.js .flow.in-view .flow-node:nth-child(6) { transition-delay: .75s; }
.flow-branch { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 700px) { .flow-branch { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
.flow-branch div { border: 1px dashed var(--blue); border-radius: 12px; padding: 10px 12px; font-size: .9rem; background: var(--soft); }
.flow-branch strong { display: block; color: var(--navy); }
.flow-card { background: var(--grey); border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px; margin-top: 28px; }
.flow-card h3 { margin: 0 0 4px; }
.flow-card > p { color: var(--muted); margin: 0; }

/* a chat that plays itself: customer, typing dots, the assistant's reply -- on a loop */
.chat-play { max-width: 420px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow); padding: 16px; font-size: .92rem; }
.chat-play .bar { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
  margin-bottom: 12px; font-weight: 700; }
.chat-play .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.chat-play .msg { max-width: 85%; padding: 9px 12px; border-radius: 14px; margin: 8px 0; opacity: 0; animation: chat-in 14s infinite; }
.chat-play .me { margin-left: auto; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.chat-play .bot { background: var(--grey); border-bottom-left-radius: 4px; }
.chat-play .typing { display: inline-flex; gap: 4px; }
.chat-play .typing b { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: chat-dot 1s infinite; }
.chat-play .typing b:nth-child(2) { animation-delay: .15s; } .chat-play .typing b:nth-child(3) { animation-delay: .3s; }
.chat-play .m1 { animation-delay: 0s; } .chat-play .m2 { animation-name: chat-typing; animation-delay: 1.2s; }
.chat-play .m3 { animation-delay: 2.6s; } .chat-play .m4 { animation-delay: 5s; } .chat-play .m5 { animation-name: chat-typing; animation-delay: 6.2s; }
.chat-play .m6 { animation-delay: 7.6s; }
@keyframes chat-in { 0% { opacity: 0; transform: translateY(8px); } 4%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes chat-typing { 0% { opacity: 0; } 2%, 9% { opacity: 1; } 10%, 100% { opacity: 0; height: 0; padding: 0; margin: 0; } }
@keyframes chat-dot { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-play .note { font-size: .75rem; color: var(--muted); text-align: center; margin-top: 10px; }

/* prices: what each thing costs, and a credit meter */
.price-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.price-list .what { font-weight: 600; } .price-list .what small { display: block; font-weight: 400; color: var(--muted); }
.price-list .amount { font: 800 1.25rem/1 var(--font); color: var(--blue-dark); white-space: nowrap; }
.meter { margin: 18px 0 6px; height: 16px; border-radius: 99px; background: var(--line); overflow: hidden; }
.meter span { display: block; height: 100%; width: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue)); transform-origin: left; animation: meter-drain 9s ease-in-out infinite; }
@keyframes meter-drain { 0% { transform: scaleX(1); } 70% { transform: scaleX(.18); } 80% { transform: scaleX(.18); } 92%, 100% { transform: scaleX(1); } }
.meter-labels { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); }
.big-number { font: 800 clamp(2.4rem, 8vw, 3.6rem)/1 var(--font); color: var(--blue-dark); letter-spacing: -.02em; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 28px 14px 0; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 1.4rem; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 14px; color: var(--muted); }
.faq .bn { display: block; font-weight: 500; color: var(--muted); font-size: .92em; }
.faq-group { margin-top: 26px; }
.faq-group h2 { font-size: 1.3rem; }

@media (prefers-reduced-motion: reduce) {
  .flow-node::after, .flow-node .pulse, .meter span, .chat-play .typing b { animation: none !important; }
  .chat-play .msg { animation: none !important; opacity: 1; }
  .chat-play .m2, .chat-play .m5 { display: none; }
  .js .flow-node { opacity: 1; transform: none; }
}

/* A flow drawn top to bottom at every width (inside a card). */
.flow.flow-vertical { grid-auto-flow: row; grid-auto-columns: auto; gap: 14px; }
.flow.flow-vertical .flow-node { margin: 0; }
.flow.flow-vertical .flow-node:not(:last-child)::after { left: 50%; right: auto; top: auto; bottom: -14px; width: 2px; height: 14px;
  background: repeating-linear-gradient(to bottom, var(--blue) 0 4px, transparent 4px 8px); background-size: 2px 16px;
  animation-name: flow-dash-v; }

.btn-row-center { justify-content: center; }
.grid.align-center { align-items: center; }
