:root {
  --bg: #f4f1e8;
  --paper: #fbfaf4;
  --surface: #fffdf7;
  --surface-2: #e7eddd;
  --surface-3: #f1f5ea;
  --text: #172018;
  --muted: #5f6b57;
  --line: #d6ddca;
  --green: #2f744b;
  --green-dark: #173f2b;
  --moss: #6f8f4f;
  --gold: #b78635;
  --blue: #2f6f9e;
  --water: #d9ecf2;
  --clay: #c27a3e;
  --danger: #b94d3f;
  --shadow: 0 22px 60px rgba(36, 47, 31, .13);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
body { margin: 0; color: var(--text); background: radial-gradient(circle at 12% 8%, rgba(111,143,79,.13), transparent 30%), radial-gradient(circle at 88% 18%, rgba(47,111,158,.08), transparent 28%), linear-gradient(90deg, rgba(23,63,43,.045) 1px, transparent 1px), linear-gradient(180deg, rgba(23,32,24,.04) 1px, transparent 1px), var(--bg); background-size: 100% 760px, 100% 760px, 48px 48px, 48px 48px, auto; line-height: 1.55; }
::selection { color: white; background: var(--green-dark); }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1360px, calc(100% - 64px)); margin: 0 auto; }
.hero-layout > *, .home-composition > *, .home-below > *, .home-deck > *, .planner-shell > *, .content-deck > *, .page-grid > *, .intent-grid > *, .card-grid > *, .compact-cards > *, .metric-grid > *, .score-grid > *, .day-grid > * { min-width: 0; }
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255,253,247,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-weight: 850; }
.brand:hover { color: var(--text); text-decoration: none; }
.brand small { display: block; color: var(--muted); font-size: 11px; font-weight: 750; }
.brand-mark { width: 48px; height: 48px; display: inline-grid; place-items: center; flex: 0 0 48px; border-radius: 14px; overflow: hidden; background: #2f744b; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nav-links { display: flex; gap: 18px; align-items: center; font-size: 15px; font-weight: 700; }
.nav-links a { color: var(--muted); }
.search-link { color: var(--muted) !important; }
.language-select { flex: 0 0 auto; display: inline-flex; gap: 0; font-size: 0; }
.language-select span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.language-select select { width: auto; min-height: 36px; max-width: 168px; padding: 7px 30px 7px 10px; border-color: var(--line); background-color: var(--surface); color: var(--muted); font-size: 14px; font-weight: 800; }
.hero { padding: 34px 0 8px; }
.hero-layout, .home-composition { display: grid; grid-template-columns: minmax(0, 1.34fr) minmax(390px, .66fr); gap: 28px; align-items: start; }
.coverage-engine, .article, .panel, .planner-module, .longtail-panel, .intent-copy, .intent-panel, .habitat-figure, .field-rules, .season-panel, .safety-deck, .expert-strip, .food-finder, .quick-answer-box, .language-entry-panel { background: rgba(255,253,247,.96); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.home-composition { padding: 30px 0 34px; }
.home-below { display: grid; gap: 18px; padding: 0 0 34px; }
.hero-main { min-height: 344px; padding: 40px 46px 0; display: flex; flex-direction: column; justify-content: center; }
.coverage-engine { padding: 24px; }
h1 { margin: 0 0 18px; font-size: clamp(42px, 6vw, 76px); line-height: .94; letter-spacing: 0; overflow-wrap: anywhere; }
h2 { margin: 34px 0 12px; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.05; letter-spacing: 0; }
h3 { margin: 0 0 10px; font-size: 18px; }
.lede { max-width: 820px; margin: 0 0 22px; color: var(--muted); font-size: 20px; line-height: 1.45; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 12px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); font-weight: 800; }
.button.primary, .button:hover { background: var(--green); color: white; text-decoration: none; border-color: var(--green); }
.metric-grid, .day-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.score-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 18px; border: 1px solid #c5d3b8; border-radius: var(--radius); overflow: hidden; background: #eef3e6; }
.metric-grid div, .score-grid div, .day-grid div { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.score-grid div { border: 0; border-right: 1px solid #c5d3b8; border-radius: 0; }
.score-grid div:last-child { border-right: 0; }
.score-grid div:nth-child(2) { background: var(--water); }
.score-grid div:nth-child(3) { background: #e2ead5; }
.score-grid div:nth-child(4) { background: #eef0e5; }
.score-grid div:nth-child(5) { background: #f3eadc; }
.metric-grid b, .score-grid b { display: block; font-size: 28px; line-height: 1; }
.metric-grid span, .score-grid span, .day-grid span { color: var(--muted); font-size: 13px; }
.pillar-row { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 34px; border-top: 1px solid var(--line); }
.pillar-row a { min-height: 96px; padding: 18px 14px 0; border-right: 1px solid var(--line); color: var(--text); }
.pillar-row a:hover { background: rgba(47,116,75,.06); text-decoration: none; }
.pillar-row a:last-child { border-right: 0; }
.pillar-row b { display: block; margin-bottom: 4px; font-size: 16px; }
.pillar-row span { color: var(--muted); font-size: 13px; line-height: 1.25; }
.keyword-map { margin-top: 14px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.keyword-map h3 { padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.keyword-map div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.keyword-map div:last-child { border-bottom: 0; }
.keyword-map strong { font-size: 14px; }
.keyword-map span { color: var(--muted); font-size: 13px; }
.home-deck { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 28px; align-items: start; padding: 18px 0 34px; }
.home-left { display: grid; gap: 18px; }
.home-rail { display: grid; gap: 16px; align-self: start; }
.module-head, .section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.module-head h2, .section-head h2, .coverage-engine h2 { margin-top: 0; }
.module-head p, .section-head p, .coverage-engine p { margin: 0; color: var(--muted); }
.source-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 10px; border-radius: 99px; color: var(--green-dark); background: #dde9d2; font-size: 12px; font-weight: 850; }
.planner-module, .longtail-panel, .field-rules, .season-panel, .safety-deck, .expert-strip, .food-finder, .quick-answer-box, .language-entry-panel { padding: 22px; }
.home-below .longtail-panel, .home-below .season-panel, .home-below .safety-deck { padding: 26px; }
.language-pills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.language-pills a { display: grid; gap: 4px; min-height: 86px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--text); }
.language-pills a:hover { text-decoration: none; border-color: #b8c9aa; background: #f2f6ec; }
.language-pills span { color: var(--green-dark); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.language-pills strong { font-size: 16px; line-height: 1.2; }
.habitat-figure { margin: 0; overflow: hidden; }
.habitat-picture, .habitat-figure img, .visual-panel img { display: block; width: 100%; max-width: 100%; height: auto; }
.habitat-picture img { aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper); }
.habitat-figure figcaption { padding: 14px 18px; color: var(--muted); font-size: 14px; font-weight: 750; border-top: 1px solid var(--line); background: var(--paper); }
.visual-panel { padding: 0; overflow: hidden; }
.field-rules { display: grid; grid-template-columns: .65fr 1fr; gap: 24px; align-items: start; }
.field-rules h2, .season-panel h2, .safety-deck h2 { margin-top: 0; }
.field-rules p { margin: 0; color: var(--muted); }
.field-rules ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.field-rules li { display: grid; grid-template-columns: 170px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.field-rules li:last-child { border-bottom: 0; }
.field-rules b { color: var(--green-dark); }
.field-rules span { color: var(--muted); }
.planner-shell { display: grid; grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr); gap: 22px; margin-top: 16px; align-items: start; }
.planner-inputs { display: grid; gap: 14px; align-content: start; }
.planner-checklist, .planner-observation { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.planner-checklist h3, .planner-observation h3 { margin: 0 0 8px; }
.planner-checklist ul { margin: 0; padding-left: 18px; color: var(--muted); font-weight: 700; }
.planner-checklist li { margin: 6px 0; }
.planner-observation { display: grid; gap: 10px; background: linear-gradient(180deg, var(--paper), #f1f5ea); }
.planner-observation p { margin: 0; color: var(--muted); font-size: 14px; font-weight: 700; line-height: 1.45; }
.planner-observation div { padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.planner-observation strong { display: block; margin-bottom: 4px; color: var(--green-dark); }
.planner-observation span { color: var(--muted); font-size: 13px; line-height: 1.4; }
.planner-output { display: grid; gap: 12px; align-content: start; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: linear-gradient(180deg, var(--surface), #f4f7ee); }
.planner-output h3 { margin: 0; }
.planner-output .button { width: 100%; }
.planner-output .score-grid { margin-top: 0; }
.planner-output .result-card { margin-top: 0; }
.result-card { margin-top: 18px; border: 1px solid #c5d3b8; border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, #f4f8ec, #edf4e3); }
.result-card-head { display: grid; gap: 4px; padding: 16px 18px; border-bottom: 1px solid #c5d3b8; background: rgba(47,116,75,.08); }
.result-card-head span { color: var(--muted); font-size: 13px; font-weight: 850; text-transform: uppercase; }
.result-card-head strong { color: var(--green-dark); font-size: 24px; line-height: 1.1; }
.result-card-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.result-card-body div { padding: 16px 18px; border-right: 1px solid #c5d3b8; border-bottom: 1px solid #c5d3b8; }
.result-card-body div:nth-child(2n) { border-right: 0; }
.result-card-body div:nth-last-child(-n + 2) { border-bottom: 0; }
.result-card-body span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.result-card-body strong, .result-card-body p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.35; }
.share-actions { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-top: 1px solid #c5d3b8; }
.share-actions span { color: var(--muted); font-size: 13px; font-weight: 800; }
.section { padding: 22px 0; }
.season-grid, .safety-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.longtail-panel .card-grid, .season-panel .season-grid, .safety-deck .safety-grid { margin-bottom: 8px; }
.season-grid div, .safety-grid div { min-height: 150px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.season-grid div:nth-child(1) { background: linear-gradient(180deg, var(--surface), #edf5e8); }
.season-grid div:nth-child(2) { background: linear-gradient(180deg, var(--surface), #eaf5f6); }
.season-grid div:nth-child(3) { background: linear-gradient(180deg, var(--surface), #f6eddc); }
.season-grid div:nth-child(4) { background: linear-gradient(180deg, var(--surface), #eef2f1); }
.season-grid span { color: var(--gold); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.season-grid div:nth-child(2) span { color: var(--blue); }
.season-grid div:nth-child(3) span { color: var(--clay); }
.season-grid div:nth-child(4) span { color: #67757a; }
.season-grid strong, .safety-grid strong { display: block; margin: 8px 0; font-size: 18px; line-height: 1.15; }
.season-grid p, .safety-grid span { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.safety-grid div { border-top: 3px solid rgba(185,77,63,.38); }
.expert-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 0; overflow: hidden; }
.expert-strip div { padding: 18px; border-right: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), #f4f7ee); }
.expert-strip div:last-child { border-right: 0; }
.expert-strip strong { display: block; margin-bottom: 6px; color: var(--green-dark); }
.expert-strip span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.compact-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.guide-card, .cluster-card { display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; min-height: 150px; height: 100%; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--text); align-content: start; }
.compact-cards .guide-card { min-height: 142px; box-shadow: none; }
.guide-index-grid > [data-guide-card] { display: flex; min-width: 0; }
.guide-index-grid > [data-guide-card] .guide-card { width: 100%; min-height: 214px; }
.language-card { min-height: 180px; }
.longtail-panel .compact-cards { margin-top: 16px; }
.explore-link { display: inline-flex; margin-top: 14px; font-weight: 800; }
.guide-card:hover, .cluster-card:hover { transform: translateY(-2px); text-decoration: none; }
.guide-card span, .guide-card small, .cluster-card span { color: var(--muted); font-size: 13px; font-weight: 700; }
.guide-card strong, .cluster-card strong { font-size: 20px; line-height: 1.15; }
.guide-card em { align-self: end; color: var(--green-dark); font-size: 13px; font-style: normal; font-weight: 850; }
.compact-cards .guide-card small { font-weight: 650; line-height: 1.35; }
.cluster-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cluster-card { min-height: 92px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 24px; align-items: start; padding: 30px 0; }
.intent-hero { padding: 32px 0 12px; }
.intent-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: stretch; }
.intent-copy { padding: 38px; }
.intent-panel { padding: 24px; display: grid; gap: 14px; align-content: start; }
.intent-panel h2 { margin: 0; }
.intent-stat { display: grid; gap: 4px; padding: 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); }
.intent-stat b { font-size: 28px; line-height: 1; }
.intent-stat span { color: var(--muted); font-size: 13px; }
.intent-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.intent-tags span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface-3); font-size: 13px; font-weight: 800; color: var(--green-dark); }
.content-deck { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 24px; align-items: start; padding: 18px 0 34px; }
.article { padding: 34px; font-size: 18px; }
.article, .intent-copy, .hero-main, .coverage-engine, .planner-module, .longtail-panel, .panel { min-width: 0; }
.article h1 { font-size: clamp(38px, 5vw, 62px); }
.article li { margin: 8px 0; }
.crumb { display: inline-flex; margin-bottom: 18px; color: var(--muted); font-weight: 800; }
.sidebar { display: grid; gap: 16px; position: sticky; top: 94px; }
.panel { padding: 22px; }
.link-list { display: grid; gap: 10px; }
.link-list a { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 750; }
details { border-top: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 850; }
.diagnostic-list { display: grid; gap: 10px; padding-left: 0; list-style: none; }
.diagnostic-list li { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.diagnostic-list strong { color: var(--text); }
.diagnostic-list span { color: var(--muted); }
.tool-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; align-content: start; align-items: start; }
label { min-width: 0; display: flex; flex-direction: column; justify-content: flex-start; gap: 6px; font-weight: 800; }
select { width: 100%; min-height: 40px; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 10px; background: var(--surface); font: inherit; font-size: 14px; text-overflow: ellipsis; }
.checks { display: grid; gap: 8px; grid-column: 1 / -1; }
.checks label { display: flex; flex-direction: row; align-items: center; gap: 8px; font-weight: 700; }
.result { margin: 0; padding: 16px 18px; border-left: 4px solid var(--green); background: #edf4e3; }
.compact-plan { display: grid; gap: 8px; padding-left: 0; list-style: none; }
.compact-plan li { display: flex; gap: 10px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.compact-plan b { flex: 0 0 auto; }
.compact-plan span { min-width: 0; overflow-wrap: anywhere; }
.day-grid b { display: block; margin-bottom: 4px; }
.sanctuary-panel ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.sanctuary-panel li { position: relative; padding-left: 24px; font-weight: 800; }
.sanctuary-panel li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.sanctuary-panel strong { display: block; line-height: 1.15; }
.sanctuary-panel span { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 650; }
.trusted-panel p { color: var(--muted); }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.trust-grid span { display: grid; place-items: center; min-height: 46px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-weight: 850; font-size: 13px; }
.wait-panel { display: grid; gap: 10px; }
.wait-panel div { padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.wait-panel strong { display: block; color: var(--green-dark); font-size: 20px; line-height: 1.1; }
.wait-panel div:nth-of-type(2) strong { color: var(--blue); }
.wait-panel div:nth-of-type(3) strong { color: var(--danger); }
.wait-panel span { color: var(--muted); font-size: 13px; line-height: 1.35; }
.dont-panel ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-weight: 700; }
.dont-panel li { margin: 7px 0; }
.first-fix-panel { display: grid; gap: 8px; }
.first-fix-panel a { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 850; }
.first-fix-panel a:last-child { border-bottom: 0; }
.food-panel p, .species-panel p { margin: 0 0 10px; color: var(--muted); font-size: 13px; line-height: 1.35; }
.food-finder { margin: 22px 0; }
.food-finder-compact { box-shadow: none; }
.food-filter-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.food-filter-bar p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 13px; font-weight: 800; }
.food-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.food-row { display: grid; gap: 5px; min-height: 128px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--text); align-content: start; }
.food-row:hover { text-decoration: none; background: var(--surface-3); }
.food-row strong { font-size: 16px; line-height: 1.15; }
.food-row span { color: var(--green-dark); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.food-row em { color: var(--text); font-size: 13px; font-style: normal; font-weight: 800; line-height: 1.25; }
.food-row small { color: var(--muted); font-size: 12px; line-height: 1.3; }
.species-section { padding: 22px 0; }
.site-search { display: grid; gap: 8px; margin: 22px 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.site-search label { font-size: 18px; }
.site-search input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font: inherit; }
.site-search p { margin: 0; color: var(--muted); font-size: 13px; font-weight: 750; }
.guide-filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.guide-filter-bar button { min-height: 36px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); font: inherit; font-size: 13px; font-weight: 850; cursor: pointer; }
.guide-filter-bar button.active, .guide-filter-bar button:hover { background: var(--green); border-color: var(--green); color: white; }
.quick-answer-box { margin: 0 0 24px; box-shadow: none; background: linear-gradient(180deg, var(--surface), #f2f6ec); }
.quick-answer-box h2 { margin-top: 0; }
.quick-answer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
.quick-answer-grid div { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.quick-answer-grid span { display: block; margin-bottom: 5px; color: var(--green-dark); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.quick-answer-grid strong { display: block; font-size: 15px; line-height: 1.35; }
.quick-answer-box p { margin-bottom: 0; color: var(--muted); }
.keyword-context { margin: 24px 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.keyword-context h2 { margin-top: 0; }
.keyword-context p { color: var(--muted); }
.keyword-context p:last-child { margin-bottom: 0; }
.variant-box { margin-top: 30px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-3); }
.article-callout { display: grid; grid-template-columns: 120px 1fr; gap: 14px; margin: 24px 0; padding: 16px; border: 1px solid #c5d3b8; border-left: 5px solid var(--green); border-radius: var(--radius); background: #eef3e6; }
.article-callout strong { color: var(--green-dark); }
.article-callout span { color: var(--muted); }
.site-footer { margin-top: 40px; padding: 34px 0 20px; background: #172018; color: white; }
.site-footer a { color: white; }
.site-footer p, .footer-bottom { color: rgba(255,255,255,.72); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
.footer-grid nav { display: grid; gap: 8px; align-content: start; }
.footer-bottom { margin-top: 22px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 18px; }
.narrow, .info-page, .guide-library { padding: 30px 0; }

@media (max-width: 900px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .nav-links { flex-wrap: wrap; gap: 14px; }
  .hero-layout, .home-composition, .home-deck, .planner-shell, .intent-grid, .content-deck, .page-grid, .split, .footer-grid, .field-rules, .expert-strip { grid-template-columns: 1fr; }
  .sidebar, .home-rail { position: static; }
  .card-grid, .cluster-grid, .compact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .season-grid, .safety-grid, .food-grid, .food-filter-bar, .result-card-body, .quick-answer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar-row { grid-template-columns: repeat(2, 1fr); }
  .expert-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .expert-strip div:last-child { border-bottom: 0; }
}

@media (max-width: 560px) {
  body { min-width: 0; }
  .site-header, main, section, footer { width: 100%; max-width: 100%; overflow-x: hidden; }
  .container { width: min(330px, calc(100% - 48px)); max-width: 100%; margin-left: auto; margin-right: auto; }
  .home-left, .home-rail, .hero-main, .habitat-figure, .planner-module, .longtail-panel, .field-rules, .season-panel, .safety-deck, .expert-strip, .food-finder, .quick-answer-box { width: 100%; max-width: 100%; }
  .hero-main, .coverage-engine, .article, .panel, .split > div, .intent-copy, .intent-panel, .planner-module, .longtail-panel, .field-rules, .season-panel, .safety-deck, .food-finder, .quick-answer-box { padding: 20px; }
  .brand { max-width: 100%; min-width: 0; }
  .brand span:last-child { min-width: 0; }
  .brand-mark { width: 44px; height: 44px; flex-basis: 44px; border-radius: 13px; }
  .nav-links { width: 100%; max-width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; padding-bottom: 4px; font-size: 13px; }
  .nav-links a { min-width: 0; text-align: left; overflow-wrap: anywhere; }
  .language-select select { width: 100%; max-width: 100%; min-height: 34px; font-size: 13px; }
  .search-link { min-height: auto; justify-self: start; }
  .module-head, .section-head { display: grid; gap: 10px; }
  .source-chip { justify-self: start; }
  h1, .article h1 { font-size: 34px; line-height: 1.04; }
  .lede { font-size: 16.5px; line-height: 1.48; }
  .hero-main { min-height: auto; padding-top: 52px; }
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero-actions .button { width: 100%; max-width: 320px; white-space: normal; text-align: center; padding-left: 12px; padding-right: 12px; }
  .card-grid, .cluster-grid, .metric-grid, .score-grid, .day-grid, .tool-form, .pillar-row, .compact-cards, .keyword-map div, .season-grid, .safety-grid, .food-grid, .food-filter-bar, .result-card-body, .quick-answer-grid, .field-rules li, .article-callout, .language-pills { grid-template-columns: 1fr; }
  .hero-layout, .home-composition, .home-deck, .planner-shell, .intent-grid, .content-deck, .page-grid { display: block; width: 100%; max-width: 100%; }
  .hero-layout > * + *, .home-composition > * + *, .home-deck > * + *, .planner-shell > * + *, .intent-grid > * + *, .content-deck > * + *, .page-grid > * + * { margin-top: 16px; }
  .planner-shell { grid-template-columns: minmax(0, 1fr); }
  .planner-output { width: 100%; max-width: 100%; padding: 14px; }
  .result-card-body div, .result-card-body div:nth-child(2n), .result-card-body div:nth-last-child(-n + 2) { border-right: 0; border-bottom: 1px solid #c5d3b8; }
  .result-card-body div:last-child { border-bottom: 0; }
  .share-actions { display: grid; }
  .compact-plan li { align-items: flex-start; }
  .compact-plan span { display: block; }
  select, .button { max-width: 100%; min-width: 0; }
  img, picture { max-width: 100%; }
  h1, h2, h3, p, li, a, strong, span, small, label, .lede, .result, .guide-card, .guide-card strong, .keyword-map span, .quick-answer-grid div, .link-list a { max-width: 100%; overflow-wrap: anywhere; word-break: normal; }
  .score-grid div { border-right: 0; border-bottom: 1px solid #c5d3b8; }
  .score-grid div:last-child { border-bottom: 0; }
  .pillar-row { margin-top: 28px; }
  .pillar-row a { min-height: auto; padding: 14px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar-row a:last-child { border-bottom: 0; }
  .pillar-row b { margin-bottom: 2px; }
}

@media (max-width: 420px) {
  .container { width: min(330px, calc(100% - 48px)); margin-left: auto; margin-right: auto; }
  .hero-main, .coverage-engine, .article, .panel, .split > div, .intent-copy, .intent-panel, .planner-module, .longtail-panel, .field-rules, .season-panel, .safety-deck, .food-finder, .quick-answer-box { padding: 18px; }
  .habitat-figure { width: 100%; }
  .habitat-picture img { object-position: center; }
}
