:root {
  --bg: #f6f3ea;
  --surface: #ffffff;
  --ink: #122230;
  --accent: #0e7a6d;
  --accent-2: #d0742f;
  --muted: #4b5b67;
  --border: #d7d2c3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 0%, #fff8df 0%, transparent 50%),
    radial-gradient(circle at 85% 25%, #dff5ef 0%, transparent 42%),
    var(--bg);
  line-height: 1.5;
}

header,
main,
footer {
  width: min(1024px, calc(100% - 2rem));
  margin: 0 auto;
}

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

.kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  line-height: 1.1;
}

.lead {
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

section {
  margin: 2.5rem 0;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  backdrop-filter: blur(1px);
}

.grid {
  display: grid;
  gap: 0.9rem;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

article h3 {
  margin-top: 0;
}

.button {
  border-radius: 999px;
  padding: 0.7rem 1rem;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.button.ghost {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

label {
  display: block;
  margin: 0.75rem 0;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem;
  font: inherit;
}

.muted {
  color: var(--muted);
}

footer {
  padding: 2rem 0 3rem;
  color: var(--muted);
}

@media (max-width: 768px) {
  .grid.three,
  .grid.two {
    grid-template-columns: 1fr;
  }
}
