:root {
  color-scheme: light;
  --paper: #f9efdf;
  --linen: #efe1cb;
  --plum: #392329;
  --muted: #655049;
  --rust: #8b3022;
  --cream: #fff8eb;
  --measure: 74rem;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Songti SC", "STSong", "Noto Serif CJK SC", SimSun, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 0; }
body { margin: 0; background: var(--paper); color: var(--plum); font: 1rem/1.7 var(--body); }
img { display: block; max-width: 100%; }
p, dd { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; text-wrap: balance; line-height: 1.18; }
a { color: currentColor; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 4px;
}
[hidden] { display: none !important; }

.shell { width: min(100% - var(--gutter) * 2, var(--measure)); margin-inline: auto; }
.skip-link { position: absolute; left: var(--gutter); top: .4rem; transform: translateY(-150%); z-index: 10; background: var(--cream); padding: .6rem 1rem; }
.skip-link:focus { transform: none; }
.site-header { background: var(--paper); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header-inner { min-height: 5.4rem; }
.brand { text-decoration: none; display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; min-width: max-content; }
.brand img { width: 42px; height: 42px; border-radius: 10px; }
.brand span, .footer-brand { font: 600 2.1rem/1 Georgia, serif; letter-spacing: -.035em; }
.site-nav, .site-footer nav { display: flex; align-items: center; flex-wrap: wrap; column-gap: clamp(.8rem, 2vw, 1.9rem); row-gap: .1rem; }
.site-nav a, .site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .9rem; white-space: nowrap; }
.site-nav a:hover, .site-nav [aria-current="page"], .site-footer nav a:hover { text-decoration: underline; text-underline-offset: .37em; }

.hero { display: grid; grid-template-columns: minmax(16rem, .75fr) minmax(0, 1.05fr); align-items: center; gap: clamp(2.3rem, 6.5vw, 6.2rem); padding-block: clamp(1.8rem, 6vw, 5.6rem) clamp(3.6rem, 9vw, 7.2rem); }
.hero-copy { max-width: 31rem; }
.hero h1 { font: 800 clamp(3.1rem, 6.6vw, 6.45rem)/1.025 var(--display); letter-spacing: -.042em; }
.hero-copy p { max-width: 27rem; margin-block: 1.35rem 1.7rem; font-size: clamp(1rem, 1.5vw, 1.22rem); }
.hero-picture { margin: 0; background: var(--linen); aspect-ratio: 4 / 3; overflow: hidden; }
.hero-picture img, .dish-image { width: 100%; height: 100%; object-fit: cover; }
.button { appearance: none; background: var(--rust); color: var(--cream); border: 0; padding: .75rem 1.25rem; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; text-align: center; font: 700 1rem/1.45 var(--body); cursor: pointer; }
.button:hover { background: var(--plum); }
.button:disabled { opacity: .58; cursor: wait; }
.text-link, .prose a, .resource-list a { text-underline-offset: .25em; text-decoration-thickness: .075em; }
.text-link:hover, .prose a:hover, .resource-list a:hover { color: var(--rust); }

.table-note { background: var(--linen); padding-block: clamp(2.7rem, 6vw, 5.3rem); }
.table-note-inner { display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1fr); align-items: center; gap: clamp(1.65rem, 7vw, 6.25rem); }
.dish-image { max-height: 23rem; aspect-ratio: 4 / 3; }
.table-note h2, .resources h2 { font-family: var(--display); font-size: clamp(2rem, 4.5vw, 3.75rem); letter-spacing: -.035em; }
.table-note p { margin-block: 1rem; max-width: 32rem; }
.resources { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 6.4rem); padding-block: clamp(4rem, 9vw, 8rem); align-items: start; }
.resources img { width: 64px; height: 64px; margin: 0 0 1rem -.3rem; }
.resource-list { margin: 0; }
.resource-list div + div { margin-top: 1.45rem; }
.resource-list dt { font-size: 1.25rem; font-weight: 700; margin-bottom: .22rem; }
.resource-list dd { color: var(--muted); }

.site-footer { color: var(--cream); background: var(--plum); }
.footer-inner { padding-block: 1.65rem; }
.footer-brand { text-decoration: none; }
.site-footer a:focus-visible { outline-color: var(--cream); }

