:root {
  color-scheme: dark;
  --bg: #07080d;
  --bg-2: #0d1018;
  --surface: #151925;
  --surface-soft: #1b2030;
  --text: #f5f7fa;
  --text-2: #b5bccb;
  --muted: #8992a5;
  --accent: #b7ff36;
  --accent-ink: #101607;
  --purple: #8b5cff;
  --blue: #00d9ff;
  --magenta: #ff4fd8;
  --border: rgb(255 255 255 / 0.11);
  --border-strong: rgb(255 255 255 / 0.2);
  --radius-card: 18px;
  --radius-control: 10px;
  --radius-pill: 999px;
  --font-display: "Archivo Black", Impact, sans-serif;
  --font-body: "Manrope", Arial, sans-serif;
  --font-code: "Roboto Mono", Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --max: 1440px;
  --header-height: 72px;
  --z-base: 0;
  --z-sticky: 30;
  --z-menu: 40;
  --z-modal-backdrop: 50;
  --z-modal: 55;
  --z-toast: 60;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 85% 15%, rgb(139 92 255 / 0.08), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: var(--z-toast);
  pointer-events: none;
  content: "";
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E");
}
body.menu-open, body.dialog-open { overflow: clip; }
button, input, textarea { font: inherit; }
button, a { touch-action: manipulation; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; }
::selection { color: var(--accent-ink); background: var(--accent); }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-control);
  color: var(--accent-ink);
  background: var(--accent);
  transform: translateY(-150%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.legal-bar {
  position: relative;
  z-index: calc(var(--z-sticky) + 1);
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 6px 52px;
  color: #d7dbe4;
  background: #10131c;
  border-bottom: 1px solid var(--border);
  font-size: 0.76rem;
}
.legal-bar p { margin: 0; text-align: center; }
.legal-dismiss {
  position: absolute;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  color: var(--text-2);
  background: transparent;
}
.legal-bar.is-hidden { display: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgb(7 8 13 / 0.88);
  border-color: var(--border);
  box-shadow: 0 16px 44px rgb(0 0 0 / 0.22);
  backdrop-filter: blur(18px) saturate(135%);
}
.header-inner {
  display: flex;
  width: min(calc(100% - 48px), var(--max));
  height: 100%;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; }
.brand span { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.04em; }
.site-header .brand span { color: #34f5ff; text-shadow: 0 0 2px #fff, 0 0 8px rgb(52 245 255 / 0.95), 0 0 20px rgb(52 245 255 / 0.68), 0 0 36px rgb(139 92 255 / 0.42); animation: brand-neon-cycle 6s linear infinite; }
@keyframes brand-neon-cycle {
  0%, 100% { color: #34f5ff; text-shadow: 0 0 2px #fff, 0 0 8px rgb(52 245 255 / 0.95), 0 0 20px rgb(52 245 255 / 0.68), 0 0 36px rgb(139 92 255 / 0.42); }
  33% { color: #ff4fd8; text-shadow: 0 0 2px #fff, 0 0 8px rgb(255 79 216 / 0.95), 0 0 21px rgb(255 79 216 / 0.7), 0 0 38px rgb(139 92 255 / 0.48); }
  66% { color: #b7ff36; text-shadow: 0 0 2px #fff, 0 0 8px rgb(183 255 54 / 0.98), 0 0 22px rgb(183 255 54 / 0.68), 0 0 38px rgb(0 217 255 / 0.42); }
}
.brand small { color: var(--muted); font-family: var(--font-code); font-size: 0.64rem; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.12em; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.desktop-nav a { position: relative; padding: 22px 0; color: var(--text-2); font-size: 0.85rem; font-weight: 600; }
.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s var(--ease);
}
.desktop-nav a:hover, .desktop-nav a.is-active { color: var(--text); }
.desktop-nav a:hover::after, .desktop-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button, .social-link, .menu-toggle {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text);
  background: rgb(255 255 255 / 0.03);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.icon-button:hover, .social-link:hover, .menu-toggle:hover { border-color: var(--border-strong); background: rgb(255 255 255 / 0.08); }
.social-link { font-size: 1.08rem; }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 0.83rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.22s var(--ease), background 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease);
}
.button:active { transform: scale(0.98); }
.button-primary { color: var(--accent-ink); background: var(--accent); }
.button-primary:hover { background: #c8ff6b; transform: translateY(-2px); }
.button-secondary { color: var(--text); border-color: var(--border-strong); background: rgb(255 255 255 / 0.03); }
.button-secondary:hover { border-color: rgb(183 255 54 / 0.55); background: rgb(183 255 54 / 0.07); }
.search-panel {
  position: absolute;
  top: calc(100% + 1px);
  right: max(24px, calc((100vw - var(--max)) / 2));
  width: min(460px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  background: #11151f;
  box-shadow: 0 28px 70px rgb(0 0 0 / 0.45);
}
.search-panel label { display: block; margin-bottom: 9px; color: var(--text-2); font-size: 0.78rem; font-weight: 700; }
.search-control { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; min-height: 50px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-control); background: var(--bg-2); }
.search-control input { width: 100%; border: 0; outline: 0; color: var(--text); background: transparent; }
.search-control input::placeholder { color: #8f98aa; }
.search-control button { width: 36px; height: 36px; border: 0; color: var(--text-2); background: transparent; }
.mobile-menu { display: none; }

.hero {
  position: relative;
  min-height: calc(100dvh - var(--header-height));
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--border);
  background: #07080d;
}
.hero-canvas, .hero-grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-canvas { z-index: -3; opacity: 0.9; }
.hero-grid {
  z-index: -2;
  opacity: 0.34;
  background-image: linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 70% 48%, black, transparent 69%);
}
.hero::after {
  position: absolute;
  z-index: -1;
  width: 50vw;
  height: 50vw;
  max-width: 800px;
  max-height: 800px;
  right: -4%;
  top: 5%;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgb(139 92 255 / 0.22), rgb(0 217 255 / 0.07) 38%, transparent 68%);
  filter: blur(20px);
  transform: translate3d(var(--glow-x, 0), var(--glow-y, 0), 0);
}
.hero-inner {
  display: grid;
  width: min(calc(100% - 48px), var(--max));
  min-height: calc(100dvh - var(--header-height));
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  padding: clamp(42px, 6vh, 84px) 0;
}
.hero-copy { position: relative; z-index: 3; min-width: 0; max-width: 680px; }
.hero-kicker { margin: 0 0 20px; color: var(--accent); font-family: var(--font-code); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; }
.hero h1 { width: max-content; max-width: none; margin: 0; font-family: var(--font-display); font-size: clamp(3.25rem, 5.15vw, 5rem); font-weight: 400; line-height: 0.94; letter-spacing: -0.04em; text-wrap: balance; text-transform: uppercase; }
.hero h1 span { display: block; white-space: nowrap; }
.hero-accent {
  width: max-content;
  max-width: 100%;
  padding-bottom: 0.08em;
  color: var(--accent);
  background: linear-gradient(90deg, var(--accent) 0%, #dfff9f 30%, var(--blue) 56%, var(--purple) 76%, var(--accent) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hero-text-light 7s linear infinite;
}
@keyframes hero-text-light { to { background-position: -220% 0; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; min-width: 0; min-height: min(72vh, 720px); perspective: 1400px; }
.hero-product { position: absolute; margin: 0; aspect-ratio: 1; will-change: transform; }
.hero-product img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--radius-card); filter: drop-shadow(0 32px 62px rgb(0 0 0 / 0.55)); }
.hero-product-back { width: 55%; top: 4%; left: 1%; transform: rotate(-7deg); opacity: 0.68; }
.hero-product-mid { width: 57.5%; right: -2%; top: 6%; transform: rotate(8deg); opacity: 0.76; }
.hero-product-main { width: 67%; right: 14%; bottom: 1%; z-index: 2; }
.hero-product-main img {
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 6%, #000 91%, transparent 100%),
    linear-gradient(to bottom, #000 0%, #000 78%, rgb(0 0 0 / 0.88) 82%, rgb(0 0 0 / 0.42) 91%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 6%, #000 91%, transparent 100%),
    linear-gradient(to bottom, #000 0%, #000 78%, rgb(0 0 0 / 0.88) 82%, rgb(0 0 0 / 0.42) 91%, transparent 100%);
  mask-composite: intersect;
}
.hero-product-main::after { position: absolute; top: 53%; left: 50%; z-index: -1; width: 46%; height: 35%; content: ""; border-radius: 50%; background: radial-gradient(ellipse at center, rgb(183 255 54 / 0.17) 0%, rgb(0 217 255 / 0.09) 42%, transparent 72%); transform: translate(-50%, -50%); pointer-events: none; }
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); width: min(calc(100% - 48px), var(--max)); margin: 0 auto; border-right: 1px solid var(--border); border-left: 1px solid var(--border); }
.trust-strip > div { display: flex; min-height: 92px; align-items: center; justify-content: center; gap: 11px; padding: 18px; border-right: 1px solid var(--border); color: var(--text-2); font-size: 0.83rem; font-weight: 700; text-align: center; }
.trust-strip > div:last-child { border-right: 0; }
.trust-strip i { color: var(--accent); font-size: 1.2rem; }
.marquee { overflow: hidden; border-block: 1px solid var(--border); background: var(--bg-2); }
.marquee-track { display: flex; width: max-content; padding: 15px 0; animation: marquee 26s linear infinite; }
.marquee-track span { display: flex; align-items: center; gap: 24px; padding-right: 28px; color: #d8dce5; font-family: var(--font-code); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; }
.marquee-track span::after { width: 4px; height: 4px; content: ""; border-radius: 50%; background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: clamp(92px, 10vw, 156px) 0; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2, .materials-intro h2, .builder-copy h2 { max-width: 18ch; margin: 0; font-family: var(--font-display); font-size: clamp(2.45rem, 5vw, 5rem); font-weight: 400; line-height: 0.98; letter-spacing: -0.035em; text-transform: uppercase; text-wrap: balance; }
.section-head p, .materials-intro p, .builder-copy > p { max-width: 62ch; margin: 18px 0 0; color: var(--text-2); font-size: 1rem; }
.narrow-head { max-width: 940px; }

.products-section { width: 100%; max-width: none; padding-inline: max(24px, calc((100vw - var(--max)) / 2)); background: var(--bg-2); border-block: 1px solid var(--border); }
.product-head { display: flex; max-width: none; align-items: end; justify-content: space-between; gap: 24px; }
.filter-row { display: flex; flex: 0 0 auto; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-button { min-height: 44px; padding: 0 16px; border: 1px solid var(--border); border-radius: var(--radius-pill); color: var(--text-2); background: transparent; font-size: 0.76rem; font-weight: 700; white-space: nowrap; transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease); }
.filter-button:hover { border-color: var(--border-strong); color: var(--text); }
.filter-button.is-active { border-color: var(--accent); color: var(--accent-ink); background: var(--accent); }
.product-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 1fr; gap: 14px; }
.product-card { grid-column: span 4; display: flex; min-width: 0; height: 100%; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); transition: transform 0.35s var(--ease), border-color 0.35s var(--ease); }
.product-card:hover { transform: translateY(-4px); border-color: rgb(183 255 54 / 0.27); }
.product-image-wrap { position: relative; aspect-ratio: 1.18; overflow: hidden; background: #0b0e15; }
.product-image-button { display: block; width: 100%; padding: 0; border: 0; color: inherit; text-align: left; cursor: zoom-in; }
.product-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease); }
.product-card:hover .product-image-wrap img { transform: scale(1.035); }
.variant-count { position: absolute; right: 12px; bottom: 12px; padding: 7px 10px; border-radius: var(--radius-control); color: #fff; background: rgb(7 8 13 / 0.78); backdrop-filter: blur(9px); font-family: var(--font-code); font-size: 0.66rem; }
.product-card-body { display: grid; flex: 1; grid-template-rows: auto minmax(4.8em, auto) auto; gap: 18px; padding: 22px; }
.product-card-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.product-card-heading > div:first-child { min-width: 0; }
.product-code { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-family: var(--font-code); font-size: 0.72rem; }
.product-card h3 { min-height: 3.4rem; margin: 7px 0 0; font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.25; text-wrap: balance; }
.product-price { text-align: right; }
.product-price strong { display: block; font-family: var(--font-code); font-size: 1.3rem; }
.product-price span { display: block; color: var(--muted); font-size: 0.65rem; }
.product-summary { display: -webkit-box; min-height: 4.8em; margin: 0; overflow: hidden; color: var(--text-2); font-size: 0.78rem; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.product-card-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.product-card-actions .button { width: 100%; min-height: 44px; padding-inline: 14px; font-size: 0.73rem; }
.empty-products { margin: 40px 0; color: var(--text-2); text-align: center; }

.product-dialog { z-index: var(--z-modal); width: min(calc(100% - 40px), 1280px); max-width: none; max-height: min(90vh, 900px); margin: auto; padding: 0; overflow: auto; border: 1px solid var(--border-strong); border-radius: var(--radius-card); color: var(--text); background: #0d1018; box-shadow: 0 24px 80px rgb(0 0 0 / 0.62); }
.product-dialog::backdrop { z-index: var(--z-modal-backdrop); background: rgb(3 4 8 / 0.82); backdrop-filter: blur(5px); }
.product-dialog[open] { animation: dialog-enter 0.28s var(--ease); }
.product-dialog-shell { position: relative; min-width: 0; padding: clamp(28px, 4vw, 56px); }
.product-dialog-close { position: absolute; top: 16px; right: 16px; z-index: 2; display: grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); color: var(--text); background: #151925; transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.product-dialog-close:hover { border-color: var(--accent); color: var(--accent); transform: rotate(4deg); }
@keyframes dialog-enter { from { opacity: 0; transform: translateY(18px) scale(0.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.detail-section { display: grid; min-width: 0; grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr); align-items: center; gap: clamp(36px, 5vw, 72px); }
.detail-gallery { min-width: 0; }
.detail-main-frame { position: relative; overflow: hidden; aspect-ratio: 1; border: 1px solid var(--border); border-radius: var(--radius-card); background: radial-gradient(circle at 50% 40%, #1b2440, #0b0d13 72%); }
.detail-main-frame img { width: 100%; height: 100%; object-fit: contain; transition: opacity 0.22s var(--ease), transform 0.45s var(--ease); }
.detail-main-frame img.is-switching { opacity: 0; transform: scale(0.985); }
.image-counter { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 8px; padding: 8px 11px; border-radius: var(--radius-control); background: rgb(7 8 13 / 0.78); font-family: var(--font-code); font-size: 0.7rem; }
.image-counter span + span::before { margin-right: 8px; color: var(--muted); content: "/"; }
.thumbnail-strip { display: flex; gap: 9px; margin-top: 12px; padding-bottom: 6px; overflow-x: auto; scroll-snap-type: x proximity; }
.detail-thumb { flex: 0 0 84px; width: 84px; height: 84px; padding: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-control); background: var(--surface); scroll-snap-align: start; }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumb.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.copy-code { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; padding: 0; border: 0; color: var(--accent); background: transparent; font-family: var(--font-code); font-size: 0.8rem; }
.detail-copy h2 { margin: 12px 0 16px; font-family: var(--font-display); font-size: clamp(2.35rem, 4.5vw, 4.8rem); font-weight: 400; line-height: 1; letter-spacing: -0.035em; text-transform: uppercase; text-wrap: balance; }
.detail-copy > p { max-width: 60ch; margin: 0; color: var(--text-2); }
.detail-price { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 20px; margin: 28px 0; padding: 20px 0; border-block: 1px solid var(--border); }
.detail-price span, .detail-price small { color: var(--muted); font-size: 0.72rem; }
.detail-price strong { grid-row: 1 / span 2; grid-column: 2; font-family: var(--font-code); font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1; }
.detail-columns { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; }
.detail-columns h3 { margin: 0 0 14px; font-size: 0.85rem; }
.component-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 0; padding: 0; list-style: none; }
.component-list li { position: relative; padding-left: 14px; color: var(--text-2); font-size: 0.74rem; }
.component-list li::before { position: absolute; top: 0.72em; left: 0; width: 5px; height: 5px; content: ""; border-radius: 50%; background: var(--accent); }
.option-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.option-cloud span { padding: 7px 10px; border: 1px solid var(--border); border-radius: var(--radius-pill); color: var(--text-2); font-size: 0.7rem; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.builder-section { display: grid; grid-template-columns: 0.74fr 1.26fr; gap: clamp(40px, 7vw, 100px); }
.builder-copy { position: sticky; top: calc(var(--header-height) + 32px); min-width: 0; align-self: start; }
.builder-copy h2 { max-width: 14ch; font-size: clamp(2.25rem, 2.7vw, 3.25rem); overflow-wrap: normal; }
.builder-process { display: grid; gap: 0; margin: 38px 0 0; padding: 0; list-style: none; counter-reset: builder; }
.builder-process li { position: relative; min-height: 54px; padding: 15px 0 15px 42px; border-bottom: 1px solid var(--border); color: var(--text-2); font-size: 0.84rem; counter-increment: builder; }
.builder-process li::before { position: absolute; left: 0; color: var(--accent); content: counter(builder, decimal-leading-zero); font-family: var(--font-code); font-size: 0.68rem; }
.builder-panel { min-width: 0; padding: clamp(22px, 4vw, 52px); border: 1px solid var(--border); border-radius: var(--radius-card); background: linear-gradient(140deg, #141925, #0d1018); }
.builder-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.builder-toolbar span { color: var(--text-2); }
.builder-toolbar strong { color: var(--accent); font-family: var(--font-code); font-size: 0.8rem; }
.builder-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.builder-option { display: grid; min-height: 112px; place-items: center; gap: 6px; padding: 16px 10px; border: 1px solid var(--border); border-radius: var(--radius-control); color: var(--text-2); background: rgb(255 255 255 / 0.025); font-size: 0.76rem; font-weight: 700; transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease), background 0.22s var(--ease); }
.builder-option i { font-size: 1.45rem; }
.builder-icon { display: block; width: 30px; height: 30px; overflow: visible; }
.builder-option:hover { border-color: var(--border-strong); color: var(--text); }
.builder-option.is-selected { border-color: var(--accent); color: var(--accent); background: rgb(183 255 54 / 0.07); transform: translateY(-2px); }
.builder-summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.builder-summary span { color: var(--muted); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.07em; }
.builder-summary p { max-width: 48ch; margin: 5px 0 0; color: var(--text-2); font-size: 0.8rem; }
.builder-quote-link { width: 100%; margin-top: 22px; gap: 9px; }
.builder-quote-link i { font-size: 1rem; }

.customization-section { width: 100%; max-width: none; padding-inline: max(24px, calc((100vw - var(--max)) / 2)); background: #0b0e15; border-block: 1px solid var(--border); }
.capability-layout { display: grid; grid-template-columns: minmax(300px, 0.62fr) minmax(480px, 1.38fr); gap: 20px; }
.capability-list { display: grid; align-content: start; }
.capability-item { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 18px; padding: 0 18px 0 0; border: 0; border-bottom: 1px solid var(--border); color: var(--text-2); background: transparent; text-align: left; transition: color 0.2s var(--ease), padding 0.2s var(--ease); }
.capability-item i { opacity: 0; transform: translate(-6px, 6px); transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); }
.capability-item:hover, .capability-item.is-active { padding-left: 14px; color: var(--accent); }
.capability-item:hover i, .capability-item.is-active i { opacity: 1; transform: translate(0, 0); }
.comparison { position: relative; height: clamp(320px, 42vw, 560px); min-height: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); container-type: inline-size; }
.comparison-layer { position: absolute; inset: 0; overflow: hidden; }
.comparison-layer img { width: 100%; height: 100%; object-fit: contain; }
.comparison-layer span { position: absolute; bottom: 18px; padding: 8px 12px; border-radius: var(--radius-control); color: #fff; background: rgb(7 8 13 / 0.75); font-family: var(--font-code); font-size: 0.7rem; }
.comparison-before span { left: 18px; }
.comparison-after { width: 52%; border-right: 1px solid #fff; }
.comparison-after img { width: 100cqw; min-width: 100cqw; max-width: none; }
.comparison-after span { right: 18px; }
.comparison-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.comparison-handle { position: absolute; z-index: 2; top: 50%; left: 52%; display: flex; width: 50px; height: 50px; align-items: center; justify-content: center; gap: 1px; border-radius: 50%; color: var(--accent-ink); background: var(--accent); box-shadow: 0 12px 34px rgb(0 0 0 / 0.4); transform: translate(-50%, -50%); }

.materials-section { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: clamp(48px, 8vw, 120px); }
.materials-intro { min-width: 0; align-self: start; }
.material-grid { display: grid; min-width: 0; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.material-tile { position: relative; min-height: 260px; overflow: hidden; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); }
.material-tile::before { position: absolute; inset: 0; content: ""; opacity: 0.45; }
.material-tile > * { position: relative; z-index: 1; }
.material-tile span { color: var(--accent); font-family: var(--font-code); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; }
.material-tile h3 { max-width: 14ch; margin: 34px 0 10px; font-size: 1.3rem; line-height: 1.25; }
.material-tile p { margin: 0; color: var(--text-2); font-size: 0.78rem; }
.material-tile.metal::before { background: repeating-linear-gradient(115deg, transparent 0 7px, rgb(255 255 255 / 0.09) 8px 9px), linear-gradient(135deg, #313949, #11151d); }
.material-tile.glass::before { background: radial-gradient(circle at 70% 25%, rgb(0 217 255 / 0.28), transparent 35%), linear-gradient(140deg, #151b25, #0c0f15); }
.material-tile.polymer::before { background: repeating-radial-gradient(circle at 20% 100%, rgb(139 92 255 / 0.22) 0 2px, transparent 3px 18px); }
.material-tile.packaging::before { background: repeating-linear-gradient(45deg, rgb(183 255 54 / 0.07) 0 1px, transparent 1px 14px); }
.finish-row { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; margin-top: -80px; align-self: end; }
.finish-row span { padding: 8px 11px; border: 1px solid var(--border); border-radius: var(--radius-pill); color: var(--text-2); font-size: 0.7rem; }

.process-section { width: 100%; max-width: none; padding-inline: max(24px, calc((100vw - var(--max)) / 2)); background: var(--bg-2); }
.production-timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.production-timeline::before { position: absolute; top: 29px; right: 8%; left: 8%; height: 1px; content: ""; background: linear-gradient(90deg, var(--accent), var(--blue), var(--purple)); opacity: 0.5; }
.production-timeline li { position: relative; padding: 0 22px; text-align: center; }
.production-timeline span { position: relative; z-index: 1; display: grid; width: 58px; height: 58px; place-items: center; margin: 0 auto 22px; border: 1px solid var(--border-strong); border-radius: 50%; color: var(--accent); background: var(--bg-2); font-family: var(--font-code); font-size: 0.7rem; }
.production-timeline h3 { margin: 0 0 10px; font-size: 0.95rem; }
.production-timeline p { margin: 0; color: var(--text-2); font-size: 0.76rem; }

.site-footer { display: grid; grid-template-columns: 1.4fr repeat(2, 0.7fr); width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 64px 0 34px; gap: 40px; border-top: 1px solid var(--border); }
.footer-brand p { max-width: 38ch; margin: 20px 0 0; color: var(--text-2); font-size: 0.78rem; }
.site-footer h2 { margin: 0 0 16px; color: var(--muted); font-family: var(--font-code); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; }
.site-footer > div:not(.footer-brand):not(.footer-bottom) { display: flex; flex-direction: column; align-items: start; }
.site-footer > div > a:not(.brand) { min-height: 36px; color: var(--text-2); font-size: 0.75rem; }
.site-footer > div > a:hover { color: var(--accent); }
.footer-bottom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.68rem; }
.footer-bottom p { margin: 0; }
.back-to-top { display: grid; flex: 0 0 44px; width: 44px; height: 44px; place-items: center; border: 1px solid var(--border); border-radius: var(--radius-pill); color: var(--text); background: var(--surface); }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: var(--z-toast); max-width: min(360px, calc(100vw - 44px)); padding: 13px 16px; border: 1px solid var(--border-strong); border-radius: var(--radius-control); color: var(--text); background: #171c27; box-shadow: 0 18px 60px rgb(0 0 0 / 0.46); opacity: 0; pointer-events: none; transform: translateY(14px); transition: opacity 0.22s var(--ease), transform 0.22s var(--ease); }
.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .hero-inner { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
  .product-card { grid-column: span 6; }
  .detail-section { gap: 48px; }
  .detail-columns { grid-template-columns: 1fr; }
  .comparison { min-height: 0; }
}

@media (max-width: 900px) {
  .header-inner, .section, .site-footer, .trust-strip { width: min(calc(100% - 32px), var(--max)); }
  .products-section, .customization-section, .process-section { padding-inline: 16px; }
  .product-head { align-items: start; flex-direction: column; }
  .filter-row { width: 100%; padding-bottom: 2px; }
  .filter-button { min-width: max-content; flex: 0 0 auto; }
  .hero-inner { width: min(calc(100% - 32px), var(--max)); min-height: auto; grid-template-columns: minmax(0, 1fr); padding: 72px 0 28px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 620px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-strip > div:nth-child(2) { border-right: 0; }
  .trust-strip > div:nth-child(-n + 2) { border-bottom: 1px solid var(--border); }
  .detail-section, .builder-section, .materials-section { grid-template-columns: minmax(0, 1fr); }
  .builder-copy { position: static; }
  .builder-options { grid-template-columns: repeat(3, 1fr); }
  .capability-layout { grid-template-columns: 1fr; }
  .comparison { min-height: 0; }
  .finish-row { grid-column: 1; margin-top: 0; }
  .production-timeline { grid-template-columns: 1fr; gap: 0; }
  .production-timeline::before { top: 18px; bottom: 18px; left: 28px; width: 1px; height: auto; }
  .production-timeline li { display: grid; min-height: 130px; grid-template-columns: 58px 1fr; grid-template-rows: auto 1fr; gap: 5px 20px; padding: 0; text-align: left; }
  .production-timeline span { grid-row: 1 / span 2; margin: 0; }
  .production-timeline h3 { align-self: end; }
  .site-footer { grid-template-columns: 1.2fr repeat(2, 1fr); }
}

@media (max-width: 680px) {
  :root { --header-height: 64px; }
  .legal-bar { padding-inline: 42px; }
  .header-inner { width: calc(100% - 24px); gap: 10px; }
  .brand small, .icon-button { display: none; }
  .mobile-menu { position: fixed; inset: var(--header-height) 0 0; z-index: var(--z-menu); display: flex; flex-direction: column; gap: 0; padding: 26px 20px; background: rgb(7 8 13 / 0.98); visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-14px); }
  .mobile-menu.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
  .mobile-menu a { display: flex; min-height: 58px; align-items: center; border-bottom: 1px solid var(--border); font-family: var(--font-display); font-size: 1.35rem; text-transform: uppercase; }
  .hero-inner { padding-top: 54px; }
  .hero h1 { width: auto; max-width: 100%; font-size: clamp(2.55rem, 12vw, 3.9rem); }
  .hero h1 span { white-space: normal; }
  .hero-accent { width: auto; }
  .hero-actions .button { flex: 1 1 180px; }
  .hero-visual { min-height: 460px; margin-top: 8px; }
  .hero-product-back { width: 60%; left: -1%; }
  .hero-product-mid { width: 62.5%; right: -4%; }
  .hero-product-main { width: 75%; right: 10%; }
  .trust-strip { width: 100%; border-inline: 0; }
  .trust-strip > div { min-height: 82px; padding: 14px 10px; font-size: 0.72rem; }
  .section { width: calc(100% - 32px); padding: 88px 0; }
  .section-head h2, .materials-intro h2, .builder-copy h2 { max-width: 100%; font-size: clamp(2.15rem, 10.4vw, 3.3rem); overflow-wrap: break-word; }
  .product-grid { display: block; }
  .product-card { margin-bottom: 14px; }
  .product-image-wrap { aspect-ratio: 1.08; }
  .product-card-heading { align-items: end; }
  .product-dialog { width: calc(100% - 20px); max-height: calc(100vh - 20px); border-radius: 14px; }
  .product-dialog-shell { padding: 64px 18px 24px; }
  .detail-section { gap: 34px; }
  .detail-copy h2 { font-size: 2.7rem; }
  .component-list { grid-template-columns: 1fr; }
  .builder-panel { padding: 18px; }
  .builder-options { grid-template-columns: repeat(2, 1fr); }
  .builder-summary { align-items: stretch; flex-direction: column; }
  .comparison { min-height: 0; }
  .material-grid { grid-template-columns: 1fr; }
  .material-tile { min-height: 220px; }
  .site-footer { width: calc(100% - 32px); grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: start; flex-wrap: wrap; }
  .footer-bottom p { flex: 1 1 220px; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 2.42rem; }
  .hero-visual { min-height: 400px; }
  .hero-product-main { width: 82%; right: 5%; }
  .product-card-body { padding: 18px; }
  .product-card-heading { align-items: start; flex-direction: column; }
  .product-price { text-align: left; }
  .builder-options { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > div, .footer-brand, .footer-bottom { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .hero-accent { color: var(--accent); background: none; -webkit-text-fill-color: currentColor; }
  .marquee-track { width: 100%; flex-wrap: wrap; justify-content: center; transform: none !important; }
  .marquee-track [aria-hidden="true"] { display: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header.is-scrolled, .variant-count, .product-dialog::backdrop { background: #0d1018; backdrop-filter: none; }
}
