/* Reboot UI/UX Pro Max refinement layer.
   Loaded after styles.css so the original visual language and content remain intact. */


:root {
  --bg: #000;
  --bg2: #050505;
  --panel: rgba(255, 255, 255, 0.055);
  --panel2: rgba(255, 255, 255, 0.085);
  --text: #fafafa;
  --muted: #a1a1aa;
  --muted2: #71717a;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.24);
  --white: #f8fafc;
  --green: #9ce5b7;
  --radius: 18px;
  --radius-lg: 28px;
  --header: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.22, 1, .36, 1);
  --glass: rgba(12, 12, 13, .64);
  --glass-strong: rgba(17, 17, 19, .86);
  --glass-border: rgba(255, 255, 255, .13);
  --shadow-float: 0 28px 90px rgba(0, 0, 0, .55);
  --focus: 0 0 0 3px rgba(255, 255, 255, .28);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 14px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 999px;
  color: #050505;
  background: #fff;
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

html {
  color-scheme: dark;
  background: #000;
  scroll-padding-top: calc(var(--header) + 18px);
  overflow-x: clip;
}

body {
  min-width: 320px;
  overflow-x: clip;
  background:
    radial-gradient(900px 520px at var(--mx, 76%) var(--my, 10%), rgba(255, 255, 255, .055), transparent 62%),
    #000;
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-feature-settings: "kern" 1, "ss01" 1;
  text-rendering: optimizeLegibility;
}

body::before {
  z-index: 900;
  opacity: .018;
}

body::after {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 8%, rgba(255, 255, 255, .018) 42%, transparent 58%),
    radial-gradient(650px 280px at 78% 0%, rgba(255, 255, 255, .045), transparent 74%);
}

main {
  isolation: isolate;
}

a, button, input, select, textarea, summary {
  -webkit-tap-highlight-color: transparent;
}

button, select, summary, [role="button"] {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

input, select, textarea {
  min-height: 48px;
}

textarea {
  resize: vertical;
}

img {
  -webkit-user-drag: none;
}

.page, .section {
  width: min(var(--max), calc(100% - clamp(32px, 5vw, 72px)));
}

.section {
  padding-block: clamp(88px, 9vw, 132px);
}

.eyebrow {
  color: #a1a1aa;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
}

.brand,
.footer-brand-col img,
.mobile-menu-top img {
  color: #fff;
  filter: invert(1) brightness(1.9);
}

.page-progress {
  height: 1px;
  background: linear-gradient(90deg, #737373, #fff);
  box-shadow: 0 0 18px rgba(255,255,255,.4);
}

/* Header */
.site-header {
  top: 12px;
  right: clamp(12px, 2.4vw, 34px);
  left: clamp(12px, 2.4vw, 34px);
  width: auto;
  height: 64px;
  padding: 0 clamp(16px, 2vw, 24px);
  border: 1px solid transparent;
  border-radius: 22px;
}

.site-header .brand img,
.mobile-menu-top img,
.site-footer .footer-brand-col img,
.admin-head .brand img {
  filter: invert(1) brightness(1.9);
}

.mobile-menu-top img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 14px;
}

.site-footer .footer-brand-col img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 18px;
}

.site-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,255,255,.045), rgba(255,255,255,.012) 44%, rgba(255,255,255,.035));
  opacity: .7;
  transition: opacity .25s ease, background .25s ease, border-color .25s ease;
}

.site-header.is-scrolled {
  top: 10px;
  height: 60px;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  background: rgba(6, 6, 7, .72);
  box-shadow: 0 16px 60px rgba(0,0,0,.28);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  backdrop-filter: blur(24px) saturate(145%);
}

.site-header.is-scrolled::before {
  opacity: 1;
}

.brand {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  overflow: hidden;
  border-radius: 13px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.desktop-nav {
  gap: clamp(17px, 2vw, 31px);
}

.nav-link {
  color: #a1a1aa;
  font-size: 12px;
  transition: color .2s ease;
}

.nav-link::after {
  bottom: 0;
  background: rgba(255,255,255,.9);
}

.header-actions {
  gap: 2px;
}

.header-phone {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
  padding: 0 12px;
  border-right: 1px solid var(--line);
  color: #d4d4d8;
  font-size: 11px;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: color .2s ease;
}

.header-phone:hover {
  color: #fff;
}

.icon-btn,
.menu-toggle,
.account-link {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  transition: background .2s ease, color .2s ease, transform .2s var(--ease);
}

.icon-btn:hover,
.menu-toggle:hover,
.account-link:hover {
  background: rgba(255,255,255,.07);
}

.icon-btn:active,
.menu-toggle:active,
.account-link:active {
  transform: scale(.96);
}

.icon-btn svg,
.account-link svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.65;
}

.mini-counter {
  right: 0;
  top: 0;
  border: 1px solid #000;
}

.mobile-menu {
  background:
    radial-gradient(650px 450px at 80% 12%, rgba(255,255,255,.08), transparent 68%),
    rgba(0,0,0,.96);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
}

.mobile-menu .nav-link {
  font-size: clamp(36px, 9.8vw, 66px);
  line-height: 1;
}

