:root {
  --from: #667eea;
  --to: #764ba2;
  --accent: #ffd166;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #fff;
  background: linear-gradient(135deg, var(--from), var(--to));
  background-attachment: fixed;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 24px;
}
.brand { font-weight: 700; font-size: 1.2rem; letter-spacing: .5px; }
.today { opacity: .85; font-size: .9rem; }

main {
  flex: 1;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.hero { text-align: center; padding: 48px 0 32px; animation: fade .6s ease both; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); margin: 0 0 24px; }

blockquote { margin: 0 auto 32px; max-width: 640px; }
blockquote p { font-size: 1.25rem; line-height: 1.7; margin: 0 0 8px; }
blockquote cite { color: var(--accent); font-style: normal; }

button {
  font: inherit;
  cursor: pointer;
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
  padding: 10px 26px;
  border-radius: 999px;
  transition: background .2s, color .2s;
}
button:hover { background: var(--accent); color: var(--to); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.card {
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 16px;
  padding: 22px;
  backdrop-filter: blur(6px);
  animation: fade .6s ease both;
}
.card:nth-child(2) { animation-delay: .1s; }
.card:nth-child(3) { animation-delay: .2s; }
.card-icon { font-size: 2rem; }
.card h3 { margin: 10px 0 6px; color: var(--accent); }
.card p { margin: 0; line-height: 1.6; opacity: .95; }

footer { text-align: center; padding: 20px 16px 28px; font-size: .9rem; }
.tip { margin: 0 0 6px; opacity: .9; }
.copy { margin: 0; opacity: .7; }

@keyframes fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
