:root {
  --color-bg: #faf9f7;
  --color-surface: #ffffff;
  --color-text: #1f2328;
  --color-muted: #5b6470;
  --color-border: #e6e2db;
  --color-accent: #b5542c;
  --color-accent-dark: #8f3f20;
  --color-tag-bg: #f1ece3;
  --radius: 10px;
  --max-width: 1080px;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.55;
}

a { color: var(--color-accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

header.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

header.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
}
.logo span { color: var(--color-accent); }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
nav.main-nav a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
}
nav.main-nav a.nav-cta {
  background: var(--color-accent);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
}
nav.main-nav a.nav-cta:hover {
  background: var(--color-accent-dark);
  text-decoration: none;
}

main { padding: 40px 0 60px; }

.hero {
  text-align: center;
  padding: 50px 20px 40px;
}
.hero h1 {
  font-size: 2.1rem;
  margin-bottom: 12px;
}
.hero p {
  color: var(--color-muted);
  max-width: 620px;
  margin: 0 auto 24px;
  font-size: 1.05rem;
}

.btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--color-accent-dark); text-decoration: none; }
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--color-accent-dark);
  padding: 11px 21px;
  border-radius: var(--radius);
  font-weight: 600;
  border: 1px solid var(--color-accent);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 30px 0;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
}
.card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--color-muted); font-size: 0.92rem; }

.tag {
  display: inline-block;
  background: var(--color-tag-bg);
  color: var(--color-text);
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 999px;
  margin-right: 6px;
  margin-bottom: 6px;
}

.supplier-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.supplier-list li {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.supplier-list .meta { color: var(--color-muted); font-size: 0.88rem; }

.badge-unclaimed {
  font-size: 0.72rem;
  color: var(--color-muted);
  border: 1px dashed var(--color-border);
  padding: 2px 8px;
  border-radius: 999px;
}

.tag-featured {
  background: #fdeee3;
  color: var(--color-accent-dark);
  font-weight: 600;
}
.tag-premium {
  background: #2a2320;
  color: #f3d9b1;
  font-weight: 600;
}

.section-title {
  font-size: 1.4rem;
  margin: 40px 0 16px;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 18px;
}

table.pricing {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
table.pricing th, table.pricing td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}
table.pricing th { background: var(--color-tag-bg); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin: 30px 0 40px;
}
.price-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card.highlight {
  border: 2px solid var(--color-accent);
  box-shadow: 0 8px 24px rgba(181, 84, 44, 0.12);
}
.price-card .ribbon {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.price-card h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}
.price-card .price {
  font-size: 2rem;
  font-weight: 700;
  margin: 6px 0 2px;
}
.price-card .price small {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-muted);
}
.price-card .tagline {
  color: var(--color-muted);
  font-size: 0.88rem;
  margin-bottom: 18px;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  flex-grow: 1;
}
.price-card li {
  padding: 7px 0 7px 26px;
  position: relative;
  font-size: 0.92rem;
}
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}
.price-card .btn, .price-card .btn-outline { text-align: center; }

.sponsor-card {
  background: linear-gradient(155deg, #211b18 0%, #2f2620 100%);
  color: #f3ede4;
  border-radius: 14px;
  padding: 30px 28px;
  position: relative;
  max-width: 680px;
  margin: 0 0 36px;
  border: 1px solid #4a3c2f;
}
.sponsor-card .ribbon {
  position: absolute;
  top: -12px;
  left: 24px;
  background: #f3d9b1;
  color: #2a2320;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.sponsor-card h3 { color: #fff; margin-top: 4px; }
.sponsor-card .price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #f3d9b1;
  margin: 4px 0 14px;
}
.sponsor-card p { color: #d8cec0; }
.sponsor-card ul { margin: 0 0 18px; padding-left: 20px; }
.sponsor-card li { color: #e8ded1; padding: 4px 0; }
.sponsor-card .btn-outline {
  border-color: #f3d9b1;
  color: #f3d9b1;
  background: transparent;
}
.sponsor-card .btn-outline:hover { background: rgba(243, 217, 177, 0.1); }
.faq details {
  border-bottom: 1px solid var(--color-border);
  padding: 14px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
}
.faq p { margin: 10px 0 0; color: var(--color-muted); }

.sponsor-slot {
  background: var(--color-tag-bg);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin: 24px 0;
}
.sponsor-slot.active {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  text-align: left;
}

form.site-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 520px;
}
form.site-form label {
  display: block;
  font-weight: 600;
  margin: 14px 0 6px;
  font-size: 0.9rem;
}
form.site-form input,
form.site-form textarea,
form.site-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
}
form.site-form .honeypot { display: none; }

footer.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 30px 0;
  color: var(--color-muted);
  font-size: 0.85rem;
}
footer.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
footer.site-footer a { color: var(--color-muted); }

/* Cookie consent banner */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #1f2328;
  color: #fff;
  padding: 16px 20px;
  display: none;
  z-index: 999;
}
#cookie-banner.show { display: block; }
#cookie-banner .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  max-width: var(--max-width);
  margin: 0 auto;
}
#cookie-banner p { margin: 0; font-size: 0.88rem; max-width: 560px; }
#cookie-banner .actions { display: flex; gap: 10px; }
#cookie-banner button {
  border: none;
  border-radius: 8px;
  padding: 9px 16px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
}
#cookie-accept { background: var(--color-accent); color: #fff; }
#cookie-reject { background: transparent; color: #fff; border: 1px solid #666; }

.prose h1, .prose h2 { margin-top: 1.6em; }
.prose { max-width: 720px; }
