:root {
  color-scheme: light;
  --paper: #f8f5eb;
  --ink: #24362a;
  --forest: #254536;
  --muted: #505e51;
  --line: #d9d6c8;
  --yellow: #f9d96b;
  font: 16px/1.55 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #bf5931; outline-offset: 4px; }
img { display: block; max-width: 100%; }
html { scroll-behavior: smooth; }
.skip { position: absolute; z-index: 2; top: -100px; padding: 12px; background: white; }
.skip:focus { top: 0; }
.site-header, footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 17px max(5vw, calc((100vw - 1152px) / 2)); }
.site-header { border-bottom: 1px solid var(--line); }
.site-header nav, .brand, .actions { display: flex; gap: 1.15rem; align-items: center; }
.site-header a, .brand, .app-nav a { text-decoration: none; }
.brand { gap: 9px; font-weight: 850; letter-spacing: -.045em; font-size: 1.2rem; white-space: nowrap; }
.brand img { width: 35px; height: 35px; }
.brand > span { color: var(--forest); font-size: .62rem; letter-spacing: .12em; border: 1px solid var(--line); padding: 3px 5px; border-radius: 4px; }
.site-header nav { font-weight: 650; font-size: .88rem; white-space: nowrap; }
.access { border: 1px solid var(--forest); border-radius: 99px; padding: 8px 13px; }
.wrap { width: min(90%, 1152px); margin-inline: auto; }
.hero, .detail { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(24px, 5vw, 75px); align-items: center; padding-block: clamp(35px, 6vw, 82px); }
.hero-copy, .detail-copy { padding-block: 12px; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow i { width: 9px; height: 9px; border-radius: 50%; background: #b85632; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, serif; font-weight: 500; line-height: .99; letter-spacing: -.062em; }
h1 { font-size: clamp(3.1rem, 7.3vw, 7rem); margin-bottom: 24px; }
h1 em { color: #9a4d32; font-weight: 500; }
h2 { font-size: clamp(2.2rem, 4.3vw, 4.1rem); margin-bottom: 16px; }
h3 { font-size: 1.24rem; line-height: 1.25; letter-spacing: -.025em; }
.lead { max-width: 45ch; color: var(--muted); font-size: clamp(1.02rem, 1.55vw, 1.2rem); margin-bottom: 25px; }
.actions { flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 47px; border: 1px solid transparent; border-radius: 99px; padding: 10px 17px; font-weight: 750; text-align: center; text-decoration: none; }
.primary { background: var(--forest); color: white; }
.primary:hover { background: #386047; }
.secondary { color: var(--forest); background: transparent; border-color: var(--forest); }
.secondary:hover { background: #eaece0; }
.text-link { font-weight: 750; text-underline-offset: 4px; }
.hero-note { margin-top: 25px; color: var(--muted); font-size: .82rem; }
.hero-note span { margin-right: 5px; color: #46613c; font-weight: 900; }
.hero-art { margin: 0; overflow: hidden; border-radius: 17px; background: var(--forest); color: var(--paper); box-shadow: 0 18px 42px #172c1d1c; }
.portrait { position: relative; background: #e4d6ab; }
.portrait img { width: 100%; aspect-ratio: 680 / 560; }
.ai-badge { position: absolute; bottom: 14px; left: 14px; padding: 6px 10px; border-radius: 4px; background: var(--yellow); color: var(--ink); font-size: .68rem; font-weight: 850; letter-spacing: .08em; }
.art-caption { padding: 15px 18px; }
.art-caption strong { display: block; }
.art-caption p { margin: 4px 0 0; color: #e9e7d6; font-size: .82rem; }
.editorial { border-top: 1px solid var(--line); padding: 36px 0 54px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { text-decoration: none; background: #fffdf5; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.card:hover { border-color: var(--forest); }
.card-image { display: grid; place-items: center; height: clamp(145px, 20vw, 225px); background: var(--tint); }
.dish { width: 100%; height: 100%; }
.detail-dish { display: grid; align-items: center; min-height: 250px; border-radius: 17px; background: var(--tint); }
.guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.guide-card { display: flex; flex-direction: column; gap: 9px; text-decoration: none; }
.guide-cover { display: flex; flex-direction: column; justify-content: space-between; min-height: 195px; padding: 17px; border-radius: 4px 12px 12px 4px; border-left: 6px solid #24362a40; background: var(--tint); }
.guide-cover strong { font: 500 clamp(1.6rem, 2.8vw, 2.5rem)/1 Georgia, serif; letter-spacing: -.05em; }
.guide-cover small { font-size: .65rem; font-weight: 850; letter-spacing: .09em; }
.guide-card:hover .guide-cover { box-shadow: 0 3px 12px #22362930; }
.guide-content { max-width: 760px; }
.guide-content article { margin: 16px 0; }
.guide-content h2 { font-size: 2rem; }
.sources { overflow-wrap: anywhere; color: var(--muted); font-size: .9rem; }
.quiz-panel { max-width: 680px; }
.quiz-panel fieldset { margin: 0 0 14px; border: 1px solid var(--line); border-radius: 8px; padding: 14px; }
.quiz-panel legend { font-weight: 700; }
.quiz-panel label { display: block; padding: 4px 0; }
.quiz-panel input[type="number"], .quiz-panel select { display: block; width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 5px; }
#recover-access input { display: block; width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 5px; }
#recover-access button { margin-top: 10px; }
.quiz-panel input { accent-color: var(--forest); }
.quiz-panel output:not(:empty) { display: block; margin-top: 15px; padding: 15px; border-radius: 8px; background: #e6ead6; }
.quiz-panel output p:last-child { margin-bottom: 0; }
.section-gap { margin-top: 44px; }
.today-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 35px; }
.today-item { text-decoration: none; }
.today-item:hover { border-color: var(--forest); }
.timer { font: 500 4.5rem/1 Georgia, serif; font-variant-numeric: tabular-nums; margin-bottom: 12px; }
.steps input { accent-color: var(--forest); }
.steps label:has(input:checked) { text-decoration: line-through; }
.faq { margin-top: 42px; }
.faq details { border-bottom: 1px solid var(--line); padding: 11px 0; }
.faq summary { cursor: pointer; font-weight: 750; }
.faq details p { margin: 8px 0 0; }
.card-copy { padding: 15px; }
.card-copy small { color: var(--muted); }
.card-copy h3 { margin: 4px 0 12px; }
.card-copy > span { font-size: .86rem; font-weight: 750; }
.offer { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; background: var(--forest); color: var(--paper); border-radius: 17px; padding: clamp(22px, 5vw, 60px); }
.offer ul { padding-left: 18px; margin-bottom: 0; }
.price { align-self: center; background: var(--yellow); color: var(--ink); padding: clamp(17px, 3vw, 35px); border-radius: 10px; }
.price strong { display: block; font: 500 clamp(3rem, 7vw, 5rem)/1 Georgia, serif; letter-spacing: -.07em; }
.price small { display: block; margin-top: 10px; }
footer { margin-top: 50px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
dialog { max-width: min(90vw, 475px); border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: var(--paper); padding: 30px; }
dialog::backdrop { background: #18291dc2; }
.close { float: right; border: 0; border-radius: 6px; padding: 0 8px; background: #eae7d9; color: var(--ink); font-size: 1.6rem; }
.detail h1, .app-page h1 { font-size: clamp(3rem, 6vw, 5.25rem); }
.detail .eyebrow, .recipe-layout .eyebrow { margin-top: 24px; }
.panel { background: #fffdf5; border: 1px solid var(--line); padding: clamp(16px, 3vw, 25px); border-radius: 12px; }
.panel h2, .recipe-layout h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.panel small { display: block; margin-bottom: 7px; color: var(--muted); }
.app-page { min-height: 64vh; padding-top: 26px; }
.app-nav, .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; }
.app-nav a, .chips button { padding: 8px 13px; border-radius: 99px; border: 1px solid var(--line); background: #fffdf5; color: var(--ink); font-weight: 650; }
.app-nav [aria-current], .chips [aria-pressed="true"] { background: var(--forest); color: white; }
.search { display: block; max-width: 540px; margin-bottom: 12px; font-size: .9rem; font-weight: 700; }
.search input { display: block; width: 100%; min-height: 48px; margin-top: 4px; padding: 10px 14px; background: #fffdf5; border: 1px solid var(--line); border-radius: 8px; }
.muted { color: var(--muted); }
.recipe-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: start; }
.recipe-layout .actions { margin-bottom: 24px; }
.steps { padding-left: 25px; }
.steps li { padding: 7px 0; }
.ingredients { max-width: 600px; }
.ingredients ul { padding: 0; list-style: none; }
.ingredients li, .servings { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ingredients select { padding: 5px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.ingredients input { accent-color: var(--forest); }
.ingredients label:has(input:checked) { text-decoration: line-through; }
#feedback { margin: 8px 0 0; color: var(--muted); }
@media (max-width: 710px) {
  .hero, .detail, .offer, .recipe-layout { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .today-grid { grid-template-columns: 1fr; }
  .site-header nav > a:not(.access) { display: none; }
  .hero { gap: 12px; }
  .hero-copy { padding-block: 0 10px; }
}
@media (max-width: 420px) {
  .cards { grid-template-columns: 1fr; }
  .card-image { height: 175px; }
  footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
