/* NorthCore Labs — legal pages (privacy, terms). Matches site design tokens. */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #FFFFFF;
  --bg-soft: #FAFAF7;
  --bg-cream: #F4F2EC;
  --bg-tint: #E8F8F0;
  --ink: #0F1410;
  --ink-soft: #2C322E;
  --text: #4A5651;
  --text-muted: #7A8780;
  --line: rgba(15, 20, 16, 0.08);
  --line-strong: rgba(15, 20, 16, 0.14);
  --nc-green: #0CC481;
  --nc-green-deep: #0AA06A;
  --nc-green-darker: #087A50;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
}

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16.5px;
  font-weight: 400;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-head {
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 20px 0;
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand {
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.brand span { color: var(--nc-green-deep); }
.back { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.back:hover { color: var(--nc-green-deep); }

/* Document */
main { padding: 56px 0 88px; }

h1 {
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.12;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.meta {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 8px;
}
.lede {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 24px 0 8px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

h2 {
  font-size: 22px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 44px 0 14px;
  scroll-margin-top: 24px;
}
h3 {
  font-size: 17px;
  color: var(--ink-soft);
  font-weight: 700;
  margin: 26px 0 10px;
}
p { margin-bottom: 15px; }
ul, ol { margin: 0 0 16px 22px; }
li { margin-bottom: 9px; }
a { color: var(--nc-green-darker); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--nc-green-deep); }
strong { color: var(--ink-soft); font-weight: 650; }

/* Callout — used for the carrier-critical clauses */
.callout {
  background: var(--bg-tint);
  border: 1px solid rgba(12, 196, 129, 0.28);
  border-left: 3px solid var(--nc-green);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin: 22px 0;
}
.callout p:last-child { margin-bottom: 0; }

.plain {
  background: var(--bg-cream);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin: 22px 0;
}
.plain p:last-child { margin-bottom: 0; }

/* Table of contents */
.toc {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin: 32px 0 8px;
}
.toc h2 { margin: 0 0 12px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.toc ol { margin: 0 0 0 18px; }
.toc li { margin-bottom: 6px; font-size: 15px; }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--nc-green-darker); text-decoration: underline; }

/* Data table */
table { width: 100%; border-collapse: collapse; margin: 18px 0 22px; font-size: 15px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink); font-weight: 650; background: var(--bg-soft); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Footer */
.site-foot {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 32px 0;
  font-size: 14.5px;
  color: var(--text-muted);
}
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; }
.site-foot a { color: var(--text-muted); text-decoration: none; }
.site-foot a:hover { color: var(--nc-green-deep); text-decoration: underline; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  main { padding: 40px 0 64px; }
  h2 { font-size: 20px; margin-top: 36px; }
}
