/* Platform Landing Site CSS (spec §8) */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #222;
  background-color: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: #222;
  letter-spacing: -0.02em;
}

.tagline {
  font-size: 1.2rem;
  font-weight: 500;
  color: #333;
  margin: 0 0 1rem 0;
}

.intro {
  font-size: 1rem;
  color: #444;
  margin: 0 0 2rem 0;
  line-height: 1.6;
}

h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem 0;
  color: #222;
}

.store-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

@media (min-width: 720px) {
  .store-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.store-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.store-card:hover {
  border-color: #bbb;
  background-color: #fafafa;
}

.store-logo {
  width: 64px;
  height: 64px;
  min-width: 64px;
  min-height: 64px;
  object-fit: contain;
  border-radius: 4px;
}

.store-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  min-width: 64px;
  min-height: 64px;
  background-color: #eee;
  color: #555;
  font-weight: 700;
  font-size: 1.75rem;
  border-radius: 4px;
  user-select: none;
}

.store-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.store-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: #222;
  margin-bottom: 0.2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-intro {
  margin: 0 0 0.25rem 0;
  color: #444;
  font-size: 0.9rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.store-address {
  font-size: 0.8rem;
  color: #777;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.merchant-line {
  margin: 2.5rem 0 1rem 0;
  font-size: 1rem;
  color: #333;
}

.merchant-line a {
  color: #222;
  font-weight: 600;
  text-decoration: underline;
}

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
  color: #666;
  font-size: 0.85rem;
  line-height: 1.5;
}

footer p {
  margin: 0;
}
