* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--color-bg, #fbfaf7); color: var(--color-fg, #1a1a1a); font-family: 'Inter', system-ui, sans-serif; -webkit-text-size-adjust: 100%; }

.hero { padding: 40px 24px 32px; background: linear-gradient(180deg, var(--color-bg, #fbfaf7), transparent); text-align: center; }
.hero__inner { max-width: 720px; margin: 0 auto; }
.hero h1 { font-family: 'Commissioner', system-ui, sans-serif; font-weight: 700; font-size: clamp(26px, 6vw, 44px); margin: 0 0 12px; letter-spacing: -0.02em; line-height: 1.1; }
.hero p { margin: 0 0 20px; color: var(--color-muted, #666); font-size: clamp(14px, 3.5vw, 16px); line-height: 1.4; }
.hero__cta { display: inline-block; padding: 14px 24px; border-radius: 12px; background: var(--color-accent, #0f4c81); color: #fff; text-decoration: none; font-weight: 600; min-height: 44px; }

.stands { display: flex; gap: 8px; padding: 8px 24px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; max-width: 100%; margin: 0 auto; }
.stands::-webkit-scrollbar { height: 4px; }
.stand-chip { flex: 0 0 auto; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--color-border, #e5e5e0); background: #fff; font-size: 13px; cursor: pointer; white-space: nowrap; min-height: 40px; font-family: inherit; color: inherit; }
.stand-chip.active { background: var(--color-fg, #1a1a1a); color: #fff; border-color: transparent; }

.search { display: flex; gap: 12px; padding: 16px 24px; max-width: 960px; margin: 0 auto; align-items: center; }
.search input { flex: 1; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--color-border, #e5e5e0); font-size: 16px; background: #fff; min-height: 44px; -webkit-appearance: none; }
.count { color: var(--color-muted, #666); font-size: 13px; white-space: nowrap; }

.grid { display: grid; gap: 12px; padding: 8px 24px 48px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); max-width: 1280px; margin: 0 auto; }
.card { background: #fff; border: 1px solid var(--color-border, #e5e5e0); border-radius: 14px; padding: 16px; cursor: pointer; transition: transform 120ms, box-shadow 120ms; display: flex; flex-direction: column; gap: 8px; }
.card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.06); }
.card__badge { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.card__badge--offer { color: #0f4c81; }
.card__badge--seek { color: #c2410c; }
.card__text { font-size: 15px; line-height: 1.4; }
.card__meta { font-size: 12px; color: var(--color-muted, #666); display: flex; gap: 8px; flex-wrap: wrap; }

.modal { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 100; padding: 16px; overflow-y: auto; }
.modal[hidden] { display: none; }
.modal__backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.5); }
.modal__card { position: relative; max-width: 480px; width: 100%; background: #fff; border-radius: 16px; padding: 24px; max-height: 90vh; overflow-y: auto; }
.modal__card h2 { margin: 0 0 12px; font-family: 'Commissioner', sans-serif; font-size: clamp(20px, 5vw, 24px); }
.modal__card p { line-height: 1.5; margin: 12px 0; }
.modal__cta { display: inline-block; margin-top: 16px; padding: 12px 20px; background: var(--color-accent, #0f4c81); color: #fff; text-decoration: none; border-radius: 10px; font-weight: 600; min-height: 44px; }

.foot { padding: 24px 16px; text-align: center; font-size: 12px; color: var(--color-muted, #666); display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 600px) {
  .hero { padding: 28px 16px 24px; }
  .stands { padding: 8px 16px; }
  .search { padding: 12px 16px; flex-wrap: wrap; }
  .count { width: 100%; text-align: right; }
  .grid { grid-template-columns: 1fr; padding: 8px 16px 32px; gap: 10px; }
  .card { padding: 14px; }
  .modal__card { padding: 20px; border-radius: 14px; }
}

@media (hover: none) {
  .card:hover { transform: none; box-shadow: none; }
  .card:active { background: #f7f6f3; }
}
