:root {
  --paper: #fffdf9;
  --cream: #f7f0e7;
  --ink: #33281f;
  --muted: #675b50;
  --green: #294b3c;
  --sage: #e8eee5;
  --copper: #925a3c;
  --line: #dcd7cc;
  --display: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; background: var(--paper); }
body { margin: 0; color: var(--ink); font: 16px/1.6 "DM Sans", Arial, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 500; }
h1 { max-width: 540px; font-size: 44px; line-height: 1.14; }
h2 { font-size: 32px; line-height: 1.22; }
h3 { font-size: 18px; line-height: 1.4; font-weight: 600; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.icon { width: 22px; height: 22px; flex: none; stroke-width: 1.6; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--copper); font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 54px; padding: 15px 24px; border: 1px solid var(--green); border-radius: 5px; background: var(--green); color: #fff; font: 600 16px/1.4 "DM Sans", Arial, sans-serif; text-align: center; text-decoration: none; transition: background .2s, transform .2s, box-shadow .2s; }
.button .icon { width: 19px; height: 19px; transition: transform .2s; }
.button:hover { background: #1e3c2e; box-shadow: 0 6px 18px #294b3c20; transform: translateY(-2px); }
.button:hover .icon { transform: translateX(3px); }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--copper); outline-offset: 5px; }
.skip-link { position: absolute; z-index: 8; top: 8px; left: 16px; padding: 10px 18px; background: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--cream); }
.hero-scene { position: absolute; z-index: -2; inset: 0; overflow: hidden; }
.hero-scene::before { position: absolute; inset: -6px; content: ""; background: url("cozinha-caseira-mobile.png") center 68% / cover no-repeat; filter: blur(2px); }
.hero-scene::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, #f7f0e7 0%, #f7f0e7f7 28%, #f7f0e7db 43%, #f7f0e735 66%, #f7f0e708 100%); }
.site-header { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 100px; }
.brand { width: 156px; height: auto; }
.header-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 13px; font-weight: 600; text-decoration: none; }
.header-link .icon { width: 16px; height: 16px; }
.hero-layout { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; min-height: 592px; padding-block: 24px 66px; }
.hero-copy { position: relative; z-index: 2; max-width: 535px; }
.hero-copy h1 em { font-style: normal; color: var(--green); }
.hero-lede { margin-top: 22px; max-width: 510px; color: #55463b; font-size: 17px; line-height: 1.6; }
.hero-lede strong { color: var(--ink); font-weight: 600; }
.hero-copy .button { min-width: 310px; margin-top: 24px; }
.checkout-note { display: flex; align-items: center; gap: 7px; margin-top: 12px; color: var(--muted); font-size: 12px; }
.checkout-note .icon { width: 14px; height: 14px; }
.hero-visual { position: relative; min-width: 0; height: 485px; }
.hero-book { position: absolute; top: 15px; left: 11%; width: 62%; max-width: 305px; aspect-ratio: 2 / 3; transform: rotate(-5deg); box-shadow: 5px 5px 0 #e5d7c4, 9px 8px 0 #cec1af, 18px 24px 28px #35271930; animation: book-arrive .65s ease-out both; }
.hero-book::after { position: absolute; inset: 0 auto 0 0; width: 4%; content: ""; background: linear-gradient(90deg,#5e412c22,transparent); }
.hero-book img { width: 100%; height: 100%; object-fit: contain; }
.hero-phone { position: absolute; right: 1%; bottom: 5px; width: 27%; max-width: 138px; aspect-ratio: 1 / 2; border: 5px solid #30332e; border-radius: 19px; padding: 12px 3px 10px; background: #fffdf9; transform: rotate(8deg); box-shadow: 10px 15px 20px #35271930; animation: phone-arrive .65s .15s ease-out both; }
.hero-phone::before { position: absolute; z-index: 1; top: 0; left: 35%; width: 30%; height: 6px; border-radius: 0 0 5px 5px; content: ""; background: #30332e; }
.hero-phone img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.material-note { position: absolute; bottom: -31px; left: 8%; right: 0; text-align: center; font-size: 12px; color: #55483c; }

.included-strip { background: var(--sage); border-block: 1px solid #d5dfd0; }
.included-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-block: 22px; }
.included-list li { display: flex; justify-content: center; align-items: center; gap: 13px; color: var(--green); }
.included-list .icon { width: 27px; height: 27px; }
.included-list strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.4; }
.included-list span { display: block; font-size: 13px; color: #53644f; }

.contents { padding-block: 80px; }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: end; margin-bottom: 40px; }
.section-heading h2 { max-width: 580px; }
.section-heading > p { max-width: 450px; color: var(--muted); }
.contents-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.checklist-intro { margin-bottom: 24px; }
.checklist-intro h3 { color: var(--green); font-size: 20px; }
.checklist-intro p { margin-top: 7px; color: var(--muted); }
.checklist-items li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 19px 0; border-top: 1px solid var(--line); }
.checklist-items .icon { margin-top: 2px; color: var(--green); width: 25px; height: 25px; }
.checklist-items h4 { margin: 0 0 4px; font-size: 16px; font-weight: 600; line-height: 1.4; }
.checklist-items p { color: var(--muted); font-size: 16px; line-height: 1.55; }
.recipe { min-width: 0; }
.recipe-photo { position: relative; aspect-ratio: 5 / 3; overflow: hidden; background: #efe2d0; }
.recipe-photo img { position: absolute; bottom: 0; width: 100%; height: auto; transition: transform .4s ease; }
.recipe-photo:hover img { transform: scale(1.025); }
.recipe-label { display: inline-flex; align-items: center; gap: 8px; margin-block: 22px 9px; color: var(--copper); font-size: 13px; font-weight: 600; }
.recipe-label .icon { width: 19px; height: 19px; }
.recipe h3 { font-family: var(--display); font-size: 26px; font-weight: 500; line-height: 1.25; }
.recipe > p { margin-top: 14px; color: var(--muted); }
.recipe-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--green); }
.recipe-facts li { display: inline-flex; align-items: center; gap: 7px; }
.recipe-facts .icon { width: 18px; height: 18px; }
.contents-bottom { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.contents-bottom p { max-width: 590px; color: var(--muted); font-size: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--green); font-size: 15px; font-weight: 600; white-space: nowrap; text-underline-offset: 5px; }
.text-link .icon { width: 17px; height: 17px; }

.offer { background: var(--green); color: #fffdf6; padding-block: 70px; }
.offer-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 90px; align-items: center; }
.offer .eyebrow { color: #e3cda9; }
.offer h2 { max-width: 510px; }
.offer-copy > p:last-child { margin-top: 22px; max-width: 555px; color: #e7ede6; }
.offer-action { border-left: 1px solid #ffffff35; padding-left: 56px; }
.offer-action > p { font-size: 15px; color: #e7ede6; }
.offer-price { display: block; margin-block: 8px 22px; font-family: var(--display); font-size: 48px; font-weight: 500; line-height: 1.15; }
.offer-action .button { width: 100%; background: #f4e4c9; color: #253d2e; border-color: #f4e4c9; }
.offer-action .button:hover { background: #fff1d9; }
.offer-action .checkout-note { justify-content: center; color: #e1e7df; }
.faq { padding-block: 72px 60px; }
.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.faq-heading > p:last-child { margin-top: 16px; color: var(--muted); max-width: 300px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 21px; list-style: none; cursor: pointer; font-size: 16px; font-weight: 600; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 18px; height: 18px; transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > p { padding-bottom: 22px; color: var(--muted); font-size: 16px; }
footer { padding: 23px 24px 28px; border-top: 1px solid var(--line); color: var(--muted); background: var(--paper); font-size: 12px; text-align: center; }
.mobile-purchase { display: none; }
@keyframes book-arrive { from { opacity: 0; transform: translateY(14px) rotate(-5deg); } to { opacity: 1; transform: translateY(0) rotate(-5deg); } }
@keyframes phone-arrive { from { opacity: 0; transform: translateY(14px) rotate(8deg); } to { opacity: 1; transform: translateY(0) rotate(8deg); } }

@media (max-width: 1100px) {
  h1 { font-size: 40px; }
  .hero-layout { gap: 24px; min-height: 585px; }
  .hero-visual { height: 420px; }
  .hero-book { width: 64%; left: 7%; }
  .hero-phone { right: 2%; bottom: 4%; }
  .section-heading, .contents-grid { gap: 40px; }
  .offer-layout { gap: 44px; }
  .offer-action { padding-left: 36px; }
}
@media (max-width: 800px) {
  .wrap { width: min(580px, calc(100% - 40px)); }
  .eyebrow, .checkout-note, .included-list span, .recipe-label, .recipe-facts, footer { font-size: 15px; }
  h1 { max-width: 440px; font-size: 30px; line-height: 1.16; }
  h2 { font-size: 27px; }
  .site-header { position: absolute; top: 10px; left: 20px; width: calc(100% - 40px); min-height: 52px; }
  .brand { width: 122px; }
  .header-link { font-size: 15px; }
  .header-link .icon { width: 14px; }
  .hero-scene { height: 335px; }
  .hero-scene::before { background-position: center 63%; }
  .hero-scene::after { background: linear-gradient(180deg,#f7f0e708 35%,#f7f0e740 65%,var(--cream) 100%); }
  .hero-layout { display: flex; flex-direction: column; gap: 0; width: 100%; min-height: 0; padding-block: 0 32px; }
  .hero-visual { order: 0; flex: none; width: min(384px,100%); height: 282px; }
  .hero-book { top: 65px; left: 23%; width: 32%; max-width: none; }
  .hero-phone { top: 121px; right: 20%; bottom: auto; width: 17%; max-width: none; border-width: 3px; border-radius: 11px; padding: 8px 1px 6px; }
  .hero-phone img { border-radius: 5px; }
  .hero-phone::before { height: 3px; }
  .material-note { top: 262px; bottom: auto; left: 0; right: 0; font-size: 15px; }
  .hero-copy { order: 1; max-width: 540px; width: 100%; padding: 14px 22px 0; text-align: center; }
  .hero-copy h1 { margin-inline: auto; }
  .hero-copy .eyebrow { justify-content: center; font-size: 15px; margin-bottom: 12px; }
  .hero-lede { margin-top: 17px; font-size: 16px; line-height: 1.55; }
  .hero-copy .button { width: 100%; min-width: 0; max-width: 390px; }
  .hero-copy .checkout-note { justify-content: center; font-size: 15px; }
  .included-list { gap: 16px; padding-block: 22px; }
  .included-list li { flex-direction: column; justify-content: start; gap: 7px; text-align: center; }
  .included-list .icon { width: 23px; height: 23px; }
  .included-list strong { font-size: 15px; line-height: 1.45; }
  .included-list span { display: none; }
  .contents { padding-block: 50px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 29px; }
  .section-heading > p { max-width: none; }
  .contents-grid { grid-template-columns: 1fr; gap: 33px; }
  .checklist-intro { margin-bottom: 19px; }
  .checklist-intro h3 { font-size: 19px; }
  .checklist-items li { padding-block: 17px; gap: 11px; }
  .recipe h3 { font-size: 25px; }
  .recipe-label { margin-top: 19px; }
  .contents-bottom { align-items: start; flex-direction: column; gap: 12px; margin-top: 27px; padding-top: 20px; }
  .offer { padding-block: 47px; }
  .offer-layout { grid-template-columns: 1fr; gap: 28px; }
  .offer-copy > p:last-child { margin-top: 18px; }
  .offer-action { border-left: 0; border-top: 1px solid #ffffff35; padding: 25px 0 0; text-align: center; }
  .offer-price { font-size: 42px; margin-block: 9px 22px; }
  .offer-action .button { max-width: 390px; }
  .faq { padding-block: 48px 38px; }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-heading > p:last-child { max-width: none; margin-top: 12px; }
  .faq summary { font-size: 15px; padding-block: 19px; }
  .mobile-purchase { display: flex; position: fixed; z-index: 10; inset: auto 0 0; align-items: center; justify-content: center; gap: 20px; padding: 10px 20px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid #d2d9cc; background: #fffdf9f7; box-shadow: 0 -3px 18px #203b2b12; }
  .mobile-purchase[hidden] { display: none; }
  .mobile-purchase strong { display: block; font-size: 21px; line-height: 1.3; color: var(--green); white-space: nowrap; }
  .mobile-purchase > div { flex: 0 0 88px; }
  .mobile-purchase small { display: block; font-size: 15px; color: var(--muted); }
  .mobile-purchase .button { flex: 1; min-width: 0; max-width: 260px; min-height: 45px; padding: 11px 16px; font-size: 15px; }
  .mobile-purchase .button span { min-width: 0; }
  footer { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .hero-copy { padding-inline: 20px; }
  h1 { font-size: 28px; }
  .header-link { display: none; }
  .hero-book { top: 65px; }
  .hero-visual { height: 270px; }
  .material-note { top: 249px; }
  .button { padding-inline: 16px; font-size: 15px; }
  .mobile-purchase { gap: 14px; padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:hover, .button:hover .icon, .recipe-photo:hover img { transform: none; }
}
