:root {
  --bg: #f5f5ff;
  --surface: #ffffff;
  --surface-2: #f5f5f5;
  --line: #e7e7ee;

  --text: #1f2937;
  --muted: #5f6b7a;

  --brand: #c80a19;
  --brand-2: #ff3b4d;
  --brand-soft: rgba(200, 10, 25, 0.18);

  --ok: #34d399;
  --warn: #f59e0b;
  --focus: rgba(255, 59, 77, 0.35);

  --radius-lg: 24px;
  --radius: 16px;
  --max: 1140px;

  --shadow-1: 0 10px 24px rgba(0, 0, 0, 0.08);
  --shadow-2: 0 6px 14px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.shell { max-width: var(--max); margin: 0 auto; padding: 0 18px; }
.page { padding-top: 28px; padding-bottom: 92px; }
.noscript { background: #111827; color: #fff; text-align: center; padding: 12px 16px; font-size: 14px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand__mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__text strong { font-size: 15px; letter-spacing: 0.03em; }
.brand__text small {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.selected-store {
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #7f1d1d;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.selected-store strong { font-weight: 900; }

.store:focus-visible,
.cat:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }


.hero-seo {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 99, 115, 0.38);
  background: linear-gradient(130deg, #fff1f2 0%, #ffffff 60%, #fff7ed 100%);
  box-shadow: var(--shadow-1);
  padding: clamp(18px, 2.5vw, 28px);
}
.hero-seo h1 {
  margin: 0;
  font-size: clamp(28px, 4.6vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #7f1d1d;
}
.hero-seo p {
  margin: 10px 0 0;
  max-width: 72ch;
  color: #4b5563;
  line-height: 1.6;
  font-size: clamp(15px, 2vw, 18px);
}

.board {
  margin-top: 14px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.board__item {
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-2);
}
.board__item span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  background: #fee2e2;
  border: 1px solid #fecaca;
  font-size: 12px;
  font-weight: 900;
  color: #991b1b;
}
.board__item h2 { margin: 10px 0 8px; font-size: 19px; letter-spacing: -0.01em; }
.board__item p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }
.board__item--legal {
  background: linear-gradient(180deg, rgba(200, 10, 25, 0.19), rgba(200,10,25,0.06));
  border-color: rgba(255, 99, 115, 0.45);
}

.stage {
  margin-top: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, var(--surface-2));
  box-shadow: var(--shadow-1);
  padding: clamp(16px, 2.4vw, 24px);
}
.stage__head { margin-bottom: 14px; }
.stage__head h2 { margin: 0; font-size: clamp(22px, 3.6vw, 32px); letter-spacing: -0.02em; }
.stage__head p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

.grid { display: grid; gap: 12px; }
.grid--stores { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.grid--cats { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.store,
.cat {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: inherit;
  padding: 12px;
  text-align: left;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.store { cursor: pointer; }
.cat { cursor: pointer; display: flex; flex-direction: column; gap: 9px; }
.store:hover,
.cat:hover {
  transform: translateY(-2px);
  border-color: #cfd6e3;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

.store__logo {
  height: 90px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  padding: 10px;
}

.cat__img {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 6px;
  overflow: hidden;
}
.store__name { margin-top: 10px; font-size: 15px; font-weight: 800; }

.store__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

.cat__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.store__tag,
.store__soon {
  margin-top: 8px;
  width: max-content;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 900;
  display: none;
}
.store__tag { background: linear-gradient(135deg, #E30613, #b10510); color: #fff; border: 1px solid rgba(255, 255, 255, .28); box-shadow: 0 8px 16px rgba(227, 6, 19, .32); }
.store__soon { background: rgba(245, 158, 11, .14); color: #fcd34d; border: 1px solid rgba(245, 158, 11, .34); }
.store--selected {
  border-color: rgba(227, 6, 19, 0.95);
  box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.20), 0 10px 22px rgba(227, 6, 19, 0.22);
  background: linear-gradient(180deg, #fff1f2, #ffd6db);
}
.store--selected .store__tag { display: inline-flex; }
.store--disabled { opacity: .84; }
.store--disabled .store__soon { display: inline-flex; }

.store-stage--highlight {
  animation: storeStageBlink 1s ease-in-out 3;
}
@keyframes storeStageBlink {
  0%, 100% { box-shadow: 0 0 0 0 rgba(227, 6, 19, 0); }
  50% { box-shadow: 0 0 0 5px rgba(227, 6, 19, .25); }
}

.cat__title { margin: 0; font-size: 18px; }
.cat__desc { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.cat__cta {
  margin-top: auto;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  color: #fff;
  background: linear-gradient(130deg, var(--brand), var(--brand-2));
}
.cat--disabled .cat__cta {
  color: #6b7280;
  border: 1px solid #d1d5db;
  background: #f3f4f6;
}


.stage--alerts {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.alert {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 14px 16px;
}

.alert h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.alert p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.alert a {
  color: #9f1239;
  font-weight: 800;
  text-decoration: underline;
}


.alert--danger {
  border-color: #ef4444;
  background: linear-gradient(145deg, #fff1f2, #ffe4e6);
}

.alert--info {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.alert--cta {
  border-color: #22c55e;
  background: linear-gradient(145deg, #ecfdf5, #dcfce7);
}

.alert--brand {
  border-color: rgba(255, 99, 115, 0.55);
  background: linear-gradient(145deg, #fff7ed, #fff1f2);
}

.alert--highlight {
  box-shadow: 0 0 0 3px rgba(255, 99, 115, 0.1), var(--shadow-2);
}



.promo-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}
.promo-modal--show { display: block; }
.promo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,6,20,.65);
}
.promo-modal__card {
  position: relative;
  margin: min(14vh, 120px) auto 0;
  width: min(92vw, 540px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.25);
  background: linear-gradient(150deg, #7f1d1d, #b91c1c 55%, #ef4444);
  color: #fff;
  padding: 22px;
  box-shadow: 0 18px 38px rgba(0,0,0,.35);
}
.promo-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.promo-modal__tag {
  margin: 0 0 8px;
  display: inline-block;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.42);
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}
.promo-modal__card h2 { margin: 0; font-size: clamp(28px, 4vw, 36px); line-height: 1.05; }
.promo-modal__card h2 span { color: #fde047; }
.promo-modal__card p { margin: 12px 0 0; color: #fee2e2; line-height: 1.6; }
.promo-modal__cta {
  margin-top: 16px;
  display: inline-flex;
  width: 100%;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fde047;
  color: #7f1d1d;
  font-weight: 900;
  letter-spacing: .05em;
}
.promo-modal__card {
  position: relative;
  margin: min(14vh, 120px) auto 0;
  width: min(92vw, 540px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.25);
  background: linear-gradient(150deg, #7f1d1d, #b91c1c 55%, #ef4444);
  color: #fff;
  padding: 22px;
  box-shadow: 0 18px 38px rgba(0,0,0,.35);
}
.promo-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.promo-modal__tag {
  margin: 0 0 8px;
  display: inline-block;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.42);
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}
.promo-modal__card h2 { margin: 0; font-size: clamp(28px, 4vw, 36px); line-height: 1.05; }
.promo-modal__card h2 span { color: #fde047; }
.promo-modal__card p { margin: 12px 0 0; color: #fee2e2; line-height: 1.6; }
.promo-modal__cta {
  margin-top: 16px;
  display: inline-flex;
  width: 100%;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fde047;
  color: #7f1d1d;
  font-weight: 900;
  letter-spacing: .05em;
}

.alert h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.alert p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.alert a {
  color: #9f1239;
  font-weight: 800;
  text-decoration: underline;
}


.alert--danger {
  border-color: #ef4444;
  background: linear-gradient(145deg, #fff1f2, #ffe4e6);
}

.alert--info {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.alert--cta {
  border-color: #22c55e;
  background: linear-gradient(145deg, #ecfdf5, #dcfce7);
}

.alert--brand {
  border-color: rgba(255, 99, 115, 0.55);
  background: linear-gradient(145deg, #fff7ed, #fff1f2);
}

.alert--highlight {
  box-shadow: 0 0 0 3px rgba(255, 99, 115, 0.1), var(--shadow-2);
}



.promo-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}
.promo-modal--show { display: block; }
.promo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,6,20,.65);
}
.promo-modal__card {
  position: relative;
  margin: min(14vh, 120px) auto 0;
  width: min(92vw, 540px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.25);
  background: linear-gradient(150deg, #7f1d1d, #b91c1c 55%, #ef4444);
  color: #fff;
  padding: 22px;
  box-shadow: 0 18px 38px rgba(0,0,0,.35);
}
.promo-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.promo-modal__tag {
  margin: 0 0 8px;
  display: inline-block;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.42);
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}
.promo-modal__card h2 { margin: 0; font-size: clamp(28px, 4vw, 36px); line-height: 1.05; }
.promo-modal__card h2 span { color: #fde047; }
.promo-modal__card p { margin: 12px 0 0; color: #fee2e2; line-height: 1.6; }
.promo-modal__cta {
  margin-top: 16px;
  display: inline-flex;
  width: 100%;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fde047;
  color: #7f1d1d;
  font-weight: 900;
  letter-spacing: .05em;
}

.alert h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.alert p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.alert a {
  color: #9f1239;
  font-weight: 800;
  text-decoration: underline;
}


.alert--danger {
  border-color: #ef4444;
  background: linear-gradient(145deg, #fff1f2, #ffe4e6);
}

.alert--info {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.alert--cta {
  border-color: #22c55e;
  background: linear-gradient(145deg, #ecfdf5, #dcfce7);
}

.alert--brand {
  border-color: rgba(255, 99, 115, 0.55);
  background: linear-gradient(145deg, #fff7ed, #fff1f2);
}

.alert--highlight {
  box-shadow: 0 0 0 3px rgba(255, 99, 115, 0.1), var(--shadow-2);
}


.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(8px);
  z-index: 90;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: #0f172a;
  color: #f8fafc;
  font-size: 13px;
  padding: 10px 14px;
  opacity: 0;
  pointer-events: none;
  transition: .2s;
}
.toast--show { opacity: 1; transform: translateX(-50%) translateY(0); }

.loading {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  background: rgba(2, 6, 20, 0.5);
}
.loading--show { display: grid; }
.loading__card {
  min-width: min(92vw, 380px);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(180deg, #111827, #0b1120);
  color: #fff;
  padding: 18px;
  display: grid;
  gap: 7px;
  box-shadow: var(--shadow-1);
}

.muted { color: var(--muted); }
.dots { display: inline-flex; gap: 3px; vertical-align: middle; }
.dots i {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #93c5fd;
  animation: blink 1s infinite ease-in-out;
}
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%,80%,100% { opacity: .35; } 40% { opacity: 1; } }

@media (max-width: 960px) {
  .board { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .shell { padding: 0 12px; }
  .page { padding-top: 18px; }
  .brand__mark { width: 42px; height: 42px; }
  .grid--stores { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); }
  .grid--cats { grid-template-columns: 1fr; }
  .selected-store { font-size: 11px; padding: 7px 10px; }
  .promo-modal__card { margin-top: 10vh; padding: 18px; }
}
