:root {
  color-scheme: light;
  --ink: #182230;
  --muted: #697586;
  --muted-2: #8a96a6;
  --line: #e4e9f0;
  --paper: #ffffff;
  --canvas: #f4f6f9;
  --blue-wash: #e0edfb;
  --blue-pale: #f4f8fd;
  --accent: #1d70e8;
  --shadow: 0 18px 48px rgba(31, 50, 78, 0.07);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 50% -6%, rgba(214, 231, 250, 0.8), transparent 34rem),
    var(--canvas);
}

button, a { font: inherit; }
a { color: inherit; }

.page-shell {
  width: min(100% - 32px, 570px);
  margin: 0 auto;
  padding: 36px 0 30px;
}

.business-header {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 22px 4px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid rgba(29, 112, 232, .12);
  border-radius: 15px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 8px 18px rgba(29, 112, 232, .2);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.brand-copy { min-width: 0; }
.eyebrow {
  margin: 0 0 4px;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
}
.brand-copy h1 {
  overflow: hidden;
  margin: 0;
  font-size: clamp(17px, 4vw, 21px);
  font-weight: 750;
  letter-spacing: -.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-card {
  padding: 25px 24px 20px;
  overflow: hidden;
  border: 1px solid rgba(178, 202, 231, .55);
  border-radius: 27px;
  background: var(--blue-wash);
  box-shadow: var(--shadow);
}

.review-heading {
  display: flex;
  align-items: center;
  gap: 13px;
}
.google-mark {
  display: grid;
  width: 47px;
  height: 47px;
  flex: 0 0 47px;
  place-items: center;
  border: 1px solid rgba(210, 219, 230, .65);
  border-radius: 17px;
  background: #fff;
  color: #4285f4;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.08em;
  box-shadow: 0 2px 7px rgba(34, 52, 74, .04);
}
.review-heading h2 {
  margin: 0 0 3px;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -.035em;
}
.review-heading p {
  margin: 0;
  color: #6a7788;
  font-size: 12px;
  line-height: 1.45;
}

.rating-question {
  margin: 21px 0 13px;
  text-align: center;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -.02em;
}
.star-row {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.star-link {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(206, 215, 226, .8);
  border-radius: 15px;
  color: #8994a2;
  background: rgba(255, 255, 255, .88);
  text-decoration: none;
  transition: transform .16s ease, color .16s ease, background .16s ease, box-shadow .16s ease;
  -webkit-tap-highlight-color: transparent;
}
.star-link:hover, .star-link:focus-visible {
  transform: translateY(-3px);
  color: #f6a800;
  background: #fff;
  box-shadow: 0 7px 16px rgba(54, 77, 105, .12);
}
.star-link:focus-visible, .menu-link:focus-visible, .menu-action:focus-visible, .dialog-action:focus-visible, .dialog-close:focus-visible {
  outline: 3px solid rgba(29, 112, 232, .35);
  outline-offset: 3px;
}
.star-link svg { width: 27px; height: 27px; }
.star-link span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.review-hint {
  margin: 12px 0 0;
  color: #728094;
  text-align: center;
  font-size: 10px;
  line-height: 1.5;
}

.menu-section { margin-top: 28px; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 0 4px 11px;
}
.section-heading .eyebrow { margin-bottom: 5px; }
.section-heading h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -.04em;
}
.menu-count {
  padding-bottom: 2px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 600;
}
.menu-list { display: grid; gap: 9px; }
.menu-item {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 68px;
  padding: 11px 15px 11px 12px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--paper);
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(31, 50, 78, .025);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.menu-item:hover {
  transform: translateY(-2px);
  border-color: #cad9eb;
  box-shadow: 0 9px 20px rgba(31, 50, 78, .07);
}
.menu-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 14px;
  color: var(--accent);
  background: var(--blue-pale);
}
.menu-icon svg { width: 20px; height: 20px; }
.menu-copy { min-width: 0; flex: 1; }
.menu-copy strong {
  display: block;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.menu-copy span {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.menu-chevron { flex: 0 0 auto; color: #a1adbb; font-size: 21px; line-height: 1; }
.menu-action { width: 100%; color: inherit; text-align: left; cursor: pointer; }

.page-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  color: #929eac;
}
.page-footer p { margin: 0; font-size: 10px; }
.footer-dot { width: 5px; height: 5px; border-radius: 50%; background: #b8c8dc; }

.info-dialog {
  width: min(100% - 32px, 390px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--ink);
}
.info-dialog::backdrop { background: rgba(18, 30, 48, .42); backdrop-filter: blur(3px); }
.dialog-card {
  position: relative;
  padding: 29px 24px 23px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: 0 25px 80px rgba(16, 34, 57, .2);
  text-align: center;
}
.dialog-close {
  position: absolute;
  top: 13px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #5f6c7c;
  background: #f1f4f7;
  font-size: 23px;
  cursor: pointer;
}
.dialog-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 13px;
  place-items: center;
  border-radius: 16px;
  color: var(--accent);
  background: var(--blue-pale);
  font-size: 22px;
  font-weight: 750;
}
.dialog-card h2 { margin: 0; font-size: 19px; letter-spacing: -.03em; }
.dialog-card p { margin: 10px 0 20px; color: var(--muted); font-size: 13px; line-height: 1.65; white-space: pre-line; }
.dialog-action {
  width: 100%;
  min-height: 43px;
  border: 0;
  border-radius: 13px;
  color: white;
  background: var(--accent);
  font-weight: 700;
  cursor: pointer;
}

@media (min-width: 700px) {
  .page-shell { padding-top: 52px; }
  .review-card { padding: 29px 30px 22px; }
  .star-link { width: 58px; height: 54px; }
  .menu-section { margin-top: 32px; }
}

@media (max-width: 390px) {
  .page-shell { width: min(100% - 24px, 570px); padding-top: 24px; }
  .review-card { padding: 20px 15px 17px; border-radius: 23px; }
  .google-mark { width: 42px; height: 42px; flex-basis: 42px; border-radius: 14px; }
  .review-heading { gap: 10px; }
  .review-heading h2 { font-size: 14px; }
  .review-heading p { font-size: 11px; }
  .star-row { gap: 6px; }
  .star-link { width: min(17vw, 50px); height: min(17vw, 50px); border-radius: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
