@charset "UTF-8";
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role=list],
ol[role=list] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
}

a {
  color: #145db8;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: #0f4a96;
}

/* Home layout: calm spacing, simple feed, inherits _site-typography. */
body.site {
  margin: 0;
  min-height: 100vh;
  background: #fff;
}

body.site button,
body.site input {
  font: inherit;
  color: inherit;
}

body.site a.logo,
body.site a.hero__media {
  color: inherit;
  text-decoration: none;
}

body.site a.card {
  color: #1a1a1a;
  text-decoration: none;
}

body.site a.card .card__title {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.15s ease;
}

body.site a.card:hover .card__title,
body.site a.card:focus-visible .card__title {
  color: #145db8;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.site a.btn {
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hdr {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.hdr--scrolled {
  border-bottom-color: #e8e8e8;
}

.hdr__row {
  max-width: 880px;
  margin: 0 auto;
  padding: 14px clamp(18px, 4vw, 32px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(12px, 2.5vw, 20px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.05rem;
}

a.logo:hover {
  color: #0f4a96;
}

.logo__mark {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #1a1a1a;
  display: inline-grid;
  place-items: center;
}

.logo__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #145db8;
  display: block;
}

.logo__wordmark {
  white-space: nowrap;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;
  justify-content: center;
}

.nav__a {
  padding: 6px 10px;
  font-size: 0.9rem;
}

.nav__a.is-active {
  font-weight: 600;
}

.hdr__tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 0;
  background: transparent;
}

.btn--solid {
  background: #145db8;
  color: #fff;
}

.btn--solid:hover {
  background: #0f4a96;
  color: #fff;
}

.btn--ghost {
  border: 1px solid #e8e8e8;
  color: #1a1a1a;
  background: #fff;
}

.btn--ghost:hover {
  border-color: #bbb;
}

.hero {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) clamp(18px, 4vw, 32px) clamp(40px, 6vw, 72px);
}

.hero__media {
  position: relative;
  width: 100%;
  display: block;
  border-radius: 1rem;
  overflow: hidden;
  background: #eee;
  padding: 0;
  cursor: pointer;
  text-align: left;
  aspect-ratio: 16/9;
  min-height: 180px;
  color: inherit;
}
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/img/hero-ai.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform 0.45s ease;
  z-index: 0;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.22), transparent 50%);
  z-index: 1;
  pointer-events: none;
}
.hero__media:hover::before, .hero__media:focus-visible::before {
  transform: scale(1.03);
}

.hero__body {
  margin-top: clamp(22px, 3vw, 36px);
  display: grid;
  gap: 14px;
  max-width: 40rem;
}

.hero__meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.85rem;
  color: #5c5c5c;
}

.meta-sep {
  color: #b0b0b0;
}

.hero__title {
  font-weight: 700;
  font-size: clamp(1.65rem, 4.5vw, 2.5rem);
  line-height: 1.18;
  margin: 0;
  color: #1a1a1a;
}

.hero__dek {
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.6;
  color: #1a1a1a;
  margin: 0;
  max-width: 36rem;
}

.hero__cta {
  display: flex;
  gap: 10px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.section {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(18px, 4vw, 32px);
}

.section__head {
  padding-bottom: 12px;
  margin-bottom: 28px;
  border-bottom: 1px solid #e8e8e8;
}

.section__title {
  font-weight: 700;
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  margin: 0;
  color: #1a1a1a;
}

.feed {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vw, 44px);
}

.feed__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3.5vw, 36px);
}

.card {
  display: block;
  cursor: pointer;
  text-align: left;
  background: transparent;
}

.card--feature .ph {
  border-radius: 8px;
  overflow: hidden;
}

.card--feed .ph {
  border-radius: 8px;
  overflow: hidden;
}

.card__body {
  padding: 16px 0 0;
}

.card__title {
  font-weight: 600;
  line-height: 1.25;
  margin: 6px 0 8px;
}

.card__dek {
  color: #1a1a1a;
  margin: 0 0 10px;
  line-height: 1.55;
}

.card__dek--clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__meta {
  color: #5c5c5c;
  font-size: 0.8rem;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.card__meta > span {
  white-space: nowrap;
}

.card--feature .card__title {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
}

.card--feature .card__dek {
  font-size: 1rem;
  max-width: 36rem;
}

.card--feed .card__title {
  font-size: clamp(1.05rem, 1.35vw, 1.15rem);
}

.card--feed .card__dek {
  font-size: 0.92rem;
}

.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #5c5c5c;
  text-transform: lowercase;
}

.ph {
  position: relative;
  width: 100%;
  background: var(--ph-bg, #eaeaea);
  overflow: hidden;
}

.ph--soft {
  --ph-bg: #e8e8e8;
}

.news {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 32px) clamp(48px, 8vw, 88px);
}

.news__inner {
  background: #f8f8f8;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: clamp(20px, 3.5vw, 28px) clamp(20px, 3.5vw, 28px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px 28px;
  justify-content: space-between;
}

.news__copy {
  flex: 1 1 220px;
  min-width: 0;
}

.news__title {
  font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.25;
  margin: 0 0 6px;
  color: #1a1a1a;
}

