@charset "UTF-8";
:root {
    color-scheme: light;
    --paper: #f8f9fb;
    --ink: #11151b;
    --muted: #616a78;
    --line: #dce1e8;
    --blue: #225ee2;
    --pale: #e8efff;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a {
    color: inherit;
    text-decoration: none;
}
button, input, textarea, select {
    font: inherit;
}
button, a, input, textarea, select, summary {
    -webkit-tap-highlight-color: transparent;
}
button {
    cursor: pointer;
}
a:hover {
    color: var(--blue);
}
:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 5px;
}
::selection {
    background: #c8d9ff;
}
.wrap {
    width: min(1184px, calc(100% - 80px));
    margin-inline: auto;
}
.site-header {
    min-height: 113px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    gap: 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}
.brand-text {
    font-size: 43px;
    font-weight: 750;
    letter-spacing: -2.8px;
}
.brand-dot, .blue {
    color: var(--blue);
}
.brand-image {
    width: 170px;
    height: auto;
    max-height: 54px;
    object-fit: contain;
}
.site-header nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 14px;
    font-weight: 550;
}
.site-header nav form {
    margin: 0;
}
.eyebrow {
    font-size: 10px;
    letter-spacing: 1.6px;
    font-weight: 700;
    line-height: 1.6;
}
.home-lead {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(32px, 5vw, 80px);
    padding-block: clamp(56px, 7.5vw, 104px) clamp(46px, 6vw, 84px);
}
.home-intro h1 {
    max-width: 13ch;
    margin-bottom: 24px;
    font-size: clamp(42px, 6.6vw, 96px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.065em;
    text-wrap: balance;
    overflow-wrap: anywhere;
}
.home-intro p {
    max-width: 36ch;
    margin-bottom: 26px;
    color: var(--muted);
    font-size: clamp(17px, 1.65vw, 22px);
    line-height: 1.55;
}
.button.home-action {
    gap: 20px;
    border-radius: 8px;
}
.initiative-list {
    display: grid;
    gap: 16px;
}
.initiative {
    --initiative-accent: #94ebb2;
    padding: clamp(22px, 3vw, 36px);
    border-radius: 20px;
    background: radial-gradient(ellipse at top right, #234236, transparent 74%), #111c17;
    color: #f5f9f6;
}
.initiative-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(12px, 2vw, 24px);
    min-height: 144px;
    padding-bottom: 24px;
}
.initiative-content > div {
    min-width: 0;
    overflow-wrap: anywhere;
}
.initiative h2 {
    margin-bottom: 10px;
    font-size: clamp(25px, 2.7vw, 36px);
    font-weight: 650;
    line-height: 1.1;
    letter-spacing: -.04em;
}
.initiative p {
    max-width: 29ch;
    margin: 0;
    color: #c3d4ca;
    font-size: 15px;
    line-height: 1.55;
}
.initiative-mark {
    display: block;
    width: clamp(52px, 26%, 108px);
    height: auto;
}
.initiative-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding-top: 14px;
    border-top: 1px solid #395448;
    color: var(--initiative-accent);
    font-size: 14px;
    font-weight: 650;
}
.initiative-link:hover {
    color: #fff;
}
.initiative-link:focus-visible {
    outline-color: var(--initiative-accent);
}
.initiative-link svg {
    flex: none;
    transition: transform .18s ease;
}
.initiative-link:hover svg {
    transform: translate(2px, -2px);
}
.journal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-block: 48px 28px;
    border-bottom: 1px solid var(--line);
}
.journal {
    padding-bottom: 56px;
}
h1, h2, h3, p {
    margin-top: 0;
}
.journal-title {
    font-size: clamp(36px, 5vw, 56px);
    letter-spacing: -.04em;
    line-height: 1.1;
    font-weight: 650;
    margin: 0;
}
.home-lead + .journal .journal-header {
    padding-block: 24px 16px;
    border-top: 1px solid var(--line);
}
.home-lead + .journal .journal-title {
    font-size: clamp(25px, 3vw, 34px);
}
.note-icon {
    display: block;
    width: clamp(48px, 8vw, 72px);
    height: auto;
}
.muted {
    color: var(--muted);
}
.empty-state {
    padding-block: 28px;
    color: var(--muted);
}
.empty-state p {
    margin: 0;
}
.post-card {
    border-bottom: 1px solid var(--line);
    padding: 26px 0 30px;
}
.post-meta {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 12px;
}
.post-title {
    font-size: 29px;
    line-height: 1.25;
    letter-spacing: -.8px;
    font-weight: 650;
    margin-bottom: 12px;
    overflow-wrap: anywhere;
}
.post-card > p {
    color: var(--muted);
    font-size: 15px;
}
.inline-link {
    font-size: 13px;
    color: var(--blue);
    font-weight: 600;
}
.pagination {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 28px;
    font-size: 13px;
}
.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid var(--line);
    padding-block: 24px;
    font-size: 13px;
    color: var(--muted);
}
.skip-link {
    position: fixed;
    left: 12px;
    top: -100px;
    background: var(--ink);
    color: white;
    padding: 10px 20px;
    z-index: 10;
}
.skip-link:focus {
    top: 12px;
}
.article {
    max-width: 760px;
    margin: 54px auto 80px;
}
.back-link {
    font-size: 13px;
    color: var(--muted);
    display: inline-block;
    margin-bottom: 36px;
}
.article-header {
    border-bottom: 1px solid var(--line);
    padding-bottom: 30px;
    margin-bottom: 36px;
}
.article h1 {
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.12;
    letter-spacing: -2px;
    overflow-wrap: anywhere;
}
.article-intro {
    font-size: 19px;
    color: var(--muted);
    line-height: 1.7;
}
.prose {
    font-size: 17px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}
