/*
  1OFF clean feature demo
  Neutral visual system intended to expose functionality rather than establish
  a final brand direction.
*/

:root {
  --demo-bg: #f7f8fa;
  --demo-surface: #ffffff;
  --demo-surface-soft: #f1f3f6;
  --demo-ink: #17191d;
  --demo-muted: #626872;
  --demo-line: #dfe3e8;
  --demo-accent: #245eea;
  --demo-accent-dark: #1849bd;
  --demo-success: #1f7a46;
  --demo-danger: #b13a3a;
  --demo-radius: 14px;
  --demo-shadow: 0 14px 42px rgba(25, 31, 43, 0.08);
  --demo-max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--demo-ink);
  background: var(--demo-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

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

[hidden] {
  display: none !important;
}

.demo-shell {
  width: min(calc(100% - 32px), var(--demo-max));
  margin-inline: auto;
}

.demo-header {
  position: sticky;
  z-index: 1100;
  top: 0;
  border-bottom: 1px solid var(--demo-line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.demo-header__inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.demo-brand {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  text-decoration: none;
}

.demo-brand__mark {
  font-weight: 800;
  letter-spacing: -0.04em;
}

.demo-brand__label {
  color: var(--demo-muted);
  font-size: 0.78rem;
}

.demo-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.demo-nav a {
  color: var(--demo-muted);
  font-size: 0.84rem;
  font-weight: 650;
  text-decoration: none;
}

.demo-nav a:hover,
.demo-nav a:focus-visible {
  color: var(--demo-ink);
}

.demo-footer {
  border-top: 1px solid var(--demo-line);
  background: var(--demo-surface);
}

.demo-footer__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: var(--demo-muted);
  font-size: 0.76rem;
}

.demo-eyebrow {
  margin: 0 0 0.8rem;
  color: var(--demo-accent);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.demo-hero {
  padding: clamp(4rem, 8vw, 8rem) 0;
  border-bottom: 1px solid var(--demo-line);
  background: var(--demo-surface);
}

.demo-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.demo-hero h1,
.page-intro h1,
.article-header h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6.4rem);
  font-weight: 720;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.demo-lead {
  max-width: 48rem;
  margin: 1.4rem 0 0;
  color: var(--demo-muted);
  font-size: clamp(1.08rem, 1.5vw, 1.34rem);
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.demo-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border: 1px solid var(--demo-line);
  border-radius: 10px;
  color: var(--demo-ink);
  background: var(--demo-surface);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.demo-button:hover,
.demo-button:focus-visible {
  border-color: #b7bec8;
}

.demo-button--primary {
  color: #fff;
  border-color: var(--demo-accent);
  background: var(--demo-accent);
}

.demo-button--primary:hover,
.demo-button--primary:focus-visible {
  border-color: var(--demo-accent-dark);
  background: var(--demo-accent-dark);
}

.demo-summary {
  overflow: hidden;
  border: 1px solid var(--demo-line);
  border-radius: var(--demo-radius);
  background: var(--demo-surface);
  box-shadow: var(--demo-shadow);
}

.demo-summary > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 1rem;
  padding: 1.15rem;
  border-bottom: 1px solid var(--demo-line);
}

.demo-summary > div:last-child {
  border-bottom: 0;
}

.demo-summary span {
  grid-row: span 2;
  color: var(--demo-accent);
  font-size: 0.72rem;
  font-weight: 750;
}

.demo-summary strong {
  font-size: 0.96rem;
}

.demo-summary small {
  color: var(--demo-muted);
  font-size: 0.79rem;
}

.demo-section {
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.demo-section--compact {
  padding-top: 3rem;
}

.demo-section--muted {
  border-top: 1px solid var(--demo-line);
  border-bottom: 1px solid var(--demo-line);
  background: var(--demo-surface-soft);
}

.demo-section__heading {
  max-width: 54rem;
  margin-bottom: 2.5rem;
}

.demo-section__heading h2,
.demo-flow h2,
.chato-capabilities h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.feature-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  min-height: 31rem;
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  border: 1px solid var(--demo-line);
  border-radius: var(--demo-radius);
  background: var(--demo-surface);
  box-shadow: 0 8px 24px rgba(25, 31, 43, 0.04);
}

.feature-card header span,
.article-card__meta,
.article-meta,
.locator-results-header p,
.store-card__eyebrow,
.store-card__meta,
.chato-panel__eyebrow,
.chato-panel__status,
.locator-disclosure {
  color: var(--demo-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-card h3 {
  margin: 0.45rem 0 1.4rem;
  font-size: 1.65rem;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.feature-card > p {
  color: var(--demo-muted);
  font-size: 0.9rem;
}

.feature-link {
  margin-top: auto;
  color: var(--demo-accent);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.feature-search {
  margin-bottom: 1.2rem;
}

.feature-search label,
.locator-search label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--demo-muted);
  font-size: 0.75rem;
  font-weight: 650;
}

.feature-search > div,
.locator-search > div {
  display: grid;
  grid-template-columns: 1fr auto;
}

.feature-search input,
.locator-search input {
  min-width: 0;
  min-height: 44px;
  padding: 0.75rem;
  border: 1px solid var(--demo-line);
  border-radius: 9px 0 0 9px;
  color: var(--demo-ink);
  background: #fff;
}

.feature-search button,
.locator-search button {
  min-height: 44px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--demo-accent);
  border-radius: 0 9px 9px 0;
  color: #fff;
  background: var(--demo-accent);
  font-weight: 700;
  cursor: pointer;
}

.feature-chat-preview {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.feature-chat-preview p {
  margin: 0;
  padding: 0.8rem;
  border-radius: 9px;
  background: var(--demo-surface-soft);
  color: var(--demo-muted);
  font-size: 0.82rem;
}

.feature-chat-preview p:last-child {
  margin-left: 1.5rem;
  color: var(--demo-ink);
  background: #edf2ff;
}

.feature-article-list {
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
}

.feature-article-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--demo-line);
}

.feature-article-list a {
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.demo-flow {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 1.1fr);
  gap: clamp(3rem, 7vw, 7rem);
}

.demo-flow ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.demo-flow li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--demo-line);
}