.news__sub {
  color: #5c5c5c;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 26rem;
}

.news__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  flex: 1 1 260px;
  max-width: 100%;
  align-items: start;
}

.news__field input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
  color: #1a1a1a;
  outline: 0;
}

.news__field input:focus {
  border-color: #145db8;
}

.news__form .btn--solid {
  padding: 10px 16px;
}

.news__note {
  grid-column: 1/-1;
  font-size: 0.82rem;
  color: #5c5c5c;
  margin: 2px 0 0;
  min-height: 1.2em;
}

.news__form.is-invalid .news__field input {
  border-color: #c62828;
}

.news__form.is-invalid .news__note {
  color: #c62828;
}

.ftr {
  border-top: 1px solid #e8e8e8;
  margin-top: auto;
}

.ftr__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 40px) clamp(18px, 4vw, 32px) clamp(36px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}

.ftr__legal {
  margin: 0;
  font-size: 0.88rem;
  color: #5c5c5c;
}

.ftr__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.ftr__nav a {
  font-size: 0.88rem;
}

main#main.site-main {
  box-sizing: border-box;
  max-width: 720px;
  margin: 0 auto;
  padding: 48px clamp(18px, 4vw, 32px) 96px;
}

@media (max-width: 680px) {
  .feed__grid {
    grid-template-columns: 1fr;
  }
  .hdr__row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
  }
  .logo {
    min-width: 0;
    grid-column: 1;
    grid-row: 1;
  }
  .logo__wordmark {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .hdr__tools {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .nav {
    grid-column: 1/-1;
    grid-row: 2;
    justify-content: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__media::before {
    transition: none;
  }
  .hero__media:hover::before,
  .hero__media:focus-visible::before {
    transform: scale(1);
  }
}
/* Long-form posts (Markdown → HTML inside .post). Uses tokens from _site-layout.scss */
main#main.site-main:has(.post) {
  max-width: 760px;
}

.post {
  color: #1a1a1a;
  font-size: clamp(1rem, 0.35vw + 0.95rem, 1.0625rem);
  line-height: 1.72;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1.5rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5c5c5c;
}

.post-meta__time {
  color: #5c5c5c;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.post-meta__sep {
  color: color-mix(in srgb, #5c5c5c 55%, #e8e8e8);
  font-weight: 400;
}

.post-meta__kind {
  color: #145db8;
  font-weight: 750;
}

.post > h1 {
  scroll-margin-top: 4.75rem;
  font-size: clamp(1.85rem, 2vw + 1.2rem, 2.65rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.12;
  margin: 0 0 1.25rem;
}

.post > p {
  margin: 0 0 1.15rem;
}

.post > h2 {
  scroll-margin-top: 4.75rem;
  font-size: clamp(1.35rem, 1.2vw + 1.1rem, 1.85rem);
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1.18;
  margin: 2.75rem 0 1rem;
}

.post > h3 {
  scroll-margin-top: 4.75rem;
  font-size: clamp(1.12rem, 0.5vw + 1.02rem, 1.32rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.22;
  margin: 2rem 0 0.75rem;
}

.post > h2:first-of-type {
  margin-top: 1.35rem;
}

.post a {
  color: #145db8;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.post a:hover {
  color: #0f4a96;
}

.post strong {
  font-weight: 750;
  color: #1a1a1a;
}

.post em {
  font-style: italic;
}

.post blockquote {
  margin: 1.75rem 0;
  padding: 0.35rem 0 0.35rem 1rem;
  border-left: 4px solid #145db8;
  color: #1a1a1a;
}

.post blockquote p {
  margin: 0;
  font-size: clamp(1.05rem, 0.6vw + 1rem, 1.25rem);
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.post ul,
.post ol {
  margin: 0 0 1.35rem;
  padding-left: 1.35rem;
}

.post li {
  margin: 0.28rem 0;
  padding-left: 0.15rem;
}

.post li::marker {
  color: #5c5c5c;
}

.post hr {
  position: relative;
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 3.25rem 0;
  height: 0;
  overflow: visible;
}

.post hr::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #e8e8e8;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 8px #fff;
}

/* markdown-it-footnote ([^id] citations) */
.post hr.footnotes-sep {
  margin: 2.5rem 0 1.25rem;
}

.post hr.footnotes-sep::after {
  display: none;
}

.post sup.footnote-ref {
  line-height: 0;
  font-size: 0.78em;
  vertical-align: super;
}

.post sup.footnote-ref a {
  font-weight: 650;
  text-decoration: none;
}

.post sup.footnote-ref a:hover,
.post sup.footnote-ref a:focus-visible {
  text-decoration: underline;
}

.post section.footnotes {
  font-size: clamp(0.88rem, 0.2vw + 0.85rem, 0.95rem);
  line-height: 1.55;
  color: #1a1a1a;
}

.post .footnotes-list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.post .footnote-item {
  margin: 0 0 0.85rem;
}

.post .footnote-item p {
  margin: 0;
  word-break: break-word;
}

.post a.footnote-backref {
  text-decoration: none;
  font-size: 0.95em;
  margin-left: 0.15rem;
}