/* Shared liquid-glass surfaces */
.product-card,
.grade-card,
.review-track article,
.trade-wizard,
.filter-panel,
.quick-panel,
.modal-panel,
.checkout-summary,
.cart-page-items,
.checkout-section,
.values-grid article,
.principle-grid article,
.info-cards article,
.delivery-calc,
.catalog-request,
.contact-hero,
.config-stage,
.about-visual,
.trust-visual,
.account-panel,
.admin-panel {
  position: relative;
  border-color: var(--glass-border);
  background:
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.022) 38%, rgba(255,255,255,.045)),
    rgba(8,8,9,.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 22px 80px rgba(0,0,0,.24);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
}

.product-card::before,
.grade-card::before,
.review-track article::before,
.trust-visual::before,
.about-visual::before,
.config-stage::before,
.trade-wizard::before,
.admin-panel::before,
.account-panel::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  right: 12%;
  left: 12%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent);
}

/* Buttons */
.btn {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  transition:
    transform .2s var(--ease),
    background-color .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(.985);
}

.btn:disabled {
  cursor: wait;
  opacity: .52;
  transform: none;
}

.btn-light {
  background: #f8fafc;
  color: #080808;
  box-shadow: 0 8px 35px rgba(255,255,255,.08);
}

.btn-light:hover {
  background: #fff;
  box-shadow: 0 12px 38px rgba(255,255,255,.14);
}

.btn-outline {
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.025);
}

.btn-outline:hover {
  border-color: rgba(255,255,255,.38);
  background: rgba(255,255,255,.065);
}

.link-arrow {
  color: #d4d4d8;
  border-bottom-color: rgba(255,255,255,.28);
}

.square-action,
.zoom-button,
.quick-btn,
.slider-arrow,
.view-btn,
.modal-close,
.overlay-close,
.drawer-head button {
  display: inline-grid;
  width: 46px;
  min-width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  transition: background .2s ease, border-color .2s ease, transform .2s var(--ease);
}

.square-action:hover,
.zoom-button:hover,
.quick-btn:hover,
.slider-arrow:hover,
.view-btn:hover,
.modal-close:hover,
.overlay-close:hover,
.drawer-head button:hover {
  border-color: var(--line-strong);
  background: rgba(255,255,255,.09);
}

.square-action:active,
.zoom-button:active,
.quick-btn:active,
.slider-arrow:active,
.view-btn:active {
  transform: scale(.96);
}

.ui-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  pointer-events: none;
}

/* Hero and fan */
.hero-home {
  min-height: 100svh;
  padding-top: 130px;
  grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
  background: #000;
}

.hero-grid {
  opacity: .24;
  background-image:
    linear-gradient(transparent 95px, rgba(255,255,255,.026) 96px),
    linear-gradient(90deg, transparent 95px, rgba(255,255,255,.026) 96px);
  background-size: 96px 96px;
}

.hero-noise {
  background:
    radial-gradient(720px 530px at 79% 48%, rgba(255,255,255,.085), transparent 68%),
    linear-gradient(115deg, rgba(255,255,255,.02), transparent 45%),
    #000;
}

.hero-copy {
  max-width: 690px;
}

.hero-copy h1,
.catalog-hero h1,
.info-hero h1,
.trade-hero h1,
.about-intro h1,
.edition-hero h1 {
  margin: 28px 0;
  color: #f5f5f5;
  font-size: clamp(58px, 6.5vw, 102px);
  font-weight: 300;
  line-height: .94;
  letter-spacing: -.065em;
}

.hero-copy h1 em,
.catalog-hero h1 em,
.trade-hero h1 em,
.edition-hero h1 em {
  color: #7f7f86;
}

.hero-copy > p,
.edition-copy p,
.edition-hero-copy p,
.trade-hero-copy p,
.catalog-hero-copy p {
  color: #a1a1aa;
  line-height: 1.65;
}

.hero-stats {
  margin-top: 46px;
}

.hero-stats div {
  border-left-color: rgba(255,255,255,.16);
}

