/* Door Soft v3, "terminal" look. Warm paper, ink, brick red for action, field green for "working / passed".
   Martian Mono for headings, labels and numbers; Inter for reading text; Hind Siliguri for Bangla. */
@font-face { font-family: "DS Martian"; src: url(fonts/martian-mono.woff2) format("woff2"); font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap; 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: "DS Inter"; src: url(fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; 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: "DS Hind"; src: url(fonts/hind-siliguri-400.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0-1CF9, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: "DS Hind"; src: url(fonts/hind-siliguri-600.woff2) format("woff2"); font-weight: 500 800; font-display: swap; unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0-1CF9, U+200C-200D, U+20B9, U+25CC, U+A8F1; }

:root {
  --bg: #f4ede0; --surface: #fbf8f1; --tint: #ece4d4; --line: #ddd5c6; --line-2: #c3baa9;
  --fg: #1f1c14; --fg-2: #3a352b; --muted: #665f52;
  --accent: #b5442a; --accent-strong: #933520; --accent-tint: #f1dccd; --on-accent: #ffffff;
  --mint: #3f6a39; --mint-tint: #e1e6d2; --amber: #85570a; --amber-tint: #f3e2c2;
  --violet: #5d4b8f; --violet-tint: #e7e0ee; --rose: #a3364f; --rose-tint: #f3dde1;
  --ink: #1f1c14; --ink-2: #2a261d; --ink-fg: #e6dfd0; --ink-muted: #a69e8e; --ink-line: #3e392e;
  --grid: rgba(31, 28, 20, 0.05); --shadow: 0 1px 0 rgba(31, 28, 20, .05);
  --shadow-lift: 0 1px 0 rgba(31, 28, 20, .06), 0 18px 40px rgba(31, 28, 20, .10);
  --header-bg: rgba(244, 237, 224, 0.92);
  --sans: "DS Inter", "Inter", "DS Hind", "Hind Siliguri", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "DS Martian", "Martian Mono", "DS Hind", "Hind Siliguri", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --mono: "DS Martian", "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1200px; --gutter: 24px; --r: 12px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #16140f; --surface: #1f1c16; --tint: #29251d; --line: #37322a; --line-2: #4b4538;
    --fg: #f1ebdf; --fg-2: #d5cdbe; --muted: #a59d8d;
    --accent: #e27a55; --accent-strong: #f09a78; --accent-tint: #3b2318; --on-accent: #16140f;
    --mint: #9cc68a; --mint-tint: #1f2b1a; --amber: #e8b45c; --amber-tint: #362a12;
    --violet: #bcaee6; --violet-tint: #2a2440; --rose: #f08aa4; --rose-tint: #3d1a25;
    --ink: #0e0c08; --ink-2: #1a1712; --ink-fg: #ddd5c5; --ink-muted: #9a9282; --ink-line: #322d25;
    --grid: rgba(241, 235, 223, 0.04); --shadow: 0 1px 0 rgba(0,0,0,.3);
    --shadow-lift: 0 1px 0 rgba(0,0,0,.35), 0 18px 40px rgba(0,0,0,.45); --header-bg: rgba(22, 20, 15, 0.9);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #16140f; --surface: #1f1c16; --tint: #29251d; --line: #37322a; --line-2: #4b4538;
  --fg: #f1ebdf; --fg-2: #d5cdbe; --muted: #a59d8d;
  --accent: #e27a55; --accent-strong: #f09a78; --accent-tint: #3b2318; --on-accent: #16140f;
  --mint: #9cc68a; --mint-tint: #1f2b1a; --amber: #e8b45c; --amber-tint: #362a12;
  --violet: #bcaee6; --violet-tint: #2a2440; --rose: #f08aa4; --rose-tint: #3d1a25;
  --ink: #0e0c08; --ink-2: #1a1712; --ink-fg: #ddd5c5; --ink-muted: #9a9282; --ink-line: #322d25;
  --grid: rgba(241, 235, 223, 0.04); --shadow: 0 1px 0 rgba(0,0,0,.3);
  --shadow-lift: 0 1px 0 rgba(0,0,0,.35), 0 18px 40px rgba(0,0,0,.45); --header-bg: rgba(22, 20, 15, 0.9);
  color-scheme: dark;
}

/* Base */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(84px + env(safe-area-inset-top, 0px)); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 17px; line-height: 1.62; -webkit-font-smoothing: antialiased; }
main[lang="bn"] { font-size: 1.04em; line-height: 1.72; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--header-bg); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
img, svg { display: block; max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--surface); padding: 8px 12px; z-index: 60; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); letter-spacing: -0.035em; }
h3 { font-size: 1.22rem; line-height: 1.25; letter-spacing: -0.015em; }
main[lang="bn"] h1, main[lang="bn"] h2, main[lang="bn"] h3 { letter-spacing: 0; line-height: 1.3; }
p { margin: 0; }
.lede { font-size: 1.18rem; color: var(--fg-2); max-width: 60ch; }
.small { font-size: 0.88rem; color: var(--muted); }
.ico { flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 8px; font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-strong); color: var(--on-accent); }
.btn-quiet { background: var(--surface); color: var(--fg); border-color: var(--line-2); }
.btn-quiet:hover { border-color: var(--fg); color: var(--fg); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.93rem; border-radius: 8px; }
.btn .ext { opacity: .7; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.linklike { all: unset; cursor: pointer; color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--header-bg); backdrop-filter: saturate(1.5) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font: 800 1.28rem/1 var(--display); letter-spacing: -0.03em; flex: none; }
.logo:hover { color: var(--fg); }
.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav > a, .dd-btn { color: var(--fg-2); text-decoration: none; font: 500 0.97rem/1 var(--sans); padding: 10px 12px; border-radius: 9px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav > a:hover, .dd-btn:hover, .dd-btn[aria-expanded="true"] { color: var(--fg); background: var(--tint); }
.nav > a[aria-current="page"] { color: var(--accent); }
.nav .btn { margin-left: 10px; min-height: 42px; padding: 0 18px; }
.dd { position: relative; }
.dd-btn svg { transition: transform .2s; }
.dd-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.dd-panel { position: absolute; top: calc(100% + 10px); left: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px; box-shadow: var(--shadow-lift); z-index: 40; }
.dd-panel.mega { width: min(720px, 90vw); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega-grid a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--fg); text-decoration: none; font-size: 0.95rem; }
.mega-grid a span { font-size: 0.84rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mega-grid a strong { font-weight: 600; }
.mega-grid a:hover { background: var(--tint); }
.mega-grid a:hover span { color: var(--accent); }
.mega-all { display: block; margin-top: 8px; padding: 12px; border-top: 1px solid var(--line); font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.menu-toggle { display: none; margin-left: auto; background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; height: 42px; padding: 0 14px; font: 600 0.95rem var(--sans); color: var(--fg); cursor: pointer; }

/* Inner page hero */
.page-hero { padding-block: 52px 60px; border-bottom: 1px solid var(--line); background: var(--bg); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.9rem; color: var(--muted); margin: 0 0 22px; list-style: none; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.page-hero h1 { font-size: clamp(2.3rem, 4.5vw, 3.6rem); max-width: 19ch; }
.page-hero .lede { margin-top: 20px; }
.page-hero .btn-row { margin-top: 28px; }
.page-hero .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.glance { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.glance h2 { font-size: 1rem; padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--tint); letter-spacing: -0.01em; }
.glance dl { margin: 0; }
.glance div { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.glance div:last-child { border-bottom: 0; }
.glance dt { color: var(--muted); font-size: 0.9rem; }
.glance dd { margin: 0; font-weight: 600; font-size: 0.97rem; }
.glance .price-big { font: 800 1.6rem/1.1 var(--display); letter-spacing: -0.03em; }
.notice { display: inline-block; font-size: 0.9rem; padding: 8px 14px; border-radius: 10px; background: var(--amber-tint); color: var(--amber); margin-bottom: 20px; }
.updated { margin-top: 18px; font-size: 0.86rem; color: var(--muted); }
.ph { color: var(--amber); background: var(--amber-tint); border-radius: 5px; padding: 0 5px; font-weight: 600; }

/* Short answer (answer-first block) */
.short-answer { border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; background: var(--surface); padding: 24px 28px; box-shadow: var(--shadow); }
.short-answer h2 { font-size: 1.35rem; letter-spacing: -0.02em; }
.short-answer p { margin-top: 10px; color: var(--fg-2); max-width: 75ch; }
.sa-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 24px; margin: 18px 0 0; }
.sa-facts dt { font-size: 0.84rem; color: var(--muted); }
.sa-facts dd { margin: 2px 0 0; font-weight: 600; }

/* Sections */
.band { padding-block: 92px; }
.band.tight { padding-block: 60px; }
.band.tint { background: var(--surface); border-block: 1px solid var(--line); }
.band.ink { background: var(--ink); color: var(--ink-fg); }
.band.ink h2, .band.ink h3, .band.ink strong { color: #fff; }
.band.ink .section-head p { color: var(--ink-muted); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 16px 48px; align-items: end; margin-bottom: 40px; }
.section-head p { color: var(--muted); max-width: 54ch; font-size: 1.04rem; }
.section-foot { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.section-foot a { font-weight: 600; }

/* Prose */
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: 1.75rem; margin-top: 1.9em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose p, .prose li { color: var(--fg-2); }
.prose strong { color: var(--fg); }
.prose blockquote { margin: 1.4em 0; padding: 16px 22px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 12px 12px 0; }
.prose .table-wrap { margin-top: 1.2em; }

/* Lists and blocks */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.features.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px; }
.band.tint .feature { background: var(--bg); }
.feature h3 { font-size: 1.1rem; }
.feature p { margin-top: 8px; color: var(--fg-2); font-size: 0.98rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; color: var(--fg-2); max-width: 70ch; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 18px; height: 18px; border-radius: 50%; background: var(--mint-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%233f6a39' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.split h3 { margin-bottom: 16px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px; min-width: 0; position: relative; }
.band.tint .steps li { background: var(--bg); }
.steps .n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-strong); font: 700 0.9rem/1 var(--sans); }
.steps h3 { margin-top: 14px; font-size: 1.06rem; }
.steps p { margin-top: 6px; color: var(--fg-2); font-size: 0.94rem; }
.steps .when { display: block; margin-top: 4px; font-size: 0.85rem; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font-size: 0.87rem; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--fg-2); text-decoration: none; }
a.pill:hover { border-color: var(--accent); color: var(--accent); }
.tag { display: inline-block; font-size: 0.78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; line-height: 1.2; }
.tag.client { background: var(--amber-tint); color: var(--amber); }
.tag.prod { background: var(--accent-tint); color: var(--accent-strong); }
.tag.sister { background: var(--violet-tint); color: var(--violet); }
.tag.live { background: var(--mint-tint); color: var(--mint); }
.tag.plan { background: var(--violet-tint); color: var(--violet); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
table.data { border-collapse: collapse; width: 100%; font-size: 0.95rem; min-width: 640px; }
table.data th, table.data td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th { background: var(--tint); font-size: 0.86rem; color: var(--muted); font-weight: 600; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td strong { color: var(--fg); }
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.band.tint .faq details { background: var(--bg); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3, .faq summary h2 { font: 600 1.04rem/1.4 var(--sans); letter-spacing: 0; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 500 1.4rem/1 var(--sans); color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq .ans { padding: 0 22px 20px; color: var(--fg-2); max-width: 75ch; }

/* Home hero */
.home-hero { position: relative; overflow: hidden; padding-block: 64px 0; background: var(--bg); }
.home-hero::before { content: none; }
.home-hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 52px; align-items: center; }
.hero-copy h1 { max-width: 14ch; }
.hero-copy .lede { margin-top: 22px; }
.hero-copy .btn-row { margin-top: 30px; }
.hero-note { margin-top: 18px; font-size: 0.92rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-tint); }
.trust { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.trust div { padding: 22px 20px 26px 0; }
.trust div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.trust strong { display: block; font: 800 2.2rem/1 var(--display); letter-spacing: -0.04em; color: var(--fg); }
.trust span { display: block; margin-top: 8px; font-size: 0.93rem; color: var(--muted); }

/* AI at work window */
.aiwork { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lift); overflow: hidden; }
.aiwork-tabs { display: flex; gap: 4px; padding: 10px; border-bottom: 1px solid var(--line); background: var(--tint); }
.aiwork-tabs button { flex: 1; border: 0; background: none; padding: 9px 10px; border-radius: 10px; font: 600 0.9rem/1.2 var(--sans); color: var(--muted); cursor: pointer; display: grid; gap: 2px; text-align: left; }
.aiwork-tabs button span { font-weight: 400; font-size: 0.78rem; }
.aiwork-tabs button[aria-selected="true"] { background: var(--surface); color: var(--fg); box-shadow: var(--shadow); }
.aiwork-panel { padding: 18px; min-height: 360px; }
.aiwork-bar { height: 3px; background: var(--line); }
.aiwork-bar i { display: block; height: 100%; width: 0; background: var(--mint); }
.aiwork.running .aiwork-bar i { animation: fill 6s linear infinite; }
@keyframes fill { from { width: 0; } to { width: 100%; } }
.aiwork-foot { padding: 10px 18px; font-size: 0.8rem; color: var(--muted); border-top: 1px solid var(--line); }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: box-shadow .2s, transform .2s, border-color .2s; min-width: 0; }
.svc:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); border-color: var(--line-2); }
.svc .ico-wrap { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent-strong); }
.svc h3 { margin-top: 6px; font-size: 1.18rem; }
.svc h3 a { color: inherit; text-decoration: none; }
.svc h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.svc p { color: var(--fg-2); font-size: 0.96rem; flex: 1; }
.svc .price { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 14px; margin-top: 4px; border-top: 1px dashed var(--line-2); }
.svc .price strong { font: 800 1.45rem/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.svc .price small { font-size: 0.86rem; color: var(--muted); }
.svc .price .from { font: 500 0.85rem var(--sans); color: var(--muted); margin-right: 4px; letter-spacing: 0; }
.svc .more { font-weight: 600; font-size: 0.93rem; color: var(--accent); }
.svc.hl { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.svc .badge { position: absolute; top: 18px; right: 18px; font-size: 0.75rem; font-weight: 700; color: var(--mint); background: var(--mint-tint); border-radius: 999px; padding: 4px 9px; }
.ops-strip { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 18px 24px; border-radius: var(--r); background: var(--ink); color: var(--ink-fg); }
.ops-strip strong { color: #fff; }
.ops-strip p { flex: 1 1 380px; }
.ops-strip .price-chip { font: 800 1.2rem var(--display); color: #fff; }
.ops-strip a { color: #fff; font-weight: 600; }

/* Portfolio */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button { border: 1px solid var(--line-2); background: var(--surface); color: var(--fg-2); border-radius: 999px; padding: 8px 16px; font: 600 0.9rem var(--sans); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.pf { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: box-shadow .2s, border-color .2s; }
.pf:hover { box-shadow: var(--shadow-lift); border-color: var(--line-2); }
.pf-shot { position: relative; height: 270px; overflow: hidden; padding: 22px 22px 0; background: var(--tint); border-bottom: 1px solid var(--line); box-shadow: inset 0 4px 0 var(--pf-c, var(--accent)); }
.pf-shot .mock { font-size: 13px; box-shadow: var(--shadow-lift); }
.pf-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pf-body .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-body h3 { font-size: 1.35rem; }
.pf-body h3 a { color: inherit; text-decoration: none; }
.pf-body .who { font-size: 0.88rem; color: var(--muted); margin-top: -4px; }
.pf-body p { color: var(--fg-2); font-size: 0.97rem; }
.pf-body .stack { font-size: 0.84rem; color: var(--muted); }
.pf-body .btn-row { margin-top: auto; padding-top: 8px; gap: 10px; }
.bp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bp { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.band.tint .bp { background: var(--bg); }
.bp h3 { font-size: 1.08rem; }
.bp .who { font-size: 0.86rem; color: var(--muted); }
.bp p { font-size: 0.94rem; color: var(--fg-2); flex: 1; }
.bp .stack { font-size: 0.82rem; color: var(--muted); }
.bp a { font-weight: 600; font-size: 0.92rem; }

/* Capabilities */
.cap-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cap { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; min-width: 0; }
.cap .ico-wrap { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--mint-tint); color: var(--mint); }
.cap h3 { margin-top: 14px; font-size: 1.12rem; }
.cap ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.cap li { font-size: 0.94rem; color: var(--fg-2); padding-left: 16px; position: relative; }
.cap li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }
.cap .proof { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.84rem; color: var(--muted); }

/* Team capacity (dark band) */
.capacity { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.cap-big { display: flex; align-items: flex-end; gap: 18px; }
.cap-big strong { font: 800 clamp(5rem, 11vw, 8.5rem)/0.85 var(--display); letter-spacing: -0.06em; color: #fff; }
.cap-big span { font-size: 1.15rem; color: var(--ink-fg); padding-bottom: 8px; max-width: 16ch; }
.rolebar { display: flex; height: 16px; border-radius: 999px; overflow: hidden; margin-top: 30px; gap: 2px; }
.rolebar i { display: block; height: 100%; }
.roles { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.roles li { display: flex; align-items: center; gap: 10px; font-size: 0.96rem; color: var(--ink-fg); }
.roles li b { margin-left: auto; color: #fff; font-variant-numeric: tabular-nums; }
.roles li i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.cap-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cap-facts div { border: 1px solid var(--ink-line); border-radius: 10px; padding: 20px; background: var(--ink-2); }
.cap-facts dt { font-size: 0.88rem; color: var(--ink-muted); }
.cap-facts dd { margin: 6px 0 0; font: 700 1.3rem/1.2 var(--display); color: #fff; letter-spacing: -0.02em; }
.cap-facts dd small { display: block; margin-top: 6px; font: 400 0.88rem/1.4 var(--sans); color: var(--ink-fg); letter-spacing: 0; }
.rc1 { background: #e27a55; } .rc2 { background: #9cc68a; } .rc3 { background: #e8b45c; } .rc4 { background: #bcaee6; } .rc5 { background: #f08aa4; } .rc6 { background: #8fc1c9; } .rc7 { background: #ddd5c5; }

/* Engagement models */
.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.model { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.band.tint .model { background: var(--bg); }
.model h3 { font-size: 1.15rem; }
.model .price { margin-top: 6px; font: 800 1.3rem var(--display); letter-spacing: -0.02em; }
.model p { margin-top: 10px; color: var(--fg-2); font-size: 0.95rem; }
.model .best { margin-top: 12px; font-size: 0.87rem; color: var(--muted); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.quote p { font-size: 1.04rem; color: var(--fg); }
.quote footer { margin-top: auto; font-size: 0.9rem; color: var(--muted); }
.quote .stars { color: var(--amber); letter-spacing: 2px; font-size: 0.95rem; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 28px; box-shadow: var(--shadow); }
.form-card h2, .form-card h3 { font-size: 1.4rem; margin-bottom: 18px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.93rem; }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem var(--sans); color: var(--fg); background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form-actions { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-msg { font-size: 0.92rem; color: var(--mint); }
.form-msg.err { color: var(--rose); }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 26px; }
.side-card + .side-card { margin-top: 18px; }
.side-card h3 { font-size: 1.15rem; margin-bottom: 14px; }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slot { border: 1px solid var(--line-2); background: var(--bg); border-radius: 10px; padding: 10px 6px; font: 600 0.86rem var(--sans); color: var(--fg); cursor: pointer; line-height: 1.3; }
.slot span { display: block; font-weight: 400; color: var(--muted); font-size: 0.78rem; }
.slot[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.slot[aria-pressed="true"] span { color: var(--on-accent); }
.slot-msg { margin-top: 12px; font-size: 0.88rem; color: var(--muted); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list strong { display: block; font-size: 0.86rem; color: var(--muted); font-weight: 500; }
.contact-list span { font-weight: 600; user-select: all; }

/* CTA band and footer */
.cta-band { padding-block: 72px; background: var(--ink); color: var(--ink-fg); }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { margin-top: 12px; max-width: 56ch; }
.cta-band .btn-row { justify-content: flex-end; }
.cta-band .btn-quiet { background: transparent; color: #fff; border-color: var(--ink-line); }
.cta-band .btn-quiet:hover { border-color: #fff; }
footer.site { background: var(--ink); color: var(--ink-fg); padding-block: 64px 28px; border-top: 1px solid var(--ink-line); }
footer.site .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
footer.site .logo { color: #fff; }
footer.site p { margin-top: 14px; font-size: 0.94rem; max-width: 40ch; }
footer.site .small { color: var(--ink-muted); }
footer.site h2 { font: 600 0.95rem var(--sans); color: #fff; letter-spacing: 0; margin-bottom: 14px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
footer.site a { color: var(--ink-fg); text-decoration: none; font-size: 0.94rem; }
footer.site a:hover { color: #fff; }
footer.site .legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--ink-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.86rem; color: var(--ink-muted); }
footer.site .legal span:last-child { display: flex; flex-wrap: wrap; gap: 18px; }

/* Help desk and mobile CTA */
.helpdesk { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 50; display: grid; justify-items: end; gap: 12px; }
.helpdesk-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border: 1px solid var(--ink-line); border-radius: 999px; padding: 12px 18px; font: 600 0.94rem var(--sans); cursor: pointer; box-shadow: var(--shadow-lift); }
.helpdesk-btn .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(156, 198, 138, .28); }
.helpdesk .label-short { display: none; }
.helpdesk-panel { width: min(360px, calc(100vw - 40px)); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lift); overflow: hidden; }
.hp-top { padding: 16px 18px; background: var(--ink); color: var(--ink-fg); }
.hp-top strong { display: block; color: #fff; }
.hp-top span { font-size: 0.84rem; }
.hp-body { padding: 16px; display: grid; gap: 8px; }
.bubble { max-width: 88%; padding: 10px 13px; border-radius: 10px; font-size: 0.92rem; line-height: 1.45; }
.bubble.user { justify-self: end; background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 4px; }
.bubble.ai { background: var(--tint); color: var(--fg); border-bottom-left-radius: 4px; }
.bubble .src { display: block; margin-top: 6px; font-size: 0.76rem; color: var(--muted); }
.hp-foot { padding: 10px 16px; font-size: 0.78rem; color: var(--muted); border-top: 1px solid var(--line); }
.mobile-cta { display: none; }

/* Mock screens (fictional data, em-based so they scale) */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 1em; overflow: hidden; font-size: 15px; line-height: 1.45; color: var(--fg); text-align: left; }
.mock-bar { display: flex; align-items: center; gap: 0.45em; padding: 0.65em 0.9em; background: var(--tint); border-bottom: 1px solid var(--line); font-size: 0.82em; color: var(--muted); }
.mock-bar i { width: 0.62em; height: 0.62em; border-radius: 50%; background: var(--line-2); }
.mock-bar b { margin-left: 0.5em; font-weight: 600; color: var(--fg-2); }
.mock-bar em { margin-left: auto; font-style: normal; }
.mock-body { padding: 1em; display: grid; gap: 0.7em; }
.m-row { display: flex; gap: 0.7em; align-items: center; }
.m-col2 { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0.8em; }
.m-msg { max-width: 88%; padding: 0.6em 0.85em; border-radius: 0.9em; font-size: 0.9em; }
.m-msg.u { justify-self: end; background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 0.25em; }
.m-msg.a { background: var(--tint); border-bottom-left-radius: 0.25em; }
.m-src { display: flex; flex-wrap: wrap; gap: 0.35em; margin-top: 0.45em; }
.m-chip { display: inline-flex; align-items: center; gap: 0.35em; font-size: 0.78em; padding: 0.25em 0.6em; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--fg-2); white-space: nowrap; }
.m-chip.ok { background: var(--mint-tint); color: var(--mint); border-color: transparent; }
.m-chip.warn { background: var(--amber-tint); color: var(--amber); border-color: transparent; }
.m-chip.acc { background: var(--accent-tint); color: var(--accent-strong); border-color: transparent; }
.m-card { border: 1px solid var(--line); border-radius: 0.75em; padding: 0.75em 0.85em; background: var(--surface); }
.m-card h4 { font: 600 0.92em/1.3 var(--sans); letter-spacing: 0; }
.m-card p { font-size: 0.82em; color: var(--muted); margin-top: 0.2em; }
.m-btn { display: inline-block; font-size: 0.8em; font-weight: 600; padding: 0.4em 0.8em; border-radius: 0.55em; background: var(--accent); color: var(--on-accent); }
.m-btn.q { background: var(--tint); color: var(--fg-2); }
.m-label { font-size: 0.74em; color: var(--muted); font-weight: 600; }
.m-mono { font-family: var(--mono); font-size: 0.8em; color: var(--fg-2); }
.m-opt { display: flex; gap: 0.6em; align-items: center; border: 1px solid var(--line); border-radius: 0.6em; padding: 0.45em 0.7em; font-size: 0.86em; }
.m-opt b { width: 1.5em; height: 1.5em; border-radius: 50%; display: grid; place-items: center; background: var(--tint); font-size: 0.85em; flex: none; }
.m-opt.sel { border-color: var(--accent); background: var(--accent-tint); }
.m-bars { display: flex; align-items: flex-end; gap: 0.35em; height: 7.5em; padding-top: 0.5em; border-bottom: 1px solid var(--line); }
.m-bars i { flex: 1; border-radius: 0.3em 0.3em 0 0; background: var(--accent); opacity: .85; }
.m-bars i.f { background: repeating-linear-gradient(135deg, var(--mint) 0 0.3em, color-mix(in srgb, var(--mint) 55%, transparent) 0.3em 0.6em); opacity: 1; }
.m-axis { display: flex; justify-content: space-between; font-size: 0.72em; color: var(--muted); }
.m-cam { position: relative; aspect-ratio: 4 / 3; border-radius: 0.8em; background: linear-gradient(160deg, #3a342a, #1c1914); overflow: hidden; }
.m-cam .face { position: absolute; left: 34%; top: 20%; width: 32%; height: 52%; border-radius: 45% 45% 40% 40%; background: linear-gradient(#6b6355, #4a443a); }
.m-cam .shoulders { position: absolute; left: 18%; right: 18%; bottom: -10%; height: 30%; border-radius: 50% 50% 0 0; background: #4a443a; }
.m-cam .box { position: absolute; left: 30%; top: 15%; width: 40%; height: 62%; border: 2px solid #9cc68a; border-radius: 0.4em; }
.m-cam .box span { position: absolute; top: -1.6em; left: -2px; background: #9cc68a; color: #16200f; font-size: 0.7em; font-weight: 700; padding: 0.15em 0.45em; border-radius: 0.3em; white-space: nowrap; }
.m-cam .rec { position: absolute; right: 0.6em; top: 0.6em; font-size: 0.7em; color: #fff; background: rgba(0,0,0,.45); padding: 0.2em 0.5em; border-radius: 0.3em; }
.m-list { display: grid; gap: 0.4em; }
.m-li { display: flex; justify-content: space-between; align-items: center; gap: 0.6em; font-size: 0.85em; padding: 0.45em 0.6em; border-radius: 0.5em; background: var(--tint); }
.m-li span:last-child { color: var(--muted); white-space: nowrap; }
.m-stage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4em; }
.m-stage div { background: var(--tint); border-radius: 0.6em; padding: 0.5em; min-height: 6.4em; }
.m-stage h5 { margin: 0 0 0.4em; font: 600 0.72em var(--sans); color: var(--muted); }
.m-stage p { font-size: 0.72em; background: var(--surface); border: 1px solid var(--line); border-radius: 0.4em; padding: 0.3em 0.4em; margin-top: 0.3em; }
.m-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35em; }
.m-node { border: 1px solid var(--line-2); background: var(--surface); border-radius: 0.6em; padding: 0.45em 0.6em; font-size: 0.8em; font-weight: 600; display: flex; align-items: center; gap: 0.4em; }
.m-node i { width: 1.4em; height: 1.4em; border-radius: 0.4em; display: inline-grid; place-items: center; font-style: normal; font-size: 0.85em; color: #fff; }
.m-arrow { width: 1.2em; height: 2px; background: var(--line-2); position: relative; }
.m-arrow::after { content: ""; position: absolute; right: -1px; top: -3px; border: 4px solid transparent; border-left-color: var(--line-2); border-right: 0; }
.m-slots { display: flex; gap: 0.4em; flex-wrap: wrap; }
.m-slots span { font-size: 0.8em; border: 1px solid var(--line-2); border-radius: 0.5em; padding: 0.3em 0.6em; }
.m-slots span.on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.mock-cap { font-size: 0.84rem; color: var(--muted); margin-top: 10px; }

/* Case study */
.shots { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.shot { min-width: 0; }
.figure { margin: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 22px; }
.figure .scroll { overflow-x: auto; }
.figure svg { min-width: 760px; max-width: none; width: 100%; height: auto; }
.figure figcaption { margin-top: 12px; font-size: 0.9rem; color: var(--muted); }
.arch .box { fill: var(--surface); stroke: var(--line-2); stroke-width: 1.5; }
.arch .box.hl { stroke: var(--accent); fill: var(--accent-tint); }
.arch text { fill: var(--fg); font-family: var(--sans); font-size: 14px; font-weight: 600; }
.arch text.sub { fill: var(--muted); font-size: 12px; font-weight: 400; }
.arch text.num { fill: var(--accent-strong); font-size: 12px; font-weight: 700; }
.arch .wire { stroke: var(--accent); stroke-width: 1.8; fill: none; }
.arch .head { fill: var(--accent); }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.metric { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; min-width: 0; }
.metric > strong { display: block; font: 800 2.2rem/1.05 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.metric > span { display: block; margin-top: 8px; color: var(--fg-2); font-size: 0.96rem; }
.metric > em { display: block; margin-top: 6px; font-style: normal; font-size: 0.84rem; color: var(--muted); }
.metric .ph { font-size: 0.85em; }
.demo-card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.demo-card h3 { font-size: 1.4rem; }
.demo-card p { margin-top: 10px; color: var(--fg-2); }
.demo-card .btn-row { margin-top: 20px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #1f1c14; border: 0; padding: 0; cursor: pointer; width: 100%; color: #fff; display: grid; place-items: center; font: inherit; }
.video .play { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.95); color: #1f1c14; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.video .play svg { margin-left: 4px; }
.video .vt { position: absolute; left: 16px; bottom: 14px; font-size: 0.9rem; font-weight: 600; }
.video .vnote { position: absolute; inset: auto 12px 12px auto; font-size: 0.8rem; background: rgba(0,0,0,.55); padding: 4px 10px; border-radius: 6px; }
.video.aiwork-video {
  display: grid;
  width: 100%;
  aspect-ratio: auto;
  height: 324px;
  min-height: 324px;
}
.video.aiwork-video .video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.video.aiwork-video .play::before,
.video.aiwork-video .play::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  animation: video-pulse 1.8s ease-out infinite;
  pointer-events: none;
}
.video.aiwork-video .play::after {
  inset: -18px;
  border-color: rgba(255, 255, 255, 0.4);
  animation-delay: 0.6s;
}
@keyframes video-pulse {
  0% { transform: scale(0.85); opacity: 0.85; }
  100% { transform: scale(1.4); opacity: 0; }
}
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 13, 10, 0.72);
}
.video-lightbox[hidden] { display: none !important; }
.video-lightbox-frame {
  position: relative;
  width: min(960px, 100%);
  aspect-ratio: 16 / 9;
  background: #0e0c08;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.video-lightbox-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 81;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #1f1c14;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}
.video-lightbox-close:hover { background: #fff; color: #000; }
.video-lightbox-close svg { display: block; stroke: currentColor; }
/* While the video lightbox is open, hide floating chrome under the dimmer. */
:has(.video-lightbox:not([hidden])) .mobile-cta,
:has(.video-lightbox:not([hidden])) .ds-chat,
:has(.video-lightbox:not([hidden])) .helpdesk { display: none; }
.bigquote { margin: 0; }
.bigquote p { max-width: 32ch; font: 600 clamp(1.45rem, 2.8vw, 2.1rem)/1.3 var(--display); letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
.bigquote footer { margin-top: 16px; color: var(--ink-muted); }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--accent); }
.timeline li { padding: 2px 0 18px 22px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.timeline strong { display: block; }
.timeline span { color: var(--fg-2); font-size: 0.96rem; }
.team-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.team-roles div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.band.tint .team-roles div { background: var(--bg); }
.team-roles strong { display: block; font-size: 0.98rem; }
.team-roles span { font-size: 0.88rem; color: var(--muted); }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.prevnext a { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; text-decoration: none; background: var(--surface); color: var(--fg); }
.prevnext a span { display: block; font-size: 0.84rem; color: var(--muted); }
.prevnext a strong { display: block; margin-top: 4px; font-size: 1.05rem; }
.prevnext a:last-child { text-align: right; }
.prevnext a:hover { border-color: var(--accent); }

/* Services hub */
.compare td:first-child { min-width: 220px; }
.compare td.p { white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.svc-detail { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding-block: 36px; border-top: 1px solid var(--line); }
.svc-detail:first-child { border-top: 0; padding-top: 0; }
.svc-detail h3 { font-size: 1.5rem; display: flex; align-items: center; gap: 12px; }
.svc-detail h3 .ico-wrap { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent-strong); }
.svc-detail > div > p { margin-top: 12px; color: var(--fg-2); max-width: 64ch; }
.svc-detail .ticks { margin-top: 16px; }
.svc-detail aside { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px; align-self: start; }
.svc-detail aside .p { font: 800 1.6rem/1.1 var(--display); letter-spacing: -0.03em; }
.svc-detail aside dl { margin: 12px 0 16px; display: grid; gap: 8px; font-size: 0.92rem; }
.svc-detail aside dt { color: var(--muted); }
.svc-detail aside dd { margin: 0; font-weight: 600; }

/* Blogs */
.blog-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.blog-tools .filters { margin: 0; }
.search { position: relative; flex: 0 1 300px; }
.search input { width: 100%; font: 400 0.98rem var(--sans); color: var(--fg); background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 16px 10px 40px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: box-shadow .2s, transform .2s; position: relative; }
.post-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.post-card .pc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card .pc-body > .tag, .pf-body .tags, .prod-card .p-ico { align-self: flex-start; }
.post-card h3 { font-size: 1.2rem; }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { font-size: 0.95rem; color: var(--fg-2); flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.85rem; color: var(--muted); align-items: center; }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--ink); color: #fff; font: 700 0.75rem var(--sans); flex: none; }
.avatar.lg { width: 56px; height: 56px; font-size: 1.05rem; }
.post-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.post-card.featured .pc-body { padding: 32px; justify-content: center; }
.post-card.featured h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cover { display: block; aspect-ratio: 16 / 9; width: 100%; height: auto; background: var(--tint); }
.post-card.featured .cover { aspect-ratio: auto; height: 100%; min-height: 280px; }
.cover .cv-bg { fill: var(--tint); }
.cover .cv-a { fill: var(--accent); }
.cover .cv-at { fill: var(--accent-tint); }
.cover .cv-m { fill: var(--mint); }
.cover .cv-mt { fill: var(--mint-tint); }
.cover .cv-s { fill: var(--surface); stroke: var(--line-2); }
.cover .cv-l { stroke: var(--line-2); fill: none; stroke-width: 2; }
.cover .cv-ink { fill: var(--fg); }
.no-results { padding: 32px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 10px; }
.article-head { padding-block: 48px 32px; }
.article-head .wrap > * { max-width: 820px; }
.article-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin-top: 14px; }
.article-head .lede { margin-top: 16px; }
.author-row { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: 0.93rem; color: var(--muted); }
.author-row strong { color: var(--fg); display: block; }
.article-cover { max-width: var(--wrap); margin: 0 auto 8px; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }
.article-cover .cover { border-radius: 12px; border: 1px solid var(--line); aspect-ratio: 21 / 8; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 56px; align-items: start; padding-block: 40px 72px; }
.article-grid .prose { font-size: 1.06rem; }
.toc { position: sticky; top: 96px; display: grid; gap: 18px; }
.toc nav { border-left: 2px solid var(--line); }
.toc h2 { font: 600 0.9rem var(--sans); color: var(--muted); letter-spacing: 0; margin-bottom: 10px; }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--fg-2); text-decoration: none; font-size: 0.92rem; line-height: 1.35; }
.toc a:hover { color: var(--accent); }
.toc a.on { color: var(--accent); border-left-color: var(--accent); font-weight: 600; }
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share a, .share button { font: 600 0.85rem var(--sans); border: 1px solid var(--line-2); background: var(--surface); color: var(--fg-2); border-radius: 999px; padding: 7px 12px; text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--accent); color: var(--accent); }
.toc-mobile { display: none; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.toc-mobile summary { padding: 14px 18px; font-weight: 600; cursor: pointer; }
.toc-mobile nav { padding: 0 18px 14px; }
.toc-mobile a { display: block; padding: 5px 0; text-decoration: none; }
.author-box { display: flex; gap: 18px; align-items: flex-start; margin-top: 40px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.author-box strong { font-size: 1.05rem; }
.author-box p { margin-top: 6px; color: var(--fg-2); font-size: 0.95rem; }
.subscribe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.subscribe input { flex: 1 1 240px; font: 400 1rem var(--sans); color: var(--fg); background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; }

/* Products (Bangla) */
.prod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.prod-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; transition: box-shadow .2s, border-color .2s; }
.prod-card:hover { box-shadow: var(--shadow-lift); border-color: var(--line-2); }
.prod-card .p-ico { width: 52px; height: 52px; border-radius: 10px; display: grid; place-items: center; font: 800 1.2rem var(--display); color: #fff; }
.prod-card h3 { font-size: 1.35rem; }
.prod-card .for { font-size: 0.9rem; color: var(--muted); margin-top: -6px; }
.prod-card p { color: var(--fg-2); flex: 1; }
.prod-card .btn-row { gap: 10px; }
.call-box { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; padding: 26px 28px; border-radius: 12px; background: var(--ink); color: var(--ink-fg); }
.call-box strong { color: #fff; font: 800 1.7rem var(--display); letter-spacing: -0.02em; user-select: all; }

/* Responsive */
/* ---------------------------------------------------------------- offers, lead magnet, partners */
.offer-strip { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 24px 28px; border-radius: var(--r); background: var(--mint-tint); border: 1px solid color-mix(in srgb, var(--mint) 30%, transparent); }
.offer-strip > div:first-child { flex: 1 1 420px; min-width: 0; }
.offer-strip h3 { font-size: 1.2rem; }
.offer-strip p { margin-top: 6px; color: var(--fg-2); max-width: 62ch; }
.offer-kicker, .magnet-kicker { font-size: 0.86rem; font-weight: 600; color: var(--mint); margin: 0 0 4px; }
.magnet { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 40px; align-items: center; padding: 30px 32px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.magnet h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.magnet-copy p:last-child { margin-top: 10px; color: var(--fg-2); }
.magnet-form label { font-weight: 600; font-size: 0.93rem; }
.magnet-form .subscribe { margin-top: 8px; }
.magnet-form .small { margin-top: 10px; color: var(--muted); }
.magnet-form .form-msg { margin-top: 8px; }
.prog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.prog { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 26px; display: grid; gap: 10px; align-content: start; }
.band:not(.tint) .prog { background: var(--surface); }
.prog .prog-price { font: 700 1.15rem/1.25 var(--display); color: var(--accent); letter-spacing: -0.01em; }
.prog p { color: var(--fg-2); }
.prog .ticks { margin-top: 6px; }
.call-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.call-box .btn-quiet { background: transparent; color: #fff; border-color: var(--ink-line); }

/* ---------------------------------------------------------------- help desk chat and consent */
.helpdesk-panel:not([hidden]) { display: flex; flex-direction: column; max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); }
.hp-top, .hp-chips, .hp-lead, .hp-input, .hp-foot { flex: 0 0 auto; }
.hp-top span { display: block; margin-top: 3px; line-height: 1.4; }
.hp-body { flex: 1 1 auto; min-height: 140px; overflow-y: auto; overscroll-behavior: contain; }
.bubble a.src { color: var(--accent); text-decoration: none; font-weight: 600; }
.bubble a.src:hover { text-decoration: underline; }
.bubble.note { background: var(--mint-tint); color: var(--fg); }
.hp-chips { display: flex; gap: 6px; padding: 2px 16px 12px; overflow-x: auto; scrollbar-width: none; }
.hp-chips::-webkit-scrollbar { display: none; }
.hp-chips button { flex: 0 0 auto; white-space: nowrap; font: 500 0.82rem var(--sans); color: var(--accent); background: var(--accent-tint); border: 1px solid transparent; border-radius: 999px; padding: 6px 11px; cursor: pointer; }
.hp-chips button:hover { border-color: var(--accent); }
.hp-lead { display: grid; gap: 8px; margin: 0 16px 12px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); }
.hp-lead p { font-size: 0.86rem; color: var(--fg-2); }
.hp-lead input, .hp-input input { width: 100%; min-width: 0; font: 400 0.95rem var(--sans); color: var(--fg); background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; padding: 9px 11px; }
.hp-lead .form-msg { font-size: 0.82rem; }
.hp-input { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); }
.hp-input input { flex: 1 1 auto; }
.hp-lead input:focus, .hp-input input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.consent { position: fixed; left: max(20px, env(safe-area-inset-left, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: min(420px, calc(100vw - 40px)); padding: 18px 20px; display: grid; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lift); font-size: 0.92rem; color: var(--fg-2); }
.consent a { font-weight: 600; }

/* ---------------------------------------------------------------- v3 terminal layer */
h1, h2 { font-family: var(--display); font-weight: 600; font-stretch: 87.5%; letter-spacing: -0.045em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.55rem); line-height: 1.08; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.2rem); line-height: 1.15; }
h3, h4 { font-family: var(--sans); font-weight: 650; }
.hero-copy h1 { max-width: 17ch; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); max-width: 24ch; }
.article-head h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.prose h2 { font-size: 1.4rem; }
.post-card.featured h3 { font-family: var(--display); font-weight: 600; font-stretch: 87.5%; letter-spacing: -0.04em; font-size: clamp(1.35rem, 2.3vw, 1.8rem); }
.logo { font: 700 1.05rem/1 var(--display); font-stretch: 87.5%; letter-spacing: -0.03em; }
.nav > a, .dd-btn { font: 500 0.84rem/1 var(--display); letter-spacing: -0.02em; }
.nav > a.btn-primary { background: var(--accent); color: var(--on-accent); font: 600 0.84rem/1 var(--display); letter-spacing: -0.02em; padding: 0 16px; }
.nav > a.btn-primary:hover { background: var(--accent-strong); color: var(--on-accent); }
.trust strong, .svc .price strong, .glance .price-big, .cap-big strong, .metric > strong, .model .price, .svc-detail aside .p,
.ops-strip .price-chip, .call-box strong, .cap-facts dd, .prog .prog-price, .compare td.p, .prod-card .p-ico {
  font-family: var(--display); font-weight: 600; font-stretch: 87.5%; letter-spacing: -0.04em; }
.trust strong { font-size: 2rem; }
.svc .price strong { font-size: 1.3rem; }
.cap-facts dd { font-size: 1.15rem; }
.bigquote p { font-family: var(--sans); font-weight: 600; }
.tag { font-family: var(--display); font-weight: 500; font-size: 0.7rem; letter-spacing: -0.02em; border-radius: 4px; padding: 4px 8px; }
.crumbs { font-family: var(--display); font-size: 0.76rem; letter-spacing: -0.02em; }
.steps .n { border-radius: 6px; background: var(--fg); color: var(--bg); font: 600 0.78rem/1 var(--display); }
.steps .when, .post-meta, .mega-grid a span, .pf-body .stack, .bp .stack, .cap .proof, .svc .price small, .updated, .mock-cap,
.aiwork-foot, .hp-foot, .pf-body .who, .bp .who, .prod-card .for {
  font-family: var(--display); font-size: 0.72rem; letter-spacing: -0.02em; }
.filters button { font: 500 0.78rem var(--display); letter-spacing: -0.02em; border-radius: 6px; }
.filters button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pill { border-radius: 6px; }
.share a, .share button { border-radius: 6px; font: 500 0.76rem var(--display); letter-spacing: -0.02em; }
.search input { border-radius: 8px; }
.svc:hover, .post-card:hover { transform: none; }
.svc .ico-wrap, .svc-detail h3 .ico-wrap { background: transparent; border: 1px solid var(--line-2); color: var(--fg); border-radius: 8px; }
.cap .ico-wrap { background: transparent; border: 1px solid var(--line-2); color: var(--mint); border-radius: 8px; }
.svc.hl { border-color: var(--accent); box-shadow: inset 0 3px 0 var(--accent); }
.svc .badge { border-radius: 4px; font: 500 0.7rem var(--display); letter-spacing: -0.02em; }
.offer-kicker, .magnet-kicker { font-family: var(--display); font-size: 0.74rem; letter-spacing: -0.02em; }
.prompt { font: 500 0.78rem/1.4 var(--display); letter-spacing: -0.02em; color: var(--mint); margin: 0 0 12px; }
.cta-band .prompt { color: #9cc68a; margin: 0 0 12px; }
.aiwork { border-color: var(--fg); border-radius: 12px; }
.aiwork-tabs { padding: 0; gap: 0; background: var(--tint); }
.aiwork-tabs button { border-radius: 0; padding: 12px 14px; font: 600 0.78rem/1.25 var(--display); letter-spacing: -0.02em; border-right: 1px solid var(--line); color: var(--muted); }
.aiwork-tabs button:last-child { border-right: 0; }
.aiwork-tabs button span { font: 400 0.74rem/1.3 var(--sans); letter-spacing: 0; }
.aiwork-tabs button[aria-selected="true"] { background: var(--surface); box-shadow: inset 0 -2px 0 var(--accent); color: var(--fg); }
.aiwork-bar i { background: var(--accent); }
.mock { border-radius: 0.7em; }
.mock-bar b { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; font-size: 0.92em; }
footer.site h2 { font: 600 0.78rem var(--display); letter-spacing: -0.02em; }
.faq summary::after { font-family: var(--display); }
.glance h2 { font: 600 0.82rem var(--display); letter-spacing: -0.02em; }
.toc h2 { font: 600 0.76rem var(--display); letter-spacing: -0.02em; }
.ops-strip { border-radius: 12px; }
.hp-body { align-content: start; }
.field label { font-weight: 600; }

/* Motion: mock screens play step by step, numbers count up, the closing prompt types itself.
   Hidden states exist only while a scene plays, so nothing is ever missing without JavaScript. */
[data-beat] { transition: opacity .35s ease, transform .35s cubic-bezier(.2, .7, .2, 1); }
.beat-wait { opacity: 0; transform: translateY(6px); }
.m-opt[data-beat] { transition: background-color .3s, border-color .3s; }
.m-opt.beat-wait { opacity: 1; transform: none; }
.m-cam .box.beat-wait { transform: scale(1.12); }
.m-bars.beat-wait { opacity: 1; transform: none; }
.m-bars.beat-wait i { transform: scaleY(0); }
.m-bars i { transform-origin: bottom; }
.m-bars.beat-run i { animation: grow .7s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.m-msg.a { position: relative; }
.m-msg.typing-now { opacity: 1; transform: none; visibility: hidden; }
.m-msg.typing-now > .m-typing { visibility: visible; position: absolute; left: 0; top: 0; }
.m-typing { display: inline-flex; gap: 0.3em; padding: 0.75em 0.9em; align-items: center; background: var(--tint); border-radius: 0.9em 0.9em 0.9em 0.25em; }
.m-typing i { width: 0.42em; height: 0.42em; border-radius: 50%; background: var(--muted); animation: dots 1s infinite both; }
.m-typing i:nth-child(2) { animation-delay: .15s; }
.m-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
/* All hero panels share one grid cell, so the window keeps the height of the tallest scene and nothing below jumps. */
.aiwork-panel { display: grid; }
.aiwork-panel > [role="tabpanel"] { grid-area: 1 / 1; align-self: start; min-width: 0; }
.aiwork-panel > [role="tabpanel"][hidden] { display: block !important; visibility: hidden; }
.pf-shot .mock { transition: transform .3s ease; }
.pf:hover .pf-shot .mock { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .pf:hover .pf-shot .mock { transform: none; } .beat-wait { opacity: 1; transform: none; } .m-bars.beat-wait i { transform: none; } }
.trust strong, .cap-big strong { font-variant-numeric: tabular-nums; }
.prompt .cur { display: inline-block; width: 0.6em; height: 1.05em; margin-left: 0.15em; vertical-align: -0.18em; background: currentColor; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

main[lang="bn"] :is(h1, h2, .crumbs, .prod-card .for, .post-meta, .tag, .steps .when, .pf-body .who, .bp .who, .mock-cap, .updated, .glance h2, .toc h2, .prompt, .filters button, .offer-kicker, .magnet-kicker) { font-family: var(--sans); letter-spacing: 0; font-stretch: 100%; }
main[lang="bn"] :is(.crumbs, .prod-card .for, .post-meta, .tag, .steps .when, .mock-cap, .updated) { font-size: 0.86rem; }

@media (max-width: 1100px) {
  .prog-grid { grid-template-columns: minmax(0, 1fr); }
  /* backdrop-filter on sticky header creates a fixed containing block (~70px tall). */
  .site-header { backdrop-filter: none; background: var(--bg); }
  /* height uses dvh so the open menu fills the screen under the header. */
  .nav {
    position: fixed;
    top: calc(70px + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    bottom: auto;
    height: calc(100dvh - 70px - env(safe-area-inset-top, 0px));
    max-height: calc(100dvh - 70px - env(safe-area-inset-top, 0px));
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    display: none;
    z-index: 35;
  }
  .nav.open { display: flex; }
  /* Floating help desk sits above the closed header; hide it while the menu is open. */
  :has(.nav.open) .helpdesk { display: none; }
  @media (max-width: 760px) {
    .nav {
      padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
    }
  }
  .nav > a, .dd-btn { font-size: 1.08rem; padding: 14px 12px; width: 100%; justify-content: space-between; }
  .nav .btn { margin: 12px 0 0; min-height: 50px; }
  .dd-panel { position: static; width: auto !important; box-shadow: none; border: 0; padding: 0 0 8px 8px; background: transparent; }
  .mega-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .hero-grid, .page-hero-grid, .contact, .capacity, .cta-band .wrap, .demo-card, .split, .article-grid, .svc-detail { grid-template-columns: minmax(0, 1fr); }
  .cta-band .btn-row { justify-content: flex-start; }
  .svc-grid, .bp-grid, .post-grid, .prod-grid, .quotes, .models, .features.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap-grid, .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .sa-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc { display: none; }
  .toc-mobile { display: block; }
  .post-card.featured { grid-template-columns: minmax(0, 1fr); }
  .post-card.featured .cover { min-height: 0; aspect-ratio: 16 / 9; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  .svc-detail aside { max-width: 420px; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  /* Long EN/BN strings in cards must wrap inside the phone column. */
  .short-answer, .form-card, .svc, .prod-card, .pf, .post-card, .magnet { min-width: 0; }
  .short-answer p, .lede, .page-hero p, .hero-copy p, .svc p, .prod-card p { overflow-wrap: break-word; }
  .band { padding-block: 64px; }
  .band.tight { padding-block: 44px; }
  .home-hero { padding-top: 40px; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust div, .trust div + div { padding: 16px 12px 16px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .trust strong { font-size: 1.8rem; }
  .svc-grid, .bp-grid, .post-grid, .prod-grid, .quotes, .models, .pf-grid, .features, .features.c3, .cap-grid, .shots, .cap-facts, .team-roles, .prevnext, .prog-grid, .magnet { grid-template-columns: minmax(0, 1fr); }
  .magnet { padding: 24px 20px; }
  .consent { left: 0; right: 0; width: auto; bottom: calc(66px + env(safe-area-inset-bottom, 0px)); border-radius: 16px 16px 0 0; padding: 16px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); }
  .consent-open .helpdesk { display: none; }
  .helpdesk-panel:not([hidden]) { max-height: calc(100vh - 230px); max-height: calc(100dvh - 230px); }
  .hp-body { min-height: 110px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric > strong { font-size: 1.7rem; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .pf-shot { height: 230px; padding: 16px 16px 0; }
  .pf-shot .mock { font-size: 12px; }
  .aiwork-panel { min-height: 0; padding: 14px; }
  .video.aiwork-video { height: 220px; min-height: 220px; }
  .aiwork { min-width: 0; }
  .hero-grid, .hero-copy { min-width: 0; }
  .video-lightbox { padding: 56px 12px 12px; align-items: start; }
  .video-lightbox-frame { width: 100%; border-radius: 8px; }
  .video-lightbox-close {
    top: max(12px, env(safe-area-inset-top, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
  }
  .aiwork .mock { font-size: 13px; }
  .aiwork-tabs button span { display: none; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .roles { grid-template-columns: minmax(0, 1fr); }
  .m-col2 { grid-template-columns: minmax(0, 1fr); }
  .slots { grid-template-columns: 1fr 1fr; }
  footer.site .cols { grid-template-columns: minmax(0, 1fr); }
  .helpdesk { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); }
  .helpdesk .label-long { display: none; }
  .helpdesk .label-short { display: inline; }
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: var(--header-bg); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mobile-cta .btn { min-height: 46px; padding: 0 10px; font-size: 0.95rem; }
  footer.site { padding-bottom: 100px; }
  .call-box strong { font-size: 1.4rem; }
  .demo-card { padding: 20px; }
  .article-cover .cover { aspect-ratio: 16 / 9; }
}
