:root {
  --bg-deep: #1a120d;
  --bg-mid: #24170f;
  --wood-1: #3a2616;
  --wood-2: #4b321e;
  --wood-3: #5f4027;
  --ink: #f5efe6;
  --text-dark: #1d1b17;
  --muted: #dbcdbd;
  --muted-dark: #665d54;
  --brand: #567a42;
  --brand-2: #7fa65e;
  --gold: #c69e56;
  --card: rgba(255, 249, 240, 0.9);
  --card-strong: rgba(255, 251, 245, 0.95);
  --line: rgba(255, 244, 228, 0.14);
  --line-dark: rgba(29, 27, 23, 0.1);
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(rgba(13, 10, 7, 0.58), rgba(13, 10, 7, 0.7)),
    repeating-linear-gradient(
      90deg,
      var(--wood-1) 0px,
      var(--wood-1) 72px,
      var(--wood-2) 72px,
      var(--wood-2) 144px,
      var(--wood-3) 144px,
      var(--wood-3) 216px
    ),
    linear-gradient(180deg, var(--bg-mid), var(--bg-deep));
  background-attachment: fixed;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(198, 158, 86, 0.18), transparent 24%),
    radial-gradient(circle at bottom right, rgba(86, 122, 66, 0.16), transparent 20%),
    linear-gradient(135deg, rgba(255,255,255,0.03), transparent 35%);
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

header {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand-shell {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fffaf0;
}

.brand-mark {
  width: 76px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2.5px solid rgba(255,255,255,0.96);
  display: inline-block;
  position: relative;
  background: radial-gradient(circle at 30% 30%, #9fd63d, var(--brand));
  box-shadow: 0 8px 16px rgba(0,0,0,0.18);
}

.brand-mark::after {
  background: radial-gradient(circle at 30% 30%, #bcf06e, #7fa65e);
}

.brand-mark span {
  display: none;
}

.brand h1,
.brand p {
  margin: 0;
}

.brand .title {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand .subtitle {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wordmark-hero {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.wordmark-o,
.brand-mark::before,
.brand-mark::after {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2.5px solid rgba(255,255,255,0.96);
  display: inline-block;
  position: relative;
  background: radial-gradient(circle at 30% 30%, #9fd63d, var(--brand));
  box-shadow: 0 8px 16px rgba(0,0,0,0.18);
}

.wordmark-o {
  margin: 0 1px;
}

.wordmark-o::after,
.brand-mark::before,
.brand-mark::after {
  overflow: visible;
}

.wordmark-o::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 2.5px;
  background: #8d5a31;
  right: -6px;
  bottom: -2px;
  transform: rotate(38deg);
  border-radius: 999px;
}

.brand-mark::before {
  margin-right: 2px;
}

.brand-mark::after {
  margin-left: 2px;
  background: radial-gradient(circle at 30% 30%, #bcf06e, #7fa65e);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 28px;
  align-items: center;
  padding: 24px 0 36px;
}

.eyebrow {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #f2dfbf;
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

h1, h2, h3, h4, p { margin: 0; }
.hero-title {
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  margin-bottom: 16px;
  color: #fffaf0;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 60ch;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  border-radius: 14px;
  padding: 13px 17px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--brand); color: white; }
.btn.secondary { background: rgba(255,255,255,0.08); color: #fffaf0; border: 1px solid rgba(255,255,255,0.08); }

.panel, .feature, .goal, .directory-card, .safety-card, .result-card, .herb-card, .vendor-card {
  background: linear-gradient(180deg, var(--card-strong), var(--card));
  color: var(--text-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel, .section-card {
  padding: 24px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

label {
  font-size: 13px;
  font-weight: 800;
  color: var(--muted-dark);
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.95);
  color: var(--text-dark);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
}

textarea { min-height: 100px; }

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.pill, .tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.pill {
  background: rgba(86,122,66,0.1);
  color: var(--brand);
}

.tag {
  background: rgba(198,158,86,0.14);
  color: #7d6029;
}

.main-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
  padding-bottom: 48px;
}

.span-12 { grid-column: span 12; }
.span-8 { grid-column: span 8; }
.span-7 { grid-column: span 7; }
.span-6 { grid-column: span 6; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }

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

.section-head p {
  color: var(--muted-dark);
  max-width: 60ch;
}

.feature-grid,
.goal-grid,
.directory-grid,
.results-grid,
.herb-grid,
.vendor-grid {
  display: grid;
  gap: 14px;
}

.feature-grid,
.goal-grid { grid-template-columns: repeat(3, 1fr); }
.directory-grid,
.vendor-grid,
.results-grid,
.herb-grid { grid-template-columns: repeat(2, 1fr); }

.feature, .goal, .directory-card, .safety-card, .result-card, .herb-card, .vendor-card {
  padding: 18px;
}

.feature p, .goal p, .directory-card p, .safety-card p, .result-card p, .herb-card p, .vendor-card p {
  color: var(--muted-dark);
  font-size: 14px;
}

.list {
  display: grid;
  gap: 12px;
}

.list-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(29,27,23,0.08);
  color: var(--text-dark);
}

.note {
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(86,122,66,0.08);
  border: 1px solid rgba(86,122,66,0.14);
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
}

footer {
  padding: 8px 0 42px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 980px) {
  header, .section-head { flex-direction: column; align-items: flex-start; }
  .hero,
  .feature-grid,
  .goal-grid,
  .directory-grid,
  .results-grid,
  .herb-grid,
  .vendor-grid { grid-template-columns: 1fr; }
  .span-8, .span-7, .span-6, .span-5, .span-4 { grid-column: span 12; }
}
