/* Shared styling for the standalone legal pages (Privacy, Terms). These are
   served directly, outside the SPA, so they carry their own palette + font to
   match the rest of the site (Geologica, AH navy/blue/gold). */

@font-face {
  font-family: "Geologica";
  src: url("/assets/fonts/geologica-variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ah-navy: #024895;
  --ah-blue: #057ee7;
  --ah-bronze: #af854d;
  --ah-ink: #12304f;
  --ah-muted: #54718a;
  --ah-line: #d7e7ef;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Geologica", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ah-ink);
  line-height: 1.62;
  background:
    linear-gradient(180deg, rgba(204, 242, 244, 0.4), rgba(255, 255, 255, 0) 32rem),
    #f7fbfd;
}

.site-header {
  border-bottom: 1px solid var(--ah-line);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.site-header .brand {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
}

.site-header .brand img {
  display: block;
  height: 2.5rem;
  width: auto;
}

.legal-page {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2.75rem 1.5rem 1.5rem;
}

.legal-page .eyebrow {
  margin: 0 0 0.7rem;
  color: var(--ah-bronze);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-page h1 {
  margin: 0 0 1.1rem;
  color: var(--ah-navy);
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.legal-page > p:first-of-type {
  font-size: 1.08rem;
  color: var(--ah-muted);
}

.legal-page h2 {
  margin: 2.1rem 0 0.55rem;
  color: var(--ah-navy);
  font-size: 1.2rem;
  line-height: 1.3;
}

.legal-page p,
.legal-page li {
  color: var(--ah-ink);
  font-size: 1rem;
}

.legal-page ul {
  padding-left: 1.25rem;
}

.legal-page li {
  margin-bottom: 0.4rem;
}

.legal-page a {
  color: var(--ah-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-footer {
  max-width: 48rem;
  margin: 2rem auto 0;
  padding: 1.4rem 1.5rem 3rem;
  border-top: 1px solid var(--ah-line);
  color: var(--ah-muted);
  font-size: 0.9rem;
}

.legal-footer a {
  color: var(--ah-navy);
  font-weight: 700;
  text-decoration: none;
}

.legal-footer a:hover {
  text-decoration: underline;
}
