:root {
  --bg: #fffaf5;
  --paper: #ffffff;
  --ink: #171513;
  --muted: #6f665f;
  --line: #eadfd5;
  --accent: #e83914;
  --accent-dark: #bd2d12;
  --accent-soft: #fff0e8;
  --shadow: 0 18px 44px rgba(70, 41, 22, 0.11);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 250, 245, 0.92);
  border-bottom: 1px solid rgba(234, 223, 213, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 148px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.brand strong,
.footer-brand strong {
  display: block;
  color: var(--accent);
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
}

.brand small,
.footer-brand span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  color: #2c2926;
  font-size: 15px;
  font-weight: 650;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.header-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 750;
}

.header-action,
.primary-button {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(232, 57, 20, 0.22);
}

.header-action:hover,
.primary-button:hover {
  background: var(--accent-dark);
}

.secondary-button {
  color: var(--accent);
  background: var(--paper);
  border: 1px solid #f0b29c;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.98fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
  min-height: min(760px, calc(100vh - 76px));
  padding: clamp(34px, 5vw, 70px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 240, 232, 0.74)),
    radial-gradient(circle at 12% 85%, #ffe1cf 0, transparent 28%),
    var(--bg);
}

.hero-copy h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 5.4vw, 78px);
  line-height: 1.08;
  font-weight: 900;
}

.hero-copy h1::first-letter {
  color: var(--accent);
}

.hero-copy p {
  max-width: 560px;
  margin: 20px 0 0;
  color: #413a34;
  font-size: 19px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.quick-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 680px;
  margin: 34px 0 0;
}

.quick-points div {
  min-width: 0;
}

.quick-points dt {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.quick-points dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.hero-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1.38 / 1;
  object-fit: cover;
}

section {
  padding: 70px clamp(18px, 5vw, 72px);
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading h2,
.submit-section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 850;
}

.section-heading p,
.submit-section p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.section-heading.centered {
  text-align: center;
}

.section-heading.centered p {
  margin-right: auto;
  margin-left: auto;
  max-width: 520px;
}

.section-heading.inline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading.inline a {
  color: var(--accent);
  font-weight: 800;
}

.recommend-section {
  background: #fff;
}

.recommender {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 22px;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
}

.filters,
.result-card,
.area-grid article,
.food-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(70, 41, 22, 0.07);
}

.filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 28px;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 12px;
  color: #2c2926;
  font-size: 15px;
  font-weight: 850;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-group label,
.result-tags span,
.food-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #524a44;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.chip-group input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip-group label:has(input:checked) {
  border-color: #f19879;
  background: var(--accent-soft);
  color: var(--accent);
}

.result-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}

.result-label {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 850;
}

.result-card h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.24;
}

.result-card p {
  color: var(--muted);
  line-height: 1.7;
}

.result-tags,
.food-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.button-reset {
  width: 100%;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.roll-count {
  margin: -12px 0 0;
  text-align: center;
  font-size: 13px;
}

.areas-section,
.library-section {
  background: var(--bg);
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.area-grid article {
  min-height: 168px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(23, 21, 19, 0.06), rgba(23, 21, 19, 0.76)),
    linear-gradient(135deg, #824520, #d16d32 46%, #2b211b);
  color: #fff;
}

.area-grid strong {
  display: block;
  font-size: 24px;
  line-height: 1.2;
}

.area-grid p {
  margin: 58px 0 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
}

.search-box input {
  width: min(360px, 42vw);
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.search-box input:focus {
  outline: 2px solid #ffd5c5;
  border-color: #ef9a7b;
}

.food-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.food-card {
  overflow: hidden;
}

.food-thumb {
  display: grid;
  place-items: center;
  height: 132px;
  background-image: url("./assets/food-hero.png");
  background-size: 280%;
  background-position: center;
}

.food-card:nth-child(1) .food-thumb {
  background-position: 82% 82%;
}

.food-card:nth-child(2) .food-thumb {
  background-position: 28% 34%;
}

.food-card:nth-child(3) .food-thumb {
  background-position: 92% 24%;
}

.food-card:nth-child(4) .food-thumb {
  background-position: 4% 76%;
}

.food-card:nth-child(5) .food-thumb {
  background-position: 58% 38%;
}

.food-card:nth-child(6) .food-thumb {
  background-position: 82% 80%;
}

.food-card:nth-child(7) .food-thumb {
  background-position: 42% 48%;
}

.food-card:nth-child(8) .food-thumb {
  background-position: 8% 82%;
}

.food-card-body {
  padding: 16px;
}

.food-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.food-card p {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.food-price {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-weight: 850;
}

.submit-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 48px clamp(18px, 5vw, 72px) 72px;
  padding: 42px clamp(24px, 5vw, 64px);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, #fff4ed 0%, #fffaf5 58%, #ffdfcc 100%);
  border: 1px solid #f4d7c6;
}

.submit-section p {
  max-width: 680px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  padding: 44px clamp(18px, 5vw, 72px) 24px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-columns {
  display: flex;
  gap: 64px;
}

.footer-columns div {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.footer-columns strong {
  color: var(--ink);
}

.copyright {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  color: #91877f;
  font-size: 13px;
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1080px) {
  .hero-section,
  .recommender {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-media {
    max-width: 760px;
  }

  .area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .food-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    gap: 22px;
    padding-bottom: 4px;
  }

  .header-action {
    min-height: 40px;
    padding: 0 16px;
  }

  .quick-points,
  .filters,
  .area-grid,
  .food-grid,
  .site-footer,
  .footer-columns,
  .submit-section {
    grid-template-columns: 1fr;
  }

  .section-heading.inline,
  .submit-section,
  .site-footer {
    display: grid;
    align-items: start;
  }

  .search-box input {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .brand strong {
    font-size: 21px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-copy p {
    font-size: 17px;
  }

  .hero-actions .primary-button,
  .hero-actions .secondary-button {
    width: 100%;
  }

  section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .area-grid p {
    margin-top: 38px;
  }
}

.filing-info {display:flex;flex-wrap:wrap;gap:12px 24px;justify-content:center;margin-top:24px;font-size:13px;}
.filing-info a {display:inline-flex;align-items:center;gap:6px;color:inherit;text-decoration:none;}
.filing-info a:hover {text-decoration:underline;}
