@font-face {
  font-family: Inter;
  src: url("assets/fonts/inter-cyrillic-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Inter;
  src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #11141b;
  --muted: #555d6b;
  --line: #dadce0;
  --paper: #f6f6f3;
  --white: #fff;
  --blue: #2348e9;
  --blue-dark: #1636c3;
  --night: #090c13;
  --shell: 1320px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
:where(button, a, input, select, textarea):focus-visible { outline: 3px solid #6589ff; outline-offset: 3px; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sprite, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.shell { width: min(var(--shell), calc(100% - 96px)); margin-inline: auto; }

.top { background: #0d1018; color: #bfc5d2; font-size: 12px; }
.top .shell { min-height: 37px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.top span, .top nav { display: flex; align-items: center; gap: 20px; }
.top span { gap: 6px; }
.top svg { width: 14px; height: 14px; color: #9cabfa; }
.top button, footer button { border: 0; background: none; padding: 0; text-align: left; }
.top a:hover, .top button:hover, footer a:hover, footer button:hover { color: #b2c0ff; }

.header { position: relative; z-index: 2; background: #101621; color: #f4f7ff; border-bottom: 1px solid #263143; }
.head { display: flex; align-items: center; gap: 21px; min-height: 77px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-name { white-space: nowrap; font-weight: 780; font-size: 19px; letter-spacing: -.065em; }
.brand-mark { width: 35px; height: 35px; display: block; flex: none; border-radius: 9px; }
.btn {
  min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 16px; border: 1px solid transparent; border-radius: 7px;
  font-size: 13px; font-weight: 720; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 17px; height: 17px; }
.primary { background: var(--blue); color: #fff; }
.primary:hover { background: var(--blue-dark); }
.secondary { background: #e9edff; color: #183bc7; }
.secondary:hover { background: #dfe6ff; }
.catalog-btn { color: #e7edf9; background: #171e2c; border-color: #35445d; }
.catalog-btn:hover { color: #fff; background: #253550; border-color: #728bc3; }
.search {
  display: flex; align-items: center; gap: 9px; flex: 1; min-width: 0; height: 46px;
  border: 1px solid #35445d; border-radius: 7px; padding: 0 5px 0 12px; color: #aebbd1; background: #171e2c;
}
.search > svg { width: 18px; height: 18px; }
.search input { color: #f6f8ff; background: none; border: 0; outline: none; min-width: 0; width: 100%; height: 100%; font-size: 14px; }
.search input::placeholder { color: #aebbd1; }
.search input:focus-visible { outline: none; }
.search:focus-within { border-color: #6684f7; box-shadow: 0 0 0 1px #6684f7; }
.search button { border: 0; border-radius: 4px; background: #263451; color: #e8efff; padding: 8px 10px; font-weight: 700; font-size: 12px; }
.search button:hover { background: #36548a; }
.utilities { display: flex; gap: 14px; }
.utilities button {
  position: relative; display: grid; justify-items: center; gap: 3px; min-width: 40px; min-height: 39px;
  border: 0; border-radius: 5px; background: none; padding: 3px 0; color: #d7e0f1; font-size: 11px; font-weight: 650;
}
.utilities button:hover { color: #9fb9ff; }
.utilities b { position: absolute; top: -2px; left: 55%; min-width: 16px; padding: 2px 4px; border-radius: 20px; background: var(--blue); color: #fff; font-size: 10px; }

[hidden] { display: none !important; }
.hero {
  --scene: #0b1324;
  --scene-light: #20396c;
  overflow: hidden;
  color: #f4f7ff;
  background: radial-gradient(ellipse at 84% 12%, #152543 0, #0b111d 46%, #0a0e16 78%);
}
.hero[data-theme="phone"] { --scene: #0a171f; --scene-light: #144d60; }
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, .79fr) minmax(0, 1.21fr);
  align-items: center;
  gap: clamp(25px, 4.4vw, 69px);
  padding-block: clamp(35px, 5.2vw, 78px) clamp(31px, 4vw, 58px);
}
.hero-content { padding: 0 0 43px; }
.kicker { margin: 0 0 17px; color: #a8b8f6; font-size: 12px; font-weight: 680; letter-spacing: .105em; text-transform: uppercase; }
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(47px, 6.25vw, 93px);
  font-weight: 720;
  line-height: .96;
  letter-spacing: -.083em;
}
.hero-content > p:not(.kicker) { max-width: 387px; margin: 0 0 28px; color: #b9c6dc; font-size: 16px; line-height: 1.62; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
.hero-actions .btn { min-height: 51px; padding-inline: 17px; gap: 14px; background: #4166ef; color: #fff; }
.hero-actions .btn:hover { background: #294cd9; }
.hero-actions .hero-catalog { min-height: 44px; color: #dbe4fc; }

.hero-gallery { min-width: 0; }
.hero-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1.48;
  margin: 0;
  border: 1px solid #334365;
  border-radius: 12px;
  background: radial-gradient(ellipse at 50% 49%, var(--scene-light), var(--scene) 69%);
}
.hero-poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.slide-controls { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 10px; }
.slide-controls button {
  display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 57px;
  padding: 6px 8px; border: 1px solid #34415a; border-radius: 8px; text-align: left;
  background: #121b2b; color: #cfdbf0; font-size: 12px; font-weight: 680;
  transition: background-color .18s ease, border-color .18s ease;
}
.slide-controls button:hover { background: #1b2d49; border-color: #7893c4; }
.slide-controls .active { border-color: #88a4ff; background: #21365b; color: #fff; }
.slide-controls img { flex: none; display: block; object-fit: contain; width: 38px; height: 38px; border-radius: 4px; }

.shop-content { padding-bottom: clamp(42px, 6vw, 86px); }
.categories-section { margin-top: clamp(37px, 5vw, 69px); }
.inventory { margin-top: clamp(46px, 6vw, 90px); scroll-margin-top: 18px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 19px; }
.section-head h2 { margin: 0; font-size: clamp(30px, 4.1vw, 57px); line-height: 1; font-weight: 720; letter-spacing: -.075em; }
.text-btn { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; border: 0; background: none; color: #2041c6; font-size: 13px; font-weight: 720; white-space: nowrap; }
.text-btn svg { width: 17px; height: 17px; }
.text-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.categories { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.category {
  display: grid; grid-template-rows: 1fr auto; align-items: stretch; gap: 4px;
  padding: 9px 10px 12px; min-width: 0; min-height: 163px; overflow: hidden;
  border: 1px solid #dedfe2; border-radius: 9px; background: #eeefed; text-align: left; font-size: 14px; font-weight: 720;
  transition: background-color .2s ease, border-color .2s ease;
}
.category:hover { background: #e6eafb; border-color: #c3ccef; }
.category img { display: block; width: 100%; height: 115px; object-fit: contain; mix-blend-mode: multiply; }
.category span { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.category svg { width: 15px; height: 15px; color: var(--blue); }
.demo { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.sort select { padding: 9px 11px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 6px; font-size: 13px; }
.filters { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { border: 1px solid var(--line); background: transparent; border-radius: 18px; padding: 7px 12px; font-size: 12px; font-weight: 680; }
.chip[aria-pressed="true"] { background: #151927; border-color: #151927; color: #fff; }
.result-count { font-size: 12px; color: var(--muted); white-space: nowrap; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.product { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 10px; border: 1px solid #e0e1e4; border-radius: 9px; background: #fff; }
.product-visual { width: 100%; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; background: #e3ebf5; border: 0; border-radius: 5px; }
.product-visual img { width: 100%; height: 100%; min-width: 0; object-fit: contain; transition: transform .26s ease; }
.product-visual:hover img { transform: scale(1.035); }
.product-actions { display: flex; gap: 5px; position: absolute; top: 17px; right: 17px; }
.icon-button { display: grid; place-items: center; width: 35px; height: 35px; padding: 0; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.icon-button svg { width: 17px; height: 17px; }
.icon-button:hover, .icon-button[aria-pressed="true"] { color: #2043db; background: #edf1ff; }
.product-label { margin: 13px 3px 4px; color: #344ab2; font-size: 11px; font-weight: 700; }
.product-name { padding: 0; border: 0; background: none; text-align: left; font-size: 16px; line-height: 1.27; font-weight: 760; letter-spacing: -.025em; }
.product > .product-name { margin-inline: 3px; }
.product-name:hover { color: var(--blue); }
.specs { margin: 6px 3px 12px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.buy { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding: 8px 3px 3px; }
.buy .btn { min-height: 35px; padding-inline: 10px; font-size: 12px; }
.quote-price { font-size: 12px; font-weight: 740; }
.empty { grid-column: 1 / -1; padding: 24px; background: #fff; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; }
.empty .btn { margin-top: 10px; }

.device-showcase {
  --scene: #0b101e;
  --scene-glow: #233f77;
  overflow: hidden; margin-top: clamp(43px, 6vw, 88px); border-radius: 10px;
  background: var(--scene); color: #f8faff; scroll-margin-top: 18px;
}
.phone-showcase { --scene: #0d171b; --scene-glow: #164657; margin-top: 16px; }
.pc-showcase-inner { display: grid; grid-template-columns: minmax(340px, 41%) minmax(0, 1fr); min-height: 480px; }
.pc-showcase-copy { z-index: 1; align-self: center; padding: 42px 0 42px clamp(27px, 4.4vw, 64px); }
.pc-showcase-copy h2 { margin: 0 0 22px; font-size: clamp(42px, 5.7vw, 82px); font-weight: 690; line-height: .97; letter-spacing: -.081em; }
.phone-showcase .pc-showcase-inner { grid-template-columns: minmax(0, 1fr) minmax(340px, 44%); }
.phone-showcase .pc-showcase-copy { grid-column: 2; grid-row: 1; padding: 42px 34px 42px 15px; }
.phone-showcase .pc-showcase-stage { grid-column: 1; grid-row: 1; }
.phone-showcase .kicker { color: #a4d6de; }
.pc-showcase-options { display: flex; flex-wrap: wrap; gap: 6px; }
.pc-showcase-options button {
  padding: 8px 9px; border: 1px solid #5a6579; border-radius: 6px;
  background: #172034; color: #ecf0fc; font-size: 12px; font-weight: 660;
  transition: background-color .18s ease, color .18s ease;
}
.pc-showcase-options button:hover { background: #283a62; }
.pc-showcase-options button[aria-pressed="true"] { background: #e6ebff; border-color: #e6ebff; color: #172e6f; }
.phone-showcase .pc-showcase-options button { background: #1b2c33; }
.phone-showcase .pc-showcase-options button:hover { background: #284753; }
.phone-showcase .pc-showcase-options button[aria-pressed="true"] { background: #d8eef0; border-color: #d8eef0; color: #102b32; }
.device-description { max-width: 355px; min-height: 3em; margin: 15px 0 21px; color: #c4cddd; font-size: 14px; line-height: 1.55; }
.device-showcase .btn { background: #f2f4ff; color: #142040; }
.device-showcase .btn:hover { background: #dce4ff; }
.pc-showcase-stage { position: relative; overflow: hidden; isolation: isolate; margin: 0; background: var(--scene); }
.pc-showcase-stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--scene), transparent 18%);
}
.phone-stage::after { background: linear-gradient(270deg, var(--scene), transparent 18%); }
.pc-showcase-image {
  position: absolute; width: 100%; height: 100%; display: block; object-fit: cover;
  transform: translate(var(--camera-x, 0%), var(--camera-y, 0%)) scale(var(--camera-scale, 1));
  transition: transform 500ms cubic-bezier(.2,.65,.25,1);
}
.phone-stage .pc-showcase-image { object-position: 76% center; }
.pc-showcase-stage[data-view="graphics"] { --camera-x: 21%; --camera-y: -17%; --camera-scale: 1.55; }
.pc-showcase-stage[data-view="board"] { --camera-x: -2%; --camera-y: 14%; --camera-scale: 1.49; }
.pc-showcase-stage[data-view="cooling"] { --camera-x: 25%; --camera-y: 20%; --camera-scale: 1.58; }

footer { color: #e4e9f5; background: var(--night); padding: 38px 0; font-size: 13px; }
.footer-shell { display: flex; justify-content: space-between; align-items: center; gap: 27px; }
footer p { margin: 8px 0 0; color: #abb5c9; font-size: 12px; }
footer nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-contacts a { display: inline-flex; align-items: center; gap: 6px; }
.footer-contacts svg { width: 15px; height: 15px; transform: rotate(-38deg); }

dialog {
  width: min(660px, calc(100% - 26px)); max-height: calc(100% - 32px); padding: 0;
  border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; box-shadow: 0 20px 90px #0004;
}
dialog::backdrop { background: #071022a8; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-heading { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border-bottom: 1px solid var(--line); padding: 17px 21px; }
.dialog-heading h2 { margin: 0; font-size: 25px; font-weight: 730; letter-spacing: -.055em; }
.dialog-heading button, .dialog-list .icon-button { flex: none; }
#dialog-body { padding: 19px 21px; line-height: 1.55; }
#dialog-body p:first-child { margin-top: 0; }
.departments { display: grid; gap: 2px; }
.departments button { display: flex; align-items: center; gap: 10px; padding: 11px; border: 0; border-radius: 6px; background: none; text-align: left; font-size: 14px; font-weight: 680; }
.departments button:hover { background: #eef1ff; color: var(--blue); }
.departments button svg { width: 17px; height: 17px; color: var(--blue); }
.departments button i { margin-left: auto; color: #69748c; font-style: normal; }
dialog details { margin-top: 14px; }
summary { cursor: pointer; font-weight: 700; }
.dialog-links { display: flex; flex-wrap: wrap; gap: 8px; }
.dialog-list { display: grid; gap: 8px; }
.line-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.line-item span, .request-part { display: block; color: var(--muted); font-size: 13px; }
.summary { margin: 16px 0; }
.compare-wrap { overflow: auto; }
.compare-table { border-collapse: collapse; font-size: 13px; }
.compare-table td, .compare-table th { min-width: 100px; padding: 8px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table button { margin-top: 6px; }
#request-form { display: grid; gap: 12px; justify-items: start; }
#request-form label { display: grid; width: 100%; gap: 4px; font-size: 13px; font-weight: 700; }
textarea, #request-form select { width: 100%; padding: 9px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--paper); font-weight: 400; resize: vertical; }
.copy-btn { margin: 8px 0 12px; }
.toast {
  position: fixed; z-index: 5; bottom: 18px; right: 18px; padding: 10px 15px; color: #fff; background: #172546;
  border-radius: 7px; box-shadow: 0 4px 20px #0004; opacity: 0; transform: translateY(7px); pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.toast.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .shell { width: calc(100% - 56px); }
  .head { gap: 13px; }
  .utilities { gap: 10px; }
  .category { min-height: 130px; font-size: 13px; }
  .category img { height: 88px; }
  .pc-showcase-options button { font-size: 11px; }
}
@media (max-width: 820px) {
  .hero-shell { grid-template-columns: 1fr; gap: 23px; padding-block: 28px 31px; }
  .hero-content { padding: 0; }
  .hero h1 { font-size: clamp(47px, 10vw, 74px); margin-bottom: 14px; }
  .hero-content > p:not(.kicker) { margin-bottom: 14px; font-size: 14px; }
  .hero-stage { aspect-ratio: 1.55; }
  .shell { width: calc(100% - 36px); }
  .top nav { gap: 13px; }
  .top nav button:first-child { display: none; }
  .head { min-height: 0; padding-block: 11px; flex-wrap: wrap; gap: 9px; }
  .brand-name { font-size: 17px; }
  .catalog-btn { margin-left: auto; }
  .search { order: 4; flex-basis: 100%; }
  .search input { font-size: 16px; }
  .utilities { gap: 5px; }
  .utilities button { display: grid; align-items: center; min-width: 33px; min-height: 39px; }
  .utilities button span { display: none; }
  .categories { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pc-showcase-inner, .phone-showcase .pc-showcase-inner { grid-template-columns: 1fr; min-height: 0; }
  .pc-showcase-copy, .phone-showcase .pc-showcase-copy { grid-row: 1; grid-column: 1; padding: 28px 20px 9px; }
  .pc-showcase-copy h2 br { display: none; }
  .pc-showcase-stage, .phone-showcase .pc-showcase-stage { grid-row: 2; grid-column: 1; min-height: clamp(330px, 70vw, 440px); }
  .pc-showcase-stage::after, .phone-stage::after { background: linear-gradient(180deg, var(--scene), transparent 16%); }
  .device-description { min-height: 0; }
  .footer-shell { flex-wrap: wrap; }
}
@media (max-width: 540px) {
  .shell { width: calc(100% - 32px); }
  .top { font-size: 11px; }
  .top .shell { min-height: 32px; }
  .top nav { gap: 9px; }
  .head { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; }
  .search { grid-column: 1 / -1; }
  .brand { gap: 6px; }
  .brand-name { font-size: 15px; }
  .brand-mark { width: 28px; height: 28px; border-radius: 6px; }
  .catalog-btn { gap: 5px; min-height: 39px; padding-inline: 7px; font-size: 12px; }
  .catalog-btn svg, .utilities svg { width: 17px; height: 17px; }
  .utilities { gap: 0; }
  .utilities button { min-width: 29px; }
  .hero .kicker { margin-bottom: 12px; font-size: 10px; }
  .hero-actions { gap: 5px 14px; }
  .hero-actions .btn { min-height: 44px; padding-inline: 10px; }
  .hero-stage { min-height: 245px; }
  .slide-controls { gap: 5px; }
  .slide-controls button { min-height: 49px; padding: 4px; gap: 4px; font-size: 11px; }
  .slide-controls img { width: 27px; height: 27px; }
  .section-head { margin-bottom: 14px; }
  .section-head h2 { font-size: 34px; }
  .category { min-height: 108px; padding: 7px; font-size: 12px; }
  .category img { height: 69px; }
  .category svg { width: 13px; height: 13px; }
  .inventory .section-head { flex-wrap: wrap; }
  .product { padding: 6px; }
  .product-actions { top: 10px; right: 10px; gap: 3px; }
  .product-actions .icon-button { width: 30px; height: 30px; }
  .product-actions svg { width: 15px; height: 15px; }
  .product-name { font-size: 14px; }
  .buy { flex-direction: column; align-items: stretch; }
  .footer-shell { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 359px) {
  .shell { width: calc(100% - 24px); }
  .head { column-gap: 6px; }
  .top nav a, .top nav button, .top span { white-space: nowrap; }
  .top nav { gap: 6px; }
  .top { font-size: 10px; }
  .catalog-btn { min-width: 39px; }
  .catalog-btn span { display: none; }
  .brand-name { font-size: 14px; }
  .hero h1 { font-size: 43px; }
  .slide-controls button { font-size: 10px; }
  .category span { gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
