:root {
  --ink: #17211d;
  --ink-soft: #34423b;
  --muted: #66746d;
  --paper: #f4f7f4;
  --surface: #ffffff;
  --line: #d8e0da;
  --line-dark: #b9c6be;
  --brand: #126b50;
  --brand-dark: #0b4f3b;
  --brand-soft: #e2f2eb;
  --coral: #d9583d;
  --coral-soft: #fbe8e3;
  --gold: #d49a15;
  --blue: #256ea5;
  --blue-soft: #e3f0f8;
  --shadow: 0 12px 32px rgba(23, 33, 29, 0.1);
  --content: min(1180px, calc(100vw - 40px));
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  padding-bottom: 96px;
  background: var(--paper);
  color: var(--ink);
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

button:disabled {
  cursor: not-allowed;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

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

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(1440px, calc(100vw - 32px));
  min-height: 70px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 146px minmax(240px, 1fr) auto auto auto;
  align-items: center;
  gap: 18px;
}

.brand {
  width: 146px;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 900;
}

.brand-icon {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 6px;
  background: var(--ink);
}

.brand-icon img {
  position: absolute;
  top: -2px;
  left: 50%;
  width: 66px;
  max-width: none;
  height: auto;
  transform: translateX(-50%);
}

.brand-word {
  line-height: 1;
}

.header-search {
  height: 42px;
  display: flex;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  background: var(--surface);
}

.header-search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(18, 107, 80, 0.12);
}

.header-search input {
  width: 100%;
  min-width: 0;
  padding: 0 14px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
}

