/* I NEED A ROBOT — B2B catalog with a night-Earth globe field
   Palette: near-black / deep navy, gold #F5C26B, pale ice #C6E6F5 */
:root {
  --bg: #05070C;
  --bg-header: rgba(14, 20, 32, 0.94);
  --bg-elev: rgba(14, 20, 32, 0.94);
  --bg-card: rgba(14, 20, 32, 0.92);
  --ink: #0B0F17;
  --cyan: #C6E6F5;
  --violet: #8B5CF6;
  --ice: #C6E6F5;
  --gold: #F5C26B;
  --heading: #FFFFFF;
  --text: #D7DEE8;
  --muted: #AEB8C6;
  --line: rgba(232, 246, 255, 0.14);
  --line-strong: rgba(245, 194, 107, 0.38);
  --danger: #F472B6;
  --radius: 6px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: var(--font);
  --font-body: var(--font);
  --header-h: 4.25rem;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
h1, h2, h3, h4, h5, h6,
.page-hero h1, .hero h1, .card h3, .how-card h3, .plan-card h3,
.listing-template h3, .footer-grid h2, .mega-panel h3 {
  color: var(--heading);
}
a {
  color: var(--gold);
  text-decoration: none;
}
a:hover, a:focus {
  color: var(--gold);
  text-decoration: underline;
}
.wordmark, .wordmark:hover, .wordmark:focus,
.cta, .cta:hover, .cta:focus,
.btn-secondary, .btn-secondary:hover, .btn-secondary:focus,
.primary-nav a, .primary-nav a:hover, .primary-nav a:focus,
.header-search button, .mega-grid a, .mega-grid a:hover,
.site-footer a, .site-footer a:hover, .site-footer a:focus,
.contracts-subnav a, .contracts-subnav a:hover,
.tag a, .tag-quote a {
  text-decoration: none;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.55;
  font-size: 0.95rem;
  letter-spacing: 0;
  background-color: #05070C;
  background-image:
    radial-gradient(ellipse 80% 50% at 18% 0%, rgba(18, 48, 78, 0.28), transparent 58%),
    radial-gradient(ellipse 70% 45% at 88% 8%, rgba(20, 50, 80, 0.16), transparent 52%),
    linear-gradient(180deg, #05070C 0%, #0A1018 55%, #0B1520 100%);
  background-attachment: fixed;
}

.field { display: none; }

.globe-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.globe-bg-hero {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: min(94vh, 880px);
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}
.globe-bg-page {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.48;
}
.globe-canvas {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.globe-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 55%;
  display: block;
}
.globe-bg-hero.is-live .globe-poster {
  opacity: 0;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(5, 7, 12, 0.88) 0%,
      rgba(5, 7, 12, 0.58) 16%,
      rgba(5, 7, 12, 0.22) 28%,
      rgba(5, 7, 12, 0.00) 42%),
    linear-gradient(180deg,
      rgba(5, 7, 12, 0.28) 0%,
      rgba(5, 7, 12, 0.00) 18%,
      rgba(5, 7, 12, 0.00) 72%,
      rgba(5, 7, 12, 0.35) 100%);
}
.footer-credit {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}
body { position: relative; }
.site-header, main, .site-footer { position: relative; z-index: 1; }
.site-header { z-index: 40; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 0.5rem 1rem;
  z-index: 60;
  font-weight: 700;
}
.skip:focus { left: 1rem; top: 1rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin: 0 auto;
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg-header);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 0.65rem 0;
}
.wordmark {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
  color: var(--heading);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span { color: var(--gold); }

.header-search {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 20, 32, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}
.header-search:focus-within { border-color: var(--line-strong); }
.header-search input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  padding: 0.55rem 0.75rem;
  outline: none;
}
.header-search button[type="submit"] {
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--gold);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0 0.95rem;
  cursor: pointer;
}
.header-search button[type="submit"]:hover { background: #f8d08a; color: var(--ink); }

.condition-toggle {
  display: inline-flex;
  flex-shrink: 0;
  border-right: 1px solid var(--line);
  background: var(--bg-elev);
}
.condition-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.condition-toggle label {
  margin: 0;
  padding: 0.55rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  cursor: pointer;
  border-right: 1px solid var(--line);
}
.condition-toggle label:last-of-type { border-right: 0; }
.condition-toggle input:checked + label {
  color: var(--ink);
  background: var(--gold);
  font-weight: 700;
}
.condition-toggle input:focus-visible + label {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}
.condition-toggle.standalone {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  border-right: 0;
}
.condition-toggle.standalone label:last-of-type { border-right: 0; }

.primary-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem 0.95rem;
}
.primary-nav a,
.mega-btn {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  background: none;
  border: 0;
  font-family: inherit;
  padding: 0.25rem 0;
  cursor: pointer;
}
.primary-nav a:hover,
.primary-nav a:focus,
.mega-btn:hover,
.mega-btn:focus,
.primary-nav a[aria-current="page"] {
  color: var(--ice);
}
.primary-nav a.nav-sell {
  color: var(--ink);
  background: var(--gold);
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.8rem;
}
.primary-nav a.nav-sell:hover,
.primary-nav a.nav-sell:focus,
.primary-nav a.nav-sell[aria-current="page"] {
  color: var(--ink);
  background: #f8d08a;
  filter: none;
}

