/* ─── Hero section, search panel, metric card, SEO pages ─── */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: 36px;
  align-items: end;
  padding: 56px 0 24px;
}

.product-focus {
  width: fit-content;
  margin: 0 0 14px;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 9%, var(--surface));
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 850;
}

.hero-copy h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(40px, 4.5vw, 60px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero-copy h1 span {
  color: #0ca99b;
}

.hero-copy p {
  max-width: 600px;
  margin: 18px 0 22px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
}

/* ─── SEO city/landing page hero ─── */

.seo-hero {
  padding: 92px 0 48px;
}

.seo-hero h1 {
  max-width: 860px;
  margin: 14px 0 18px;
  color: var(--ink);
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.96;
}

.seo-hero p:not(.product-focus) {
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.seo-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 64px;
}

.seo-keywords,
.seo-links {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.seo-links a {
  color: var(--ink);
  font-weight: 800;
}

.seo-store-section {
  padding-bottom: 72px;
}

.seo-store-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.seo-store-card {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 34px rgb(15 23 42 / 0.06);
}

.seo-store-card strong,
.seo-store-card span,
.seo-store-card small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.seo-store-card strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.seo-store-card span {
  color: var(--text);
  line-height: 1.45;
}

.seo-store-card small {
  color: var(--muted);
  font-weight: 800;
}

/* ─── Money page detail sections ─── */

.seo-detail {
  display: grid;
  gap: 16px;
  padding-bottom: 64px;
}

.seo-detail .panel h2 {
  margin: 0 0 14px;
}

.seo-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.seo-stat {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.seo-stat strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.35;
}

.seo-stat span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.seo-note {
  margin: 14px 0 0;
}

.seo-note a {
  color: var(--ink);
  font-weight: 800;
}

.seo-faq {
  display: grid;
  gap: 10px;
}

.seo-faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  background: var(--surface);
}

.seo-faq-item summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--ink);
}

.seo-faq-item p {
  margin: 10px 0 0;
}

.seo-alt-list {
  margin: 0;
  padding-left: 20px;
  line-height: 1.7;
  color: var(--muted);
}

.seo-alt-list strong {
  color: var(--ink);
}

/* ─── Search form ─── */

.search-panel {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.75fr 0.65fr auto;
  gap: 12px;
  padding: 16px;
}

.search-button {
  align-self: end;
  white-space: nowrap;
}

/* ─── Metrics strip ─── */

.metric-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  overflow: hidden;
}

.metric-card div {
  min-height: 110px;
  display: grid;
  place-content: center;
  gap: 6px;
  padding: 20px;
  text-align: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric-card div:nth-child(2n) {
  border-right: 0;
}

.metric-card div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.metric-card strong {
  font-size: 2rem;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.metric-card .metric-source-health strong {
  color: var(--success);
  font-size: 1.45rem;
  letter-spacing: 0;
  white-space: nowrap;
}

.metric-card span {
  color: var(--muted);
  line-height: 1.4;
  font-size: 0.875rem;
}

.metric-icon {
  color: var(--accent);
  display: none;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 22%, transparent);
  display: none;
}