.header-search button {
  padding: 0 18px;
  border: 0;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.location-control,
.account-button {
  height: 42px;
  border: 0;
  background: transparent;
}

.location-control {
  max-width: 160px;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 0 4px;
  text-align: left;
}

.control-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.location-control strong {
  max-width: 155px;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-nav {
  height: 70px;
  display: flex;
  align-items: stretch;
  gap: 4px;
}

.desktop-nav a {
  position: relative;
  min-width: 60px;
  display: grid;
  place-items: center;
  padding: 0 8px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.desktop-nav a::after {
  position: absolute;
  right: 10px;
  bottom: 0;
  left: 10px;
  height: 3px;
  background: transparent;
  content: "";
}

.desktop-nav a.active {
  color: var(--brand-dark);
}

.desktop-nav a.active::after {
  background: var(--brand);
}

.account-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
  font-size: 13px;
  font-weight: 800;
}

.avatar,
.account-large-avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-weight: 900;
}

.avatar {
  width: 34px;
  height: 34px;
}

.app-tabbar {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 14px;
  width: min(680px, calc(100vw - 24px));
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  padding: 7px;
  transform: translateX(-50%);
  border: 1px solid rgba(24, 33, 31, 0.12);
  border-radius: 22px;
  background: rgba(16, 22, 21, 0.92);
  box-shadow: 0 18px 50px rgba(16, 22, 21, 0.28);
  backdrop-filter: blur(20px);
  isolation: isolate;
}

.app-tabbar a {
  min-width: 0;
  min-height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #dce9e2;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.app-tabbar a:hover,
.app-tabbar a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.app-tabbar a.is-active {
  background: #fff;
  color: var(--brand-dark);
}

.service-banner {
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 10px 20px;
  border-bottom: 1px solid #e8b8aa;
  background: var(--coral-soft);
  color: #7e2d1f;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.discover-intro {
  position: relative;
  width: var(--content);
  min-height: 310px;
  margin: 20px auto 0;
  padding: 30px 36px;
  display: grid;
  align-content: center;
  overflow: hidden;
  border-radius: 8px;
  background-color: #173c31;
  background-image: url("/assets/photo-community-market.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
}

.discover-intro::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: rgba(13, 48, 37, 0.76);
  content: "";
}

.discover-intro > * {
  position: relative;
  z-index: 1;
}

.discover-copy {
  max-width: 760px;
}

.discover-copy .eyebrow {
  color: #a9e8cd;
}

.discover-copy h1 {
  max-width: 700px;
  margin-bottom: 8px;
  font-size: 36px;
  line-height: 1.12;
}

.discover-copy p {
  margin-bottom: 0;
  color: #d6e5de;
  font-size: 15px;
}

.discover-search {
  width: min(680px, 100%);
  height: 54px;
  display: flex;
  margin-top: 18px;
  padding: 5px;
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}

.discover-search input {
  min-width: 0;
  flex: 1;
  padding: 0 16px;
  border: 0;
  outline: 0;
  color: var(--ink);
  font-size: 16px;
}

.discover-search button,
.submit-button,
.primary-action,
.card-action,
.page-heading > a,
.local-promise > a,
.empty-state > a,
.empty-state > button {
  min-height: 46px;
  display: inline-grid;
  place-items: center;
  padding: 0 20px;
  border: 1px solid var(--brand);
  border-radius: 5px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.workflow-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.workflow-grid button {
  min-width: 0;
  min-height: 60px;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  text-align: left;
}

.workflow-grid button:hover,
.workflow-grid button:focus-visible {
  border-color: #fff;
  transform: translateY(-2px);
}

.workflow-grid strong {
  margin-bottom: 4px;
  font-size: 14px;
}

.workflow-grid span {
  color: var(--muted);
  font-size: 12px;
}

.category-band {
  width: var(--content);
  margin: 22px auto 0;
  border-bottom: 1px solid var(--line);
}

.category-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

.category-scroll button {
  min-height: 42px;
  flex: 0 0 auto;
  padding: 0 14px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.category-scroll button.active {
  border-bottom-color: var(--coral);
  color: var(--ink);
}

.marketplace-page {
  min-height: 720px;
}

.marketplace-heading {
  max-width: 820px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.marketplace-search {
  width: min(760px, 100%);
  margin-top: 0;
  border: 1px solid var(--line-dark);
}

.marketplace-categories {
  margin-top: 18px;
  border-bottom: 1px solid var(--line);
}

.marketplace-page .results-section {
  padding-bottom: 24px;
}

.events-page .event-section {
  width: 100%;
  padding-top: 8px;
}

.events-page .event-hosts {
  padding-top: 0;
}

.content-section,
.page-shell {
  width: var(--content);
  margin-right: auto;
  margin-left: auto;
}

.results-section,
.event-section {
  padding-top: 44px;
  padding-bottom: 56px;
}

.section-heading,
.page-heading,
.detail-heading,
.review-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.detail-heading {
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 0;
}

.review-heading {
  align-items: end;
  justify-content: space-between;
  flex-direction: row;
  gap: 20px;
}

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

.section-heading h2,
.detail-heading h2 {
  margin-bottom: 0;
  font-size: 28px;
  line-height: 1.15;
}

.segmented {
  height: 38px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border: 1px solid var(--line-dark);
  border-radius: 5px;
  background: var(--surface);
}

.segmented button {
  min-width: 64px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.segmented button.active {
  background: var(--ink);
  color: #fff;
}

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

.business-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.business-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #dce5df;
}

.card-media > a,
.card-media img {
  width: 100%;
  height: 100%;
}

.card-media img {
  object-fit: cover;
}

.save-button,
.icon-action,
.modal-close {
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.save-button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--ink);
  font-size: 22px;
}

.save-button.saved {
  color: var(--coral);
}

.trust-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 6px 8px;
  border-radius: 4px;
  background: rgba(11, 79, 59, 0.95);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.card-body {
  padding: 16px;
}

.card-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.card-category {
  color: var(--brand);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.card-title-row h3 {
  margin: 4px 0 6px;
  font-size: 19px;
  line-height: 1.2;
}

.distance {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
}

.rating-row {
  min-height: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
}

.rating-row strong {
  color: var(--ink);
}

.stars,
.review-stars {
  color: var(--gold);
}

.card-body > p {
  min-height: 42px;
  margin: 10px 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.tag-row {
  min-height: 27px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tag-row span {
  padding: 5px 7px;
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
}

.tag-row.large {
  margin-top: 24px;
}

.tag-row.large span {
  padding: 8px 10px;
  font-size: 12px;
}

.availability {
  min-height: 24px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 12px 0;
  color: var(--muted);
  font-size: 12px;
}

.availability > span,
.availability > i,
.live-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--coral);
}

.availability.open > span,
.availability.open > i,
.live-dot {
  background: #1b9b68;
}

.card-action {
  width: 100%;
  min-height: 40px;
  border-color: var(--line-dark);
  background: var(--surface);
  color: var(--brand-dark);
  font-size: 12px;
}

.map-layout {
  min-height: 620px;
  display: grid;
  grid-template-columns: 340px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.map-list {
  max-height: 620px;
  overflow-y: auto;
  border-right: 1px solid var(--line);
}

.map-list-item {
  min-height: 88px;
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.map-list-item:hover {
  background: var(--paper);
}

.map-list-item img {
  width: 74px;
  height: 62px;
  border-radius: 4px;
  object-fit: cover;
}

.map-list-item span,
.map-list-item small {
  min-width: 0;
  display: block;
}

.map-list-item strong {
  font-size: 13px;
}

.map-list-item small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.local-map {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background-color: #e6ece6;
  background-image: linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.75) 48%, rgba(255, 255, 255, 0.75) 52%, transparent 52%), linear-gradient(0deg, transparent 48%, rgba(255, 255, 255, 0.7) 48%, rgba(255, 255, 255, 0.7) 52%, transparent 52%);
  background-size: 120px 120px, 160px 160px;
}

.local-map::after {
  position: absolute;
  top: -12%;
  bottom: -12%;
  left: 68%;
  width: 36px;
  transform: rotate(12deg);
  border: 10px solid rgba(37, 110, 165, 0.17);
  border-top: 0;
  border-bottom: 0;
  content: "";
}

.map-road {
  position: absolute;
  z-index: 0;
  height: 9px;
  border: 2px solid #c7d1c9;
  border-right: 0;
  border-left: 0;
  background: #f7f8f5;
}

.road-one {
  top: 31%;
  right: -10%;
  left: -10%;
  transform: rotate(-8deg);
}

.road-two {
  top: 66%;
  right: -5%;
  left: -5%;
  transform: rotate(5deg);
}

.road-three {
  top: 48%;
  right: 28%;
  left: -15%;
  transform: rotate(38deg);
}

.map-water,
.map-district {
  position: absolute;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.map-water {
  z-index: 1;
  right: 10%;
  bottom: 8%;
  color: var(--blue);
}

.district-one {
  top: 42%;
  left: 41%;
}

.district-two {
  bottom: 15%;
  left: 18%;
}

.map-pin {
  position: absolute;
  z-index: 3;
  top: var(--y);
  left: var(--x);
  display: flex;
  align-items: center;
  gap: 5px;
  transform: translate(-50%, -50%);
}

.map-pin span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 4px 12px rgba(23, 33, 29, 0.25);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.map-pin strong {
  display: none;
  max-width: 160px;
  padding: 6px 8px;
  border-radius: 4px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 11px;
  white-space: nowrap;
}

.map-pin:hover strong,
.map-pin:focus-visible strong {
  display: block;
}

.event-section {
  border-top: 1px solid var(--line);
}

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

.event-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.event-card > img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.event-card > div {
  padding: 16px;
}

.event-time {
  color: var(--coral);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.event-card h3 {
  margin: 7px 0;
  font-size: 18px;
}

.event-card p {
  min-height: 40px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.event-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.event-actions a {
  min-width: 0;
  overflow: hidden;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-actions button,
.detail-heading button,
.info-panel button,
.offering-row button,
.service-card button,
.order-products button,
.text-button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--brand);
  border-radius: 4px;
  background: transparent;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
}

.local-promise {
  width: var(--content);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 0 auto 60px;
  padding: 36px 42px;
  border-radius: 7px;
  background: var(--blue-soft);
}

.local-promise h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 29px;
  line-height: 1.25;
}

.local-promise > a {
  flex: 0 0 auto;
  border-color: var(--blue);
  background: var(--blue);
}

.empty-state {
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 40px;
  border: 1px dashed var(--line-dark);
  border-radius: 7px;
  background: var(--surface);
  text-align: center;
}

.empty-state.wide {
  min-height: 420px;
}

.empty-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 22px;
  font-weight: 900;
}

.empty-state h2,
.empty-state h3 {
  margin-bottom: 8px;
}

.empty-state p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.6;
}

.business-hero {
  width: min(1360px, 100%);
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(380px, 46%) minmax(0, 54%);
  margin: 0 auto;
  background: var(--surface);
}

.business-hero-media {
  min-height: 420px;
  overflow: hidden;
}

.business-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business-hero[data-business-slug="riverbend-roofing"] .business-hero-media img {
  object-position: center 38%;
}

.business-hero-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px clamp(34px, 4vw, 64px);
}

.back-link {
  align-self: start;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.business-name-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.business-logo,
.modal-business > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}

.business-logo {
  width: 56px;
  height: 56px;
  font-size: 19px;
}

.business-name-row h1 {
  margin-bottom: 7px;
  font-size: 40px;
  line-height: 1.08;
}

.business-name-row p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.5;
}

.business-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 22px 0;
  color: var(--muted);
  font-size: 12px;
}

.verified-mark {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
}

.business-trust-row .availability {
  min-height: auto;
  margin: 0;
}

.business-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.primary-action,
.secondary-action,
.icon-action {
  min-height: 44px;
  padding: 0 17px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
}

.secondary-action {
  border: 1px solid var(--line-dark);
  background: var(--surface);
  color: var(--ink);
}

.icon-action {
  width: 44px;
  padding: 0;
  font-size: 20px;
}

.primary-action.full,
.secondary-action.full {
  width: 100%;
}

.mini-site-nav {
  position: sticky;
  z-index: 20;
  top: 70px;
  min-height: 54px;
  display: flex;
  justify-content: center;
  gap: 38px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
}

.mini-site-nav button {
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.mini-site-nav button:hover {
  border-bottom-color: var(--coral);
}

.business-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 42px;
  padding-top: 42px;
  padding-bottom: 72px;
}

.detail-main {
  min-width: 0;
}

.detail-section {
  padding: 0 0 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 150px;
}

.large-copy {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
}

.offering-list,
.update-list,
.review-list {
  margin-top: 22px;
}

.offering-row {
  min-height: 100px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.offering-row:last-child {
  border-bottom: 1px solid var(--line);
}

.offering-row h3,
.service-card h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.offering-row p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.offering-row > div:last-child {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 12px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.service-card {
  min-height: 154px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: space-between;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.service-card span {
  color: var(--muted);
  font-size: 12px;
}

.service-card > strong {
  align-self: start;
  font-size: 13px;
}

.service-card button {
  grid-column: 1 / -1;
  justify-self: start;
}

.update-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.update-list article > span,
.reviewer > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
}

.update-list small,
.reviewer small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.update-list p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.review-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.review-list > article {
  min-height: 190px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-stars {
  margin-top: 14px;
  font-size: 13px;
}

.review-list p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.business-aside {
  position: sticky;
  top: 150px;
  display: grid;
  gap: 14px;
}

.info-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.info-panel h2 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.25;
}

.info-panel dl {
  margin: 0;
}

.info-panel dl > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.info-panel dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.info-panel dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.info-panel button {
  width: 100%;
  margin-top: 18px;
}

.ride-page {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: minmax(520px, 48%) 1fr;
  background: var(--surface);
}

.ride-form-wrap {
  width: min(620px, calc(100% - 64px));
  margin: 0 auto;
  padding: 54px 0 68px;
}

.ride-form-wrap h1 {
  margin-bottom: 30px;
  font-size: 42px;
}

.ride-form,
.modal-form,
.claim-form,
.signup-form {
  display: grid;
  gap: 16px;
}

label > span,
.modal-form legend,
.ride-form legend,
.checkout-panel legend,
.claim-form label > span,
.settings-fields label > span {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  outline: 0;
  background: var(--surface);
  font-size: 14px;
}

textarea {
  resize: vertical;
  line-height: 1.5;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(18, 107, 80, 0.1);
}

.route-fields {
  display: grid;
  gap: 8px;
  padding-left: 24px;
  border-left: 2px solid var(--brand);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

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

.ride-options {
  display: grid;
  gap: 7px;
  margin-top: 4px;
}

.ride-options > label {
  min-height: 66px;
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  cursor: pointer;
}

.ride-options > label:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.ride-options input,
.choice-list input,
.fulfillment input,
.rating-choice input {
  width: 17px;
  min-height: 17px;
  margin: 0;
  accent-color: var(--brand);
}

.ride-choice,
.ride-meta {
  display: grid;
  gap: 3px;
}

.ride-choice small,
.ride-meta small {
  color: var(--muted);
  font-size: 11px;
}

.ride-meta {
  justify-items: end;
}

.submit-button {
  width: 100%;
  border: 0;
}

.submit-button:disabled {
  cursor: not-allowed;
  background: #9daca4;
}

.ride-map {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: #dfe8e1;
}

.ride-map > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ride-route-card {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  min-height: 76px;
  display: grid;
  grid-template-columns: 12px 1fr;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.ride-route-card small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.page-shell {
  min-height: 680px;
  padding-top: 42px;
  padding-bottom: 72px;
}

.page-heading {
  margin-bottom: 26px;
}

.page-heading h1 {
  margin-bottom: 8px;
  font-size: 36px;
}

.page-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.activity-list {
  border-top: 1px solid var(--line);
}

.activity-row {
  min-height: 116px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.activity-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 900;
}

.activity-copy > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.activity-copy h2 {
  margin: 5px 0;
  font-size: 16px;
}

.activity-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.activity-status {
  display: grid;
  justify-items: end;
  gap: 7px;
  padding-left: 20px;
}

.activity-status strong {
  color: var(--brand);
  font-size: 12px;
}

.activity-status a {
  color: var(--muted);
  font-size: 11px;
  text-decoration: underline;
}

.activity-status button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 800;
  text-decoration: underline;
}

.account-page,
.claim-page {
  width: var(--content);
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
  align-items: center;
  gap: 54px;
  margin: 0 auto;
  padding: 44px 0;
}

.account-page.signed-out {
  align-items: start;
}

.account-intro h1,
.claim-copy h1 {
  max-width: 650px;
  margin-bottom: 14px;
  font-size: 40px;
  line-height: 1.1;
}

.account-intro p,
.claim-copy > p {
  max-width: 640px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}

.account-intro > a {
  color: var(--brand);
  font-size: 14px;
  font-weight: 900;
  text-decoration: underline;
}

.signup-form,
.claim-form {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.signup-form h2,
.claim-form h2 {
  margin-bottom: 4px;
  font-size: 24px;
}

.auth-switch {
  height: 42px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border: 1px solid var(--line-dark);
  border-radius: 5px;
  background: var(--paper);
}

.auth-switch button {
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.auth-switch button.active {
  background: var(--surface);
  box-shadow: 0 1px 5px rgba(23, 33, 29, 0.12);
  color: var(--brand-dark);
}

.signup-form > small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.settings-layout {
  display: grid;
  gap: 0;
}

.settings-section {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.settings-section h2 {
  margin-bottom: 7px;
  font-size: 20px;
}

.settings-section > div:first-child > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.settings-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.full-field {
  grid-column: 1 / -1;
}

.toggle-list {
  display: grid;
  gap: 2px;
}

.toggle-row {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.toggle-row input {
  position: absolute;
  width: 1px;
  min-height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  opacity: 0;
}

.toggle-row:has(input:focus-visible) i {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.toggle-row i {
  position: relative;
  width: 42px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 20px;
  background: #b8c3bc;
}

.toggle-row i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  content: "";
  transition: transform 150ms ease;
}

.toggle-row input:checked + i {
  background: var(--brand);
}

.toggle-row input:checked + i::after {
  transform: translateX(18px);
}

.settings-save {
  display: flex;
  justify-content: end;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.settings-save .submit-button {
  width: auto;
}

.claim-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.claim-steps span {
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px;
  border-top: 1px solid var(--line-dark);
  font-size: 12px;
  font-weight: 800;
}

.claim-steps strong {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.site-footer {
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px max(32px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 24px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  background: rgba(16, 28, 23, 0.62);
}

.modal-panel {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 34px;
  border-radius: 7px;
  background: var(--surface);
  box-shadow: 0 24px 80px rgba(8, 18, 13, 0.35);
}

.wide-modal {
  width: min(1040px, 100%);
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
}

.modal-business {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 42px;
  margin-bottom: 24px;
}

.modal-business > span {
  width: 42px;
  height: 42px;
  font-size: 12px;
}

.modal-business small,
.modal-business strong {
  display: block;
}

.modal-business small {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.modal-panel > h2,
.modal-summary h2 {
  margin-bottom: 8px;
  outline: 0;
  font-size: 28px;
}

.modal-lead {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.file-field {
  padding: 14px;
  border: 1px dashed var(--line-dark);
  border-radius: 5px;
}

.file-field input {
  padding: 0;
  border: 0;
}

.file-field small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
}

.choice-list {
  display: grid;
  gap: 7px;
}

.choice-list > label {
  min-height: 62px;
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
}

.choice-list > label:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.choice-list span,
.choice-list small {
  display: block;
}

.choice-list small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.choice-list b {
  font-size: 12px;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 24px;
  margin-top: 22px;
}

.order-products {
  align-self: start;
  display: grid;
  border-top: 1px solid var(--line);
}

.order-products article {
  min-height: 100px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.order-products small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.checkout-panel {
  display: grid;
  gap: 13px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.checkout-panel h3 {
  margin-bottom: 0;
}

.cart-lines {
  display: grid;
}

.cart-lines > div {
  min-height: 62px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.cart-lines small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.quantity {
  height: 32px;
  display: grid;
  grid-template-columns: 30px 24px 30px;
  align-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  background: #fff;
}

.quantity button {
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 17px;
}

.quantity b {
  text-align: center;
  font-size: 11px;
}

.empty-cart {
  padding: 18px;
  border: 1px dashed var(--line-dark);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.fulfillment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.fulfillment legend {
  grid-column: 1 / -1;
}

.fulfillment label {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
}

.fulfillment label:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.checkout-total {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line-dark);
}

.checkout-total small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.payment-state {
  min-height: 62px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line-dark);
  border-radius: 5px;
  background: var(--surface);
}

.payment-state strong {
  font-size: 11px;
}

.payment-state span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.payment-state.test {
  border-color: #9bc3dd;
  background: var(--blue-soft);
}

.payment-state.unavailable {
  border-color: #e8b8aa;
  background: var(--coral-soft);
}

.rating-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rating-choice legend {
  width: 100%;
}

.rating-choice label {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--gold);
  cursor: pointer;
}

.rating-choice label:has(input:checked) {
  border-color: var(--gold);
  background: #fff9e7;
}

.rating-choice i {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-style: normal;
}

.modal-summary {
  display: grid;
  justify-items: center;
  padding: 18px 6px 6px;
  text-align: center;
}

.account-large-avatar {
  width: 70px;
  height: 70px;
  margin-bottom: 14px;
  font-size: 26px;
}

.modal-summary > p {
  color: var(--muted);
}

.modal-link-list {
  width: 100%;
  display: grid;
  margin-top: 12px;
  border-top: 1px solid var(--line);
}

.modal-link-list a {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}

.modal-link-list a::after {
  color: var(--muted);
  content: "→";
}

.modal-business-entry {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 22px;
  bottom: 92px;
  max-width: min(360px, calc(100vw - 44px));
  padding: 13px 17px;
  transform: translateY(18px);
  border-radius: 5px;
  background: var(--ink);
  box-shadow: var(--shadow);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: 132px minmax(220px, 1fr) auto auto;
  }

  .brand {
    width: 132px;
  }

  .location-control {
    display: none;
  }

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

  .business-hero-content {
    padding: 40px;
  }

  .business-detail {
    gap: 28px;
  }
}

@media (max-width: 900px) {
  :root {
    --content: min(100% - 28px, 760px);
  }

  body {
    padding-bottom: 86px;
  }

  .header-inner {
    width: calc(100vw - 24px);
    min-height: 62px;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .brand {
    width: 42px;
  }

  .brand-word {
    display: none;
  }

  .header-search {
    height: 40px;
  }

  .header-search button,
  .desktop-nav,
  .account-button > span:last-child {
    display: none;
  }

  .account-button {
    padding: 0;
  }

  .app-tabbar {
    bottom: 10px;
    width: calc(100vw - 18px);
    border-radius: 20px;
  }

  .app-tabbar a {
    min-height: 44px;
    border-radius: 14px;
    font-size: 11px;
  }

  .discover-intro {
    min-height: 0;
    padding: 28px;
  }

  .discover-copy h1 {
    max-width: 600px;
    font-size: 34px;
    line-height: 1.1;
  }

  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 22px;
  }

  .workflow-grid button {
    min-height: 60px;
  }

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

  .map-layout {
    grid-template-columns: 1fr;
  }

  .map-list {
    max-height: 280px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .local-map {
    min-height: 420px;
  }

  .business-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .business-hero-media {
    min-height: 320px;
    max-height: 480px;
  }

  .business-hero-content {
    padding: 34px max(22px, calc((100vw - 760px) / 2));
  }

  .business-name-row h1 {
    font-size: 40px;
  }

  .back-link {
    margin-bottom: 26px;
  }

  .mini-site-nav {
    top: 62px;
  }

  .business-detail {
    grid-template-columns: 1fr;
  }

  .business-aside {
    position: static;
    grid-row: 1;
    grid-template-columns: 1fr 1fr;
  }

  .ride-page {
    grid-template-columns: 1fr;
  }

  .ride-map {
    min-height: 420px;
    grid-row: 1;
  }

  .ride-form-wrap {
    padding-top: 40px;
  }

  .account-page,
  .claim-page {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 48px 0;
  }

  .account-intro h1,
  .claim-copy h1 {
    font-size: 36px;
  }

  .settings-section {
    grid-template-columns: 210px 1fr;
    gap: 28px;
  }

  .order-layout {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --content: calc(100% - 24px);
  }

  .header-inner {
    grid-template-columns: 42px minmax(0, 1fr) 36px;
    gap: 7px;
  }

  .header-search input {
    padding: 0 10px;
    font-size: 12px;
  }

  .avatar {
    width: 34px;
    height: 34px;
  }

  .discover-intro {
    width: 100%;
    min-height: 0;
    margin-top: 0;
    padding: 22px 16px 18px;
    border-radius: 0;
  }

  .discover-copy h1 {
    font-size: 28px;
    line-height: 1.12;
  }

  .discover-copy p {
    font-size: 15px;
  }

  .discover-search {
    height: auto;
    display: grid;
    gap: 5px;
    margin-top: 18px;
    padding: 5px;
  }

  .discover-search input {
    min-height: 42px;
  }

  .discover-search button {
    min-height: 42px;
  }

  .workflow-grid {
    gap: 6px;
    margin-top: 14px;
  }

  .workflow-grid button {
    min-height: 60px;
    padding: 10px;
  }

  .workflow-grid strong {
    font-size: 12px;
  }

  .workflow-grid span {
    font-size: 10px;
  }

  .category-band {
    width: 100%;
  }

  .category-scroll {
    padding: 0 12px;
  }

  .results-section,
  .event-section {
    padding-top: 34px;
    padding-bottom: 42px;
  }

  .section-heading,
  .detail-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .segmented {
    align-self: flex-start;
  }

  .section-heading h2,
  .detail-heading h2 {
    font-size: 24px;
  }

  .business-grid,
  .event-grid,
  .service-grid,
  .review-list {
    grid-template-columns: 1fr;
  }

  .business-card:hover {
    transform: none;
  }

  .card-body > p {
    min-height: auto;
  }

  .event-card p {
    min-height: auto;
  }

  .local-promise {
    min-height: 250px;
    align-items: start;
    flex-direction: column;
    padding: 28px;
  }

  .local-promise h2 {
    font-size: 24px;
  }

  .business-hero-media {
    min-height: 260px;
  }

  .business-hero-content {
    padding: 26px 16px 32px;
  }

  .business-name-row {
    align-items: start;
  }

  .business-logo {
    width: 52px;
    height: 52px;
    font-size: 16px;
  }

  .business-name-row h1 {
    font-size: 33px;
  }

  .business-name-row p {
    font-size: 14px;
  }

  .business-hero-actions > button:not(.icon-action) {
    flex: 1 1 130px;
  }

  .mini-site-nav {
    min-height: 48px;
    justify-content: start;
    gap: 24px;
    padding: 0 16px;
    overflow-x: auto;
  }

  .mini-site-nav button {
    flex: 0 0 auto;
  }

  .business-detail {
    padding-top: 28px;
  }

  .business-aside {
    grid-template-columns: 1fr;
  }

  .detail-section {
    padding-bottom: 34px;
    margin-bottom: 34px;
  }

  .offering-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .offering-row > div:last-child {
    justify-content: space-between;
  }

  .review-heading {
    align-items: start;
    flex-direction: column;
  }

  .ride-map {
    min-height: 280px;
  }

  .ride-form-wrap {
    width: calc(100% - 24px);
    padding: 34px 0 48px;
  }

  .ride-form-wrap h1,
  .page-heading h1 {
    font-size: 30px;
  }

  .form-row,
  .settings-fields {
    grid-template-columns: 1fr;
  }

  .full-field {
    grid-column: auto;
  }

  .page-shell {
    padding-top: 38px;
  }

  .page-heading {
    align-items: start;
    flex-direction: column;
  }

  .activity-row {
    grid-template-columns: 42px 1fr;
    align-items: start;
  }

  .activity-mark {
    width: 42px;
    height: 42px;
  }

  .activity-status {
    grid-column: 2;
    justify-items: start;
    padding-left: 0;
  }

  .account-intro h1,
  .claim-copy h1 {
    font-size: 32px;
  }

  .signup-form,
  .claim-form {
    padding: 22px;
  }

  .claim-steps {
    grid-template-columns: 1fr;
  }

  .settings-section {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .modal-backdrop {
    align-items: end;
    padding: 0;
  }

  .modal-panel {
    width: 100%;
    max-height: calc(100vh - 22px);
    padding: 26px 18px 28px;
    border-radius: 7px 7px 0 0;
  }

  .order-layout {
    grid-template-columns: 1fr;
  }

  .order-products article {
    grid-template-columns: 1fr auto;
  }

  .order-products article button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .rating-choice label {
    width: calc(50% - 3px);
  }

  .toast {
    right: 12px;
    bottom: 82px;
    left: 12px;
    max-width: none;
  }
}

@media (max-width: 420px) {
  .app-tabbar {
    gap: 2px;
    padding: 5px;
  }

  .app-tabbar a {
    min-height: 42px;
    border-radius: 12px;
    font-size: 10px;
  }

  .business-name-row {
    gap: 12px;
  }

  .business-name-row h1 {
    font-size: 30px;
  }

}

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