/* site/assets/site.css — stylesheet for the published static site.
 *
 * Every colour literal here MUST also appear in site/assets/palette.json
 * (foreground or background of some declared pair) — enforced by
 * scripts/build_site.ts step 3 and scripts/site_contrast_test.ts CT-6. A
 * colour cannot be introduced here without a contrast assertion.
 *
 * No px widths (F-NO-PX-WIDTH), no @import, no @font-face, no hosted font —
 * see specs/1106-legal-pages-publish/contracts/check-site-content.md Group E/F.
 */

:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
    Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
}

body {
  margin: 0;
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.skip {
  position: absolute;
  left: -999rem;
  top: 0;
  background: #ffffff;
  color: #1a1a1a;
  padding: 0.5rem 1rem;
}

.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
  z-index: 1;
}

header,
main,
footer {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.5rem;
}

header a {
  color: #0d0d0d;
  font-weight: 600;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  color: #0d0d0d;
}

p,
li,
td,
th {
  color: #1a1a1a;
}

a {
  color: #4f1fb8;
}

footer {
  color: #54534f;
  font-size: 0.875rem;
}

footer nav a {
  margin-right: 1rem;
}

.contents nav,
nav.contents {
  color: #54534f;
}

.notice-banner {
  max-width: 42rem;
  margin: 1.5rem auto 0;
  padding: 1rem;
  background: #fff2cc;
  color: #5c3d00;
  border: 1px solid #b8860b;
  border-radius: 0.5rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  text-align: left;
  padding: 0.5rem;
  border-bottom: 1px solid #54534f;
}