.console-fan {
  height: min(72vh, 720px);
  min-height: 560px;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.fan-aura {
  right: -4%;
  bottom: -8%;
  width: min(44vw, 630px);
  height: min(44vw, 630px);
  background: radial-gradient(circle, rgba(255,255,255,.09), rgba(255,255,255,.018) 45%, transparent 72%);
  filter: blur(18px);
}

.fan-console {
  --fan-rot: 0deg;
  --fan-depth: 0px;
  right: -1%;
  bottom: -2%;
  width: 66%;
  height: 78%;
  opacity: 0;
  object-fit: contain;
  transform-origin: 68% 92%;
  transform-style: preserve-3d;
  filter: drop-shadow(0 34px 35px rgba(0,0,0,.82));
  animation: fanOpen .9s var(--ease) forwards;
  will-change: transform, opacity;
}

.fan-1 { --fan-rot: -43deg; --fan-depth: -28px; animation-delay: .08s; }
.fan-2 { --fan-rot: -24deg; --fan-depth: -14px; animation-delay: .16s; }
.fan-3 { --fan-rot: -6deg; --fan-depth: 0px; animation-delay: .24s; }
.fan-4 { --fan-rot: 13deg; --fan-depth: 14px; animation-delay: .32s; }
.fan-5 {
  --fan-rot: 32deg;
  --fan-depth: 28px;
  right: -1%;
  width: 66%;
  animation-delay: .40s;
}

@keyframes fanOpen {
  from {
    opacity: 0;
    transform: translate3d(80px, 110px, -80px) rotate(var(--fan-rot)) scale(.78);
  }
  to {
    opacity: 1;
    transform:
      translate3d(
        calc(var(--fan-x, 0px) * var(--fan-i, 1)),
        calc(var(--fan-y, 0px) * var(--fan-i, 1)),
        var(--fan-depth)
      )
      rotate(var(--fan-rot))
      scale(1);
  }
}

.fan-1 { --fan-i: .35; }
.fan-2 { --fan-i: .55; }
.fan-3 { --fan-i: .75; }
.fan-4 { --fan-i: .95; }
.fan-5 { --fan-i: 1.15; }

.fan-caption {
  right: 0;
  bottom: 3%;
  border-color: rgba(255,255,255,.18);
  border-radius: 12px;
  background: rgba(0,0,0,.66);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

/* Reveal is progressive enhancement: content is never hidden if JS/observer is delayed. */
.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  animation: reboot-rise .68s var(--ease) both;
}

@keyframes reboot-rise {
  from { opacity: .2; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* Product cards and 3D photo presentation */
.product-grid {
  gap: 16px;
}

.product-card {
  padding: 10px;
  overflow: hidden;
  transform:
    perspective(1100px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(var(--lift, 0px));
  transform-style: preserve-3d;
  transition:
    transform .28s var(--ease),
    border-color .25s ease,
    box-shadow .28s ease;
  will-change: transform;
}

.product-card:hover {
  --lift: -5px;
  border-color: rgba(255,255,255,.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 30px 80px rgba(0,0,0,.42);
}

.product-card::after,
.tilt-surface::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: var(--glare-opacity, 0);
  background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255,255,255,.13), transparent 38%);
  transition: opacity .25s ease;
}

.product-media {
  height: clamp(220px, 21vw, 310px);
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 13px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,.095), transparent 43%),
    #050505;
}

.product-media img {
  width: 88%;
  height: 88%;
  transform: translateZ(28px);
  filter: var(--filter) drop-shadow(0 20px 22px rgba(0,0,0,.48));
}

.product-card:hover .product-media img {
  transform: translateZ(36px) scale(1.035);
}

.card-badges span {
  border-color: rgba(255,255,255,.14);
  background: rgba(0,0,0,.7);
}

.quick-btn {
  right: 11px;
  bottom: 11px;
  opacity: 1;
  transform: none;
  border-radius: 13px;
  background: rgba(0,0,0,.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.product-card h3 {
  min-height: 44px;
  color: #f4f4f5;
  font-size: 15px;
  line-height: 1.45;
}

.card-topline {
  color: #a1a1aa;
}

.card-icon-actions {
  gap: 2px;
}

.card-icon-actions button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  transition: color .2s ease, background .2s ease;
}

.card-icon-actions button:hover {
  color: #fff;
  background: rgba(255,255,255,.07);
}

.stock-line {
  color: #b7ebc9;
}

/* Catalog */
.catalog-hero {
  min-height: 590px;
  padding-top: 132px;
}

.catalog-orbit {
  border-color: rgba(255,255,255,.14);
  background: radial-gradient(circle, rgba(255,255,255,.055), transparent 68%);
}

.orbit-line {
  border-color: rgba(255,255,255,.11);
  animation-duration: 36s;
}

.catalog-shell {
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
}

.filter-panel {
  top: 90px;
  padding: 24px;
  border-radius: 20px;
}

.filter-block label {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 6px 0;
  color: #b4b4bd;
}

.filter-block input[type="checkbox"],
.filter-block input[type="radio"] {
  width: 17px;
  min-height: 17px;
  height: 17px;
}

.filter-block input[type="range"] {
  min-height: 24px;
}

.filter-top button {
  min-height: 36px;
  padding-inline: 10px;
  border-radius: 9px;
}

.catalog-toolbar {
  min-height: 48px;
}

.view-sort {
  align-items: center;
}

.view-sort select {
  min-height: 46px;
  border-color: var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.045);
}

.view-btn.is-active {
  color: #000;
  background: #fff;
}

.active-filter {
  padding: 8px 12px;
  border-radius: 999px;
  color: #d4d4d8;
  background: rgba(255,255,255,.045);
}

.catalog-request {
  border-radius: 24px;
}

