/* Little Lights — shared styling for the written pages (support, privacy, terms,
   community guidelines, child safety). Same type, colour and furniture as the home page;
   tuned for long-form reading rather than a landing page. */

:root {
  --night: #241B2C;
  --night-soft: #352A41;
  --ink: #352A41;
  --muted: #605971;
  --paper: #FFF7F6;
  --white: #FFFFFF;
  --berry: #B83363;
  --berry-light: #E39BB5;
  --blue: #4072B7;
  --champagne: #F4D9A6;
  --line: rgba(53, 42, 65, .12);
  --display: "Outfit", system-ui, sans-serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: var(--berry); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--champagne); outline-offset: 4px; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 520; line-height: 1.06; letter-spacing: -.03em; }
p { margin: 0; line-height: 1.72; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 20px; color: var(--berry); font-size: 12px;
  font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }

/* Navigation — sits on the dark page head, exactly as it does on the hero */
.site-header { position: absolute; z-index: 50; top: 0; left: 0; right: 0; color: #fff; padding: 28px 0; }
.nav { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; font-family: var(--display); font-size: 20px; font-weight: 600; }
.brand-mark { width: 24px; height: 28px; filter: drop-shadow(0 0 16px rgba(227,155,181,.5)); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 10px 14px; color: rgba(255,255,255,.76); font-size: 14px; text-decoration: none; transition: .2s ease; }
.nav-links a:hover { color: #fff; }
.nav-links .nav-cta { border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.menu-button { display: none; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.menu-button span, .menu-button::before, .menu-button::after { content: ""; display: block; width: 18px; height: 1.5px; margin: 4px auto; background: currentColor; transition: transform .25s ease, opacity .25s ease; }
.menu-button[aria-expanded="true"] span { opacity: 0; }
.menu-button[aria-expanded="true"]::before { transform: translateY(5.5px) rotate(45deg); }
.menu-button[aria-expanded="true"]::after { transform: translateY(-5.5px) rotate(-45deg); }

/* Page head */
.page-head {
  position: relative; padding: 172px 0 86px; color: #fff;
  background:
    radial-gradient(circle at 78% 20%, rgba(190,56,104,.42), transparent 42%),
    linear-gradient(145deg, #1A1420 0%, #2B2035 62%, #2c1f41 100%);
  overflow: hidden;
}
.page-head .eyebrow { color: #F3C9D8; }
.page-head h1 { max-width: 15ch; font-size: clamp(42px, 6vw, 74px); }
.page-head .lead { max-width: 620px; margin-top: 24px; color: rgba(255,255,255,.7); font-size: 18px; }
.page-head .updated { margin-top: 26px; color: rgba(255,255,255,.44); font-size: 13px; letter-spacing: .02em; }

/* The writing itself */
.doc { padding: 78px 0 104px; }
/* The measure stays at 760px, but flush with the heading above it rather than centred. */
.doc > * { max-width: 760px; }
.doc h2 {
  margin: 62px 0 14px; font-size: clamp(27px, 3vw, 34px);
}
.doc h2:first-child { margin-top: 0; }
.doc h3, .doc .q { margin: 30px 0 6px; font-family: var(--display); font-size: 21px; font-weight: 520; line-height: 1.25; letter-spacing: -.02em; color: var(--ink); }
.doc p, .doc li { color: var(--muted); font-size: 17px; }
.doc p + p { margin-top: 14px; }
.doc ul, .doc ol { margin: 14px 0; padding-left: 22px; }
.doc li { margin: 8px 0; line-height: 1.7; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc a { text-underline-offset: 3px; }
.doc hr { margin: 46px 0; border: 0; border-top: 1px solid var(--line); }

/* Pull-out box (contact details, the important line on a policy page) */
.callout, .contact {
  margin: 28px 0; padding: 24px 26px; border: 1px solid var(--line); border-radius: 18px;
  background: var(--white); box-shadow: 0 18px 46px rgba(53,42,65,.07);
  color: var(--muted); font-size: 17px; line-height: 1.7;
}
.callout strong, .contact strong { display: block; margin-bottom: 4px; color: var(--ink); font-family: var(--display); font-size: 20px; font-weight: 520; }

footer { padding: 30px 0 42px; color: #7e7689; background: var(--night); font-size: 12px; }
.footer-row { display: flex; justify-content: space-between; gap: 30px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.1); }
footer a { color: rgba(255,255,255,.54); text-decoration: none; }
footer a:hover { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 760px) {
  .shell { width: min(100% - 34px, 1180px); }
  .site-header { padding: 18px 0; }
  .menu-button { display: block; position: relative; z-index: 52; }
  .nav-links {
    position: fixed; z-index: 51; inset: 0; display: flex; flex-direction: column;
    justify-content: center; gap: 16px; padding: 100px 32px 40px;
    background: rgba(36,27,44,.98); opacity: 0; visibility: hidden;
    transform: translateY(-10px); transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { width: 100%; padding: 12px; color: rgba(255,255,255,.85); font-family: var(--display); font-size: 35px; text-align: center; }
  .nav-links .nav-cta { width: auto; margin-top: 8px; padding: 13px 26px; font-family: var(--sans); font-size: 15px; }
  .page-head { padding: 130px 0 64px; }
  .doc { padding: 58px 0 80px; }
  .doc h2 { margin-top: 48px; }
  .footer-row { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
