:root {
  --forest: #1c2430;
  --leaf: #1d4e89;
  --leaf-soft: #5d7eab;
  --gold: #1d4e89;
  --cream: #f3f5f8;
  --paper: #ffffff;
  --ink: #1c2430;
  --muted: #5c6778;
  --line: #d5dee8;
  --card: #ffffff;
  --danger: #8d3b3b;
  --shadow: 0 1px 0 rgba(28, 36, 48, 0.04);
  --wash: #e7eef6;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Heebo", "Assistant", "Segoe UI", Tahoma, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }
#chrome:empty + main { padding-top: 12px; }

.skip-link {
  position: absolute; inset-inline-start: 12px; top: -40px;
  background: var(--forest); color: #fff; padding: 8px 12px; z-index: 1000;
}
.skip-link:focus { top: 12px; }

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
.masthead {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 18px;
}
.mast-side { display: flex; align-items: center; gap: 16px; }
.mast-link { font-size: 14px; color: var(--muted); }
.mast-link:hover { color: var(--leaf); }
.brand {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.brand img {
  width: 36px; height: 36px; border-radius: 4px; object-fit: cover;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 20px; color: var(--ink); font-weight: 800; letter-spacing: -0.03em; }
.brand-text span { font-size: 12px; color: var(--muted); }

.nav {
  display: flex; align-items: center; gap: 0;
  border-top: 1px solid var(--line);
  min-height: 46px;
}
.nav > a, .nav .drop > button {
  background: none; border: 0; font: inherit; cursor: pointer;
  padding: 12px 14px; color: var(--ink); border-radius: 0;
  border-bottom: 2px solid transparent;
}
.nav > a:hover, .nav .drop > button:hover,
.nav > a.active { color: var(--leaf); background: transparent; border-bottom-color: var(--leaf); }
.drop { position: relative; }
.drop-menu {
  display: none; position: absolute; inset-inline-start: 0; top: calc(100% + 1px);
  background: #fff; min-width: 220px; padding: 6px;
  border: 1px solid var(--line); border-radius: 4px;
  box-shadow: 0 12px 28px rgba(28, 36, 48, 0.08);
}
.drop:hover .drop-menu, .drop:focus-within .drop-menu { display: grid; gap: 0; }
.drop-menu a { padding: 8px 10px; border-radius: 2px; color: var(--ink); font-size: 14px; }
.drop-menu a:hover { background: var(--wash); color: var(--leaf); }

.header-tools { display: flex; align-items: center; gap: 8px; }
.search-btn, .menu-btn, .a11y-btn {
  width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 4px;
  background: #fff; cursor: pointer; color: var(--ink);
}
.menu-btn { display: none; }

.search-panel, .a11y-panel {
  display: none; border-top: 1px solid var(--line); background: #fff; padding: 14px 0;
}
.search-panel.open, .a11y-panel.open { display: block; }
.search-panel form { display: flex; gap: 8px; }
.search-panel input {
  flex: 1; border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; font: inherit;
  background: #fff;
}
.search-panel button, .btn {
  background: var(--ink); color: #fff; border: 0; border-radius: 4px;
  padding: 12px 18px; font: inherit; cursor: pointer;
}
.btn-ghost { background: #fff; color: var(--forest); border: 1px solid var(--line); }
.btn-gold { background: var(--gold); color: #1c241f; }
.order-cta {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 16px 0 20px;
}
.order-cta-side { flex-direction: column; margin: 0 0 16px; }
.order-cta-side .order-btn { width: 100%; }
.order-btn {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none; font-weight: 700;
  border-radius: 12px; padding: 12px 16px; line-height: 1.35;
  box-shadow: 0 4px 14px rgba(22, 56, 44, 0.16);
}
.order-btn:hover { color: #fff; filter: brightness(1.08); }
.order-ico { width: 22px; height: 22px; flex-shrink: 0; }
.order-wa { background: #1aa34a; }
.order-tg { background: #1a8ec4; }
.footer .order-cta { margin: 18px auto 8px; }
.footer .order-btn { color: #fff; }
.footer .order-btn:hover { color: #fff; }
.order-float {
  position: fixed; left: 14px; bottom: 16px; z-index: 90;
  display: flex; flex-direction: column; gap: 8px;
  max-width: min(280px, calc(100vw - 28px));
}
.order-float .order-btn {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}
@media (max-width: 700px) {
  .order-float { left: 8px; bottom: 10px; max-width: min(240px, calc(100vw - 16px)); }
  .order-float .order-btn { font-size: 13px; padding: 10px 12px; }
  .order-btn span { text-align: right; }
}
.a11y-panel .tools { display: flex; flex-wrap: wrap; gap: 8px; }
.a11y-panel button {
  border: 1px solid var(--line); background: var(--cream); border-radius: 999px;
  padding: 8px 12px; cursor: pointer; font: inherit;
}

body.a11y-lg { font-size: 19px; }
body.a11y-sm { font-size: 15px; }
body.a11y-contrast { background: #000; color: #fff; }
body.a11y-contrast .site-header, body.a11y-contrast .card, body.a11y-contrast .footer,
body.a11y-contrast .drop-menu, body.a11y-contrast .article-body { background: #111; color: #fff; }
body.a11y-contrast .order-btn { outline: 1px solid #fff; }
body.a11y-readable { letter-spacing: 0.02em; word-spacing: 0.08em; }

.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 8px; padding: 36px 0 8px;
}
.feature-card {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px;
  align-items: center; min-height: 0; background: transparent;
}
.feature-card img { width: 100%; height: 320px; object-fit: cover; border-radius: 2px; }
.feature-card .overlay {
  position: static; background: none; color: var(--ink);
  display: flex; flex-direction: column; justify-content: center; padding: 0;
}
.kicker {
  display: inline-flex; width: fit-content; background: transparent; color: var(--leaf);
  border-radius: 0; padding: 0; font-size: 12px; font-weight: 700; margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.feature-card h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.15; margin-bottom: 12px; color: var(--ink); font-weight: 800; }
.feature-card .overlay p { color: var(--muted); max-width: 38em; }
.side-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.side-item {
  display: block; background: transparent; border: 0; border-inline-start: 1px solid var(--line);
  border-radius: 0; padding: 18px 16px;
}
.side-item:first-child { border-inline-start: 0; }
.side-item img { display: none; }
.side-item .meta { padding: 0; }
.side-item h3 { font-size: 17px; line-height: 1.35; margin: 4px 0 6px; font-weight: 700; }
.muted { color: var(--muted); font-size: 14px; }
.readmore { color: var(--leaf); font-weight: 700; font-size: 14px; }

.section { padding: 28px 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 16px;
  margin-bottom: 8px; border-bottom: 1px solid var(--line); padding-bottom: 8px;
}
.section-head h2 { font-size: 22px; color: var(--ink); font-weight: 800; }
.cats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.cat {
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0; padding: 14px 8px 14px 0; text-align: right; min-height: 0;
}
.cat strong { display: block; color: var(--ink); font-weight: 700; }
.cat span { font-size: 13px; color: var(--muted); }
.cat:hover strong { color: var(--leaf); }

.cards {
  display: grid; grid-template-columns: 1fr; gap: 0;
}
.card {
  background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; overflow: hidden;
}
.card > a, .card > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: center; }
.card img { width: 180px; height: 112px; object-fit: cover; border-radius: 2px; }
.card .pad { padding: 14px 0; }
.card h3 { font-size: 18px; line-height: 1.35; margin: 4px 0 6px; color: var(--ink); font-weight: 700; }

.page-hero {
  padding: 32px 0 6px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.page-hero h1 { font-size: clamp(30px, 5vw, 44px); color: var(--ink); line-height: 1.15; font-weight: 800; }
.crumbs { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.crumbs a:hover { color: var(--leaf); }

.layout {
  display: grid; grid-template-columns: 1fr; gap: 8px; padding-bottom: 48px;
}
.article-body, .panel {
  background: transparent; border: 0; border-radius: 0; padding: 8px 0 20px;
}
.article-body p, .article-body li { margin-bottom: 14px; line-height: 1.8; font-size: 17.5px; max-width: 68ch; }
.article-body h2, .article-body h3 { color: var(--ink); margin: 28px 0 10px; font-weight: 800; }
.article-body ul, .article-body ol { padding-inline-start: 22px; }
.lead { font-size: 19px; color: #3d4b5c; max-width: 42em; }
.cover {
  border-radius: 2px; overflow: hidden; margin: 12px 0 22px; max-width: 760px;
}
.cover img { width: 100%; height: min(360px, 48vw); object-fit: cover; }
.sidebar { display: flex; flex-wrap: wrap; gap: 8px; align-content: start; padding-top: 8px; }
.sidebar h3 { color: var(--muted); margin: 0; font-size: 13px; font-weight: 700; width: 100%; }
.sidebar a:not(.order-btn) {
  display: inline-block; padding: 6px 10px; border: 1px solid var(--line);
  border-radius: 999px; font-size: 13px; background: #fff; color: var(--ink);
}
.sidebar a:not(.order-btn):hover { border-color: var(--leaf); color: var(--leaf); }
.sidebar .order-btn { color: #fff; }
.sidebar .order-wa { background: #1aa34a; }
.sidebar .order-tg { background: #1a8ec4; }

.place-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 8px;
  margin: 16px 0 28px;
}
a.place-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  color: inherit;
  line-height: 1.35;
}
a.place-item:hover { border-color: var(--leaf); }
a.place-item small { display: block; color: #5b6b63; font-size: 12px; margin-top: 4px; }
.place-search { display: block; margin: 16px 0 8px; font-weight: 600; color: var(--forest); }
.place-search input {
  display: block; width: 100%; max-width: 420px; margin-top: 6px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 20px; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 7px 12px; cursor: pointer; font: inherit;
}
.chip.active, .chip:hover { background: var(--forest); color: #fff; border-color: var(--forest); }

.strain-grid, .product-grid, .doc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.strain-card, .product-card, .doc-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px;
}
a.strain-card, a.product-card { color: inherit; transition: border-color 0.15s, transform 0.15s; }
a.strain-card:hover, a.product-card:hover { border-color: var(--leaf); transform: translateY(-2px); }
a.strain-card img { width: 100%; height: 148px; object-fit: cover; border-radius: 10px; margin-bottom: 10px; }
.product-card img, .doc-card img {
  width: 100%; height: 168px; object-fit: cover; border-radius: 12px; margin-bottom: 10px;
}
.strain-card h3, .product-card h3 { color: var(--forest); margin-bottom: 6px; }
.badge {
  display: inline-block; background: var(--wash); color: var(--leaf);
  border-radius: 999px; padding: 3px 8px; font-size: 12px; font-weight: 700; margin-left: 6px;
}
.note {
  background: var(--wash); border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; margin: 14px 0;
}
.warn {
  background: #f8ece8; border: 1px solid #e3c4bb; color: var(--danger);
  border-radius: 12px; padding: 12px 14px; margin: 14px 0;
}

.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 700; color: var(--forest); }

.form { display: grid; gap: 10px; }
.form input, .form textarea, .form select {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; font: inherit;
}
.form textarea { min-height: 140px; resize: vertical; }

.footer {
  background: var(--ink); color: #d5deea; padding: 48px 0 18px; margin-top: 28px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 28px;
}
.footer a { color: #d5deea; }
.footer a:hover { color: #fff; }
.footer h3 { color: #fff; margin-bottom: 10px; font-size: 14px; font-weight: 700; letter-spacing: 0.02em; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 7px; }
.legal { font-size: 13px; color: #aeb8c6; margin-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 16px; }
.legal li { margin-bottom: 8px; }
.copy { text-align: center; margin-top: 16px; font-size: 13px; color: #aeb8c6; }
.related-hubs { margin-top: 18px; font-size: 14px; line-height: 1.7; }
.related-hubs a { text-decoration: underline; }
.noscript-nav {
  display: flex; flex-wrap: wrap; gap: 10px 16px;
  padding: 10px 4%; background: var(--forest);
}
.noscript-nav a { color: #efe7d4; }
.site-index-list {
  columns: 3; column-gap: 24px; list-style: none; padding: 0; margin: 12px 0 28px;
}
.site-index-list li { break-inside: avoid; margin-bottom: 6px; padding: 0; }
.page-pager {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin: 24px 0 8px; padding: 14px 0 0; border-top: 1px solid var(--line);
}
.page-pager a { font-weight: 600; color: var(--forest); }

.mobile-nav {
  display: none; background: #fff; border-top: 1px solid var(--line); padding: 10px 0 16px;
}
.mobile-nav.open { display: grid; gap: 6px; }
.mobile-nav a { padding: 8px 4px; border-bottom: 1px solid var(--line); }

@media (max-width: 980px) {
  .cats, .strain-grid, .product-grid, .doc-grid, .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-index-list { columns: 2; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .feature-card { grid-template-columns: 1fr; gap: 16px; }
  .feature-card img { height: 220px; }
  .side-list { grid-template-columns: 1fr; }
  .side-item { border-inline-start: 0; border-top: 1px solid var(--line); }
  .side-item:first-child { border-top: 0; }
}

@media (max-width: 700px) {
  .cats, .strain-grid, .product-grid, .doc-grid, .footer-grid, .card > a, .card > div {
    grid-template-columns: 1fr;
  }
  .card img { width: 100%; height: 180px; }
  .masthead { min-height: 60px; }
  .mast-link { display: none; }
  .site-index-list { columns: 1; }
}