.demo-flow li span {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--demo-accent);
  background: #e9efff;
  font-size: 0.76rem;
  font-weight: 750;
}

.page-intro {
  padding: clamp(3rem, 6vw, 6rem) 0;
  border-bottom: 1px solid var(--demo-line);
  background: var(--demo-surface);
}

.page-intro p:not(.demo-eyebrow) {
  max-width: 48rem;
  margin: 1rem 0 0;
  color: var(--demo-muted);
  font-size: 1.05rem;
}

.page-intro__split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.article-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.article-card {
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--demo-line);
  border-radius: var(--demo-radius);
  background: var(--demo-surface);
}

.article-card__meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
}

.article-card h2 {
  margin: 2.6rem 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.article-card h2 a {
  text-decoration: none;
}

.article-card p {
  color: var(--demo-muted);
}

.article-header {
  padding: clamp(4rem, 8vw, 8rem) 0;
  border-bottom: 1px solid var(--demo-line);
  background: var(--demo-surface);
}

.article-header__inner {
  max-width: 1000px;
}

.article-header h1 {
  max-width: 13ch;
}

.article-dek {
  max-width: 48rem;
  margin: 1.4rem 0 0;
  color: var(--demo-muted);
  font-size: 1.15rem;
}

.article-meta {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--demo-line);
}

