/* AI Auction IQ — industrial steel / safety-yellow */
:root {
  --bg: #0c0d10;
  --bg-elev: #14161b;
  --panel: #1a1d23;
  --panel-2: #22262e;
  --steel: #2c313b;
  --line: #3d4450;
  --line-soft: #2a2f38;
  --text: #eceae4;
  --muted: #9aa1ab;
  --dim: #6e7580;
  --yellow: #f5c400;
  --yellow-ink: #16150a;
  --yellow-dim: #b89300;
  --profit: #8fce6b;
  --loss: #e45b4c;
  --warn: #f0a202;
  --white: #f7f6f2;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  --radius: 6px;
  --max: 1160px;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --sans: "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(245, 196, 0, 0.06), transparent 50%),
    linear-gradient(180deg, #12141a 0%, var(--bg) 280px);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  font-size: 16.5px;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--yellow); text-underline-offset: 3px; }
a:hover { color: #ffe56a; }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--yellow); color: var(--yellow-ink); padding: 8px 12px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* Hazard stripe */
.hazard {
  height: 8px;
  background: repeating-linear-gradient(
    -45deg,
    var(--yellow) 0 12px,
    #111 12px 24px
  );
}

.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(12, 13, 16, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 0;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--text);
}
.brand-mark {
  width: 42px; height: 42px; flex: 0 0 42px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #2a2e36, #15171c);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative;
}
.brand-mark::before, .brand-mark::after {
  content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: #8a909a; box-shadow: inset 0 1px 1px #111;
}
.brand-mark::before { top: 4px; left: 4px; }
.brand-mark::after { top: 4px; right: 4px; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 15px;
  text-transform: uppercase;
}
.brand-text span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--yellow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
nav { display: flex; gap: 22px; align-items: center; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
nav a:hover { color: var(--yellow); }
.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  width: 42px; height: 42px;
  cursor: pointer;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 18px; height: 2px; background: var(--yellow);
  position: relative; margin: 0 auto;
}
.menu-btn span::before, .menu-btn span::after {
  content: ""; position: absolute; left: 0;
}
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }

/* Hero */
.hero { padding: 64px 0 48px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 18px;
}
.kicker::before {
  content: ""; width: 28px; height: 2px; background: var(--yellow);
}
h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(3rem, 9vw, 6.4rem);
  letter-spacing: 0.04em;
  line-height: 0.9;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: var(--white);
}
.tagline {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.35rem, 3.2vw, 2.05rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 22px;
}
.lede {
  max-width: 42rem;
  font-size: 1.12rem;
  color: #c9cdd3;
  margin: 0 0 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px;
  background: var(--yellow);
  color: var(--yellow-ink);
  text-decoration: none;
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--yellow);
}
.btn:hover { background: #ffd84a; color: var(--yellow-ink); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.meta-bar {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--bg-elev);
}
.meta-bar div { padding: 14px 16px; border-right: 1px solid var(--line-soft); }
.meta-bar div:last-child { border-right: 0; }
.meta-bar span {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 4px;
}
.meta-bar strong { font-weight: 600; font-size: 14.5px; }

/* Sections */
section { padding: 56px 0; }
.edition-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 14px;
}
.edition-label::before {
  content: ""; width: 28px; height: 2px; background: var(--yellow);
}
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.section-head h2 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  margin: 0;
  font-weight: 600;
}
.as-of {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  background: rgba(245, 196, 0, 0.08);
  border: 1px solid rgba(245, 196, 0, 0.28);
  padding: 6px 10px;
}
.intro {
  color: var(--muted);
  max-width: 50rem;
  margin: 0 0 28px;
}

/* Deal cards */
.deals { display: grid; gap: 20px; }
.deal {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
}
.deal::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--yellow);
}
.deal-top {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 18px 20px 12px 24px;
  border-bottom: 1px solid var(--line-soft);
}
.pick-no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 6px;
}
.deal h3 {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0 0 8px;
  font-weight: 500;
}
.deal h3 a { color: var(--white); text-decoration: none; }
.deal h3 a:hover { color: var(--yellow); }
.submeta { color: var(--muted); font-size: 14.5px; margin: 0; }
.close-chip {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  border: 1px solid var(--line);
  background: #111318;
  padding: 10px 12px;
  min-width: 210px;
  text-align: right;
}
.close-chip .label {
  display: block;
  color: var(--dim);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.close-chip strong { color: var(--text); font-weight: 500; }
.close-chip .countdown { display: block; margin-top: 4px; color: var(--yellow); }

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line-soft);
}
.metric { padding: 14px 16px 14px 24px; border-right: 1px solid var(--line-soft); }
.metric:last-child { border-right: 0; }
.metric .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 6px;
}
.metric .value {
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--white);
}
.metric .note { display: block; color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.est {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow-ink);
  background: var(--yellow);
  padding: 1px 5px;
  margin-left: 6px;
  vertical-align: middle;
  font-weight: 600;
}

