/* Day One Comms. Layout: single-column briefing note, left aligned, one highlighter accent. */

:root {
  --paper: #ffffff;
  --ink: #23282c;
  --muted: #5b6670;
  --highlight: #ffe14d;
  --highlight-ink: #23282c;
  --line: #e4e7ea;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #16191c;
    --ink: #e8eaec;
    --muted: #9aa4ac;
    --highlight: #f2ce3c;
    --highlight-ink: #23282c;
    --line: #2a3036;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #16191c;
  --ink: #e8eaec;
  --muted: #9aa4ac;
  --highlight: #f2ce3c;
  --highlight-ink: #23282c;
  --line: #2a3036;
  color-scheme: dark;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 40rem;
  padding: 2.5rem 1.25rem 4.5rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1.5rem;
  margin-bottom: 3.5rem;
}

nav strong {
  font-family: Gabarito, Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-right: auto;
}

nav strong mark {
  padding: 0 0.12em;
}

nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.1em 0.2em;
}

nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--highlight);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

nav a:hover,
nav a:focus-visible {
  background: var(--highlight);
  color: var(--highlight-ink);
}

h1 {
  font-family: Gabarito, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(2.1rem, 6.5vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0 0 1.25rem;
}

h1 + p {
  font-size: 1.2rem;
  line-height: 1.55;
}

h2 {
  font-family: Gabarito, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 2.75rem 0 0.75rem;
}

p {
  margin: 0.75rem 0;
}

ul {
  margin: 0.75rem 0;
  padding-left: 1.15rem;
}

li {
  margin: 0.4rem 0;
}

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

mark {
  background: var(--highlight);
  color: var(--highlight-ink);
  padding: 0.05em 0.2em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

a {
  color: var(--ink);
  text-decoration-color: var(--highlight);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 3px solid var(--highlight);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

.stage {
  display: flex;
  gap: 2.25rem;
  align-items: center;
  flex-wrap: wrap;
  margin: 2.75rem 0;
}

.stage-art {
  flex: 0 0 200px;
}

.stage-art svg {
  display: block;
  width: 100%;
  height: auto;
}

.stage-copy {
  flex: 1;
  min-width: 260px;
}

.stage h2 {
  margin: 0 0 0.6rem;
}

.h2-light {
  font-weight: 400;
}

.endline {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  margin-top: 3rem;
  font-size: 1.15rem;
}

.wf .card {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 2.5;
}

.wf .card-faint {
  fill: var(--paper);
  stroke: var(--line);
  stroke-width: 2.5;
}

.wf .bar {
  fill: var(--line);
}

.wf .bar-ink {
  fill: var(--ink);
}

.wf .hl {
  fill: var(--highlight);
}

.wf .swatch-muted {
  fill: var(--muted);
}

.wf .tick {
  fill: none;
  stroke: var(--highlight-ink);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
