@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-k0HXNf5.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-latin-Dj9csJy.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin-UJbcIJF.woff2") format("woff2");
}

:root {
  --cream: #f4f1e8;
  --forest: #173b57;
  --sage: #78927d;
  --pale: #e3ebe4;
  --violet: #173b57;
  --rose: #78927d;
  --orange: #e58a3a;
  --gradient: linear-gradient(135deg, #173b57, #3d6b6a);
  --gradient-text: linear-gradient(90deg, #173b57, #78927d 55%, #e58a3a);
  --glow-1: #b7c9d8; --glow-2: #f3c39a; --glow-3: #c5d3c7;
  --page: #f4f1e8;
  --surface: #ffffff;
  --soft: #ebe6d8;
  --text: #13202b;
  --muted: #4d5a63;
  --link: #173b57;
  --line: #e2ddcf;
  --button: #173b57;
  --button-hover: #102c42;
  --button-text: #fff;
  --error: #b42318;
  --error-bg: #fff1f0;
  --focus: #c96c1e;
  --h-pad: clamp(18px, 4.5vw, 72px);
  --radius: 24px;
  --shadow: 0 18px 44px -24px rgb(23 59 87 / .38);
  --shadow-soft: 0 10px 30px -22px rgb(23 59 87 / .35);
  --font-head: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  font-family: var(--font-body);
  color-scheme: light;
}
body[data-theme="dark"] {
  --page: #0f1a22; --surface: #16242f; --soft: #1f3340; --text: #eef2ef; --muted: #b3c0c4;
  --link: #9cc3dd; --line: #2a3f4d; --button: #9cc3dd; --button-hover: #bcd7e8; --button-text: #0f1a22;
  --gradient-text: linear-gradient(90deg, #9cc3dd, #a9c2ad 55%, #f0a868);
  --glow-1: #173b57; --glow-2: #7a4318; --glow-3: #3d5a45;
  --error: #ffb4ab; --error-bg: #3f1d22; --focus: #f0a868; color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  body[data-theme="system"] {
    --page: #0f1a22; --surface: #16242f; --soft: #1f3340; --text: #eef2ef; --muted: #b3c0c4;
    --link: #9cc3dd; --line: #2a3f4d; --button: #9cc3dd; --button-hover: #bcd7e8; --button-text: #0f1a22;
    --gradient-text: linear-gradient(90deg, #9cc3dd, #a9c2ad 55%, #f0a868);
    --glow-1: #173b57; --glow-2: #7a4318; --glow-3: #3d5a45;
    --error: #ffb4ab; --error-bg: #3f1d22; --focus: #f0a868; color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 20px; }
body { margin: 0; min-width: 280px; background: var(--page); color: var(--text); font-size: 16px; line-height: 1.6; }
body[data-theme] {
  background:
    radial-gradient(520px 420px at 0% 0%, color-mix(in srgb, var(--glow-1) 60%, transparent), transparent 70%),
    radial-gradient(480px 380px at 100% 4%, color-mix(in srgb, var(--glow-2) 50%, transparent), transparent 70%),
    radial-gradient(420px 360px at 55% 30%, color-mix(in srgb, var(--glow-3) 34%, transparent), transparent 70%),
    var(--page);
  background-repeat: no-repeat;
  background-size: 100% 1100px, 100% 1100px, 100% 1100px, auto;
}
body[data-theme] { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body[data-theme] > main { flex: 1 0 auto; }
body[data-theme] > .site-header, body[data-theme] > .site-footer { flex: none; }
a { color: var(--link); text-underline-offset: .2em; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
button, a, input, textarea, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
main:focus:not(:focus-visible), h1:focus:not(:focus-visible), turbo-frame:focus:not(:focus-visible) { outline: 0; }
.icon { display: inline-block; flex: none; vertical-align: middle; }
.sr-only, .visually-hidden { position: absolute; height: 1px; width: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 80; left: 12px; top: -80px; padding: 10px 16px; border-radius: 8px; background: var(--surface); color: var(--text); }
.skip-link:focus { top: 8px; }
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--page) 72%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.header-inner, .container, .footer-inner { width: min(100%, 1280px); margin: 0 auto; padding-inline: var(--h-pad); }
.header-inner { display: flex; align-items: center; gap: clamp(15px, 2.1vw, 32px); min-height: 72px; }
.site-brand, .footer-brand { flex: none; display: inline-flex; align-items: center; justify-content: flex-start; text-decoration: none; }
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; line-height: 1; }
.brand-mark { display: block; width: 36px; height: auto; aspect-ratio: 1; }
.brand-type { display: block; color: var(--text); font-family: var(--font-head); font-size: 20px; font-weight: 750; letter-spacing: -.02em; white-space: nowrap; }
.primary-nav { display: flex; align-self: center; justify-content: flex-start; flex: 1; gap: 4px; }
.primary-nav a, .login-link, .menu-panel a, .footer-inner nav a, .mobile-nav a, .tabs a { text-decoration: none; }
.primary-nav a { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 550; color: var(--muted); white-space: nowrap; }
.primary-nav a:hover { color: var(--text); background: color-mix(in srgb, var(--soft) 70%, transparent); }
.primary-nav a[aria-current] { color: var(--text); background: var(--surface); box-shadow: var(--shadow-soft); }
.header-controls, .header-actions { display: flex; align-items: center; gap: 13px; }
.header-controls { margin-inline-start: auto; }
.login-link { color: var(--text); font-size: 14px; font-weight: 600; white-space: nowrap; }
.login-link:hover, .footer-inner nav a:hover, .text-link:hover { text-decoration: underline; }
.site-menu { position: relative; flex: none; }
.site-menu summary, .icon-link { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--link); cursor: pointer; list-style: none; }
.theme-toggle { flex: none; padding: 0; border: 0; background: transparent; }
.theme-toggle > span { display: flex; }
.theme-toggle[aria-pressed="false"] .theme-toggle-sun,
.theme-toggle[aria-pressed="true"] .theme-toggle-moon { display: none; }
.site-menu summary::-webkit-details-marker { display: none; }
.header-badge-link { position: relative; }
.header-badge-link > [aria-live] { position: absolute; inset: 0; }
.notification-count {
  position: absolute; top: -2px; inset-inline-end: -2px; min-width: 20px; padding: 0 4px;
  border: 2px solid var(--page); border-radius: 999px; background: var(--error); color: var(--error-bg);
  font-size: 11px; line-height: 16px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: center;
}
@media (forced-colors: active) { .notification-count { color: HighlightText; background: Highlight; border-color: Canvas; forced-color-adjust: none; } }
.site-menu summary:hover, .site-menu[open] summary, .icon-link:hover, .icon-link[aria-current] { background: var(--soft); }
.menu-panel { position: absolute; top: calc(100% + 8px); right: 0; display: grid; gap: 2px; width: min(330px, calc(100vw - 30px)); max-height: calc(100dvh - 125px); overflow: auto; padding: 10px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.menu-panel a, .menu-panel button, .menu-identity { display: flex; align-items: center; gap: 12px; border: none; border-radius: 12px; padding: 10px 12px; background: transparent; color: var(--text); font-size: 14px; text-align: left; }
.menu-panel button { width: 100%; }
.menu-panel a strong, .menu-panel a small { display: block; }
.menu-panel a small { font-size: .76rem; line-height: 1.35; margin-top: 2px; }
.menu-panel a .icon { color: var(--link); }
.menu-panel a span + .icon:last-child { margin-left: auto; }
.menu-panel a + a { border-top: 1px solid var(--line); }
.menu-panel form { margin: 3px 0 0; padding-top: 3px; border-top: 1px solid var(--line); }
.menu-panel a:hover, .menu-panel button:hover { background: var(--soft); }
.menu-identity { font-weight: 700; overflow-wrap: anywhere; }
.mobile-nav { display: none; }
.main-content { min-height: 0; padding-block: clamp(22px, 3.2vw, 46px) clamp(30px, 4vw, 62px); }
h1, h2, h3, h4, p { overflow-wrap: break-word; }
h1, h2, h3, h4 { margin: 0 0 .45em; font-family: var(--font-head); font-weight: 700; color: var(--text); line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 3.6vw, 3.65rem); }
.gradient-text { background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (forced-colors: active) { .gradient-text { color: CanvasText; background: none; } }
h2 { font-size: clamp(1.5rem, 2.45vw, 2.3rem); }
h3 { font-size: clamp(1.05rem, 1.55vw, 1.4rem); }
p { margin: 0 0 1em; }
.muted, .text-muted, .field-hint, small { color: var(--muted); }
.eyebrow { margin: 0 0 .65rem; font-size: .74rem; letter-spacing: .1em; font-weight: 700; text-transform: uppercase; color: var(--link); }
.page-heading { margin-bottom: clamp(20px, 3vw, 36px); }
.page-heading p { max-width: 68ch; color: var(--muted); }
.stack { display: grid; gap: 16px; }
.stack > * { min-width: 0; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.card { padding: clamp(18px, 2.2vw, 30px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-soft); min-width: 0; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px,100%), 1fr)); gap: 20px; }
.btn, .button, button[type="submit"]:not([class]) { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border: 1px solid transparent; border-radius: 14px; background: #173b57 var(--gradient); color: #fff; font-weight: 650; font-size: .95rem; line-height: 1.3; text-decoration: none; text-align: center; box-shadow: 0 10px 24px -14px rgb(23 59 87 / .55); }
.btn:hover, .button:hover, button[type="submit"]:not([class]):hover { background: #102c42 linear-gradient(135deg, #102c42, #2f5857); }
.btn-secondary, .btn.secondary, .button.secondary { background: var(--surface); border-color: var(--line); color: var(--text); box-shadow: none; }
.btn-secondary:hover, .btn.secondary:hover, .button.secondary:hover { background: var(--soft); }
.header-join { min-height: 42px; padding: 8px 18px; border-radius: 999px; font-size: 15px; background: var(--text); color: var(--page); box-shadow: none; }
.header-join:hover { background: var(--link); }
.menu-panel button[type="submit"] { justify-content: flex-start; border-radius: 8px; background: transparent; color: var(--error); }
.menu-panel button[type="submit"]:hover { background: var(--soft); }
.text-link, .hero-signup { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: .89rem; text-decoration: none; }
button:disabled, input:disabled { cursor: not-allowed; opacity: .62; }
input:not([type]), input:is([type="text"],[type="email"],[type="password"],[type="search"],[type="url"],[type="tel"],[type="number"],[type="date"],[type="datetime-local"]), textarea, select, input[type="file"] {
  max-width: 100%; min-width: 0; width: 100%; min-height: 46px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--text);
}
:is(input, textarea, select):focus-visible { outline: 2px solid var(--violet); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 108px; resize: vertical; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--forest); width: 1.05em; height: 1.05em; }
input[type="file"] { padding: 7px; }
::file-selector-button { background: var(--soft); color: var(--link); border: 0; border-radius: 8px; padding: 5px 10px; margin-right: 8px; }
label { font-weight: 550; }
.field { display: grid; align-content: start; gap: 6px; }
fieldset { min-width: 0; border: 1px solid var(--line); border-radius: 16px; }
.notice, .alert { padding: 13px 18px; background: var(--soft); border: 1px solid var(--line); border-radius: 14px; margin: 0 0 15px; }
.notice-danger, .notice-error, .alert-danger, .form-error, .error { color: var(--error); }
.notice-danger, .notice-error, .alert-danger { background: var(--error-bg); }
[aria-invalid="true"] { border-color: var(--error) !important; }
.tabs { display: flex; flex-wrap: wrap; gap: 7px; }
.tabs a, .tabs button { display: inline-flex; align-items: center; gap: 7px; border: 1px solid transparent; border-radius: 999px; padding: 8px 15px; background: transparent; color: var(--muted); font-size: .9rem; font-weight: 600; }
.tabs :is(a,button):hover { background: var(--soft); color: var(--text); }
.tabs :is(a,button):is([aria-current],[aria-selected="true"],.active) { background: var(--text); color: var(--page); }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; background: var(--soft); color: var(--link); font-size: .78rem; font-weight: 650; }
.empty-state { padding: clamp(20px, 3vw, 38px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.empty-state p { color: var(--muted); }
.avatar { display: inline-grid; flex: none; place-items: center; width: 42px; height: 42px; overflow: hidden; border-radius: 14px; background: var(--gradient); color: #fff; font-weight: 700; object-fit: cover; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 10px; margin: 28px 0; }
.pagination a { padding: 7px 13px; border-radius: 10px; }
.pagination a[aria-current] { background: var(--text); color: var(--page); }
.turbo-progress-bar { height: 3px; background: var(--gradient-text); }
turbo-frame[busy] { opacity: .7; }
.site-footer { margin-top: clamp(24px, 4vw, 56px); border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); }
.footer-directory {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-block: 40px 32px;
}
.footer-brand { align-self: start; justify-self: start; max-width: 92%; min-height: 32px; }
.footer-brand .brand-lockup { max-width: 100%; gap: 10px; }
.footer-brand .brand-mark { width: 34px; }
.footer-brand .brand-type { font-size: 20px; }
.footer-group {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 4px;
  font-size: .92rem;
}
.footer-group h2, .footer-group .footer-heading { margin: 0 0 6px; font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: -.01em; color: var(--text); }
.footer-inner nav a { display: flex; align-items: center; min-width: 24px; min-height: 28px; color: inherit; line-height: 1.3; }
.footer-inner nav a:hover { color: var(--link); }
.footer-legal { border-top: 1px solid var(--line); }
.footer-legal nav {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0 24px;
  padding-block: 14px;
  font-size: .82rem;
}
.audience-panel:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 1480px; margin: 0 auto; border-top: 1px solid var(--line); padding: 10px var(--h-pad); }
.audience-panel p { flex: 1 1 350px; margin: 0 8px 0 0; font-size: .75rem; }
.audience-panel .btn, [data-audience-settings].btn { min-height: 32px; padding: 5px 12px; border-color: var(--muted); background: transparent; color: var(--link); font-size: .75rem; }
.audience-panel .btn:hover, [data-audience-settings].btn:hover { background: var(--soft); }
[data-audience-settings]:not([hidden]), [data-audience-status]:not(:empty) { margin: 0 var(--h-pad) 16px; }
.d-place { position: relative; }
.d-place label { font-weight: 600; }
.d-place-options { position: absolute; z-index: 6; top: 100%; left: 0; min-width: 100%; width: max-content; max-width: min(24rem, calc(100vw - 2rem)); display: grid; gap: 2px; margin-top: 6px; padding: 6px; max-height: 18rem; overflow-y: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.d-place-option { display: flex; flex-direction: column; align-items: flex-start; gap: .05rem; width: 100%; min-height: 44px; padding: .55rem .75rem; border: 0; border-radius: 10px; background: transparent; color: var(--text); font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.d-place-option small { color: var(--muted); font-size: .78rem; font-weight: 500; }
.d-place-option:is(:hover, :focus-visible) { background: var(--soft); outline: none; }
[hidden] { display: none !important; }

.info-article { max-width: 72ch; margin-inline: auto; gap: 0; }
.info-article .page-heading { margin-bottom: 16px; }
.info-article .page-heading a { font-size: .85rem; }
.info-article .page-heading h1 { margin: 15px 0 0; }
.info-article .info-lead { font-family: var(--font-head); font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.info-article h2 { margin-top: 1.1em; margin-bottom: .5em; font-size: clamp(1.35rem, 2.3vw, 1.9rem); }
.info-article p { line-height: 1.7; margin: 0 0 .9em; }
.info-article .btn { justify-self: start; margin-top: 12px; }
@media (max-width: 1130px) {
  .header-inner { gap: 14px; }
  .primary-nav { gap: 2px; }
}
@media (max-width: 960px) {
  body[data-theme] {
    --mobile-nav-link-height: 45px;
    --mobile-nav-padding: 6px;
    --mobile-nav-bottom: max(var(--mobile-nav-padding), env(safe-area-inset-bottom, 0px));
    padding-bottom: calc(1px + var(--mobile-nav-padding) + var(--mobile-nav-link-height) + var(--mobile-nav-bottom));
  }
  .header-inner {
    display: grid;
    grid-template: "menu brand actions" auto / minmax(max-content, 1fr) auto minmax(max-content, 1fr);
    gap: 8px;
    min-height: 58px;
  }
  .site-brand { grid-area: brand; }
  .header-controls { display: contents; }
  .site-menu { grid-area: menu; justify-self: start; }
  .header-actions { grid-area: actions; justify-self: end; }
  .site-menu summary, .header-inner .icon-link { width: 44px; height: 44px; }
  .header-actions .login-link { display: inline-flex; align-items: center; min-height: 44px; }
  .menu-panel { right: auto; left: 0; }
  .primary-nav { display: none; }
  .site-menu summary { margin-left: -7px; }
  .mobile-nav { display: flex; position: fixed; inset: auto 0 0; z-index: 12; justify-content: center; padding: var(--mobile-nav-padding) var(--mobile-nav-padding) var(--mobile-nav-bottom); background: color-mix(in srgb, var(--surface) 88%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
  .mobile-nav a { display: flex; flex: 0 1 125px; min-width: 0; min-height: var(--mobile-nav-link-height); flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: var(--muted); font-size: .75rem; font-weight: 550; }
  .mobile-nav a[aria-current] { color: var(--link); font-weight: 700; }
  .mobile-nav-icon { display: grid; place-items: center; height: 26px; width: 40px; border-radius: 999px; }
  .mobile-nav a[aria-current] { background: var(--soft); border-radius: 14px; }
  .mobile-nav .nav-publish .mobile-nav-icon { background: var(--gradient); color: #fff; }
  html { scroll-padding-bottom: 80px; }
}
@media (max-width: 720px) {
  .footer-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; padding-block: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand .brand-mark { width: 30px; }
  .footer-brand .brand-type { font-size: 18px; }
  .footer-group { font-size: .875rem; }
  .footer-inner nav a { min-height: 28px; }
  .footer-legal nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
}
@media (481px <= width <= 520px) {
  .header-inner { padding-inline: 10px; }
  .header-actions { gap: 5px; }
}
@media (max-width: 480px) {
  .brand-mark { width: 30px; } .brand-type { font-size: 18px; }
  .brand-lockup { gap: 7px; }
  .header-actions { gap: 1px; }
  .login-link { font-size: .78rem; }
  .header-join { display: none; }
  .main-content { padding-top: 21px; }
}
@media (max-width: 370px) {
  .header-inner { padding-inline: 10px; gap: 4px; }
  .site-menu summary { margin-left: -3px; }
  .brand-type { font-size: 16px; }
}
@media (max-width: 340px) { .mobile-nav a { flex: 1 0 auto; font-size: .64rem; } }
@media (max-width: 319px) { .site-brand .brand-type { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .btn, .icon-link, .primary-nav a { transition: color .15s, border-color .15s, background-color .15s, transform .2s, box-shadow .2s; }
  .btn:hover { transform: translateY(-1px); }
  .card { transition: box-shadow .25s, transform .25s; }
}
@media print {
  .site-header, .site-footer, .mobile-nav, .skip-link { display: none !important; }
  body { padding: 0; color: #111; background: white; }
  .main-content { max-width: none; padding: 0; }
}
