@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/jost-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #002870;
  --navy-mid: #33497E;
  --navy-dim: #44598E;
  --mint: #67D18E;
  --mint-deep: #2F9D62;
  --bg-top: #FDFEFD;
  --bg-bottom: #F0F8F2;
  --hairline: rgba(0, 40, 112, 0.12);
}

* { box-sizing: border-box; }

html { height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: "Jost", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--navy);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px 32px;
}

.logo-wrap {
  position: relative;
  width: min(560px, 88vw);
  margin: 0;
}

.logo-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.parasol-target {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.parasol-target path {
  fill: transparent;
  pointer-events: fill;
  cursor: pointer;
}

.tagline {
  margin: clamp(22px, 4.5vh, 40px) 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-indent: 0.24em; /* balance the trailing tracking space */
}

.note {
  margin: 14px 0 0;
  max-width: 34em;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--navy-dim);
}

footer {
  padding: 8px 24px calc(28px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 0.85rem;
  color: var(--navy-dim);
}

.divider {
  width: 48px;
  height: 3px;
  border-radius: 2px;
  margin: 0 auto 18px;
  background: var(--mint);
}

footer nav a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--hairline);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

footer nav a:hover,
footer nav a:focus-visible {
  text-decoration-color: var(--mint-deep);
}

.sep { margin: 0 8px; color: var(--mint-deep); }

.copyright { margin: 10px 0 0; }

/* --- entrance --- */

.fade { opacity: 0; animation: fade-up 0.9s ease-out forwards; }
.fade-2 { animation-delay: 0.25s; }
.fade-3 { animation-delay: 0.4s; }
.fade-4 { animation-delay: 0.55s; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .fade { animation: none; opacity: 1; transform: none; }
}

/* --- legal pages --- */

.legal main {
  flex: 1;
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  padding: 32px 24px 56px;
}

.brandbar {
  padding: 28px 24px 0;
  text-align: center;
}

.brandbar img { height: 64px; width: auto; }

.legal h1 {
  font-size: 1.45rem;
  font-weight: 500;
  margin: 28px 0 4px;
}

.legal .updated {
  margin: 0 0 28px;
  font-size: 0.85rem;
  color: var(--navy-dim);
}

.legal h2 {
  font-size: 1.08rem;
  font-weight: 500;
  margin: 2.1em 0 0.5em;
}

.legal p, .legal li {
  line-height: 1.7;
  color: var(--navy-mid);
}

.legal a { color: var(--navy); text-underline-offset: 3px; }

.legal footer { margin-top: 24px; }

/* --- small screens --- */

@media (max-width: 420px) {
  .tagline { font-size: 0.8rem; letter-spacing: 0.2em; text-indent: 0.2em; }
  .note { font-size: 0.95rem; }
  .hero { padding: 36px 20px 24px; }
}