.catalog-request input,
.line-input input,
.line-input textarea,
.contact-grid input,
.form-two input,
.checkout-form > fieldset > label > input,
.delivery-calc input,
.promo input,
.admin-input {
  border-color: rgba(255,255,255,.14);
  border-radius: 13px;
  background: rgba(0,0,0,.38);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.catalog-request input:focus,
.line-input input:focus,
.line-input textarea:focus,
.contact-grid input:focus,
.form-two input:focus,
.checkout-form > fieldset > label > input:focus,
.delivery-calc input:focus,
.promo input:focus,
.admin-input:focus {
  border-color: rgba(255,255,255,.42);
  background: rgba(255,255,255,.045);
}

/* Product */
.breadcrumbs {
  padding-top: 110px;
  color: #8b8b94;
}

.product-main {
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.product-gallery,
.product-summary {
  opacity: 1 !important;
  transform: none !important;
}

.gallery-main {
  height: min(68vw, 670px);
  min-height: 520px;
  border-radius: 24px;
  border-color: var(--glass-border);
  background:
    radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 40%), rgba(255,255,255,.12), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.055), transparent 40%),
    #040404;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 32px 90px rgba(0,0,0,.34);
  transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform .3s var(--ease);
}

.gallery-main img {
  filter: var(--filter) drop-shadow(0 34px 36px rgba(0,0,0,.52));
  transform: translateZ(38px);
}

.gallery-thumbs {
  gap: 10px;
}

.gallery-thumb {
  width: 84px;
  height: 84px;
  border-radius: 14px;
  background: rgba(255,255,255,.025);
}

.gallery-thumb.is-active {
  border-color: #fff;
  box-shadow: inset 0 0 0 1px #fff;
}

.product-summary {
  position: sticky;
  top: 96px;
}

.product-summary h1 {
  font-size: clamp(42px, 4.2vw, 64px);
  line-height: .98;
  letter-spacing: -.055em;
}

.price-line strong {
  font-size: clamp(30px, 3.2vw, 45px);
}

.grade-summary,
.config-option,
.addon-block > label,
.delivery-options label,
.payment-demo label,
.condition-choices label,
.choice-cards label,
.kit-choices label {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.025);
}

.config-option,
.addon-block > label {
  min-height: 74px;
  border-radius: 14px;
}

.config-option:hover,
.addon-block > label:hover,
.choice-cards label:hover,
.kit-choices label:hover,
.condition-choices label:hover {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.055);
}

.config-option.is-active,
.config-option:has(input:checked),
.choice-cards label:has(input:checked),
.kit-choices label:has(input:checked),
.condition-choices label:has(input:checked) {
  border-color: rgba(255,255,255,.52);
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}

.purchase-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px 52px;
  gap: 8px;
  align-items: stretch;
}

.purchase-row .btn,
.purchase-row .square-action {
  height: 54px;
}

.service-points span {
  color: #c7c7cd;
}

