/* ==========================================================================
   BinaryViz — light theme
   ========================================================================== */
:root {
	--navy: #1E3A8A;
	--navy-700: #1E40AF;
	--blue: #2563EB;
	--teal: #14B8A6;
	--teal-600: #0D9488;
	--ink: #0F172A;
	--ink-2: #334155;
	--muted: #64748B;
	--line: #E2E8F0;
	--line-2: #EEF2F7;
	--bg: #FFFFFF;
	--bg-soft: #F7F9FC;
	--bg-tint: #EFF6FF;
	--grad: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
	--radius: 14px;
	--radius-lg: 22px;
	--shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
	--shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
	--shadow-lg: 0 30px 70px -25px rgba(30, 58, 138, .35);
	--wrap: 1200px;
	--font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink-2); font: 400 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--teal-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -.015em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid rgba(20, 184, 166, .55); outline-offset: 2px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 999; background: #fff; padding: 10px 14px; left: 10px; top: 10px; }

.bv-wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.bv-section { padding: clamp(64px, 9vw, 112px) 0; }
.bv-section--soft { background: var(--bg-soft); border-block: 1px solid var(--line-2); }
.bv-section--tint { background: linear-gradient(180deg, #F3F8FF 0%, #fff 100%); }
.bv-i { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }

/* ---------- logo ---------- */
.bv-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.bv-logo__mark { width: 40px; height: 40px; }
.bv-logo__text { display: flex; flex-direction: column; line-height: 1; }
.bv-logo__word { font-weight: 800; font-size: 1.45rem; letter-spacing: -.03em; color: var(--ink); }
.bv-logo__word em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bv-logo__tag { font-size: .58rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 5px; }
.bv-logo--dark .bv-logo__word { color: #fff; }
.bv-logo--dark .bv-logo__word em { background: linear-gradient(135deg, #60A5FA, #2DD4BF); -webkit-background-clip: text; background-clip: text; }
.bv-logo--dark .bv-logo__tag { color: #94A3B8; }

/* ---------- buttons ---------- */
.bv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 11px; font-weight: 700; font-size: .95rem; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; font-family: inherit; }
.bv-btn:hover { transform: translateY(-1px); }
.bv-btn--lg { height: 54px; padding: 0 26px; font-size: 1rem; }
.bv-btn--sm { height: 38px; padding: 0 14px; font-size: .88rem; }
.bv-btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(30, 58, 138, .6); }
.bv-btn--primary:hover { color: #fff; box-shadow: 0 14px 30px -10px rgba(30, 58, 138, .7); }
.bv-btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.bv-btn--outline:hover { border-color: var(--navy); color: var(--navy); }
.bv-btn--light { background: #fff; color: var(--navy); }
.bv-btn--light:hover { color: var(--navy-700); }
.bv-btn--ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.bv-btn--ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.bv-link { font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.bv-link .bv-i { transition: transform .2s; }
.bv-link:hover .bv-i { transform: translateX(3px); }

/* ---------- header ---------- */
.bv-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.bv-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.bv-header__inner { display: flex; align-items: center; height: 76px; gap: 28px; }
.bv-nav { margin-left: auto; }
.bv-nav__list, .bv-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.bv-nav a { display: block; padding: 9px 14px; border-radius: 9px; color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.bv-nav a:hover, .bv-nav .current-menu-item > a, .bv-nav .current_page_item > a, .bv-nav .current-menu-parent > a { color: var(--navy); background: var(--bg-tint); }
.bv-header__cta { display: flex; gap: 10px; }
.bv-burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.bv-burger .bv-i { width: 22px; height: 22px; }

/* ---------- hero ---------- */
.bv-hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px); background: radial-gradient(1200px 500px at 85% -10%, rgba(20, 184, 166, .14), transparent 60%), radial-gradient(900px 500px at -10% 10%, rgba(37, 99, 235, .10), transparent 60%), #fff; }
.bv-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); opacity: .7; pointer-events: none; }
.bv-hero__grid { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.bv-head h2 em, .bv-phero h1 em, .bv-hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bv-hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin-bottom: 30px; }
.bv-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.bv-hero__trust { display: flex; gap: 22px; margin-top: 34px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; font-weight: 500; }
.bv-hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.bv-hero__trust .bv-i { color: var(--teal); }
.bv-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 30px; background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink-2); margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.bv-pill b { background: var(--grad); color: #fff; border-radius: 20px; padding: 2px 10px; font-size: .75rem; }
.bv-hero__visual { position: relative; }
.bv-hero__visual .bv-browser { transform: perspective(1800px) rotateY(-6deg) rotateX(2deg); }
.bv-float { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 16px; display: flex; gap: 12px; align-items: center; font-size: .85rem; }
.bv-float strong { display: block; color: var(--ink); font-size: 1.05rem; }
.bv-float small { color: var(--muted); }
.bv-float__ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--grad); }
.bv-float--a { left: -28px; bottom: 34px; }
.bv-float--b { right: -16px; top: -20px; }

/* ---------- browser frame ---------- */
.bv-browser { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.bv-browser__bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #F1F5F9; border-bottom: 1px solid var(--line); }
.bv-browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; }
.bv-browser__bar i:nth-child(1) { background: #F87171; } .bv-browser__bar i:nth-child(2) { background: #FBBF24; } .bv-browser__bar i:nth-child(3) { background: #34D399; }
.bv-browser__bar span { margin-left: 12px; flex: 1; max-width: 300px; height: 22px; border-radius: 6px; background: #fff; border: 1px solid var(--line); font-size: .72rem; color: var(--muted); display: flex; align-items: center; padding: 0 10px; }
.bv-browser__img { width: 100%; height: auto; }

/* ---------- logos strip ---------- */
.bv-clients { padding: 34px 0 10px; }
.bv-clients p { text-align: center; color: var(--muted); font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 22px; }
.bv-clients__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; }
.bv-clients__row span { font-weight: 800; font-size: 1.15rem; color: #94A3B8; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 8px; }
.bv-clients__row span i { width: 22px; height: 22px; border-radius: 6px; background: #CBD5E1; display: inline-block; }

/* ---------- section heading ---------- */
.bv-head { max-width: 720px; margin-bottom: 48px; }
.bv-head--center { margin-inline: auto; text-align: center; }
.bv-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.bv-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 14px; }
.bv-eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--grad); border-radius: 2px; }

/* ---------- cards / grids ---------- */
.bv-grid { display: grid; gap: 24px; }
.bv-grid--2 { grid-template-columns: repeat(2, 1fr); }
.bv-grid--3 { grid-template-columns: repeat(3, 1fr); }
.bv-grid--4 { grid-template-columns: repeat(4, 1fr); }
.bv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: transform .2s, box-shadow .25s, border-color .2s; position: relative; }
.bv-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #CBD5E1; }
.bv-card p { color: var(--muted); margin: 0; }
.bv-card h3 a { color: inherit; }
.bv-card h3 a::after { content: ''; position: absolute; inset: 0; }
.bv-ic { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; color: var(--navy); background: linear-gradient(135deg, rgba(30, 58, 138, .1), rgba(20, 184, 166, .14)); }
.bv-ic .bv-i { width: 24px; height: 24px; }

/* product cards */
.bv-product { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.bv-product__shot { position: relative; background: linear-gradient(160deg, color-mix(in srgb, var(--acc) 14%, #fff), #fff 70%); padding: 22px 22px 0; border-bottom: 1px solid var(--line-2); }
.bv-product__shot img { border-radius: 10px 10px 0 0; border: 1px solid var(--line); border-bottom: 0; box-shadow: 0 -6px 26px -12px rgba(15, 23, 42, .25); aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; width: 100%; }
.bv-product__body { padding: 22px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.bv-product__kind { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; color: var(--acc); margin-bottom: 10px; letter-spacing: .02em; }
.bv-product__kind i { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }
.bv-product__body p { margin-bottom: 18px; }
.bv-product__body .bv-link { margin-top: auto; color: var(--acc); }

/* stats */
.bv-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.bv-stat { padding: 30px 28px; border-right: 1px solid var(--line); }
.bv-stat:last-child { border-right: 0; }
.bv-stat strong { display: block; font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.bv-stat span { color: var(--muted); font-weight: 500; font-size: .95rem; }

/* tabs (product spotlight) */
.bv-tabs__nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.bv-tabs__nav button { font: 600 .92rem var(--font); border: 1px solid var(--line); background: #fff; color: var(--ink-2); padding: 10px 16px; border-radius: 40px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: all .2s; }
.bv-tabs__nav button .bv-i { color: var(--acc); }
.bv-tabs__nav button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.bv-tabs__nav button[aria-selected="true"] .bv-i { color: #fff; }
.bv-tabs__panel { display: grid; grid-template-columns: .85fr 1.4fr; gap: 48px; align-items: center; }
.bv-tabs__panel[hidden] { display: none; }
.bv-ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; }
.bv-ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.bv-ticks .bv-i { color: var(--teal); margin-top: 3px; }

/* process */
.bv-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.bv-step { position: relative; padding-top: 10px; }
.bv-step::before { counter-increment: step; content: '0' counter(step); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 2px solid var(--line); font-weight: 800; color: var(--navy); margin-bottom: 18px; position: relative; z-index: 1; }
.bv-step::after { content: ''; position: absolute; top: 36px; left: 52px; right: -24px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.bv-step:last-child::after { display: none; }
.bv-step p { color: var(--muted); margin: 0; }

/* case studies */
.bv-case { padding: 0; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.bv-case__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); }
.bv-case__img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .5s; }
.bv-case:hover .bv-case__img img { transform: scale(1.04); }
.bv-case__body { padding: 24px 26px 26px; display: flex; flex-direction: column; }
.bv-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.bv-tag { font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; background: var(--bg-tint); color: var(--navy); }
.bv-tag--teal { background: #E6FBF7; color: var(--teal-600); }
.bv-case__nums { display: flex; gap: 26px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-2); }
.bv-case__nums strong { display: block; font-size: 1.35rem; color: var(--ink); letter-spacing: -.02em; }
.bv-case__nums span { font-size: .8rem; color: var(--muted); }

/* testimonials */
.bv-quote { display: flex; flex-direction: column; gap: 18px; }
.bv-quote > .bv-i { width: 30px; height: 30px; color: var(--teal); }
.bv-quote blockquote { margin: 0; color: var(--ink); font-size: 1.04rem; font-weight: 500; }
.bv-person { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.bv-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; background: var(--grad); flex: none; }
.bv-person strong { display: block; color: var(--ink); font-size: .95rem; }
.bv-person span { color: var(--muted); font-size: .85rem; }
.bv-stars { display: flex; gap: 2px; color: #F59E0B; }
.bv-stars .bv-i { width: 16px; height: 16px; fill: currentColor; }

/* tech badges */
.bv-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.bv-badges span { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.bv-center { text-align: center; }
.bv-mt { margin-top: 40px; }

/* CTA band */
.bv-cta { padding: 0 0 clamp(64px, 9vw, 110px); }
.bv-cta__inner { background: var(--grad); border-radius: 28px; padding: clamp(36px, 5vw, 60px); display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; overflow: hidden; }
.bv-cta__inner::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .08); }
.bv-cta h2 { color: #fff; margin-bottom: 8px; }
.bv-cta p { color: rgba(255, 255, 255, .85); margin: 0; max-width: 36em; }
.bv-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- page hero ---------- */
.bv-phero { padding: clamp(48px, 7vw, 84px) 0 clamp(40px, 6vw, 64px); background: radial-gradient(900px 400px at 90% -20%, rgba(20, 184, 166, .13), transparent 60%), linear-gradient(180deg, #F5F9FF, #fff); border-bottom: 1px solid var(--line-2); }
.bv-phero p { font-size: 1.15rem; color: var(--muted); max-width: 40em; margin: 0; }
.bv-phero--center { text-align: center; }
.bv-phero--center p { margin-inline: auto; }
.bv-crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.bv-crumbs a { color: var(--muted); font-weight: 600; }
.bv-crumbs a:hover { color: var(--navy); }

/* product detail */
.bv-prod-hero { display: grid; grid-template-columns: 1fr 1.25fr; gap: 54px; align-items: center; }
.bv-prod-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
.bv-prod-hero__kind { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; color: var(--acc); margin-bottom: 16px; }
.bv-prod-hero__kind .bv-ic { margin: 0; width: 42px; height: 42px; color: var(--acc); background: color-mix(in srgb, var(--acc) 12%, #fff); }
.bv-gallery__main { position: relative; }
.bv-gallery__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.bv-gallery__thumbs button { padding: 0; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; cursor: pointer; background: #fff; transition: border-color .2s; text-align: left; font: inherit; }
.bv-gallery__thumbs button[aria-current="true"] { border-color: var(--acc, var(--navy)); }
.bv-gallery__thumbs img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; width: 100%; }
.bv-gallery__thumbs span { display: block; padding: 7px 10px; font-size: .78rem; font-weight: 600; color: var(--ink-2); border-top: 1px solid var(--line); }
.bv-feature h3 { font-size: 1.08rem; }
.bv-modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bv-modules div { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.bv-modules .bv-i { color: var(--acc, var(--teal)); }
.bv-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.bv-price { display: flex; flex-direction: column; }
.bv-price--hot { border: 2px solid var(--acc, var(--navy)); box-shadow: var(--shadow); }
.bv-price__badge { position: absolute; top: -13px; left: 28px; background: var(--acc, var(--navy)); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.bv-price__amt { font-size: 2.2rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; margin: 6px 0 2px; }
.bv-price__amt small { font-size: .9rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.bv-price .bv-ticks { margin: 20px 0 26px; font-size: .95rem; }
.bv-price .bv-btn { margin-top: auto; }
.bv-faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 0 22px; margin-bottom: 12px; }
.bv-faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.bv-faq summary::-webkit-details-marker { display: none; }
.bv-faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--teal-600); }
.bv-faq details[open] summary::after { content: '–'; }
.bv-faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* case study detail */
.bv-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; margin-top: 34px; }
.bv-facts div { padding: 18px 22px; border-right: 1px solid var(--line); }
.bv-facts div:last-child { border: 0; }
.bv-facts span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.bv-facts strong { color: var(--ink); }
.bv-prose { font-size: 1.06rem; }
.bv-prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.bv-prose h3 { margin-top: 1.4em; }
.bv-prose p, .bv-prose li { color: var(--ink-2); }
.bv-prose li { margin-bottom: .4em; }
.bv-prose img { border-radius: var(--radius); }
.bv-prose blockquote { margin: 1.5em 0; padding: 4px 22px; border-left: 4px solid var(--teal); color: var(--ink); font-weight: 500; }
.bv-narrow { max-width: 780px; margin-inline: auto; }
.bv-bigquote { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px; }
.bv-bigquote blockquote { font-size: 1.3rem; color: var(--ink); font-weight: 600; margin: 14px 0 22px; letter-spacing: -.01em; line-height: 1.5; }

/* services */
.bv-service { display: flex; flex-direction: column; }
.bv-service ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 8px; font-size: .93rem; }
.bv-service li { display: flex; gap: 8px; color: var(--ink-2); }
.bv-service li .bv-i { color: var(--teal); margin-top: 3px; }
.bv-service .bv-link { margin-top: auto; }

/* about */
.bv-timeline { position: relative; display: grid; gap: 26px; padding-left: 30px; }
.bv-timeline::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--navy), var(--teal)); }
.bv-timeline div { position: relative; }
.bv-timeline div::before { content: ''; position: absolute; left: -30px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); }
.bv-timeline strong { color: var(--navy); font-size: .9rem; }
.bv-timeline h3 { margin: 2px 0 4px; font-size: 1.05rem; }
.bv-timeline p { color: var(--muted); margin: 0; }
.bv-team { text-align: center; }
.bv-team .bv-avatar { width: 84px; height: 84px; font-size: 1.6rem; margin: 0 auto 14px; }
.bv-team h3 { margin-bottom: 2px; }
.bv-team p { font-size: .92rem; }

/* contact */
.bv-contact { display: grid; grid-template-columns: 1.45fr 1fr; gap: 40px; align-items: start; }
.bv-contact__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.bv-contact__aside { display: grid; gap: 16px; }
.bv-info { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.bv-info .bv-ic { margin: 0; width: 44px; height: 44px; }
.bv-info h3 { font-size: 1rem; margin-bottom: 2px; }
.bv-info p { margin: 0; color: var(--muted); font-size: .95rem; }
.bv-info a { font-weight: 600; }
.bv-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #EEF2F5; aspect-ratio: 16 / 10; position: relative; }
.bv-map svg { width: 100%; height: 100%; }

/* form */
.bv-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 24px; }
.bv-field { display: flex; flex-direction: column; gap: 7px; border: 0; padding: 0; margin: 0; min-width: 0; }
.bv-field > span { font-size: .88rem; font-weight: 700; color: var(--ink); }
.bv-field--full { grid-column: 1 / -1; }
.bv-field input, .bv-field select, .bv-field textarea { font: 500 .98rem var(--font); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 11px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; width: 100%; }
.bv-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2364748B' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.bv-field textarea { resize: vertical; min-height: 120px; }
.bv-field input:focus, .bv-field select:focus, .bv-field textarea:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(20, 184, 166, .15); }
.bv-field.is-invalid input, .bv-field.is-invalid textarea { border-color: #EF4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, .1); }
.bv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bv-chip input { position: absolute; opacity: 0; pointer-events: none; }
.bv-chip span { display: inline-block; padding: 9px 14px; border-radius: 30px; border: 1.5px solid var(--line); font-size: .88rem; font-weight: 600; cursor: pointer; transition: all .2s; color: var(--ink-2); }
.bv-chip input:checked + span { border-color: var(--navy); background: var(--bg-tint); color: var(--navy); }
.bv-chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(20, 184, 166, .4); }
.bv-check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.bv-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy); }
.bv-check.is-invalid span { color: #DC2626; }
.bv-hp { position: absolute; left: -9999px; }
.bv-alert { display: flex; gap: 12px; padding: 16px 18px; border-radius: 12px; margin-bottom: 22px; font-size: .95rem; }
.bv-alert .bv-i { width: 22px; height: 22px; margin-top: 2px; }
.bv-alert--ok { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.bv-alert--err { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

/* blog */
.bv-post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.bv-post-card__img { aspect-ratio: 16 / 9; background: var(--grad); position: relative; overflow: hidden; }
.bv-post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.bv-post-card__body { padding: 22px 24px 26px; }
.bv-meta { font-size: .85rem; color: var(--muted); display: flex; gap: 12px; margin-bottom: 8px; }
.bv-pager { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.bv-pager .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; }
.bv-pager .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- footer ---------- */
.bv-footer { background: #0B1324; color: #94A3B8; padding: 72px 0 28px; font-size: .95rem; }
.bv-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.bv-footer h4 { color: #fff; font-size: .95rem; letter-spacing: 0; margin-bottom: 16px; }
.bv-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.bv-footer a { color: #CBD5E1; }
.bv-footer a:hover { color: #2DD4BF; }
.bv-footer__about p { margin: 18px 0 20px; max-width: 26em; }
.bv-social { display: flex; gap: 10px; }
.bv-social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid #1E293B; display: grid; place-items: center; }
.bv-footer__contact li { display: flex; gap: 10px; }
.bv-footer__contact .bv-i { color: #2DD4BF; margin-top: 4px; }
.bv-footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid #1E293B; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* ---------- lightbox ---------- */
.bv-lightbox { position: fixed; inset: 0; background: rgba(15, 23, 42, .82); z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; }
.bv-lightbox.is-open { display: flex; }
.bv-lightbox img { max-height: 90vh; width: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.bv-lightbox button { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; display: grid; place-items: center; }
[data-zoom] { cursor: zoom-in; }

/* reveal */
.bv-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.bv-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .bv-reveal { opacity: 1; transform: none; } * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
	.bv-header__cta .bv-btn--outline { display: none; }
	.bv-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.bv-footer__grid { grid-template-columns: 1fr 1fr; }
	.bv-float--a { left: 8px; }
	.bv-float--b { right: 8px; }
}
@media (max-width: 960px) {
	.bv-burger { display: inline-flex; }
	.bv-nav { position: fixed; inset: 76px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 16px 20px; box-shadow: var(--shadow); display: none; margin: 0; }
	.bv-nav.is-open { display: block; }
	.bv-nav__list, .bv-nav ul { flex-direction: column; }
	.bv-nav a { padding: 12px 14px; }
	.bv-header__cta { display: none; }
	.bv-hero__grid, .bv-tabs__panel, .bv-prod-hero, .bv-split, .bv-contact { grid-template-columns: 1fr; }
	.bv-hero__visual .bv-browser { transform: none; }
	.bv-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.bv-stats { grid-template-columns: repeat(2, 1fr); }
	.bv-stat:nth-child(2) { border-right: 0; }
	.bv-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.bv-steps { grid-template-columns: repeat(2, 1fr); }
	.bv-step::after { display: none; }
	.bv-modules { grid-template-columns: repeat(2, 1fr); }
	.bv-facts { grid-template-columns: repeat(2, 1fr); }
	.bv-facts div:nth-child(2) { border-right: 0; }
	.bv-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.bv-cta__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
	body { font-size: 15.5px; }
	.bv-grid--2, .bv-grid--3, .bv-grid--4, .bv-steps, .bv-modules, .bv-form__grid { grid-template-columns: 1fr; }
	.bv-footer__grid { grid-template-columns: 1fr; }
	.bv-float { display: none; }
	.bv-hero__actions .bv-btn { flex: 1; }
	.bv-gallery__thumbs span { display: none; }
	.bv-logo__tag { display: none; }
	.bv-case__nums { gap: 18px; }
}
