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

:root{
  --max-width: 920px;
  --page-pad-vertical: 48px;
  --page-pad-horizontal: 32px;
  --card-width: 260px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: white;
  color: black;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  padding: var(--page-pad-vertical) var(--page-pad-horizontal);
}

h1 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.6px;
  margin-bottom: 8px;
}

.tagline {
  font-size: 14px;
  opacity: 0.65;
  margin-bottom: 44px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  border: 2px solid black;
  padding: 22px;
  position: relative;
  width: var(--card-width);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  background: white;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 black;
}

.title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.desc {
  font-size: 13px;
  line-height: 1.55;
  opacity: 0.7;
}

.plus {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border: 2px solid black;
  background: white;
  cursor: pointer;
  font-size: 18px;
  text-decoration: none;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s ease, color 0.12s ease;
}

.plus:hover {
  background: black;
  color: white;
}

.footer {
  position: fixed;
  bottom: 28px;
  left: 28px;
  font-size: 13px;
  opacity: 0.6;
  display: flex;
  gap: 18px;
  z-index: 20;
}

.footer a {
  text-decoration: none;
  color: black;
}

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

@media (max-width: 640px) {
  body {
    flex-direction: column;
    align-items: center;
  }

  .container {
    padding-top: 60px;
  }

  .cards {
    gap: 16px;
  }

  .card {
    width: 100%;
  }

  .footer {
    position: static;
    margin-top: 40px;
    padding-bottom: 20px;
    align-self: center;
  }
}

@media (max-width: 380px) {
  h1 { font-size: 24px; }
  .tagline { font-size: 13px; }
  .card { padding: 16px; }
  .title { font-size: 15px; }
  .desc { font-size: 13px; }
  .plus { width: 24px; height: 24px; font-size: 16px; }
}
