/* Belavo legal site — v2 · Simple · Dark */
@font-face {
  font-family: "Outside Field Serif";
  src: url("/assets/fonts/OutsideFieldSerif-VF.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
:root {
  --bg-top: #04090B; --bg-bottom: #03090A; --black: #030E09;
  --white: #FFFFFF; --gray: #949494; --line: #303030; --surface: #1B1F22;
  --teal: #1AD5D5; --glass: rgba(0,0,0,0.4); --danger: #7a1f1f;
  --serif: "Outside Field Serif", "Iowan Old Style", "Palatino", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, sans-serif;
  --max: 760px;
}
* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100vh; color: var(--white);
  background: transparent; /* the motion background (canvas) is the page's background; html carries the colour */ font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--black); padding: 8px 12px; border-radius: 20px; z-index: 50; }
.skip:focus { left: 16px; }


main { max-width: var(--max); margin: 0 auto; padding: 48px 16px 80px; }
.eyebrow { color: var(--teal); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 10px; }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 6vw, 48px); line-height: 1.1; margin: 0 0 12px; text-wrap: balance; }
.lede { color: var(--gray); font-size: 18px; font-weight: 300; margin: 0 0 8px; text-wrap: balance; }
.meta { color: var(--gray); font-size: 14px; margin: 0 0 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.meta span::before { content: "·"; margin-right: 14px; }
.meta span:first-child::before { content: ""; margin: 0; }
h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.2; margin: 44px 0 12px; text-wrap: balance; }
h3 { font-size: 17px; font-weight: 700; margin: 26px 0 8px; }
p { margin: 0 0 14px; }
p.sub, li.sub { color: var(--gray); font-weight: 300; }
ul, ol { padding-left: 22px; margin: 0 0 16px; }
li { margin: 0 0 8px; }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; margin: 18px 0;
}
.card.teal { border-color: rgba(26,213,213,0.35); }
.card.danger { border-color: rgba(200,60,60,0.5); }
.card p:last-child { margin-bottom: 0; }
.summary { background: var(--glass); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; margin: 0 0 32px; }
.summary h2 { margin-top: 0; font-size: 22px; }
.summary ul { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--gray); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.toc { border: 1px solid var(--line); border-radius: 20px; padding: 16px 20px; margin: 0 0 36px; }
.toc p { color: var(--gray); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; margin: 0 0 8px; }
.toc ol { columns: 2; column-gap: 24px; margin: 0; padding-left: 20px; }
.toc li { break-inside: avoid; margin: 0 0 4px; font-size: 15px; }
.toc a { color: var(--white); }
@media (max-width: 560px) { .toc ol { columns: 1; } }
.chip { display: inline-block; background: var(--glass); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; color: var(--white); }
.chip.teal { color: var(--teal); border-color: rgba(26,213,213,0.4); }
.btn {
  display: inline-block; height: 52px; line-height: 52px; padding: 0 26px; border-radius: 37px; font-weight: 700; font-size: 17px; color: var(--black);
  background: radial-gradient(120% 140% at 20% 0%, #ffe3ea 0%, transparent 50%), radial-gradient(120% 140% at 80% 20%, #ffe8d6 0%, transparent 55%), radial-gradient(120% 140% at 50% 110%, #d9f0ff 0%, transparent 55%), #fff;
}
.btn:hover { text-decoration: none; filter: brightness(1.03); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 24px 0; }
.tile { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px; color: var(--white); min-height: 118px; }
.tile:hover { border-color: rgba(26,213,213,0.5); text-decoration: none; }
.tile h3 { margin: 0 0 6px; font-family: var(--serif); font-weight: 400; font-size: 21px; }
.tile p { margin: 0; color: var(--gray); font-size: 14px; font-weight: 300; }
.tile .chip { margin-top: 10px; }
.note { font-size: 14px; color: var(--gray); }
.callout-911 { display: flex; align-items: center; gap: 12px; }
footer.site { border-top: 1px solid rgba(255,255,255,0.06); padding: 36px 16px 60px; color: var(--gray); font-size: 14px; }
footer.site .in { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 20px; }
footer.site .cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
footer.site h4 { color: var(--white); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 8px; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin: 0 0 6px; }
footer.site a { color: var(--gray); }
footer.site a:hover { color: var(--white); }
.fineprint { font-size: 13px; }
.placeholder { background: rgba(26,213,213,0.12); border-bottom: 1px dashed var(--teal); padding: 0 3px; border-radius: 3px; }
@media print {
  body { background: #fff; color: #000; }
  .lp-header, footer.site, .skip, .motion-bg, .spot { display: none; }
  a { color: #000; }
}

.motion-bg { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; display: block; }
html { background: #081116; } /* the motion background's own base colour: what shows with JavaScript off and in the scrollbar gutter */
