:root {
  --ink: #14241c;
  --muted: #4d6357;
  --sage: #6f9b7a;
  --sage-deep: #3f6b4f;
  --citrus: #f0c75e;
  --fog: #f3f7f4;
  --white: #ffffff;
  --line: rgba(20, 36, 28, 0.12);
  --font-display: "Literata", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--fog);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem clamp(1rem, 4vw, 2rem);
  background: rgba(243, 247, 244, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
}

.logo img {
  width: 2.6rem;
  height: 2.6rem;
  object-fit: contain;
  border-radius: 0.45rem;
  background: #fff;
}

.nav {
  display: none;
  gap: 1.15rem;
  align-items: center;
  font-weight: 600;
}

.nav-cta {
  padding: 0.55rem 1rem;
  background: var(--sage-deep);
  color: #fff;
  border-radius: 0.55rem;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  display: grid;
  gap: 6px;
  place-content: center;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  display: block;
}

.nav.is-open {
  display: flex;
  position: absolute;
  inset: 100% 0 auto;
  flex-direction: column;
  padding: 1rem;
  background: var(--fog);
  border-bottom: 1px solid var(--line);
}

.hero {
  position: relative;
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.75rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem) 2rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(240, 199, 94, 0.28), transparent 45%),
    radial-gradient(ellipse at 90% 20%, rgba(111, 155, 122, 0.22), transparent 40%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

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

.hero h1 {
  margin: 0.55rem 0 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7.5vw, 3.8rem);
  line-height: 1.08;
}

.lede {
  margin: 1rem 0 0;
  max-width: 40ch;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-stats div {
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
}

.hero-stats strong {
  display: block;
  font-size: 1.2rem;
}

.hero-stats span {
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 1.25rem;
  aspect-ratio: 5/4;
  object-fit: cover;
}

.btn,
.btn-ghost,
.plan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border-radius: 0.55rem;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.btn {
  background: var(--sage-deep);
  color: #fff;
}

.btn:hover,
.plan-btn:hover {
  background: var(--ink);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--ink);
}

.menu,
.plans,
.zones,
.start {
  padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1rem, 4vw, 2rem);
}

.section-head h2,
.zones h2,
.start h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.1;
}

.section-head p,
.zones p,
.start > div > p {
  color: var(--muted);
}

.menu-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.9rem;
}

.meal {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.9rem;
  align-items: center;
  padding: 0.7rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.meal img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 0.75rem;
}

.tag {
  display: inline-block;
  margin-bottom: 0.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

.meal h3 {
  margin: 0;
  font-size: 1.05rem;
}

.meal p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.plan-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.plan {
  position: relative;
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
}

.plan.is-featured {
  border-color: var(--sage);
  box-shadow: 0 16px 40px rgba(63, 107, 79, 0.12);
}

.badge {
  display: inline-block;
  margin: 0 0 0.6rem;
  padding: 0.25rem 0.55rem;
  background: var(--citrus);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.plan h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
}

.plan-price {
  margin: 0.35rem 0 0.9rem;
  font-size: 2rem;
  font-weight: 800;
}

.plan-price span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.plan ul {
  margin: 0 0 1.2rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

.plan-btn {
  width: 100%;
  background: var(--fog);
  color: var(--ink);
}

.plan.is-selected {
  outline: 2px solid var(--sage-deep);
}

.zones-card {
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: 1.2rem;
  border: 1px solid var(--line);
}

.zones-card img {
  width: 100%;
  border-radius: 0.9rem;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.zones ul {
  color: var(--muted);
}

.start {
  background: linear-gradient(180deg, #e8f1ea 0%, var(--fog) 100%);
}

.start-shell {
  display: grid;
  gap: 1.5rem;
}

.selected-plan {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--white);
  border-left: 4px solid var(--citrus);
  border-radius: 0.5rem;
  font-weight: 600;
}

.start-form {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
}

.field {
  position: relative;
  display: grid;
  gap: 0.3rem;
}

.field label {
  font-size: 0.88rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 0.55rem;
  font: inherit;
  background: #fff;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(111, 155, 122, 0.22);
}

.field-star {
  display: none;
  position: absolute;
  right: 0.8rem;
  top: 2.4rem;
  color: #d64545;
  font-weight: 800;
}

.field.is-invalid input,
.field.is-invalid select {
  border-color: #d64545;
}

.field.is-invalid .field-star {
  display: block;
}

.send-btn {
  position: relative;
  justify-self: start;
  min-width: 10rem;
  overflow: hidden;
}

.send-label {
  transition: opacity 0.35s ease;
}

.send-spinner,
.send-check {
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.send-spinner-ring {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-right-color: #fff;
  border-radius: 50%;
}

.send-btn.is-loading .send-label,
.send-btn.is-success .send-label {
  opacity: 0;
}

.send-btn.is-loading .send-spinner {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.send-btn.is-loading .send-spinner-ring {
  animation: spin 0.65s linear infinite;
}

.send-btn.is-success {
  background: #2f7d4a;
}

.send-btn.is-success .send-check {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  color: #fff;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-note {
  margin: 0;
  min-height: 1.2em;
  font-weight: 700;
  color: var(--sage-deep);
}

.site-footer {
  padding: 2rem clamp(1rem, 4vw, 2rem);
  color: var(--muted);
  font-size: 0.9rem;
  display: grid;
  gap: 0.3rem;
}

.demo-tag {
  margin-top: 0.6rem;
  font-size: 0.8rem;
}

.demo-tag a {
  text-decoration: underline;
}

@media (min-width: 760px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex;
  }

  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    min-height: 84vh;
  }

  .menu-grid {
    grid-template-columns: 1fr 1fr;
  }

  .plan-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .zones-card {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .start-shell {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .start-form {
    grid-template-columns: 1fr 1fr;
  }

  .field-full,
  .send-btn,
  .form-note {
    grid-column: 1 / -1;
  }
}

@media (min-width: 980px) {
  .menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .menu-grid .meal:nth-child(4),
  .menu-grid .meal:nth-child(5) {
    grid-column: span 1;
  }
}