.mega-wrap { position: relative; }
.mega-btn { display: inline-flex; align-items: center; gap: 0.3rem; }
.mega-btn::after { content: "▾"; font-size: 0.65rem; opacity: 0.8; }
.mega-panel {
  display: none;
  position: absolute;
  top: calc(100% + 0.7rem);
  right: 0;
  width: min(920px, 86vw);
  background: rgba(14, 20, 32, 0.96);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem 1.2rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  z-index: 50;
}
.mega-wrap.open .mega-panel,
.mega-wrap:hover .mega-panel { display: block; }
.mega-panel h3 {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.15rem 1rem;
}
.mega-grid a {
  display: block;
  color: var(--text);
  text-decoration: none;
  font-size: 0.82rem;
  padding: 0.28rem 0;
  border-bottom: 0;
}
.mega-grid a:hover { color: var(--gold); }
.mega-footnote {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.mega-footnote a { color: var(--gold); }

/* ----- Page body ----- */
.page-hero {
  padding: 2.1rem 0 1.4rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.page-hero h1,
.hero h1 {
  margin: 0.2rem 0 0.5rem;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}
.kicker {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 0.45rem;
  border: 0;
  padding: 0;
  background: none;
  border-radius: 0;
}
.slogan, .tagline {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.02rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}
.hero {
  padding: 2.4rem 0 2rem;
  text-align: left;
}
.hero .finder { max-width: 48rem; }

.finder label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.45rem;
}
.glass-input, .search-row {
  display: flex;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}
.glass-input:focus-within, .search-row:focus-within { border-color: var(--line-strong); }
.glass-input input, .search-row input {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  padding: 0.7rem 0.85rem;
  outline: none;
}
.glass-input button, .search-row button {
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--gold);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  padding: 0 1.1rem;
  cursor: pointer;
}
.glass-input button:hover, .search-row button:hover { background: #f8d08a; }
.hint { color: var(--muted); font-size: 0.86rem; margin: 0.55rem 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1rem; }

.section { padding: 2.1rem 0; }
.section h2, h2 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
  font-weight: 650;
}
.lede { color: var(--text); margin: 0 0 1.15rem; max-width: 52rem; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.8rem 1.2rem;
  margin-bottom: 1rem;
}
.section-head .lede { margin-bottom: 0; }

