:root {
  --bg: #f7f6f2;
  --bg2: #eeece6;
  --ink: #17171a;
  --mute: #5b5a57;
  --line: #dad7cf;
  --acc: #c0201e;
  --onacc: #ffffff;
  --card: #ffffff;
  --chip: #e7e4dc;
  --code-bg: #fbfaf7;
  --code-head: #f1efe9;
  --code-k: #b01e1c;
  --code-s: #2b6a3a;
  --code-c: #6b6964;
  --code-n: #1f5a9e;
  --code-f: #7a4a00;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121214;
    --bg2: #1a1a1d;
    --ink: #eceae6;
    --mute: #a3a09a;
    --line: #2e2d30;
    --acc: #ff6b5e;
    --onacc: #1a0605;
    --card: #18181b;
    --chip: #26252a;
    --code-bg: #0d0d0f;
    --code-head: #18181b;
    --code-k: #ff8a7e;
    --code-s: #93d3a2;
    --code-c: #8e8b85;
    --code-n: #8db8f2;
    --code-f: #e8b464;
    color-scheme: dark;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

body.site {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Geist, ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.site img {
  display: block;
  max-width: 100%;
}
body.site a {
  color: var(--ink);
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s, color 0.2s;
}
body.site a:hover {
  color: var(--acc);
  text-decoration-color: var(--acc);
}
body.site a:focus-visible,
body.site button:focus-visible,
body.site input:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 2px;
}
body.site h1,
body.site h2,
body.site h3,
body.site p,
body.site dl,
body.site dd,
body.site figure {
  margin: 0;
}

.serif {
  font-family: Newsreader, Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.mono {
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
}

.mute {
  color: var(--mute);
}

.small {
  font-size: 14px;
}

.label {
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 760px) {
  .wrap {
    padding: 0 16px;
  }
}

.arrow {
  display: inline-block;
  transition: transform 0.2s;
}
a:hover .arrow {
  transform: translateX(3px);
}

.chip {
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--chip);
  text-decoration: none;
}
.chip--accent {
  background: var(--acc);
  color: var(--onacc);
}

.card {
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  color: var(--ink);
}
@media (prefers-reduced-motion: reduce) {
  .card:hover {
    transform: none;
  }
}

.button-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}
body.site .button-pill--solid {
  background: var(--ink);
  color: var(--bg);
}
body.site .button-pill--solid:hover {
  color: var(--bg);
}
.button-pill--outline {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--ink);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 24px;
  border-top: 1px solid var(--ink);
  padding-top: 20px;
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: 40px;
  line-height: 1.2;
}
.section-head--small {
  padding-top: 16px;
  margin-bottom: 28px;
}
.section-head--small h2 {
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--mute);
  text-transform: uppercase;
}

