/* ── RESET ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ── DESIGN TOKENS ── */
:root {
  --bg: #F5F1EA;
  --white: #FFFFFF;
  --black: #1A1A18;
  --red: #C0392B;
  --red-hover: #A93226;
  --muted: #6B6B65;
  --border: #E8E4DC;
  --green: #27ae60;
  --amber: #f39c12;
  --font-main: 'IBM Plex Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

/* ── BODY ── */
body {
  font-family: var(--font-main);
  color: var(--black);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ── SR-ONLY ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

.logo {
  font-size: 18px;
  text-decoration: none;
  letter-spacing: -0.3px;
}

.logo-auction {
  font-family: var(--font-main);
  font-weight: 700;
  color: var(--white);
}

.logo-brain {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #E74C3C;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  color: #999;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a.active {
  color: var(--white);
  font-weight: 700;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 15px;
  padding: 8px 18px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--red-hover);
}

.nav-cta-text {
  display: inline;
}

.nav-badge {
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
}

/* ── FOOTER ── */
.footer {
  background: var(--black);
  padding: 32px;
  text-align: center;
}

.footer p {
  font-size: 13px;
  color: var(--muted);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 960px;
  margin: 0 auto 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-powered {
  font-size: 13px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 15px;
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  max-width: 960px;
  margin: 0 auto;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* ── RESPONSIVE (nav + footer) ── */
@media (max-width: 640px) {
  .nav-cta-text {
    display: none;
  }

  .nav-cta {
    padding: 8px 12px;
    font-size: 16px;
  }

  .footer-top {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

/* ── TYPOGRAPHY ── */

/* Hero h1: fluid 32-56px */
.hero h1 {
  font-size: clamp(32px, 5vw + 12px, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Section headings: fluid 22-32px */
.section-heading {
  font-size: clamp(22px, 3vw + 8px, 32px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Blog/article page titles (same scale as hero h1) */
.blog-header h1,
.article-title {
  font-size: clamp(32px, 5vw + 12px, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Card/step titles: fluid 16-20px */
.step h3,
.feature-title,
.post-card h2 {
  font-size: clamp(16px, 1.5vw + 8px, 20px);
  font-weight: 700;
  line-height: 1.3;
}

/* Hero subtitle: 15px base (matches body) */
.hero-sub {
  font-size: 15px;
}

/* Stat numbers: display size */
.stat-number {
  font-size: 48px;
  font-weight: 700;
}

/* Stat labels: base size */
.stat-label {
  font-size: 15px;
}

/* Tags/badges: small consolidated */
.post-tag,
.article-tag {
  font-size: 12px;
  font-weight: 700;
}

/* -- GEOMETRIC ACCENTS -- */

.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  border: 1px solid var(--border);
  top: -120px;
  right: -80px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid var(--border);
  bottom: -60px;
  left: -40px;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.how {
  position: relative;
  overflow: hidden;
}

.how::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 1px;
  background: var(--red);
  opacity: 0.15;
  top: 40px;
  left: 32px;
  transform: rotate(-12deg);
  pointer-events: none;
}

.features {
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 1px solid var(--border);
  bottom: -100px;
  right: -60px;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.signup2 {
  position: relative;
  overflow: hidden;
}

.section-divider {
  line-height: 0;
  margin-top: -1px;
}

.section-divider-svg {
  display: block;
  width: 100%;
  height: 48px;
}

@media (max-width: 640px) {
  .hero::before {
    width: 200px;
    height: 200px;
    top: -80px;
    right: -60px;
  }

  .hero::after {
    width: 120px;
    height: 120px;
    bottom: -40px;
    left: -30px;
  }

  .features::before {
    width: 150px;
    height: 150px;
    bottom: -60px;
    right: -40px;
  }

  .section-divider-svg {
    height: 32px;
  }
}