.article-layout {
  display: grid;
  grid-template-columns: 15rem minmax(0, 44rem);
  gap: clamp(2rem, 6vw, 6rem);
  justify-content: center;
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.article-layout--single {
  grid-template-columns: minmax(0, 44rem);
}

.article-toc {
  position: sticky;
  top: 100px;
  align-self: start;
  padding: 1rem;
  border: 1px solid var(--demo-line);
  border-radius: 10px;
  background: var(--demo-surface);
}

.article-toc strong {
  font-size: 0.82rem;
}

.article-toc ul {
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

.article-toc li {
  margin: 0.35rem 0;
}

.article-toc ul ul {
  padding-left: 0.8rem;
}

.article-toc a {
  color: var(--demo-muted);
  font-size: 0.76rem;
  text-decoration: none;
}

.article-body {
  min-width: 0;
  font-size: 1.04rem;
  line-height: 1.78;
}

.article-body > p:first-child {
  color: var(--demo-ink);
  font-size: 1.25rem;
}

.article-body h2 {
  margin: 4rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--demo-line);
  font-size: 2rem;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.article-body h3 {
  margin: 2.3rem 0 0.8rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.article-body p,
.article-body li {
  color: #3f444c;
}

.article-body blockquote {
  margin: 2rem 0;
  padding: 1.1rem 1.2rem;
  border-left: 4px solid var(--demo-accent);
  background: #edf2ff;
}

.article-body blockquote p {
  margin: 0;
  color: var(--demo-ink);
  font-size: 1.08rem;
}

.article-body img {
  display: block;
  max-width: 100%;
  height: auto;
}

.article-body figure.article-diagram {
  width: min(1000px, calc(100vw - 32px));
  margin: 3rem 50%;
  transform: translateX(-50%);
}

.article-body figure.article-diagram a {
  display: block;
  padding: 0.75rem;
  border: 1px solid var(--demo-line);
  border-radius: var(--demo-radius);
  background: #fff;
}

.article-body figcaption {
  margin-top: 0.7rem;
  color: var(--demo-muted);
  font-size: 0.76rem;
}

.article-next {
  padding: 3rem 0;
  border-top: 1px solid var(--demo-line);
  background: var(--demo-surface-soft);
}

.article-next > div > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.article-next a {
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--demo-line);
  border-radius: 9px;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
}

/* Chato */

.chato-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: 1rem;
  align-items: start;
}

.chato-page-main,
.chato-capabilities {
  border: 1px solid var(--demo-line);
  border-radius: var(--demo-radius);
  background: var(--demo-surface);
}

.chato-page-main {
  overflow: hidden;
  box-shadow: var(--demo-shadow);
}

.chato-capabilities {
  padding: 1.4rem;
}

.chato-capabilities h2 {
  font-size: 1.6rem;
}

.chato-capabilities ul {
  padding-left: 1.2rem;
}

.chato-capabilities li {
  margin: 0.7rem 0;
}

.chato-capabilities p {
  color: var(--demo-muted);
  font-size: 0.85rem;
}

.chato-panel {
  min-height: 35rem;
  display: grid;
  grid-template-rows: auto minmax(15rem, 1fr) auto auto auto;
  color: var(--demo-ink);
  background: var(--demo-surface);
}

.chato-panel--full {
  min-height: 42rem;
  height: min(52rem, calc(100svh - 10rem));
}

.chato-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--demo-line);
}

.chato-panel__header h2 {
  margin: 0.2rem 0 0;
  font-size: 1.4rem;
}

.chato-panel__eyebrow {
  margin: 0;
}

.chato-panel__close {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--demo-line);
  border-radius: 8px;
  background: #fff;
  font-size: 1.35rem;
  cursor: pointer;
}

.chato-panel__messages {
  min-height: 0;
  overflow-y: auto;
  padding: 1rem;
  background: var(--demo-bg);
}

.chato-message {
  width: min(88%, 33rem);
  margin-bottom: 0.75rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--demo-line);
  border-radius: 12px;
  background: #fff;
}

.chato-message--user {
  margin-left: auto;
  border-color: #c8d6ff;
  background: #edf2ff;
}

.chato-message strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.7rem;
}

.chato-message p {
  margin: 0;
  font-size: 0.88rem;
}

.chato-message a {
  color: var(--demo-accent);
  font-weight: 700;
}

.chato-panel__suggestions {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--demo-line);
}

.chato-panel__suggestions button {
  flex: 0 0 auto;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--demo-line);
  border-radius: 999px;
  color: var(--demo-ink);
  background: #fff;
  font-size: 0.68rem;
  font-weight: 650;
  cursor: pointer;
}

.chato-panel__suggestions button:hover,
.chato-panel__suggestions button:focus-visible {
  border-color: #b8c6ef;
  background: #edf2ff;
}

.chato-panel__form {
  display: grid;
  grid-template-columns: 1fr auto;
  border-top: 1px solid var(--demo-line);
}

.chato-panel__form textarea {
  min-width: 0;
  resize: none;
  padding: 0.85rem;
  border: 0;
  color: var(--demo-ink);
  background: #fff;
}

