:root {
  --ink: #0f1724;
  --ink-soft: #4a5568;
  --paper: #eef2f6;
  --paper-mid: #e3e9f0;
  --accent: #1f7a8c;
  --accent-deep: #155e6c;
  --glow: rgba(31, 122, 140, 0.16);
  --line: rgba(15, 23, 36, 0.1);
  --font-display: "Syne", "Avenir Next", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(ellipse 85% 55% at 0% 0%, var(--glow), transparent 55%),
    radial-gradient(ellipse 60% 45% at 100% 10%, rgba(15, 23, 36, 0.05), transparent 50%),
    linear-gradient(160deg, var(--paper) 0%, #f5f7fa 50%, var(--paper-mid) 100%);
  background-attachment: fixed;
}

a {
  color: var(--accent-deep);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--accent);
}

.wrap {
  width: min(40rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3.5rem 0 4rem;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2.75rem;
  animation: rise 0.7s ease-out both;
}

.site-header img {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.85rem;
  box-shadow: 0 8px 24px rgba(15, 23, 36, 0.12);
}

.brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.brand a {
  color: inherit;
  text-decoration: none;
}

.hero {
  animation: rise 0.8s ease-out 0.08s both;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.hero p {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-bottom: 2.5rem;
  animation: rise 0.8s ease-out 0.16s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 0.55rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: var(--ink);
  color: #f5f7fa;
}

.btn-primary:hover {
  background: var(--accent-deep);
  color: #fff;
}

.btn-ghost {
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: rgba(15, 23, 36, 0.28);
}

.meta {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.95rem;
  animation: rise 0.8s ease-out 0.24s both;
}

.meta p {
  margin: 0 0 0.5rem;
}

.meta a {
  font-weight: 600;
}

.site-footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.875rem;
  animation: rise 0.8s ease-out 0.3s both;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.75rem;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent-deep);
  text-decoration: underline;
}

.page-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  animation: rise 0.7s ease-out both;
}

.effective {
  margin: 0 0 2rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  animation: rise 0.7s ease-out 0.06s both;
}

.policy section {
  margin-bottom: 1.5rem;
  animation: rise 0.7s ease-out both;
}

.policy section:nth-child(1) { animation-delay: 0.08s; }
.policy section:nth-child(2) { animation-delay: 0.1s; }
.policy section:nth-child(3) { animation-delay: 0.12s; }
.policy section:nth-child(4) { animation-delay: 0.14s; }
.policy section:nth-child(5) { animation-delay: 0.16s; }
.policy section:nth-child(6) { animation-delay: 0.18s; }
.policy section:nth-child(7) { animation-delay: 0.2s; }
.policy section:nth-child(8) { animation-delay: 0.22s; }
.policy section:nth-child(9) { animation-delay: 0.24s; }

.policy h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.policy p,
.policy ul {
  margin: 0;
  color: var(--ink-soft);
}

.policy ul {
  padding-left: 1.15rem;
}

.policy li {
  margin-bottom: 0.35rem;
}

.policy li:last-child {
  margin-bottom: 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.6rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