/* How it works */
.how-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(14, 20, 32, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.45rem 0 1.35rem;
  position: relative;
}
.how-connect-wrap { position: relative; }
.how-connectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 2;
}
.how-path-glow {
  fill: none;
  stroke: rgba(245, 194, 107, 0.22);
  stroke-width: 3;
  stroke-linecap: round;
}
.how-path {
  fill: none;
  stroke: rgba(198, 230, 245, 0.8);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.how-pulse { fill: var(--gold); }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1.75rem;
  position: relative;
  z-index: 1;
}
.how-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.05rem 1.05rem;
}
.how-card h3 {
  margin: 0 0 0.3rem;
  font-size: 0.92rem;
  font-weight: 650;
}
.how-grid p, .how-card p { margin: 0; color: var(--text); font-size: 0.88rem; }
.how-node {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 194, 107, 0.18);
  margin: 0 0 0.55rem;
}
.how-step { color: var(--gold); font-size: 0.72rem; font-weight: 650; letter-spacing: 0.06em; }

.cta-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.cta-band p { margin: 0; color: var(--text); }

/* Cards / grids */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.85rem;
}
.card {
  display: block;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.95rem 1rem;
  color: inherit;
  text-decoration: none;
}
a.card:hover, a.card:focus { border-color: var(--line-strong); }
.card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--heading);
}
.card p { margin: 0; color: var(--text); font-size: 0.86rem; }
.card.info-only { border-style: solid; opacity: 1; }
.card .mode-row, .card .cond-row { margin-top: 0.65rem; }

.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.12rem 0.38rem;
  color: var(--muted);
  background: transparent;
}
.tag-info { color: var(--danger); border-color: rgba(244, 114, 182, 0.35); }
.tag-soon { color: var(--muted); }
.tag-quote { color: var(--gold); border-color: var(--line-strong); }
.tag-quote a { color: inherit; text-decoration: none; }
.tag-new { color: var(--ice); border-color: var(--line-strong); }
.tag-used, .tag-refurbished { color: #d6c7ff; border-color: rgba(139, 92, 246, 0.4); }
.tag-verified {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
  letter-spacing: 0.06em;
}
.badge-example, .example-banner {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #041018;
  background: #c9d4e0;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}
.example-banner {
  display: block;
  width: fit-content;
  margin-bottom: 0.8rem;
}

.launch-card, .hub-card { background: var(--bg-card); }
.launch-card.first,
#market-us {
  box-shadow: none;
  border-color: var(--line-strong);
}

.banner, .ad-empty, .coming-soon-box {
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: left;
  color: var(--text);
}
.banner strong { color: var(--text); }
.ad-empty {
  text-align: center;
  font-family: var(--font);
  letter-spacing: 0;
  color: var(--text);
  font-weight: 600;
}
.price-row {
  font-family: var(--font);
  color: var(--gold);
  letter-spacing: 0;
  font-weight: 650;
  margin: 0 0 1rem;
}
.cta, .btn-secondary {
  display: inline-block;
  margin-top: 0;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  font-size: 0.88rem;
  border: 1px solid var(--gold);
}
.cta:hover, .cta:focus { background: #f8d08a; filter: none; color: var(--ink); }
.cta.buy-now { font-size: 1.15rem; font-weight: 700; padding: 0.9rem 1.55rem; letter-spacing: 0.02em; }
.tag-buy { color: var(--gold); border-color: var(--line-strong); }
.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(232, 238, 246, 0.75);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: #ffffff;
}
.cta-row { margin-top: 0.85rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.offer-list { color: var(--muted); padding-left: 1.15rem; }
.offer-list li { margin: 0.35rem 0; }
.commission-note, .legal-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 52rem;
}
.mode-row { margin-top: 0.65rem; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.hub-note, .rank-note { color: var(--text); font-weight: 600; }
.muted-line { color: var(--muted); font-size: 0.82rem; margin-top: 0.15rem; }

.results-panel { margin-top: 1.1rem; }
.results-panel h2 { font-size: 1rem; }
.result-card {
  border-top: 1px solid var(--line);
  padding: 0.7rem 0;
}
.result-card a { color: var(--gold); text-decoration: none; font-weight: 600; }
.empty { color: var(--muted); }

/* Steps / process */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
.steps li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  background: var(--bg-card);
}
.steps strong { display: block; margin-bottom: 0.3rem; }
.steps span { color: var(--muted); font-size: 0.86rem; }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.plan-card h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.plan-card .price-row { margin: 0.2rem 0 0.6rem; }

/* Example product layout */
.example-layout {
  border: 1px dashed rgba(201, 212, 224, 0.45);
  border-radius: var(--radius);
  padding: 1rem;
  background: var(--bg-elev);
  margin: 1rem 0 1.5rem;
}
.example-layout h3 { margin: 0 0 0.75rem; }
.product-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.25rem;
}
.photo-slot, .logo-slot {
  border: 1px dashed var(--line);
  background: #080e18;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  padding: 1rem;
}
.logo-slot { min-height: 96px; width: 96px; }
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 0.4rem 0.5rem 0.4rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table th { color: var(--muted); font-weight: 550; width: 11rem; }
.condition-notes {
  margin: 0.8rem 0 0;
  padding: 0.7rem 0.8rem;
  border-left: 2px solid var(--violet);
  background: rgba(139, 92, 246, 0.08);
  color: var(--text);
  font-size: 0.88rem;
}

