/* Cook with Chel — paid-tier landing page (mockup v4, 2026-10-02).
   Mobile-first: built for a phone at 320px, then widened at 768px and 1280px.
   Plain on purpose: one typeface for headings, one for text, and ONE loud
   colour that is used only on the "Try for free" buttons. */

:root {
  --ink: #1f1b16;
  --soft: #6b6359;
  --line: #e3ddd3;
  --paper: #fdfbf7;
  --accent: #d9431a;        /* bright orange-red, only for the buy buttons */
  --accent-dark: #b83410;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { font-size: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  padding-bottom: 5rem;      /* room for the sticky button on a phone */
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;      /* 17px: comfortable on a phone */
  line-height: 1.6;
}

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

/* ---------- top name ---------- */
.masthead {
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 5%;
  text-align: center;
}
.masthead-name {
  margin: 0;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
}

main {
  width: 90%;
  max-width: 40rem;
  margin: 0 auto;
}

/* ---------- the recipe ---------- */
.recipe { padding-top: 1.5rem; }

.kicker {
  margin: 0 0 0.5rem;
  font-family: var(--sans);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--soft);
}

h1 {
  margin: 0 0 0.5rem;
  font-size: 1.875rem;
  line-height: 1.15;
  font-weight: 700;
}

.byline {
  margin: 0 0 1.25rem;
  color: var(--soft);
  font-size: 1rem;
}

.photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;       /* every recipe photo takes the same room, tall or wide */
  object-fit: cover;
  border-radius: 0.25rem;
}

.recipe-body {
  position: relative;        /* so the fade can sit over the bottom of it */
  padding-top: 1.25rem;
}
.recipe-body h2 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.3125rem;
}
.recipe-body ul {
  margin: 0;
  padding-left: 1.25rem;
}
.recipe-body li { margin-bottom: 0.375rem; }

/* The fade: the last ingredients wash out into the page colour */
.fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 9rem;
  background: linear-gradient(to bottom, rgba(253, 251, 247, 0), var(--paper) 85%);
  pointer-events: none;
}

/* ---------- the offer, right under the recipe ---------- */
.offer {
  padding: 0.25rem 0 2rem;
  text-align: center;
}
.offer h2 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  line-height: 1.2;
}

.price-line {
  margin: 0 0 1rem;
  font-size: 1.1875rem;
}

/* ---------- the one button ---------- */
.button {
  display: block;
  width: 100%;
  max-width: 24rem;
  margin: 0 auto;
  min-height: 3.5rem;        /* 56px: a big, easy tap target */
  padding: 1rem 1rem;
  border-radius: 2rem;       /* pill shape */
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}
.button-main {
  background: var(--accent);
  color: #fff;
}
.button-main:hover,
.button-main:focus-visible { background: var(--accent-dark); }

/* "Cancel anytime" sits directly under every button */
.cancel {
  margin: 0.75rem 0 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
}

.small-print {
  margin: 0.5rem auto 0;
  max-width: 26rem;
  color: var(--soft);
  font-size: 0.875rem;
}
.small-print a { color: inherit; }

.proof {
  margin: 1.5rem auto 0;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
}

/* ---------- who she is ---------- */
.about {
  display: flex;
  flex-direction: column;    /* photo above the words on a phone */
  align-items: center;
  gap: 1rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-photo {
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.about p { margin: 0; }

/* ---------- the sections under the offer ---------- */
.block {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.block h2 {
  margin: 0 0 1rem;
  font-size: 1.4375rem;
  line-height: 1.25;
}
.block.last { border-bottom: 0; }

/* what you get */
.included {
  margin: 0 auto;
  padding: 0;
  max-width: 28rem;
  list-style: none;
  text-align: left;
}
.included li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.75rem;
}
.included li::before {       /* a plain check mark, drawn in the ink colour */
  content: "\2713";
  position: absolute;
  left: 0;
  font-family: var(--sans);
  font-weight: 700;
}

/* the two plans, as simple rows */
.rows {
  margin: 0 auto 1.25rem;
  max-width: 28rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
  text-align: left;
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1rem;
}
.row + .row { border-top: 1px solid var(--line); }
.row p { margin: 0; }
.row-name {
  font-family: var(--sans);
  font-weight: 700;
}
.row-price {
  text-align: right;
  font-weight: 700;
}
.row-price span {
  display: block;
  color: var(--soft);
  font-size: 0.875rem;
  font-weight: 400;
}
.tag {
  display: inline-block;
  margin-left: 0.375rem;
  padding: 0.0625rem 0.5rem;
  border: 1px solid var(--ink);
  border-radius: 1rem;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
}

/* subscriber quotes */
.quote {
  margin: 0 auto 1.25rem;
  max-width: 28rem;
}
.quote p {
  margin: 0 0 0.25rem;
  font-size: 1.1875rem;
  font-style: italic;
}
.quote cite {
  color: var(--soft);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-style: normal;
}
.quote + .button { margin-top: 1.75rem; }

/* questions */
.faq { text-align: left; }
.faq h2 { text-align: center; }
.faq h3 {
  margin: 1.25rem 0 0.25rem;
  font-family: var(--sans);
  font-size: 1rem;
}
.faq p { margin: 0; color: var(--soft); }

.signoff {
  margin: 0;
  font-style: italic;
}

/* ---------- the button that stays on screen (phones) ---------- */
.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.625rem 5%;
  background: var(--paper);
  border-top: 1px solid var(--line);
  transition: transform 0.2s ease;
}
.sticky.is-hidden { transform: translateY(110%); }
.sticky .button {
  min-height: 3rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

/* ---------- footer ---------- */
.foot {
  border-top: 1px solid var(--line);
  padding: 1.25rem 5%;
  text-align: center;
  color: var(--soft);
  font-family: var(--sans);
  font-size: 0.8125rem;
}
.foot p { margin: 0; }

/* ---------- tablet and up ---------- */
@media (min-width: 768px) {
  h1 { font-size: 2.5rem; }

  .sticky { display: none; }
  body { padding-bottom: 0; }

  .about {
    flex-direction: row;     /* photo beside the words */
    align-items: center;
    text-align: left;
  }
}

@media (min-width: 1280px) {
  body { font-size: 1.125rem; }
  main { max-width: 44rem; }
}

/* ---------- the site's front page: a plain list of recipe pages ---------- */
.home-list {
  margin: 0 auto 1.5rem;
  padding: 0;
  max-width: 28rem;
  list-style: none;
}
.home-list li { padding: 0.5rem 0; }
.home-list a { color: var(--ink); }
