:root {
  color-scheme: light;
  font-family: Inter, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #1d1714;
  background: #fffaf5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: radial-gradient(circle at 85% 5%, #ffe5d4 0, transparent 28rem), #fffaf5;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
.topbar {
  width: min(1120px, calc(100% - 40px));
  margin: auto;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  color: #1d1714;
  text-decoration: none;
  font-size: 22px;
  font-weight: 900;
}
.brand span,
.eyebrow,
.section-kicker {
  color: #f4511e;
}
.ghost,
.text-button {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #b63b14;
  font-weight: 700;
}
main {
  width: min(1120px, calc(100% - 40px));
  margin: auto;
}
.hero {
  padding: 70px 0 46px;
  max-width: 760px;
}
.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}
.subhead {
  margin: 24px 0 0;
  color: #6d5b52;
  font-size: 18px;
  line-height: 1.8;
}
.panel {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #f0dfd4;
  border-radius: 28px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 24px 70px rgba(72, 39, 20, 0.08);
}
.local-panel {
  margin: 48px 0 80px;
  background: #f7f3ef;
}
.section-heading,
.offers-heading,
.current-city {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 40px);
}
.summary {
  margin: 0;
  color: #79665b;
}
.tabs {
  margin: 32px 0 24px;
  display: flex;
  gap: 8px;
}
.tab {
  padding: 10px 20px;
  border: 1px solid #eadbd1;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}
.tab.active {
  background: #1d1714;
  border-color: #1d1714;
  color: #fff;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.brand-card {
  min-height: 150px;
  border: 1px solid #ecddd3;
  border-radius: 22px;
  padding: 22px;
  background: #fff;
  color: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.brand-card:not(.static):hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(60, 35, 20, 0.1);
}
.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #fff0e7;
  color: #e54917;
  font-size: 20px;
  font-weight: 900;
}
.brand-card strong {
  font-size: 19px;
}
.count {
  color: #8a7569;
  font-size: 14px;
}
.offers {
  margin-top: 28px;
}
.offer-list {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.offer-card {
  background: #fffaf6;
  border: 1px solid #eeded3;
  border-radius: 20px;
  padding: 22px;
}
.offer-card h4 {
  min-height: 48px;
  margin: 14px 0 8px;
  font-size: 18px;
  line-height: 1.4;
}
.offer-card p {
  color: #7a685e;
}
.scope-pill {
  color: #b63b14;
  background: #ffeadc;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.claim-button {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  color: #fff;
  background: #f4511e;
  text-decoration: none;
  font-weight: 800;
}
.city-form {
  margin-top: 32px;
}
.city-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
}
.city-row {
  display: flex;
  gap: 12px;
}
.city-row input {
  flex: 1;
  min-width: 0;
  border: 1px solid #dbc9bd;
  border-radius: 14px;
  background: #fff;
  padding: 15px 17px;
}
.city-row button {
  border: 0;
  border-radius: 14px;
  padding: 0 24px;
  background: #1d1714;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.local-result {
  margin-top: 28px;
}
.current-city {
  justify-content: flex-start;
  margin-bottom: 18px;
}
.empty-state {
  padding: 30px;
  border-radius: 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #74635a;
}
.empty-state strong {
  color: #1d1714;
  font-size: 20px;
}
.empty-inline,
.loading {
  grid-column: 1 / -1;
  color: #79665b;
}
footer {
  padding: 0 20px 50px;
  text-align: center;
  color: #938077;
}
[hidden] {
  display: none !important;
}
@media (max-width: 820px) {
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 560px) {
  .topbar,
  main {
    width: min(100% - 28px, 1120px);
  }
  .hero {
    padding-top: 44px;
  }
  .panel {
    border-radius: 22px;
    padding: 22px;
  }
  .brand-grid,
  .offer-list {
    grid-template-columns: 1fr;
  }
  .brand-card {
    min-height: 126px;
  }
  .city-row {
    flex-direction: column;
  }
  .city-row button {
    padding: 15px;
  }
}
