:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #5d6470;
  --line: #d9dde4;
  --paper: #f7f8fb;
  --white: #ffffff;
  --blue: #1d4ed8;
  --green: #087f5b;
  --red: #c2410c;
  --yellow: #f5c542;
  --shadow: 0 18px 50px rgba(23, 34, 55, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.top-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.top-nav a,
.footer-links a {
  text-decoration: none;
}

.top-nav a:hover,
.footer-links a:hover {
  color: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  padding: clamp(44px, 7vw, 92px) clamp(18px, 4vw, 56px) 48px;
  min-height: 82vh;
  background:
    linear-gradient(135deg, rgba(29, 78, 216, 0.10), rgba(245, 197, 66, 0.13) 46%, rgba(8, 127, 91, 0.10)),
    var(--paper);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.98;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.05;
}

h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.hero-text {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 8px;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
}

.affiliate-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  min-height: 520px;
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.38)),
    url("/assets/shopping-board.svg") center / cover no-repeat;
  box-shadow: var(--shadow);
  padding: clamp(20px, 3vw, 34px);
  display: grid;
  align-content: end;
  gap: 18px;
}

.deal-card,
.category-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.deal-card {
  max-width: 360px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.deal-card strong {
  display: block;
  margin-top: 10px;
  font-size: 26px;
}

.deal-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 8px;
  background: #fff2ba;
  color: #6f4d00;
  font-size: 13px;
  font-weight: 800;
}

.deal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.mini-card {
  min-height: 86px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 900;
  border: 1px solid rgba(21, 21, 21, 0.12);
}

.yellow { background: #ffe083; }
.blue { background: #bcd7ff; }
.green { background: #b9ecd7; }
.coral { background: #ffc6a8; }

.section {
  padding: clamp(56px, 7vw, 92px) clamp(18px, 4vw, 56px);
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin-bottom: 28px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  padding: 22px;
}

.category-card p {
  color: var(--muted);
  margin: 0;
}

.icon {
  display: inline-flex;
  margin-bottom: 32px;
  color: var(--blue);
  font-weight: 900;
}

.split-band,
.social-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: start;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.standards-list {
  display: grid;
  gap: 14px;
  color: var(--muted);
  font-size: 18px;
}

.standards-list p,
.social-band p {
  margin: 0;
}

.social-band {
  background: #151515;
  color: var(--white);
}

.social-band .eyebrow {
  color: var(--yellow);
}

.social-band p {
  color: #d8dde6;
  font-size: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 32px clamp(18px, 4vw, 56px);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 10px 0 0;
  color: var(--muted);
}

.footer-brand {
  font-size: 18px;
}

.compact {
  align-items: center;
}

.legal-page {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 88px) 0;
}

.legal-page h1 {
  font-size: clamp(38px, 6vw, 62px);
  margin-bottom: 24px;
}

.legal-page h2 {
  font-size: 24px;
  margin: 34px 0 8px;
}

.legal-page p {
  color: var(--muted);
  font-size: 18px;
}

.legal-page strong {
  color: var(--ink);
}

@media (max-width: 920px) {
  .hero,
  .split-band,
  .social-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 430px;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .top-nav,
  .footer-links {
    gap: 12px;
  }

  h1 {
    font-size: 42px;
  }

  .category-grid,
  .deal-grid {
    grid-template-columns: 1fr;
  }

  .mini-card {
    min-height: 60px;
  }
}
