@font-face {
  font-family: 'Piazzolla Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/piazzolla-latin-ext-opsz-normal.f2618a9735.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Piazzolla Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/piazzolla-latin-opsz-normal.68a923967d.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Piazzolla Variable';
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/piazzolla-latin-ext-opsz-italic.8d2558e84e.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Piazzolla Variable';
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/piazzolla-latin-opsz-italic.a649826fa4.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Commissioner Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/commissioner-latin-ext-wght-normal.bd6c9bcd8f.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Commissioner Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/commissioner-latin-wght-normal.e3d539b926.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/*
 * site.css
 * The Countersign's stylesheet: a calm, document-like page for long
 * reading. Piazzolla for text and headlines, Commissioner for labels and
 * navigation. Blue-black ink on near-white paper, with signature blue as
 * the one accent; dark mode follows the reader's system setting.
 *
 * Created: 2026-11-04
 * Last modified: 2026-11-04
 */

:root {
  --paper: #fafaf8;
  --panel: #eff0f4;
  --ink: #1a1d2a;
  --ink-soft: #444858;
  --muted: #595d6e;
  --rule: #d7d9e1;
  --rule-strong: #9a9db0;
  --sign: #2b3699;
  --sign-deep: #1c246f;
  --sign-tint: #e5e8f8;
  --mark-first: var(--ink);
  --mark-second: var(--sign);

  --serif: 'Piazzolla Variable', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Commissioner Variable', 'Segoe UI', system-ui, sans-serif;

  --measure: 38rem;
  --page-width: 74rem;
  --aside-width: 13rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #12141b;
    --panel: #1b1e28;
    --ink: #e8e9ef;
    --ink-soft: #c2c5d2;
    --muted: #a5a9b9;
    --rule: #2f3344;
    --rule-strong: #565b72;
    --sign: #aab4ff;
    --sign-deep: #cfd4ff;
    --sign-tint: #232947;
  }
}

/* Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.6;
  font-optical-sizing: auto;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

main {
  display: block;
}

main:focus {
  outline: none;
}

a {
  color: var(--sign);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--sign-deep);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--sign);
  outline-offset: 3px;
  border-radius: 1px;
}

p,
ul,
ol,
dl,
blockquote {
  margin: 0 0 1.1em;
}

ul,
ol {
  padding-left: 1.4em;
}

li {
  margin-bottom: 0.4em;
}

li::marker {
  color: var(--muted);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.125rem, 1.45rem + 2.8vw, 3.375rem);
  font-weight: 620;
  line-height: 1.08;
  letter-spacing: -0.018em;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.4375rem, 1.25rem + 0.8vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.008em;
  margin: 2.75rem 0 0.75rem;
}

h3 {
  font-size: 1.1875rem;
  font-weight: 640;
  line-height: 1.3;
  margin: 2rem 0 0.4rem;
}

p,
li {
  text-wrap: pretty;
}

strong {
  font-weight: 650;
}

code {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.85em;
  background: var(--panel);
  padding: 0.1em 0.3em;
  border-radius: 2px;
}

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2.5rem 0;
}

sup {
  line-height: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 0.75rem;
  z-index: 10;
  padding: 0.5rem 0.9rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus-visible {
  transform: none;
  color: var(--paper);
}

.separator {
  color: var(--rule-strong);
}

/* The mark */

.mark {
  display: block;
  width: 2.5rem;
  height: auto;
  flex: none;
}

.mark-line {
  stroke: var(--rule-strong);
}

.mark-first {
  stroke: var(--mark-first);
}

.mark-second {
  stroke: var(--mark-second);
}

/* Preview banner (preview builds only) */

.preview-banner {
  margin: 0;
  padding: 0.5rem var(--gutter);
  background: var(--sign);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}

/* Header: a letterhead with a double rule */

.site-header {
  border-bottom: 3px double var(--rule-strong);
}

.site-header-inner {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 1.25rem var(--gutter) 1.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 2.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
}

.wordmark:hover {
  color: var(--ink);
}

.wordmark-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 640;
  letter-spacing: -0.01em;
  line-height: 1;
}

.site-nav ul,
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.4rem;
}

.site-nav li,
.footer-nav li {
  margin: 0;
}

.site-nav a {
  display: inline-block;
  padding: 0.3rem 0;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 520;
  color: var(--ink);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--sign);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
}

.site-nav a[aria-current='page'] {
  color: var(--sign);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}

