/* ClearLot public site.
   Layout: one container, one left edge, phones first. The page is pure white everywhere.
   Navy is the colour of the word "Clear"; yellow (#FFB71F) replaces green for buttons and accents (Nov 2026 rebrand); blue #C25400 is the readable ink on white.
   Every size, gap and colour below comes from the tokens in :root. */

@font-face {
  font-family: "Inter Display";
  src: url("../fonts/inter-display-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter Display";
  src: url("../fonts/inter-display-800.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}

:root {
  color-scheme: only light;

  /* Brand, sampled from the logo */
  --navy: #112142;
  --navy-deep: #0a1630;
  --navy-soft: #1b3060;
  --green: #FFB71F;
  --green-dark: #E8A00C;
  --green-ink: #8A5A00;      /* green that is readable as text on white */
  --green-tint: #FFF7E0;
  --green-line: #F3DCA0;
  --marker: #FFE49A;         /* highlighter stripe behind a word */

  /* Neutrals, leaning towards the navy */
  --ink: #14203a;            /* body text */
  --ink-2: #3b4660;          /* secondary text */
  --ink-3: #586278;          /* captions, hints */
  --line: #e1e5ee;           /* dividers and card edges */
  --line-strong: #8790a3;    /* field edges */
  --surface: #fff;
  --surface-2: #f3f5fa;      /* only for hover states and empty picture slots, never for a page area */
  --white: #fff;
  --danger: #b3261e;
  --danger-tint: #fdeceb;

  /* Type */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  --display: "Inter Display", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: .8125rem;         /* 13px: the smallest text on the site */
  --fs-sm: .875rem;          /* 14px */
  --fs-md: 1.0625rem;        /* 17px */
  --fs-h3: 1.125rem;         /* 18px */
  --fs-h2: clamp(1.5rem, 1.18rem + 1.6vw, 2.125rem);      /* 24 to 34px */
  --fs-h1: clamp(1.875rem, 1.35rem + 2.6vw, 2.75rem);     /* 30 to 44px */
  --fs-hero: clamp(2.125rem, 1.3rem + 4.1vw, 3.5rem);     /* 34 to 56px */

  /* Space: a 4px scale */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --gutter: 20px;            /* side padding of the page */
  --section: 48px;           /* top and bottom padding of a section */
  --pad: 16px;               /* inner padding of a card */
  --gap: 16px;               /* gap between cards in a grid */

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(17,33,66, .06), 0 12px 32px rgba(17,33,66, .10);
}
@media (min-width: 600px) { :root { --gutter: 24px; --section: 56px; --pad: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --section: 72px; --gap: 24px; } }

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  padding-bottom: 64px; /* room for the phone action bar */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-ink); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0 0 var(--s3); color: var(--navy); text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.14; }
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
h2 { font-size: var(--fs-h2); }
h3, .h3 { font-family: var(--font); font-size: var(--fs-h3); font-weight: 600; letter-spacing: 0; line-height: 1.35; margin-bottom: var(--s2); }
p { margin: 0 0 var(--s4); }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong, b { font-weight: 600; }
.icon { flex: none; vertical-align: -3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 10px 14px; border-radius: var(--radius-sm); z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-radius: 4px; }
.announce :focus-visible, .site-footer :focus-visible, .offer.dark :focus-visible, .hook-card :focus-visible { outline-color: #FFC94D; }

.wrap { width: 100%; max-width: calc(1120px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow > * { max-width: 680px; }
.muted { color: var(--ink-2); }
.lead { font-size: var(--fs-md); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.eyebrow, .kicker { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green-ink); margin: 0 0 var(--s2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 10px 22px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-weight: 600; line-height: 1.25; text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--green); color: var(--navy-deep); }
.btn-primary:hover { background: var(--green-dark); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-soft); }
.btn-ghost { background: var(--white); border-color: var(--line-strong); color: var(--navy); }
.btn-ghost:hover { border-color: var(--navy); background: var(--surface-2); }
.btn-ghost-light { background: transparent; border-color: rgba(255, 255, 255, .6); color: var(--white); }
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-sm { min-height: 40px; padding: 7px 16px; font-size: var(--fs-sm); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.center-row { justify-content: center; }

/* Preview and announcement bars */
.stage-note { background: var(--white); color: var(--ink-2); border-bottom: 1px solid var(--line); text-align: center; font-size: var(--fs-xs); font-weight: 600; padding: 4px var(--gutter); }
.announce { background: var(--navy); color: var(--white); font-size: var(--fs-sm); line-height: 1.45; }
.announce-in { display: flex; flex-wrap: wrap; gap: 2px var(--s4); align-items: center; justify-content: center; padding-block: var(--s2); text-align: center; }
.announce a { display: inline-flex; align-items: center; gap: 6px; color: #FFC94D; font-weight: 600; text-decoration: none; white-space: nowrap; }
.announce a:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: var(--s4); }
.brand { display: inline-flex; align-items: center; gap: var(--s3); text-decoration: none; }
.brand-text { display: inline-flex; flex-direction: column; gap: 3px; }
.brand-word { font-family: var(--display); font-size: 1.5rem; font-weight: 800; letter-spacing: -.025em; color: var(--navy); line-height: 1; }
.brand-word .lot { color: var(--green-ink); }
.brand-tag { font-size: var(--fs-xs); font-weight: 500; color: var(--ink-3); line-height: 1.15; white-space: nowrap; max-width: 56vw; overflow: hidden; text-overflow: ellipsis; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--white); border: 1px solid var(--line-strong); border-radius: 10px; color: var(--navy); cursor: pointer; }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); padding: var(--s2) var(--gutter) var(--s5); flex-direction: column; box-shadow: 0 16px 28px rgba(17,33,66, .12); }
.site-nav.open { display: flex; }
.site-nav a { color: var(--navy); text-decoration: none; font-weight: 600; padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.site-nav a[aria-current="page"] { color: var(--green-ink); }
.site-nav .nav-wa { display: inline-flex; align-items: center; gap: var(--s2); color: var(--green-ink); }
.site-nav .nav-login { display: inline-flex; align-items: center; gap: var(--s2); }
.site-nav .btn { margin-top: var(--s4); padding: 10px 18px; border-bottom: 0; color: var(--navy-deep); min-height: 48px; font-size: 1rem; }

/* Sections */
.section { padding-block: var(--section); }
.section + .section, .hero + .section, .page-hero + .section { border-top: 1px solid var(--line); }
.section.tight { padding-block: var(--s6); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s3) var(--s5); margin-bottom: var(--s6); }
.section-head h2, .section-head p { margin-bottom: 0; }
.section-head .kicker { margin-bottom: var(--s2); }
.section-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); text-decoration: none; padding-block: 4px; border-bottom: 2px solid var(--green); }
.section-link:hover { color: var(--green-ink); }

/* Home hero */
.hero { padding-block: var(--s6) var(--s7); }
.hero-grid { display: grid; gap: var(--s5); grid-template-areas: "copy" "card" "points" "feed"; }
.hero-copy { grid-area: copy; }
.hero-grid .hero-card { grid-area: card; }
.hero-grid .ticks { grid-area: points; margin: 0; }
.hero-grid .feed { grid-area: feed; min-width: 0; }
.hero h1, .hero .hero-h { font-size: var(--fs-hero); letter-spacing: -.03em; line-height: 1.05; margin-bottom: var(--s4); }
.hero .lead { margin-bottom: 0; }
.hl { white-space: nowrap; background: linear-gradient(transparent 58%, var(--marker) 58%, var(--marker) 92%, transparent 92%); padding-inline: .08em; margin-inline: -.08em; }