/* Storefront */
.storefront-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}
.storefront-meta { color: var(--muted); margin: 0.35rem 0; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}
.product-card .photo-slot { min-height: 120px; margin: -0.95rem -1rem 0.75rem; border: 0; border-bottom: 1px dashed var(--line); border-radius: 0; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.2rem;
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 2rem;
  background: rgba(14, 20, 32, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}
.footer-grid h2 {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 0.3rem 0; }
.footer-brand p { margin: 0.4rem 0 0; }
.footer-contact { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line); }

/* Legacy aliases used by contracts / shipping */
nav a.nav-contracts { color: var(--muted); }
nav a.nav-contracts:hover,
nav a.nav-contracts:focus,
nav a.nav-contracts[aria-current="page"] {
  color: var(--ice);
  background: none;
  border: 0;
  padding: 0.25rem 0;
}
.contracts-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  margin: 0 0 1.8rem;
}
.contracts-subnav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.82rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  background: var(--bg-elev);
}
.contracts-subnav a:hover, .contracts-subnav a:focus { border-color: var(--gold); }
.listing-template {
  background: var(--bg-card);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.15rem 1.15rem;
}
.listing-template h3 { margin-top: 0; color: var(--text); font-family: var(--font); font-size: 0.95rem; letter-spacing: 0; }
.listing-template dl { margin: 0; display: grid; grid-template-columns: minmax(10rem, 220px) 1fr; gap: 0.45rem 1rem; }
.listing-template dt { color: var(--text); font-weight: 600; }
.listing-template dd { margin: 0; color: var(--muted); }
.listing-template .blank { color: var(--muted); font-style: italic; }

@media (max-width: 960px) {
  .header-row { grid-template-columns: 1fr auto; }
  .header-search { grid-column: 1 / -1; order: 3; }
  .mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-grid, .plan-grid, .footer-grid, .product-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid { gap: 1.25rem; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 1.5rem); }
  .mega-grid { grid-template-columns: 1fr; }
  .condition-toggle label { padding: 0.5rem 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .how-pulse { display: none; }
}
.hero { position: relative; z-index: 1; }
.cta-band, .section, .page-hero { position: relative; z-index: 1; }
.example-layout, .listing-template {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.marketplace-disclaimer, .footer-disclaimer {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  max-width: 52rem;
  line-height: 1.5;
}
.footer-disclaimer { margin-top: 0.85rem; }
.contract-upload {
  margin-top: 1.15rem;
}
.contract-upload h2, .contract-upload h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}
.upload-slot {
  margin: 0.75rem 0;
  padding: 0.95rem 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
}
.upload-slot .upload-label {
  margin: 0 0 0.35rem;
  font-weight: 650;
  color: var(--text);
}
.upload-slot .hint { margin: 0; }