.profit-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #12141a;
}
.profit { padding: 16px 16px 16px 24px; border-right: 1px solid var(--line-soft); }
.profit:last-child { border-right: 0; }
.profit .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 6px;
}
.profit .value {
  font-family: var(--mono);
  font-size: 1.35rem;
  font-weight: 600;
}
.profit.low .value { color: var(--loss); }
.profit.mid .value { color: var(--yellow); }
.profit.high .value { color: var(--profit); }
.profit.na .value { color: var(--muted); font-size: 1rem; }
.unpriced {
  padding: 16px 24px;
  background: #12141a;
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.deal-body { padding: 18px 20px 22px 24px; display: grid; gap: 16px; }
.deal-body h4 {
  font-family: var(--display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 500;
  color: var(--yellow);
  margin: 0 0 8px;
}
.comps { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.comps th, .comps td {
  text-align: left; padding: 8px 10px 8px 0;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.comps th {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 500;
}
.comps .amt { font-family: var(--mono); white-space: nowrap; }
.risk {
  border: 1px solid rgba(228, 91, 76, 0.35);
  background: rgba(228, 91, 76, 0.08);
  padding: 12px 14px;
}
.risk h4 { color: var(--loss); margin-bottom: 4px; }
.risk p { margin: 0; }
.fine { color: var(--dim); font-size: 13.5px; margin: 0; }

/* Runners-up */
.runners { display: grid; gap: 12px; }
.runner {
  border: 1px solid var(--line-soft);
  background: var(--bg-elev);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
}
.runner .n {
  font-family: var(--display);
  color: var(--yellow);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
}
.runner h3 { font-size: 1.05rem; margin: 0 0 6px; font-weight: 600; }
.runner h3 a { color: var(--white); text-decoration: none; }
.runner h3 a:hover { color: var(--yellow); }
.runner p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.step {
  background: var(--bg-elev);
  border: 1px solid var(--line-soft);
  padding: 18px 18px 20px;
  min-height: 100%;
}
.step .num {
  font-family: var(--display);
  color: var(--yellow);
  letter-spacing: 0.12em;
  font-size: 13px;
  margin: 0 0 8px;
}
.step h3 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.15rem;
  margin: 0 0 8px;
  font-weight: 500;
}
.step p, .step ul { margin: 0; color: var(--muted); }
.step ul { padding-left: 1.15rem; }
.step li { margin: 0 0 6px; }
.fees {
  margin-top: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 18px 20px;
}
.fees h3 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  margin: 0 0 10px;
}
.fees table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.fees th, .fees td {
  text-align: left; padding: 8px 10px 8px 0;
  border-bottom: 1px solid var(--line-soft);
}
.fees th {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 500;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  background: #0a0b0e;
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 14px;
}
.footer-brand {
  font-family: var(--display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 12px;
}
.disclaimer { max-width: 52rem; }
.disclaimer p { margin: 0 0 10px; }
.legal { color: var(--dim); font-size: 13px; margin-top: 18px; }

@media (max-width: 900px) {
  .metrics, .profit-row, .meta-bar, .steps {
    grid-template-columns: 1fr 1fr;
  }
  .metric:nth-child(2), .profit:nth-child(2) { border-right: 0; }
}
@media (max-width: 700px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  nav {
    display: none;
    position: absolute; right: 16px; top: 64px;
    flex-direction: column; align-items: stretch;
    background: #15171c;
    border: 1px solid var(--line);
    padding: 8px;
    min-width: 200px;
  }
  nav.open { display: flex; }
  nav a { padding: 10px 12px; }
  .metrics, .profit-row, .meta-bar, .steps { grid-template-columns: 1fr; }
  .metric, .profit, .meta-bar div { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .close-chip { text-align: left; width: 100%; }
  .hero { padding: 36px 0 28px; }
  section { padding: 36px 0; }
  .runner { grid-template-columns: 36px 1fr; }
}
