/* Shared styling for the legal pages.
   Deliberately plainer than the marketing site: these are documents somebody has
   to read and possibly print, so the priority is line length, contrast and
   headings you can navigate, not atmosphere. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #1A202E;
  --bg-card:   #212739;
  --pink:      #FF2D87;
  --cyan:      #00D4FF;
  --text:      #FFFFFF;
  --text-muted:#98A0B8;
  --border:    rgba(255,255,255,0.09);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan); }

.wrap { max-width: 780px; margin: 0 auto; padding: 44px 24px 100px; }

header.doc { border-bottom: 1px solid var(--border); padding-bottom: 26px; margin-bottom: 34px; }
header.doc img { height: 34px; width: auto; margin-bottom: 22px; }
h1 { font-size: clamp(26px, 4vw, 34px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.sub { color: var(--text-muted); font-size: 15px; margin-top: 10px; }

/* The version block. This is what an acceptance record points at, so it is
   stated plainly at the top rather than buried in a footer. */
.version {
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.version strong { color: var(--text); }

h2 {
  font-size: 19px;
  font-weight: 700;
  margin: 38px 0 12px;
  padding-top: 6px;
}
h3 { font-size: 16px; font-weight: 700; margin: 22px 0 8px; color: var(--text); }

p { margin-bottom: 14px; color: #D7DCEA; }
ul, ol { margin: 0 0 16px 22px; color: #D7DCEA; }
li { margin-bottom: 8px; }

/* Used where the document says something a reader would otherwise miss, or
   something that is unusually in their favour. */
.callout {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--pink);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 22px 0;
}
.callout p:last-child { margin-bottom: 0; }

table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: 14.5px; }
th, td { text-align: left; padding: 10px 12px; border: 1px solid var(--border); vertical-align: top; }
th { background: var(--bg-card); font-weight: 700; }
td { color: #D7DCEA; }

footer.doc {
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13.5px;
}
