:root {
  --bg-top: #f7f2e8;
  --bg-bottom: #e7efe6;
  --ink: #1a1b1a;
  --ink-soft: #3a3f3b;
  --accent: #d96b3b;
  --card: #ffffff;
  --border: #d5d0c6;
  --shadow: 0 24px 60px rgba(25, 24, 22, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(
      1200px 600px at 10% -10%,
      #fff7e0 0%,
      rgba(255, 247, 224, 0) 70%
    ),
    radial-gradient(
      900px 500px at 90% 10%,
      #e9f2ff 0%,
      rgba(233, 242, 255, 0) 65%
    ),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

.page {
  position: relative;
  overflow: hidden;
}

.page::before,
.page::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(217, 107, 59, 0.12);
}

.page::before {
  top: 120px;
  left: -140px;
}

.page::after {
  bottom: 120px;
  right: -160px;
  background: rgba(58, 111, 86, 0.12);
}

.container {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 24px 80px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: absolute;
  top: 16px;
  left: 24px;
  right: 24px;
  padding: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo img {
  width: 200px;
  height: auto;
  filter: brightness(0) saturate(100%);
}

nav {
  display: flex;
  gap: 24px;
  font-weight: 500;
}

nav a {
  text-decoration: none;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 4px;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a:focus::after,
nav a[aria-current="page"]::after {
  width: 100%;
}

nav a[aria-current="page"] {
  color: var(--ink);
}

main {
  padding-top: 120px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
  padding: 48px 0 56px;
}

.hero h1,
.page-title {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2.4rem, 3.3vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 16px;
}

.hero p,
.page-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 28px;
  color: var(--ink-soft);
  max-width: 640px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px rgba(217, 107, 59, 0.35);
}

.button.secondary {
  border-color: var(--border);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
}

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

.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 24px;
}

.hero-card h2 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 1.6rem;
  margin: 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.stat {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 16px;
  background: #faf7f1;
}

.stat strong {
  display: block;
  font-size: 1.3rem;
  margin-bottom: 6px;
  font-family: "Fraunces", "Times New Roman", serif;
}

section {
  padding: 48px 0;
}

section h2,
section h3 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 2rem;
  margin-bottom: 12px;
}

.section-lead {
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 24px;
}

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

.tile {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 20px;
}

.tile h4 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.tile p {
  margin: 0;
  color: var(--ink-soft);
}

.link-tile {
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 8px;
  transition: transform 0.2s ease;
}

.link-tile:hover {
  transform: translateY(-3px);
}

.link-tile span {
  color: var(--accent);
  font-weight: 600;
}

.manifesto {
  display: grid;
  gap: 16px;
  max-width: 760px;
  line-height: 1.75;
}

footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 24px 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

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

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

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

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

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

@media (max-width: 900px) {
  nav {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  main {
    padding-top: 150px;
  }

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

  .hero-card {
    order: -1;
  }
}

@media (max-width: 640px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    justify-content: flex-start;
  }

  main {
    padding-top: 200px;
  }

  .logo img {
    width: 84px;
  }
}
