:root {
  color-scheme: dark;
  --bg: #050608;
  --panel: #0e1117;
  --panel-2: #151922;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f5f7fb;
  --muted: #aab3c2;
  --red: #ff3158;
  --green: #5cff85;
  --blue: #31b7ff;
  --yellow: #ffd84d;
  --cyan: #43f7dc;
  --purple: #a46cff;
  --radius: 8px;
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 49, 88, 0.13), transparent 28rem),
    radial-gradient(circle at 93% 8%, rgba(49, 183, 255, 0.12), transparent 30rem),
    linear-gradient(180deg, #050608 0%, #090b10 48%, #050608 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}
body[data-page="home"] {
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.38), rgba(5, 6, 8, 0.58) 48%, rgba(5, 6, 8, 0.82)),
    url("assets/home-background.png") center top / cover fixed no-repeat,
    #050608;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(5, 6, 8, 0.82);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.utility {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.utility a { color: var(--text); font-weight: 700; }
.utility-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.utility .track-repair-button {
  padding: 6px 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--red), var(--blue) 52%, var(--green));
  color: #050608;
  text-align: center;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}
.brand img {
  width: 260px;
  height: 110px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  padding: 0;
}
.brand-image {
  min-width: 430px;
}
.brand strong { display: block; font-size: 1.08rem; color: #fff; }
.brand span { display: block; color: var(--muted); font-size: 0.78rem; }
.brand-copy {
  min-width: 0;
}
.brand-copy strong {
  font-size: 1rem;
}
.brand-copy span {
  color: var(--text);
  font-weight: 700;
  font-size: 0.86rem;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text);
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.navlinks a {
  color: var(--muted);
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 0.92rem;
}
.navlinks a.active,
.navlinks a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--red), var(--blue) 52%, var(--green));
  color: #050608;
  font-weight: 800;
  cursor: pointer;
}
.btn:disabled {
  cursor: wait;
  filter: grayscale(0.4);
  opacity: 0.72;
}
.btn.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.hero {
  min-height: 640px;
  display: grid;
  align-items: center;
  padding: 78px 0 34px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 34px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--cyan);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.8rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--green), var(--blue));
}
h1 {
  margin: 16px 0;
  max-width: 900px;
  font-size: clamp(2.6rem, 8vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}
h2 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}
h3 { margin: 0 0 8px; font-size: 1.12rem; }
p { color: var(--muted); margin: 0 0 16px; }
.lead {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  max-width: 720px;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-card {
  position: relative;
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--panel);
}
.hero-card img, .photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(5, 6, 8, 0.82));
}
.stat-strip {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 6, 8, 0.72);
  padding: 12px;
}
.stat strong { display: block; font-size: 1.22rem; }
.stat span { color: var(--muted); font-size: 0.78rem; }
section { padding: 72px 0; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.seo-static {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}
.seo-static nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 24px 0;
}
.seo-static a {
  color: var(--cyan);
  font-weight: 700;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 26px;
}
.section-head p { max-width: 610px; }
.grid { display: grid; gap: 16px; }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quote-steps { grid-template-columns: 1fr; margin-top: 22px; }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  padding: 20px;
}
.card.accent { border-color: rgba(67, 247, 220, 0.35); }
.card a { color: var(--cyan); font-weight: 800; }
.rich-content .cards { align-items: stretch; }
.rich-content .card {
  display: grid;
  align-content: start;
  gap: 10px;
}
.rich-content .card p,
.rich-content .card .list {
  margin: 0;
}
.rich-outro {
  max-width: 920px;
  margin: 24px 0 0;
  font-weight: 800;
  color: var(--text);
}
.privacy-policy { max-width: 980px; }
.privacy-policy .section-head { align-items: start; }
.privacy-policy h1 { margin-bottom: 0; }
.privacy-intro { margin-bottom: 18px; }
.privacy-intro p:last-child { margin-bottom: 0; }
.policy-section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.policy-section h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
.policy-section .list { margin-top: 14px; }
.policy-section a { color: var(--cyan); font-weight: 800; }
.trust-section {
  padding: 0 0 56px;
  border-top: 0;
}
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.trust-strip div,
.stock-points article,
.ebay-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  padding: 16px;
}
.trust-strip strong,
.stock-points strong,
.ebay-note strong {
  display: block;
  color: var(--text);
  font-size: 1.02rem;
}
.trust-strip span,
.stock-points span,
.ebay-note span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 4px;
}
.ebay-showcase {
  display: grid;
  gap: 16px;
}
.ebay-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(67, 247, 220, 0.35);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 49, 88, 0.14), rgba(49, 183, 255, 0.1)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  padding: 24px;
}
.stock-heading-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(67, 247, 220, 0.35);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 49, 88, 0.14), rgba(49, 183, 255, 0.1)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  padding: 24px;
}
.stock-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(67, 247, 220, 0.35);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(49, 183, 255, 0.12), rgba(92, 255, 133, 0.08)),
    rgba(255, 255, 255, 0.04);
  padding: 24px;
}
.stock-intro h2,
.stock-intro p {
  max-width: 720px;
}
.stock-points {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ebay-panel h2 {
  max-width: 760px;
}
.ebay-panel p {
  max-width: 760px;
}
.stock-heading-panel h2,
.stock-heading-panel p {
  max-width: 760px;
}
.stock-heading-panel p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.hero-list {
  margin-top: 22px;
}
.ebay-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}
.ebay-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shop-card {
  min-height: 210px;
  display: grid;
  align-content: start;
}
.ebay-live { display: grid; gap: 16px; }
.ebay-live-heading { margin-bottom: 0; }
.ebay-live-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ebay-listing { min-width: 0; padding: 0; overflow: hidden; }
.ebay-listing-image {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
}
.ebay-listing-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 180ms ease;
}
.ebay-listing-image:hover img { transform: scale(1.035); }
.ebay-listing-body { padding: 16px; }
.ebay-listing-body h3 {
  display: -webkit-box;
  min-height: 3.5em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 1rem;
}
.ebay-listing-condition {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ebay-listing-price { color: var(--text); font-size: 1.25rem; font-weight: 800; }
.build-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.build-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
  min-height: 360px;
}
.build-gallery img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform 180ms ease;
}
.build-gallery-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: zoom-in;
}
.build-gallery-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}
.build-gallery figure:hover img {
  transform: scale(1.025);
}
.lightbox-open { overflow: hidden; }
.build-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 56px 20px 20px;
  background: rgba(0, 0, 0, 0.94);
  cursor: zoom-out;
}
.build-lightbox[hidden] { display: none; }
.build-lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 76px);
  max-height: calc(100dvh - 76px);
  object-fit: contain;
  border-radius: 6px;
  cursor: default;
}
.build-lightbox-close {
  position: fixed;
  top: 12px;
  right: 16px;
  z-index: 1;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font: 36px/38px Arial, sans-serif;
  cursor: pointer;
}
.build-lightbox-close:hover,
.build-lightbox-close:focus-visible { background: var(--accent); }
.ebay-note {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(255, 49, 88, 0.24), rgba(49, 183, 255, 0.22), rgba(92, 255, 133, 0.2));
}
.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 30px;
  align-items: center;
}
.photo-band {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}
.list li {
  padding: 12px 12px 12px 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  position: relative;
}
.list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 19px;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}
.form {
  display: grid;
  gap: 12px;
}
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
label { color: var(--muted); font-size: 0.9rem; font-weight: 700; }
input, select, textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  padding: 12px 13px;
}
.consent-check {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 56px;
  padding: 12px 14px;
  border: 1px solid rgba(67, 247, 220, 0.34);
  border-radius: var(--radius);
  background: rgba(67, 247, 220, 0.07);
  color: var(--text);
  cursor: pointer;
}
.consent-check input[type="checkbox"] {
  width: 28px;
  height: 28px;
  margin: 0;
  accent-color: var(--green);
  cursor: pointer;
}
.consent-check span {
  line-height: 1.35;
}
.field-note {
  display: block;
  margin-top: 8px;
  color: var(--cyan);
  font-size: 0.82rem;
  line-height: 1.35;
}
.field-note[hidden] {
  display: none;
}
select.is-disabled,
select:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}
select,
select option {
  background: #fff;
  color: #050608;
}
textarea { min-height: 126px; resize: vertical; }
.recaptcha-slot {
  min-height: 78px;
  color: var(--muted);
}
.stock-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.stock-sheet-wrap {
  width: 100%;
  max-height: 620px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}