.story-tabs {
  top: 82px;
  border-color: var(--line);
  background: rgba(0,0,0,.78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.story-tabs button {
  min-height: 48px;
  color: #8f8f98;
}

.story-tabs button.is-active {
  color: #fff;
}

/* Search and modal behavior */
.search-overlay {
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(700px 380px at 70% 0%, rgba(255,255,255,.07), transparent 70%),
    rgba(0,0,0,.94);
}

.search-shell {
  margin: max(90px, 10vh) auto 80px;
  padding-bottom: max(30px, env(safe-area-inset-bottom));
}

.mega-search {
  position: sticky;
  top: 0;
  z-index: 2;
  margin-top: 22px;
  padding-top: 14px;
  background: linear-gradient(#000 70%, transparent);
}

.mega-search input {
  min-height: 80px;
  color: #fff;
}

.search-results {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-height: none;
  padding-bottom: 12px;
}

.search-result {
  min-height: 102px;
  border-color: var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  transition: background .2s ease, border-color .2s ease, transform .2s var(--ease);
}

.search-result:hover {
  border-color: var(--line-strong);
  background: rgba(255,255,255,.075);
  transform: translateY(-2px);
}

.search-hints button {
  min-height: 40px;
  color: #d4d4d8;
}

.modal,
.drawer-backdrop {
  background: rgba(0,0,0,.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.modal-panel,
.quick-panel {
  border-radius: 24px;
}

.cart-drawer {
  background:
    linear-gradient(145deg, rgba(255,255,255,.06), transparent 35%),
    rgba(5,5,6,.94);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

body.has-overlay {
  overflow: hidden;
}

/* Reboot Edition: monochrome, premium, minimal */
.edition-showcase,
.edition-hero {
  background: #000;
}

.edition-bg,
.edition-hero {
  background:
    radial-gradient(720px 520px at 73% 50%, rgba(255,255,255,.085), transparent 66%),
    #000;
}

.edition-bg::after {
  opacity: .36;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
}

.edition-halo,
.edition-hero-ring {
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 0 110px rgba(255,255,255,.07);
}

.edition-device img,
.edition-hero-device img {
  filter: grayscale(.25) contrast(1.06) drop-shadow(0 42px 46px #000);
}

.edition-skin,
.config-skin,
.skin-overlay {
  opacity: .22;
  mix-blend-mode: screen;
  background:
    radial-gradient(circle at 31% 18%, rgba(255,255,255,.72), transparent 16%),
    radial-gradient(circle at 68% 62%, rgba(255,255,255,.2), transparent 32%),
    #101010;
}

.edition-manifest h2 em {
  color: #a1a1aa;
}

.config-stage {
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255,255,255,.1), transparent 43%),
    #030303;
  transform: perspective(1300px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform .3s var(--ease);
}

.config-stage img {
  filter: drop-shadow(0 34px 38px rgba(0,0,0,.6));
  transform: translateZ(42px);
}

.swatch,
.segmented button {
  min-width: 46px;
  min-height: 46px;
}

/* Trade-in */
.trade-hero {
  min-height: 690px;
}

.trade-loop {
  border-color: rgba(255,255,255,.16);
  color: rgba(255,255,255,.08);
  animation-duration: 46s;
}

.trade-wizard-shell {
  width: min(1120px, calc(100% - clamp(32px, 5vw, 72px)));
}

.trade-wizard {
  min-height: 570px;
  padding: clamp(30px, 5vw, 62px);
  border-radius: 26px;
}

.wizard-progress {
  gap: 8px;
}

.wizard-progress div {
  min-height: 64px;
  padding: 13px 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
}

.wizard-progress div.is-active {
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.07);
}

.wizard-actions {
  min-height: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

.wizard-actions > span:empty {
  display: block;
}

.wizard-actions .btn {
  width: 100%;
  min-width: 0;
}

.photo-drop {
  border-color: rgba(255,255,255,.22);
  border-radius: 18px;
  background: rgba(255,255,255,.02);
  transition: border-color .2s ease, background .2s ease;
}

.photo-drop:hover,
.photo-drop.is-dragging {
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.055);
}

.wizard-error {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  padding: 11px 13px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  color: #fff;
  background: rgba(255,255,255,.06);
  font-size: 12px;
}

/* About: editorial story with depth */
.about-hero {
  padding-top: 144px;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr);
}

.about-intro {
  max-width: 1050px;
}

.about-manifest {
  align-self: center;
}

.about-manifest p {
  max-width: 580px;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.32;
  letter-spacing: -.025em;
}

.about-visual {
  min-height: 590px;
  border-radius: 28px;
  transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform .3s var(--ease);
}

.about-visual img {
  transform: translateZ(38px);
}

.about-stats {
  border-color: var(--line);
}

.about-stats article {
  border-color: var(--line);
  transition: background .25s ease;
}

.about-stats article:hover {
  background: rgba(255,255,255,.035);
}

.timeline {
  gap: 10px;
  border-top: 0;
}

.timeline article {
  min-height: 330px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,.052), rgba(255,255,255,.014));
}

.founders-strip,
.avito-proof {
  width: min(var(--max), calc(100% - clamp(32px, 5vw, 72px)));
  margin: 0 auto clamp(88px, 9vw, 132px);
}

.founders-strip {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 50px;
  padding: clamp(34px, 5vw, 62px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.012) 48%, rgba(255,255,255,.04)),
    #050505;
}

.founders-names {
  display: grid;
  gap: 12px;
}

.founder-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.founder-row:last-child {
  border-bottom: 0;
}

.founder-index {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #a1a1aa;
  font-size: 10px;
}

.founder-row b,
.founder-row span {
  display: block;
}

.founder-row span {
  margin-top: 3px;
  color: #8f8f98;
  font-size: 11px;
}

.avito-proof {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
}

.proof-quote,
.proof-metric {
  min-height: 310px;
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.035);
}

.proof-quote blockquote {
  margin: 34px 0;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 300;
  line-height: 1.24;
  letter-spacing: -.035em;
}

.proof-metric {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 85% 15%, rgba(255,255,255,.1), transparent 48%),
    rgba(255,255,255,.035);
}

.proof-metric strong {
  font-size: clamp(76px, 9vw, 132px);
  font-weight: 200;
  line-height: .8;
  letter-spacing: -.08em;
}

.pickup-section {
  width: min(var(--max), calc(100% - clamp(32px, 5vw, 72px)));
  display: grid;
  grid-template-columns: minmax(340px, .75fr) minmax(0, 1.25fr);
  gap: 16px;
  margin: 0 auto clamp(88px, 9vw, 132px);
}

.pickup-copy,
.pickup-map {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.052), rgba(255,255,255,.014));
}

.pickup-copy {
  padding: clamp(30px, 4vw, 52px);
}

.pickup-copy h2 {
  margin: 20px 0;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.055em;
}

.pickup-copy > p {
  max-width: 560px;
  color: #a1a1aa;
  line-height: 1.7;
}

.pickup-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 32px 0 14px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(0,0,0,.38);
}

.pickup-switcher button {
  min-height: 46px;
  padding: 0 14px;
  border: 0;
  border-radius: 11px;
  color: #8f8f98;
  background: transparent;
  font-size: 11px;
  transition: color .2s ease, background .2s ease, transform .2s var(--ease);
}

.pickup-switcher button:hover {
  color: #fff;
}

.pickup-switcher button.is-active {
  color: #050505;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
}

.pickup-switcher button:active {
  transform: scale(.98);
}

.pickup-details {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.025);
}

.pickup-details > span {
  color: #777780;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.pickup-details strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  font-weight: 500;
}

.pickup-details p {
  margin: 8px 0 0;
  color: #96969f;
  font-size: 12px;
  line-height: 1.6;
}

.pickup-features {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.pickup-features span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #c4c4ca;
  font-size: 9px;
}