.document { padding-block: clamp(2.6rem, 7vw, 6rem) clamp(4rem, 10vw, 8rem); min-height: 55vh; }
.document-heading { margin-bottom: clamp(2rem, 6vw, 5rem); max-width: 46rem; }
.document-heading h1, .document h1 { font-family: var(--display); font-size: clamp(2.9rem, 7vw, 5.65rem); letter-spacing: -.04em; }
.document-heading p { max-width: 39rem; margin-top: .95rem; font-size: clamp(1rem, 1.8vw, 1.25rem); color: var(--muted); }
.document-body, .support-layout { display: grid; grid-template-columns: minmax(11rem, .36fr) minmax(0, 1fr); align-items: start; column-gap: clamp(2rem, 7vw, 6rem); }
.document-body > .prose, article.prose { max-width: 48rem; }
.topic-nav { align-self: start; position: sticky; top: 1.35rem; }
.topic-nav ul, .topic-nav ol { padding: 0; list-style: none; margin: 0; }
.topic-nav a { display: inline-flex; padding: .48rem 0; min-height: 44px; align-items: center; color: var(--muted); text-decoration: none; }
.topic-nav a:hover { color: var(--rust); text-decoration: underline; text-underline-offset: .2em; }
.prose h2 { font: 800 clamp(1.6rem, 3.2vw, 2.55rem)/1.18 var(--display); letter-spacing: -.022em; }
.prose h3 { font-size: 1.08rem; }
.prose p, .prose li { max-width: 45rem; }
.prose p, .prose ul, .prose ol { margin-block: .78rem 0; }
.prose h2:not(:first-child), .prose section + section, .prose h3:not(:first-child) { margin-top: clamp(1.55rem, 4vw, 3.15rem); }
.prose section { scroll-margin-top: 1.5rem; }
.prose details { padding-block: .7rem; }
.prose summary { cursor: pointer; min-height: 44px; font-weight: 700; }
.paper, .support-form { background: var(--linen); padding: clamp(1.25rem, 4vw, 3rem); }
.support-layout { grid-template-columns: minmax(0, .75fr) minmax(19rem, 1fr); }
.form-fields, .support-form form, form.support-form { display: grid; gap: 1.06rem; }
.field { display: grid; gap: .38rem; min-width: 0; }
.field label { font-weight: 700; }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; min-height: 48px; background: var(--cream); border: 1px solid var(--muted); color: var(--plum); border-radius: 0; padding: .68rem .8rem; font: inherit; }
.field textarea { resize: vertical; min-height: 8rem; }
.support-form input[type="checkbox"] { accent-color: var(--rust); width: 1.2rem; height: 1.2rem; vertical-align: middle; margin-right: .4rem; }
.support-form label:has(input[type="checkbox"]) { display: flex; align-items: flex-start; gap: .5rem; min-height: 44px; text-wrap: pretty; }
.support-form .button { justify-self: start; }
.status { min-height: 1.6rem; margin: 0; font-weight: 650; color: var(--rust); }
.fine-print { font-size: .9rem; color: var(--muted); }
.trap, .honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 50rem) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2rem; }
  .document-body { grid-template-columns: 1fr; gap: 1.3rem; }
  .topic-nav { position: static; }
  .topic-nav ul, .topic-nav ol { display: flex; flex-wrap: wrap; column-gap: 1.35rem; }
  .support-layout { grid-template-columns: 1fr; row-gap: 2rem; }
}
@media (max-width: 37rem) {
  .header-inner, .footer-inner { align-items: flex-start; flex-direction: column; gap: .4rem; }
  .header-inner { padding-block: 1rem .3rem; }
  .site-nav, .site-footer nav { column-gap: .88rem; }
  .hero { grid-template-columns: 1fr; gap: 1.85rem; padding-block: 1.85rem 3.4rem; }
  .hero h1 { font-size: clamp(3rem, 11.6vw, 4.9rem); }
  .hero-copy p { margin-block: 1.1rem 1.3rem; }
  .table-note-inner, .resources { grid-template-columns: 1fr; gap: 1.5rem; }
  .dish-image { max-height: 18rem; }
  .resources img { width: 56px; height: 56px; }
}
@media (max-width: 22rem) {
  .site-nav { column-gap: .62rem; }
  .site-nav a { font-size: .86rem; }
}
@media (prefers-reduced-motion: no-preference) {
  a, button { transition: color .16s ease-out, background-color .16s ease-out; }
}
.document-body > .prose:only-child { grid-column: 1 / -1; }
.status[data-state="success"] { color: var(--plum); }
