:root {
  --bg: #f4f0e8;
  --ink: #1d2428;
  --muted: #4d585e;
  --accent: #db5d2a;
  --card: rgba(255, 255, 255, 0.72);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 20%, rgba(219, 93, 42, 0.2), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(61, 108, 126, 0.2), transparent 45%),
    linear-gradient(140deg, #f8f3e8 0%, #efe7db 50%, #e9dfd4 100%);
  line-height: 1.5;
  padding: 1.5rem;
  position: relative;
  overflow-x: hidden;
}

.ambient {
  position: fixed;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  filter: blur(75px);
  pointer-events: none;
  z-index: -1;
}

.ambient-a {
  background: rgba(219, 93, 42, 0.26);
  top: -12rem;
  left: -8rem;
}

.ambient-b {
  background: rgba(13, 85, 108, 0.24);
  right: -10rem;
  bottom: -16rem;
}

.site-header,
.hero,
.grid,
.feature,
.site-footer {
  max-width: 72rem;
  margin: 0 auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.site-header nav {
  display: flex;
  gap: 1rem;
}

.site-header a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}

.eyebrow,
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.73rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero {
  margin-top: 4.5rem;
}

.hero h1,
.feature h2,
.site-footer h2 {
  font-family: "Newsreader", serif;
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
}

.hero h1 {
  font-size: clamp(2.1rem, 7vw, 5.2rem);
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  max-width: 42rem;
  color: var(--muted);
  margin-top: 1.2rem;
}

.cta {
  display: inline-block;
  margin-top: 1.7rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  background: var(--card);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(29, 36, 40, 0.12);
}

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

.grid article {
  background: var(--card);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(29, 36, 40, 0.12);
  padding: 1.3rem;
  min-height: 10rem;
}

.grid h2 {
  margin-top: 0;
  font-size: 1rem;
}

.feature {
  margin-top: 3.8rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(29, 36, 40, 0.12);
  padding: 1.8rem;
}

.feature h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.site-footer {
  margin: 4rem auto 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(29, 36, 40, 0.2);
}

.site-footer p {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }
}
