/* Generated by scripts/build_site.py. Edit that file and rebuild. */
:root {
  color-scheme: light;
  --bg: #f6f5f2;
  --text: #1a1d21;
  --muted: #4e555d;
  --accent: #1f5c99;
  --pill-bg: #e5eef6;
  --pill-text: #1a4e80;
  --line: #e2e0da;
  --selection: #d5e4f5;
  --code-bg: #e5eef6;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #12161b;
    --text: #eceae4;
    --muted: #b0b6bd;
    --accent: #9ec4ee;
    --pill-bg: #1c2c3d;
    --pill-text: #c5ddf6;
    --line: #2c333c;
    --selection: #1f5c99;
    --code-bg: #1c2c3d;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--accent);
}

::selection {
  background: var(--selection);
  color: var(--text);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  padding: 0.35rem 0.7rem;
  background: var(--bg);
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(100%, calc(680px + 2.5rem));
  margin: 0 auto;
  padding: 2.25rem 1.25rem 3.5rem;
}

header {
  margin-bottom: 2.75rem;
}

.site-title {
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.site-title:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.tagline {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.revision-name {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1 {
  margin: 0.35rem 0 1.5rem;
  font-size: clamp(1.7rem, 4.6vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.18;
  text-wrap: balance;
}

h2 {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.4;
  text-transform: uppercase;
}

p {
  overflow-wrap: break-word;
}

.kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  margin: 0;
}

time {
  color: var(--muted);
  font-size: 0.95rem;
}

.pill {
  display: inline-block;
  padding: 0.18rem 0.62rem;
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--pill-text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.pill-revised {
  background: var(--accent);
  color: var(--bg);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vision-banner {
  margin: 0 0 1.15rem;
  padding: 0.95rem 1rem;
  background: var(--accent);
  color: var(--bg);
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.15;
  text-align: center;
}

.vision-revised {
  margin: 1.85rem 0 0.85rem;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
  background: var(--pill-bg);
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
}

.vision-revised time {
  color: var(--text);
  font-size: inherit;
  font-weight: 700;
}

.dek {
  margin: 0.2rem 0 2rem;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.5;
}

.changed,
.forecast,
.commentary,
.society-points {
  margin: 0 0 2.5rem;
}

.changed {
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
}

.changed .body,
.forecast .body,
.commentary .body,
.society-points .body {
  margin-top: 0.85rem;
}

.forecast-note {
  margin: 0.35rem 0 0.9rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.vision-fold {
  margin: 0.35rem 0 1.5rem;
}

.vision-fold summary {
  display: inline-block;
  padding: 0.15rem 0;
  color: var(--accent);
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}

.vision-fold summary:hover {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.vision-fold .body {
  margin-top: 1.15rem;
}

.body {
  font-size: 1.125rem;
  line-height: 1.7;
}

.body p,
.body ul,
.body ol,
.body blockquote,
.body pre {
  margin: 0 0 1.15rem;
}

.body p:last-child,
.body ul:last-child,
.body ol:last-child,
.body blockquote:last-child,
.body pre:last-child {
  margin-bottom: 0;
}

.body h2 {
  margin: 2.75rem 0 0.9rem;
}

.body h2:first-child {
  margin-top: 0;
}

.body h3 {
  margin: 1.9rem 0 0.6rem;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-transform: none;
}

.body a {
  color: var(--accent);
  text-underline-offset: 0.16em;
}

.body ul,
.body ol {
  padding-left: 1.25rem;
}

.body li {
  margin: 0.4rem 0;
}

.body li::marker {
  color: var(--accent);
}

.society-points .body li {
  margin: 0.7rem 0;
}

.body blockquote {
  padding-left: 1rem;
  border-left: 3px solid var(--line);
}

.body pre {
  padding: 0.9rem 1rem;
  overflow: auto;
  background: var(--code-bg);
  border-radius: 6px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.body code {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", Menlo, Consolas, monospace;
}

strong {
  font-weight: 600;
}

.source {
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.source a {
  color: var(--accent);
}

.takeaways {
  margin: 0;
  padding: 0;
  list-style: none;
}

.takeaways a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.takeaways li:last-child a {
  border-bottom: 1px solid var(--line);
}

.item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
}

.change-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.item-title {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.item-name {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.takeaways a:hover .item-title,
.takeaways a:focus-visible .item-title {
  color: var(--accent);
}

.more {
  margin: 1.2rem 0 0;
}

.more a,
.pager a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.more a:hover,
.pager a:hover {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.pager {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.pager-dir {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.pager-title {
  display: block;
  color: var(--text);
  font-weight: 600;
  line-height: 1.35;
}

.pager a:hover .pager-title,
.pager a:focus-visible .pager-title {
  color: var(--accent);
}

.pager-home {
  font-weight: 600;
}

footer {
  margin-top: 3.75rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

footer p {
  margin: 0.3rem 0;
}

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

@media (min-width: 720px) {
  .wrap {
    padding-top: 4.5rem;
    padding-bottom: 5rem;
  }

  header {
    margin-bottom: 3.25rem;
  }
}

@media (max-width: 380px) {
  .wrap {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .body {
    font-size: 1.0625rem;
  }
}