.pickup-map {
  min-height: 650px;
  position: relative;
  padding: 8px;
  background: #050505;
}

.pickup-map-head {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 22px;
  left: 22px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 15px;
  background: rgba(4,4,5,.76);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.pickup-map-head span {
  font-size: 11px;
  font-weight: 600;
}

.pickup-map-head a {
  color: #c7c7cd;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.pickup-map iframe {
  width: 100%;
  height: 100%;
  min-height: 634px;
  display: block;
  border: 0;
  border-radius: 21px;
  filter: grayscale(1) invert(.91) contrast(.88);
}

/* Footer */
.site-footer {
  border-color: var(--line);
}

.footer-main h4 {
  color: #e4e4e7;
}

.footer-main > div:not(:first-child) a,
.footer-main > div:not(:first-child) span,
.footer-brand-col p {
  color: #94949e;
}

.socials a {
  width: 44px;
  height: 44px;
  border-color: var(--line);
  transition: background .2s ease, border-color .2s ease;
}

.socials a:hover {
  border-color: var(--line-strong);
  background: rgba(255,255,255,.08);
}

.cookie {
  border-color: var(--glass-border);
  border-radius: 18px;
  background: rgba(7,7,8,.84);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}

/* Account */
.account-page,
.admin-page {
  min-height: 100svh;
  padding-top: 120px;
  padding-bottom: 100px;
}

.account-shell {
  width: min(1180px, calc(100% - clamp(32px, 5vw, 72px)));
  margin: auto;
}

.account-head,
.admin-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.account-head h1,
.admin-head h1 {
  margin: 10px 0 0;
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 300;
  line-height: .95;
  letter-spacing: -.06em;
}

.account-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
}

.account-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
}

.account-nav {
  align-self: start;
}

.account-nav button {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  color: #a1a1aa;
  background: transparent;
  text-align: left;
}

.account-nav button.is-active,
.account-nav button:hover {
  color: #fff;
  background: rgba(255,255,255,.07);
}

.account-view {
  display: none;
}

.account-view.is-active {
  display: block;
  animation: reboot-rise .45s var(--ease) both;
}

.account-order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.account-order:last-child {
  border-bottom: 0;
}

.order-progress {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.order-progress i {
  height: 3px;
  border-radius: 4px;
  background: rgba(255,255,255,.1);
}

.order-progress i.is-done {
  background: #fff;
}

/* Admin */
.admin-page {
  background:
    radial-gradient(900px 580px at 70% 0%, rgba(255,255,255,.055), transparent 70%),
    #000;
}

.admin-shell {
  width: min(1440px, calc(100% - clamp(24px, 4vw, 64px)));
  margin: auto;
}

.admin-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 16px;
}

.admin-sidebar,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
}

.admin-sidebar {
  position: sticky;
  top: 92px;
  align-self: start;
  padding: 16px;
  background: rgba(8,8,9,.78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.admin-sidebar button {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 0;
  border-radius: 12px;
  color: #9f9fa8;
  background: transparent;
  text-align: left;
}

.admin-sidebar button:hover,
.admin-sidebar button.is-active {
  color: #fff;
  background: rgba(255,255,255,.075);
}

.admin-panel {
  min-width: 0;
  padding: clamp(20px, 3vw, 34px);
}

.admin-view {
  display: none;
}

.admin-view.is-active {
  display: block;
  animation: reboot-rise .45s var(--ease) both;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.admin-metric {
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.025);
}

.admin-metric strong,
.admin-metric span {
  display: block;
}

.admin-metric strong {
  margin-top: 32px;
  font-size: 34px;
  font-weight: 300;
}

.admin-metric span {
  color: #92929b;
  font-size: 11px;
}

.admin-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.admin-toolbar .admin-input {
  width: min(390px, 100%);
  padding: 0 14px;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.admin-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.admin-table th {
  color: #85858f;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.admin-product {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-product img {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 10px;
  background: #050505;
  filter: var(--filter);
}

.admin-actions {
  display: flex;
  gap: 6px;
}

.admin-actions button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.035);
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-form label {
  color: #94949d;
  font-size: 11px;
}

.admin-form .full {
  grid-column: 1 / -1;
}

.admin-input {
  width: 100%;
  display: block;
  margin-top: 7px;
  padding: 0 14px;
  color: #fff;
}

.admin-form textarea.admin-input {
  min-height: 120px;
  padding-block: 12px;
}

.admin-drawer {
  position: fixed;
  z-index: 260;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(560px, 100%);
  padding: 28px;
  overflow-y: auto;
  border-left: 1px solid var(--line);
  background: rgba(5,5,6,.95);
  transform: translateX(103%);
  transition: transform .45s var(--ease);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

.admin-drawer.is-open {
  transform: none;
}

.admin-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.admin-drawer-head button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: transparent;
}

.admin-status {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d4d4d8;
  background: rgba(255,255,255,.04);
  font-size: 10px;
}

.admin-nav-badge {
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d4d4d8;
  font-size: 9px;
}

.admin-integration-summary {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto auto;
  gap: 20px;
  align-items: center;
  margin-top: 12px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(110deg, rgba(255,255,255,.06), rgba(255,255,255,.012) 55%),
    #050505;
}

.admin-integration-summary b {
  display: block;
  margin-top: 7px;
  font-size: 15px;
  font-weight: 500;
}

.admin-summary-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.admin-summary-services span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #a7a7af;
  font-size: 9px;
}

.admin-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.admin-section-head h2 {
  margin: 9px 0 12px;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 300;
  line-height: .96;
  letter-spacing: -.055em;
}

.admin-section-head p {
  max-width: 720px;
  margin: 0;
  color: #96969f;
  line-height: 1.65;
}

.admin-readiness {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #c7c7cd;
  font-size: 10px;
  white-space: nowrap;
}

.admin-readiness i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 15px rgba(156,229,183,.55);
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.integration-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.052), rgba(255,255,255,.012)),
    #050505;
  transition: transform .25s var(--ease), border-color .25s ease, background .25s ease;
}

