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

:root {
  color-scheme: light;
  --navy: #18344f;
  --navy-deep: #10263b;
  --navy-mid: #244b6d;
  --blue: #7aa6d1;
  --blue-soft: #eaf2f8;
  --paper: #f5f3ee;
  --ink: #1a2b39;
  --muted: #637382;
  --line: rgba(24, 52, 79, .12);
  --white: #fff;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy-mid, #244b6d); }
a:focus-visible, summary:focus-visible { outline: 3px solid #76a7d8; outline-offset: 4px; }
.container { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }

.page-nav {
  position: sticky;
  z-index: 10;
  top: 0;
  padding: 13px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 243, 238, .94);
  backdrop-filter: blur(12px);
}
.page-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-size: 19px; font-weight: 800; letter-spacing: -.055em; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-size: 14px; font-weight: 650; text-decoration: none; }
.back-link:hover, footer a:hover { text-decoration: underline; }
.back-arrow { font-size: 19px; line-height: 1; }

.legal-page { padding: 58px 0 86px; }
.legal-content { max-width: 780px; margin-inline: auto; }
.eyebrow { margin: 0 0 8px; color: #54799b; font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
h1 { margin: 0; color: var(--navy); font-size: clamp(34px, 5vw, 46px); font-weight: 780; line-height: 1.1; letter-spacing: -.045em; }
.last-updated { margin: 10px 0 30px; color: var(--muted); font-size: 13px; }
.legal-content h2 { margin: 30px 0 7px; color: var(--navy); font-size: 19px; font-weight: 720; letter-spacing: -.015em; line-height: 1.35; }
.legal-content p, .legal-content li { color: var(--muted); font-size: 15px; }
.legal-content p { margin: 0 0 12px; }
.legal-content ul, .legal-content ol { margin: 0 0 15px; padding-left: 23px; }
.legal-content li { margin: 0 0 7px; padding-left: 3px; }
.legal-content strong { color: var(--ink); font-weight: 650; }
.legal-content a { overflow-wrap: anywhere; }
.legal-callout { margin: 20px 0; padding: 18px 20px; border: 1px solid rgba(122, 166, 209, .38); border-radius: 18px; background: var(--blue-soft); }
.legal-callout p:last-child { margin-bottom: 0; }

.support-page { min-height: calc(100vh - 148px); padding: 76px 0 90px; }
.support-intro { margin: 0 auto 44px; max-width: 640px; text-align: center; }
.support-intro h1 { margin-bottom: 14px; }
.support-intro > p:not(.eyebrow) { margin: 0 auto 22px; max-width: 540px; color: var(--muted); font-size: 17px; }
.support-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1.5px solid var(--navy);
  border-radius: 14px;
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(24, 52, 79, .08);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.support-link:hover { color: var(--white); background: var(--navy); transform: translateY(-2px); }
.support-mark { font-size: 19px; line-height: 1; }
.support-details { max-width: 780px; margin-inline: auto; }
.support-details h2 { margin: 0 0 15px; color: var(--navy); text-align: center; font-size: 24px; letter-spacing: -.025em; }
.support-note { max-width: 680px; margin: 25px auto 0; color: var(--muted); font-size: 13px; text-align: center; }
details {
  margin: 10px 0;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 7px 20px rgba(24, 52, 79, .04);
}
summary { position: relative; padding: 16px 26px 16px 0; color: var(--navy); font-size: 15px; font-weight: 680; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 1px; top: 11px; color: var(--navy); font-size: 24px; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { margin: -2px 0 16px; color: var(--muted); font-size: 14px; }

@media (max-width: 560px) {
  .container { width: min(calc(100% - 36px), 780px); }
  .page-nav { padding: 11px 18px; }
  .page-nav .container { width: 100%; }
  .brand { font-size: 17px; }
  .brand img { width: 30px; height: 30px; }
  .back-link { font-size: 13px; }
  .legal-page { padding: 41px 0 62px; }
  .legal-content p, .legal-content li { font-size: 14px; }
  .support-page { padding: 56px 0 68px; }
  .support-intro { margin-bottom: 36px; }
  .support-intro > p:not(.eyebrow) { font-size: 16px; }
  details { padding-inline: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
