/* Copyright (C) 2026 Illium AI, Inc.
   SPDX-License-Identifier: LicenseRef-IlliumProprietary

   Styling for the public legal pages.  Deliberately self-contained:
   no framework, no fonts, no external requests.  These pages are read
   by carrier compliance reviewers and by people who have just received
   a text message from us, on unknown devices and unknown connections,
   and they must render as text on the first paint with nothing to
   block them. */

:root {
    --ill-blue: #0547B3;
    --ink: #1a1a1a;
    --muted: #5f6368;
    --rule: #e0e0e0;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0 1.25rem 5rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: #fff;
}

main { max-width: 46rem; margin: 0 auto; }

header {
    border-bottom: 1px solid var(--rule);
    margin-bottom: 2.5rem;
    padding: 2.5rem 0 1.5rem;
}

header .brand {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ill-blue);
    text-decoration: none;
}

h1 { font-size: 1.9rem; font-weight: 600; margin: 0.75rem 0 0.5rem; line-height: 1.25; }
h2 { font-size: 1.15rem; font-weight: 600; margin: 2.5rem 0 0.75rem; }
h3 { font-size: 1rem; font-weight: 600; margin: 1.75rem 0 0.5rem; }

.effective { color: var(--muted); font-size: 0.875rem; margin: 0; }

p, li { margin: 0.75rem 0; }
ul, ol { padding-left: 1.5rem; }

a { color: var(--ill-blue); }

/* The consent language a carrier reviewer is looking for.  Set apart so
   it is findable in ten seconds rather than read for in full prose. */
.callout {
    border: 1px solid var(--rule);
    border-left: 4px solid var(--ill-blue);
    background: #f7f9fc;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

figure {
    margin: 1.5rem 0;
    border: 1px solid var(--rule);
    border-radius: 4px;
    padding: 0.75rem;
}

figure img { max-width: 100%; display: block; }

figcaption {
    color: var(--muted);
    font-size: 0.8125rem;
    margin-top: 0.5rem;
}

footer {
    border-top: 1px solid var(--rule);
    margin-top: 4rem;
    padding-top: 1.5rem;
    color: var(--muted);
    font-size: 0.875rem;
}

footer a { margin-right: 1.25rem; }

@media (prefers-color-scheme: dark) {
    :root { --ink: #e8eaed; --muted: #9aa0a6; --rule: #3c4043; --ill-blue: #8ab4f8; }
    body { background: #131417; }
    .callout { background: #1c1f24; }
}