/* Type pages */
.breadcrumb {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover, .breadcrumb a:focus { color: var(--gold); }
.breadcrumb-sep { margin: 0 0.35rem; opacity: 0.7; }
.type-body { max-width: 46rem; }
.type-body p { margin: 0 0 0.9rem; color: var(--text); }
.type-lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.15rem 1.5rem;
  margin: 1.25rem 0 0;
}
.type-lists h2 { font-size: 0.95rem; margin: 0 0 0.45rem; }
.type-lists ul { margin: 0; padding-left: 1.15rem; color: var(--muted); }
.type-lists li { margin: 0.28rem 0; }
.type-listings { margin-top: 1.6rem; }
.related-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.75rem; margin: 0.8rem 0 0; }
.related-types a { display: block; }

.hint .related-link, .related-link, p.hint a.related-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}
.related-link:hover, .related-link:focus {
  color: var(--gold);
  text-decoration: underline;
}

.apply-form { max-width: 42rem; padding: 1.25rem 1.2rem 1.4rem; }
.apply-form h2 { margin: 1.15rem 0 0.45rem; }
.apply-form label { display: block; margin: 0.85rem 0 0.3rem; color: var(--heading); font-weight: 600; }
.apply-form input[type="text"],
.apply-form input[type="url"],
.apply-form input[type="email"],
.apply-form textarea,
.apply-form select {
  width: 100%;
  max-width: 100%;
  font: inherit;
  color: var(--text);
  background: rgba(14, 20, 32, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.55rem 0.7rem;
}
.apply-form textarea { min-height: 6rem; resize: vertical; }
.apply-form input:focus,
.apply-form textarea:focus,
.apply-form select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.apply-form .check-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-weight: 500;
  color: var(--text);
  margin: 1.1rem 0;
}
.apply-form .check-row input { margin-top: 0.25rem; flex: 0 0 auto; width: auto; }
.apply-form .privacy-note {
  color: var(--text);
  font-size: 0.9rem;
  margin: 1rem 0 1.1rem;
}
.apply-form .cta { margin-top: 0.4rem; }
.apply-result { max-width: 42rem; }
.apply-result .status-pill {
  display: inline-block;
  margin: 0.35rem 0 0.8rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--line-strong);
  color: var(--heading);
  font-weight: 650;
}
.form-error { color: #F8C8D8; background: rgba(14, 20, 32, 0.96); border: 1px solid rgba(244, 114, 182, 0.45); padding: 0.7rem 0.8rem; border-radius: var(--radius); }

.account-nav { display: inline-flex; gap: 0.9rem; align-items: center; }
.account-nav a { color: var(--text); text-decoration: none; font-weight: 600; }
.account-nav a:hover { color: #F5C26B; text-decoration: underline; }
.msg-list { list-style: none; padding: 0; margin: 1rem 0 1.4rem; display: flex; flex-direction: column; gap: 0.8rem; }
.msg-list .msg { background: rgba(14, 20, 32, 0.92); border: 1px solid rgba(174, 184, 198, 0.25); border-radius: 0.6rem; padding: 0.8rem 1rem; }
.msg-list .msg p { margin: 0 0 0.35rem; color: var(--text); }
.msg-list .msg-mine { border-color: rgba(245, 194, 107, 0.45); }
.mask-notice, .form-error.mask-notice { color: #F8C8D8; }

.product-thumb { display:block; width:100%; height:180px; object-fit:cover; background:rgba(14,20,32,0.92); border-radius:8px; }
.product-gallery { display:grid; gap:0.75rem; margin-bottom:1rem; }
.product-gallery img { width:100%; max-width:720px; height:auto; border-radius:8px; background:rgba(14,20,32,0.92); }
.photo-keep-row { display:flex; flex-wrap:wrap; gap:0.75rem; margin:0.5rem 0 1rem; }
.photo-keep { display:flex; flex-direction:column; gap:0.3rem; color:var(--text); font-size:0.9rem; }
.photo-keep img { width:160px; height:120px; object-fit:cover; border-radius:6px; }
.spec-row { display:flex; flex-wrap:wrap; gap:0.5rem; margin-bottom:0.5rem; }
.spec-row input { flex:1 1 12rem; }
