:root {
  --bg: #faf8f2;
  --ink: #25221f;
  --muted: #6e675d;
  --line: #e4dccd;
  --paper: #ffffff;
  --accent: #0f7a68;
  --accent-dark: #0a5d50;
  --clay: #d96f4f;
  --sun: #efb84f;
  --leaf: #83ad74;
  --shadow: 0 18px 44px rgba(37, 34, 31, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 54px);
  background: rgba(250, 248, 242, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand,
.top-nav,
.product-link,
.social-panel a {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

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

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: clamp(24px, 6vw, 76px);
  align-items: center;
  padding: clamp(42px, 8vw, 94px) clamp(18px, 4vw, 54px) 42px;
  min-height: 650px;
  background:
    linear-gradient(135deg, rgba(15, 122, 104, 0.94), rgba(37, 34, 31, 0.74)),
    url("assets/cat-pattern.svg") center / 760px repeat;
  color: white;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffe1a4;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  line-height: 1.6;
}

.search-bar {
  display: flex;
  width: min(100%, 650px);
  min-height: 58px;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 8px;
  background: white;
}

.search-bar input,
.generator-card input,
.generator-card select,
.filter-control select {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  font-size: 1rem;
}

.search-bar input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 0 18px;
}

button,
.product-link,
.social-panel a {
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.search-bar button {
  padding: 0 22px;
}

button:hover,
.product-link:hover,
.social-panel a:hover {
  background: var(--accent-dark);
}

.cat-visual {
  display: grid;
  place-items: center;
}

.cat-visual img {
  width: min(100%, 420px);
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.24));
}

.affiliate-note {
  padding: 14px clamp(18px, 4vw, 54px);
  background: #fff1d3;
  border-bottom: 1px solid #edd3a2;
  color: #5c3e0b;
  line-height: 1.5;
}

.section {
  padding: clamp(42px, 7vw, 78px) clamp(18px, 4vw, 54px);
}

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

.filter-control,
.generator-card label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.filter-control select,
.generator-card input,
.generator-card select {
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
}

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

.product-card,
.generator-card,
.social-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.product-icon {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: #f0eadf;
  font-size: 4rem;
  font-weight: 800;
}

.product-icon[data-tone="clay"] {
  color: var(--clay);
}

.product-icon[data-tone="sun"] {
  color: var(--sun);
}

.product-icon[data-tone="leaf"] {
  color: var(--leaf);
}

.product-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.83rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #e6f1ed;
  color: var(--accent-dark);
  font-weight: 800;
}

.product-desc,
.generator-section p,
.social-panel p {
  color: var(--muted);
  line-height: 1.55;
}

.product-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0 16px 16px;
}

.generator-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
  background: #f1ece2;
}

.generator-card {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.generator-card button {
  min-height: 46px;
}

.generated-link {
  display: block;
  min-height: 50px;
  padding: 12px;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--accent-dark);
  background: #f7fbf8;
  line-height: 1.45;
}

.social-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 28px;
}

.social-panel {
  padding: 20px;
}

.social-panel a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 1080px) {
  .hero,
  .generator-section,
  .social-section {
    grid-template-columns: 1fr;
  }

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

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

  .top-nav {
    width: 100%;
    justify-content: space-between;
  }

  .search-bar {
    display: grid;
  }

  .search-bar input,
  .search-bar button {
    min-height: 54px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}