.post-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 32px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.post-row__title {
  font-size: 24px;
  line-height: 1.25;
  transition: color 0.2s;
}
.post-row__meta {
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 13px;
  color: var(--mute);
}
.post-row:hover .post-row__title {
  color: var(--acc);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.site-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.site-header__brand img {
  width: 30px;
  height: 30px;
}
.site-header__brand span {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.site-header__nav {
  display: flex;
  gap: 32px;
  font-size: 15px;
}
.site-header__nav a {
  text-decoration: none;
}
body.site .site-header__nav a.is-active {
  color: var(--acc);
}
@media (max-width: 760px) {
  .site-header__secondary {
    display: none;
  }
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg2);
  font-size: 15px;
  padding: 64px 0 48px;
}
.site-footer--compact {
  padding: 48px 0 40px;
}
.site-footer__full {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.site-footer__columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 32px;
}
.site-footer__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-footer__brand img {
  width: 26px;
  height: 26px;
}
.site-footer__brand .serif {
  font-size: 24px;
}
.site-footer__compact {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}
.site-footer__compact .site-footer__brand img {
  width: 22px;
  height: 22px;
}
.site-footer__compact .site-footer__brand .serif {
  font-size: 20px;
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.site-footer__legal {
  width: 100%;
  font-size: 12px;
  color: var(--mute);
  line-height: 1.8;
}
body.site .site-footer__legal a {
  color: var(--mute);
}

.home-hero {
  padding-top: 96px;
  padding-bottom: 104px;
}
.home-hero__eyebrow {
  margin-bottom: 28px;
  font-size: 13px;
  color: var(--mute);
  letter-spacing: 0.04em;
}
.home-hero h1 {
  font-size: 88px;
  line-height: 1.02;
  max-width: 1040px;
  text-wrap: balance;
}
.home-hero h1 em {
  color: var(--acc);
}
@media (max-width: 760px) {
  .home-hero h1 {
    font-size: 46px;
  }
}
.home-hero__lead {
  margin-top: 36px;
  font-size: 21px;
  line-height: 1.55;
  color: var(--mute);
  max-width: 640px;
  text-wrap: pretty;
}
.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 44px;
  font-weight: 500;
}
.home-hero__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  margin-top: 80px;
  border-top: 1px solid var(--ink);
}
.home-hero__facts div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 16px 0;
  border-bottom: 1px solid var(--line);
}
.home-hero__facts dt {
  font-size: 12px;
  color: var(--mute);
}

.rise {
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.rise.d1 {
  animation-delay: 0.08s;
}
.rise.d2 {
  animation-delay: 0.16s;
}
.rise.d3 {
  animation-delay: 0.24s;
}
@media (prefers-reduced-motion: reduce) {
  .rise {
    animation: none;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.home-section {
  padding-bottom: 120px;
  scroll-margin-top: 24px;
}
.home-section--products {
  padding-top: 24px;
}
.home-section--history {
  padding-top: 120px;
}

.product-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  padding: 48px;
  background: var(--card);
  border-radius: 20px;
}
@media (max-width: 760px) {
  .product-feature {
    grid-template-columns: 1fr;
    padding: 28px;
  }
}
.product-feature__main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.product-feature__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.product-feature h3 {
  font-size: 56px;
  line-height: 1;
}
.product-feature__pitch {
  font-size: 20px;
  line-height: 1.5;
  max-width: 460px;
}
.product-feature__cta {
  font-weight: 500;
  margin-top: auto;
}
.product-feature__proof {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  padding: 32px;
  background: var(--bg2);
  border-radius: 14px;
}
.product-feature__proof .serif {
  font-size: 30px;
  line-height: 1.2;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
  margin-top: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  min-height: 240px;
  border-radius: 16px;
}
.product-card .chip {
  align-self: flex-start;
  padding: 3px 10px;
}
.product-card h3 {
  font-size: 34px;
  line-height: 1.2;
}
.product-card__cta {
  margin-top: auto;
  font-weight: 500;
}

.how-we-work {
  background: var(--bg2);
  padding: 112px 0;
  margin-bottom: 0;
}
.how-we-work h2 {
  margin-bottom: 56px;
  font-size: 40px;
}
.how-we-work__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 48px;
}
.how-we-work__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.how-we-work__item .mono {
  font-size: 13px;
  color: var(--acc);
}
.how-we-work__item h3 {
  font-size: 26px;
  line-height: 1.2;
}

.timeline {
  margin-top: -16px;
}
.timeline__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.timeline__row:last-child {
  border-bottom: none;
}
@media (max-width: 760px) {
  .timeline__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
.timeline__when {
  font-size: 32px;
  line-height: 1;
}
.timeline__when--now {
  color: var(--acc);
}
.timeline h3 {
  margin-bottom: 6px;
  font-size: 19px;
  font-weight: 600;
}
.timeline p {
  max-width: 640px;
}

.people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 40px;
}

.person {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
@media (max-width: 760px) {
  .person {
    flex-direction: column;
  }
}
.person img {
  flex: none;
  width: 168px;
  height: 168px;
  border-radius: 12px;
  object-fit: cover;
}
.person__photo--marta {
  object-position: 30% 40%;
}
.person__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.person__body h3 {
  font-size: 28px;
  line-height: 1.2;
}
.person__body a {
  font-size: 15px;
  font-weight: 500;
  margin-top: 6px;
}

.home-blog .section-head {
  margin-bottom: 8px;
}
.home-blog .section-head a {
  font-weight: 500;
}
.home-blog .post-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 12px 40px;
  padding: 28px 0;
}
.home-blog .post-row__title {
  font-size: 28px;
  line-height: 1.2;
}

.blog-intro {
  padding-top: 72px;
  padding-bottom: 64px;
}
.blog-intro h1 {
  font-size: 80px;
  line-height: 1;
}
@media (max-width: 760px) {
  .blog-intro h1 {
    font-size: 52px;
  }
}
.blog-intro p {
  margin-top: 24px;
  font-size: 20px;
  color: var(--mute);
  max-width: 620px;
  text-wrap: pretty;
}

.blog-featured {
  padding-bottom: 88px;
}
.blog-featured__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 20px;
}

