/* public/brand/di-legal.css
 *
 * One look for the FAQ, Privacy Policy and Terms of Service pages, matching the landing page
 * (public/index.html): same header, footer, colours and type. Approved by Mic 2026-10-23
 * (mockups/public-pages-brand-mockup.html, PUBLIC-PAGES-BRAND). WHY one shared file: the three pages
 * each carried their own copy of the old plain style; with one stylesheet they cannot drift apart.
 * Flat colours only (no gradients, CLAUDE.md). Linked with a relative path so the pages also open
 * straight from disk in the browser tests.
 */
:root {
  --navy: #08245d;      /* headings, header text (landing page --navy) */
  --blue: #0d6efd;      /* the one action colour (landing page --blue) */
  --cyan: #21b8d1;      /* footer top rule */
  --green: #08a94e;     /* promise checks */
  --muted: #526784;     /* small text */
  --body: #2d4466;      /* paragraph text */
  --line: #dce7f4;      /* card borders, rules */
  --soft: #f5faff;      /* footer */
  --hero: #f4faff;      /* title band */
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: var(--navy); background: #fff; }
a { color: var(--blue); }
.wrap { max-width: 1080px; margin: auto; padding: 0 26px; }

/* Header: the landing page's */
.site-header { height: 70px; background: #fff; border-bottom: 1px solid #e6edf6; position: sticky; top: 0; z-index: 20; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 34px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; }
.brand img { display: block; width: 42px; height: 42px; }
.brand-text strong { display: block; font-size: 18px; font-weight: 700; color: #1e3a5f; line-height: 1.2; }
.brand-text small { display: block; font-size: 12px; font-weight: 500; color: #111; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; }
.site-nav a { color: var(--navy); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; border-radius: 7px; padding: 12px 22px; font-weight: 800; border: 1px solid var(--blue); background: var(--blue); color: #fff !important; text-decoration: none; box-shadow: 0 8px 18px rgba(13, 110, 253, .18); }
.cta:hover { background: #0b5ed7; }

/* Title band */
.band { background: var(--hero); border-bottom: 1px solid var(--line); padding: 38px 0 30px; }
.eyebrow { font-size: 13px; font-weight: 900; letter-spacing: 1.1px; text-transform: uppercase; color: var(--blue); margin: 0 0 10px; }
h1 { font-size: 42px; line-height: 1.05; letter-spacing: -1.4px; margin: 0 0 10px; color: var(--navy); }
.subtitle { font-size: 17px; line-height: 1.45; color: #385177; margin: 0; max-width: 640px; }
.effective-date { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.jump a { font-size: 13px; font-weight: 700; text-decoration: none; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.jump a:hover { border-color: var(--blue); color: var(--blue); }

/* Content column */
.content { padding: 30px 0 40px; }
.container { max-width: 812px; }
.container p { font-size: 15px; line-height: 1.7; color: var(--body); margin: 0 0 12px; }
.container h2 { font-size: 21px; line-height: 1.3; letter-spacing: -.3px; color: var(--navy); margin: 30px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); scroll-margin-top: 84px; }
.container h3 { font-size: 16px; color: var(--navy); margin: 18px 0 6px; }
.container > h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }

/* FAQ: each question in its own card */
.qa { border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; margin: 0 0 12px; background: #fff; scroll-margin-top: 84px; }
.qa h2 { font-size: 18px; margin: 0 0 8px; padding: 0; border: 0; }
.qa p:last-child { margin-bottom: 0; }

/* The key sentence (Privacy) */
.highlight-box { background: #effcf3; border: 1px solid #8ddfa9; border-radius: 10px; padding: 16px 18px; margin: 6px 0 18px; font-size: 15px; line-height: 1.6; font-weight: 600; color: var(--navy); }
/* FAQ's closing "Try the Demo" box: the landing page's blue card */
.qa ~ .highlight-box, .highlight-box:has(.button) { background: #eef7ff; border-color: #d8e9fb; font-weight: 400; display: flex; align-items: center; justify-content: flex-start; gap: 12px 16px; flex-wrap: wrap; margin-top: 22px; }
.highlight-box h2 { font-size: 18px; margin: 0; padding: 0; border: 0; flex-basis: 100%; }
.highlight-box .button { display: inline-flex; align-items: center; white-space: nowrap; background: var(--blue); color: #fff; text-decoration: none; font-weight: 800; padding: 11px 20px; border-radius: 7px; box-shadow: 0 8px 18px rgba(13, 110, 253, .18); }
.highlight-box .note { font-size: 13px; color: var(--muted); margin: 0; }

/* Privacy promises: reassurance, not warnings */
.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 18px; }
.promise-card { background: #effcf3; border: 1px solid #8ddfa9; border-radius: 9px; padding: 12px 14px; font-size: 14px; line-height: 1.45; color: var(--navy); }
.promise-card .icon { color: var(--green); font-weight: 900; margin-right: 6px; }

.footer-note { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); }
.footer-note p { font-size: 13px; color: var(--muted); }

/* Footer: the landing page's */
footer.fc { background: var(--soft); color: var(--navy); border-top: 4px solid var(--cyan); padding: 40px 0 24px; }
.fc a { color: var(--navy); text-decoration: none; font-size: 15px; line-height: 2; }
.fc a:hover { color: var(--blue); text-decoration: underline; }
.fc h4 { margin: 2px 0 8px; font-size: 14px; font-weight: 800; color: var(--navy); }
.fc-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; align-items: start; }
.fc-col a { display: block; }
.fc a.fc-brand { display: flex; align-items: center; gap: 12px; }
.fc a.fc-brand:hover { color: var(--navy); text-decoration: none; }
.fc-brand svg { flex: 0 0 auto; }
.fc-brand strong { display: block; font-size: 24px; line-height: 1.05; letter-spacing: -.3px; }
.fc-brand small { display: block; font-size: 14px; line-height: 1.3; margin-top: 4px; color: #111; }
.fc-tag { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 16px 0 0; max-width: 320px; }
.fc-legal { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 16px; color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }

/* Phone */
/* Six menu links + the demo button: tighter spacing so they stay on one line down to 901px (ABOUT-NAV). */
@media (min-width: 901px) and (max-width: 1100px) { .header-inner { gap: 18px; } .site-nav { gap: 18px; } }
@media (max-width: 900px) { .site-nav a:not(.cta) { display: none; } }
@media (max-width: 700px) {
  .wrap { padding: 0 16px; }
  .site-header { height: 62px; }
  .brand img { width: 34px; height: 34px; }
  .brand-text strong { font-size: 16px; }
  .brand-text small { display: none; }
  .site-nav .cta { padding: 9px 13px; font-size: 13px; }
  .band { padding: 26px 0 22px; }
  h1 { font-size: 32px; letter-spacing: -1px; }
  .subtitle { font-size: 16px; }
  .qa { padding: 14px 16px; }
  .promise-grid { grid-template-columns: 1fr; }
  .fc-grid { grid-template-columns: 1fr; gap: 26px; }
}

/* Print / Save as PDF: just the words */
@media print {
  .site-header, footer.fc, .jump, .qa ~ .highlight-box, .highlight-box:has(.button) { display: none; }
  body, .container p, h1, .container h2 { color: #000; }
  .band { background: none; border: 0; padding: 0 0 12px; }
  .content { padding: 0; }
  .qa { border: 0; padding: 0; margin-bottom: 14px; break-inside: avoid; }
  .highlight-box, .promise-card { background: none; }
}
