/* styles/theme.css
   Colours, fonts and page layout used everywhere. */
/* VOICE: calm, protective, plain-spoken — a friend who reads contracts
   IDEA: a contract on the desk, marked up with a highlighter and a red pen
   PICTURE: the tool itself; the result is a big risk-score dial beside highlighted clauses
   COLOUR and TYPE: midnight charcoal, deep slate, burnt orange, warm ivory, muted silver — orange only where it matters; Archivo wide 800 + Public Sans
   LAYOUT: input column left, report right; stacks below 900px */
/* Midnight palette (dark only) */
:root {
  color-scheme: dark;
  --jet: #141820;
  --soft: #f4f1eb;
  --flame: #e86842;
  --bg: #141820;
  --paper: #202630;
  --ink: #f4f1eb;
  --mute: #a5adb8;
  --line: #323a47;
  --hi: #e86842;
  --hiInk: #141820;
  --red: #e86842;
  --amber: #f2a283;
  --slate: #a5adb8;
  --ok: #f4f1eb;
}
* {
  box-sizing: border-box;
  min-width: 0;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.55 "Public Sans",
    system-ui,
    sans-serif;
  overflow-x: clip;
}
.band {
  padding: clamp(20px, 3.5vw, 48px) max(5vw, 16px);
}
.wrap {
  max-width: 1240px;
  margin: 0 auto;
}
header.band {
  background: var(--jet);
  color: var(--soft);
  border-bottom: 5px solid var(--flame);
  padding-bottom: 22px;
}
header .tag {
  color: #a5adb8;
}
/* Logo on top, tagline underneath */
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
h1 {
  font:
    800 clamp(34px, 6vw, 52px)/1.05 Archivo,
    sans-serif;
  font-stretch: 112%;
  margin: 0;
  letter-spacing: -0.01em;
}
h1 mark {
  background: none;
  color: var(--flame);
  padding: 0;
}
.tag {
  color: var(--mute);
  margin: 0;
  font-size: 17px;
}
h2 {
  font:
    800 22px/1.15 Archivo,
    sans-serif;
  font-stretch: 112%;
  margin: 0 0 12px;
}
h3 {
  font-size: 17px;
  margin: 0;
  line-height: 1.3;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
@media (max-width: 900px) {
  .grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(16px, 2.4vw, 26px);
}
.meta {
  color: var(--mute);
  font-size: 14px;
  margin: 0;
}
.two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}
@media (max-width: 700px) {
  .two {
    grid-template-columns: minmax(0, 1fr);
  }
}
.hide {
  display: none !important;
}
