*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  background: #f5f5f5;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Header */

header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 1.25rem 1.5rem;
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  flex-shrink: 0;
}

header h1 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #1a1a1a;
}

/* Main */

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* About */

.about {
  margin-bottom: 2.5rem;
}

.about h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.about p {
  color: #555;
}

.about a {
  color: #c0392b;
  text-decoration: none;
  font-weight: 500;
}

.about a:hover {
  text-decoration: underline;
}

/* Card Grid */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 700px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* Cards */

.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

a.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

a.card:focus-visible {
  outline: 2px solid #c0392b;
  outline-offset: 2px;
}

.card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  background: #e0e0e0;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 0.875rem 1rem 1rem;
  flex: 1;
}

.card-domain {
  display: block;
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 0.25rem;
  text-transform: lowercase;
}

.card-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #1a1a1a;
}

.card-body p {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.5;
}

/* Coming Soon Overlay */

.coming-soon-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.coming-soon-overlay span {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 6px;
}

.card-coming-soon {
  cursor: default;
}

/* Footer */

footer {
  text-align: center;
  padding: 2rem 1.5rem;
  color: #999;
  font-size: 0.8rem;
}
