:root {
  --ink: #071410;
  --moss: #0f2a22;
  --canopy: #1c4a3a;
  --mist: #d7ebe1;
  --paper: #f3f7f4;
  --accent: #e08a3c;
  --accent-deep: #c46b1e;
  --muted: rgba(215, 235, 225, 0.72);
  --line: rgba(215, 235, 225, 0.16);
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  background: var(--ink);
  position: relative;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 180ms ease, opacity 180ms ease;
}

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

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 90% 70% at 15% 10%, rgba(224, 138, 60, 0.22), transparent 55%),
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(45, 120, 95, 0.35), transparent 50%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(18, 70, 55, 0.55), transparent 60%),
    linear-gradient(165deg, var(--ink) 0%, var(--moss) 45%, #0a1c16 100%);
  animation: drift 18s ease-in-out infinite alternate;
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(215, 235, 225, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215, 235, 225, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  opacity: 0.5;
}

.atmosphere-soft {
  animation: none;
  opacity: 0.95;
}

@keyframes drift {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.06) translate3d(-1.5%, 1%, 0);
  }
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem clamp(1.25rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}

.mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 1.25rem;
}

nav a {
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.85;
}

nav a[aria-current="page"],
nav a:hover {
  opacity: 1;
  color: var(--accent);
}

.hero {
  min-height: calc(100vh - 5.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 8vh, 5rem) clamp(1.25rem, 4vw, 3rem) 3rem;
  max-width: 52rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.5rem, 16vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--paper);
}

.lede {
  margin: 1.5rem 0 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--muted);
}

.lede.narrow {
  max-width: 36rem;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.button:hover {
  background: var(--accent-deep);
  color: var(--ink);
  transform: translateY(-1px);
}

.text-link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.1rem;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem) 1.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}

.doc-main {
  max-width: 42rem;
  padding: clamp(2rem, 6vh, 3.5rem) clamp(1.25rem, 4vw, 3rem) 3rem;
}

.doc-main h1 {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--paper);
}

.meta {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.policy {
  margin-top: 2.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.policy section {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.policy section:last-child {
  border-bottom: 0;
}

.policy h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--paper);
}

.policy p,
.policy li {
  color: var(--muted);
}

.policy p {
  margin: 0 0 0.85rem;
}

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

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

.policy li + li {
  margin-top: 0.45rem;
}

.policy strong {
  color: var(--paper);
  font-weight: 600;
}

.animate-in {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-1 {
  animation-delay: 120ms;
}

.delay-2 {
  animation-delay: 240ms;
}

.delay-3 {
  animation-delay: 360ms;
}

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

@media (prefers-reduced-motion: reduce) {
  .atmosphere,
  .animate-in {
    animation: none !important;
  }

  .animate-in {
    opacity: 1;
    transform: none;
  }

  .button:hover {
    transform: none;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: calc(100svh - 5rem);
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
