:root {
  --bg: #f6f2e9;
  --ink: #17242b;
  --muted: #4f636d;
  --card: #fffaf1;
  --line: #d7cdbd;
  --accent: #00695c;
  --accent-2: #b14d2f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 20% 0%, #fff7e8 0%, var(--bg) 44%), var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.bg-shape-a {
  width: 28rem;
  height: 28rem;
  background: #f4b48666;
  top: -9rem;
  right: -8rem;
}

.bg-shape-b {
  width: 24rem;
  height: 24rem;
  background: #5bb8a766;
  bottom: -10rem;
  left: -6rem;
}

.site-header {
  max-width: 1000px;
  margin: 1rem auto 0;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.04em;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1.2rem;
  font-weight: 500;
}

main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.hero {
  padding: 2rem 0 1.5rem;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  margin-bottom: 0.4rem;
}

h1,
h2,
h3 {
  line-height: 1.1;
}

h1 {
  font-family: "Instrument Serif", serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  margin: 0;
  max-width: 16ch;
}

.lead {
  max-width: 58ch;
  color: var(--muted);
  margin-top: 1rem;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  border: 1px solid transparent;
  font-weight: 600;
}

.btn-primary {
  background: var(--accent);
  color: #f3fffc;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: #ffffff99;
}

.panel {
  margin-top: 1.1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.2rem;
  box-shadow: 0 10px 24px #1c1a1608;
}

.panel-accent {
  background: linear-gradient(160deg, #fffaf1 0%, #fff1df 100%);
}

.cards {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem;
}

.site-footer {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
  color: var(--muted);
}

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.7s ease forwards;
}

.fade-up:nth-of-type(2) {
  animation-delay: 0.12s;
}

.fade-up:nth-of-type(3) {
  animation-delay: 0.2s;
}

.fade-up:nth-of-type(4) {
  animation-delay: 0.28s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  nav a {
    margin: 0 0.9rem 0 0;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}