.post-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px;
  min-height: 220px;
  background: var(--card);
  border-radius: 16px;
}
.post-card__meta {
  font-size: 12px;
  color: var(--mute);
}
.post-card h3 {
  font-size: 32px;
  line-height: 1.15;
}
.post-card__author {
  margin-top: auto;
  font-size: 15px;
  color: var(--mute);
}

.blog-archive {
  padding-bottom: 120px;
}
.blog-archive__toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--ink);
  padding-top: 20px;
  margin-bottom: 8px;
}
.blog-archive__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.blog-archive__search {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.blog-archive__search label {
  font-size: 12px;
  color: var(--mute);
}
.blog-archive__search input {
  width: 260px;
  max-width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}
.blog-archive__empty {
  padding: 48px 0;
  color: var(--mute);
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
body.site .tag-pill:hover {
  border-color: var(--ink);
  color: var(--ink);
}
body.site .tag-pill.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.year-group {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
  padding-top: 36px;
}
@media (max-width: 760px) {
  .year-group {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
.year-group__year {
  font-size: 32px;
  line-height: 1.1;
  color: var(--mute);
}
.year-group[hidden] {
  display: none;
}

.blog-outro {
  padding-bottom: 120px;
}
.blog-outro__box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 32px 36px;
  background: var(--bg2);
  border-radius: 16px;
}
.blog-outro__box p {
  max-width: 640px;
}
.blog-outro__box > a {
  font-weight: 500;
}

.col {
  max-width: 720px;
  margin: 0 auto;
}

.post-header {
  padding-top: 64px;
}
.post-header__crumbs {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--mute);
  margin-bottom: 28px;
}
body.site .post-header__crumbs a {
  color: var(--mute);
}
.post-header h1 {
  font-size: 60px;
  line-height: 1.05;
  text-wrap: balance;
}
@media (max-width: 760px) {
  .post-header h1 {
    font-size: 42px;
  }
}
.post-header__lead {
  margin-top: 24px;
  font-size: 22px;
  line-height: 1.5;
  color: var(--mute);
  text-wrap: pretty;
}
.post-header__lead p + p {
  margin-top: 12px;
}
.post-header__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 36px;
  padding-bottom: 28px;
}
.post-header__byline {
  display: flex;
  align-items: center;
  gap: 12px;
}
.post-header__byline img {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
}
.post-header__byline > div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.post-header__byline .name {
  font-weight: 500;
  font-size: 15px;
}
.post-header__byline .name a {
  text-decoration: none;
}
.post-header__byline .mono {
  font-size: 12px;
  color: var(--mute);
}
.post-header__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.post-header__age {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--mute);
}
.post-header__age svg {
  flex: none;
}

