:root {
  --navy-deep: #0a1a2e;
  --navy-mid: #0e2340;
  --gold: #c8a765;
  --gold-light: #e3cd9a;
  --cream: #f2ead9;
  --slate: #93a4b8;
  --hairline: rgba(200, 167, 101, 0.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--cream);
  font-family: "Work Sans", -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6rem 1.5rem 3rem;
}

.content {
  width: 100%;
  max-width: 560px;
  text-align: center;
  animation: rise 0.9s ease-out both;
}

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

@media (prefers-reduced-motion: reduce) {
  .content { animation: none; }
  html { scroll-behavior: auto; }
}

.logo {
  width: 260px;
  height: auto;
  margin: 0 auto 1.75rem;
  display: block;
}

.rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 2.25rem;
  border: none;
  opacity: 0.6;
}

.lede {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.01em;
  margin: 0 0 1.5rem;
}

.body-text {
  font-size: 1rem;
  color: var(--slate);
  max-width: 46ch;
  margin: 0 auto 2.5rem;
}

.inline-link {
  color: var(--gold-light);
  text-decoration: underline;
  text-decoration-color: var(--hairline);
  text-underline-offset: 2px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.inline-link:hover,
.inline-link:focus-visible {
  color: var(--gold);
  text-decoration-color: var(--gold);
}

.contact-link {
  display: inline-block;
  color: var(--gold-light);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 3px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

a:focus-visible,
.contact-link:focus-visible,
.inline-link:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

footer {
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hairline);
  width: 100%;
  max-width: 560px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--slate);
}

footer p { margin: 0.35rem 0; }

footer a {
  color: var(--slate);
  text-decoration: underline;
  text-decoration-color: var(--hairline);
  text-underline-offset: 3px;
}

footer a:hover,
footer a:focus-visible {
  color: var(--gold-light);
}

.footer-links {
  margin-top: 0.75rem;
}

.footer-links a { margin: 0 0.5rem; }

/* --- Policy page --- */

.policy-page .content {
  max-width: 640px;
  text-align: left;
}

.policy-page h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  font-size: 1.9rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.policy-page .updated {
  text-align: center;
  color: var(--slate);
  font-size: 0.85rem;
  margin-bottom: 3rem;
}

.policy-page h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-top: 2.75rem;
  margin-bottom: 0.75rem;
}

.policy-page h3 {
  font-size: 1rem;
  color: var(--cream);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.policy-page p, .policy-page li {
  color: var(--slate);
  font-size: 0.95rem;
}

.policy-page .back-link {
  display: inline-block;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

@media (max-width: 480px) {
  .page { padding: 4rem 1.25rem 2.5rem; }
  .logo { width: 200px; }
  .lede { font-size: 1.25rem; }
  footer { margin-top: 3.5rem; }
}
