/* =========================================================================
   PropBids design system — "crypto-dark"
   Obsidian surfaces, emerald/cyan for live & positive, red for outbid,
   mono numerals for every price so values never jitter as they update.
   ========================================================================= */
:root {
  color-scheme: dark;
  --bg: #05070a;            /* obsidian */
  --bg-2: #090c12;          /* carbon */
  --card: rgba(14, 18, 26, .66);
  --card-solid: #0e121a;
  --card-2: #141a25;
  --line: #1a212d;
  --line-2: #263042;
  --text: #e6ebf2;
  --muted: #7d889b;
  --dim: #4f5a6d;
  --green: #00e599;         /* live / gains / primary CTA */
  --cyan: #22d3ee;          /* secondary accent */
  --red: #ff4d6d;           /* outbid / losses */
  --amber: #fbbf24;         /* rank #1 crown */
  --silver: #cbd5e1;
  --bronze: #f59e6b;
  --grad: linear-gradient(100deg, var(--green), var(--cyan));
  --radius: 16px;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Plus Jakarta Sans', var(--sans);
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { display: block; }
button { font: inherit; color: inherit; }
.muted { color: var(--muted); }
.accent { color: var(--green); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
::selection { background: rgba(0, 229, 153, .28); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Glass surface: frosted card + 1px inner highlight */
.glass {
  background: var(--card);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

/* Background: drifting aurora + faint grid fading downward */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient::before {
  content: ''; position: absolute; inset: -25% -10% auto; height: 85vh;
  background:
    radial-gradient(36% 48% at 22% 40%, rgba(0, 229, 153, .15), transparent 70%),
    radial-gradient(32% 44% at 80% 28%, rgba(34, 211, 238, .14), transparent 70%);
  animation: drift 20s ease-in-out infinite alternate;
}
.ambient::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(75% 60% at 50% 0%, #000 25%, transparent 75%);
  mask-image: radial-gradient(75% 60% at 50% 0%, #000 25%, transparent 75%);
}
@keyframes drift { to { transform: translate3d(3%, 5%, 0) scale(1.06); } }

/* ---------- ticker ---------- */
.ticker { display: flex; align-items: center; height: 34px; background: rgba(0, 229, 153, .05); border-bottom: 1px solid rgba(0, 229, 153, .14); font-size: 12.5px; overflow: hidden; }
.ticker-label { display: flex; align-items: center; gap: 7px; height: 100%; padding: 0 14px; flex: none; font: 700 11px var(--mono); letter-spacing: .1em; color: var(--green); background: var(--bg); border-right: 1px solid rgba(0, 229, 153, .14); }
.ticker-track { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-run { display: flex; gap: 36px; width: max-content; padding-left: 24px; white-space: nowrap; color: var(--muted); }
.ticker-run.moving { animation: marquee var(--dur, 40s) linear infinite; }
.ticker:hover .ticker-run { animation-play-state: paused; }
.ticker-run b { color: var(--text); font-weight: 600; }
.ticker-run .up { color: var(--green); font-family: var(--mono); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px max(16px, calc((100vw - 1200px) / 2));
  background: rgba(5, 7, 10, .72); backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 19px var(--display); letter-spacing: -.03em; }
.brand em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 500; }
.nav nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav nav a:hover { color: var(--text); }
@media (max-width: 720px) { .nav nav a { display: none; } }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 12px; border: 1px solid transparent; cursor: pointer;
  font: 600 14px var(--sans); text-decoration: none; white-space: nowrap; user-select: none;
  transition: transform .18s var(--spring), box-shadow .25s, background .25s, border-color .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.96); transition-duration: .08s; }
.btn span[aria-hidden] { transition: transform .2s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(3px); }
.btn-primary { background: var(--green); color: #002b1c !important; box-shadow: 0 0 0 1px rgba(0, 229, 153, .5), 0 8px 26px -10px rgba(0, 229, 153, .75); }
.btn-primary:hover { background: #1bf0a8; box-shadow: 0 0 0 1px rgba(0, 229, 153, .7), 0 10px 34px -8px rgba(0, 229, 153, .9); }
.btn-primary[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn-ghost { border-color: var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text) !important; }
.btn-ghost:hover { border-color: rgba(0, 229, 153, .5); background: rgba(0, 229, 153, .06); }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }
.btn-lg { padding: 14px 22px; font-size: 15px; }
.btn-block { width: 100%; }
.btn .spinner { width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(0, 43, 28, .3); border-top-color: #002b1c; animation: spin .7s linear infinite; }
.icon-btn { background: none; border: 0; color: var(--muted); font-size: 16px; cursor: pointer; padding: 6px 9px; border-radius: 10px; }
.icon-btn:hover { color: var(--text); background: var(--card-2); }

/* ---------- hero ---------- */
main { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 72px 0 40px; }
@media (max-width: 940px) { .hero { grid-template-columns: 1fr; padding-top: 48px; } }
.chip-live { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 13px 6px 11px; border-radius: 999px; border: 1px solid rgba(0, 229, 153, .28); background: rgba(0, 229, 153, .07); color: var(--green); font-size: 13px; font-weight: 500; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; box-shadow: 0 0 0 0 rgba(0, 229, 153, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(0, 229, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 229, 153, 0); } }
h1 { font: 800 clamp(38px, 5.8vw, 68px)/1.03 var(--display); letter-spacing: -.045em; margin: 22px 0 18px; }
.lede { max-width: 560px; margin: 0; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 26px 0 0; color: var(--muted); font-size: 13px; }
.trust-row li::before { content: '✓'; color: var(--green); font-weight: 700; margin-right: 7px; }

.spotlight { border-radius: 20px; padding: 18px; }
.spotlight header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 12px; }
.spot-title { display: flex; align-items: center; gap: 8px; font: 700 14px var(--display); }
.spot-live { display: flex; align-items: center; gap: 6px; font: 700 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.spotlight ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.spot-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%;
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
  text-align: left; cursor: pointer; transition: border-color .2s, background .2s, transform .18s var(--spring);
}
.spot-row:hover { border-color: rgba(0, 229, 153, .45); background: rgba(0, 229, 153, .05); transform: translateX(2px); }
.spot-row small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.spot-row strong { display: block; font: 600 15px var(--display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spot-row strong.open { color: var(--green); }
.spot-row .mono { font-size: 15px; font-weight: 700; text-align: right; }
.spot-row .mono small { text-align: right; font-family: var(--sans); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 8px 0 0; }
.stats div { padding: 16px 18px; border-radius: var(--radius); }
.stats dt { color: var(--muted); font-size: 12px; font-weight: 500; }
.stats dd { margin: 4px 0 0; font-size: 26px; font-weight: 700; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 8px; } .stats dd { font-size: 21px; } }

/* ---------- section heads ---------- */
.kicker { margin: 0 0 8px; font: 700 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.section-title { font: 800 clamp(28px, 3.8vw, 42px)/1.08 var(--display); letter-spacing: -.04em; margin: 0; }
.section-head { text-align: center; margin-bottom: 28px; }

/* ---------- board ---------- */
.board-section { padding: 72px 0 64px; scroll-margin-top: 70px; }
.board-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.tabs { display: flex; gap: 4px; max-width: 100%; padding: 4px; overflow-x: auto; scrollbar-width: none; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.tab { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; border: 0; background: none; color: var(--muted); font: 600 13.5px var(--sans); cursor: pointer; transition: color .2s, background .2s; }
.tab .count { padding: 0 7px; border-radius: 999px; background: rgba(255, 255, 255, .06); font: 600 11px var(--mono); }
.tab .hot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); }
.tab[aria-selected="true"] { color: #002b1c; background: var(--green); }
.tab[aria-selected="true"] .count { background: rgba(0, 43, 28, .15); }
.tab:hover:not([aria-selected="true"]) { color: var(--text); background: rgba(255, 255, 255, .04); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; margin-top: 22px; }
@media (max-width: 980px) { .layout { grid-template-columns: 1fr; } }
.board-blurb { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.board { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

/* Rank card */
.slot {
  --rank-color: var(--dim);
  position: relative; display: grid; grid-template-columns: 52px 46px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
  transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.slot:hover { border-color: var(--line-2); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 14px 34px -22px rgba(0, 0, 0, .9); }
.slot .rank { font: 700 20px var(--mono); color: var(--rank-color); text-align: center; letter-spacing: -.04em; }
.slot[data-rank="2"] { --rank-color: var(--silver); }
.slot[data-rank="3"] { --rank-color: var(--bronze); }
.slot[data-rank="1"] {
  --rank-color: var(--amber);
  padding: 22px 18px; border: 1px solid transparent;
  background:
    radial-gradient(70% 120% at 0% 0%, rgba(251, 191, 36, .1), transparent 60%) padding-box,
    linear-gradient(var(--card-solid), var(--card-solid)) padding-box,
    conic-gradient(from var(--angle, 0deg), var(--green), var(--cyan), #a78bfa, var(--amber), var(--green)) border-box;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .2), 0 22px 60px -28px rgba(0, 229, 153, .55);
  animation: spin-border 5s linear infinite;
}
@property --angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin-border { to { --angle: 360deg; } }
.slot[data-rank="1"] .rank { font-size: 28px; text-shadow: 0 0 18px rgba(251, 191, 36, .45); }
.slot[data-rank="1"] .name { font-size: 19px; }
.slot[data-rank="1"] .logo { width: 54px; height: 54px; }

.crown {
  display: inline-block; width: 17px; height: 13px; flex: none; background: var(--amber); filter: drop-shadow(0 0 6px rgba(251, 191, 36, .6));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'%3E%3Cpath d='M1 4l5.5 5L12 1l5.5 8L23 4l-2 13H3z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'%3E%3Cpath d='M1 4l5.5 5L12 1l5.5 8L23 4l-2 13H3z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.logo { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; overflow: hidden; flex: none; background: linear-gradient(135deg, #1b2230, #10151e); border: 1px solid var(--line-2); font: 800 16px var(--display); }
.logo img { width: 100%; height: 100%; object-fit: cover; }
.info { min-width: 0; }
.name { display: flex; align-items: center; gap: 8px; font: 700 16px var(--display); letter-spacing: -.02em; }
.name a { text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s; }
.name a:hover { color: var(--green); }
.name a::after { content: '↗'; margin-left: 4px; font-size: 12px; color: var(--dim); }
.tagline { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 7px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }
.pill b { color: var(--text); font: 600 11.5px var(--mono); }
.pill.warn b { color: var(--amber); }

.actions { display: flex; align-items: center; gap: 14px; }
.price { text-align: right; }
.price small { display: block; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.price strong { font: 700 19px var(--mono); letter-spacing: -.03em; }
.actions .btn { padding: 10px 14px; font-size: 13px; }
.actions .btn .mono { font-weight: 700; }

.slot.empty { background: rgba(255, 255, 255, .012); border-style: dashed; backdrop-filter: none; box-shadow: none; }
.slot.empty[data-rank="1"] { border-style: solid; }
.slot.empty .logo { background: rgba(0, 229, 153, .05); border: 1px dashed rgba(0, 229, 153, .35); color: var(--green); }
.slot.empty .name { color: var(--muted); font-weight: 600; }
.slot.empty[data-rank="1"] .name { color: var(--text); }

/* Rank-change feedback: green = new holder, red = previous holder knocked off */
.slot.claimed { animation: claimed 1.6s var(--ease); }
.slot.outbid { animation: outbid 2s var(--ease); }
.slot[data-rank="1"].claimed { animation: claimed 1.6s var(--ease), spin-border 5s linear infinite; }
.slot[data-rank="1"].outbid { animation: outbid 2s var(--ease), spin-border 5s linear infinite; }
@keyframes claimed { 0% { box-shadow: 0 0 0 2px var(--green), 0 0 46px rgba(0, 229, 153, .55); transform: scale(1.01); } 100% { box-shadow: 0 0 0 0 transparent; transform: none; } }
@keyframes outbid {
  0% { box-shadow: 0 0 0 2px var(--red), 0 0 46px rgba(255, 77, 109, .5); }
  45% { box-shadow: 0 0 0 2px var(--red), 0 0 30px rgba(255, 77, 109, .3); }
  60% { box-shadow: 0 0 0 2px var(--green), 0 0 40px rgba(0, 229, 153, .45); }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.price.bump strong { animation: bump .9s var(--spring); }
@keyframes bump { 0% { color: var(--green); transform: translateY(-4px); } 100% { color: inherit; transform: none; } }

@media (max-width: 640px) {
  .slot { grid-template-columns: 34px 40px minmax(0, 1fr); gap: 11px; padding: 13px; }
  .slot .rank { font-size: 16px; }
  .slot[data-rank="1"] { padding: 16px 13px; }
  .slot[data-rank="1"] .rank { font-size: 21px; }
  .slot[data-rank="1"] .logo, .logo { width: 40px; height: 40px; border-radius: 11px; }
  .actions { grid-column: 1 / -1; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--line); }
  .slot.empty .actions { justify-content: flex-end; }
  .price { text-align: left; }
}

.disclosure { margin: 16px 0 0; font-size: 12.5px; color: var(--muted); }
.tag { display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: 6px; background: var(--card-2); border: 1px solid var(--line-2); font: 700 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text); }

/* ---------- sidebar widgets ---------- */
.sidebar { display: grid; gap: 14px; align-content: start; position: sticky; top: 76px; }
@media (max-width: 980px) { .sidebar { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
.widget { border-radius: var(--radius); padding: 16px; }
.widget h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 700 14px var(--display); letter-spacing: -.01em; }
.empty-note { margin: 0; padding: 14px; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--muted); font-size: 13px; text-align: center; }

.feed { list-style: none; margin: 0; padding: 0 0 0 4px; display: grid; max-height: 320px; overflow: auto; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.feed li { position: relative; padding: 0 0 13px 16px; border-left: 1px solid var(--line-2); font-size: 12.5px; color: var(--muted); }
.feed li:last-child { padding-bottom: 0; border-left-color: transparent; }
.feed li::before { content: ''; position: absolute; left: -5px; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 2px solid var(--green); }
.feed li.knock::before { border-color: var(--red); }
.feed li b { color: var(--text); font-weight: 600; }
.feed .up { color: var(--green); font: 700 12.5px var(--mono); }
.feed time { display: block; font: 500 10.5px var(--mono); color: var(--dim); margin-top: 1px; }
.feed li.new { animation: slide-in .5s var(--ease); }
.feed li.empty-li { border: 0; padding: 0; }
.feed li.empty-li::before { display: none; }
@keyframes slide-in { from { opacity: 0; transform: translateX(-8px); } }

.heat { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.heat li { display: grid; gap: 5px; font-size: 13px; cursor: pointer; }
.heat .row { display: flex; justify-content: space-between; gap: 8px; }
.heat .row .mono { font-size: 12px; color: var(--muted); }
.heat .bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .05); overflow: hidden; }
.heat .bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad); transition: width .8s var(--ease); }
.heat li:hover .row span:first-child { color: var(--green); }

.cheap { display: grid; gap: 4px; padding: 14px; border-radius: 12px; background: linear-gradient(135deg, rgba(0, 229, 153, .08), rgba(34, 211, 238, .05)); border: 1px solid rgba(0, 229, 153, .2); }
.cheap small { color: var(--muted); font-size: 12px; }
.cheap strong { font: 700 24px var(--mono); color: var(--green); letter-spacing: -.03em; }
.cheap .btn { margin-top: 8px; }

/* ---------- toasts ---------- */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: grid; gap: 8px; width: min(340px, calc(100vw - 32px)); }
.toast {
  display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; padding: 12px 14px; border-radius: 14px; font-size: 13px; color: var(--muted);
  background: rgba(14, 18, 26, .92); border: 1px solid var(--line-2); backdrop-filter: blur(14px); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .9);
  animation: toast-in .45s var(--spring);
}
.toast.out { animation: toast-out .3s var(--ease) forwards; }
.toast .ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 77, 109, .14); color: var(--red); font-weight: 700; }
.toast .ic.gain { background: rgba(0, 229, 153, .14); color: var(--green); }
.toast b { color: var(--text); }
.toast .up { color: var(--green); font-family: var(--mono); font-weight: 700; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(20px); } }

/* ---------- how ---------- */
.how { padding: 56px 0; scroll-margin-top: 70px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 820px) { .cards { grid-template-columns: 1fr; } }
.card { padding: 24px; border-radius: var(--radius); transition: transform .25s var(--ease), border-color .25s; }
.card:hover { transform: translateY(-3px); border-color: rgba(0, 229, 153, .35); }
.card .num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(0, 229, 153, .1); border: 1px solid rgba(0, 229, 153, .28); color: var(--green); font-size: 13px; font-weight: 700; }
.card h3 { margin: 16px 0 6px; font: 700 19px var(--display); letter-spacing: -.02em; }
.card p { margin: 0; color: var(--muted); }

/* ---------- firms ---------- */
.firms {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin: 24px 0 80px; padding: 44px; border-radius: 24px; scroll-margin-top: 70px; border: 1px solid transparent;
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(0, 229, 153, .11), transparent 60%) padding-box,
    radial-gradient(50% 70% at 100% 100%, rgba(34, 211, 238, .1), transparent 60%) padding-box,
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    linear-gradient(120deg, rgba(0, 229, 153, .45), var(--line) 40%, var(--line) 60%, rgba(34, 211, 238, .45)) border-box;
}
@media (max-width: 820px) { .firms { grid-template-columns: 1fr; padding: 26px 18px; gap: 26px; } }
.firms .section-title { margin-bottom: 12px; }
.firms p { color: var(--muted); }
.firms > div > .btn { margin-top: 22px; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: '✓'; flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: rgba(0, 229, 153, .14); color: var(--green); font-size: 12px; font-weight: 700; margin-top: 2px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 15px 17px; background: rgba(255, 255, 255, .015); transition: border-color .2s, background .2s; }
.faq details + details { margin-top: 10px; }
.faq details[open] { border-color: var(--line-2); background: rgba(255, 255, 255, .03); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--green); font-size: 18px; line-height: 1; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 8px 0 0; }

/* ---------- footer ---------- */
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; padding: 22px max(16px, calc((100vw - 1200px) / 2)); border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer a { color: var(--green); }

/* ---------- outbid modal ---------- */
dialog {
  width: min(480px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; color: var(--text);
  border: 1px solid var(--line-2); border-radius: 22px;
  background: radial-gradient(90% 40% at 50% 0%, rgba(0, 229, 153, .1), transparent 70%), var(--card-solid);
  box-shadow: 0 0 0 1px rgba(0, 229, 153, .08), 0 40px 100px -30px rgba(0, 0, 0, .95);
}
dialog[open] { animation: pop .32s var(--spring); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.96); } }
dialog::backdrop { background: rgba(2, 4, 6, .72); backdrop-filter: blur(6px); }
dialog form { padding: 22px; display: grid; gap: 13px; }
dialog header { display: flex; justify-content: space-between; align-items: flex-start; }
dialog h2 { margin: 0; font: 800 25px var(--display); letter-spacing: -.035em; }
.eyebrow { margin: 0 0 3px; font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-top: 9px; font-size: 11.5px; color: var(--dim); }
.steps li::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 99px; background: var(--line-2); }
.steps li.on { color: var(--text); }
.steps li.on::before { background: var(--grad); }
.current { margin: 0; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.current b { color: var(--text); }
.current .mono { color: var(--text); font-weight: 700; }
.bid-box { display: grid; gap: 8px; padding: 14px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line-2); }
.bid-box > label { font-size: 12px; color: var(--muted); }
.bid-input { display: flex; align-items: center; gap: 4px; }
.bid-input span { font: 700 26px var(--mono); color: var(--dim); }
.bid-input input { border: 0; background: none; box-shadow: none; padding: 0; font: 700 36px var(--mono); letter-spacing: -.04em; color: var(--text); width: 100%; }
.bid-input input:focus { box-shadow: none; }
.bid-box:focus-within { border-color: rgba(0, 229, 153, .55); box-shadow: 0 0 0 3px rgba(0, 229, 153, .14); }
.quick { display: flex; flex-wrap: wrap; gap: 6px; }
.quick button { padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font: 600 12px var(--mono); color: var(--muted); cursor: pointer; transition: all .15s var(--spring); }
.quick button:hover { color: var(--green); border-color: rgba(0, 229, 153, .5); }
.quick button:active { transform: scale(.92); }
.bid-hint { margin: 0; font-size: 12.5px; color: var(--muted); }
.bid-hint .ok { color: var(--green); font-weight: 600; }
.bid-hint .bad { color: var(--red); font-weight: 600; }
label { display: grid; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 460px) { .two { grid-template-columns: 1fr; } }
input { width: 100%; padding: 11px 12px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font: 14.5px var(--sans); transition: border-color .2s, box-shadow .2s; }
input::placeholder { color: var(--dim); }
input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 211, 238, .16); }
input:user-invalid { border-color: rgba(255, 77, 109, .6); }
small { color: var(--muted); font-size: 12px; font-weight: 400; }
.form-error { margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(255, 77, 109, .08); border: 1px solid rgba(255, 77, 109, .3); color: var(--red); font-size: 13.5px; }
.form-error:empty { display: none; }
.form-error.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.fine { margin: 0; font-size: 11.5px; line-height: 1.6; color: var(--dim); text-align: center; }

