:root {
  --cream: #FBF5EC;
  --ink: #2B1D16;
  --berry: #C2335B;
  --berry-dark: #A32649;
  --soft: #F3E6D6;
  --line: #E6D5C0;
  --muted: #6F5A4D;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: "DM Sans", system-ui, -apple-system, sans-serif; background: var(--cream); color: var(--ink); font-size: 17px; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--berry); }
h1, h2 { font-family: "Fraunces", Georgia, serif; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(34px, 6.2vw, 56px); margin-bottom: 16px; }
h2 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 18px; }
.hidden { position: absolute; left: -9999px; }

.bar { display: flex; justify-content: space-between; align-items: center; max-width: 1080px; margin: 0 auto; padding: 16px 20px; }
.logo { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 22px; color: var(--ink); text-decoration: none; }
.bar nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; margin-left: 18px; }

.hero { display: grid; gap: 28px; max-width: 1080px; margin: 0 auto; padding: 20px 20px 48px; }
.kicker { font-size: 13px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--berry); font-weight: 700; margin-bottom: 10px; }
.lead { font-size: 19px; color: var(--muted); margin-bottom: 20px; max-width: 34em; }
.collage { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 5 / 4; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.collage img:first-child { grid-row: span 2; }

.signup { display: grid; gap: 10px; max-width: 460px; }
.signup input[type="email"] { font: inherit; padding: 15px 18px; border: 2px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); width: 100%; }
.signup input[type="email"]:focus { outline: none; border-color: var(--berry); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
button, .buy { font: inherit; font-weight: 700; background: var(--berry); color: #fff; border: 0; border-radius: 999px; padding: 16px 28px; cursor: pointer; display: inline-block; text-decoration: none; text-align: center; }
button:hover, .buy:hover { background: var(--berry-dark); }
button:focus-visible, .buy:focus-visible, a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.buy.ghost { background: transparent; color: var(--berry); border: 2px solid var(--berry); margin-top: 14px; }
.buy.ghost:hover { background: var(--berry); color: #fff; }
.fine { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.error { background: #FCE4EA; color: #8A1A39; border-radius: 12px; padding: 12px 16px; margin-bottom: 14px; font-weight: 500; max-width: 460px; }

.band { background: var(--soft); padding: 48px 20px; }
.band > * { max-width: 1040px; margin-left: auto; margin-right: auto; }
.cards { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 30px; }
.cards li { background: #fff; border-radius: 16px; overflow: hidden; }
.cards img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cards div { padding: 10px 12px 12px; }
.cards b { display: block; font-size: 15px; line-height: 1.25; }
.cards span { font-size: 13px; color: var(--muted); }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--berry); font-weight: 700; }
.chapters { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; }
.chapters li { background: #fff; border-radius: 16px; padding: 16px 18px; }
.chapters b { display: block; font-family: "Fraunces", Georgia, serif; font-size: 19px; }
.chapters span { color: var(--muted); font-size: 15px; }

.about { display: grid; gap: 22px; max-width: 1040px; margin: 0 auto; padding: 56px 20px 8px; align-items: center; }
.about figure { position: relative; width: 100%; max-width: 420px; margin: 0 auto; }
.about img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 12%; border-radius: 22px; }
.about figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(43, 29, 22, 0.72); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.about p { margin-bottom: 14px; max-width: 32em; }
.habits { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 4px 0 18px; max-width: 460px; }
.habits li { background: var(--soft); border-radius: 16px; padding: 14px 10px; text-align: center; }
.habits b { display: block; font-family: "Fraunces", Georgia, serif; font-size: 21px; }
.habits span { font-size: 13px; color: var(--muted); }
.closing, .center { max-width: 640px; margin: 0 auto; padding: 56px 20px; text-align: center; }
.closing .signup, .center .lead, .closing .lead { margin-left: auto; margin-right: auto; }
.price { font-size: 17px; margin-bottom: 6px; }
.price b { font-family: "Fraunces", Georgia, serif; font-size: 40px; }
.price s { color: var(--muted); font-size: 22px; }
.price span { color: var(--muted); margin-left: 6px; }
.soon { background: #fff; border: 2px dashed var(--line); border-radius: 16px; padding: 18px; max-width: 460px; }
.offer .soon, .offer form, .offer .price, .offer .fine { margin-bottom: 22px; }
.offer .lead { margin-left: auto; margin-right: auto; }
.offer .price, .offer .fine, .offer form, .offer .kicker, .offer h2, .offer .lead { text-align: center; }
.offer .soon { margin-left: auto; margin-right: auto; text-align: center; }

.prose { max-width: 680px; margin: 0 auto; padding: 32px 20px 56px; }
.prose h2 { font-size: 23px; margin: 26px 0 8px; }
.prose p { margin-bottom: 12px; }

.foot { padding: 28px 20px 40px; text-align: center; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); }
.foot p { margin-bottom: 6px; }
.foot a { color: var(--muted); }

@media (min-width: 820px) {
  .hero { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; padding: 40px 20px 72px; }
  .about { grid-template-columns: 0.8fr 1fr; gap: 56px; padding: 72px 20px 16px; }
  .about img { aspect-ratio: 4 / 5; object-position: 50% 50%; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .ticks { grid-template-columns: 1fr 1fr; }
  .chapters { grid-template-columns: 1fr 1fr; }
}

/* Sales page */
.bar nav .pill { background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 4px; }
.actions .ghost { margin-top: 0; }
.center-text { text-align: center; margin-left: auto; margin-right: auto; }
.cards a { color: inherit; text-decoration: none; display: block; }
.ticks.two { margin-top: 0; }

.mockups { position: relative; aspect-ratio: 5 / 4; max-width: 560px; width: 100%; margin: 0 auto; }
.laptop { position: absolute; left: 0; top: 4%; width: 82%; }
.laptop .screen { background: #1c1512; border-radius: 14px 14px 0 0; padding: 3.2% 3.2% 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2%; aspect-ratio: 16 / 10.4; overflow: hidden; }
.laptop .screen img { width: 100%; border-radius: 4px 4px 0 0; }
.laptop .base { height: 14px; background: linear-gradient(#d9cbb9, #b9a892); border-radius: 0 0 14px 14px; margin: 0 -6%; }
.print { position: absolute; right: 2%; top: 0; width: 34%; transform: rotate(5deg); box-shadow: -8px 14px 30px rgba(43, 29, 22, 0.28); border-radius: 4px 10px 10px 4px; overflow: hidden; border-left: 5px solid rgba(0, 0, 0, 0.18); }
.phone { position: absolute; right: 14%; bottom: 0; width: 25%; background: #1c1512; border-radius: 22px; padding: 2.2%; box-shadow: 0 14px 30px rgba(43, 29, 22, 0.3); transform: rotate(-4deg); }
.phone img { border-radius: 14px; width: 100%; aspect-ratio: 9 / 17; object-fit: cover; object-position: 50% 0; }

.chapters li { position: relative; padding-left: 62px; }
.chapters i { position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--berry); color: #fff; font-style: normal; font-weight: 700; text-align: center; line-height: 32px; }

.look { max-width: 1080px; margin: 0 auto; padding: 56px 20px; }
.pages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.pages img { width: 100%; border-radius: 10px; box-shadow: 0 8px 24px rgba(43, 29, 22, 0.14); }

.tiers { display: grid; gap: 16px; margin-top: 26px; margin-bottom: 16px; }
.tier { background: #fff; border-radius: 22px; padding: 26px 22px; position: relative; border: 2px solid transparent; display: flex; flex-direction: column; }
.tier.featured { border-color: var(--berry); }
.tier .tag { position: absolute; top: -13px; left: 22px; background: var(--berry); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.tier h3 { font-family: "Fraunces", Georgia, serif; font-size: 25px; }
.tier .line { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.tier .price { margin-bottom: 12px; }
.tier .ticks { margin-bottom: 20px; font-size: 15.5px; flex: 1; grid-template-columns: 1fr; align-content: start; }
.tier .buy { width: 100%; }

.guarantee { max-width: 760px; margin: 0 auto; padding: 48px 20px 8px; display: flex; gap: 22px; align-items: center; }
.guarantee > b { flex: none; width: 92px; height: 92px; border-radius: 50%; border: 3px solid var(--berry); color: var(--berry); font-family: "Fraunces", Georgia, serif; font-size: 38px; display: grid; place-items: center; }
.guarantee h2 { font-size: 24px; margin-bottom: 6px; }

.faq { max-width: 760px; margin: 0 auto; padding: 48px 20px 56px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin-top: 8px; color: var(--muted); }

.freeband { display: grid; gap: 18px; }
.freeband > * { max-width: none; margin: 0; }

.popup { border: 0; border-radius: 22px; padding: 22px; max-width: 420px; width: calc(100% - 32px); margin: auto; background: var(--cream); color: var(--ink); }
.popup::backdrop { background: rgba(43, 29, 22, 0.6); }
.popup img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; margin-bottom: 14px; }
.popup h2 { font-size: 26px; margin-bottom: 8px; }
.popup p { margin-bottom: 12px; }
.popup .close { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; padding: 0; background: rgba(43, 29, 22, 0.7); font-size: 22px; line-height: 1; }

.recipe { max-width: 760px; margin: 0 auto; padding: 24px 20px 48px; }
.recipe h1 { font-size: clamp(30px, 5.4vw, 46px); margin-bottom: 10px; }
.recipe h2 { font-size: 22px; margin-bottom: 8px; }
.badges { margin-bottom: 16px; }
.badges b, .badges span { display: inline-block; border-radius: 999px; padding: 5px 14px; font-size: 14.5px; font-weight: 700; margin: 0 6px 6px 0; }
.badges b { background: var(--berry); color: #fff; }
.badges span { border: 2px solid var(--berry); color: var(--berry); }
.recipe .photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts span { display: block; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cols { display: grid; gap: 22px; margin-bottom: 18px; }
.ing { list-style: none; }
.ing li { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.steps { padding-left: 22px; }
.steps li { margin-bottom: 8px; }
.tip { background: var(--soft); border-radius: 14px; padding: 12px 16px; margin-bottom: 14px; }
.tip b { color: var(--berry); margin-right: 6px; }
.macros { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--ink); color: #fff; border-radius: 16px; padding: 14px 6px; text-align: center; }
.macros b { display: block; font-family: "Fraunces", Georgia, serif; font-size: 21px; }
.macros span { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }

@media (min-width: 820px) {
  .tiers { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .freeband { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; padding-left: max(20px, calc((100% - 1040px) / 2)); padding-right: max(20px, calc((100% - 1040px) / 2)); }
  .cols { grid-template-columns: 0.8fr 1.2fr; }
  .chapters { grid-template-columns: 1fr 1fr 1fr; }
}

.logo, .bar nav a { white-space: nowrap; }
.bar nav { display: flex; align-items: center; }
@media (max-width: 480px) {
  .bar { padding: 14px 16px; }
  .logo { font-size: 19px; }
  .bar nav a { margin-left: 12px; font-size: 14px; }
  .bar nav a[href="/recipes"] { display: none; }
}

.bundle { width: 100%; height: auto; max-width: 760px; margin: 0 auto; }
#tiers .bundle { max-width: 620px; margin: 8px auto 0; }
