:root {
  --bg: #f4fbfc;
  --surface: #ffffff;
  --ink: #11252b;
  --muted: #4f6a71;
  --accent: #1f9eb2;
  --accent-soft: #c8edf2;
  --ring: rgba(31, 158, 178, 0.22);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Outfit", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 20% 10%, #f9feff 0%, var(--bg) 48%, #eaf7f9 100%);
  padding: 32px 18px 44px;
  position: relative;
  overflow-x: hidden;
}

.bg-shape {
  position: fixed;
  border-radius: 999px;
  z-index: -1;
  filter: blur(1px);
}

.shape-one {
  width: 320px;
  height: 320px;
  background: linear-gradient(150deg, #d2f0f5 5%, #8dd9e6 95%);
  top: -100px;
  right: -90px;
}

.shape-two {
  width: 280px;
  height: 280px;
  background: linear-gradient(160deg, #e9fcff 10%, #b7eaf2 100%);
  left: -120px;
  bottom: 40px;
}

.hero,
main,
footer {
  width: min(860px, 100%);
  margin: 0 auto;
}

.hero {
  text-align: center;
  margin-bottom: 26px;
}

h1 {
  margin: 8px 0;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.02;
}

.subtitle {
  margin: 0;
  color: var(--accent);
  font-size: 1.1rem;
  font-family: "Permanent Marker", cursive;
  font-weight: 400;
}

.tagline {
  margin: 12px auto 0;
  max-width: 480px;
  color: var(--muted);
}

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

.card,
.quote-card {
  background: color-mix(in srgb, var(--surface) 86%, #f8feff 14%);
  border: 1px solid #d7edf1;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 28px -20px rgba(20, 67, 76, 0.4);
}

.card h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.card p {
  margin: 0;
  line-height: 1.5;
  color: #2d4c53;
}

.quote-card {
  grid-column: 1 / -1;
  text-align: center;
}

.quote {
  margin: 2px 0;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-family: "Permanent Marker", cursive;
}

footer {
  margin-top: 22px;
  text-align: center;
}

.button {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(160deg, #1f9eb2 0%, #188496 100%);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 500;
  box-shadow: 0 8px 18px -12px rgba(21, 96, 109, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px -14px rgba(21, 96, 109, 0.85);
}

@media (max-width: 700px) {
  body {
    padding-top: 24px;
  }

  main {
    grid-template-columns: 1fr;
  }

  .quote-card {
    grid-column: auto;
  }
}
