:root {
  color-scheme: light;
  --white: #fff;
  --off: #f8fafc;
  --gray: #f1f5f9;
  --ink: #17212b;
  --slate: #64748b;
  --line: #dbe2e9;
  --red: #dd0000;
  --gold: #ffce00;
  --black: #111;
  --container: 1220px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--white); font: 16px/1.55 Inter, Geist, Manrope, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: inherit; }
button, input { font: inherit; }
.tricolor-rule { height: 4px; background: linear-gradient(to right, var(--black) 0 33.333%, var(--red) 33.333% 66.666%, var(--gold) 66.666% 100%); }
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / 96%); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner, main, .footer-inner { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand-mark { width: 23px; height: 22px; display: flex; flex-direction: column; overflow: hidden; border-radius: 2px; }
.brand-mark i { flex: 1; }
.brand-mark i:nth-child(1) { background: var(--black); }
.brand-mark i:nth-child(2) { background: var(--red); }
.brand-mark i:nth-child(3) { background: var(--gold); }
.brand-name { font-size: 18px; font-weight: 750; letter-spacing: -.035em; }
.brand-name span { font-weight: 450; }
.main-nav { display: flex; align-items: center; gap: 27px; }
.main-nav a { color: #344250; font-size: 13px; font-weight: 620; text-decoration: none; }
.main-nav a:hover { color: var(--red); }
.main-nav .nav-company { color: var(--ink); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); color: var(--ink); cursor: pointer; }
main { overflow: clip; }
.hero { min-height: 535px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; padding: 66px 0 54px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 19px; color: var(--slate); font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 25px; height: 3px; background: linear-gradient(to right, var(--black) 0 33%, var(--red) 33% 66%, var(--gold) 66%); }
h1 { max-width: 630px; margin: 0; color: var(--ink); font-size: clamp(44px, 6vw, 72px); line-height: 1.02; letter-spacing: -.065em; }
.hero-subtitle { max-width: 600px; margin: 21px 0 12px; font-size: clamp(18px, 2.2vw, 23px); line-height: 1.35; font-weight: 580; letter-spacing: -.025em; }
.hero-copy { max-width: 590px; margin: 0; color: var(--slate); font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 10px 17px; border: 1px solid var(--ink); border-radius: 5px; color: var(--white); background: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgb(23 33 43 / 12%); }
.button.secondary { color: var(--ink); background: var(--white); border-color: var(--line); }
.button.secondary:hover { border-color: var(--slate); box-shadow: none; }
.button .arrow { color: var(--gold); font-size: 18px; line-height: 1; }
.hero-visual { position: relative; min-height: 345px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: radial-gradient(ellipse at 49% 45%, #fff 5%, #f8fafc 72%); box-shadow: 0 20px 55px rgb(23 33 43 / 8%); }
.hero-visual::before, .hero-visual::after { position: absolute; content: ""; pointer-events: none; }
.hero-visual::before { inset: 14px; border: 1px solid rgb(219 226 233 / 72%); border-radius: 8px; }
.hero-visual::after { width: 44px; height: 4px; top: 14px; left: 14px; background: linear-gradient(to right, var(--black) 0 33%, var(--red) 33% 66%, var(--gold) 66%); }
.hero-diagram { position: relative; z-index: 1; width: min(100% - 36px, 520px); height: auto; }
.hero-diagram .connector { stroke-dasharray: 6 8; animation: flow 2.8s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.diagram-caption { position: absolute; right: 28px; bottom: 26px; display: flex; align-items: center; gap: 8px; color: var(--slate); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #198754; box-shadow: 0 0 0 4px rgb(25 135 84 / 10%); }
.trust-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0 0 48px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.trust-item { min-height: 76px; display: flex; align-items: center; justify-content: center; gap: 11px; padding: 12px 16px; color: #344250; font-size: 13px; font-weight: 650; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-icon { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; border-radius: 7px; background: var(--gray); color: var(--ink); }
.trust-icon svg { width: 16px; height: 16px; }
.section { padding: 60px 0; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 24px; }
.section-heading h2, .section-title { margin: 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.08; letter-spacing: -.05em; }
.section-heading p { max-width: 470px; margin: 0; color: var(--slate); font-size: 14px; }
.catalog-controls { margin-bottom: 23px; }
.search-row { display: flex; gap: 12px; }
.search-wrap { position: relative; flex: 1; }
.search-icon { position: absolute; top: 50%; left: 15px; color: var(--slate); font-size: 19px; transform: translateY(-52%); pointer-events: none; }
input[type="search"] { width: 100%; min-height: 48px; padding: 9px 15px 9px 44px; border: 1px solid #c8d1db; border-radius: 5px; outline: 0; color: var(--ink); background: var(--white); }
input[type="search"]:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgb(23 33 43 / 9%); }
.search-button { min-height: 48px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 5px; color: var(--white); background: var(--ink); font-size: 14px; font-weight: 700; cursor: pointer; }
.filters-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 16px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { min-height: 34px; padding: 5px 13px; border: 1px solid var(--line); border-radius: 99px; color: #43515f; background: var(--white); font-size: 12px; font-weight: 650; cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.filter:hover { border-color: var(--slate); }
.filter[aria-pressed="true"] { border-color: var(--ink); color: var(--white); background: var(--ink); }
.result-count { margin: 0; color: var(--slate); font-size: 12px; white-space: nowrap; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 2px 0 35px; }
.app-item { min-width: 0; min-height: 225px; display: flex; flex-direction: column; padding: 19px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: 0 2px 5px rgb(23 33 43 / 3%); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.app-item:hover { transform: translateY(-3px); border-color: #b4bfca; box-shadow: 0 14px 28px rgb(23 33 43 / 8%); }
.app-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.app-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--off); }
.app-icon svg { width: 22px; height: 22px; }
.free-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid #e8e4d3; border-radius: 99px; color: #66591c; background: #fffdf4; font-size: 10px; font-weight: 720; }
.free-badge i { width: 6px; height: 6px; border-radius: 50%; background: #c5a000; }
.item-category { margin: 0 0 5px; color: var(--slate); font-size: 10px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.app-item h3 { margin: 0; font-size: 19px; line-height: 1.25; letter-spacing: -.035em; }
.purpose { margin: 9px 0 18px; color: #465462; font-size: 13px; line-height: 1.5; }
.item-links { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 13px; border-top: 1px solid var(--gray); }
.item-links a { font-size: 12px; font-weight: 700; text-decoration: none; }
.details-link { color: var(--slate); }
.details-link:hover { color: var(--ink); }
.open-link { margin-left: auto; color: var(--red); }
.open-link:hover { color: #a90000; }
.empty-state { display: none; padding: 25px 0 45px; color: var(--slate); }
.empty-state.visible { display: block; }
.privacy-section { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 55px; padding: 70px 0; border-top: 1px solid var(--line); }
.privacy-copy h2, .infra-copy h2, .free-copy h2, .business-copy h2 { margin: 8px 0 12px; font-size: clamp(27px, 3.5vw, 39px); line-height: 1.08; letter-spacing: -.05em; }
.privacy-copy p, .infra-copy p, .free-copy p, .business-copy p { margin: 0; color: var(--slate); font-size: 14px; }
.privacy-visual { padding: 19px; border: 1px solid var(--line); border-radius: 9px; background: var(--off); }
.flow-nodes { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 11px; }
.flow-node { min-height: 78px; display: grid; place-items: center; gap: 3px; padding: 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); text-align: center; }
.flow-node svg { width: 21px; height: 21px; color: var(--ink); }
.flow-node strong { font-size: 11px; }
.flow-node span { color: var(--slate); font-size: 9px; }
.flow-arrow { color: var(--slate); font-size: 17px; }
.log-lane { display: flex; align-items: center; gap: 9px; margin-top: 12px; padding: 10px 12px; border-top: 1px dashed #c3ccd6; color: var(--slate); font-size: 11px; }
.log-lane svg { width: 16px; height: 16px; flex: 0 0 16px; }
.log-lane strong { color: var(--ink); }
.infra-section { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 40px; padding: 60px 0; border-top: 1px solid var(--line); }
.infra-panel { position: relative; min-height: 240px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--off); }
.infra-panel svg { width: min(100% - 30px, 400px); height: auto; }
.location-label { position: absolute; right: 17px; bottom: 16px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); box-shadow: 0 5px 14px rgb(23 33 43 / 6%); font-size: 11px; font-weight: 700; }
.location-label .pin { width: 8px; height: 8px; border: 2px solid var(--red); border-radius: 50%; box-shadow: 0 0 0 3px rgb(221 0 0 / 10%); }
.infra-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.infra-fact { padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.infra-fact strong { display: block; font-size: 12px; }
.infra-fact span { display: block; margin-top: 2px; color: var(--slate); font-size: 10px; }
.engineering-section { padding: 62px 0; border-top: 1px solid var(--line); }
.engineering-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 25px; }
.engineering-item { min-height: 138px; padding: 17px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); }
.engineering-icon { width: 30px; height: 30px; display: grid; place-items: center; margin-bottom: 13px; border-radius: 6px; color: var(--ink); background: var(--gray); }
.engineering-icon svg { width: 17px; height: 17px; }
.engineering-item h3 { margin: 0 0 4px; font-size: 13px; }
.engineering-item p { margin: 0; color: var(--slate); font-size: 11px; }
.free-section { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; align-items: center; padding: 38px 0 56px; border-top: 1px solid var(--line); }
.free-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.free-point { display: flex; align-items: center; gap: 9px; color: #40505d; font-size: 12px; }
.free-point span { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: #fff5c7; font-size: 11px; font-weight: 800; }
.business-section { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; margin: 0 0 55px; padding: 27px 30px; border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: 7px; background: var(--off); }
.business-copy h2 { margin-top: 0; font-size: 26px; }
.business-copy p { max-width: 720px; }
.business-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 13px; color: #465462; font-size: 11px; }
.business-points span::before { content: "—"; margin-right: 6px; color: var(--red); }
.business-section .button { white-space: nowrap; }
.site-footer { border-top: 1px solid var(--line); background: var(--off); }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; padding: 35px 0 27px; }
.footer-brand { align-self: start; }
.footer-col h2 { margin: 2px 0 10px; color: var(--slate); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.footer-col a { display: block; width: fit-content; margin: 5px 0; color: #3f4c59; font-size: 12px; text-decoration: none; }
.footer-col a:hover { color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; padding: 13px max(24px, calc((100% - var(--container)) / 2)); border-top: 1px solid var(--line); color: var(--slate); font-size: 10px; }
.footer-bottom span:last-child { display: flex; align-items: center; gap: 8px; }
.footer-bottom i { width: 30px; height: 3px; background: linear-gradient(to right, var(--black) 0 33%, var(--red) 33% 66%, var(--gold) 66%); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (min-width: 1240px) { .catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr .9fr; gap: 25px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .engineering-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-section { gap: 28px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .header-inner, main, .footer-inner { width: min(100% - 34px, 560px); }
  .header-inner { min-height: 65px; }
  .nav-toggle { display: grid; place-items: center; }
  .main-nav { position: absolute; top: 65px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 7px 17px 13px; border-bottom: 1px solid var(--line); background: var(--white); box-shadow: 0 12px 20px rgb(23 33 43 / 6%); }
  .main-nav.is-open { display: flex; flex-direction: column; }
  .main-nav a { padding: 12px 4px; border-bottom: 1px solid var(--gray); }
  .main-nav a:last-child { border-bottom: 0; }
  .hero { min-height: unset; grid-template-columns: 1fr; gap: 30px; padding: 48px 0 30px; }
  h1 { max-width: 540px; font-size: clamp(43px, 12vw, 61px); }
  .hero-visual { min-height: 280px; }
  .hero-diagram { width: min(100% - 24px, 470px); }
  .trust-bar { grid-template-columns: 1fr 1fr; margin-bottom: 30px; }
  .trust-item { min-height: 64px; justify-content: flex-start; padding: 10px 12px; font-size: 11px; }
  .trust-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .trust-item:nth-child(4) { border-top: 1px solid var(--line); }
  .section { padding: 45px 0; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 10px; }
  .search-row { flex-direction: column; }
  .search-button { width: 100%; }
  .filters-row { align-items: flex-start; flex-direction: column; }
  .catalog-grid { grid-template-columns: 1fr; gap: 10px; }
  .app-item { min-height: 205px; }
  .privacy-section, .infra-section, .free-section { grid-template-columns: 1fr; gap: 23px; padding: 48px 0; }
  .privacy-visual { padding: 12px; }
  .flow-nodes { gap: 6px; }
  .flow-node { min-height: 75px; padding: 5px; }
  .flow-node strong { font-size: 9px; }
  .flow-node span { font-size: 8px; }
  .flow-arrow { font-size: 13px; }
  .infra-panel { min-height: 220px; }
  .engineering-section { padding: 48px 0; }
  .engineering-grid { grid-template-columns: 1fr 1fr; }
  .business-section { grid-template-columns: 1fr; gap: 17px; margin-bottom: 35px; padding: 21px; }
  .business-section .button { width: 100%; }
  .footer-inner { gap: 22px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { padding-right: 17px; padding-left: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