.integration-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background:
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.018)),
    #050505;
}

.integration-card.is-connected {
  border-color: rgba(156,229,183,.28);
}

.integration-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 34px;
}

.integration-mark {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  color: #fff;
  background: rgba(255,255,255,.055);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}

.integration-state {
  min-height: 29px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #8f8f98;
  font-size: 9px;
}

.integration-card.is-connected .integration-state {
  color: var(--green);
  border-color: rgba(156,229,183,.25);
  background: rgba(156,229,183,.06);
}

.integration-card h3 {
  margin: 0 0 9px;
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -.025em;
}

.integration-card p {
  margin: 0;
  color: #92929b;
  font-size: 12px;
  line-height: 1.6;
}

.integration-card ul {
  display: grid;
  gap: 8px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.integration-card li {
  position: relative;
  padding-left: 16px;
  color: #b4b4bc;
  font-size: 10px;
}

.integration-card li::before {
  content: "";
  position: absolute;
  top: .42em;
  left: 0;
  width: 6px;
  height: 6px;
  border: 1px solid #8a8a92;
  border-radius: 50%;
}

.integration-card .btn {
  margin-top: auto;
}

.integration-flow,
.integration-log {
  margin-top: 16px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.025);
}

.integration-flow {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 34px;
}

.integration-flow h3 {
  max-width: 430px;
  margin: 14px 0 0;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.04em;
}

.integration-flow ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.integration-flow li {
  min-height: 180px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.integration-flow li span,
.integration-flow li b,
.integration-flow li small {
  display: block;
}

.integration-flow li span {
  color: #777780;
  font-size: 9px;
}

.integration-flow li b {
  margin: 32px 0 8px;
  font-size: 13px;
}

.integration-flow li small {
  color: #8f8f98;
  font-size: 10px;
  line-height: 1.5;
}

.integration-log [data-integration-log] {
  display: grid;
  gap: 6px;
}

.integration-log-row {
  min-height: 48px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #b5b5bd;
  font-size: 10px;
}

.integration-log-row time,
.integration-log-row span:last-child {
  color: #777780;
}

.integration-empty {
  min-height: 88px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: #777780;
  font-size: 11px;
}

.integration-drawer-intro {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255,255,255,.03);
}

.integration-drawer-intro .integration-mark {
  width: 54px;
  height: 54px;
}

.integration-drawer-intro b,
.integration-drawer-intro p {
  display: block;
}

.integration-drawer-intro p {
  margin: 5px 0 0;
  color: #92929b;
  font-size: 11px;
  line-height: 1.5;
}

.integration-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.integration-field-help {
  display: block;
  margin-top: 6px;
  color: #74747d;
  font-size: 9px;
  line-height: 1.5;
}

.secret-input {
  position: relative;
}

.secret-input .admin-input {
  padding-right: 92px;
}

.secret-input button {
  position: absolute;
  top: 13px;
  right: 7px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #b7b7bf;
  background: rgba(255,255,255,.04);
  font-size: 9px;
}

