@font-face {
  font-family: Inter;
  src: url("/assets/fonts/Inter-latin-var.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
}
@font-face {
  font-family: Cal;
  src: url("/assets/fonts/CalSansVF.woff2") format("woff2");
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #fbfaf7;
  color: #13213a;
  font:
    16px/1.65 Inter,
    system-ui,
    sans-serif;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input {
  font: inherit;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #275fc3 !important;
  outline-offset: 5px;
}
h1,
h2,
h3 {
  font-family: Cal, Inter, sans-serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  margin: 18px 0 24px;
  max-width: 1050px;
}
h2 {
  font-size: clamp(1.65rem, 3vw, 2.6rem);
}
p {
  margin: 0 0 1em;
}
.site-header {
  max-width: 1280px;
  margin: auto;
  padding: 27px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #dcdedc;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}
.site-header nav a {
  text-decoration: none;
}
.site-header nav [aria-current] {
  text-decoration: underline;
}
.nav-brief {
  background: #e8eef8;
  padding: 10px 16px;
  border-radius: 5px;
}
main {
  max-width: 1200px;
  margin: auto;
  padding: 0 32px;
}
.archive-hero {
  padding: 86px 0 62px;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.15em;
  color: #365d94;
}
.archive-hero > p:last-child {
  font-size: 20px;
  max-width: 610px;
  color: #536072;
}
.dot {
  color: #5889de;
}
.empty {
  border-top: 1px solid #d4d9df;
  border-bottom: 1px solid #d4d9df;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 36px;
  padding: 50px 0;
  margin-bottom: 70px;
}
.empty-icon {
  display: grid;
  place-items: center;
  border: 1px solid #d7dfeb;
  border-radius: 50%;
  width: 130px;
  height: 130px;
  font-size: 65px;
  color: #4978c8;
}
.empty h2 {
  margin: 10px 0 20px;
}
.empty p {
  max-width: 650px;
  color: #536072;
}
.text-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 650;
  margin-top: 12px;
}
.signup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  background: #e9eff9;
  padding: 48px;
  border-radius: 12px;
  margin: 65px 0;
}
.signup h2 {
  margin: 16px 0 20px;
}
.signup p {
  max-width: 430px;
}
.small,
.byline {
  font-size: 13px;
  color: #566276;
}
.kit {
  align-self: center;
}
.formkit-form {
  width: 100%;
}
.formkit-input {
  width: 100%;
  padding: 15px;
  border: 1px solid #8797ae;
  border-radius: 5px;
  background: white;
}
.formkit-submit,
.button {
  display: inline-block;
  background: #152540;
  color: #fff;
  border: 0;
  border-radius: 5px;
  padding: 15px 22px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}
.formkit-submit {
  width: 100%;
  margin: 12px 0;
}
.formkit-alert:empty {
  display: none;
}
.formkit-alert {
  padding: 12px;
  list-style: none;
}
.formkit-alert-error {
  color: #992b1c;
}
.formkit-alert-success {
  color: #165c39;
}
.formkit-powered-by-convertkit {
  font-size: 11px;
}
.product {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 30px 0 65px;
}
.product h2 {
  font-size: 30px;
  margin: 12px 0;
}
.product > div:last-child {
  min-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.site-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 32px;
  border-top: 1px solid #d4d9df;
}
.site-footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13px;
  margin: 24px 0;
}
.site-footer p {
  color: #536072;
  font-size: 13px;
}
.skip {
  position: absolute;
  left: 20px;
  top: -100px;
  background: #fff;
  padding: 12px;
  z-index: 9;
}
.skip:focus {
  top: 10px;
}
.categories,
.pagination {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.categories a,
.pagination a {
  padding: 8px 15px;
  border: 1px solid #d3dce9;
  border-radius: 24px;
  font-size: 13px;
  text-decoration: none;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: white;
  border: 1px solid #dce1e8;
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.card h2 {
  font-size: 27px;
  margin: 16px 0;
}
.card h2 a {
  text-decoration: none;
}
.card p {
  font-size: 15px;
  color: #536072;
}
.card .small {
  margin-top: auto;
  padding-top: 20px;
  font-size: 12px;
}
.breadcrumbs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #536072;
  margin: 35px 0;
}
.article-header {
  max-width: 880px;
  margin: 55px auto 45px;
}
.article-header h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}
.dek {
  font-size: 22px;
  color: #536072;
}
.reading {
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  gap: 50px;
  justify-content: center;
}
.prose {
  grid-column: 2;
  font-size: 18px;
  line-height: 1.85;
  min-width: 0;
}
.prose h2 {
  font-size: 32px;
  margin: 48px 0 20px;
  scroll-margin-top: 30px;
}
.prose h3 {
  font-size: 25px;
  margin: 32px 0 15px;
}
.prose pre {
  overflow: auto;
  background: #eaf0f6;
  padding: 20px;
  border-radius: 6px;
  font-size: 14px;
}
.prose code {
  overflow-wrap: anywhere;
}
.prose blockquote {
  border-left: 3px solid #5889de;
  margin: 24px 0;
  padding: 4px 24px;
  color: #536072;
}
.prose img {
  max-width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: contain;
}
.prose table {
  display: block;
  overflow: auto;
  border-collapse: collapse;
  font-size: 15px;
}
.prose td,
.prose th {
  padding: 10px;
  border: 1px solid #ccd6e4;
}
.toc {
  align-self: start;
  position: sticky;
  top: 30px;
  font-size: 13px;
  border-top: 2px solid #a5b9d7;
  padding-top: 20px;
}
.toc ol {
  padding-left: 20px;
}
.toc li {
  margin: 10px 0;
}
.hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 24px;
}
.related {
  margin-bottom: 65px;
}
.pagination {
  margin-top: 30px;
}
@media (max-width: 760px) {
  .site-header {
    padding: 20px;
    flex-wrap: wrap;
    gap: 18px;
  }
  .site-header nav {
    gap: 20px;
    font-size: 13px;
    width: 100%;
  }
  .nav-brief {
    padding: 7px 9px;
  }
  main {
    padding: 0 22px;
  }
  .archive-hero {
    padding: 55px 0 35px;
  }
  .archive-hero > p:last-child {
    font-size: 18px;
  }
  .empty {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
    margin-bottom: 35px;
  }
  .empty-icon {
    width: 70px;
    height: 70px;
    font-size: 40px;
  }
  .signup {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px;
    margin: 35px 0;
  }
  .product {
    display: block;
    padding-bottom: 40px;
  }
  .product > div:last-child {
    margin-top: 24px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .reading {
    display: block;
  }
  .toc {
    position: static;
    margin: 0 0 36px;
  }
  .prose {
    font-size: 17px;
  }
  .article-header {
    margin: 35px auto;
  }
  .dek {
    font-size: 19px;
  }
  .site-footer {
    padding: 30px 22px;
  }
  .formkit-submit {
    min-height: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* October 14 owner revisions: match the production landing page palette and typography. */
:root {
  --navy: #0f1b33;
  --ink: #111827;
  --ink2: #4b5563;
  --blue: #5b8ee8;
  --blue-d: #3f74d6;
  --blue-t: #2f62c4;
  --sky: #eef3fc;
  --cream: #f6f3ec;
}
body {
  background: #fff;
  color: var(--ink);
  line-height: 1.55;
}
h1,
h2,
h3 {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--navy);
}
h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: 1.05;
}
h2 {
  font-size: clamp(1.7rem, 3vw, 2.375rem);
}
.site-header,
main,
.site-footer {
  max-width: 1120px;
}
.site-header {
  padding: 22px 32px;
  border-color: #e5e7eb;
  flex-wrap: wrap;
}
.brand {
  flex: none;
}
.brand img {
  width: 220px;
  height: auto;
  display: block;
  object-fit: contain;
}
.site-header nav {
  gap: 22px;
  font-size: 13px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-header nav > a:not(.nav-brief) {
  max-width: 205px;
}
.nav-brief {
  background: var(--blue);
  color: var(--navy);
  font-weight: 700;
  border-radius: 8px;
  padding: 12px 16px;
}
.nav-brief:hover,
.button:hover {
  background: var(--blue-d);
  color: white;
}
.archive-hero {
  padding: 64px 0 48px;
}
.archive-hero > p:last-child,
.empty p,
.card p {
  color: var(--ink2);
}
.eyebrow {
  color: var(--blue-t);
  letter-spacing: 1.4px;
}
.dot {
  color: var(--blue);
}
.empty {
  background: var(--cream);
  border: 0;
  border-radius: 14px;
  padding: 36px;
  grid-template-columns: 95px 1fr;
  gap: 30px;
}
.empty-icon {
  width: 80px;
  height: 80px;
  font:
    52px/1 Inter,
    system-ui,
    sans-serif;
  background: white;
  color: var(--blue-t);
  border: 0;
}
.empty h2 {
  font-size: 30px;
}
.text-link {
  color: var(--blue-t);
}
.signup {
  background: var(--sky);
  border-radius: 14px;
  gap: 44px;
  padding: 40px;
  scroll-margin-top: 24px;
}
.signup h2 {
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  line-height: 1.15;
}
.signup p {
  color: var(--ink2);
}
.signup .eyebrow {
  color: var(--blue-t);
}
.formkit-input {
  border: 1px solid #d1d9e6;
  border-radius: 8px;
  padding: 13px 14px;
  font-size: 14px;
}
.formkit-submit,
.button {
  background: var(--blue);
  color: var(--navy);
  border-radius: 8px;
  font-weight: 700;
}
.formkit-submit {
  background: white;
  border: 1.5px solid var(--navy);
  padding: 14px;
  font-size: 13px;
}
.formkit-submit:hover {
  background: var(--navy);
  color: white;
}
.formkit-spinner {
  display: none;
}
.formkit-submit[data-active] .formkit-spinner {
  display: block;
}
.formkit-submit[data-active] span {
  display: none;
}
.formkit-submit[data-active] .formkit-spinner:after {
  content: "Sending…";
}
.product {
  background: var(--navy);
  color: white;
  border-radius: 14px;
  padding: 40px;
  margin: 0 0 64px;
  align-items: center;
  gap: 32px;
}
.product h2 {
  color: white;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  max-width: 590px;
  line-height: 1.15;
}
.product .eyebrow {
  color: #a9c7fc;
}
.product .text-link {
  color: #c6d9fc;
}
.product p:not(.eyebrow) {
  color: #dce5f3;
}
.product > div:last-child {
  min-width: 240px;
  max-width: 300px;
}
.product .button {
  text-align: center;
}
.article-header h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
}
.prose h2 {
  font-size: 30px;
}
.dek {
  color: var(--ink2);
}
.site-footer {
  border-color: #e5e7eb;
}
.site-footer .brand img {
  width: 200px;
}
@media (max-width: 1000px) {
  .site-header {
    justify-content: center;
  }
  .site-header nav {
    justify-content: center;
  }
  .site-header nav > a:not(.nav-brief) {
    max-width: none;
  }
}
@media (max-width: 760px) {
  .site-header {
    padding: 20px;
    justify-content: flex-start;
    gap: 20px;
  }
  .site-header nav {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px 20px;
    width: 100%;
    justify-items: start;
    align-items: center;
  }
  .site-header nav > a:not(.nav-brief) {
    max-width: none;
  }
  .nav-brief {
    grid-column: 1/-1;
    font-size: 12px;
  }
  .brand img {
    width: 210px;
  }
  .archive-hero {
    padding: 40px 0 30px;
  }
  .empty {
    grid-template-columns: 1fr;
    padding: 26px;
    gap: 20px;
  }
  .empty h2 {
    font-size: 27px;
  }
  .empty-icon {
    width: 60px;
    height: 60px;
    font-size: 40px;
  }
  .signup {
    padding: 26px;
    gap: 20px;
  }
  .product {
    padding: 26px;
    display: block;
  }
  .product > div:last-child {
    max-width: none;
    min-width: 0;
  }
  .product .button {
    max-width: 100%;
    font-size: 13px;
  }
  .site-footer nav {
    gap: 16px;
  }
  .prose h2 {
    font-size: 27px;
  }
}

/* Blog image batch: preserve complete compositions on every viewport. */
.hero-image { object-fit: contain; }
.card-image { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; border-radius: 8px; margin-bottom: 18px; }