.stock-sheet {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}
.stock-sheet th,
.stock-sheet td {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 7px 9px;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}
.stock-sheet th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #121720;
  color: var(--text);
  font-size: 0.78rem;
  padding: 8px 9px;
  white-space: nowrap;
}
.stock-sheet-gap td {
  background: rgba(255, 255, 255, 0.04);
  padding-block: 12px;
}
.stock-sheet input {
  min-width: 92px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 7px 9px;
  color: var(--text);
}
.stock-sheet input:focus {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
  background: rgba(67, 247, 220, 0.08);
}
.stock-actions {
  min-width: 92px;
  padding: 6px !important;
}
.stock-actions .btn {
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.78rem;
}
.notice {
  display: none;
  border: 1px solid rgba(92, 255, 133, 0.35);
  border-radius: var(--radius);
  background: rgba(92, 255, 133, 0.08);
  color: var(--text);
  padding: 14px;
}
.notice.show { display: block; }
.notice.error {
  border-color: rgba(255, 49, 88, 0.45);
  background: rgba(255, 49, 88, 0.12);
}
.notice.loading {
  border-color: rgba(49, 183, 255, 0.45);
  background: rgba(49, 183, 255, 0.12);
}
.footer {
  border-top: 1px solid var(--line);
  background: #030405;
  padding: 44px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}