.ticks { display: grid; gap: var(--s3); margin: var(--s4) 0; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink); }
.ticks .icon { position: absolute; left: 0; top: 3px; color: var(--green-ink); }
.hero .ticks li { font-weight: 600; color: var(--navy); }

/* Home: featured lots as a feed that rolls upwards, a few rows at a time */
.feed { --feed-row: 72px; background: var(--white); border: 1px solid var(--navy); border-radius: var(--radius); overflow: hidden; }
.feed-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px var(--s3); padding: var(--s3) var(--s4); background: var(--navy); color: var(--white); }
.feed-head h2 { display: inline-flex; align-items: center; gap: var(--s2); margin: 0; font-family: var(--font); font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.4; color: var(--white); }
.feed-head h2 .icon { color: #FFC94D; }
.feed-tag { font-size: var(--fs-xs); color: #d3deea; }
.feed-more { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font-size: var(--fs-sm); font-weight: 600; color: #FFC94D; text-decoration: none; white-space: nowrap; }
.feed-more:hover { text-decoration: underline; }
.feed-head :focus-visible { outline-color: #FFC94D; }
.feed-view { overflow: hidden; }
.feed-view.is-rolling { height: calc(3 * var(--feed-row)); }
.feed-track ul { display: block; }
.feed-item { display: flex; align-items: center; gap: var(--s3); height: var(--feed-row); padding: 0 var(--s4); border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.feed-view:not(.is-rolling) li:last-child .feed-item { border-bottom: 0; }
.feed-item:hover { background: var(--surface-2); }
.feed-item:focus-visible { outline-offset: -3px; }
.feed-pic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--surface-2); color: var(--ink-3); overflow: hidden; }
.feed-pic img { width: 100%; height: 100%; object-fit: cover; }
.feed-main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.feed-main strong { font-size: .9375rem; line-height: 1.35; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-main span { font-size: var(--fs-sm); line-height: 1.35; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-price { flex: none; max-width: 38%; font-family: var(--display); font-weight: 700; font-size: 1rem; line-height: 1.25; color: var(--navy); text-align: right; font-variant-numeric: tabular-nums; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feed-invite .feed-pic { background: var(--white); border: 1px dashed var(--line-strong); color: var(--navy); }
.feed-invite > .icon { color: var(--navy); }
.feed-empty { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s2); padding: var(--s5) var(--s4); }
.feed-empty p { margin: 0; color: var(--ink-2); }
.feed-empty .feed-empty-title { font-family: var(--display); font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; color: var(--navy); }
.feed-empty .btn { margin-top: var(--s2); }
/* The roll: the list is written twice and moves up by one full copy, so it never jumps */
.feed-view.is-rolling .feed-track { animation: feed-roll calc(var(--feed-n, 4) * 3.5s) linear infinite; }
.feed-view.is-rolling:hover .feed-track, .feed-view.is-rolling:focus-within .feed-track { animation-play-state: paused; }
@keyframes feed-roll { from { transform: translateY(0); } to { transform: translateY(-50%); } }

/* The white card that holds a form */
.hero-card { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--pad); box-shadow: var(--shadow); container-type: inline-size; }
.hero-card h2 { font-size: 1.375rem; letter-spacing: -.01em; margin-bottom: var(--s1); }
.card-sub { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.5; margin-bottom: var(--s4); }
.card-sub a { font-weight: 600; }

/* Home: sell and buy tabs on top of the card */
.hero-card.switch-card { padding: 0; overflow: hidden; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); border-bottom: 1px solid var(--line); }
.tab { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: var(--s2) var(--s2); text-align: center; font-weight: 600; line-height: 1.25; color: var(--navy); background: var(--white); text-decoration: none; }
.tab:hover { background: var(--surface-2); }
.tab-sell, .switch-card[data-show="buy"] .tab-buy { color: var(--white); background: var(--navy); }
.switch-card[data-show="buy"] .tab-sell { color: var(--navy); background: var(--white); }
/* Without the script the tabs follow the address (#buyers). Kept in rules of their own: a browser that does not know :has() skips only these. */
.switch-card:not([data-show]):has(#buyers:target) .tab-buy { color: var(--white); background: var(--navy); }
.switch-card:not([data-show]):has(#buyers:target) .tab-sell { color: var(--navy); background: var(--white); }
.tab-panel { padding: var(--pad); }
.switch-card #buyers { display: none; }
.switch-card[data-show="buy"] #buyers, .switch-card:not([data-show]) #buyers:target { display: block; }
.switch-card[data-show="buy"] #form { display: none; }
.switch-card:not([data-show]):has(#buyers:target) #form { display: none; }

/* Forms */
.lead-form { display: grid; gap: var(--s4) var(--s3); }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field-row { display: grid; gap: var(--s4) var(--s3); }
/* Side by side, the boxes line up along the bottom even when one label runs to two lines */
.lead-form .field:not(.check) { grid-template-rows: 1fr; grid-auto-rows: auto; align-content: stretch; }
.lead-form .field:not(.check) > label { align-self: end; }
.lead-form:has(.field-error) .field:not(.check) { grid-template-rows: auto; align-content: start; }
.field label { font-weight: 600; font-size: var(--fs-sm); color: var(--navy); line-height: 1.35; }
.opt { font-weight: 400; color: var(--ink-3); font-size: var(--fs-xs); margin-left: 4px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; font-size: 1rem; line-height: 1.3; color: var(--ink);
  background: var(--white); border: 1px solid var(--line-strong); border-radius: 10px; -webkit-appearance: none; appearance: none;
}
.field ::placeholder { color: #64748a; opacity: 1; }
.field textarea { min-height: 84px; resize: vertical; line-height: 1.5; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2303294e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; text-overflow: ellipsis;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-ink); box-shadow: 0 0 0 3px rgba(255, 200, 0, .3); }
.field [aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.field [aria-invalid="true"]:focus { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(179, 38, 30, .25); }
.field select:has(option[value=""]:checked) { color: #64748a; }
.phone-input:has([aria-invalid="true"]) span { border-color: var(--danger); }
.phone-input { display: flex; align-items: stretch; }
.phone-input span { display: inline-flex; align-items: center; padding: 0 12px; background: var(--white); border: 1px solid var(--line-strong); border-right: 0; border-radius: 10px 0 0 10px; color: var(--ink-2); font-weight: 600; }
.phone-input input { border-radius: 0 10px 10px 0 !important; }
.field.check { grid-template-columns: 22px 1fr; align-items: start; column-gap: var(--s3); }
.field.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--green-ink); box-shadow: none; }
.field.check label { font-weight: 400; font-size: var(--fs-sm); color: var(--ink); line-height: 1.5; }
.field.check label a { color: var(--green-ink); font-weight: 600; text-decoration: underline; }
.field.check input[aria-invalid="true"] { outline: 2px solid var(--danger); outline-offset: 2px; }
.field.check:has(input[aria-invalid="true"]) label { color: var(--danger); }
.field.check .field-error { grid-column: 1 / -1; }
.field-error { color: var(--danger); font-size: var(--fs-sm); margin: 0; font-weight: 600; line-height: 1.4; }
.form-alert { background: var(--danger-tint); color: var(--danger); border: 1px solid #f3c1bd; border-radius: 10px; padding: var(--s3) var(--s4); margin: 0; font-weight: 600; font-size: var(--fs-sm); line-height: 1.45; }
.form-note { color: var(--ink-3); font-size: var(--fs-xs); line-height: 1.5; margin: 0; text-align: center; }
.form-note .icon { margin-right: 4px; }
.form-part { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green-ink); margin: var(--s2) 0 0; padding-top: var(--s4); border-top: 1px solid var(--line); }
.form-part:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* Field columns follow the width of the card, not of the screen */
@container (min-width: 280px) {
  .field-row.pair { grid-template-columns: 1fr 1fr; }
}
@container (min-width: 420px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .lead-form.compact { grid-template-columns: 1fr 1fr; }
  .lead-form.compact .field-row { display: contents; }
  .lead-form.compact > :not(.field):not(.field-row), .lead-form.compact .field.check, .lead-form.compact .field.wide { grid-column: 1 / -1; }
}
@container (min-width: 880px) {
  .lead-form.tri { grid-template-columns: repeat(3, 1fr); }
  .lead-form.tri .field.wide { grid-column: auto; }
}

/* Category tiles */
.cat-tiles { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: var(--s3); }
.cat-tiles a { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); height: 100%; min-height: 64px; padding: var(--s3) var(--s4); border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--navy); text-decoration: none; transition: border-color .15s, background-color .15s; }
.cat-tiles a:hover { border-color: var(--navy); background: var(--surface-2); }
.cat-name { display: grid; gap: 2px; min-width: 0; }
.cat-tiles strong { font-size: .9375rem; line-height: 1.3; }
.cat-tiles .icon { color: var(--ink-3); }
.cat-count { font-size: var(--fs-xs); font-weight: 600; color: var(--green-ink); font-variant-numeric: tabular-nums; }

/* Stock board */
.page-hero.slim { padding-block: var(--s6); }
.cat-nav { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
.cat-nav a { display: inline-flex; align-items: center; gap: var(--s2); min-height: 40px; padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); color: var(--navy); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; }
.cat-nav a:hover { border-color: var(--navy); }
.cat-nav a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.cat-nav span { font-size: var(--fs-xs); font-weight: 600; background: var(--green-tint); color: var(--green-ink); border-radius: 999px; padding: 0 8px; font-variant-numeric: tabular-nums; }
/* A board is a list: one lot per row. Only a featured lot gets the large card with the large photo. */
.lot-grid { display: grid; gap: var(--s3); }
.lot-card { display: grid; grid-template-columns: 108px minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lot-card.is-verified { border-color: var(--green-line); }
.lot-pic { grid-column: 1; grid-row: 1 / span 3; display: block; min-height: 108px; background: var(--surface-2); overflow: hidden; text-decoration: none; border-right: 1px solid var(--line); }
.lot-pic img { width: 100%; height: 100%; object-fit: cover; }
.lot-nopic { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s2); height: 100%; padding: 6px; color: var(--ink-3); font-size: var(--fs-xs); font-weight: 600; text-align: center; }
.lot-card header { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px var(--s2); padding: var(--s3) var(--s3) 0; }
/* The lot number, drawn like a punched stock tag */
.lot-no { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .03em; font-variant-numeric: tabular-nums; color: var(--navy); background: var(--white); border: 1px solid var(--line-strong); border-radius: 6px; padding: 1px 8px 1px 7px; line-height: 1.5; white-space: nowrap; }
.lot-no::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid var(--line-strong); }
.lot-badges { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.lot-badge { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-xs); font-weight: 600; color: var(--green-ink); background: var(--green-tint); border-radius: 999px; padding: 2px 10px 2px 8px; line-height: 1.5; white-space: nowrap; }
.lot-badge.featured { color: var(--white); background: var(--navy); }
.lot-card h3 { grid-column: 2; padding: var(--s2) var(--s3) 0; margin: 0; font-size: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lot-card h3 a { color: var(--navy); text-decoration: none; }
.lot-card h3 a:hover { text-decoration: underline; }
.lot-facts { grid-column: 2; display: grid; gap: 3px; padding: var(--s2) var(--s3) var(--s3); margin: 0; align-content: start; }
.lot-facts > div { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: var(--s2); align-items: baseline; }
.lot-facts dt { font-size: var(--fs-xs); color: var(--ink-3); }
.lot-facts dd { margin: 0; font-size: var(--fs-sm); line-height: 1.4; color: var(--ink); overflow-wrap: anywhere; }
.lot-card footer { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s2) var(--s3); border-top: 1px solid var(--line); }
.lot-card footer .btn { white-space: nowrap; flex: none; }
.lot-price { font-family: var(--display); font-weight: 700; font-size: 1.125rem; color: var(--navy); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* The Featured box: paid, more prominent listings, and an open slot for the next seller */
.feat-grid { display: grid; gap: var(--gap); }
.lot-card.feat-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; border-color: var(--navy); }
.feat-card .lot-pic { grid-row: auto; aspect-ratio: 16 / 10; min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
.feat-card header, .feat-card h3, .feat-card .lot-facts { grid-column: 1; }
.feat-card header { padding: var(--s4) var(--s4) 0; }
.feat-card h3 { padding: var(--s3) var(--s4) 0; font-size: 1.25rem; line-height: 1.3; }
.feat-card .lot-facts { padding: var(--s3) var(--s4) var(--s4); gap: 6px; }
.feat-card .lot-facts > div { grid-template-columns: 5.25rem minmax(0, 1fr); gap: var(--s3); }
.feat-card .lot-facts dt { font-size: var(--fs-sm); }
.feat-card .lot-facts dd { font-size: .9375rem; }
.feat-card footer { padding: var(--s3) var(--s4); }
.feat-slot { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--white); border: 1px dashed var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.feat-slot-pic { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s2); min-height: 96px; background: var(--surface-2); color: var(--navy); font-size: var(--fs-sm); font-weight: 600; border-bottom: 1px dashed var(--line-strong); }
.feat-slot-body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--s2); padding: var(--s5) var(--pad); }
.feat-slot-body h2, .feat-slot-body h3 { font-family: var(--display); font-size: 1.375rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; margin: 0; }
.feat-slot-body p { margin: 0; color: var(--ink-2); max-width: 46ch; }
.feat-slot-body .btn { margin-top: var(--s2); }
.feat-slot-points { display: none; }
.empty-board { text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: var(--s7) var(--s5); background: var(--white); }
.empty-board h2 { font-size: 1.375rem; }
.empty-board p { color: var(--ink-2); max-width: 56ch; margin-inline: auto; }
.pager { display: flex; align-items: center; justify-content: center; gap: var(--s4); margin-top: var(--s6); color: var(--ink-2); font-size: var(--fs-sm); }

/* Offers: two side by side, and a wide one under them */
.duo, .offers { display: grid; gap: var(--gap); }
.offer { display: flex; flex-direction: column; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5) var(--pad); }
.offer h2 { font-size: 1.375rem; letter-spacing: -.01em; margin-bottom: var(--s2); }
.offer p:not(.kicker) { color: var(--ink-2); margin-bottom: 0; max-width: 52ch; }
.offer .cta-row { margin-top: auto; padding-top: var(--s5); align-self: stretch; }
.offer.dark { background: var(--navy); border-color: var(--navy); color: var(--white); }
.offer.dark h2 { color: var(--white); }
.offer.dark p:not(.kicker) { color: #dbe5f0; }
.offer.dark .kicker { color: #FFC94D; }
.offer.wide h2 { max-width: 30ch; }
.offer.slim { gap: var(--s4); }
.offer.slim h2 { margin: 0; font-size: 1.25rem; }
.board-actions { margin-top: var(--s7); }
.wrap > .board-actions:first-child { margin-top: 0; }

/* One lot */
.crumbs { font-size: var(--fs-sm); color: var(--ink-3); margin-bottom: var(--s3); }
.crumbs a { color: var(--ink-2); }
.lot-head { display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s3); }
.lot-gallery { display: flex; gap: var(--s3); overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x mandatory; border-radius: var(--radius); margin: var(--s5) 0 var(--s2); -webkit-overflow-scrolling: touch; }
.lot-gallery a { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 3; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lot-gallery img { width: 100%; height: 100%; object-fit: contain; }
.lot-gallery-note { font-size: var(--fs-sm); color: var(--ink-3); margin-bottom: var(--s5); }
.lot-spec { display: grid; margin: var(--s5) 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.lot-spec > div { display: grid; grid-template-columns: 8rem 1fr; gap: var(--s3); align-items: baseline; padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); }
.lot-spec > div:last-child { border-bottom: 0; }
.lot-spec dt { font-size: var(--fs-sm); color: var(--ink-3); }
.lot-spec dd { margin: 0; font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }
.lot-desc { color: var(--ink); overflow-wrap: anywhere; }
.lot-note { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); line-height: 1.55; color: var(--ink-2); background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: var(--s3) var(--s4); margin: var(--s3) 0 0; }
.lot-note .icon { margin-top: 3px; color: var(--green-ink); }
.finance-box { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); align-items: center; justify-content: space-between; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: var(--s4); margin-top: var(--s5); }
.finance-box > div { flex: 1 1 240px; }
.finance-box .h3 { margin: 0 0 var(--s1); }
.finance-box p { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); }
.switch { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; margin: var(--s5) 0 0; background: var(--white); }
.switch a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; font-weight: 600; font-size: var(--fs-sm); color: var(--ink-2); text-decoration: none; }
.switch a[aria-current="page"] { background: var(--navy); color: var(--white); }