/* Page layout: a text column with a wide left margin on large screens,
   like a document with room for margin notes. */

.page {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: clamp(2.25rem, 6vw, 4.5rem) var(--gutter) clamp(3rem, 7vw, 5.5rem);
}

.prose,
.page-header {
  max-width: var(--measure);
}

.page-header {
  margin-bottom: 2.25rem;
}

.lede,
.dek {
  font-size: clamp(1.1875rem, 1.05rem + 0.55vw, 1.4375rem);
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0;
}

.prose > :first-child,
.standard > h2:first-child {
  margin-top: 0;
}

@media (min-width: 60rem) {
  .page:not(.home):not(.story) {
    display: grid;
    grid-template-columns: var(--aside-width) minmax(0, var(--measure));
    column-gap: clamp(3rem, 6vw, 5.5rem);
    align-items: start;
  }

  .page:not(.home):not(.story) > .page-header,
  .page:not(.home):not(.story) > .page-content {
    grid-column: 2;
  }

  .page-with-aside .page-aside {
    grid-column: 1;
    grid-row: 1 / span 2;
    position: sticky;
    top: 2rem;
    padding-top: 0.6rem;
  }
}

.aside-title {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.contents {
  border: 1px solid var(--rule);
  padding: 1rem 1.25rem 0.6rem;
  margin-bottom: 2.25rem;
}

.contents ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: contents;
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.35;
}

.contents li {
  counter-increment: contents;
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  margin-bottom: 0.55rem;
}

.contents li::before {
  content: counter(contents);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.contents a {
  color: var(--ink);
  text-decoration: none;
}

.contents a:hover {
  color: var(--sign);
  text-decoration: underline;
}

@media (min-width: 60rem) {
  .contents {
    border: 0;
    border-top: 1px solid var(--rule);
    padding: 1rem 0 0;
  }
}

/* Standards: numbered sections */

.standards {
  counter-reset: standard;
}

.standard {
  counter-increment: standard;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 1.5rem;
}

.standard:first-child {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.standard h2 {
  margin-top: 0;
}

.standard h2::before {
  content: counter(standard, decimal-leading-zero);
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  color: var(--sign);
}

.standard:target h2 {
  text-decoration: underline;
  text-decoration-color: var(--sign);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.never-list li::marker {
  content: '\2715\00a0\00a0';
  color: var(--sign);
  font-family: var(--sans);
}

/* Notices and the "In preparation" stamp */

.notice {
  max-width: var(--measure);
  margin: 2.5rem 0;
  padding: 1.4rem 1.5rem 0.4rem;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--sign);
}

.notice h2 {
  margin: 0 0 0.6rem;
  font-size: 1.3125rem;
}

.stamp {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.2rem 0.55rem 0.15rem;
  border: 1.5px solid var(--sign);
  border-radius: 2px;
  color: var(--sign);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
}

.link-list {
  list-style: none;
  padding: 0;
}

.link-list li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--rule);
  margin: 0;
}

.link-list li:last-child {
  border-bottom: 1px solid var(--rule);
}

/* Home */

.home-intro {
  max-width: 62rem;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--rule);
}

.home-intro h1 {
  max-width: 50rem;
  font-size: clamp(2.375rem, 1.5rem + 3.6vw, 4.125rem);
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin-bottom: 1.25rem;
}

.home-intro .lede {
  max-width: 40rem;
}

.home-section {
  max-width: 62rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.home-section > h2 {
  margin-top: 0;
}

.home-section > p,
.home-section > .link-list {
  max-width: var(--measure);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  counter-reset: step;
  display: grid;
  gap: 1.75rem 3rem;
}

@media (min-width: 46rem) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.steps li {
  counter-increment: step;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--ink);
}

.steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--sign);
  letter-spacing: 0.06em;
}

.steps h3 {
  margin: 0.3rem 0 0.4rem;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
}

.home .notice {
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

/* Contact */

.contact-list {
  margin: 0 0 1.75rem;
  border-top: 1px solid var(--rule);
}

.contact-list div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule);
}

.contact-list dt {
  flex: 0 0 9rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--muted);
  padding-top: 0.2rem;
}

.contact-list dd {
  margin: 0;
}

.tips {
  margin-top: 2.75rem;
  padding: 1.4rem 1.5rem 0.5rem;
  border: 1px solid var(--rule-strong);
}

.tips h2 {
  margin-top: 0;
  font-size: 1.3125rem;
}