.prose h2, .prose h3 {
    line-height: 1.3;
    letter-spacing: -.5px;
    margin-top: 1.8em;
}
.prose a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.prose pre {
    background: #edf0f5;
    padding: 20px;
    overflow-x: auto;
    font-size: 14px;
}
.prose blockquote {
    margin-left: 0;
    padding-left: 24px;
    border-left: 3px solid var(--blue);
    color: var(--muted);
}
.prose img {
    max-width: 100%;
    height: auto;
}
.message-page {
    padding: 100px 0 130px;
    max-width: 720px;
}
.message-page h1 {
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -2px;
}
.message-page > p:not(.eyebrow) {
    color: var(--muted);
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: var(--blue);
    color: #fff;
    border: 1px solid var(--blue);
    padding: 12px 19px;
    min-height: 48px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 3px;
}
.button:hover {
    background: #174bc1;
    color: #fff;
}
.button.secondary {
    background: #fff;
    color: var(--ink);
    border-color: var(--line);
}
.button.secondary:hover {
    border-color: var(--blue);
}
.text-button {
    color: var(--muted);
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 14px;
}
.login-card {
    max-width: 480px;
    margin: 70px auto 90px;
    padding: 34px;
    border: 1px solid var(--line);
    background: white;
}
.login-card h1 {
    font-size: 32px;
    letter-spacing: -1px;
    line-height: 1.2;
}
.form-stack {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.form-stack label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}
input, textarea, select {
    width: 100%;
    border: 1px solid #b4bece;
    border-radius: 3px;
    padding: 11px 12px;
    background: white;
    color: var(--ink);
    min-height: 46px;
}
textarea {
    resize: vertical;
}
.field-hint {
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}
.alert {
    background: #fff2f0;
    border: 1px solid #e7b0a8;
    color: #9c2820;
    padding: 16px;
    font-size: 14px;
}
.alert ul {
    padding-left: 20px;
    margin: 0;
}
.panel-section {
    margin-block: 48px 80px;
}
.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}
.panel-heading h1 {
    font-size: 44px;
    letter-spacing: -1.7px;
    line-height: 1.1;
    margin: 0;
}
.entry-list {
    border-top: 1px solid var(--line);
}
.entry-row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}
.entry-row > span:first-child {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}
.entry-row small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}
.badge {
    background: #e9edf3;
    color: #495464;
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 20px;
    white-space: nowrap;
}
.badge.published {
    background: #e1f1e9;
    color: #246341;
}
.editor-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 40px;
    align-items: start;
}
.editor-sidebar {
    border: 1px solid var(--line);
    padding: 22px;
    background: #fff;
}
.editor-sidebar h2 {
    font-size: 20px;
    margin: 0;
}
.editor-sidebar p {
    margin: 0;
}
.markdown-input {
    font: 14px/1.8 Consolas, monospace;
    min-height: 380px;
}
.markdown-help {
    font-size: 13px;
    color: var(--muted);
}
.markdown-help summary {
    cursor: pointer;
}
.markdown-help p {
    padding-top: 12px;
    line-height: 2;
}
.preview {
    background: white;
    padding: 40px;
    margin-top: 40px;
    border: 1px solid var(--line);
}
.preview > h2 {
    font-size: 36px;
    letter-spacing: -1px;
    overflow-wrap: anywhere;
}
@media (max-width: 950px) {
    .wrap {
        width: calc(100% - 48px);
    }
    .editor-form {
        gap: 24px;
        grid-template-columns: minmax(0, 1fr) 250px;
    }
}
@media (max-width: 760px) {
    .home-lead {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        padding-block: 48px 36px;
    }
    .initiative-content {
        min-height: 100px;
    }
}
@media (max-width: 680px) {
    .wrap {
        width: calc(100% - 40px);
    }
    .site-header {
        min-height: 88px;
        gap: 16px;
    }
    .brand-text {
        font-size: 34px;
        letter-spacing: -2px;
    }
    .brand-image {
        width: 126px;
    }
    .site-header nav {
        gap: 17px;
        font-size: 12px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .article {
        margin-top: 32px;
    }
    .article h1 {
        font-size: 36px;
        letter-spacing: -1.3px;
    }
    .article-intro {
        font-size: 17px;
    }
    .message-page {
        padding: 65px 0 90px;
    }
    .message-page h1 {
        font-size: 36px;
    }
    .login-card {
        margin-block: 36px 50px;
        padding: 24px;
    }
    .panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }
    .panel-heading h1 {
        font-size: 36px;
    }
    .editor-form {
        grid-template-columns: 1fr;
    }
    .preview {
        padding: 24px;
    }
    .entry-row {
        gap: 12px;
        font-size: 14px;
    }
    .entry-row > span:last-child {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .initiative-link svg {
        transition: none;
    }
    .initiative-link:hover svg {
        transform: none;
    }
}
