:root {
  --bg: #f6f7f5;
  --surface: #ffffff;
  --surface-soft: #ecf0f0;
  --ink: #1f3038;
  --muted: #626e71;
  --line: #d8dfe0;
  --accent: #b84e31;
  --accent-soft: #f3e5df;
  --blue: #3c5a69;
  --diagram-bg: #e8eef0;
  --diagram-ink: #284756;
  --diagram-line: #abbfc7;
  --button-ink: #ffffff;
  --focus: #b84e31;
}
[data-theme='dark'] {
  --bg: #1a272d;
  --surface: #23333a;
  --surface-soft: #203038;
  --ink: #edf1ed;
  --muted: #a9b7ba;
  --line: #3d4d53;
  --accent: #e39778;
  --accent-soft: #3b302e;
  --blue: #a8c2ce;
  --diagram-bg: #263e4a;
  --diagram-ink: #dfebef;
  --diagram-line: #587784;
  --button-ink: #1a272d;
  --focus: #e39778;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: 'Golos Text', 'Segoe UI', Arial, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button { border: 0; background: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; }
svg { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
::selection { background: var(--accent-soft); color: var(--ink); }
.wrap { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.mono, .small-label, .visual-caption { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; font-weight: 400; }
.eyebrow { font-size: 11px; line-height: 1.4; font-weight: 500; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0, 0, 0, 0); overflow: hidden; white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 50; padding: 12px 20px; color: var(--button-ink); background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: var(--bg); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 94px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 20px; font-weight: 600; line-height: 1.1; letter-spacing: -.035em; }
.brand-symbol { display: grid; place-items: center; position: relative; width: 42px; height: 42px; color: var(--button-ink); background: var(--ink); font-size: 25px; border-radius: 3px; letter-spacing: -.07em; }
.brand-symbol span { position: absolute; top: 4px; right: 5px; color: var(--accent); font-size: 19px; }
.brand-caption { display: block; margin-top: 7px; font-size: 10px; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.desktop-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.desktop-nav a { display: flex; align-items: center; gap: 6px; min-height: 44px; font-size: 13px; color: var(--muted); transition: color .2s; }
.desktop-nav a:hover { color: var(--ink); }
.nav-count { font: 10px Consolas, monospace; color: var(--accent); margin-top: -10px; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.theme-button, .menu-button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 3px; transition: background .2s; }
.theme-button:hover, .menu-button:hover { background: var(--surface-soft); }
.theme-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.theme-button svg path { fill: currentColor; stroke: none; }
.header-contact { min-height: 44px; display: flex; align-items: center; gap: 25px; padding: 0 17px; border: 1px solid var(--ink); border-radius: 3px; font-size: 13px; }
.header-contact:hover { background: var(--ink); color: var(--button-ink); }
.menu-button { display: none; gap: 5px; align-content: center; }
.menu-button span { width: 17px; height: 1px; background: currentColor; }
.mobile-nav { padding-top: 8px; padding-bottom: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.mobile-nav a { min-height: 44px; display: flex; align-items: center; }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; padding-block: 76px 66px; align-items: center; }
.hero .eyebrow { display: flex; align-items: center; gap: 9px; }
.tiny-square { width: 6px; height: 6px; background: var(--accent); }
h1 { font-size: clamp(52px, 5.55vw, 82px); line-height: 1.045; letter-spacing: -.057em; margin-top: 27px; }
h1 span { color: var(--blue); }
.hero-lead { max-width: 485px; margin-top: 28px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 29px; margin-top: 31px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 35px; min-height: 50px; padding: 11px 21px; font-size: 13px; border-radius: 3px; border: 1px solid transparent; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.primary { color: var(--button-ink); background: var(--ink); }
.primary:hover { background: var(--blue); }
.secondary { border-color: var(--line); background: var(--surface); }
.secondary:hover { border-color: var(--ink); }
.text-link { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; font-size: 13px; }
.text-link:hover { color: var(--accent); }
.hero-meta { margin-top: 39px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 11px; color: var(--muted); }
.hero-meta .mono { letter-spacing: .02em; font-size: 10px; color: var(--ink); }
.hero-surface { background: var(--diagram-bg); color: var(--diagram-ink); border: 1px solid var(--diagram-line); border-radius: 4px; transform: rotate(-1.2deg); position: relative; }
.surface-top { padding: 22px 25px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--diagram-line); font-size: 10px; letter-spacing: .08em; }
.surface-index { opacity: .65; }
.architecture { position: relative; height: 335px; overflow: hidden; background-image: radial-gradient(var(--diagram-line) .7px, transparent .7px); background-size: 17px 17px; }
.arch-node { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; width: 139px; min-height: 59px; padding: 12px 13px; border: 1px solid var(--diagram-line); border-radius: 3px; background: var(--bg); color: var(--ink); font-size: 13px; transition: transform .45s, opacity .2s; }
.node-mark { font-size: 9px; color: var(--muted); }
.node-1 { top: 37px; left: 27px; }
.node-2 { top: 37px; right: 27px; }
.node-3 { bottom: 36px; left: 27px; }
.node-4 { bottom: 36px; right: 27px; }
.arch-hub { position: absolute; z-index: 3; top: 50%; left: 50%; width: 178px; min-height: 124px; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 17px 10px; color: var(--button-ink); background: var(--ink); border-radius: 3px; }
.hub-mark { font-size: 17px; font-weight: 600; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.arch-hub strong { font-size: 20px; font-weight: 500; letter-spacing: -.04em; }
.arch-hub > span:last-child { font-size: 10px; margin-top: 7px; opacity: .65; }
.wire { position: absolute; height: 102px; width: calc(50% - 97px); border-color: var(--diagram-line); border-style: solid; border-width: 0; z-index: 1; }
.wire-top-left { top: 66px; left: 97px; border-left-width: 1px; border-bottom-width: 1px; }
.wire-top-right { top: 66px; right: 97px; border-right-width: 1px; border-bottom-width: 1px; }
.wire-bottom-left { bottom: 65px; left: 97px; border-left-width: 1px; border-top-width: 1px; }
.wire-bottom-right { bottom: 65px; right: 97px; border-right-width: 1px; border-top-width: 1px; }
.wire i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); animation: packet 3.4s linear infinite; left: -2px; top: 2px; }
.wire-top-right i, .wire-bottom-right i { left: auto; right: -2px; animation-delay: -.8s; }
.wire-bottom-left i, .wire-bottom-right i { animation-delay: -1.7s; }
@keyframes packet { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(91px); opacity: 0; } }
.surface-bottom { padding: 19px 25px 23px; border-top: 1px solid var(--diagram-line); }
.surface-bottom p { font-size: 11px; min-height: 34px; opacity: .8; }
.surface-tabs { display: flex; gap: 5px; margin-top: 9px; }
.surface-tabs button { min-height: 44px; padding: 0 13px; border: 1px solid transparent; border-radius: 3px; font-size: 11px; }
.surface-tabs button[aria-pressed='true'] { border-color: var(--diagram-line); background: var(--bg); color: var(--ink); }
.surface-tabs button:hover { border-color: var(--diagram-line); }
.architecture.changing .arch-node { opacity: .2; transform: translateY(4px); }
.proof-strip { padding-block: 29px; border-block: 1px solid var(--line); display: flex; align-items: center; gap: 55px; }
.proof-number { display: flex; align-items: center; gap: 16px; font-size: 49px; letter-spacing: -.07em; line-height: 1; }
.proof-number span { font-size: 12px; letter-spacing: 0; max-width: 75px; line-height: 1.5; color: var(--muted); }
.proof-strip p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.proof-link { margin-left: auto; font-size: 12px; display: flex; align-items: center; min-height: 44px; gap: 22px; white-space: nowrap; }
.proof-link:hover { color: var(--accent); }
.section { padding-block: 104px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 41px; }
.section-heading .eyebrow { margin-bottom: 18px; }
h2 { font-size: clamp(33px, 3.35vw, 49px); line-height: 1.12; letter-spacing: -.045em; }
.section-aside { font-size: 13px; line-height: 1.7; color: var(--muted); padding-bottom: 4px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.feature { border: 1px solid var(--line); background: var(--surface); border-radius: 4px; overflow: hidden; }
.case-visual { height: 297px; padding: 24px 28px; display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.visual-caption { font-size: 10px; letter-spacing: .06em; }
.shop-visual { background: var(--surface-soft); }
.shop-map { width: 88%; margin: auto; text-align: center; }
.small-label { font-size: 9px; letter-spacing: .09em; opacity: .7; }
.shop-client { display: flex; flex-direction: column; gap: 3px; margin-bottom: 20px; }
.shop-client strong { font-size: 26px; letter-spacing: -.045em; font-weight: 500; }
.shop-flow { display: flex; gap: 12px; align-items: center; justify-content: center; }
.shop-flow span { padding: 12px 16px; border: 1px solid var(--line); background: var(--surface); border-radius: 3px; font-size: 12px; }
.shop-flow span:last-child { background: var(--ink); color: var(--button-ink); border-color: var(--ink); }
.shop-flow i { font-style: normal; font-size: 13px; color: var(--accent); }
.shop-backoffice { display: flex; gap: 22px; justify-content: center; font-size: 10px; margin-top: 22px; color: var(--muted); }
.shop-backoffice span:not(:last-child)::after { content: '/'; margin-left: 22px; color: var(--line); }
.visual-footer { display: flex; justify-content: space-between; font-size: 10px; opacity: .7; gap: 20px; }
.api-visual { background: var(--diagram-bg); color: var(--diagram-ink); }
.api-map { display: grid; grid-template-columns: .85fr 25px 1fr 1fr; align-items: center; margin-block: auto; gap: 0; }
.api-input { font-size: 15px; }
.api-input span { display: block; margin-top: 8px; font-size: 9px; opacity: .65; }
.api-line { border-top: 1px solid var(--diagram-line); }
.api-router { background: var(--ink); color: var(--button-ink); text-align: center; padding: 19px 7px; border-radius: 3px; display: flex; flex-direction: column; align-items: center; }
.api-router strong { font-size: 26px; font-weight: 500; letter-spacing: -.04em; margin-block: 8px; }
.api-router > span:last-child { font-size: 9px; opacity: .65; }
.api-outputs { display: flex; flex-direction: column; gap: 10px; }
.api-outputs span { border: 1px solid var(--diagram-line); border-radius: 3px; padding: 9px 7px; margin-left: 27px; font-size: 10px; position: relative; text-align: center; }
.api-outputs span::before { content: ''; position: absolute; right: 100%; width: 28px; top: 50%; border-top: 1px solid var(--diagram-line); }
.feature-body { padding: 24px 28px 19px; }
.case-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 13px; }
.case-number { font-size: 11px; color: var(--accent); }
.case-kind { color: var(--muted); font-size: 10px; }
.feature h3 { font-size: 25px; letter-spacing: -.035em; line-height: 1.2; }
.feature p { color: var(--muted); font-size: 13px; line-height: 1.75; margin-top: 13px; max-width: 510px; }
.feature-footer { border-top: 1px solid var(--line); margin-top: 23px; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tech-label { font-size: 10px; color: var(--muted); }
.case-link { font-size: 11px; display: flex; align-items: center; justify-content: flex-end; min-height: 44px; padding: 0; gap: 18px; white-space: nowrap; }
.case-link:hover { color: var(--accent); }
.feature-small { display: flex; gap: 23px; padding: 25px 28px 18px; }
.feature-small .feature-body { padding: 0; flex: 1; min-width: 0; }
.feature-small h3 { font-size: 22px; }
.case-emblem { display: grid; place-items: center; width: 52px; height: 52px; margin-top: 4px; border: 1px solid var(--line); border-radius: 4px; font: 20px Consolas, monospace; flex-shrink: 0; color: var(--blue); background: var(--surface-soft); }
.catalog-section { padding-block: 99px 73px; background: var(--surface-soft); border-block: 1px solid var(--line); }
.heading-count { color: var(--accent); font-size: 14px; font-weight: 400; letter-spacing: -.01em; display: inline-block; vertical-align: top; margin-left: 13px; margin-top: 5px; }
.catalog-toolbar { display: flex; gap: 22px; align-items: center; }
.search-field { display: flex; align-items: center; gap: 15px; background: var(--surface); border: 1px solid var(--line); padding: 0 17px; min-height: 54px; flex: 1; border-radius: 3px; }
.search-field:focus-within { border-color: var(--ink); }
.search-field svg { width: 17px; height: 17px; stroke: var(--muted); fill: none; stroke-width: 1.5; flex-shrink: 0; }
.search-field input { width: 100%; min-width: 0; border: 0; outline: 0; background: none; padding: 15px 0; font-size: 13px; }
.search-field input::placeholder { color: var(--muted); }
.search-field kbd { display: grid; place-items: center; border: 1px solid var(--line); min-width: 22px; min-height: 24px; font: 11px Consolas, monospace; color: var(--muted); border-radius: 2px; }
.status-field { display: flex; align-items: center; gap: 12px; }
.status-field label { font-size: 11px; color: var(--muted); }
.status-field select { min-height: 54px; font-size: 12px; background: var(--surface); padding: 0 37px 0 13px; border: 1px solid var(--line); border-radius: 3px; max-width: 215px; }
.category-filters { display: flex; flex-wrap: wrap; gap: 5px 8px; margin-block: 23px 36px; }
.category-filters button { min-height: 44px; padding: 9px 15px; border: 1px solid transparent; border-radius: 3px; font-size: 11px; white-space: nowrap; display: flex; align-items: center; gap: 9px; }
.category-filters button span { font-size: 9px; opacity: .55; }
.category-filters button:hover { border-color: var(--line); }
.category-filters button[aria-pressed='true'] { color: var(--button-ink); background: var(--ink); }
.catalog-labels { display: flex; justify-content: space-between; padding: 0 8px 14px; font-size: 10px; color: var(--muted); border-bottom: 1px solid var(--line); }
.project-row { width: 100%; text-align: left; display: grid; grid-template-columns: 37px minmax(0, 1fr) 139px 107px 21px; gap: 20px; align-items: center; padding: 21px 8px; min-height: 93px; border-bottom: 1px solid var(--line); transition: background .2s; }
.project-row:hover { background: var(--surface); }
.project-row:hover .project-arrow { transform: translate(2px, -2px); color: var(--accent); }
.project-index { align-self: flex-start; margin-top: 5px; font-size: 10px; color: var(--muted); }
.project-title { display: block; font-size: 15px; letter-spacing: -.02em; font-weight: 500; }
.project-description { display: block; margin-top: 5px; font-size: 11px; color: var(--muted); line-height: 1.6; max-width: 630px; }
.project-category { font-size: 10px; color: var(--muted); }
.project-status { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--muted); }
.project-status::before { content: ''; width: 4px; height: 4px; background: var(--muted); border-radius: 50%; flex-shrink: 0; }
.project-status[data-status='active']::before { background: var(--blue); }
.project-status[data-status='development']::before { background: var(--accent); }
.project-status[data-status='archive']::before { width: 5px; height: 5px; background: none; border: 1px solid var(--muted); border-radius: 0; }
.project-arrow { font-size: 15px; color: var(--muted); transition: transform .2s; }
.catalog-bottom { display: flex; justify-content: space-between; gap: 30px; align-items: center; margin-top: 28px; }
.catalog-bottom p { color: var(--muted); font-size: 10px; line-height: 1.75; }
.empty-state { padding: 65px 0; text-align: center; }
.empty-state h3 { font-size: 24px; letter-spacing: -.03em; }
.empty-state p { margin-block: 13px 23px; color: var(--muted); font-size: 13px; }
.approach-section { display: grid; grid-template-columns: 1fr 1fr; gap: 95px; padding-block: 109px 115px; }
.approach-intro .eyebrow { margin-bottom: 22px; }
.approach-intro h2 { font-size: 56px; }
.approach-intro > p:not(.eyebrow) { max-width: 365px; color: var(--muted); font-size: 14px; line-height: 1.8; margin-top: 25px; }
.stack-note { font-size: 11px; line-height: 2; color: var(--blue); margin-top: 30px; }
.approach-list article { border-top: 1px solid var(--line); padding: 23px 0 31px; }
.approach-list article:last-child { padding-bottom: 0; }
.approach-list .mono { font-size: 9px; color: var(--accent); }
.approach-list h3 { font-size: 20px; letter-spacing: -.03em; margin-top: 10px; }
.approach-list p { margin-top: 10px; font-size: 13px; line-height: 1.75; color: var(--muted); max-width: 445px; }
.contact-section { border-block: 1px solid var(--line); background: var(--diagram-bg); }
.contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 50px; padding-block: 75px; }
.contact-inner .eyebrow { color: var(--accent); margin-bottom: 21px; }
.contact-inner h2 { font-size: clamp(34px, 3.4vw, 48px); }
.contact-inner p:not(.eyebrow) { font-size: 13px; line-height: 1.8; color: var(--muted); margin-top: 20px; }
.contact-actions { min-width: 310px; }
.contact-link { display: flex; align-items: center; justify-content: space-between; gap: 39px; font-size: 35px; letter-spacing: -.05em; border-bottom: 1px solid var(--ink); padding-block: 8px 12px; }
.contact-link span { color: var(--accent); transition: transform .2s; }
.contact-link:hover span { transform: translate(4px, -4px); }
.contact-subline { display: flex; justify-content: space-between; align-items: center; font-size: 11px; margin-top: 6px; color: var(--muted); }
.contact-subline button { min-height: 44px; padding: 0; font-size: 11px; }
.contact-subline button:hover { color: var(--ink); }
.copy-status { display: block; min-height: 20px; font-size: 11px; color: var(--accent); }
.site-footer { min-height: 111px; display: flex; gap: 35px; align-items: center; color: var(--muted); font-size: 10px; }
.footer-brand { font-size: 17px; font-weight: 500; color: var(--ink); letter-spacing: -.04em; min-height: 44px; display: flex; align-items: center; }
.footer-brand span { color: var(--accent); white-space: pre; }
.site-footer > .mono { margin-left: auto; }
.site-footer > a:last-child { display: flex; align-items: center; min-height: 44px; }
dialog { padding: 0; width: min(610px, calc(100% - 36px)); max-height: calc(100dvh - 64px); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 5px; }
dialog::backdrop { background: rgb(10 24 30 / .62); }
.dialog-content { padding: 31px 37px 34px; }
.dialog-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dialog-close { min-width: 44px; min-height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 3px; font-size: 25px; }
.dialog-close:hover { background: var(--surface-soft); }
dialog h2 { font-size: 35px; margin-block: 21px 18px; overflow-wrap: anywhere; }
#dialog-description { font-size: 14px; color: var(--muted); line-height: 1.85; }
.dialog-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-block: 22px; }
.dialog-tags span { padding: 5px 10px; background: var(--surface-soft); border: 1px solid var(--line); font-size: 10px; border-radius: 3px; }
.dialog-facts { border-top: 1px solid var(--line); margin: 0; padding-top: 15px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dialog-facts dt { font-size: 10px; color: var(--muted); }
.dialog-facts dd { font-size: 12px; margin: 6px 0 0; }
.dialog-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 27px; }
.dialog-actions .button { gap: 21px; }
.dialog-actions .text-link { font-size: 11px; }
.dialog-note { font-size: 10px; color: var(--muted); margin-top: 18px; line-height: 1.65; }
body.dialog-open { overflow: hidden; }
.js [data-reveal] { opacity: 0; translate: 0 17px; transition: opacity .6s ease, translate .6s ease; }
.js [data-reveal].is-visible { opacity: 1; translate: 0 0; }
@media (min-width: 1100px) { .feature-large:nth-child(2) { transition-delay: .08s; } }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .hero { grid-template-columns: 1.2fr 1fr; gap: 35px; }
  h1 { font-size: 61px; }
  .desktop-nav { gap: 20px; }
  .brand-caption { display: none; }
  .hero-surface { transform: none; }
  .arch-node { width: 123px; font-size: 11px; padding: 11px 10px; }
  .node-1, .node-3 { left: 17px; }
  .node-2, .node-4 { right: 17px; }
  .case-visual { padding: 22px; }
  .shop-flow { gap: 7px; }
  .shop-flow span { padding: 12px; }
  .feature-small { padding-inline: 23px; gap: 16px; }
  .case-emblem { width: 40px; height: 40px; font-size: 16px; }
  .project-row { grid-template-columns: 26px minmax(0, 1fr) 116px 101px 18px; gap: 15px; }
  .approach-section { gap: 65px; }
}
@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .menu-button { display: grid; }
  .header-inner { min-height: 78px; }
  .header-actions { gap: 10px; }
  .hero { grid-template-columns: 1fr; padding-block: 54px; gap: 43px; }
  .hero-copy { max-width: 650px; }
  h1 { font-size: clamp(53px, 7.6vw, 74px); }
  .hero-lead { max-width: 535px; }
  .hero-meta { margin-top: 30px; }
  .hero-surface { width: min(100%, 630px); }
  .architecture { height: 306px; }
  .arch-node { width: 145px; font-size: 13px; }
  .node-1, .node-3 { left: 30px; }
  .node-2, .node-4 { right: 30px; }
  .wire { height: 85px; }
  .proof-strip { gap: 30px; }
  .proof-link { display: none; }
  .section { padding-block: 78px; }
  .feature-grid { gap: 20px; }
  .feature-footer { flex-wrap: wrap; }
  .case-visual { height: 263px; padding-inline: 20px; }
  .shop-map { width: 100%; }
  .shop-flow { gap: 5px; }
  .shop-flow span { font-size: 10px; padding: 10px 9px; }
  .shop-backoffice { gap: 12px; font-size: 9px; }
  .shop-backoffice span:not(:last-child)::after { margin-left: 12px; }
  .api-map { grid-template-columns: .7fr 12px 1fr 1fr; }
  .api-input { font-size: 12px; }
  .api-input span { font-size: 7px; }
  .api-router strong { font-size: 22px; }
  .api-router .small-label { font-size: 7px; }
  .api-outputs span { font-size: 8px; margin-left: 14px; padding: 10px 4px; }
  .api-outputs span::before { width: 15px; }
  .visual-footer { font-size: 8px; }
  .feature-body { padding-inline: 22px; }
  .feature-small { display: block; }
  .feature-small .case-emblem { display: none; }
  .section-aside { font-size: 11px; }
  .catalog-section { padding-block: 77px 60px; }
  .category-filters { gap: 4px; }
  .category-filters button { padding-inline: 10px; }
  .project-row { grid-template-columns: 23px minmax(0, 1fr) 105px 17px; gap: 15px; }
  .project-category { display: none; }
  .catalog-labels > span:last-child { font-size: 0; }
  .catalog-labels > span:last-child::after { content: 'Статус'; font-size: 10px; }
  .approach-section { gap: 46px; }
  .approach-intro h2 { font-size: 46px; }
  .contact-inner { gap: 35px; }
  .contact-actions { min-width: 230px; }
  .contact-link { font-size: 27px; gap: 20px; }
  .contact-inner h2 { font-size: 33px; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { gap: 12px; min-height: 75px; }
  .brand { font-size: 18px; gap: 9px; }
  .brand-symbol { width: 35px; height: 35px; font-size: 22px; }
  .header-contact { display: none; }
  .header-actions { margin-left: auto; gap: 7px; }
  .hero { padding-block: 38px 40px; gap: 35px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: .07em; }
  h1 { font-size: clamp(45px, 8.8vw, 57px); margin-top: 21px; line-height: 1.06; }
  .hero-lead { font-size: 15px; margin-top: 23px; line-height: 1.7; }
  .hero-actions { gap: 22px; margin-top: 25px; }
  .button { font-size: 12px; padding-inline: 17px; gap: 20px; }
  .hero-actions .text-link { font-size: 11px; }
  .hero-meta { margin-top: 26px; font-size: 10px; }
  .hero-meta .mono { font-size: 9px; }
  .surface-top { padding: 17px 19px; font-size: 9px; }
  .architecture { height: 290px; }
  .arch-node { min-height: 51px; width: 121px; font-size: 11px; gap: 6px; }
  .node-1, .node-3 { left: 17px; }
  .node-2, .node-4 { right: 17px; }
  .node-1, .node-2 { top: 30px; }
  .node-3, .node-4 { bottom: 30px; }
  .arch-hub { min-height: 106px; width: 149px; }
  .arch-hub strong { font-size: 18px; }
  .arch-hub > span:last-child { font-size: 9px; }
  .wire { width: calc(50% - 78px); height: 91px; }
  .wire-top-left, .wire-top-right { top: 55px; }
  .wire-bottom-left, .wire-bottom-right { bottom: 55px; }
  .wire-top-left, .wire-bottom-left { left: 78px; }
  .wire-top-right, .wire-bottom-right { right: 78px; }
  .surface-bottom { padding: 17px 19px; }
  .surface-bottom p { font-size: 10px; min-height: 22px; }
  .surface-tabs { margin-top: 12px; }
  .proof-strip { padding-block: 24px; gap: 24px; align-items: center; }
  .proof-number { font-size: 42px; gap: 11px; }
  .proof-number span { font-size: 10px; max-width: 62px; }
  .proof-strip p { font-size: 10px; }
  .section { padding-block: 64px; }
  .section-heading { display: block; margin-bottom: 29px; }
  h2 { font-size: 35px; }
  .section-heading .eyebrow { font-size: 9px; margin-bottom: 15px; }
  .section-aside { margin-top: 16px; font-size: 11px; }
  .section-aside br { display: none; }
  .feature-grid { grid-template-columns: 1fr; gap: 18px; }
  .case-visual { height: 267px; padding: 22px; }
  .shop-map { width: 90%; }
  .shop-flow { gap: 9px; }
  .shop-flow span { padding: 12px 14px; font-size: 11px; }
  .shop-backoffice { gap: 18px; }
  .shop-backoffice span:not(:last-child)::after { margin-left: 18px; }
  .api-map { grid-template-columns: .8fr 21px 1fr 1fr; }
  .api-input { font-size: 14px; }
  .api-input span { font-size: 8px; }
  .api-outputs span { font-size: 9px; margin-left: 22px; }
  .api-outputs span::before { width: 23px; }
  .visual-footer { font-size: 9px; }
  .feature h3 { font-size: 24px; }
  .feature p { font-size: 12px; }
  .feature-footer { margin-top: 18px; }
  .feature-small { padding: 22px 24px 16px; display: flex; gap: 16px; }
  .feature-small .case-emblem { display: grid; width: 38px; height: 38px; font-size: 15px; }
  .feature-small h3 { font-size: 20px; }
  .feature-small .case-kind { font-size: 9px; }
  .catalog-section { padding-block: 65px 48px; }
  .catalog-toolbar { display: grid; gap: 12px; }
  .search-field { min-height: 52px; }
  .search-field input { font-size: 12px; }
  .search-field kbd { display: none; }
  .status-field { justify-content: space-between; }
  .status-field select { min-height: 44px; max-width: 100%; width: 180px; }
  .category-filters { margin-block: 18px 25px; gap: 3px; }
  .category-filters button { font-size: 10px; padding-inline: 10px; gap: 6px; }
  .catalog-labels { padding-inline: 0; }
  .catalog-labels > span:last-child { display: none; }
  .project-row { grid-template-columns: 20px minmax(0, 1fr) 18px; gap: 11px; padding: 18px 0; }
  .project-main { grid-column: 2; grid-row: 1; }
  .project-index { grid-column: 1; grid-row: 1; }
  .project-arrow { grid-column: 3; grid-row: 1; align-self: start; margin-top: 1px; }
  .project-status { grid-column: 2; grid-row: 2; margin-top: 0; font-size: 9px; }
  .project-title { font-size: 14px; }
  .project-description { font-size: 10px; line-height: 1.6; }
  .catalog-bottom { align-items: flex-start; gap: 18px; flex-direction: column-reverse; }
  .catalog-bottom .button { width: 100%; }
  .catalog-bottom p { font-size: 9px; }
  .approach-section { grid-template-columns: 1fr; gap: 35px; }
  .approach-intro h2 { font-size: 46px; }
  .approach-intro > p:not(.eyebrow) { font-size: 13px; max-width: 100%; }
  .stack-note { margin-top: 20px; }
  .approach-list h3 { font-size: 19px; }
  .approach-list p { font-size: 12px; }
  .contact-inner { flex-direction: column; align-items: stretch; padding-block: 53px; gap: 35px; }
  .contact-inner h2 { font-size: 35px; }
  .contact-inner p:not(.eyebrow) { font-size: 12px; }
  .contact-actions { min-width: 0; }
  .contact-link { font-size: 34px; }
  .site-footer { flex-wrap: wrap; column-gap: 20px; row-gap: 0; padding-block: 24px; }
  .site-footer > span:not(.mono) { order: 4; width: 100%; }
  .site-footer > .mono { margin-left: auto; }
  .dialog-content { padding: 21px 24px 26px; }
  dialog h2 { font-size: 30px; }
  #dialog-description { font-size: 13px; }
  .dialog-facts { gap: 12px; }
  .dialog-facts dd { font-size: 11px; }
}
@media (max-width: 375px) {
  h1 { font-size: 42px; }
  .wrap { width: calc(100% - 32px); }
  .arch-node { width: 109px; }
  .node-1, .node-3 { left: 12px; }
  .node-2, .node-4 { right: 12px; }
  .hero-actions { gap: 14px; }
  .proof-strip { gap: 18px; }
  .proof-strip p { font-size: 9px; }
  .shop-flow { gap: 6px; }
  .shop-flow span { padding: 11px; }
  .feature-small { padding-inline: 19px; }
  .feature-small .case-emblem { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; translate: none; }
}