/* The "become verified" offer on thank-you pages */
.hook-card { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); text-align: left; background: var(--navy); color: var(--white); border-radius: var(--radius); padding: var(--s5) var(--pad); margin-top: var(--s6); }
.hook-card > div { flex: 1 1 240px; }
.hook-card h2 { color: var(--white); font-size: 1.25rem; letter-spacing: -.01em; margin-bottom: var(--s1); }
.hook-card p { margin: 0; color: #dbe5f0; }
.hook-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 10px; background: rgba(255, 255, 255, .12); color: #FFC94D; flex: none; }

/* Cards */
.cards { display: grid; gap: var(--gap); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5) var(--pad); color: var(--ink); }
.card h3, .card .h3 { margin-bottom: var(--s1); }
.card p { color: var(--ink-2); margin: 0; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--green-tint); color: var(--green-ink); margin-bottom: var(--s4); }
.card-link { text-decoration: none; display: block; transition: border-color .15s, background-color .15s; }
.card-link:hover { border-color: var(--navy); background: var(--surface-2); }

/* How it works: a real sequence, so the steps are numbered */
.steps { display: grid; gap: var(--s5); }
.steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: var(--s4); align-items: start; }
.steps h3 { margin: 8px 0 var(--s1); }
.steps p { grid-column: 2; color: var(--ink-2); margin: 0; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--white); font-family: var(--display); font-weight: 700; font-size: 1.125rem; font-variant-numeric: tabular-nums; }

