:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #23352f;
  background: #f5f4ef;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(32px, 7vw, 88px) 24px;
  background:
    radial-gradient(ellipse at 12% 0%, #e9eee4 0%, transparent 50%),
    radial-gradient(ellipse at 95% 100%, #eeebe3 0%, transparent 48%);
}

main { width: min(100%, 880px); }

.welcome { margin-bottom: 48px; }

h1 {
  max-width: 17ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.welcome p {
  margin: 24px 0 0;
  color: #5d6961;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.destinations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.destination {
  min-height: 230px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 52px;
  color: #23352f;
  background: #fffefb;
  border: 1px solid #d9dfd5;
  border-radius: 20px;
  box-shadow: 0 8px 28px #28382a06;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card-top { display: flex; justify-content: space-between; align-items: center; }
.icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; }
.icon svg { width: 32px; height: 32px; }
.shopping .icon { color: #416344; background: #edf2e8; }
.lab .icon { color: #46606b; background: #eaf0f2; }
.arrow { width: 24px; height: 24px; color: #55645c; }
.card-title { font-size: 1.0625rem; font-weight: 600; line-height: 1.5; letter-spacing: 0.065em; overflow-wrap: anywhere; }

.destination:focus-visible {
  outline: 3px solid #345b48;
  outline-offset: 5px;
  border-color: #829b89;
}

@media (hover: hover) {
  .destination:hover { transform: translateY(-4px); border-color: #9aaf9b; box-shadow: 0 14px 32px #28382a0d; }
}

@media (max-width: 600px) {
  body { padding: 48px 24px; }
  .welcome { margin-bottom: 32px; }
  .welcome p { margin-top: 20px; }
  .destinations { grid-template-columns: 1fr; gap: 16px; }
  .destination { min-height: 180px; padding: 28px; gap: 32px; }
  .card-title { font-size: 1rem; letter-spacing: 0.045em; }
}

@media (prefers-reduced-motion: reduce) {
  .destination { transition: none; }
  .destination:hover { transform: none; }
}

@media (forced-colors: active) {
  .destination { border: 1px solid LinkText; color: LinkText; }
  .destination:focus-visible { outline-color: Highlight; }
  .icon, .arrow { color: LinkText; }
}