/* Stories index */

.story-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 46rem;
}

.story-list li {
  margin: 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
}

.story-summary h2 {
  margin: 0 0 0.4rem;
}

.story-summary h2 a {
  color: var(--ink);
  text-decoration: none;
}

.story-summary h2 a:hover {
  color: var(--sign);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.story-summary .dek {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.story-summary-meta {
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
}

/* Article */

.story {
  max-width: 48rem;
}

.story-header {
  margin-bottom: 2.5rem;
}

.story-header h1 {
  font-size: clamp(2.25rem, 1.45rem + 3.2vw, 3.625rem);
  line-height: 1.06;
}

.story-header .dek {
  margin-bottom: 1.5rem;
}

.fixture-label {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.2rem 0.55rem;
  background: var(--sign);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.byline {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 650;
  margin: 0 0 0.2rem;
}

.story-dates {
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
}

.disclosure {
  max-width: var(--measure);
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--sign);
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.disclosure p {
  margin: 0;
}

.disclosure .disclosure-link {
  margin-top: 0.4rem;
  font-size: 0.875rem;
}

.story-body {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.21875rem);
}

.story-body h2 {
  margin-top: 2.5rem;
}

.story-body blockquote {
  margin: 1.75rem 0;
  padding: 0.1rem 0 0.1rem 1.25rem;
  border-left: 2px solid var(--rule-strong);
  color: var(--ink-soft);
}

.story-body blockquote p:last-child {
  margin-bottom: 0;
}

.cite a {
  font-family: var(--sans);
  font-size: 0.75em;
  font-weight: 650;
  padding: 0 0.12em;
  text-decoration: none;
}

.cite a:hover {
  text-decoration: underline;
}

.cite + .cite::before {
  content: ',';
  font-family: var(--sans);
  font-size: 0.75em;
  color: var(--muted);
}

.story-footer {
  max-width: var(--measure);
  margin-top: 3.5rem;
}

.story-footer section {
  border-top: 3px double var(--rule-strong);
  padding-top: 1.75rem;
  margin-bottom: 3rem;
}

.story-footer h2 {
  margin: 0 0 0.5rem;
}

.section-note {
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--muted);
}

.source-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  counter-reset: source;
}

.source {
  counter-increment: source;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  padding: 1.1rem 0 0.9rem;
  border-top: 1px solid var(--rule);
  margin: 0;
  scroll-margin-top: 1rem;
}

.source::before {
  content: counter(source);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--sign);
  padding-top: 0.15rem;
}

.source > * {
  grid-column: 2;
  margin: 0 0 0.35rem;
}

.source:target {
  background: var(--sign-tint);
  outline: 1px solid var(--sign);
  outline-offset: 0;
}

.source-title {
  font-weight: 620;
  line-height: 1.35;
}

.source-title cite {
  font-style: normal;
}

.source-meta,
.source-links {
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--muted);
}

.source-supports {
  font-size: 0.96875rem;
  line-height: 1.5;
}

.source-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.correction-list,
.correction-index {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.5rem;
}

.correction-list li,
.correction-index li {
  padding: 0.9rem 0 0.2rem;
  border-top: 1px solid var(--rule);
  margin: 0;
}

.correction-date {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--sign);
  margin: 0 0 0.25rem;
}

.correction-story {
  font-weight: 620;
  margin-bottom: 0.25rem;
}

/* Footer */

.site-footer {
  border-top: 3px double var(--rule-strong);
  background: var(--panel);
}

.site-footer-inner {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 2.25rem var(--gutter) 2.75rem;
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.footer-name {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-size: 1.1875rem;
  font-weight: 640;
  color: var(--ink);
}

.mark-small {
  width: 1.9rem;
}

.footer-statement {
  max-width: 34rem;
}

.footer-nav {
  margin: 1.25rem 0;
}

.footer-nav a {
  font-weight: 560;
}

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

/* Print: the text and its sources, without the site furniture */

@media print {
  :root {
    --paper: #ffffff;
    --panel: #ffffff;
    --ink: #000000;
    --sign: #000000;
  }

  .skip-link,
  .site-nav,
  .site-footer,
  .disclosure-link,
  .page-aside {
    display: none;
  }

  .source-title a::after,
  .source-links a::after {
    content: ' (' attr(href) ')';
    font-family: var(--sans);
    font-size: 0.8em;
    font-weight: 400;
    word-break: break-all;
  }
}
