/* Inner-page theme. Loaded after chrome.css on every page except the homepage.
   These pages were built for a dark navy site and name their colours for it, so this file re-points those
   tokens to the light design (here --navy-950 is the page and --white is the ink) and reshapes the older
   components to match the homepage: Manrope headings, square panels, the same gutters and buttons. */
:root {
  --navy-950: #fff; --navy-900: #f6f8fc; --navy-850: #fff; --navy-800: #f1f4f9; --navy-700: #e6eaf1;
  --white: #101a2e; --mist: #53607a; --mist-dim: #62708a;
  --line: #dfe5ef; --line-strong: #c5cfdd;
  --blue: #2447f0; --blue-bright: #2447f0; --cyan: #2447f0;
  --glass: #fafbfe; --glass-hi: #fff;
  --radius: 0px; --radius-sm: 0px;
  --shadow: 0 20px 40px rgba(26, 49, 99, 0.07);
  --grad-blue: linear-gradient(135deg, #2447f0, #2447f0);
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'DM Sans', system-ui, sans-serif;
}
body::before, body::after { display: none; }

/* These pages were laid out under a header fixed over the page, so it stays fixed here. */
.site-header { position: fixed; left: 0; right: 0; }

/* Same gutters as the header, footer and homepage. */
.wrap { max-width: none; width: min(100% - 88px, 1296px); padding: 0; margin: 0 auto; }
@media (max-width: 1100px) { .wrap { width: min(100% - 58px, 1296px); } }
@media (max-width: 850px) { .wrap { width: min(100% - 42px, 1296px); } }
@media (max-width: 580px) { .wrap { width: min(100% - 38px, 1296px); } }

/* ---------- Type ---------- */
h1, h2, h3, h4, .display { font-family: 'Manrope', 'DM Sans', sans-serif; font-weight: 800; letter-spacing: -0.045em; line-height: 1.15; }
h1 { letter-spacing: -0.06em; }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 0.16em !important; }
.cat, .tag, .num { font-weight: 800; }
.stat-num { -webkit-text-fill-color: currentColor; background: none; color: var(--white); }
.hero h1 .grad { -webkit-text-fill-color: currentColor; background: none; color: var(--blue); }

/* ---------- Buttons: the pages' own styles force coral, so blue is forced back ---------- */
.btn-primary { background: var(--blue) !important; color: #fff !important; box-shadow: none !important; }
.btn-primary:hover { background: var(--blue-deep) !important; box-shadow: none !important; filter: none; }
.card-link .card-cta { color: var(--blue); }

/* ---------- Panels: square, like the homepage cards ---------- */
.card, .leak, .ind, .assess, .form-card, .hero-img, .portrait, .post .thumb, .dtip { border-radius: 0; }
.card:hover, .card-link:hover { border-color: #b6c9ff; background: #fff; box-shadow: var(--shadow); }
.leak.ai { background: #f6f8fc; border-color: var(--line-strong); }
.hero-img { box-shadow: none; }

/* ---------- Forms ---------- */
.field input, .field select, .field textarea { background-color: #fff; border-radius: 4px; }
.field select option, .field select optgroup { background-color: #fff; color: #101a2e; }

/* ---------- Visitors who turn motion off see everything straight away ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
