:root {
  --page-bg: #f6f3ec;
  --surface: #ffffff;
  --surface-soft: #fbfaf6;
  --ink: #1d2d24;
  --muted: #5f6c63;
  --brand: #246b49;
  --brand-dark: #174b32;
  --accent: #b6542f;
  --accent-dark: #883c20;
  --line: #ddd8cc;
  --focus: #1d70b8;
  --shadow: 0 20px 55px rgba(37, 55, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  background: var(--ink);
  color: #ffffff;
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: 12px;
  transform: translateY(-140%);
  z-index: 100;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  color: var(--brand-dark);
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 8px;
}

nav a {
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
  min-height: 44px;
  padding: 10px 12px;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  background: #e7f1e7;
  color: var(--brand-dark);
}

.page-shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: 34px 24px 56px;
}

.page-shell.narrow {
  max-width: 900px;
}

.hero {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  padding-bottom: 28px;
}

.about-hero {
  display: block;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: var(--brand-dark);
  font-size: clamp(1.5rem, 3vw, 1.7rem);
  line-height: 1.02;
  margin-bottom: 18px;
  max-width: 900px;
}

.hero-copy p:last-of-type {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 680px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-points span {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: 0.92rem;
  font-weight: 800;
  padding: 8px 12px;
}

.hero-image {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.workspace {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
}

.selector-panel,
.result-panel,
.wellness-note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.result-panel {
  position: sticky;
  top: 96px;
}

.section-heading h2,
.result-panel h2,
.wellness-note h2 {
  color: var(--brand-dark);
  font-size: 1.55rem;
  line-height: 1.18;
  margin-bottom: 16px;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

legend {
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 14px;
}

.symptom-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.symptom-option {
  align-items: center;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  min-height: 60px;
  padding: 13px 14px;
}

.symptom-option:hover {
  border-color: #8fb68d;
}

.symptom-option:has(input:checked) {
  background: #e6f2e2;
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
}

.symptom-option input {
  accent-color: var(--brand);
  flex: 0 0 auto;
  height: 18px;
  width: 18px;
}

.symptom-option span {
  font-weight: 700;
}

button,
.secondary-action {
  align-items: center;
  background: var(--brand);
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  text-decoration: none;
}

button {
  margin-top: 20px;
  width: 100%;
}

button:hover,
.secondary-action:hover {
  background: var(--brand-dark);
}

.benefit {
  color: var(--muted);
  font-size: 1.02rem;
}

.recipe-columns {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 22px 0;
}

.recipe-columns h3 {
  color: var(--brand-dark);
  font-size: 1rem;
  margin-bottom: 8px;
}

ul,
ol {
  margin-bottom: 0;
  padding-left: 21px;
}

li + li {
  margin-top: 8px;
}

.comfort-list {
  color: #435047;
  margin-top: 18px;
}

.secondary-action {
  background: var(--accent);
  margin-top: 6px;
}

.secondary-action:hover {
  background: var(--accent-dark);
}

.wellness-note {
  margin-top: 24px;
}

.wellness-note p {
  color: var(--muted);
  margin-bottom: 0;
}

.wellness-note .secondary-action {
  margin-top: 18px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px;
    position: static;
  }

  .hero,
  .workspace,
  .recipe-columns,
  .symptom-grid {
    grid-template-columns: 1fr;
  }

  .result-panel {
    position: static;
  }

  .page-shell {
    padding: 30px 16px 44px;
  }

  h1 {
    font-size: 2.35rem;
  }
}