.prose {
  padding-top: 44px;
  overflow-wrap: break-word;
}
.prose p,
.prose li {
  font-size: 19px;
  line-height: 1.75;
}
@media (max-width: 760px) {
  .prose p,
  .prose li {
    font-size: 18px;
  }
}
.prose p {
  margin: 0 0 24px;
}
.prose h2,
.prose h3,
.prose h4 {
  font-family: Newsreader, Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.prose h2 {
  font-size: 36px;
  line-height: 1.15;
  margin: 56px 0 20px;
}
@media (max-width: 760px) {
  .prose h2 {
    font-size: 30px;
  }
}
.prose h3 {
  font-size: 28px;
  line-height: 1.2;
  margin: 44px 0 16px;
}
.prose h4 {
  font-size: 22px;
  margin: 32px 0 12px;
}
.prose ul,
.prose ol {
  margin: 0 0 28px;
  padding-left: 22px;
}
.prose li {
  margin-bottom: 10px;
}
.prose li::marker {
  color: var(--acc);
}
.prose img {
  height: auto;
  margin: 32px auto;
  border-radius: 12px;
}
.prose iframe,
.prose video {
  max-width: 100%;
}
.prose blockquote {
  margin: 0 0 32px;
  padding: 20px 24px;
  background: var(--bg2);
  border-radius: 12px;
}
.prose blockquote p:last-child {
  margin-bottom: 0;
}
.prose table {
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 0 0 32px;
  font-size: 16px;
}
.prose th,
.prose td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.prose :not(pre) > code {
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 0.86em;
  background: var(--chip);
  padding: 2px 6px;
  border-radius: 5px;
}
.prose pre {
  margin: 32px 0 36px;
  padding: 20px;
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow-x: auto;
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 15px;
  line-height: 1.7;
}
.prose pre code {
  font-family: inherit;
  background: none;
  padding: 0;
}

.code-block {
  margin: 32px 0 36px;
}
.code-block__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 8px 8px 8px 16px;
  background: var(--code-head);
  border: 1px solid var(--line);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 12px;
  color: var(--mute);
}
.code-block__copy {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 12px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.code-block__copy:hover {
  border-color: var(--ink);
}
.prose .code-block pre {
  margin: 0;
  border-radius: 0 0 12px 12px;
}

.highlight .k, .highlight .kc, .highlight .kd, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kt, .highlight .ow {
  color: var(--code-k);
}
.highlight .s, .highlight .s1, .highlight .s2, .highlight .sa, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .se, .highlight .sh, .highlight .si, .highlight .sr, .highlight .sx, .highlight .dl {
  color: var(--code-s);
}
.highlight .c, .highlight .c1, .highlight .ch, .highlight .cm, .highlight .cp, .highlight .cpf, .highlight .cs, .highlight .cd {
  color: var(--code-c);
  font-style: italic;
}
.highlight .m, .highlight .mb, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .mo, .highlight .il, .highlight .nc, .highlight .no, .highlight .nn, .highlight .vc, .highlight .vg, .highlight .vi {
  color: var(--code-n);
}
.highlight .nf, .highlight .fm, .highlight .ss, .highlight .na, .highlight .nt, .highlight .nd {
  color: var(--code-f);
}

.post-after {
  padding-top: 40px;
  padding-bottom: 96px;
}

.promo {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}
@media (max-width: 760px) {
  .promo {
    grid-template-columns: 1fr;
  }
}
.promo > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.promo h2 {
  font-size: 30px;
  line-height: 1.15;
}

.author-bio {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.author-bio + .author-bio {
  margin-top: 0;
  border-top: none;
}
.author-bio img {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
}
.author-bio .name {
  color: var(--ink);
  font-weight: 500;
}

.more-posts {
  margin-top: 64px;
}
.more-posts h2 {
  margin-bottom: 8px;
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--mute);
  text-transform: uppercase;
}