.footer a { color: var(--muted); display: block; margin: 6px 0; }
.ai-helper {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
}
.ai-helper-toggle {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(67, 247, 220, 0.5);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--blue), var(--green));
  color: #fff;
  font-weight: 900;
  box-shadow: var(--shadow);
}
.ai-helper-panel {
  width: min(380px, calc(100vw - 28px));
  max-height: min(620px, calc(100vh - 100px));
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border: 1px solid rgba(67, 247, 220, 0.38);
  border-radius: var(--radius);
  background: rgba(8, 10, 15, 0.97);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}
.ai-helper-panel[hidden] { display: none; }
.ai-helper-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.ai-helper-head button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}
.ai-helper-log {
  display: grid;
  gap: 10px;
  align-content: start;
  max-height: 430px;
  overflow: auto;
  padding: 14px;
}
.ai-msg {
  width: fit-content;
  max-width: 92%;
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.92rem;
}
.ai-msg.user {
  justify-self: end;
  background: rgba(67, 247, 220, 0.16);
}
.ai-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ai-choices button,
.ai-helper-input button {
  border: 1px solid rgba(67, 247, 220, 0.35);
  border-radius: 999px;
  background: rgba(67, 247, 220, 0.12);
  color: var(--text);
  font-weight: 800;
  padding: 8px 10px;
}
.ai-helper-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}
.ai-helper-input input {
  margin: 0;
  min-height: 42px;
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav { min-height: 68px; }
  .navlinks {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 166px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #090b10;
    box-shadow: var(--shadow);
  }
  .navlinks.open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { min-height: auto; padding-top: 44px; }
  .hero-grid, .split, .two, .footer-grid, .ebay-panel, .stock-heading-panel, .stock-intro { grid-template-columns: 1fr; }
  .ebay-actions { justify-content: flex-start; }
  .cards, .trust-strip, .ebay-cards, .ebay-live-grid, .stock-points, .build-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-card { min-height: 390px; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 22px, 1160px); }
  .utility { display: grid; }
  .utility-actions { justify-content: space-between; gap: 10px; }
  .brand { min-width: 0; }
  .brand-image { min-width: 0; }
  .brand img { width: 176px; height: 76px; }
  .brand-copy strong { font-size: 0.86rem; }
  .brand-copy span { font-size: 0.76rem; }
  .navlinks { top: 176px; grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.25rem, 15vw, 4rem); }
  section { padding: 48px 0; }
  .cards, .list, .form-row, .stat-strip, .trust-strip, .ebay-cards, .ebay-live-grid, .stock-points, .build-gallery { grid-template-columns: 1fr; }
  .build-gallery figure,
  .build-gallery img { min-height: 420px; }
  .ebay-note { display: grid; }
  .ai-helper { right: 10px; bottom: 10px; }
  .ai-helper-panel { max-height: calc(100vh - 86px); }
  .hero-card { min-height: 520px; }
  .stat-strip { left: 12px; right: 12px; }
  .actions .btn { width: 100%; }
}
