@import url("https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,400;6..72,600&family=Space+Grotesk:wght@400;500;700&display=swap");

:root {
  color-scheme: light;
  --bg-1: #f4efe6;
  --bg-2: #d9f0ee;
  --bg-3: #f8dfc5;
  --ink: #1a1a1a;
  --muted: #585252;
  --accent: #0e7c86;
  --accent-2: #b44f3a;
  --card: rgba(255, 255, 255, 0.8);
  --shadow: 0 20px 60px rgba(42, 35, 20, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--ink);
  background: linear-gradient(120deg, var(--bg-1), var(--bg-2), var(--bg-3));
  min-height: 100vh;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.4;
  z-index: -1;
}

body::before {
  top: -10vw;
  right: -10vw;
  background: radial-gradient(circle at top, #ffb385, transparent 70%);
}

body::after {
  bottom: -15vw;
  left: -10vw;
  background: radial-gradient(circle at bottom, #7dd4cc, transparent 70%);
}

.page {
  padding: 32px 20px 60px;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 500;
}

.brand {
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover {
  background: rgba(14, 124, 134, 0.12);
  color: var(--accent);
}

.nav a.is-active {
  background: rgba(180, 79, 58, 0.14);
  color: var(--accent-2);
}

.card {
  background: var(--card);
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 12px;
  color: var(--accent-2);
  margin: 0;
}

h1 {
  font-family: "Newsreader", serif;
  font-size: clamp(32px, 4vw, 52px);
  margin: 0;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
  max-width: 700px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 24px rgba(14, 124, 134, 0.25);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(14, 124, 134, 0.4);
  box-shadow: none;
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 28px;
}

.panel {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.panel h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.panel p {
  margin: 0;
  color: var(--muted);
}

.term-title {
  font-family: "Newsreader", serif;
  font-size: clamp(28px, 3.4vw, 44px);
  margin: 0 0 12px;
}

.term-section {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
}

.term-section h2 {
  margin: 0;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.term-section p,
.term-section li {
  color: var(--muted);
  line-height: 1.6;
}

.term-section ul {
  margin: 0;
  padding-left: 20px;
}

.footer {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 0.7s ease forwards;
}

.delay-1 {
  animation-delay: 0.15s;
}

.delay-2 {
  animation-delay: 0.3s;
}

.delay-3 {
  animation-delay: 0.45s;
}

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

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .card {
    padding: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .btn {
    transition: none;
  }
}