.chato-panel__form button {
  min-width: 5rem;
  border: 0;
  color: #fff;
  background: var(--demo-accent);
  font-weight: 700;
  cursor: pointer;
}

.chato-panel__status {
  min-height: 1.8rem;
  margin: 0;
  padding: 0.45rem 1rem;
  border-top: 1px solid var(--demo-line);
  font-size: 0.66rem;
}

.chato-panel__status[data-state="error"] {
  color: var(--demo-danger);
}

.demo-chato-launcher {
  position: fixed;
  z-index: 1200;
  right: 1rem;
  bottom: 1rem;
  min-height: 44px;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--demo-accent);
  border-radius: 999px;
  color: #fff;
  background: var(--demo-accent);
  box-shadow: 0 12px 32px rgba(36, 94, 234, 0.25);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.demo-chato-drawer {
  position: fixed;
  z-index: 1190;
  right: 1rem;
  bottom: 4.8rem;
  width: min(31rem, calc(100vw - 2rem));
  max-height: calc(100svh - 7rem);
  overflow: hidden;
  border: 1px solid var(--demo-line);
  border-radius: var(--demo-radius);
  background: #fff;
  box-shadow: 0 24px 70px rgba(25, 31, 43, 0.18);
}

/* Store locator */

.locator-page {
  padding: 2rem 0 4rem;
}

.locator-controls {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid var(--demo-line);
  border-radius: var(--demo-radius);
  background: var(--demo-surface);
}

.locator-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.locator-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.locator-filters button,
.locator-results-header button {
  min-height: 34px;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--demo-line);
  border-radius: 8px;
  color: var(--demo-ink);
  background: #fff;
  font-size: 0.74rem;
  font-weight: 650;
  cursor: pointer;
}

.locator-filters button.is-active,
.locator-filters button:hover,
.locator-filters button:focus-visible {
  color: #fff;
  border-color: var(--demo-accent);
  background: var(--demo-accent);
}

.locator-open-filter {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--demo-muted);
  font-size: 0.78rem;
}

.locator-workspace {
  position: relative;
  height: min(70rem, calc(100svh - 12rem));
  min-height: 42rem;
  display: grid;
  grid-template-columns: minmax(19rem, 27rem) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--demo-line);
  border-radius: var(--demo-radius);
  background: #fff;
  box-shadow: var(--demo-shadow);
}

.locator-results-panel {
  min-height: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-right: 1px solid var(--demo-line);
  background: #fff;
}

.locator-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--demo-line);
}

.locator-results-header p,
.locator-results-header strong {
  margin: 0;
}

.locator-results-header strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.1rem;
}

.locator-results {
  min-height: 0;
  overflow-y: auto;
}

.locator-empty {
  margin: 0;
  padding: 1rem;
  border-top: 1px solid var(--demo-line);
  color: var(--demo-muted);
}

.store-card {
  border-bottom: 1px solid var(--demo-line);
}

.store-card__select {
  width: 100%;
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  border: 0;
  color: var(--demo-ink);
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.store-card__select:hover,
.store-card__select:focus-visible,
.store-card.is-selected .store-card__select {
  background: #edf2ff;
  outline: none;
}

.store-card__name {
  font-size: 1rem;
  line-height: 1.25;
}

.store-card__address {
  color: var(--demo-muted);
  font-size: 0.8rem;
}

.store-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
}

.store-card__meta span:last-child {
  color: var(--demo-success);
}

.store-card__brands,
.store-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.store-card__brands span,
.store-detail__tags span {
  display: inline-flex;
  padding: 0.25rem 0.38rem;
  border: 1px solid var(--demo-line);
  border-radius: 999px;
  color: var(--demo-muted);
  background: #fff;
  font-size: 0.6rem;
  font-weight: 650;
}

.locator-map-panel {
  position: relative;
  min-width: 0;
  background: #e8ebef;
}

.locator-map {
  width: 100%;
  height: 100%;
  min-height: 42rem;
  filter: grayscale(0.55) contrast(0.96);
}

.locator-map-status {
  position: absolute;
  z-index: 500;
  right: 0.8rem;
  bottom: 0.8rem;
  max-width: 24rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  color: #fff;
  background: rgba(23, 25, 29, 0.82);
  font-size: 0.68rem;
}

