:root {
  color-scheme: light;
  --leaf: #1f945c;
  --leaf-dark: #12623d;
  --mint: #ade8c2;
  --ink: #141c21;
  --tomato: #eb4833;
  --oat: #f5eddb;
  --blueberry: #385cc7;
  --paper: #fffdfa;
  --line: rgba(20, 28, 33, 0.12);
  --shadow: 0 18px 48px rgba(20, 28, 33, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(245, 237, 219, 0.88), rgba(173, 232, 194, 0.38)),
    var(--paper);
}

a {
  color: inherit;
}

button,
a.button {
  appearance: none;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  text-decoration: none;
  font: inherit;
  font-weight: 750;
}

.button.primary {
  background: var(--leaf);
  color: white;
  box-shadow: 0 10px 22px rgba(31, 148, 92, 0.22);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border: 1px solid var(--line);
}

.home-shell,
.recipe-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.home-hero {
  min-height: 100svh;
  display: grid;
  align-content: center;
  gap: 56px;
  padding: 36px 0 72px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-lockup.compact {
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(31, 148, 92, 0.20);
}

.brand-mark.small {
  width: 36px;
  height: 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  gap: 48px;
  align-items: center;
}

.hero-copy h1,
.recipe-header h1 {
  margin: 0;
  font-size: clamp(3rem, 9vw, 6.25rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy p,
.recipe-header p {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(20, 28, 33, 0.76);
  font-size: 1.22rem;
  line-height: 1.55;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.preview-panel,
.recipe-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.82);
  box-shadow: var(--shadow);
}

.preview-panel {
  padding: 28px;
}

.preview-topline {
  display: grid;
  gap: 8px;
}

.preview-topline span,
.eyebrow,
.section-heading span {
  color: var(--leaf-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-topline strong {
  font-size: 1.55rem;
}

.preview-panel ul,
.check-list,
.step-list {
  padding: 0;
  margin: 24px 0 0;
}

.preview-panel li,
.check-list li,
.step-list li {
  border-top: 1px solid var(--line);
  list-style: none;
  padding: 16px 0;
  line-height: 1.45;
}

.recipe-shell {
  padding: 28px 0 72px;
}

.recipe-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 54px;
}

.recipe-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 20px;
  margin-top: 52px;
}

.recipe-header {
  grid-row: span 2;
  align-self: start;
  padding-right: 36px;
}

.recipe-header h1 {
  font-size: clamp(2.5rem, 7vw, 5.25rem);
}

.eyebrow {
  margin: 0 0 14px;
}

.recipe-card {
  padding: 24px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.25rem;
}

.step-list {
  counter-reset: steps;
}

.step-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
}

.step-list li::before {
  counter-increment: steps;
  content: counter(steps);
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(31, 148, 92, 0.12);
  color: var(--leaf-dark);
  font-weight: 850;
}

.notice {
  border-left: 4px solid var(--tomato);
  padding-left: 14px;
}

@media (max-width: 820px) {
  .home-shell,
  .recipe-shell {
    width: min(100% - 24px, 680px);
  }

  .home-hero {
    min-height: auto;
    padding-top: 24px;
  }

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

  .recipe-header {
    grid-row: auto;
    padding-right: 0;
  }

  .hero-copy h1,
  .recipe-header h1 {
    font-size: clamp(2.5rem, 16vw, 4.25rem);
  }
}
