:root {
  color-scheme: light;
  --ink: #202126;
  --muted: #656b73;
  --paper: #f7f5f0;
  --surface: #ffffff;
  --line: #ded9d0;
  --rose: #b44960;
  --green: #397167;
  --blue: #365f86;
  --gold: #a97736;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.site-header {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: #4b515b;
  font-size: 0.94rem;
  font-weight: 750;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--rose);
}

.notice {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.72);
  color: #545963;
  font-size: 0.9rem;
}

.hero,
.page-hero,
.results-section,
.browse-section,
.offers-page,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 44px 0 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 48px;
  align-items: center;
}

.page-hero {
  padding: 34px 0 22px;
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(260px, 1fr);
  gap: 40px;
  align-items: end;
}

.hero-copy,
.page-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  max-width: 12ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 7vw, 6.4rem);
  line-height: 0.96;
  font-weight: 500;
  letter-spacing: 0;
}

.page-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.72;
}

.finder,
.offer-card,
.category-card,
.offer-row,
.simple-message {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(32, 33, 38, 0.07);
}

.finder {
  padding: 26px;
}

.finder h2 {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.question {
  margin-bottom: 18px;
}

.question p {
  margin-bottom: 8px;
  color: #3f454d;
  font-weight: 800;
}

.choice-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.choice,
.primary-action,
.button-link {
  min-height: 44px;
  border-radius: 6px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.choice {
  border: 1px solid var(--line);
  background: #fbfbf9;
  color: #3e444c;
}

.choice.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.primary-action,
.button-link {
  width: 100%;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--rose);
  color: #fff;
  text-decoration: none;
}

.primary-action:hover,
.button-link:hover {
  background: #96384c;
}

.section-heading {
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
}

.section-heading h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  font-weight: 500;
}

.section-heading a,
.text-link {
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
}

.section-heading a:hover,
.text-link:hover {
  text-decoration: underline;
}

.results-section,
.browse-section,
.offers-page {
  padding: 34px 0;
}

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

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

.offer-card {
  overflow: hidden;
}

.offer-image {
  min-height: 142px;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(255, 255, 255, 0.45) 18% 34%, transparent 34% 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.42) 0 18%, transparent 18% 100%),
    #c96a7a;
}

.offer-image.home {
  background:
    linear-gradient(90deg, transparent 0 24%, rgba(255, 255, 255, 0.42) 24% 42%, transparent 42% 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.38) 0 20%, transparent 20% 100%),
    #397167;
}

.offer-image.wellness {
  background:
    linear-gradient(90deg, transparent 0 58%, rgba(255, 255, 255, 0.44) 58% 74%, transparent 74% 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.36) 0 18%, transparent 18% 100%),
    #365f86;
}

.offer-image.gifts {
  background:
    linear-gradient(90deg, transparent 0 40%, rgba(255, 255, 255, 0.45) 40% 58%, transparent 58% 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.38) 0 22%, transparent 22% 100%),
    #a97736;
}

.offer-body {
  padding: 20px;
}

.pill {
  display: inline-flex;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
  color: #59606a;
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.offer-body h3,
.offer-row h2 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  letter-spacing: 0;
}

.offer-body p,
.offer-row p,
.simple-message p {
  color: var(--muted);
  line-height: 1.62;
}

.best-for {
  margin-bottom: 14px;
  color: #3f454d;
  font-weight: 750;
}

.category-card {
  min-height: 180px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: #fff;
  background: #b44960;
}

.category-card span {
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.category-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 500;
}

.beauty-card {
  background: #b44960;
}

.home-card {
  background: #397167;
}

.wellness-card {
  background: #365f86;
}

.gift-card {
  background: #a97736;
}

.page-art {
  min-height: 220px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 0 20%, rgba(255, 255, 255, 0.42) 20% 36%, transparent 36% 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.32) 0 18%, transparent 18% 100%),
    #b44960;
}

.page-art.home {
  background:
    linear-gradient(90deg, transparent 0 52%, rgba(255, 255, 255, 0.42) 52% 70%, transparent 70% 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.32) 0 20%, transparent 20% 100%),
    #397167;
}

.page-art.wellness {
  background:
    linear-gradient(90deg, transparent 0 32%, rgba(255, 255, 255, 0.42) 32% 50%, transparent 50% 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.32) 0 18%, transparent 18% 100%),
    #365f86;
}

.page-art.gifts {
  background:
    linear-gradient(90deg, transparent 0 42%, rgba(255, 255, 255, 0.42) 42% 58%, transparent 58% 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.32) 0 22%, transparent 22% 100%),
    #a97736;
}

.offer-list {
  display: grid;
  gap: 16px;
}

.offer-row {
  padding: 20px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.offer-row .offer-image {
  min-height: 126px;
  border-radius: 8px;
}

.shop-link {
  min-width: 128px;
  min-height: 44px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}

.shop-link:hover {
  background: #343840;
}

.simple-message {
  width: min(620px, calc(100% - 32px));
  margin: 12vh auto;
  padding: 30px;
}

.simple-message h1 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
}

.site-footer {
  padding: 34px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 880px) {
  .hero,
  .page-hero,
  .offer-row {
    grid-template-columns: 1fr;
  }

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

  .offer-row {
    align-items: stretch;
  }

  .shop-link {
    width: 100%;
  }
}

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

  nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 28px;
    gap: 26px;
  }

  h1 {
    font-size: 3rem;
  }

  .choice-row,
  .offer-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }
}
