/* SI Law: library green + brass on a pale ground. Newsreader headings, Instrument Sans text, IBM Plex Mono labels. */
:root {
  --green: #12352b;
  --green-deep: #0d2a22;
  --green-line: #285446;
  --green-field: #3f6a5c;
  --brass: #c9a45c;
  --brass-dark: #6b5420;
  --brass-arrow: #a57f33;
  --ground: #f2f4f0;
  --white: #ffffff;
  --ink: #10241d;
  --muted: #4b5e56;
  --rule: #d5ddd8;
  --light: #f2f4f0;
  --light-muted: #c9d7d0;
  --light-faint: #a9bdb4;
  --nav: #d7e2dc;
  --red: #ff9a8f;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--brass); color: var(--green); padding: 8px 14px; border-radius: 6px; z-index: 10; font-weight: 700; }
.skip:focus { left: 8px; }

/* Dark green bands */
.dark { background: var(--green); color: var(--light); }
.dark a { color: var(--brass); }

/* Masthead */
.masthead { border-bottom: 1px solid var(--green-line); }
.masthead-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 20px; padding-bottom: 20px; }
.wordmark { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--light) !important; }
.wm-si { font-family: var(--mono); font-weight: 500; font-size: 18px; color: var(--brass); }
.wm-law { font-family: var(--serif); font-weight: 600; font-size: 26px; }
.wm-full { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--light-faint); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; }
.nav a { color: var(--nav); text-decoration: none; }
.nav a:hover { color: var(--light); }

/* Pills */
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 22px; border-radius: 999px; text-decoration: none; font-weight: 700; }
.dark .pill-brass, .pill-brass { background: var(--brass); color: var(--green); }
.dark .pill-brass:hover, .pill-brass:hover { color: var(--green); filter: brightness(1.06); }
.pill-green { background: var(--green); color: var(--light); }
.pill-green:hover { color: var(--light); background: var(--green-deep); }
.pill-start { align-self: flex-start; }

/* Hero */
.hero-row { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 104px; }
.hero-copy { flex: 999 1 560px; min-width: 0; }
.hero-aside { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.eyebrow { margin-bottom: 14px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-dark); }
.eyebrow-brass { color: var(--brass); }
.hero .eyebrow { margin-bottom: 20px; }
h1 { font-size: clamp(46px, 7.4vw, 88px); line-height: 1.02; letter-spacing: -0.01em; max-width: 13ch; }
h1 del { color: var(--red); text-decoration-thickness: 4px; }
h1 ins { color: var(--brass); font-style: italic; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.lede { margin-top: 28px; font-size: 20px; color: var(--light-muted); max-width: 54ch; }
.subscribe { margin-top: 32px; min-height: 120px; max-width: 560px; }
.subscribe iframe { max-width: 100%; }
.fine { margin-top: 10px; font-size: 14px; color: var(--light-faint); max-width: 60ch; }
.fine a { color: var(--light-muted); }
.fallback { margin-top: 6px; font-size: 13px; }
.cite { margin-top: 28px; font-family: var(--mono); font-size: 13px; color: var(--light-faint); }
.cite strong { color: var(--light); font-weight: 500; }

.balloon { align-self: flex-end; max-width: 300px; border: 1px solid var(--brass); background: rgba(201, 164, 92, 0.1); border-radius: 6px; padding: 12px 14px; font-size: 14px; line-height: 1.5; color: var(--light); }
.balloon-who { display: block; font-family: var(--mono); font-size: 12px; color: var(--brass); margin-bottom: 4px; }

.card { background: var(--white); color: var(--ink); border-radius: 14px; padding: 24px; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28); }
.card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; }
.card-title { font-family: var(--serif); font-weight: 600; font-size: 24px; }
.tag { font-family: var(--mono); font-size: 12px; background: #e6ece8; color: var(--green); padding: 4px 10px; border-radius: 999px; }
.card-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 11px 0; border-top: 1px solid #e3e8e4; font-size: 15px; }
.mono { font-family: var(--mono); font-size: 13px; }
.verdict { margin-top: 14px; padding: 14px 16px; border-radius: 10px; background: var(--green); color: var(--light); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.verdict-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass); }
.verdict-value { font-family: var(--serif); font-weight: 500; font-size: 21px; }

/* Content bands */
.band { padding-top: 88px; padding-bottom: 88px; border-bottom: 1px solid var(--rule); }
.band-white { background: var(--white); }
.band h2 { font-size: clamp(34px, 4.2vw, 46px); line-height: 1.1; margin-bottom: 12px; }
.sub { color: var(--muted); max-width: 60ch; }
#briefing .sub { margin-bottom: 40px; }

.parts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 32px; }
.parts li { flex: 1 1 190px; min-width: 0; border-top: 2px solid var(--green); padding-top: 16px; }
.num { font-family: var(--mono); font-size: 14px; color: var(--brass-dark); }
.parts h3 { margin: 6px 0 8px; font-size: 24px; }
.parts p { font-size: 15px; color: var(--muted); }

.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.split-copy { flex: 1 1 340px; min-width: 0; }
.split-copy .sub { margin: 4px 0 24px; }
.tiles { flex: 1 1 480px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tiles li { flex: 1 1 220px; min-height: 56px; display: flex; align-items: center; padding: 14px 18px; border: 1px solid var(--rule); border-radius: 10px; font-weight: 600; }

.sched-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 32px; }
.sched-head h2 { margin-bottom: 0; }
.link-strong { font-weight: 700; }
.sched { display: flex; flex-direction: column; }
.sched-row { display: flex; flex-wrap: wrap; gap: 8px 32px; padding: 22px 0; border-top: 1px solid var(--rule); }
.sched-row:first-child { border-top: 2px solid var(--green); }
.sched-row:last-child { border-bottom: 1px solid var(--rule); }
.mono-cite { flex: 0 0 200px; font-family: var(--mono); font-size: 13px; color: var(--brass-dark); padding-top: 6px; }
.sched-title { flex: 1 1 400px; font-family: var(--serif); font-size: 27px; line-height: 1.25; }
.sched-note { margin-top: 20px; font-size: 15px; }

.dark.band { border-bottom: 0; }
.duo { display: flex; flex-wrap: wrap; gap: 48px; }
.duo-col { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.duo h2 { font-size: clamp(30px, 3.4vw, 38px); line-height: 1.15; margin: 0; }
.duo .eyebrow { margin: 0; }
.muted-light { color: var(--light-muted); }
.rule { margin-top: 4px; border-left: 3px solid var(--brass); padding-left: 14px; font-family: var(--serif); font-size: 20px; }
.link-brass { font-weight: 700; }

/* Footer */
.footer-col { display: flex; flex-direction: column; gap: 10px; padding-top: 40px; padding-bottom: 56px; font-size: 14px; color: var(--muted); }
.footer-col p { max-width: 80ch; }

/* Simple text pages (privacy) */
.doc { padding-top: 64px; padding-bottom: 88px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(40px, 6vw, 56px); max-width: none; color: var(--ink); margin-bottom: 8px; }
.doc h2 { font-size: 26px; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--ink); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; margin: 10px 0 0; }
.doc li + li { margin-top: 6px; }
.doc .updated { font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* Phones */
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .hero-row { padding-top: 48px; padding-bottom: 64px; gap: 40px; }
  .band { padding-top: 56px; padding-bottom: 56px; }
  .lede { font-size: 18px; }
  .wm-full { display: none; }
  .nav { gap: 6px 18px; }
  .mono-cite { flex-basis: 100%; padding-top: 0; }
  .sched-title { font-size: 23px; }
  .balloon { align-self: flex-start; }
}
