:root {
    color-scheme: dark;
    --bg: #060607;
    --text: #eef0f6;
    --muted: #a1a3ab;
    --faint: #777a84;
    --line: rgba(255, 255, 255, .1);
    --surface: #111214;
    --accent: #eef0f6;
    font-family: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
    scroll-padding-top: 110px;
    scrollbar-gutter: stable;
}
*, *::before, *::after { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; background: var(--bg); color: var(--text); }
body.modal-open { overflow: hidden; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; color: inherit; }
button, input, textarea { -webkit-tap-highlight-color: transparent; }
button { border: 0; background: none; }
img { display: block; max-width: 100%; }
svg { width: 20px; height: 20px; flex: none; stroke-width: 1.6; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3, strong { font-weight: 500; }
h1 { font-size: 64px; line-height: 1.1; text-wrap: balance; }
h2 { font-size: 42px; line-height: 1.18; text-wrap: balance; }
h3 { font-size: 22px; line-height: 1.35; }
p, li, h1, h2, h3 { overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid #bbc5d6; outline-offset: 4px; }
::selection { background: #d6d9e2; color: #111; }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow { color: var(--faint); font-size: 13px; margin-bottom: 16px; }
.lead { color: var(--muted); font-size: 19px; line-height: 1.65; max-width: 38em; }
.glass { background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: 999px; font-size: 15px; font-weight: 500; border: 1px solid transparent; transition: background .2s, border-color .2s; text-align: center; }
.btn-primary { background: var(--accent); color: #0a0b10; }
.btn-primary:hover { background: #fff; }
.btn-secondary { background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.15); }
.btn-secondary:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 500; transition: color .2s; }
.text-link:hover { color: #fff; }
.icon-button { width: 44px; height: 44px; padding: 0; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #151618; transition: background .2s; flex: none; }
.icon-button:hover { background: #24262a; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 20px; background: #fff; color: #111; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { width: min(880px, calc(100% - 32px)); height: 64px; padding: 8px 8px 8px 26px; position: fixed; top: calc(16px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-radius: 999px; background: rgba(24,25,28,.84); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.logo { font-size: 21px; font-weight: 600; line-height: 1; flex: none; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 8px 13px; font-size: 14px; color: var(--muted); border-radius: 999px; transition: background .2s, color .2s; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--text); background: rgba(255,255,255,.07); }
.header-actions { display: flex; gap: 8px; align-items: center; }
.header-contact { min-height: 46px; padding-inline: 22px; }
.menu-toggle { display: none; }
.hero { padding: 156px 0 110px; min-height: 710px; display: flex; align-items: center; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.hero h1 { font-size: 64px; max-width: 10em; }
.hero .lead { margin-top: 26px; }
.hero .actions { margin-top: 34px; }
.hero-facts { margin-top: 26px; font-size: 14px; line-height: 1.7; color: var(--faint); }
.hero-scene { position: relative; height: 530px; width: 100%; display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.demo-chat { grid-column: 2; grid-row: 1; width: 100%; padding: 16px; border-radius: 24px; background-color: #111214; }
.demo-chat-header { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.demo-chat-header strong, .demo-chat-header span:not(.demo-avatar):not(.status-dot) { display: block; font-size: 14px; }
.demo-chat-header div > span { color: var(--faint); font-size: 12px !important; }
.demo-avatar { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #22252b; }
.status-dot { width: 6px; height: 6px; background: #98b6ae; border-radius: 50%; margin-left: auto; }
.demo-messages { display: flex; flex-direction: column; gap: 8px; height: 340px; padding-top: 18px; }
.demo-message { flex: none; max-width: 90%; padding: 9px 12px; border-radius: 14px; font-size: 13px; line-height: 1.45; opacity: 0; transform: translateY(5px); transition: opacity .4s, transform .4s; }
.demo-message.is-visible { opacity: 1; transform: none; }
.demo-message.bot { align-self: flex-start; background: #22252a; border-bottom-left-radius: 4px; }
.demo-message.user { align-self: flex-end; background: #31343b; border-bottom-right-radius: 4px; }
.demo-chips { display: flex; gap: 6px; margin-top: 8px; }
.demo-chips span { padding: 4px 10px; background: rgba(255,255,255,.08); border-radius: 6px; font-size: 12px; }
.demo-chips .selected { background: #c9d7db; color: #111; }
.demo-chat-footer { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--faint); padding: 10px 0 0; border-top: 1px solid var(--line); }
.demo-chat-footer svg { width: 15px; height: 15px; }
.demo-dashboard { grid-column: 1; grid-row: 1; align-self: end; width: 100%; padding: 16px; margin-bottom: -48px; border-radius: 20px; background-color: #151619; box-shadow: 0 24px 50px rgba(0,0,0,.25); }
.demo-dashboard-head { display: flex; justify-content: space-between; align-items: center; }
.demo-dashboard-head svg { color: var(--faint); width: 17px; height: 17px; }
.demo-count { font-size: 44px; font-weight: 500; line-height: 1.3; margin-top: 4px; font-variant-numeric: tabular-nums; }
.demo-spark { height: 56px; display: flex; align-items: flex-end; gap: 6px; margin-top: 14px; }
.demo-spark i { flex: 1; height: var(--bar); border-radius: 3px 3px 0 0; background: #454950; }
.demo-spark .last { background: #b5c9c4; transition: height .6s; }
.demo-toast { display: flex; gap: 7px; align-items: center; margin-top: 16px; font-size: 11px; padding: 9px; border-radius: 6px; background: rgba(181,201,196,.08); color: #b5c9c4; opacity: 0; transition: opacity .4s; }
.demo-toast svg { width: 14px; height: 14px; }
.demo-toast.is-visible { opacity: 1; }
.section { padding-bottom: 120px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head > .text-link { flex: none; padding-bottom: 5px; }
.page-section { padding: 156px 0 100px; }
.page-heading { margin-bottom: 64px; }
.page-heading h1 { max-width: 15em; }
.page-heading .lead { margin-top: 24px; }
.showcase { display: grid; grid-template-columns: 275px minmax(0, 1fr); gap: 30px; }
.showcase-tabs { display: flex; flex-direction: column; gap: 6px; }
.showcase-tab { display: grid; grid-template-columns: 22px minmax(0, 1fr) 18px; gap: 12px; align-items: center; padding: 18px 16px; border-radius: 8px; text-align: left; border: 1px solid transparent; transition: background .2s; }
.showcase-tab[aria-selected="true"] { background: #1a1c20; border-color: var(--line); }
.showcase-tab:hover { background: #131518; }
.tab-number { font-size: 11px; color: var(--faint); }
.showcase-tab strong { display: block; font-size: 16px; }
.showcase-tab small { display: block; font-size: 12px; color: var(--faint); margin-top: 3px; }
.showcase-tab svg { width: 17px; height: 17px; color: var(--faint); }
.showcase-panel:not([hidden]) { animation: panel-in .35s ease; }
.showcase-stage { min-width: 0; }
.showcase-image, .project-cover, .case-shot { position: relative; width: 100%; padding: 0; overflow: hidden; display: block; background: #15171a; border: 1px solid var(--line); border-radius: 8px; }
.showcase-image { aspect-ratio: 16/10; }
.showcase-image img, .project-cover img, .case-shot img { width: 100%; height: 100%; object-fit: contain; }
.media-action { position: absolute; right: 12px; bottom: 12px; padding: 7px 10px; border-radius: 6px; background: rgba(10,11,13,.92); border: 1px solid rgba(255,255,255,.2); font-size: 12px; display: flex; align-items: center; gap: 7px; color: #eee; }
.media-action svg { width: 16px; height: 16px; }
.showcase-info { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 22px; padding-top: 24px; }
.showcase-info h3 { font-size: 20px; margin-bottom: 12px; }
.showcase-info p { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.showcase-info .btn { font-size: 13px; padding-inline: 18px; }
.stats-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-block: 1px solid var(--line); }
.stats-strip > div { padding: 32px 24px; }
.stats-strip > div:first-child { padding-left: 0; }
.stats-strip > div + div { border-left: 1px solid var(--line); }
.stats-strip strong { display: block; font-size: 44px; font-variant-numeric: tabular-nums; line-height: 1.2; }
.stats-strip span { display: block; color: var(--muted); font-size: 14px; margin-top: 10px; }
.service-row { display: grid; grid-template-columns: 30px minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; border-top: 1px solid var(--line); padding: 28px 0; align-items: baseline; }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row h3, .service-row h2 { font-size: 22px; font-weight: 500; line-height: 1.4; }
.service-row p { color: var(--muted); max-width: 36em; }
.row-number { font-size: 12px; color: var(--faint); }
.service-note { padding-top: 56px; max-width: 620px; }
.service-note h2 { font-size: 26px; margin-bottom: 16px; }
.service-note p { color: var(--muted); }
.review-feature { padding: 40px 0; border-block: 1px solid var(--line); }
.review-slides { display: grid; }
.review-slides figure { grid-area: 1/1; display: flex; flex-direction: column; justify-content: space-between; }
.review-slides figure[hidden] { display: flex !important; visibility: hidden; pointer-events: none; }
.review-slides blockquote { max-width: 34em; font-size: 28px; font-weight: 400; line-height: 1.5; }
.review-slides figcaption { display: grid; gap: 4px; margin-top: 30px; font-size: 14px; }
.review-slides figcaption > span { color: var(--muted); }
.review-slider-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 32px; }
.arrows { display: flex; gap: 8px; }
.split-section { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 64px; }
.split-section > div:first-child > p.muted { margin: 20px 0 24px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font-size: 18px; line-height: 1.45; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { color: var(--muted); transition: transform .2s; }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item p { margin: 0 36px 24px 0; color: var(--muted); }
.faq-page-list { max-width: 800px; }
.contact-band { padding-top: 64px; border-top: 1px solid var(--line); }
.contact-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.contact-band h2 { margin-bottom: 16px; }
.contact-band p { color: var(--muted); max-width: 30em; }
.contact-band .btn { flex: none; }
.site-footer { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; color: var(--faint); border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 13px; }
.site-footer .logo { color: var(--text); font-size: 18px; }
.site-footer nav { margin-left: auto; display: flex; gap: 22px; }
.site-footer a:hover { color: var(--text); }
.project-filters { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.filter-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.project-filter { font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; transition: background .2s, color .2s; }
.project-filter[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: #111; }
.project-filter:hover:not([aria-pressed="true"]) { background: #1a1c20; }
.filter-count { flex: none; color: var(--faint); font-size: 13px; }
.project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 48px 28px; }
.project-card { min-width: 0; display: flex; flex-direction: column; }
.project-cover { aspect-ratio: 16/10; }
.project-cover img { transition: opacity .2s; }
.project-cover:hover img { opacity: .85; }
.project-cover .media-action { bottom: 8px; right: 8px; font-size: 11px; }
.project-copy { display: flex; flex-direction: column; flex: 1; padding-top: 20px; }
.project-copy .eyebrow { font-size: 11px; margin-bottom: 10px; }
.project-copy h2 { font-size: 21px; line-height: 1.35; margin-bottom: 14px; }
.project-copy > p:not(.eyebrow) { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.project-copy .project-tech { color: var(--faint) !important; margin-top: auto; font-size: 12px !important; }
.project-copy > .text-link { font-size: 14px; padding-top: 4px; }
.placeholder { display: grid; place-items: center; color: var(--faint); font-size: 40px; }
.empty-state { padding: 64px 0; color: var(--muted); }
.back-link { margin-bottom: 36px; color: var(--muted); }
.case-heading h1 { font-size: 54px; max-width: 17em; }
.case-heading .lead { max-width: 44em; }
.case-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.case-shot { aspect-ratio: 16/10; }
.case-shot-featured { grid-column: 1/-1; aspect-ratio: 16/9; }
.case-body { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.5fr); gap: 80px; margin-top: 72px; }
.case-facts > div { padding-block: 18px; border-bottom: 1px solid var(--line); }
.case-facts > div:first-child { padding-top: 0; }
.case-facts span { font-size: 12px; color: var(--faint); }
.case-facts p { font-size: 14px; color: var(--muted); margin-top: 8px; }
.case-facts .btn { margin-top: 24px; }
.case-story section + section { margin-top: 40px; }
.case-story h2 { font-size: 26px; margin-bottom: 20px; }
.case-story p { color: var(--muted); white-space: pre-line; }
.feature-list { list-style: none; margin: 0; padding: 0; color: var(--muted); }
.feature-list li { position: relative; padding: 13px 0 13px 20px; border-bottom: 1px solid var(--line); }
.feature-list li::before { content: ''; width: 4px; height: 4px; position: absolute; left: 0; top: 24px; background: var(--faint); border-radius: 50%; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-tags span { font-size: 13px; padding: 7px 11px; background: #17191c; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); }
.lightbox { width: calc(100% - 48px); max-width: 1480px; height: calc(100dvh - 48px); max-height: 100%; padding: 0; background: #101113; color: var(--text); border: 1px solid #33363c; border-radius: 12px; overflow: hidden; }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
.lightbox::backdrop { background: rgba(0,0,0,.94); }
.lightbox-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; gap: 24px; border-bottom: 1px solid var(--line); }
.lightbox-toolbar > span { font-size: 14px; }
.lightbox-toolbar .icon-button { background: #eee; color: #111; border-color: #eee; }
.lightbox-stage { position: relative; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 16px 64px; }
.lightbox-stage img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; }
.lightbox-prev { left: 12px; }.lightbox-next { right: 12px; }
.lightbox-bottom { display: flex; justify-content: space-between; padding: 14px 20px; gap: 24px; color: var(--muted); border-top: 1px solid var(--line); font-size: 13px; }
.lightbox-bottom .text-link { font-size: 13px; }
.about-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: end; }
.about-heading h1 { font-size: 54px; }
.about-heading .lead { margin-top: 0; }
.about-heading .muted { margin: 22px 0; }
.about-section { padding-top: 88px; }
.prose p { color: var(--muted); }
.prose p + p { margin-top: 22px; }
.technology-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px 32px; }
.technology-grid > div { border-top: 1px solid var(--line); padding-top: 20px; }
.technology-grid h3 { font-size: 17px; margin-bottom: 10px; }
.technology-grid p { color: var(--muted); font-size: 14px; }
.process-list { margin: 0; padding: 0; list-style: none; counter-reset: process; }
.process-list li { padding: 22px 0 22px 44px; border-top: 1px solid var(--line); counter-increment: process; position: relative; }
.process-list li::before { content: '0' counter(process); position: absolute; left: 0; top: 26px; color: var(--faint); font-size: 12px; }
.process-list h3 { font-size: 18px; }
.process-list p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.reviews-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.review-score { flex: none; border-left: 1px solid var(--line); padding-left: 40px; }
.review-score strong { display: block; font-size: 54px; line-height: 1.2; }
.review-score small { font-size: 22px; color: var(--faint); }
.review-score > span { font-size: 13px; color: var(--faint); margin-top: 8px; display: block; }
.reviews-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; align-items: start; }
.review-card { border-radius: 8px; padding: 28px; }
.review-card header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; font-size: 14px; }
.rating { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12px; flex: none; }
.rating svg { width: 14px; height: 14px; }
.review-card blockquote { font-size: 16px; line-height: 1.75; }
.review-project { color: var(--muted); font-size: 13px; margin: 24px 0 8px; }
.contact-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 100px; align-items: start; }
.contact-copy h1 { font-size: 54px; }
.contact-copy .lead { margin-top: 24px; }
.contact-telegram { display: flex; gap: 16px; align-items: center; padding: 22px 0; margin: 26px 0; border-block: 1px solid var(--line); }
.contact-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: #1a1c20; }
.contact-telegram strong, .contact-telegram small { display: block; }
.contact-telegram small { font-size: 13px; color: var(--muted); }
.contact-telegram > svg { margin-left: auto; }
.contact-form { padding: 32px; border-radius: 8px; }
.contact-form h2 { font-size: 24px; margin-bottom: 28px; }
.form-group { margin-bottom: 24px; }
.form-group label { font-size: 13px; color: var(--muted); display: block; margin-bottom: 8px; }
.form-group input, .form-group textarea { width: 100%; color: var(--text); padding: 13px 14px; background: rgba(0,0,0,.2); border: 1px solid #34363c; border-radius: 6px; font-size: 15px; }
.form-group textarea { resize: vertical; min-height: 145px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--faint); }
.contact-form > .small { margin-top: 18px; }
.flash-messages { position: relative; margin-top: 110px; }
.flash-message { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; background: #202829; border: 1px solid #496660; border-radius: 8px; }
.flash-error { background: #2b1e22; border-color: #69414e; }
.error-page { min-height: 80svh; display: flex; align-items: center; }
.error-page .lead { margin-block: 26px 34px; }
.rise { animation: rise .7s ease both; }
.delay-1 { animation-delay: .1s; }.delay-2 { animation-delay: .2s; }.delay-3 { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes panel-in { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 1500px) { .hero { min-height: 780px; } }
@media (max-width: 1100px) {
    h1, .hero h1 { font-size: 54px; }
    .hero-layout { gap: 32px; }
    .hero-scene { height: 540px; }
    .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .showcase { grid-template-columns: 240px minmax(0,1fr); gap: 24px; }
    .showcase-info { grid-template-columns: 1fr; }
    .showcase-info .btn { justify-self: start; }
    .contact-layout { gap: 48px; }
}
@media (max-width: 850px) {
    .hero { min-height: 0; padding-top: 142px; padding-bottom: 80px; }
    .hero-layout { grid-template-columns: 1fr; gap: 48px; }
    .hero-copy { max-width: 660px; }
    .hero-scene { max-width: 480px; margin: auto; height: 550px; }
    .hero h1 { max-width: 12em; }
    .hero .lead { max-width: 30em; }
    .section { padding-bottom: 88px; }
    .showcase { grid-template-columns: 1fr; gap: 20px; }
    .showcase-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
    .showcase-tab { flex: 0 0 190px; padding: 14px 12px; }
    .showcase-tab small { display: none; }
    .showcase-info { grid-template-columns: minmax(0,1fr) auto; }
    .split-section { grid-template-columns: 1fr; gap: 36px; }
    .stats-strip strong { font-size: 34px; }
    .stats-strip > div { padding: 24px 16px; }
    .project-filters { flex-direction: column; align-items: start; gap: 16px; }
    .case-body { gap: 40px; }
    .about-heading { grid-template-columns: 1fr; gap: 32px; }
    .about-heading .lead { max-width: 32em; }
    .about-section { padding-top: 64px; }
    .contact-layout { grid-template-columns: 1fr; gap: 40px; }
    .contact-copy { max-width: 560px; }
}
@media (max-width: 720px) {
    h1, .hero h1 { font-size: 44px; }
    h2 { font-size: 34px; }
    .site-header { height: 60px; padding-left: 20px; gap: 12px; }
    .header-contact { min-height: 42px; padding-inline: 18px; font-size: 13px; }
    .menu-toggle { display: grid; width: 42px; height: 42px; }
    .site-nav { position: absolute; top: calc(100% + 12px); left: 0; right: 0; border-radius: 16px; background: #181a1e; border: 1px solid #383a40; padding: 10px; display: none; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
    .site-nav.is-open { display: grid; }
    .site-nav a { padding: 14px 16px; border-radius: 8px; }
    .lead { font-size: 17px; }
    .page-section { padding-top: 132px; padding-bottom: 72px; }
    .page-heading { margin-bottom: 40px; }
    .section-head { align-items: start; flex-direction: column; gap: 18px; margin-bottom: 28px; }
    .showcase-info { grid-template-columns: 1fr; }
    .stats-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .stats-strip > div { padding: 24px 20px; }
    .stats-strip > div:nth-child(odd) { padding-left: 0; border-left: 0; }
    .stats-strip > div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .service-row { grid-template-columns: 24px minmax(0,1fr); gap: 10px 14px; padding: 24px 0; }
    .service-row p { grid-column: 2; font-size: 15px; }
    .service-row h3, .service-row h2 { font-size: 20px; }
    .review-slides blockquote { font-size: 22px; }
    .review-slider-foot { align-items: end; gap: 12px; }
    .contact-band { padding-top: 44px; }
    .contact-band-inner { flex-direction: column; align-items: start; gap: 26px; }
    .site-footer { gap: 20px; }
    .site-footer nav { margin-left: 0; width: 100%; }
    .site-footer .copyright { margin-left: auto; }
    .project-grid { gap: 40px 20px; }
    .case-heading h1, .about-heading h1, .contact-copy h1 { font-size: 40px; }
    .case-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
    .case-body { grid-template-columns: 1fr; gap: 44px; margin-top: 40px; }
    .technology-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .reviews-heading { flex-direction: column; align-items: start; }
    .review-score { padding-left: 0; border-left: 0; }
    .review-score strong { font-size: 40px; }
    .reviews-grid { grid-template-columns: 1fr; }
    .lightbox { width: calc(100% - 16px); height: calc(100dvh - 24px); border-radius: 8px; }
    .lightbox-toolbar { padding: 10px 12px; gap: 12px; }
    .lightbox-toolbar > span { font-size: 12px; }
    .lightbox-stage { padding: 8px; }
    .lightbox-prev, .lightbox-next { top: auto; bottom: 12px; transform: none; background: rgba(24,26,30,.94); }
    .lightbox-bottom { padding: 14px 12px; }
}
@media (max-width: 500px) {
    .container { width: calc(100% - 32px); }
    h1, .hero h1 { font-size: 40px; }
    h2 { font-size: 30px; }
    .hero { padding-top: 126px; }
    .hero { padding-bottom: 44px; }
    .hero-layout { gap: 28px; }
    .hero .actions { gap: 10px; }
    .hero .btn { padding-inline: 18px; font-size: 13px; }
    .hero-scene { height: 216px; max-width: 360px; display: grid; grid-template-columns: minmax(0,1fr) 108px; gap: 12px; align-items: start; }
    .demo-chat { padding: 12px; grid-column: 1; }
    .demo-chat-header { gap: 8px; }
    .demo-avatar { width: 28px; height: 28px; }
    .demo-chat-header strong { font-size: 12px; }
    .demo-chat-header div > span { font-size: 10px !important; }
    .demo-message { font-size: 12px; max-width: 96%; padding: 8px 10px; }
    .demo-messages { height: 114px; padding-top: 12px; }
    .demo-message:nth-child(-n+3), .demo-chat-footer { display: none; }
    .demo-chips span { padding: 4px 7px; font-size: 10px; }
    .demo-dashboard { padding: 12px; margin: 0; display: block; grid-column: 2; align-self: end; }
    .demo-dashboard-head > span { font-size: 11px; }
    .demo-dashboard-head svg { display: none; }
    .demo-count { font-size: 32px; }
    .demo-spark { gap: 3px; height: 36px; margin-top: 8px; }
    .demo-toast { font-size: 10px; padding: 7px; margin-top: 12px; }
    .demo-toast svg { display: none; }
    .project-grid { grid-template-columns: 1fr; }
    .project-copy h2 { font-size: 22px; }
    .project-filter { font-size: 12px; padding: 9px 13px; }
    .contact-form { padding: 24px 20px; }
    .contact-form h2 { font-size: 22px; }
    .technology-grid { grid-template-columns: 1fr; }
    .case-heading h1, .about-heading h1, .contact-copy h1 { font-size: 36px; }
    .site-footer > span:not(.copyright) { font-size: 12px; }
}
@media (max-width: 360px) {
    .hero { padding-top: 116px; }
    .hero h1 { font-size: 36px; }
    .hero .lead { font-size: 15px; line-height: 1.6; margin-top: 20px; }
    .hero .actions { margin-top: 24px; gap: 8px; }
    .hero .btn { font-size: 12px; padding-inline: 12px; min-height: 44px; gap: 6px; }
    .hero .btn svg { width: 16px; height: 16px; }
    .hero-facts { font-size: 12px; margin-top: 20px; }
    .hero-scene { grid-template-columns: minmax(0,1fr) 96px; gap: 10px; }
    .demo-chat { padding: 10px; }
    .demo-chat-header .status-dot { display: none; }
    .demo-chat-header strong { font-size: 11px; }
    .demo-dashboard { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
