/* ============================================================
   BarnettCloud — shared styles
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;1,9..144,300;1,9..144,400&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --sky-top: #eaf5ff;
  --sky-mid: #d3e9ff;
  --sky-bottom: #f7fbff;
  --ink: #1b2a41;
  --ink-soft: #4a5a70;
  --ink-muted: #7d8a9c;
  --blue: #5aa9ff;
  --blue-light: #8fd3ff;
  --blue-deep: #2f7fe0;
  --cloud: #ffffff;
  --line: rgba(27, 42, 65, 0.10);
  --radius: 18px;
  --font-body: 'Manrope', 'Avenir Next', 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 55%, var(--sky-bottom) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: var(--blue-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

img { max-width: 100%; height: auto; display: block; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Site header (legal pages) ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 56px);
}
.site-header .brand img { width: 168px; }
.site-header nav a {
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--ink-soft); margin-left: 22px;
}
.site-header nav a[aria-current="page"] { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: center;
  padding: 26px 20px 30px;
  font-size: 0.8rem; color: var(--ink-muted);
}
.site-footer a { color: var(--ink-soft); font-weight: 600; }
.site-footer .sep { opacity: 0.4; }

/* ---------- Legal article ---------- */
.legal {
  max-width: 720px;
  margin: 12px auto 48px;
  padding: clamp(28px, 5vw, 56px) clamp(22px, 5vw, 60px);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(27, 42, 65, 0.25), 0 1px 0 rgba(255,255,255,0.8) inset;
}
.legal h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.1rem, 5vw, 3rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 6px;
}
.legal .meta {
  color: var(--ink-muted); font-size: 0.85rem; margin: 0 0 28px;
  padding-bottom: 22px; border-bottom: 1px solid var(--line);
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  margin: 34px 0 10px;
  letter-spacing: -0.005em;
}
.legal p, .legal li { color: var(--ink-soft); font-size: 0.98rem; }
.legal ul { padding-left: 1.2em; }
.legal li { margin: 4px 0; }
.legal strong { color: var(--ink); font-weight: 600; }

@media (max-width: 600px) {
  .site-header { padding: 18px 18px; }
  .site-header .brand img { width: 136px; }
  .site-header nav a { margin-left: 14px; font-size: 0.8rem; }
  .legal { margin: 6px 14px 32px; }
}
