:root {
  --green: #2f7a12;
  --green-bright: #3d9a18;
  --green-soft: #6fb51d;
  --ink: #111111;
  --muted: #5b6168;
  --line: #e6e8ea;
  --paper: #ffffff;
  --wash: #f4f6f3;
  --hero-ink: #0e1113;
  --radius: 10px;
  --max: 1180px;
  --etsy: https://www.etsy.com/shop/YSRbanners;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.topbar {
  background: #141618;
  color: #d7d9db;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar a:hover { color: #fff; }
.dot { opacity: .35; }

header.nav {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}
header.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}
.brand { display: flex; align-items: center; min-width: 280px; }
.brand img { height: 58px; width: auto; }
.nav-links { display: flex; gap: 22px; font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.nav-links a { color: #222; }
.nav-links a:hover { color: var(--green); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  padding: 12px 18px;
  font-weight: 700;
  letter-spacing: .04em;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-bright); }
.btn-ghost { background: #fff; color: var(--ink); border-color: #cfd3d6; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { padding: 14px 22px; font-size: 14px; }

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
  color: var(--hero-ink);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.78) 38%, rgba(255,255,255,.18) 62%, rgba(0,0,0,.15) 100%),
    url("assets/hero-ref.png") center top / cover no-repeat,
    #e9ece8;
}
.hero .wrap { width: min(var(--max), calc(100% - 40px)); padding: 72px 0 88px; }
.kicker { font-size: 12px; letter-spacing: .28em; font-weight: 700; color: #3a3f44; margin-bottom: 18px; }
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: .95;
  letter-spacing: -.03em;
  max-width: 12ch;
}
.hero h1 span { color: var(--green); }
.rule { width: 72px; height: 4px; background: var(--green); margin: 0 0 18px; }
.lede { font-size: 20px; color: #333; max-width: 36ch; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.cats {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  padding: 10px;
  background: #fff;
}
.cats a {
  min-height: 118px;
  border-radius: 8px;
  background: var(--wash);
  display: flex;
  align-items: flex-end;
  padding: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.45);
}
.cats a:nth-child(1) { background: linear-gradient(#9aa0a4, #4d5256); }
.cats a:nth-child(2) { background: linear-gradient(135deg,#ff4d4d,#ffd84d,#4dff88,#4db8ff,#b44dff); }
.cats a:nth-child(3) { background: linear-gradient(#cfd3d6, #7b8084); }
.cats a:nth-child(4) { background: linear-gradient(#2a2e32, #111); }
.cats a:nth-child(5) { background: linear-gradient(#b8bec2, #6a7074); }
.cats a:nth-child(6) { background: linear-gradient(#1d3b16, #0e1c0b); }
.cats a:nth-child(7) { background: linear-gradient(#1a6ea8, #0b3b5c); }

.section { padding: 72px 0; }
.section.alt { background: var(--wash); }
.section h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -.02em;
}
.section p.intro { color: var(--muted); max-width: 62ch; margin: 0 0 32px; }

.grid-3, .grid-4 {
  display: grid;
  gap: 18px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); line-height: 1.5; }
.num { color: var(--green); font-weight: 800; font-size: 13px; letter-spacing: .12em; margin-bottom: 8px; }

.banner-callout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: center;
  background: #141618;
  color: #fff;
  border-radius: 16px;
  padding: 36px;
}
.banner-callout h2 { color: #fff; }
.banner-callout p { color: #c9cdcf; }
.note { font-size: 13px; color: #9aa0a4; margin-top: 10px; }

.product-pick {
  display: grid;
  grid-template-columns: 1fr 2fr auto auto;
  gap: 12px;
  align-items: end;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}
.product-pick label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.product-pick select, .lead-form input, .lead-form select, .lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.lead-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.lead-form { display: grid; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.lead-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.form-note, .form-ok { font-size: 13px; color: var(--muted); margin: 0; }
.form-ok { color: var(--green); font-weight: 700; }

@media (max-width: 900px) {
  .product-pick, .lead-grid { grid-template-columns: 1fr; }
}

footer {
  background: #141618;
  color: #c9cdcf;
  padding: 36px 0 28px;
  font-size: 14px;
}
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer a { color: #fff; }
footer small { color: #8b9094; }

@media (max-width: 900px) {
  .topbar-left { display: none; }
  .nav-links { display: none; }
  header.nav .wrap { min-height: 72px; }
  .brand img { height: 46px; }
  .hero { min-height: 520px; background-position: center top; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4, .banner-callout { grid-template-columns: 1fr; }
}
