:root {
  color-scheme: light;
  --ink: #21141f;
  --muted: #695a66;
  --paper: #fffafc;
  --card: #ffffff;
  --pink: #c02667;
  --pink-dark: #8f164a;
  --line: #eadce4;
  --soft: #f9eaf1;
  --green: #146c43;
  --amber: #8a4b08;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: var(--pink-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  background: var(--ink);
  color: white;
  padding: .7rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-header nav a {
  font-weight: 650;
  text-decoration: none;
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

.hero {
  padding: clamp(3rem, 8vw, 7rem) 0 3rem;
  max-width: 820px;
}

.hero h1 {
  margin: .2rem 0 1rem;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  line-height: .98;
  letter-spacing: -.04em;
}

.hero > p:last-child {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 700px;
}

.eyebrow {
  margin: 0;
  color: var(--pink);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.status-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  padding: .9rem 1rem;
}

.status-panel[data-state="ready"] {
  border-color: #b7ddc9;
  color: var(--green);
}

.status-panel[data-state="stale"],
.status-panel[data-state="error"] {
  border-color: #e8c48f;
  background: #fff8eb;
  color: var(--amber);
}

.content-section {
  padding: 4rem 0 1rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-heading h2,
.trust-panel h2 {
  margin: .25rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.auction-card,
.result-card,
.skeleton-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  padding: 1.4rem;
  box-shadow: 0 14px 36px rgba(85, 38, 65, .06);
}

.auction-card h3,
.result-card h3 {
  margin: .2rem 0 .35rem;
  font-size: 1.35rem;
}

.card-topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.state-pill {
  border-radius: 999px;
  background: var(--soft);
  color: var(--pink-dark);
  padding: .25rem .65rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.state-pill[data-state="live"] {
  background: #e2f4e9;
  color: var(--green);
}

.meta {
  color: var(--muted);
  font-size: .9rem;
}

.item-list {
  display: grid;
  gap: .45rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.item-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: .5rem;
}

.primary-link,
.secondary-button {
  display: inline-flex;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
}

.primary-link {
  margin-top: 1.25rem;
  background: var(--pink);
  color: white;
  padding: .7rem 1rem;
}

.primary-link:hover {
  background: var(--pink-dark);
}

.secondary-button {
  border: 1px solid var(--pink);
  background: white;
  color: var(--pink-dark);
  padding: .6rem .9rem;
}

.results-stack {
  display: grid;
  gap: 1rem;
}

.result-card .item-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 1.5rem;
  color: var(--muted);
}

.skeleton-card {
  min-height: 170px;
  background: linear-gradient(100deg, #fff 20%, #f8eef3 40%, #fff 60%);
  background-size: 220% 100%;
  animation: shimmer 1.4s infinite linear;
}

@keyframes shimmer {
  to { background-position-x: -220%; }
}

.trust-panel {
  margin-top: 4rem;
  border-radius: 24px;
  background: var(--ink);
  color: white;
  padding: clamp(1.5rem, 5vw, 3.5rem);
}

.trust-panel .eyebrow,
.trust-panel a {
  color: #ff9ac6;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.trust-grid h3 {
  margin-bottom: .25rem;
}

.trust-grid p {
  margin-top: 0;
  color: #e6dce3;
}

.policy-links {
  border-top: 1px solid #5a4654;
  margin: 1.5rem 0 0;
  padding-top: 1.2rem;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 2rem 1.5rem;
  text-align: center;
}

.noscript {
  position: fixed;
  inset: auto 1rem 1rem;
  border: 2px solid var(--amber);
  background: white;
  padding: 1rem;
}

.fh-current-auctions-link {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
  border-radius: 999px;
  background: #c02667;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .24);
  color: white !important;
  font: 700 15px/1.2 Inter, sans-serif;
  padding: .8rem 1rem;
  text-decoration: none;
}

@media (max-width: 760px) {
  .site-header,
  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .card-grid,
  .result-card .item-list,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 15vw, 4.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .skeleton-card {
    animation: none;
  }
}