/* Questions */
.faq-grid { display: grid; gap: var(--s5); }
.faq-grid .section-head { margin-bottom: 0; display: block; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: var(--s4) 40px var(--s4) 0; font-weight: 600; font-size: var(--fs-md); line-height: 1.4; color: var(--navy); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--green-ink); border-bottom: 2px solid var(--green-ink); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--green-ink); }
.faq details p { padding: 0 40px var(--s4) 0; margin: 0; color: var(--ink-2); max-width: 68ch; }

/* Inner pages: copy on the left, form card on the right */
.page-hero { padding-block: var(--s6) var(--s7); }
.page-grid { display: grid; gap: var(--s6); grid-template-areas: "intro" "card" "more"; }
.page-intro { grid-area: intro; }
.page-more { grid-area: more; }
.page-grid > .hero-card { grid-area: card; }
.page-copy { min-width: 0; }
.page-copy > :last-child { margin-bottom: 0; }
.page-copy .lead { margin-bottom: 0; }
.page-copy > .h3 { margin-top: var(--s6); margin-bottom: var(--s3); }
.page-copy > .h3:first-child { margin-top: 0; }
.page-copy .ticks { margin: 0; }
.page-copy .muted { margin-top: var(--s5); }
.mini-steps { counter-reset: mini; display: grid; gap: var(--s3); }
.mini-steps li { counter-increment: mini; position: relative; padding-left: 40px; color: var(--ink-2); min-height: 28px; }
.mini-steps li strong { color: var(--navy); }
.mini-steps li::before { content: counter(mini); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--white); font-family: var(--display); font-weight: 700; font-size: var(--fs-sm); display: flex; align-items: center; justify-content: center; }

/* Plain reading pages */
.page-plain { padding-block: var(--s6) var(--section); }
.page-plain .lead { margin-bottom: var(--s6); }
.about-cards { margin-top: var(--s6); }
.prose { color: var(--ink); }
.prose h2 { font-size: 1.375rem; margin-top: var(--s7); margin-bottom: var(--s3); }
.prose h3 { margin-top: var(--s5); margin-bottom: var(--s2); }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: var(--s2); margin-bottom: var(--s4); }
.prose a { color: var(--green-ink); text-decoration: underline; }
.legal h2 { scroll-margin-top: 96px; }
.legal ol.clauses { list-style: decimal; padding-left: 26px; display: grid; gap: var(--s3); margin-bottom: var(--s4); }
.legal ol.clauses > li { padding-left: 4px; }
.legal ol.clauses > li::marker { color: var(--ink-3); font-weight: 600; }
.legal ol.sub { list-style: lower-alpha; padding-left: 22px; display: grid; gap: var(--s2); margin-top: var(--s2); }
.legal-summary { border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--radius-sm); background: var(--white); padding: var(--s4) var(--pad); margin: var(--s5) 0 var(--s2); }
.legal-summary h2 { margin-top: 0; font-size: var(--fs-h3); font-family: var(--font); font-weight: 600; letter-spacing: 0; }
.legal-summary p { margin-bottom: 0; font-size: .9375rem; }
.signoff { font-weight: 600; color: var(--navy); }
.contact-list { margin-top: var(--s6); }
.contact-list ul { display: grid; gap: var(--s3); }
.contact-list li { display: flex; gap: var(--s3); align-items: center; }
.contact-list .icon { color: var(--green-ink); }

/* Thank you */
.thanks { padding-block: var(--s6) var(--section); text-align: center; }
.thanks .wrap.narrow > * { margin-inline: auto; }
.thanks-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green-tint); color: var(--green-ink); margin-bottom: var(--s4); }
.thanks-card { text-align: left; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5) var(--pad); margin-top: var(--s5); }
.thanks-card .ticks { margin: var(--s3) 0 0; }
.thanks-safe { display: flex; gap: var(--s2); align-items: flex-start; font-size: var(--fs-sm); line-height: 1.55; color: var(--ink-2); margin: var(--s4) 0 0; }
.thanks-safe .icon { flex: none; margin-top: 3px; color: var(--green-ink); }

