/* Shared styles for the content pages (store profiles, about, contact).
   Tokens mirror the ones inside public/index.html — keep the two in sync if the
   palette ever changes. */

:root {
  --page: #f4f4f5;
  --card: #fdfdfd;
  --line: #e4e4e7;
  --ink: #27272a;
  --ink-2: #52525b;
  --ink-3: #71717a;
  --brand: #0b3fa8;
  --brand-soft: #eaf0fd;
  --cta: #e8590c;
  --cta-ink: #ffffff;
  --accent: #ffd9bf;
  --accent-ink: #8a3b06;
  --accent-soft: #fff1e6;
  --radius: 4px;
  --font: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { padding: 16px 64px; max-width: 1180px; margin: 0 auto; }

/* ---------- top bar ---------- */
header.top { background: rgba(253,253,253,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 22px; padding-top: 12px; padding-bottom: 12px; }
.wordmark { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.wordmark b { color: var(--brand); font-weight: 800; }
.brand-logo { display: block; height: 90px; width: auto; }
.foot-brand .brand-logo { height: 56px; }
nav.main { margin-left: auto; display: flex; gap: 20px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
nav.main a:hover { color: var(--ink); }
nav.main a[aria-current="page"] { color: var(--ink); }
nav.main a.partner { color: var(--cta); }

/* ---------- page hero ---------- */
.crumbs { font-size: 13px; color: var(--ink-3); margin: 22px 0 0; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.page-head { display: flex; align-items: flex-start; gap: 16px; margin: 10px 0 0; }
.page-head .avatar {
  width: 56px; height: 56px; border-radius: 12px; flex: none; object-fit: contain;
  background: #fff; outline: 1px solid var(--line); padding: 4px;
}
.page-head .avatar.init { display: grid; place-items: center; font-size: 15px; font-weight: 800; color: var(--ink-3); background: #f4f4f5; }
h1 { margin: 0; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.tagline { margin: 6px 0 0; font-size: 15.5px; color: var(--ink-2); }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 8px; }

/* ---------- layout ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); gap: 26px; margin-top: 26px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.panel h2 { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.prose p { margin: 0 0 14px; font-size: 15.5px; color: var(--ink-2); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 700; }
blockquote.pull {
  margin: 0 0 16px; padding: 2px 0 2px 16px; border-left: 3px solid var(--accent);
  font-size: 17px; line-height: 1.5; font-weight: 600; color: var(--ink);
}

dl.facts { margin: 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
dl.facts div { display: grid; gap: 2px; }
dl.facts dt { font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
dl.facts dd { margin: 0; font-size: 14.5px; color: var(--ink); line-height: 1.45; }
dl.facts dd a { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--line); }
dl.facts dd a:hover { text-decoration-color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.chip {
  display: inline-flex; align-items: center; width: fit-content; max-width: 100%; flex: 0 0 auto;
  font-size: 12.5px; font-weight: 600; color: var(--brand); background: var(--brand-soft);
  border-radius: 999px; padding: 3px 10px; white-space: nowrap;
}
.chip.plain { color: var(--ink-2); background: #f4f4f5; }
.chip.paid { color: var(--accent-ink); background: var(--accent-soft); font-weight: 800; }
.chips-note { font-size: 13px; color: var(--ink-3); margin-top: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14.5px; font-weight: 800; padding: 12px 20px; border-radius: var(--radius);
  background: var(--cta); color: var(--cta-ink); border: 1px solid var(--cta); cursor: pointer;
}
.btn:hover { filter: brightness(.95); }
.btn.ghost { background: var(--card); color: var(--ink); border-color: var(--line); font-weight: 700; }
.btn.ghost:hover { border-color: rgba(39,39,42,.35); filter: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

/* ---------- owner box ---------- */
.owner {
  margin-top: 26px; padding: 20px 22px; border-radius: var(--radius);
  background: #fffbeb; border: 1px solid #fde68a;
}
.owner h2 { margin: 0 0 6px; font-size: 16px; font-weight: 800; color: #7c4a03; }
.owner p { margin: 0 0 12px; font-size: 14.5px; color: #7c4a03; line-height: 1.55; }
.owner .btn { background: #7c4a03; border-color: #7c4a03; color: #fffbeb; }
.owner .btn.ghost { background: transparent; border-color: #e3b34e; color: #7c4a03; }
.owner .mail { font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- store grid ---------- */
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 22px; }
.store-card {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); transition: transform .15s, box-shadow .15s;
}
.store-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(24,24,27,.4); }
.store-card img, .store-card .init {
  width: 42px; height: 42px; border-radius: 9px; object-fit: contain; background: #fff;
  outline: 1px solid var(--line); padding: 3px; flex: none;
}
.store-card .init { display: grid; place-items: center; font-size: 13px; font-weight: 800; color: var(--ink-3); background: #f4f4f5; }
.store-card h3 { margin: 0 0 2px; font-size: 15px; font-weight: 800; }
.store-card p { margin: 0; font-size: 13px; color: var(--ink-3); line-height: 1.45; }

/* ---------- footer ---------- */
footer.site { margin-top: 56px; background: #fbfbfc; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.4fr; gap: 32px; padding-top: 36px; padding-bottom: 28px; }
.foot-brand p { margin: 10px 0 0; font-size: 13px; color: var(--ink-3); line-height: 1.6; max-width: 40ch; }
.foot-col h4 { margin: 0 0 10px; font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.foot-col a { font-size: 13px; color: var(--ink-2); }
.foot-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.foot-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center;
  border-top: 1px solid var(--line); padding-top: 16px; padding-bottom: 26px; font-size: 12px; color: var(--ink-3);
}
.foot-bottom .right { margin-left: auto; }

@media (max-width: 860px) {
  .container { padding: 14px 18px; }
  .bar { padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; gap: 10px; }
  .brand-logo { height: 56px; }
  nav.main { order: 3; flex-basis: 100%; margin-left: 0; justify-content: space-between; gap: 10px; font-size: 13px; }
  .split { grid-template-columns: 1fr; gap: 18px; }
  .foot-grid { grid-template-columns: 1fr; gap: 22px; }
  .foot-bottom .right { margin-left: 0; }
  nav.main { gap: 14px; font-size: 13px; }
  .page-head .avatar { width: 46px; height: 46px; border-radius: 10px; }
}

/* ---------- partner / list-your-store page ---------- */
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.benefit { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.benefit .n {
  width: 26px; height: 26px; display: grid; place-items: center; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 800; margin-bottom: 10px;
}
.benefit h3 { margin: 0 0 6px; font-size: 15.5px; font-weight: 800; }
.benefit p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.benefit .free { color: #0f7a3d; font-weight: 800; }

.cta-box {
  margin-top: 30px; padding: 24px 26px; border-radius: var(--radius);
  background: linear-gradient(135deg, #0b3fa8 0%, #12307d 100%); color: #fff;
}
.cta-box h2 { margin: 0 0 6px; font-size: 20px; font-weight: 800; color: #fff; }
.cta-box p { margin: 0 0 16px; font-size: 14.5px; color: #d8e2ff; line-height: 1.55; max-width: 62ch; }
.cta-box .btn { background: #fff; color: #0b3fa8; border-color: #fff; }
.cta-box .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.cta-box .mail { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }

.faq { margin-top: 26px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-size: 15px; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; display: inline-block; width: 18px; color: var(--cta); font-weight: 800; }
.faq details[open] summary::before { content: "–"; }
.faq p { margin: 8px 0 0 18px; font-size: 14px; color: var(--ink-2); line-height: 1.55; }

.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.step3 { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.step3 .k { font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--cta); }
.step3 h3 { margin: 6px 0 4px; font-size: 14.5px; font-weight: 800; }
.step3 p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }

@media (max-width: 860px) {
  .benefits, .steps3 { grid-template-columns: 1fr; }
  .cta-box { padding: 20px; }
}

/* ---------- contact form ---------- */
.form { display: grid; gap: 14px; margin-top: 4px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: grid; gap: 5px; font-size: 12.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-3); }
.fld input, .fld select, .fld textarea {
  font: inherit; font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none;
  padding: 11px 13px; border: 1px solid rgba(39,39,42,.2); border-radius: var(--radius);
  background: #fff; color: var(--ink); outline: none; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.fld textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.fld input:focus, .fld select:focus, .fld textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11,63,168,.14);
}
.fld input[aria-invalid="true"], .fld textarea[aria-invalid="true"], .fld select[aria-invalid="true"] {
  border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,.12);
}
.hint { font-size: 12px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; text-transform: none; }
.err { font-size: 12px; font-weight: 700; color: #b42318; letter-spacing: 0; text-transform: none; min-height: 0; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 12.5px; color: var(--ink-3); margin: 0; }
.form-msg { display: none; padding: 14px 16px; border-radius: var(--radius); font-size: 14px; line-height: 1.5; }
.form-msg.ok { display: block; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.form-msg.bad { display: block; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.form-msg b { font-weight: 800; }
@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } }

/* ---------- SEO landing pages: items, cities, indexes ---------- */
.foot-grid { grid-template-columns: 1.4fr .8fr 1fr .8fr 1fr; }

.cta-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 20px 0 26px; }
.cta-note { font-size: 13px; color: var(--ink-3); }
.muted { color: var(--ink-3); font-size: 12.5px; margin-left: 6px; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.steps li { counter-increment: step; position: relative; padding-left: 34px; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%; background: var(--brand-soft); color: var(--brand);
  font-size: 12px; font-weight: 800; display: grid; place-items: center;
}

.item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(214px, 1fr)); gap: 12px; margin-top: 18px; }
.item-card {
  display: grid; gap: 4px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none; color: var(--ink);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.item-card:hover { border-color: var(--brand); box-shadow: 0 2px 10px rgba(11,63,168,.08); transform: translateY(-1px); }
.item-card b { font-size: 15px; font-weight: 800; }
.item-card span { font-size: 12.5px; color: var(--ink-3); }

.city-table { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.city-row {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: baseline;
  padding: 13px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.city-row:hover { border-color: var(--brand); box-shadow: 0 2px 10px rgba(11,63,168,.08); }
.city-row b { font-size: 15px; font-weight: 800; }
.city-row span { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.city-row em { grid-column: 1 / -1; font-style: normal; font-size: 12.5px; color: var(--ink-2); }

.store-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 0; }
.store-list li { padding: 11px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.store-list li:last-child { border-bottom: 0; }
.store-list a { font-size: 14.5px; font-weight: 800; color: var(--brand); text-decoration: none; }
.store-list a:hover { text-decoration: underline; }
.store-list span { font-size: 12.5px; color: var(--ink-3); line-height: 1.45; }

.tile-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tile-links a {
  font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand); text-decoration: none; border: 1px solid transparent;
}
.tile-links a:hover { border-color: var(--brand); }

@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .city-table { grid-template-columns: 1fr; }
}

.plain { list-style: none; padding-left: 0; margin: 10px 0 0; }
.plain li { padding: 4px 0; font-size: 14px; }
