:root {
  --bg: #fff8f0;
  --bg-mint: #e8f8ef;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #5c5c5c;
  --coral: #ff6b4a;
  --coral-dim: rgba(255, 107, 74, 0.18);
  --lime: #7cde6a;
  --lime-dim: rgba(124, 222, 106, 0.22);
  --ink: #1a1a1a;
  --radius: 1.35rem;
  --shadow: 0 12px 40px rgba(26, 26, 26, 0.08);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 15% 10%, var(--lime-dim), transparent 55%),
    radial-gradient(ellipse 60% 45% at 90% 20%, var(--coral-dim), transparent 50%),
    radial-gradient(ellipse 80% 60% at 50% 100%, var(--bg-mint), transparent 55%);
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  animation: fadeDown 0.8s ease 0.1s both;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--coral); }

.main-home {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(2rem, 8vh, 4.5rem) clamp(1.25rem, 4vw, 3rem) 3rem;
  max-width: 42rem;
  margin: 0 auto;
}

.chips {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.9s ease 0.2s both;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  animation: chipPulse 2.8s ease-in-out infinite;
}

.chip-yes {
  background: var(--lime-dim);
  color: #1f6b2a;
  border: 2px solid var(--lime);
}

.chip-no {
  background: var(--coral-dim);
  color: #a33a22;
  border: 2px solid var(--coral);
  animation-delay: 0.4s;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 12vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  animation: fadeUp 0.9s ease 0.3s both;
}

.hero-title .gradient {
  background: linear-gradient(120deg, var(--coral) 0%, #ff8f6b 45%, #5bcf7a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.entity {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  animation: fadeUp 0.9s ease 0.35s both;
}

.tagline {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 32rem;
  margin-bottom: 2rem;
  animation: fadeUp 0.9s ease 0.4s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
  animation: fadeUp 0.9s ease 0.5s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 8px 24px var(--coral-dim);
}

.btn-primary:hover { box-shadow: 0 12px 28px rgba(255, 107, 74, 0.35); }

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 2px solid rgba(26, 26, 26, 0.08);
  box-shadow: var(--shadow);
}

.cards {
  display: grid;
  gap: 1rem;
  width: 100%;
  text-align: left;
  animation: fadeUp 0.9s ease 0.55s both;
}

@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards-single { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 26, 26, 0.05);
}

.card-wide { grid-column: 1 / -1; }

.card-icon {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--coral);
  margin-bottom: 0.55rem;
}

.card h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}

.card p {
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

.card a { color: var(--coral); font-weight: 700; }

.footer {
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer a { color: var(--coral); font-weight: 700; text-decoration: none; }

/* Legal doc pages */
.main-doc {
  flex: 1;
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem clamp(1.25rem, 4vw, 2rem) 3rem;
  width: 100%;
}

.main-doc h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 2.6rem);
  margin-bottom: 0.5rem;
}

.main-doc .muted {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.main-doc h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 1.75rem 0 0.6rem;
}

.main-doc p, .main-doc li {
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.main-doc ul { padding-left: 1.25rem; margin-bottom: 1rem; }

.main-doc a { color: var(--coral); font-weight: 700; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes chipPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

@media (max-width: 560px) {
  .nav-links { gap: 0.75rem; }
  .nav-links a { font-size: 0.85rem; }
}