/* ---------- order page ---------- */
.order-wrap { max-width: 520px; margin: 64px auto; padding: 0 16px; }
.order-card {
  padding: 32px 26px; border-radius: 24px; text-align: center; border: 1px solid transparent;
  background:
    radial-gradient(80% 40% at 50% 0%, rgba(0, 229, 153, .1), transparent 70%) padding-box,
    linear-gradient(var(--card-solid), var(--card-solid)) padding-box,
    linear-gradient(120deg, rgba(0, 229, 153, .5), var(--line) 45%, rgba(34, 211, 238, .5)) border-box;
}
.order-card h1 { font-size: 30px; margin: 16px 0 8px; }
.order-card p { color: var(--muted); }
.status-icon { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 28px; background: var(--card-2); border: 2px solid var(--line-2); }
.status-icon.ok { background: rgba(0, 229, 153, .14); border-color: rgba(0, 229, 153, .5); color: var(--green); box-shadow: 0 0 40px -8px rgba(0, 229, 153, .6); animation: pop .5s var(--spring); }
.status-icon.warn { background: rgba(255, 77, 109, .1); border-color: rgba(255, 77, 109, .4); color: var(--red); }
.status-icon.wait { animation: spin 1.1s linear infinite; border-top-color: var(--green); }
@keyframes spin { to { transform: rotate(360deg); } }
.summary { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; text-align: left; margin: 22px 0; padding: 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); font-size: 14px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.order-actions { display: grid; gap: 10px; }
.mock-note { font-size: 12px; color: var(--amber); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