.integration-toggle {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.integration-security {
  padding: 16px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 15px;
  background: rgba(255,255,255,.025);
}

.integration-security b {
  color: #d4d4d8;
  font-size: 11px;
}

.integration-security p {
  margin: 6px 0 0;
  color: #85858e;
  font-size: 10px;
  line-height: 1.55;
}

.integration-drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.connection-result {
  min-height: 42px;
  display: flex;
  align-items: center;
  margin-top: 12px;
  padding: 0 12px;
  border: 1px solid rgba(156,229,183,.24);
  border-radius: 12px;
  color: var(--green);
  background: rgba(156,229,183,.05);
  font-size: 10px;
}

/* Responsive */
@media (max-width: 1180px) {
  .header-phone { display: none; }
  .hero-home { grid-template-columns: 1fr; }
  .console-fan { height: 610px; }
  .product-grid, .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-metrics { grid-template-columns: repeat(2, 1fr); }
  .integration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-integration-summary { grid-template-columns: 1fr auto; }
  .admin-integration-summary .admin-summary-services { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 900px) {
  .site-header {
    top: 8px;
    right: 8px;
    left: 8px;
  }
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }
  .hero-home {
    display: block;
    padding-top: 124px;
  }
  .console-fan {
    height: 530px;
    min-height: 0;
    margin-top: 20px;
  }
  .product-grid, .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-shell { grid-template-columns: 1fr; }
  .product-main { grid-template-columns: 1fr; }
  .product-summary { position: relative; top: auto; }
  .gallery-main { height: min(88vw, 640px); }
  .about-hero,
  .founders-strip,
  .avito-proof,
  .pickup-section,
  .account-grid,
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: relative;
    top: auto;
    display: flex;
    gap: 6px;
    overflow-x: auto;
  }
  .admin-sidebar button {
    width: auto;
    flex: 0 0 auto;
  }
  .account-nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
  }
  .account-nav button {
    width: auto;
    flex: 0 0 auto;
  }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .integration-flow { grid-template-columns: 1fr; }
  .integration-flow ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  :root { --header: 68px; }
  .page, .section, .site-footer, .trade-cta, .catalog-request, .about-hero,
  .about-stats, .standard-section, .contact-hero, .trade-wizard-shell,
  .founders-strip, .avito-proof, .pickup-section {
    width: calc(100% - 28px);
  }
  .site-header {
    height: 58px;
    padding-inline: 11px;
    border-radius: 18px;
  }
  .brand { width: 44px; height: 44px; flex-basis: 44px; border-radius: 11px; }
  .icon-btn, .menu-toggle, .account-link {
    width: 40px;
    height: 40px;
  }
  .header-actions > .icon-btn[href="favorites.html"] { display: none; }
  .hero-copy h1,
  .catalog-hero h1,
  .info-hero h1,
  .trade-hero h1,
  .about-intro h1,
  .edition-hero h1 {
    font-size: clamp(48px, 15vw, 72px);
    letter-spacing: -.065em;
  }
  .hero-home { padding-inline: 16px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hero-stats div { padding-left: 9px; }
  .hero-stats strong { font-size: 20px; }
  .console-fan {
    width: calc(100% + 40px);
    height: 390px;
    margin-left: -20px;
  }
  .fan-console,
  .fan-5 {
    right: -10%;
    width: 82%;
    height: 84%;
  }
  .product-grid, .catalog-grid { grid-template-columns: 1fr; gap: 12px; }
  .product-media { height: 310px; }
  .product-card h3 { min-height: auto; font-size: 16px; }
  .catalog-hero { min-height: 520px; }
  .catalog-toolbar { align-items: stretch; flex-direction: column; gap: 12px; }
  .view-sort { justify-content: space-between; }
  .view-sort select { flex: 1; min-width: 0; }
  .catalog-request { padding: 28px; }
  .gallery-main { min-height: 380px; height: 112vw; max-height: 520px; }
  .purchase-row { grid-template-columns: 1fr 52px 52px; }
  .story-tabs { top: 72px; }
  .trade-wizard { min-height: 0; padding: 24px 18px; }
  .wizard-progress { gap: 4px; }
  .wizard-progress div { min-height: 46px; padding: 10px 5px; text-align: center; }
  .wizard-progress span { display: none; }
  .wizard-actions { grid-template-columns: 1fr; }
  .wizard-actions > span:empty { display: none; }
  .choice-cards, .condition-choices, .kit-choices, .contact-grid { grid-template-columns: 1fr; }
  .about-visual { min-height: 410px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; }
  .founders-strip, .proof-quote, .proof-metric { padding: 26px; }
  .proof-quote, .proof-metric { min-height: 260px; }
  .pickup-copy { padding: 26px; }
  .pickup-map { min-height: 480px; }
  .pickup-map iframe { min-height: 464px; }
  .pickup-switcher { grid-template-columns: 1fr; }
  .search-results { grid-template-columns: 1fr; }
  .mega-search input { min-height: 64px; font-size: 34px; letter-spacing: -.04em; }
  .account-order { grid-template-columns: 1fr; }
  .order-progress { grid-column: 1; }
  .admin-head, .account-head { align-items: flex-start; flex-direction: column; }
  .admin-metrics { grid-template-columns: 1fr 1fr; }
  .admin-toolbar { align-items: stretch; flex-direction: column; }
  .admin-form { grid-template-columns: 1fr; }
  .admin-form .full { grid-column: 1; }
  .admin-section-head { flex-direction: column; }
  .integration-grid { grid-template-columns: 1fr; }
  .integration-card { min-height: 350px; }
  .admin-integration-summary { grid-template-columns: 1fr; }
  .admin-summary-services { justify-content: flex-start; }
  .integration-flow ol { grid-template-columns: 1fr; }
  .integration-flow li { min-height: 145px; }
  .integration-log-row { grid-template-columns: 54px minmax(0, 1fr); }
  .integration-log-row span:last-child { grid-column: 2; }
  .integration-drawer-actions { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .header-actions > .account-link { display: none; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .admin-metrics { grid-template-columns: 1fr; }
}

@media (hover: none) {
  .product-card:hover { --lift: 0px; }
  .quick-btn { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .fan-console {
    opacity: 1;
    transform: rotate(var(--fan-rot));
  }
  .product-card,
  .gallery-main,
  .config-stage,
  .about-visual,
  .trust-visual {
    transform: none !important;
  }
}