.oneoff-marker {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--demo-accent);
  box-shadow: 0 5px 14px rgba(25, 31, 43, 0.24);
  font-size: 0.65rem;
}

.oneoff-marker.is-selected {
  background: var(--demo-ink);
}

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background: rgba(36, 94, 234, 0.24) !important;
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  color: #fff !important;
  background: var(--demo-accent) !important;
  font-weight: 750;
}

.store-detail {
  position: absolute;
  z-index: 800;
  top: 0;
  right: 0;
  width: min(31rem, 100%);
  height: 100%;
  overflow-y: auto;
  border-left: 1px solid var(--demo-line);
  background: #fff;
  box-shadow: -18px 0 50px rgba(25, 31, 43, 0.13);
}

.store-detail__close {
  position: sticky;
  z-index: 2;
  top: 0;
  left: 100%;
  width: 2.8rem;
  height: 2.8rem;
  border: 0;
  border-left: 1px solid var(--demo-line);
  border-bottom: 1px solid var(--demo-line);
  background: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.store-detail__content {
  padding: 1.5rem;
}

.store-detail__eyebrow {
  margin: 0 0 0.6rem;
  color: var(--demo-accent);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.store-detail h2 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.045em;
  line-height: 1;
}

.store-detail__address {
  color: var(--demo-muted);
}

.store-detail__status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-top: 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--demo-line);
  border-bottom: 1px solid var(--demo-line);
  font-size: 0.72rem;
}

.store-detail__section {
  margin-top: 1.6rem;
}

.store-detail__section h3 {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
}

.store-detail__hours {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1rem;
  margin: 0;
  font-size: 0.76rem;
}

.store-detail__hours dt,
.store-detail__hours dd {
  margin: 0;
}

.store-detail__hours dd {
  color: var(--demo-muted);
  text-align: right;
}

.store-detail__actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-top: 1.6rem;
}

.action-button {
  min-height: 40px;
  display: grid;
  place-items: center;
  padding: 0.55rem;
  border: 1px solid var(--demo-line);
  border-radius: 8px;
  background: #fff;
  font-size: 0.72rem;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}

.action-button--primary {
  color: #fff;
  border-color: var(--demo-accent);
  background: var(--demo-accent);
}

.locator-disclosure {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.9rem 0;
}

.locator-disclosure p {
  margin: 0;
}

.locator-disclosure a {
  color: var(--demo-accent);
  text-decoration: none;
}

/* Utility */

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

@media (max-width: 1000px) {
  .demo-hero__grid,
  .demo-flow,
  .chato-page-grid {
    grid-template-columns: 1fr;
  }

  .feature-card-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .article-layout {
    grid-template-columns: minmax(0, 44rem);
  }

  .article-toc {
    position: static;
  }

  .locator-workspace {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(25rem, 50vh) auto;
  }

  .locator-map-panel {
    grid-row: 1;
  }

  .locator-results-panel {
    grid-row: 2;
    max-height: 38rem;
    border-top: 1px solid var(--demo-line);
    border-right: 0;
  }
}

@media (max-width: 760px) {
  .demo-header__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.8rem 0;
  }

  .demo-nav {
    width: 100%;
    gap: 0;
    overflow-x: auto;
  }

  .demo-nav a {
    flex: 0 0 auto;
    padding: 0.5rem 0.8rem 0.5rem 0;
  }

  .demo-footer__inner,
  .page-intro__split,
  .locator-filter-row,
  .locator-disclosure {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-index {
    grid-template-columns: 1fr;
  }

  .feature-search > div,
  .locator-search > div {
    grid-template-columns: 1fr;
  }

  .feature-search input,
  .locator-search input {
    border-radius: 9px 9px 0 0;
  }

  .feature-search button,
  .locator-search button {
    border-radius: 0 0 9px 9px;
  }

  .locator-filter-row {
    display: grid;
  }

  .store-detail {
    width: 100%;
  }

  .demo-chato-drawer {
    right: 0.5rem;
    bottom: 4.5rem;
    width: calc(100vw - 1rem);
  }

  .demo-chato-launcher {
    right: 0.5rem;
    bottom: 0.5rem;
  }
}
