/* ── Fonts ── */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/Poppins-Variable.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: italic; font-weight: 100 900; font-display: swap; src: url('/fonts/Poppins-VariableItalic.woff2') format('woff2'); }
@font-face { font-family: 'Cabinet Grotesk'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/CabinetGrotesk-Variable.woff2') format('woff2'); }

/* ── Tokens ── */
:root {
  --bg:          #D7C6E6;  /* Pantone 263 C */
  --light:       #EAE0F3;  /* lighter lavender for card/section backgrounds */
  --purple:      #10069F;  /* Pantone Blue 072 C */
  --purple-dark: #101820;  /* Pantone Black 6 C – headline text */
  --salmon:      #F2827F;  /* Pantone 2029 C */
  --text:        #101820;  /* Pantone Black 6 C */
  --muted:       rgba(16, 24, 32, 0.72);
  --rule:        rgba(16, 6, 159, 0.12);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  font-family: 'Cabinet Grotesk', sans-serif;
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
}

/* ── Skip link ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1.5rem;
  z-index: 100;
  background: var(--purple);
  color: var(--bg);
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.15s;
}

.skip-link:focus-visible { top: 0; }

/* ── Focus ── */
:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}

.btn-fill:focus-visible,
.nav-cta:focus-visible {
  outline-color: var(--salmon);
}

/* ── Utility ── */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.75rem;
}

/* ── Nav ── */
nav {
  padding: 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.nav-logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.nav-link:hover { opacity: 1; }
.nav-link[aria-current="page"] { opacity: 1; font-weight: 600; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--purple);
  text-decoration: none;
  border: 2px solid var(--purple);
  padding: 0.45rem 1.3rem;
  border-radius: 100px;
  transition: background 0.18s, color 0.18s;
}

.nav-cta:hover {
  background: var(--purple);
  color: var(--bg);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.625rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Footer ── */
footer {
  padding: 1.75rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.825rem;
  color: var(--muted);
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--muted); text-decoration: none; padding: 0.5rem 0; }
.footer-legal a:hover { color: var(--purple); }

/* ── Prose (legal pages) ── */
.prose {
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem 2.5rem 6rem;
}

.page-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--purple-dark);
  margin-bottom: 3rem;
}

.prose section { margin-bottom: 2.5rem; }

.prose h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--purple);
  margin-bottom: 0.6rem;
}

.prose p,
.prose address,
.prose li {
  font-size: 0.975rem;
  color: var(--text);
  line-height: 1.75;
  font-style: normal;
}

.prose p + p { margin-top: 0.6rem; }
.prose address + p { margin-top: 0.6rem; }
.prose ul { margin: 0.6rem 0 0 1.25rem; }
.prose li + li { margin-top: 0.3rem; }
.prose a { color: var(--purple); text-decoration: none; }
.prose a:hover { text-decoration: underline; }

mark {
  background: rgba(242, 130, 127, 0.25);
  color: var(--purple-dark);
  padding: 0 0.15em;
  border-radius: 3px;
}

/* ── Buttons ── */
.btn-fill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background: var(--purple);
  color: var(--bg);
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 0.975rem;
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s;
}

.btn-fill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(16, 6, 159, 0.28);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--purple);
  text-decoration: none;
  border: 2px solid var(--purple);
  padding: 0.7rem 1.75rem;
  border-radius: 100px;
  transition: background 0.18s, color 0.18s;
}

.btn-outline:hover {
  background: var(--purple);
  color: var(--bg);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.15s;
}

.btn-text:hover { opacity: 1; }

/* ── Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ── Responsive ── */
@media (max-width: 720px) {
  nav { padding: 1.25rem 1.5rem; flex-wrap: wrap; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 1rem 0 0.5rem;
    gap: 1rem;
    border-top: 1px solid var(--rule);
    margin-top: 0.5rem;
  }

  nav.open .nav-links { display: flex; }

  .nav-link {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  footer { flex-direction: column; gap: 0.5rem; text-align: center; padding: 1.5rem; }
  .footer-legal { justify-content: center; }
  .prose { padding: 3rem 1.5rem 5rem; }
}