/* Footer */
.site-footer { background: var(--navy); color: #d3deea; padding-block: var(--s7) var(--s5); font-size: .9375rem; }
.footer-grid { display: grid; gap: var(--s6) var(--s5); }
.site-footer h2 { font-family: var(--font); color: var(--white); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: var(--s3); }
.site-footer ul { display: grid; gap: var(--s2); }
.site-footer a { color: #d3deea; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.brand-light .brand-word { color: var(--white); }
.brand-light .brand-word .lot { color: #FFB71F; }
.brand-tile { display: inline-flex; background: var(--white); border-radius: var(--radius-sm); padding: 5px; }
.footer-tag { color: var(--white); font-weight: 600; margin: var(--s4) 0 var(--s2); }
.footer-note { max-width: 44ch; margin: 0; color: #c6d2df; }
.footer-disclaimer { margin-top: var(--s6); margin-bottom: 0; font-size: var(--fs-sm); line-height: 1.6; color: #c6d2df; max-width: 90ch; }
.footer-disclaimer a { text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; gap: 6px var(--s5); margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid rgba(255, 255, 255, .16); font-size: var(--fs-sm); color: #c6d2df; }

/* "Become our partner" pill (laptops) and the action bar (phones) */
.partner-tab { display: none; }
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(17,33,66, .10); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 58px; padding: 6px 4px; text-decoration: none; font-size: .75rem; font-weight: 600; line-height: 1.2; color: var(--navy); border-right: 1px solid var(--line); }
.mobile-bar a:last-child { border-right: 0; }
.mobile-bar .mb-wa { color: #0b7a3e; }
.mobile-bar .mb-main { background: var(--green); color: var(--navy-deep); flex: 1.25; }

/* Very narrow phones */
@media (max-width: 374px) {
  .tab { font-size: var(--fs-sm); }
}
@media (max-width: 359px) {
  :root { --gutter: 14px; --pad: 14px; }
  .lot-card:not(.feat-card) { grid-template-columns: 88px minmax(0, 1fr); }
  .field select { padding-left: 10px; padding-right: 32px; background-position: right 10px center; }
  .mobile-bar a { font-size: .72rem; }
}

/* Phones */
@media (max-width: 619px) {
  .announce { font-size: var(--fs-xs); }
  .announce a { display: none; }
  /* Category chips: one row that slides sideways, so the lots are not pushed down the page */
  .cat-nav { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .cat-nav::-webkit-scrollbar { display: none; }
  .cat-nav a { flex: none; white-space: nowrap; }
  .offer.slim .btn { align-self: stretch; }
  /* Feed rows: the product name may run to two lines */
  .feed { --feed-row: 84px; }
  .feed-main strong { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .feed-price { max-width: 34%; font-size: .9375rem; }
  .feed-pic { width: 48px; height: 48px; }
  #latest .lot-card:nth-child(n+4) { display: none; }
  .cat-tiles .icon { display: none; }
  .cat-tiles a { padding: var(--s3); }
  .hook-card .btn, .finance-box .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-row .btn { flex: 1 1 100%; }
  .section-head { margin-bottom: var(--s5); }
}

/* Phones and tablets: the three info cards stack, with the icon beside the text */
@media (max-width: 899px) {
  .cards.three .card { display: grid; grid-template-columns: 44px 1fr; column-gap: var(--s4); align-items: start; padding: var(--s4); }
  .cards.three .card-icon { grid-row: 1 / span 2; margin-bottom: 0; }
}

@media (min-width: 620px) {
  .section.tight { padding-block: var(--s7); }
  .cat-tiles { grid-template-columns: repeat(3, 1fr); }
  /* Featured: photo on the left, details on the right */
  .lot-card.feat-card { grid-template-columns: clamp(200px, 40%, 320px) minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; }
  .feat-card .lot-pic { grid-column: 1; grid-row: 1 / span 4; aspect-ratio: auto; min-height: 220px; border-bottom: 0; border-right: 1px solid var(--line); }
  .feat-card header, .feat-card h3, .feat-card .lot-facts { grid-column: 2; }
  .feat-card header { padding: var(--s5) var(--s5) 0; }
  .feat-card h3 { padding: var(--s3) var(--s5) 0; }
  .feat-card .lot-facts { padding: var(--s3) var(--s5) var(--s4); }
  .feat-card footer { grid-column: 2; grid-row: auto; flex-direction: row; align-items: center; justify-content: space-between; min-width: 0; max-width: none; padding: var(--s3) var(--s5); border-left: 0; border-top: 1px solid var(--line); text-align: left; }
  .feat-slot { grid-template-columns: clamp(200px, 40%, 320px) minmax(0, 1fr); }
  .feat-slot-pic { min-height: 200px; border-bottom: 0; border-right: 1px dashed var(--line-strong); }
  .duo, .offers { grid-template-columns: 1fr 1fr; }
  .offer.wide { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: var(--s6); }
  .offer.wide .cta-row { margin-top: 0; padding-top: 0; flex: none; align-self: center; }
  /* Channel partner box: Apply here, with Partner login under it */
  .offer.wide .partner-cta { flex-direction: column; align-items: stretch; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

@media (min-width: 900px) {
  .cat-tiles { grid-template-columns: repeat(4, 1fr); }
  .cards.three { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
  .steps li { grid-template-columns: 1fr; row-gap: var(--s3); padding-top: var(--s5); border-top: 2px solid var(--navy); }
  .steps h3 { margin: 0; }
  .steps p { grid-column: 1; }
  .faq-grid { grid-template-columns: 1fr 2fr; gap: var(--s7); align-items: start; }
  .faq-grid .section-head { position: sticky; top: 96px; }
}

@media (min-width: 768px) {
  /* Wider than a phone: the price and the button move to the right-hand end of the row */
  .lot-card:not(.feat-card) { grid-template-columns: 168px minmax(0, 1fr) auto; grid-template-rows: auto auto 1fr; }
  .lot-card:not(.feat-card) .lot-pic { min-height: 132px; }
  .lot-card:not(.feat-card) header { justify-content: flex-start; gap: var(--s2) var(--s3); padding: var(--s4) var(--s5) 0; }
  .lot-card:not(.feat-card) h3 { padding: var(--s2) var(--s5) 0; font-size: var(--fs-h3); }
  .lot-card:not(.feat-card) .lot-facts { gap: 6px var(--s5); padding: var(--s3) var(--s5) var(--s4); }
  .lot-card:not(.feat-card) .lot-facts > div { grid-template-columns: 5.25rem minmax(0, 1fr); gap: var(--s3); }
  .lot-card:not(.feat-card) .lot-facts dt { font-size: var(--fs-sm); }
  .lot-card:not(.feat-card) .lot-facts dd { font-size: .9375rem; }
  .lot-card:not(.feat-card) footer { grid-column: 3; grid-row: 1 / span 3; flex-direction: column; align-items: flex-end; justify-content: center; gap: var(--s3); min-width: 184px; max-width: 240px; padding: var(--s4) var(--s5); border-top: 0; border-left: 1px solid var(--line); text-align: right; }
}

/* Laptops and wider */
@media (min-width: 1024px) {
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .feat-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  /* An open slot with a whole row to itself has room to say what a featured listing gives */
  .feat-grid > .feat-slot:last-child:nth-child(odd) { grid-template-columns: 320px minmax(0, 1fr) auto; }
  .feat-grid > .feat-slot:last-child:nth-child(odd) .feat-slot-points { display: grid; align-content: center; margin: 0; padding: var(--s5) var(--s6) var(--s5) var(--s5); border-left: 1px dashed var(--line-strong); font-weight: 600; color: var(--navy); }
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .nav-toggle { display: none; }
  .site-header .header-in { min-height: 72px; }
  .site-nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 2px; padding: 0; border: 0; box-shadow: none; background: none; }
  .site-nav a { padding: 8px 7px; font-size: .9375rem; border: 0; border-radius: var(--radius-sm); white-space: nowrap; }
  .site-nav a:hover { background: var(--surface-2); }
  /* One row has to hold the logo, six links, WhatsApp, Partner login and the green button inside the
     1120px page width. WhatsApp is its icon here; on the narrowest laptops Partner login is its icon too. */
  .site-nav .nav-wa span { display: none; }
  .site-nav .nav-login { margin-left: var(--s2); padding: 7px 11px; min-height: 42px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); gap: 6px; }
  .site-nav .nav-login:hover { border-color: var(--navy); }
  .site-nav .nav-login span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-nav .btn { margin: 0 0 0 var(--s2); padding: 8px 12px; min-height: 42px; font-size: .9375rem; }
  .site-nav .btn:hover { background: var(--green-dark); }
  .hero, .page-plain, .thanks { padding-block: var(--s7) var(--s8); }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 540px); grid-template-areas: "copy card" "points card" "feed card"; grid-template-rows: auto auto 1fr; column-gap: var(--s8); row-gap: var(--s5); align-items: start; }
  .hero-copy { padding-top: var(--s5); }
  .hero-grid .ticks { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
  .feed-view.is-rolling { height: calc(4 * var(--feed-row)); }
  .hero .lead { font-size: 1.1875rem; }
  .hero-card .field input[type="text"], .hero-card .field input[type="tel"], .hero-card .field input[type="email"], .hero-card .field select { min-height: 44px; padding-block: 8px; }
  .page-hero { padding-block: var(--s7) var(--s8); }
  .page-hero.slim { padding-block: var(--s7) var(--s6); }
  .page-hero.slim + .section { border-top: 0; padding-top: var(--s4); }
  /* Room for the facts in two columns */
  .lot-card:not(.feat-card) .lot-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); grid-template-areas: "intro card" "more card"; grid-template-rows: auto 1fr; gap: var(--s6) var(--s8); align-items: start; }
  .page-grid .hero-card { position: sticky; top: 96px; }
  .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: var(--s7); }
}
@media (min-width: 1180px) {
  .site-nav a { padding: 8px 10px; }
  .site-nav .nav-login { padding: 7px 12px; }
  .site-nav .nav-login span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .site-nav .btn { padding: 8px 16px; }
}

/* Wide screens: a "Become our partner" tab in the empty margin, where it covers nothing */
@media (min-width: 1300px) {
  .partner-tab {
    display: flex; flex-direction: column; align-items: center; gap: 6px; position: fixed; right: 0; top: 42%; z-index: 55;
    width: 84px; padding: var(--s3) var(--s2); background: var(--navy); color: var(--white); border-radius: 10px 0 0 10px;
    font-size: var(--fs-xs); font-weight: 600; line-height: 1.3; text-align: center; text-decoration: none;
    box-shadow: 0 6px 20px rgba(17,33,66, .22);
  }
  .partner-tab:hover { background: var(--navy-soft); }
  .partner-tab .icon { color: #FFC94D; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* No movement: the feed becomes a box the visitor scrolls by hand */
  .feed-view.is-rolling { overflow-y: auto; }
  .feed-view.is-rolling .feed-track { animation: none; }
  .feed-track .feed-copy { display: none; }
  .btn, .card-link, .cat-tiles a, .faq summary::after { transition: none; }
}

/* Seller form: proof tick boxes */
.proof { display: grid; gap: var(--s3); padding: var(--s4); border: 1px solid var(--green-line); background: var(--green-tint); border-radius: 12px; }
.proof-title { margin: 0; font-weight: 700; color: var(--navy); font-size: var(--fs-sm); }
.proof .field { margin: 0; }

/* Pop-up shown before a stock lot is sent without proof */
.proof-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: var(--s4); background: rgba(2, 26, 51, .6); }
.proof-modal[hidden] { display: none; }
.proof-box { background: var(--white); border-radius: 16px; max-width: 440px; width: 100%; padding: var(--s5); box-shadow: 0 20px 60px rgba(2, 26, 51, .35); max-height: calc(100vh - 32px); overflow: auto; }
.proof-box h2 { margin: 0 0 var(--s3); font-family: var(--display); font-size: 1.375rem; color: var(--navy); line-height: 1.25; }
.proof-box p { margin: 0 0 var(--s3); color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.55; }
.proof-box ul { margin: 0 0 var(--s3); padding-left: 20px; color: var(--ink); font-size: var(--fs-sm); line-height: 1.7; }
.proof-box .proof-q { font-weight: 700; color: var(--navy); }
.proof-actions { display: grid; gap: var(--s2); margin-top: var(--s4); }
@media (min-width: 520px) { .proof-actions { grid-template-columns: 1fr 1fr; } }

.partner-note { margin: 0; padding: var(--s3) var(--s4); border: 1px solid var(--green-line); background: var(--green-tint); border-radius: 12px; font-size: var(--fs-sm); color: var(--ink); line-height: 1.5; }
.partner-note a { color: var(--green-ink); font-weight: 600; text-decoration: underline; }

.type-hint { margin: 6px 0 0; font-size: 0.85rem; color: var(--muted, #5b6472); line-height: 1.4; }
.checks { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; }
.checks legend { padding: 0; margin-bottom: 6px; font-weight: 600; }
.checks label { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.partner-who { display: grid; gap: 12px; margin: 0 0 14px; }
.partner-who .col { border-radius: 10px; padding: 12px 14px; font-size: 0.92rem; }
.partner-who .yes { background: #ecf8f0; border: 1px solid #b7e2c6; }
.partner-who .no { background: #fdf0ee; border: 1px solid #f1c3bd; }
.partner-who ul { margin: 6px 0 0; padding-left: 18px; }

/* Forms stay friendly: reminders are amber, never red. */
.lead-form { --danger: #9a5b00; --danger-tint: #fff4df; }
.lead-form .field-error, .lead-form .form-alert { font-weight: 500; }
.lot-class { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lot-class legend { padding: 0; margin-bottom: 6px; font-weight: 600; grid-column: 1 / -1; }
.lot-class-opt { display: flex; gap: 8px; align-items: flex-start; border: 1px solid #d5dbe4; border-radius: 10px; padding: 10px; cursor: pointer; font-weight: 400; background: #fff; }
.lot-class-opt:has(input:checked) { border-color: #4a9d1f; background: #f1f9ea; }
.lot-class-opt strong { display: block; font-size: 0.95rem; }
.lot-class-opt small { display: block; color: #5b6472; line-height: 1.3; margin-top: 2px; }
@media (max-width: 520px) { .lot-class { grid-template-columns: 1fr; } }
.lead-form .form-alert { border-color: #f0d9a8; }
[data-surplus-only][hidden] { display: none !important; }

.hook-list { margin: var(--s3) 0 0; padding-left: 1.1em; font-size: .95em; opacity: .92; }
.hook-list li { margin: 2px 0; }

/* Verified badge offer inside the pre-submit pop-up */
.vp-box { max-width: 460px; padding: 0; overflow: auto; }
.vp-hero { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s5) var(--s5) var(--s4); background: linear-gradient(135deg, var(--navy-deep), var(--navy-soft)); color: var(--white); }
.vp-shield { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: var(--navy-deep); box-shadow: 0 0 0 6px rgba(255, 200, 0, .25); }
.vp-pill { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); font-size: .8125rem; font-weight: 700; letter-spacing: .02em; }
.vp-box h2 { margin: var(--s4) var(--s5) var(--s2); }
.vp-box .vp-sub { margin: 0 var(--s5) var(--s3); font-size: var(--fs-base, 1rem); color: var(--ink); }
.vp-benefits { list-style: none; margin: 0 var(--s5) var(--s4); padding: 0; display: grid; gap: var(--s2); }
.vp-benefits li { display: flex; gap: var(--s3); align-items: flex-start; font-size: var(--fs-sm); color: var(--ink); line-height: 1.45; }
.vp-benefits li span { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green-tint); color: var(--green-ink); }
.vp-cta { display: flex; width: auto; margin: 0 var(--s5); justify-content: center; text-decoration: none; }
.vp-box .vp-note { margin: var(--s3) var(--s5) 0; font-size: .8125rem; color: var(--ink-3); text-align: center; }
.vp-missing { margin: var(--s4) var(--s5) 0; padding: var(--s4); border: 1px solid #ecd49a; background: #fff8e6; border-radius: 12px; }
.vp-missing p { margin: 0 0 var(--s2); }
.vp-missing .vp-missing-title { font-weight: 700; color: #7a4b00; }
.vp-missing ul { margin: 0 0 var(--s2); }
.vp-box .proof-actions { margin: var(--s4) var(--s5) var(--s5); }

/* Tiny price notice: kept small so it never competes with the form */
.price-note { margin: 6px 0 0; font-size: 0.68rem; line-height: 1.35; color: var(--ink-2, #5b6472); opacity: .85; }
.price-note a { color: inherit; text-decoration: underline; }

/* Buyer request cards share the lot card; no photo column */
.lot-badge.want-tag { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Sellers and Buyers pages: listings on the left, live deals and announcements on the right. */
.list-page { padding-top: var(--s6); }
.list-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s4) var(--s6); margin-bottom: var(--s5); }
.list-head h1 { font-size: clamp(1.5rem, 3.2vw, 2.125rem); margin-bottom: var(--s2); }
.list-head .lead { margin: 0; max-width: 46rem; font-size: 1rem; }
.list-head .eyebrow { margin-bottom: var(--s1); }
.list-actions { display: flex; flex-wrap: wrap; gap: var(--s2); }
.list-grid { display: grid; gap: var(--s5); align-items: start; }
.list-count { margin: 0 0 var(--s3); font-size: var(--fs-sm); color: var(--ink-3); }
.side-rail { display: grid; gap: var(--s3); }
.rail-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4); }
.rail-box p { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); }
.rail-title { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 0 var(--s3); font-size: 1rem; color: var(--navy); }
.rail-list { list-style: none; margin: 0; padding: 0; display: grid; }
.rail-item { display: grid; gap: 2px; padding: var(--s2) 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.rail-item strong { font-size: .9375rem; line-height: 1.3; }
.rail-item span { font-size: var(--fs-xs); color: var(--ink-3); }
.rail-item:hover strong { text-decoration: underline; }
.rail-list li:last-child .rail-item { border-bottom: 0; }
.rail-link { display: inline-flex; align-items: center; gap: 4px; margin-top: var(--s2); font-size: var(--fs-sm); font-weight: 600; }
.rail-links { display: grid; gap: var(--s2); }
.rail-links a { font-size: var(--fs-sm); font-weight: 600; }
.form-dialog { border: 0; padding: 0; background: transparent; max-width: min(640px, calc(100vw - 24px)); width: 100%; max-height: calc(100vh - 24px); overflow: visible; }
.form-dialog::backdrop { background: rgba(8, 28, 52, .6); }
.form-dialog .hero-card { position: relative; max-height: calc(100vh - 24px); overflow-y: auto; }
.dialog-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--ink); cursor: pointer; }
@media (min-width: 960px) {
  .list-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s6); }
  .side-rail { position: sticky; top: 88px; }
}
.rail-title .feed-tag { background: var(--surface-2); color: var(--ink-2); border-radius: 999px; padding: 1px 8px; font-size: .6875rem; font-weight: 600; }

/* Buyer request card: thumbnail | requirement | Ask for a deal. */
.want-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.want-card.is-verified { border-color: var(--green-line); }
.want-thumb { display: grid; align-content: center; justify-items: center; gap: 6px; padding: var(--s3); background: var(--surface-2); text-align: center; }
.want-thumb img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; display: block; }
.want-thumb-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 12px; background: var(--white); color: var(--navy); }
.want-thumb-cap { font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.25; overflow-wrap: anywhere; }
.want-body { padding: var(--s3) var(--s4); min-width: 0; }
.want-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px var(--s2); margin: 0 0 var(--s2); }
.want-body h3 { margin: 0 0 var(--s2); font-size: 1.0625rem; color: var(--navy); }
.want-body .lot-facts { padding: 0; }
.want-deal { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s2) var(--s4); border-top: 1px solid var(--line); background: var(--surface-2); }
.want-deal p { margin: 0 auto 0 0; font-size: var(--fs-sm); color: var(--ink-2); }
.want-deal .btn { white-space: nowrap; }
@media (min-width: 720px) {
  .want-card { grid-template-columns: 120px minmax(0, 1fr) 190px; }
  .want-thumb img { width: 96px; height: 96px; }
  .want-deal { grid-column: auto; flex-direction: column; align-items: stretch; justify-content: center; text-align: center; border-top: 0; border-left: 1px solid var(--line); padding: var(--s4); gap: var(--s2); }
  .want-deal p { margin: 0; }
}
.field-hint { margin: 4px 0 0; font-size: var(--fs-xs); color: var(--ink-3); }

/* Seller lot on the Sellers page: photo | details | price and button. */
.lot-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lot-row.is-verified { border-color: var(--green-line); }
.lot-row-pic { display: block; background: var(--surface-2); overflow: hidden; text-decoration: none; min-height: 112px; }
.lot-row-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lot-row-nopic { display: grid; align-content: center; justify-items: center; gap: 8px; height: 100%; padding: var(--s3); color: var(--navy); text-align: center; font-size: var(--fs-xs); font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.lot-row-nopic svg { padding: 12px; box-sizing: content-box; width: 34px; height: 34px; background: var(--white); border-radius: 12px; }
.lot-row-body { padding: var(--s3) var(--s4); min-width: 0; }
.lot-row-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px var(--s2); margin: 0 0 var(--s2); }
.lot-row-body h3 { margin: 0 0 var(--s3); font-size: 1.125rem; line-height: 1.3; }
.lot-row-body h3 a { color: var(--navy); text-decoration: none; }
.lot-row-body h3 a:hover { text-decoration: underline; }
.lot-row-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: var(--s3) var(--s4); margin: 0; }
.lot-row-facts dt { font-size: var(--fs-xs); color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.lot-row-facts dd { margin: 0; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); line-height: 1.35; overflow-wrap: anywhere; }
.lot-row-deal { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s2) var(--s4); border-top: 1px solid var(--line); background: var(--surface-2); }
.lot-row-cap { font-size: var(--fs-xs); color: var(--ink-3); margin-right: auto; }
.lot-row-deal .lot-price { order: 1; }
.lot-row-deal .btn { order: 2; white-space: nowrap; }
@media (min-width: 720px) {
  .lot-row { grid-template-columns: 150px minmax(0, 1fr) 190px; }
  .lot-row-deal { grid-column: auto; flex-direction: column; align-items: stretch; justify-content: center; text-align: center; border-top: 0; border-left: 1px solid var(--line); padding: var(--s4); gap: var(--s2); }
  .lot-row-cap { margin: 0; }
  .lot-row-deal .lot-price { order: 0; font-size: 1.375rem; }
  .lot-row-pic { min-height: 150px; }
}

/* Featured box: more eye-catching (27 Oct 2026). CSS only; markup unchanged. Remove this block to roll back. */
.feed { --feed-row: 84px; border: 2px solid var(--navy); border-radius: 16px; box-shadow: 0 10px 28px rgba(17,33,66,.18); }
.feed-head { background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-soft) 100%); padding: 14px var(--s4); }
.feed-head h2 { font-size: 1.125rem; font-weight: 800; letter-spacing: .01em; }
.feed-head h2 .icon { color: #FFA24D; fill: #FFA24D; width: 22px; height: 22px; animation: feed-twinkle 2.4s ease-in-out infinite; }
.feed-tag { background: #FFA24D; color: var(--navy-deep); font-weight: 800; font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.feed-more { background: var(--green); color: var(--navy-deep); padding: 7px 14px; border-radius: 999px; font-weight: 800; }
.feed-more:hover { text-decoration: none; filter: brightness(1.05); }
.feed-item { position: relative; padding: 0 var(--s4) 0 calc(var(--s4) + 4px); background: linear-gradient(90deg, rgba(255,212,94,.16), rgba(255,255,255,0) 40%); transition: background .15s, transform .15s; }
.feed-item::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: #E8700A; }
.feed-item:hover { background: linear-gradient(90deg, rgba(255,212,94,.32), var(--surface-2) 60%); }
.feed-pic { width: 64px; height: 64px; border-radius: 12px; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #E8700A; }
.feed-main strong { font-size: 1.0625rem; font-weight: 800; }
.feed-price { background: var(--navy); color: #fff; padding: 6px 11px; border-radius: 999px; font-size: .875rem; max-width: 34%; }
.feed-item:not(.feed-invite) .feed-price::after { content: " \2192"; }
.feed-invite { background: repeating-linear-gradient(135deg, #FFF6EC, #FFF6EC 10px, #FFF1E3 10px, #FFF1E3 20px); }
.feed-invite::before { background: var(--green); }
.feed-invite .feed-pic { border: 2px dashed #E8700A; box-shadow: none; background: #fff; }
.feed-invite .feed-main strong { color: var(--navy); }
.feed-empty { background: linear-gradient(135deg, #FFF6EC, #fff); }
@keyframes feed-twinkle { 0%,100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.18) rotate(12deg); } }
@media (max-width: 480px) { .feed { --feed-row: 78px; } .feed-pic { width: 56px; height: 56px; } .feed-main strong { font-size: 1rem; } .feed-tag { display: none; } }
@media (prefers-reduced-motion: reduce) { .feed-head h2 .icon { animation: none; } }

/* "Advertise here" link in the Featured header (27 Oct 2026) */
a.feed-tag { text-decoration: none; text-transform: none; letter-spacing: 0; font-weight: 600; font-size: .8125rem; background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.35); }
a.feed-tag:hover { background: #FFA24D; color: var(--navy-deep); border-color: #FFA24D; }

/* Featured header final (27 Oct 2026): centred title with stars, small Advertise here, seller price label */
.feed-head { position: relative; justify-content: center; padding: 26px var(--s4) 14px; }
.feed-head h2 { margin: 0 auto; }
.feed-head .feed-more { display: none; }
a.feed-tag { position: absolute; top: 4px; left: 8px; background: none; border: 0; padding: 0; border-radius: 0; font-size: .5625rem; font-weight: 500; color: #c9d6e4; text-decoration: underline; text-underline-offset: 2px; }
a.feed-tag:hover { background: none; color: #fff; }
@media (max-width: 480px) { a.feed-tag { display: inline; } }
.feed-head h2::after { content: "\2605"; color: #FFA24D; font-size: 1.6rem; margin-left: -4px; transform: translateY(-1px); line-height: 1; }
.feed-price { display: flex; flex-direction: column; align-items: center; gap: 0; background: none; padding: 0; color: var(--navy); max-width: 40%; overflow: visible; -webkit-line-clamp: unset; -webkit-box-orient: unset; text-align: center; line-height: 1.2; gap: 3px; }
.feed-price small { white-space: nowrap; font-size: .625rem; font-family: var(--font); font-size: .6875rem; font-weight: 600; color: var(--ink-2); letter-spacing: .02em; }
.feed-price b { background: var(--navy); color: #fff; padding: 5px 12px; border-radius: 999px; font-size: .9375rem; font-weight: 800; }
.feed-item:not(.feed-invite) .feed-price::after { content: none; }
.feed-head h2 { gap: 3px; } .feed-head { gap: 0; }

/* Terms page: contents list and part headings (27 Oct 2026) */
.legal-toc { margin: var(--s5) 0; padding: var(--s4); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); }
.legal-toc h2 { margin: 0 0 var(--s2); font-size: 1.125rem; }
.legal-toc-part { margin: var(--s3) 0 4px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green-ink); }
.legal-toc ul { margin: 0; padding: 0; list-style: none; columns: 1; }
.prose .legal-toc li, .legal-toc li { margin: 0; padding: 1px 0; line-height: 1.45; font-size: .9375rem; }
.legal-toc a { color: var(--navy); text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.legal-part { margin: var(--s6, 40px) 0 0; padding: 8px 14px; background: var(--navy); color: #fff; font-family: var(--display); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 8px; }
.legal-part + h2 { margin-top: var(--s4); }
html { scroll-padding-top: 80px; }
@media (min-width: 700px) { .legal-toc ul { columns: 2; column-gap: 24px; } .legal-toc li { break-inside: avoid; } }

/* Buyers page: request card action column fits its buttons (30 Oct 2026) */
@media (min-width: 720px) {
  .want-card { grid-template-columns: 120px minmax(0, 1fr) minmax(230px, 250px); }
  .want-deal { min-width: 0; }
  .want-deal .want-actions { display: grid; gap: var(--s2); width: 100%; }
  .want-deal .want-actions .btn { white-space: normal; justify-content: center; text-align: center; width: 100%; }
  .want-deal p { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px var(--s2); }
}

/* Stock board rows: price and View lot centred in the right-hand column (30 Oct 2026) */
@media (min-width: 768px) {
  .lot-card:not(.feat-card) footer { align-items: center; text-align: center; }
}

/* Home: "List your stock free" strip under the banner (30 Oct 2026) */
.cta-strip { padding: var(--s4) 0; background: var(--white); }
.cta-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s2) var(--s4); text-align: center; }
.cta-strip p { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); }
@media (max-width: 520px) { .cta-strip .btn { width: 100%; justify-content: center; } }

/* Home, 3 Nov 2026: Featured box scrolls by hand, poster strip, highlighted new categories. Delete from here to roll back. */
.feed-view { height: auto !important; max-height: calc(var(--feed-row, 84px) * 3.4) !important; overflow-x: hidden !important; overflow-y: auto !important; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--navy) #e7eef6; }
.feed-view .feed-track { position: static !important; transform: none !important; animation: none !important; }
.feed-view .feed-copy { display: none !important; }
.feed-view::-webkit-scrollbar { width: 8px; }
.feed-view::-webkit-scrollbar-track { background: #e7eef6; }
.feed-view::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 8px; }
.poster-strip { padding: var(--s4) 0 0; background: var(--white); }
.poster-link { display: block; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 24px rgba(17,33,66,.14); border: 1px solid var(--line); }
.poster-img { display: block; width: 100%; height: auto; }
.cat-tiles li.cat-hot > a { border: 2px solid #E8700A; background: linear-gradient(135deg, #FFF6EC, #fff); box-shadow: 0 4px 14px rgba(245,184,0,.28); }
.cat-tiles li.cat-hot > a::before { content: "NEW"; position: absolute; top: -9px; right: 12px; background: var(--green); color: var(--navy-deep); font-size: .625rem; font-weight: 800; letter-spacing: .08em; padding: 2px 8px; border-radius: 999px; }
.cat-tiles li.cat-hot { position: relative; }

/* Home, 3 Nov 2026 (2): sell / buy form sits in a scroll box instead of a long page. Delete from here to roll back. */
.hero-grid .switch-card { display: flex; flex-direction: column; }
.hero-grid .switch-card .tabs { flex: none; }
.hero-grid .switch-card .tab-panel { max-height: min(600px, calc(100vh - 190px)); max-height: min(600px, calc(100dvh - 190px)); min-height: 340px; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--navy) #e7eef6; scroll-padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.hero-grid .switch-card .tab-panel::-webkit-scrollbar { width: 8px; }
.hero-grid .switch-card .tab-panel::-webkit-scrollbar-track { background: #e7eef6; }
.hero-grid .switch-card .tab-panel::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 8px; }
@media (max-width: 640px) {
  .hero-grid .switch-card .tab-panel { max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); min-height: 320px; }
}
