/*
 * PAELLADOC — Factory pages
 * Shared visual system for every public route outside the home. Loaded after
 * the legacy family styles so all archives, articles, trust pages and manuals
 * inherit the same local-software-factory identity without changing content.
 */

body.home-tp:not(.page-family-home) {
  --fp-bg: #0a0907;
  --fp-bg-raised: #12100d;
  --fp-bg-soft: #181510;
  --fp-ink: #f2ebdc;
  --fp-muted: rgba(242, 235, 220, .68);
  --fp-faint: rgba(242, 235, 220, .48);
  --fp-rule: rgba(242, 235, 220, .17);
  --fp-rule-strong: rgba(242, 235, 220, .31);
  --fp-orange: #e05a20;
  --fp-on-orange: #17130f;
  --fp-orange-soft: rgba(224, 90, 32, .12);
  --fp-green: #4db979;
  --fp-max: 1440px;
  --fp-reading: 760px;
  --fp-gutter: clamp(20px, 4vw, 64px);
  --fp-section: clamp(88px, 10vw, 150px);
  min-height: 100dvh;
  overflow-x: clip;
  background:
    radial-gradient(circle at 86% 2%, rgba(224, 90, 32, .09), transparent 24rem),
    var(--fp-bg);
  color: var(--fp-ink);
  scroll-behavior: smooth;
}

html[data-theme="light"] body.home-tp:not(.page-family-home) {
  --fp-bg: #f1eadc;
  --fp-bg-raised: #e9dfcf;
  --fp-bg-soft: #ddd1be;
  --fp-ink: #17130f;
  --fp-muted: rgba(23, 19, 15, .68);
  --fp-faint: rgba(23, 19, 15, .5);
  --fp-rule: rgba(23, 19, 15, .18);
  --fp-rule-strong: rgba(23, 19, 15, .32);
  --fp-orange: #a92d06;
  --fp-on-orange: #fff7eb;
  --fp-orange-soft: rgba(169, 45, 6, .09);
}

body.home-tp:not(.page-family-home),
body.home-tp:not(.page-family-home) *,
body.home-tp:not(.page-family-home) *::before,
body.home-tp:not(.page-family-home) *::after {
  box-sizing: border-box;
}

body.home-tp:not(.page-family-home) .site-content {
  position: relative;
  min-height: 60dvh;
  overflow-x: clip;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), var(--fp-rule) calc(100% - 1px)) top left / 25% 100% repeat-x,
    radial-gradient(circle at 1px 1px, rgba(242, 235, 220, .028) 1px, transparent 0) 0 0 / 4px 4px;
}

html[data-theme="light"] body.home-tp:not(.page-family-home) .site-content {
  background:
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), var(--fp-rule) calc(100% - 1px)) top left / 25% 100% repeat-x,
    radial-gradient(circle at 1px 1px, rgba(23, 19, 15, .025) 1px, transparent 0) 0 0 / 4px 4px;
}

body.home-tp:not(.page-family-home) .site-content::before {
  content: none;
}

body.home-tp:not(.page-family-home) h1,
body.home-tp:not(.page-family-home) h2,
body.home-tp:not(.page-family-home) h3,
body.home-tp:not(.page-family-home) p,
body.home-tp:not(.page-family-home) li {
  text-wrap: pretty;
}

body.home-tp:not(.page-family-home) a,
body.home-tp:not(.page-family-home) button {
  transition:
    color 240ms cubic-bezier(.16, 1, .3, 1),
    background-color 240ms cubic-bezier(.16, 1, .3, 1),
    border-color 240ms cubic-bezier(.16, 1, .3, 1),
    transform 240ms cubic-bezier(.16, 1, .3, 1),
    opacity 240ms cubic-bezier(.16, 1, .3, 1);
}

body.home-tp:not(.page-family-home) a:focus-visible,
body.home-tp:not(.page-family-home) button:focus-visible {
  outline: 2px solid var(--fp-orange);
  outline-offset: 4px;
}

body.home-tp:not(.page-family-home) a:active,
body.home-tp:not(.page-family-home) button:active {
  transform: translateY(1px);
}

/* Shared chrome */
body.home-tp:not(.page-family-home) .site-header {
  padding: 16px var(--fp-gutter);
  background: rgba(10, 9, 7, .88);
  border-bottom-color: var(--fp-rule);
  backdrop-filter: blur(16px) saturate(120%);
}

html[data-theme="light"] body.home-tp:not(.page-family-home) .site-header {
  background: rgba(241, 234, 220, .9);
}

body.home-tp:not(.page-family-home) .site-header .container,
body.home-tp:not(.page-family-home) .site-footer .container {
  width: min(100%, var(--fp-max));
  max-width: var(--fp-max);
  margin-inline: auto;
  padding-inline: 0;
}

body.home-tp:not(.page-family-home) .site-header .header-content {
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  gap: clamp(20px, 3vw, 48px);
}

body.home-tp:not(.page-family-home) .nav-links.desktop-nav {
  gap: clamp(18px, 2.2vw, 34px);
}

body.home-tp:not(.page-family-home) .nav-links.desktop-nav a {
  position: relative;
}

body.home-tp:not(.page-family-home) .nav-links.desktop-nav li {
  display: flex;
  align-items: center;
  margin-left: 0;
}

body.home-tp:not(.page-family-home) .nav-links.desktop-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  line-height: 1.25;
  white-space: nowrap;
}

body.home-tp:not(.page-family-home) .nav-links.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  background: var(--fp-orange);
  content: "";
  opacity: 0;
  transform: scaleX(.35);
  transform-origin: left;
  transition: opacity 220ms ease, transform 220ms cubic-bezier(.16, 1, .3, 1);
}

body.home-tp:not(.page-family-home) .nav-links.desktop-nav a:hover::after,
body.home-tp:not(.page-family-home) .nav-links.desktop-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

body.home-tp:not(.page-family-home) .tp-header-actions {
  margin-left: clamp(22px, 3vw, 48px);
}

body.home-tp:not(.page-family-home) .fp-context-rail {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  min-height: 40px;
  padding-inline: max(var(--fp-gutter), calc((100vw - var(--fp-max)) / 2));
  border-bottom: 1px solid var(--fp-rule);
  color: var(--fp-faint);
  font-family: var(--tp-font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

body.home-tp:not(.page-family-home) .fp-context-rail span:first-child {
  color: var(--fp-orange);
}

body.home-tp:not(.page-family-home) .fp-context-rail span:nth-child(2) {
  text-align: center;
}

body.home-tp:not(.page-family-home) .fp-context-rail span:last-child {
  text-align: right;
}

/* Footer: brand statement + compact route map */
body.home-tp .site-footer {
  padding: 0 var(--fp-gutter, var(--tp-gutter));
  border-top: 1px solid var(--fp-rule, var(--tp-rule));
  background: var(--fp-bg, var(--tp-bg-deep));
}

body.home-tp .fp-footer-shell {
  display: grid;
  gap: 0;
}

body.home-tp .fp-footer-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: clamp(48px, 8vw, 140px);
  align-items: end;
  padding-block: clamp(72px, 9vw, 128px);
}

body.home-tp .fp-footer-lead .footer-logo {
  max-width: 640px;
}

body.home-tp .fp-footer-lead .footer-tagline {
  max-width: 42ch;
  margin-top: 28px;
  color: var(--fp-muted, var(--tp-fg-muted));
  font-family: var(--tp-font-display);
  font-size: clamp(30px, 3.6vw, 56px);
  letter-spacing: -.03em;
  line-height: 1.03;
}

body.home-tp .site-footer .fp-footer-lead .footer-logo .footer-tagline {
  max-width: 42ch;
  margin: 28px 0 0;
  color: var(--fp-muted, var(--tp-fg-muted));
  font-family: var(--tp-font-display);
  font-size: clamp(30px, 3.6vw, 56px);
  letter-spacing: -.03em;
  line-height: 1.03;
  opacity: 1;
}

body.home-tp .fp-footer-download {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: end;
  min-height: 172px;
  padding: 24px;
  border: 1px solid var(--fp-orange, var(--tp-accent-warm));
  background: var(--fp-orange, var(--tp-accent-warm));
  color: var(--fp-on-orange, #17130f);
  font-family: var(--tp-font-mono);
  text-decoration: none;
}

body.home-tp .fp-footer-download > span:first-child {
  grid-column: 1 / -1;
  align-self: start;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

body.home-tp .fp-footer-download strong {
  font-family: var(--tp-font-display);
  font-size: clamp(40px, 4.5vw, 68px);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: .9;
}

body.home-tp .fp-footer-download > span:last-child {
  font-size: 30px;
}

body.home-tp .fp-footer-download:hover {
  background: transparent;
  color: var(--fp-orange, var(--tp-accent-warm));
  transform: translateY(-3px);
}

body.home-tp .site-footer .fp-footer-map {
  display: grid;
  grid-template-columns: 1.1fr 1.15fr 1fr .72fr;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--fp-rule, var(--tp-rule));
  border-bottom: 1px solid var(--fp-rule, var(--tp-rule));
}

body.home-tp .fp-footer-map .footer-column {
  min-width: 0;
  padding: 34px 28px 42px 0;
}

body.home-tp .fp-footer-map .footer-column + .footer-column {
  padding-left: 28px;
  border-left: 1px solid var(--fp-rule, var(--tp-rule));
}

body.home-tp .fp-footer-map .footer-heading {
  margin: 0 0 24px;
  color: var(--fp-faint, var(--tp-fg-faint));
  font-family: var(--tp-font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

body.home-tp .fp-footer-map ul {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 0;
  list-style: none;
}

body.home-tp .fp-footer-map a {
  color: var(--fp-muted, var(--tp-fg-muted));
  font-family: var(--tp-font-mono);
  font-size: 12px;
  text-decoration: none;
}

body.home-tp .fp-footer-map a:hover {
  color: var(--fp-orange, var(--tp-accent-warm));
  padding-left: 4px;
}

body.home-tp .footer-bottom {
  padding-block: 24px;
}

/* Editorial archive */
body.page-family-editorial .tp-blog,
body.page-family-editorial .tp-post,
body.layout-compare .tp-post,
body.layout-research .tp-post {
  --tp-bg: var(--fp-bg);
  --tp-ink: var(--fp-ink);
  --tp-mostaza: var(--fp-orange);
  --tp-terracota: var(--fp-orange);
  --tp-verde: var(--fp-muted);
  --tp-rule: var(--fp-rule);
  --tp-rule-soft: rgba(242, 235, 220, .11);
  --tp-rule-faint: rgba(242, 235, 220, .07);
  --tp-mute: var(--fp-muted);
  --tp-faint: var(--fp-faint);
  background: transparent;
}

html[data-theme="light"] body.page-family-editorial .tp-blog,
html[data-theme="light"] body.page-family-editorial .tp-post,
html[data-theme="light"] body.layout-compare .tp-post,
html[data-theme="light"] body.layout-research .tp-post {
  --tp-bg: var(--fp-bg);
  --tp-ink: var(--fp-ink);
  --tp-rule-soft: rgba(23, 19, 15, .12);
  --tp-rule-faint: rgba(23, 19, 15, .07);
}

body.page-family-editorial .tp-blog a:hover,
body.page-family-editorial .tp-post a:hover {
  color: var(--fp-orange);
}

body.layout-blog .tp-hero {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(420px, 1.22fr);
  grid-template-rows: auto auto auto 1fr auto;
  column-gap: clamp(48px, 7vw, 110px);
  width: min(100%, var(--fp-max));
  min-height: calc(100dvh - 130px);
  margin-inline: auto;
  padding: clamp(72px, 8vw, 116px) var(--fp-gutter) clamp(96px, 10vw, 150px);
  border-bottom: 1px solid var(--fp-rule);
}

body.layout-blog .tp-hero > .tp-eyebrow-row {
  grid-column: 1 / -1;
  margin-bottom: clamp(56px, 8vw, 110px);
}

body.layout-blog .tp-hero > .tp-eyebrow {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  margin-bottom: 20px;
}

body.layout-blog .tp-h1 {
  grid-column: 1;
  grid-row: 3;
  max-width: 7ch;
  margin: 0;
  font-size: clamp(64px, 9vw, 142px);
  font-style: normal;
  line-height: .79;
  letter-spacing: -.055em;
}

body.layout-blog .tp-h1 .tp-accent {
  color: var(--fp-orange);
  font-style: italic;
}

body.layout-blog .tp-lead {
  grid-column: 1;
  grid-row: 4;
  align-self: end;
  max-width: 47ch;
  margin: 40px 0 0;
  color: var(--fp-muted);
  opacity: 1;
}

body.layout-blog .tp-hero-meta {
  grid-column: 1;
  grid-row: 5;
  align-self: end;
  margin-top: 32px;
}

body.layout-blog .fp-editorial-visual {
  position: relative;
  grid-column: 2;
  grid-row: 2 / 6;
  align-self: stretch;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--fp-rule-strong);
  background: var(--fp-bg-raised);
}

body.layout-blog .fp-editorial-visual picture,
body.layout-blog .fp-editorial-visual img {
  display: block;
  width: 100%;
  height: 100%;
}

body.layout-blog .fp-editorial-visual img {
  object-fit: cover;
  object-position: 61% center;
  filter: saturate(.84) contrast(1.03);
  transition: transform 800ms cubic-bezier(.16, 1, .3, 1), filter 400ms ease;
}

body.layout-blog .fp-editorial-visual:hover img {
  transform: scale(1.018);
  filter: saturate(1) contrast(1.03);
}

body.layout-blog .fp-editorial-visual::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(242, 235, 220, .06);
  box-shadow: inset 0 0 100px rgba(10, 9, 7, .3);
  content: "";
  pointer-events: none;
}

body.layout-blog .fp-editorial-visual figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 20px 22px 22px;
  background: linear-gradient(180deg, transparent, rgba(10, 9, 7, .96));
}

body.layout-blog .fp-editorial-visual figcaption span {
  color: rgba(242, 235, 220, .62);
  font-family: var(--tp-font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body.layout-blog .fp-editorial-visual figcaption a {
  max-width: 38ch;
  color: #f2ebdc;
  font-family: var(--tp-font-display);
  font-size: clamp(24px, 2.4vw, 38px);
  letter-spacing: -.025em;
  line-height: 1.02;
  text-decoration: none;
}

body.layout-blog .tp-cats,
body.page-family-editorial .tp-list {
  width: min(100%, var(--fp-max));
  margin-inline: auto;
}

body.layout-blog .tp-cats {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 0;
  margin-block: var(--fp-section) 0;
  border-color: var(--fp-rule);
}

body.layout-blog .tp-cat {
  min-height: 180px;
  padding: 32px;
  border-color: var(--fp-rule);
}

body.layout-blog .tp-cat:first-child {
  grid-row: 1 / 4;
  justify-content: flex-end;
  min-height: 540px;
}

body.layout-blog .tp-cat:nth-child(2),
body.layout-blog .tp-cat:nth-child(3) {
  border-bottom: 1px solid var(--fp-rule);
}

body.layout-blog .tp-cat-title,
body.layout-blog .tp-cat--framework .tp-cat-title,
body.layout-blog .tp-cat--security .tp-cat-title,
body.layout-blog .tp-cat--productivity .tp-cat-title {
  color: var(--fp-ink);
  font-size: clamp(40px, 4.8vw, 72px);
}

body.layout-blog .tp-cat:first-child .tp-cat-title {
  color: var(--fp-orange);
  font-size: clamp(64px, 7vw, 108px);
}

body.layout-blog .tp-cat:hover {
  background: var(--fp-orange-soft);
}

body.page-family-editorial .tp-list {
  padding: var(--fp-section) var(--fp-gutter);
}

body.page-family-editorial .tp-row {
  grid-template-columns: 100px 110px minmax(0, 1fr) 70px 74px;
  padding-block: 30px;
}

body.page-family-editorial .tp-row-title {
  font-size: clamp(26px, 2.6vw, 40px);
  font-style: normal;
  letter-spacing: -.025em;
}

body.page-family-editorial .tp-row:hover {
  background: linear-gradient(90deg, var(--fp-orange-soft), transparent 60%);
}

body.page-family-editorial .tp-cat-tag,
body.page-family-editorial [class*="tp-cat-tag--"] {
  color: var(--fp-orange);
}

/* Long-form articles */
body.layout-post .tp-breadcrumb,
body.layout-compare .tp-breadcrumb,
body.layout-research .tp-breadcrumb {
  width: min(100%, var(--fp-max));
  margin-inline: auto;
  padding: 18px var(--fp-gutter);
  border-top: 0;
  border-bottom-color: var(--fp-rule);
}

body.layout-post .breadcrumbs {
  width: min(100%, var(--fp-max));
  margin-inline: auto;
}

body.layout-post .breadcrumbs {
  margin-bottom: 0;
  padding: 16px var(--fp-gutter);
  border-bottom: 1px solid var(--fp-rule);
  color: var(--fp-faint);
  font-family: var(--tp-font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.5;
  text-transform: uppercase;
}

body.layout-post .breadcrumb-list {
  gap: 0;
}

body.layout-post .breadcrumb-item,
body.layout-post .breadcrumb-item:last-child {
  color: var(--fp-faint);
  font-weight: 600;
}

body.layout-post .breadcrumb-item a {
  color: var(--fp-muted);
}

body.layout-post .breadcrumb-item a:hover {
  color: var(--fp-orange);
  text-decoration: none;
}

body.layout-post .breadcrumb-item:not(:last-child)::after {
  margin-inline: 10px;
  color: var(--fp-orange);
}

body.layout-post .tp-post-hero,
body.layout-compare .tp-post-hero,
body.layout-research .tp-post-hero {
  display: grid;
  grid-template-columns: minmax(150px, .28fr) minmax(0, 1fr);
  column-gap: clamp(40px, 7vw, 112px);
  width: min(100%, 1180px);
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(82px, 10vw, 150px) var(--fp-gutter) clamp(66px, 8vw, 112px);
}

body.layout-post .tp-post-hero > .tp-eyebrow,
body.layout-compare .tp-post-hero > .tp-eyebrow,
body.layout-research .tp-post-hero > .tp-eyebrow {
  grid-column: 1;
  align-self: start;
  padding-top: 12px;
  color: var(--fp-orange);
  opacity: 1;
}

body.layout-post .tp-post-title,
body.layout-compare .tp-post-title,
body.layout-research .tp-post-title {
  grid-column: 2;
  margin: 0;
  font-size: clamp(52px, 6.7vw, 98px);
  font-style: normal;
  letter-spacing: -.05em;
  line-height: .91;
  text-wrap: balance;
}

body.layout-post .tp-post-sub,
body.layout-compare .tp-post-sub,
body.layout-research .tp-post-sub,
body.layout-post .tp-author-row,
body.layout-compare .tp-author-row,
body.layout-research .tp-author-row {
  grid-column: 2;
}

body.layout-post .tp-post-sub,
body.layout-compare .tp-post-sub,
body.layout-research .tp-post-sub {
  max-width: 58ch;
  color: var(--fp-muted);
  font-size: clamp(17px, 1.7vw, 22px);
  opacity: 1;
}

body.layout-post .tp-author-row,
body.layout-compare .tp-author-row,
body.layout-research .tp-author-row {
  border-top-color: var(--fp-rule);
}

body.layout-post .tp-avatar,
body.layout-compare .tp-avatar,
body.layout-research .tp-avatar {
  border: 1px solid var(--fp-orange);
  border-radius: 2px;
  background: var(--fp-orange);
  color: var(--fp-on-orange);
}

body.layout-post .tp-post-featured,
body.layout-compare .tp-post-featured,
body.layout-research .tp-post-featured {
  max-width: 1100px;
  margin-top: 0;
}

body.layout-post .tp-post-featured img,
body.layout-compare .tp-post-featured img,
body.layout-research .tp-post-featured img {
  border-color: var(--fp-rule-strong);
}

body.layout-post .tp-prose,
body.layout-compare .tp-prose,
body.layout-research .tp-prose {
  max-width: var(--fp-reading);
  padding-bottom: var(--fp-section);
  color: var(--fp-ink);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.82;
}

body.layout-compare .tp-prose,
body.layout-research .tp-prose {
  max-width: 900px;
}

body.layout-post .tp-prose > p:first-of-type,
body.layout-compare .tp-prose > p:first-of-type,
body.layout-research .tp-prose > p:first-of-type {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--fp-rule);
  color: var(--fp-muted);
  font-family: var(--tp-font-display);
  font-size: clamp(23px, 2.4vw, 32px);
  letter-spacing: -.02em;
  line-height: 1.35;
}

body.layout-post .tp-prose h2,
body.layout-compare .tp-prose h2,
body.layout-research .tp-prose h2 {
  margin-top: clamp(68px, 8vw, 96px);
  font-size: clamp(36px, 5vw, 60px);
  font-style: normal;
  letter-spacing: -.04em;
}

body.layout-post .tp-prose h2::before,
body.layout-compare .tp-prose h2::before,
body.layout-research .tp-prose h2::before {
  display: block;
  width: 28px;
  height: 1px;
  margin-bottom: 18px;
  background: var(--fp-orange);
  content: "";
}

body.layout-post .tp-prose h3,
body.layout-compare .tp-prose h3,
body.layout-research .tp-prose h3 {
  font-style: normal;
}

body.layout-post .tp-prose a,
body.layout-compare .tp-prose a,
body.layout-research .tp-prose a {
  color: var(--fp-orange);
  border-bottom-color: currentColor;
}

body.layout-post .tp-prose blockquote,
body.layout-compare .tp-prose blockquote,
body.layout-research .tp-prose blockquote {
  padding: 24px 28px;
  border: 0;
  border-left: 2px solid var(--fp-orange);
  background: var(--fp-orange-soft);
}

body.layout-post .tp-post-tags,
body.layout-post .tp-prevnext,
body.layout-post .tp-related,
body.layout-compare .tp-post-tags,
body.layout-compare .tp-prevnext,
body.layout-compare .tp-related,
body.layout-research .tp-post-tags,
body.layout-research .tp-related {
  border-color: var(--fp-rule);
}

body.layout-post .tp-related,
body.layout-compare .tp-related {
  max-width: 1180px;
}

body.layout-post .tp-related-grid,
body.layout-compare .tp-related-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
  grid-template-rows: auto auto;
  gap: 0;
  border: 1px solid var(--fp-rule);
}

body.layout-post .tp-related-card,
body.layout-compare .tp-related-card {
  border: 0;
  border-bottom: 1px solid var(--fp-rule);
}

body.layout-post .tp-related-card:first-child,
body.layout-compare .tp-related-card:first-child {
  grid-row: 1 / 3;
  padding: 36px;
  border-right: 1px solid var(--fp-rule);
  border-bottom: 0;
}

body.layout-post .tp-related-card:last-child,
body.layout-compare .tp-related-card:last-child {
  border-bottom: 0;
}

body.layout-post .tp-related-card:hover,
body.layout-compare .tp-related-card:hover {
  background: var(--fp-orange-soft);
  border-color: var(--fp-rule);
}

/* Product, trust and program pages using the essay primitives */
body:not(.page-family-home) .tp-essay {
  width: min(100%, var(--fp-max));
  max-width: var(--fp-max);
  margin-inline: auto;
  padding: 0 var(--fp-gutter) var(--fp-section);
  background: transparent;
  color: var(--fp-ink);
}

body:not(.page-family-home) .tp-essay-head {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
  grid-template-rows: auto auto 1fr;
  gap: 22px clamp(56px, 8vw, 130px);
  align-items: start;
  width: 100%;
  max-width: none;
  min-height: clamp(600px, 72dvh, 820px);
  margin: 0;
  padding: clamp(84px, 10vw, 148px) 0 clamp(86px, 9vw, 132px);
  border-bottom: 1px solid var(--fp-rule);
  text-align: left;
}

body:not(.page-family-home) .tp-essay-eyebrow {
  grid-column: 1;
  margin: 0;
  color: var(--fp-orange);
  text-align: left;
}

body:not(.page-family-home) .tp-essay-title {
  grid-column: 1;
  max-width: 9ch;
  margin: 0;
  color: var(--fp-ink);
  font-size: clamp(64px, 8.4vw, 124px);
  font-style: normal;
  letter-spacing: -.055em;
  line-height: .83;
  text-wrap: balance;
}

body:not(.page-family-home) .tp-essay-title-accent {
  color: var(--fp-orange);
  font-style: italic;
}

body:not(.page-family-home) .tp-essay-meta,
body:not(.page-family-home) .tp-essay-meta--intro {
  grid-column: 1;
  align-self: end;
  max-width: 52ch;
  margin: 0;
  color: var(--fp-muted);
  opacity: 1;
  text-align: left;
}

body.page-family-download .tp-essay-head::after,
body.page-family-verify .tp-essay-head::after {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: stretch;
  min-height: 520px;
  border: 1px solid var(--fp-rule-strong);
  background-color: var(--fp-bg-raised);
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 100px rgba(10, 9, 7, .28), 0 30px 90px rgba(10, 9, 7, .2);
  content: "";
}

body.page-family-download .tp-essay-head::after {
  background-image:
    linear-gradient(180deg, rgba(10, 9, 7, .03), rgba(10, 9, 7, .32)),
    url('/assets/images/open-software-machine-hero.webp');
}

body.page-family-verify .tp-essay-head::after {
  background-image:
    linear-gradient(180deg, rgba(10, 9, 7, .04), rgba(10, 9, 7, .3)),
    url('/assets/images/open-software-machine-execution.webp');
}

body.page-family-manifesto .tp-essay-head,
body.page-family-founding .tp-essay-head,
body.page-family-showcase .tp-essay-head,
body.page-family-license .tp-essay-head,
body.page-family-compare .tp-essay-head,
body.page-family-research .tp-essay-head {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
}

body.page-family-manifesto .tp-essay-head::after,
body.page-family-founding .tp-essay-head::after,
body.page-family-showcase .tp-essay-head::after,
body.page-family-license .tp-essay-head::after,
body.page-family-compare .tp-essay-head::after,
body.page-family-research .tp-essay-head::after {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: stretch;
  border-top: 1px solid var(--fp-orange);
  border-bottom: 1px solid var(--fp-rule);
  background:
    linear-gradient(135deg, transparent 49.8%, var(--fp-rule) 50%, transparent 50.2%),
    radial-gradient(circle at 75% 23%, var(--fp-orange) 0 4px, transparent 5px),
    radial-gradient(circle at 24% 72%, var(--fp-ink) 0 3px, transparent 4px),
    var(--fp-bg-raised);
  content: "";
  opacity: .92;
}

body:not(.page-family-home) .tp-essay-body {
  max-width: var(--fp-reading);
  margin: 0 0 0 clamp(0px, 17vw, 250px);
  padding: var(--fp-section) 0 0;
  color: var(--fp-ink);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.82;
}

body:not(.page-family-home) .tp-essay-body--wide {
  width: 100%;
  max-width: 1120px;
  margin-left: 0;
}

body:not(.page-family-home) .tp-essay-pull {
  padding: 0 0 32px;
  border-bottom: 1px solid var(--fp-rule);
  color: var(--fp-orange);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.16;
}

body:not(.page-family-home) .tp-essay-h2 {
  margin-top: clamp(68px, 8vw, 100px);
  color: var(--fp-ink);
  font-size: clamp(40px, 5.2vw, 64px);
  font-style: normal;
  letter-spacing: -.04em;
}

body:not(.page-family-home) .tp-essay-h2::before {
  display: block;
  width: 28px;
  height: 1px;
  margin-bottom: 18px;
  background: var(--fp-orange);
  content: "";
}

body:not(.page-family-home) .tp-essay-h2-accent {
  color: var(--fp-orange);
  font-style: italic;
}

body:not(.page-family-home) .tp-release-card,
body:not(.page-family-home) .tp-cmd,
body:not(.page-family-home) .tp-hash {
  border-color: var(--fp-rule);
  border-radius: 0;
  background: var(--fp-bg-raised);
}

body:not(.page-family-home) .tp-release-card {
  position: relative;
  padding: clamp(24px, 3vw, 38px);
  box-shadow: inset 0 1px 0 rgba(242, 235, 220, .06);
}

body:not(.page-family-home) .tp-release-card::before {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 32%;
  height: 2px;
  background: var(--fp-orange);
  content: "";
}

body:not(.page-family-home) .tp-hash,
body:not(.page-family-home) .tp-cmd {
  color: var(--fp-orange);
}

body:not(.page-family-home) .tp-cmd-output {
  color: var(--fp-muted);
}

body:not(.page-family-home) .tp-callout-item {
  border-color: var(--fp-rule);
}

body:not(.page-family-home) .tp-callout-item--warm,
body:not(.page-family-home) .tp-callout-item--highlight,
body:not(.page-family-home) .tp-callout-item--ok {
  border-left-color: var(--fp-orange);
}

body:not(.page-family-home) .tp-callout-item-title,
body:not(.page-family-home) .tp-callout-item--ok .tp-callout-item-title,
body:not(.page-family-home) .tp-callout-item--highlight .tp-callout-item-title {
  color: var(--fp-orange);
}

body:not(.page-family-home) .tp-essay-foot {
  max-width: 1120px;
  margin-top: var(--fp-section);
  padding-top: 56px;
  border-color: var(--fp-rule);
}

body:not(.page-family-home) .tp-btn {
  min-height: 50px;
  border-radius: 0;
}

body:not(.page-family-home) .tp-btn-solid {
  border-color: var(--fp-orange);
  background: var(--fp-orange);
  color: var(--fp-on-orange);
}

body:not(.page-family-home) .tp-btn-solid:hover {
  background: transparent;
  color: var(--fp-orange);
  transform: translateY(-2px);
}

body:not(.page-family-home) .tp-btn-outline {
  border-color: var(--fp-rule-strong);
  color: var(--fp-ink);
}

body:not(.page-family-home) .tp-btn-outline:hover {
  border-color: var(--fp-orange);
  color: var(--fp-orange);
  transform: translateY(-2px);
}

/* Compare and research hubs */
body.page-family-compare .tp-essay,
body.page-family-research .tp-essay {
  max-width: var(--fp-max);
}

body.page-family-compare .tp-essay-head,
body.page-family-research .tp-essay-head {
  max-width: none;
  margin: 0;
}

body.page-family-compare .tp-essay-body--wide,
body.page-family-research .tp-essay-body--wide {
  max-width: 1120px;
}

body.page-family-compare .cmp-grid,
body.page-family-research .cmp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 0;
  margin-top: 28px;
  border: 1px solid var(--fp-rule);
}

body.page-family-compare .cmp-card,
body.page-family-research .cmp-card {
  min-height: 188px;
  padding: 26px;
  border: 0;
  border-bottom: 1px solid var(--fp-rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.page-family-compare .cmp-card:nth-child(odd),
body.page-family-research .cmp-card:nth-child(odd) {
  border-right: 1px solid var(--fp-rule);
}

body.page-family-compare .cmp-card:hover,
body.page-family-research .cmp-card:hover {
  border-color: var(--fp-rule);
  background: var(--fp-orange-soft);
  box-shadow: none;
  transform: translateY(-2px);
}

body.page-family-compare .cmp-card-go,
body.page-family-research .cmp-card-go,
body.page-family-compare .warm,
body.page-family-research .warm {
  color: var(--fp-orange);
}

body.page-family-compare .cmp-table-wrap,
body.page-family-research .cmp-table-wrap {
  border-color: var(--fp-rule);
  border-radius: 0;
}

body.page-family-compare .cmp-table thead .cmp-pd,
body.page-family-research .cmp-table thead .cmp-pd {
  background: var(--fp-orange);
  color: var(--fp-on-orange);
}

body.page-family-compare .cmp-pd,
body.page-family-research .cmp-pd {
  background: var(--fp-orange-soft);
}

body.page-family-compare .cmp-gate,
body.page-family-research .cmp-gate {
  border-left-color: var(--fp-orange);
  border-radius: 0;
  background: var(--fp-orange-soft);
}

/* Legal documents */
body.page-family-legal .lp {
  --tp-bg: var(--fp-bg);
  --tp-ink: var(--fp-ink);
  --tp-mostaza: var(--fp-orange);
  --tp-terracota: var(--fp-orange);
  --tp-rule: var(--fp-rule);
  --tp-rule-soft: rgba(242, 235, 220, .11);
  --tp-rule-faint: rgba(242, 235, 220, .07);
  --tp-mute: var(--fp-muted);
  --lp-gutter: var(--fp-gutter);
  width: min(100%, var(--fp-max));
  margin-inline: auto;
  background: transparent;
}

body.page-family-legal .lp-breadcrumb {
  border-color: var(--fp-rule);
}

body.page-family-legal .lp-hero {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(380px, 1.2fr);
  column-gap: clamp(54px, 8vw, 130px);
  min-height: 620px;
  padding-block: clamp(86px, 10vw, 148px);
  border-bottom: 1px solid var(--fp-rule);
}

body.page-family-legal .lp-eyebrow-row {
  grid-column: 1 / -1;
  align-self: start;
}

body.page-family-legal .lp-hero > .lp-eyebrow {
  grid-column: 1;
  align-self: end;
}

body.page-family-legal .lp-h1 {
  grid-column: 1;
  align-self: start;
  margin: 16px 0 0;
  color: var(--fp-ink);
  font-size: clamp(72px, 10vw, 144px);
  font-style: normal;
  letter-spacing: -.055em;
  line-height: .82;
}

body.page-family-legal .lp-h1 .lp-accent,
body.page-family-legal .lp-accent {
  color: var(--fp-orange);
}

body.page-family-legal .lp-lead {
  grid-column: 2;
  grid-row: 2 / 4;
  align-self: center;
  max-width: 48ch;
  margin: 0;
  padding-left: clamp(24px, 5vw, 80px);
  border-left: 1px solid var(--fp-rule);
  color: var(--fp-muted);
  font-family: var(--tp-font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  letter-spacing: -.025em;
  line-height: 1.18;
}

body.page-family-legal .lp-tabs {
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  grid-template-rows: 1fr 1fr;
  border-color: var(--fp-rule);
}

body.page-family-legal .lp-tab:first-child {
  grid-row: 1 / 3;
  justify-content: flex-end;
  min-height: 330px;
}

body.page-family-legal .lp-tab {
  border-color: var(--fp-rule);
}

body.page-family-legal .lp-tab.is-active {
  background: var(--fp-orange-soft);
}

body.page-family-legal .lp-tab-title,
body.page-family-legal .lp-section-num,
body.page-family-legal .lp-section-body a,
body.page-family-legal .lp-toc-list a:hover {
  color: var(--fp-orange);
}

body.page-family-legal .lp-body {
  grid-template-columns: 270px minmax(0, 760px);
  justify-content: center;
  gap: clamp(48px, 8vw, 120px);
  padding-block: var(--fp-section);
}

body.page-family-legal .lp-section-title {
  color: var(--fp-ink);
  font-style: normal;
  letter-spacing: -.035em;
}

body.page-family-legal .lp-section-body {
  color: var(--fp-muted);
  font-family: var(--tp-font-mono);
  font-size: 15px;
}

/* Documentation */
body.page-family-docs .docs-page {
  width: min(100%, var(--fp-max));
  margin-inline: auto;
  padding: 0 var(--fp-gutter) var(--fp-section);
}

body.page-family-docs .fp-docs-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: end;
  padding-block: clamp(84px, 9vw, 138px);
  border-bottom: 1px solid var(--fp-rule);
}

body.page-family-docs .fp-docs-hero h1 {
  max-width: 10ch;
  margin: 18px 0 0;
  color: var(--fp-ink);
  font-family: var(--tp-font-display);
  font-size: clamp(58px, 7.5vw, 108px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .86;
}

body.page-family-docs .fp-docs-hero p {
  max-width: 48ch;
  color: var(--fp-muted);
  font-family: var(--tp-font-mono);
  font-size: 15px;
  line-height: 1.7;
}

body.page-family-docs .fp-docs-hero figure {
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--fp-rule-strong);
  background: var(--fp-bg-raised);
}

body.page-family-docs .fp-docs-hero img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  background: #0a0907;
  object-fit: contain;
}

body.page-family-docs .docs-container {
  display: grid;
  grid-template-columns: 260px minmax(0, 820px);
  gap: clamp(48px, 8vw, 116px);
  justify-content: center;
  max-width: none;
  padding: var(--fp-section) 0 0;
}

body.page-family-docs .sidebar {
  width: auto;
}

body.page-family-docs .sidebar-sticky {
  top: 112px;
  padding: 24px 0;
  border: 0;
  border-top: 1px solid var(--fp-orange);
  border-bottom: 1px solid var(--fp-rule);
  border-radius: 0;
  background: transparent;
}

body.page-family-docs .sidebar-nav h4,
body.page-family-docs .nav-group-title {
  color: var(--fp-faint);
  font-family: var(--tp-font-mono);
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

body.page-family-docs .sidebar-nav .nav a {
  padding: 8px 0;
  color: var(--fp-muted);
  font-family: var(--tp-font-mono);
  font-size: 12px;
}

body.page-family-docs .sidebar-nav .nav a:hover,
body.page-family-docs .sidebar-nav .nav a.active {
  padding-left: 8px;
  color: var(--fp-orange);
}

body.page-family-docs .docs-content {
  max-width: 820px;
  min-width: 0;
  color: var(--fp-muted);
  font-family: var(--tp-font-mono);
  font-size: 15px;
  line-height: 1.8;
}

body.page-family-docs .docs-content > h1:first-child {
  display: none;
}

body.page-family-docs .docs-content h2,
body.page-family-docs .docs-content h3,
body.page-family-docs .docs-content h4 {
  color: var(--fp-ink);
  font-family: var(--tp-font-display);
  font-weight: 400;
  letter-spacing: -.035em;
}

body.page-family-docs .docs-content h2 {
  margin-top: 72px;
  padding-bottom: 18px;
  border-bottom-color: var(--fp-rule);
  font-size: clamp(38px, 5vw, 58px);
}

body.page-family-docs .docs-content h3 {
  margin-top: 50px;
  font-size: clamp(28px, 3.4vw, 40px);
}

body.page-family-docs .docs-content h4 {
  color: var(--fp-orange);
  font-family: var(--tp-font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body.page-family-docs .docs-content p,
body.page-family-docs .docs-content li {
  color: var(--fp-muted);
}

body.page-family-docs .docs-content a {
  color: var(--fp-orange);
  text-underline-offset: 4px;
}

body.page-family-docs .docs-content pre,
body.page-family-docs .docs-content code,
body.page-family-docs .docs-note,
body.page-family-docs .docs-warning {
  border-radius: 0;
}

body.page-family-docs .docs-content pre {
  padding: 22px;
  border: 1px solid var(--fp-rule);
  background: var(--fp-bg-raised);
}

body.page-family-docs .docs-content code {
  background: var(--fp-bg-soft);
  color: var(--fp-orange);
}

body.page-family-docs .docs-content img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--fp-rule);
}

/* Editorial directories: topic cloud and top-level category index */
body.page-family-editorial.layout-default .site-content {
  width: min(100%, var(--fp-max));
  margin-inline: auto;
  padding: clamp(86px, 9vw, 136px) var(--fp-gutter) var(--fp-section);
}

body.page-family-editorial.layout-default .site-content > .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

body.page-family-editorial.layout-default .site-content > h1:first-child,
body.page-family-editorial.layout-default .site-content > .container > h1:first-child {
  max-width: 9ch;
  margin: 0 0 clamp(52px, 7vw, 92px);
  color: var(--fp-ink);
  font-family: var(--tp-font-display);
  font-size: clamp(72px, 10vw, 148px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .82;
}

body.page-family-editorial.layout-default .site-content > h1:first-child::after,
body.page-family-editorial.layout-default .site-content > .container > h1:first-child::after {
  display: inline-block;
  width: .18em;
  height: .18em;
  margin-left: .06em;
  background: var(--fp-orange);
  content: "";
}

body.page-family-editorial.layout-default .site-content > p:first-of-type,
body.page-family-editorial.layout-default .taxonomy-explanation {
  max-width: 760px;
  margin-bottom: clamp(68px, 8vw, 110px);
  color: var(--fp-muted);
  font-family: var(--tp-font-display);
  font-size: clamp(25px, 3vw, 40px);
  letter-spacing: -.02em;
  line-height: 1.25;
}

body.page-family-editorial.layout-default .taxonomy-explanation p {
  margin: 0;
}

body.page-family-editorial.layout-default .tags-groups {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  margin-bottom: var(--fp-section);
  border: 1px solid var(--fp-rule);
}

body.page-family-editorial.layout-default .tag-group {
  min-width: 0;
  min-height: 210px;
  padding: 28px;
}

body.page-family-editorial.layout-default .tag-group + .tag-group {
  border-left: 1px solid var(--fp-rule);
}

body.page-family-editorial.layout-default .tag-group h2 {
  margin: 0 0 32px;
  color: var(--fp-ink);
  font-family: var(--tp-font-display);
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 400;
  letter-spacing: -.035em;
}

body.page-family-editorial.layout-default .tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.page-family-editorial.layout-default .tags-cloud a {
  padding: 7px 9px;
  border: 1px solid var(--fp-rule);
  border-radius: 0;
  background: transparent;
  color: var(--fp-muted);
  font-family: var(--tp-font-mono);
  font-size: 10px;
  text-transform: uppercase;
}

body.page-family-editorial.layout-default .tags-cloud a:hover {
  border-color: var(--fp-orange);
  background: var(--fp-orange);
  color: var(--fp-on-orange);
}

body.page-family-editorial.layout-default .tags-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(44px, 7vw, 110px);
}

body.page-family-editorial.layout-default .tag-item {
  padding: 28px 0 34px;
  border-top: 1px solid var(--fp-rule);
}

body.page-family-editorial.layout-default .tag-item h3 {
  margin: 0 0 20px;
  color: var(--fp-orange);
  font-family: var(--tp-font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.page-family-editorial.layout-default .tag-item ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.page-family-editorial.layout-default .tag-item a {
  color: var(--fp-ink);
  font-family: var(--tp-font-display);
  font-size: clamp(18px, 1.8vw, 25px);
  letter-spacing: -.015em;
  line-height: 1.2;
}

body.page-family-editorial.layout-default .tag-item a:hover,
body.page-family-editorial.layout-default .site-content > p > a:hover {
  color: var(--fp-orange);
}

body.page-family-editorial.layout-default .post-date {
  display: block;
  margin-top: 5px;
  color: var(--fp-faint);
  font-family: var(--tp-font-mono);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.page-family-editorial.layout-default .taxonomy-note {
  max-width: 760px;
  margin-top: var(--fp-section);
  padding: 22px 24px;
  border-left: 2px solid var(--fp-orange);
  background: var(--fp-orange-soft);
  color: var(--fp-muted);
  font-family: var(--tp-font-mono);
  font-size: 12px;
}

body.page-family-editorial.layout-default .site-content > h2 {
  max-width: 900px;
  margin: clamp(58px, 7vw, 90px) 0 18px;
  padding-top: 26px;
  border-top: 1px solid var(--fp-rule);
  color: var(--fp-ink);
  font-family: var(--tp-font-display);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .95;
}

body.page-family-editorial.layout-default .site-content > h2 + p,
body.page-family-editorial.layout-default .site-content > h2 + p + p {
  max-width: 720px;
  color: var(--fp-muted);
  font-family: var(--tp-font-mono);
  font-size: 15px;
  line-height: 1.7;
}

body.page-family-editorial.layout-default .site-content > p > a {
  color: var(--fp-orange);
  font-weight: 700;
  text-decoration: none;
}

/* Generic default pages, such as taxonomy indexes */
body.page-family-standard .site-content {
  width: min(100%, 1180px);
  margin-inline: auto;
  padding: var(--fp-section) var(--fp-gutter);
}

body.page-family-standard .site-content > h1:first-child {
  max-width: 12ch;
  margin: 0 0 48px;
  color: var(--fp-ink);
  font-family: var(--tp-font-display);
  font-size: clamp(58px, 8vw, 112px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .88;
}

body.page-family-standard .site-content a {
  color: var(--fp-orange);
}

/* Responsive */
@media (max-width: 1180px) {
  body.home-tp:not(.page-family-home) .site-header .header-content {
    grid-template-columns: auto 1fr;
  }

  body.home-tp:not(.page-family-home) .site-nav {
    justify-content: flex-end;
  }

  body.home-tp:not(.page-family-home) .nav-links.desktop-nav {
    gap: 18px;
  }

  body.home-tp:not(.page-family-home) .tp-header-actions {
    margin-left: 24px;
  }

  body.home-tp .fp-footer-map {
    grid-template-columns: repeat(2, 1fr);
  }

  body.home-tp .fp-footer-map .footer-column:nth-child(3) {
    padding-left: 0;
    border-top: 1px solid var(--fp-rule, var(--tp-rule));
    border-left: 0;
  }

  body.home-tp .fp-footer-map .footer-column:nth-child(4) {
    border-top: 1px solid var(--fp-rule, var(--tp-rule));
  }
}

@media (max-width: 960px) {
  body.layout-blog .tp-hero,
  body:not(.page-family-home) .tp-essay-head,
  body.page-family-legal .lp-hero,
  body.page-family-docs .fp-docs-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  body.layout-blog .tp-hero {
    grid-template-rows: auto;
  }

  body.layout-blog .tp-hero > .tp-eyebrow-row,
  body.layout-blog .tp-hero > .tp-eyebrow,
  body.layout-blog .tp-h1,
  body.layout-blog .tp-lead,
  body.layout-blog .tp-hero-meta,
  body.layout-blog .fp-editorial-visual,
  body:not(.page-family-home) .tp-essay-head > *,
  body.page-family-legal .lp-hero > *,
  body.page-family-docs .fp-docs-hero > * {
    grid-column: 1;
    grid-row: auto;
  }

  body.layout-blog .fp-editorial-visual {
    min-height: 440px;
    margin-top: 54px;
  }

  body:not(.page-family-home) .tp-essay-head::after,
  body.page-family-download .tp-essay-head::after,
  body.page-family-verify .tp-essay-head::after,
  body.page-family-manifesto .tp-essay-head::after,
  body.page-family-founding .tp-essay-head::after,
  body.page-family-showcase .tp-essay-head::after,
  body.page-family-license .tp-essay-head::after,
  body.page-family-compare .tp-essay-head::after,
  body.page-family-research .tp-essay-head::after {
    grid-column: 1;
    grid-row: auto;
    min-height: 420px;
    margin-top: 34px;
  }

  body.page-family-legal .lp-lead {
    grid-column: 1;
    grid-row: auto;
    margin-top: 42px;
  }

  body.page-family-docs .fp-docs-hero figure {
    margin-top: 36px;
  }

  body.page-family-docs .docs-container,
  body.page-family-legal .lp-body {
    grid-template-columns: 1fr;
  }

  body.page-family-docs .sidebar-sticky,
  body.page-family-legal .lp-toc {
    position: static;
  }
}

@media (max-width: 800px) {
  body.home-tp:not(.page-family-home) .fp-context-rail {
    grid-template-columns: 1fr auto;
  }

  body.home-tp:not(.page-family-home) .fp-context-rail span:nth-child(2) {
    display: none;
  }

  body.home-tp .fp-footer-lead,
  body.home-tp .fp-footer-map,
  body.page-family-editorial.layout-default .tags-groups,
  body.page-family-editorial.layout-default .tags-list,
  body.layout-blog .tp-cats,
  body.page-family-legal .lp-tabs,
  body.page-family-compare .cmp-grid,
  body.page-family-research .cmp-grid,
  body.layout-post .tp-related-grid,
  body.layout-compare .tp-related-grid {
    grid-template-columns: 1fr;
  }

  body.layout-blog .tp-cat:first-child,
  body.page-family-legal .lp-tab:first-child,
  body.layout-post .tp-related-card:first-child,
  body.layout-compare .tp-related-card:first-child {
    grid-row: auto;
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid var(--fp-rule);
  }

  body.home-tp .fp-footer-map .footer-column,
  body.home-tp .fp-footer-map .footer-column + .footer-column,
  body.home-tp .fp-footer-map .footer-column:nth-child(3),
  body.home-tp .fp-footer-map .footer-column:nth-child(4) {
    padding: 28px 0;
    border-top: 1px solid var(--fp-rule, var(--tp-rule));
    border-left: 0;
  }

  body.home-tp .fp-footer-map .footer-column:first-child {
    border-top: 0;
  }

  body.page-family-editorial.layout-default .tag-group + .tag-group {
    border-top: 1px solid var(--fp-rule);
    border-left: 0;
  }

  body.layout-post .tp-post-hero,
  body.layout-compare .tp-post-hero,
  body.layout-research .tp-post-hero {
    grid-template-columns: 1fr;
  }

  body.layout-post .tp-post-hero > *,
  body.layout-compare .tp-post-hero > *,
  body.layout-research .tp-post-hero > * {
    grid-column: 1;
  }

  body.layout-post .tp-post-hero > .tp-eyebrow,
  body.layout-compare .tp-post-hero > .tp-eyebrow,
  body.layout-research .tp-post-hero > .tp-eyebrow {
    margin-bottom: 22px;
  }

  body:not(.page-family-home) .tp-essay-body,
  body:not(.page-family-home) .tp-essay-body--wide {
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  body.home-tp:not(.page-family-home) {
    --fp-gutter: 20px;
    --fp-section: 80px;
  }

  body.home-tp:not(.page-family-home) .fp-context-rail {
    min-height: 34px;
    font-size: 8px;
  }

  body.layout-blog .tp-hero {
    padding-top: 60px;
  }

  body.layout-blog .tp-hero > .tp-eyebrow-row {
    margin-bottom: 48px;
  }

  body.layout-blog .tp-h1,
  body:not(.page-family-home) .tp-essay-title,
  body.page-family-legal .lp-h1 {
    font-size: clamp(54px, 19vw, 86px);
  }

  body.layout-blog .fp-editorial-visual {
    min-height: 360px;
  }

  body.page-family-editorial .tp-row {
    grid-template-columns: 74px 1fr;
    gap: 8px 18px;
  }

  body.page-family-editorial .tp-row .tp-cat-tag {
    grid-column: 1;
  }

  body.page-family-editorial .tp-row-body {
    grid-column: 2;
    grid-row: 1 / 4;
  }

  body.page-family-editorial .tp-row .tp-right {
    display: none;
  }

  body.page-family-editorial .tp-row--head {
    display: none;
  }

  body.layout-post .tp-post-title,
  body.layout-compare .tp-post-title,
  body.layout-research .tp-post-title {
    font-size: clamp(44px, 13vw, 70px);
  }

  body.layout-post .tp-prose,
  body.layout-compare .tp-prose,
  body.layout-research .tp-prose,
  body.layout-post .tp-post-tags,
  body.layout-compare .tp-post-tags,
  body.layout-research .tp-post-tags {
    padding-inline: var(--fp-gutter);
  }

  body.page-family-download .tp-essay-head::after,
  body.page-family-verify .tp-essay-head::after,
  body:not(.page-family-home) .tp-essay-head::after {
    min-height: 320px;
  }

  body.page-family-legal .lp-lead {
    padding-left: 22px;
  }

  body.page-family-docs .fp-docs-hero figure,
  body.page-family-docs .fp-docs-hero img {
    min-height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home-tp:not(.page-family-home) *,
  body.home-tp:not(.page-family-home) *::before,
  body.home-tp:not(.page-family-home) *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ==========================================================================
   Field notes v2 — editorial evidence, not a terminal skin
   ========================================================================== */

body.layout-blog .tp-hero {
  grid-template-rows: auto auto auto 1fr auto auto;
}

body.layout-blog .tp-h1 {
  max-width: 9ch;
  font-size: clamp(62px, 8.2vw, 128px);
  line-height: .82;
}

body.layout-blog .tp-lead {
  max-width: 44ch;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.65;
}

body.layout-blog .fp-signal-chain {
  display: grid;
  grid-column: 1;
  grid-row: 5;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 520px;
  margin-top: 38px;
  border-top: 1px solid var(--fp-rule);
  border-bottom: 1px solid var(--fp-rule);
}

body.layout-blog .fp-signal-chain span {
  display: grid;
  gap: 7px;
  padding: 14px 14px 15px 0;
  color: var(--fp-muted);
  font-family: var(--tp-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.layout-blog .fp-signal-chain span + span {
  padding-left: 14px;
  border-left: 1px solid var(--fp-rule);
}

body.layout-blog .fp-signal-chain i {
  color: var(--fp-orange);
  font-size: 9px;
  font-style: normal;
}

body.layout-blog .tp-hero-meta {
  grid-row: 6;
  margin-top: 26px;
}

body.layout-blog .fp-editorial-visual {
  grid-row: 2 / 7;
  min-height: 660px;
  box-shadow: 0 42px 100px rgba(0, 0, 0, .34);
}

body.layout-blog .fp-editorial-visual img {
  object-position: 57% center;
}

body.layout-blog .fp-editorial-visual::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 9, 7, .04), transparent 45%, rgba(10, 9, 7, .76)),
    linear-gradient(90deg, rgba(10, 9, 7, .28), transparent 42%);
  content: "";
  pointer-events: none;
}

body.layout-blog .fp-visual-stamp {
  position: absolute;
  top: 22px;
  left: 0;
  z-index: 2;
  padding: 10px 14px;
  background: var(--fp-orange);
  color: var(--fp-on-orange);
  font-family: var(--tp-font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

body.layout-blog .fp-editorial-visual figcaption {
  z-index: 2;
  padding: 30px;
}

body.layout-blog .fp-editorial-visual figcaption a {
  font-size: clamp(28px, 2.7vw, 44px);
  line-height: .98;
}

body.page-family-editorial .tp-list-head {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--fp-rule-strong);
}

body.page-family-editorial .tp-row {
  grid-template-columns: 92px 102px minmax(0, 1fr) 64px 74px;
  gap: clamp(16px, 2.4vw, 36px);
  align-items: start;
  padding-block: clamp(28px, 3.3vw, 48px);
}

body.page-family-editorial .tp-row .tp-date {
  display: grid;
  gap: 8px;
  color: var(--fp-faint);
  font-size: 9px;
  letter-spacing: .08em;
  opacity: 1;
}

body.page-family-editorial .tp-row .tp-date b {
  color: var(--fp-orange);
  font-family: var(--tp-font-display);
  font-size: clamp(38px, 4.4vw, 64px);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .75;
}

body.page-family-editorial .tp-row-title {
  max-width: 28ch;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.02;
  text-wrap: balance;
}

body.page-family-editorial .tp-row-sub {
  max-width: 66ch;
  margin-top: 16px;
  color: var(--fp-muted);
  font-size: 12px;
  line-height: 1.65;
  opacity: 1;
}

body.page-family-editorial .tp-row-tags {
  margin-top: 18px;
  color: var(--fp-faint);
  opacity: 1;
}

body.page-family-editorial .tp-row:hover .tp-row-title {
  color: var(--fp-orange);
}

/* Long-form reading system */
@keyframes fp-reading-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

body.layout-post .fp-reading-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 60;
  height: 3px;
  background: var(--fp-orange);
  transform: scaleX(0);
  transform-origin: left center;
  animation: fp-reading-progress linear both;
  animation-timeline: scroll(root);
  pointer-events: none;
}

body.layout-post .tp-post-hero {
  padding-top: clamp(90px, 11vw, 170px);
}

body.layout-post .tp-post-title {
  max-width: 13ch;
  font-size: clamp(56px, 7.3vw, 108px);
  line-height: .88;
}

body.layout-post .tp-post-featured {
  width: min(100%, var(--fp-max));
  max-width: var(--fp-max);
  padding: 0 var(--fp-gutter);
}

body.layout-post .tp-post-featured picture {
  overflow: hidden;
  border: 1px solid var(--fp-rule-strong);
  background: var(--fp-bg-raised);
}

body.layout-post .tp-post-featured img {
  aspect-ratio: 1200 / 630;
  margin: 0;
  border: 0;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(.16, 1, .3, 1), filter 400ms ease;
}

body.layout-post .tp-post-featured:hover img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.012);
}

body.layout-post .tp-post-featured-caption {
  max-width: 76ch;
  margin: 14px 0 0 auto;
  color: var(--fp-faint);
  line-height: 1.55;
  text-align: right;
  opacity: 1;
}

body.layout-post .fp-reading-shell {
  display: grid;
  grid-template-columns: 116px minmax(0, var(--fp-reading));
  gap: clamp(38px, 6vw, 88px);
  justify-content: center;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: clamp(84px, 9vw, 132px) var(--fp-gutter) 0;
}

body.layout-post .fp-reading-rail {
  position: sticky;
  top: 132px;
  display: grid;
  align-content: start;
  gap: 7px;
  align-self: start;
  color: var(--fp-faint);
  font-family: var(--tp-font-mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.layout-post .fp-reading-rail-label {
  color: var(--fp-orange);
  font-weight: 800;
}

body.layout-post .fp-reading-rail strong {
  margin-top: 26px;
  color: var(--fp-ink);
  font-family: var(--tp-font-display);
  font-size: 72px;
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .78;
}

body.layout-post .fp-reading-rail i {
  width: 1px;
  height: 72px;
  margin: 24px 0;
  background: linear-gradient(var(--fp-orange), var(--fp-rule));
}

body.layout-post .fp-reading-shell .tp-prose {
  width: 100%;
  max-width: var(--fp-reading);
  margin: 0;
  padding: 0 0 var(--fp-section);
}

body.layout-post .tp-prose picture {
  display: block;
  width: min(1080px, calc(100vw - (2 * var(--fp-gutter))));
  margin: clamp(52px, 7vw, 82px) 0 20px 50%;
  transform: translateX(-50%);
}

body.layout-post .tp-prose picture img {
  display: block;
  width: 100%;
  margin: 0;
  border-color: var(--fp-rule-strong);
  box-shadow: 0 34px 80px rgba(0, 0, 0, .24);
}

body.layout-post .tp-prose table {
  display: block;
  width: min(1080px, calc(100vw - (2 * var(--fp-gutter))));
  margin: clamp(52px, 7vw, 82px) 0 clamp(48px, 6vw, 72px) 50%;
  overflow-x: auto;
  border-top: 1px solid var(--fp-rule-strong);
  border-bottom: 1px solid var(--fp-rule-strong);
  transform: translateX(-50%);
  scrollbar-color: var(--fp-orange) var(--fp-bg-raised);
}

body.layout-post .tp-prose th,
body.layout-post .tp-prose td {
  min-width: 126px;
  padding: 17px 16px;
  vertical-align: top;
}

body.layout-post .tp-prose th:last-child,
body.layout-post .tp-prose td:last-child {
  background: rgba(77, 185, 121, .08);
  color: var(--fp-ink);
}

body.layout-post .tp-prose pre {
  margin-block: 38px;
  padding: 24px 26px;
  border-left: 2px solid var(--fp-orange);
  background: var(--fp-bg-raised);
  box-shadow: 0 22px 54px rgba(0, 0, 0, .18);
}

body.layout-post .tp-prose > p:first-of-type {
  margin-bottom: clamp(46px, 6vw, 72px);
  padding-bottom: clamp(36px, 5vw, 54px);
  font-size: clamp(25px, 2.7vw, 36px);
  line-height: 1.3;
}

body.layout-post .fp-post-cta {
  display: grid;
  grid-template-columns: .42fr 1.35fr .8fr;
  gap: clamp(28px, 5vw, 78px);
  align-items: end;
  width: min(100%, 1180px);
  margin: 0 auto var(--fp-section);
  padding: clamp(34px, 5vw, 64px);
  background: var(--fp-orange);
  color: var(--fp-on-orange);
}

body.layout-post .fp-post-cta-eyebrow {
  align-self: start;
  font-family: var(--tp-font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

body.layout-post .fp-post-cta strong {
  font-family: var(--tp-font-display);
  font-size: clamp(38px, 5vw, 70px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .92;
}

body.layout-post .fp-post-cta p {
  margin: 0 0 28px;
  font-family: var(--tp-font-mono);
  font-size: 11px;
  line-height: 1.65;
}

body.layout-post .fp-post-cta a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0 10px;
  border-top: 1px solid currentColor;
  color: inherit;
  font-family: var(--tp-font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

body.layout-post .fp-post-cta a:hover {
  padding-inline: 10px;
  background: var(--fp-on-orange);
  color: var(--fp-orange);
}

@media (max-width: 960px) {
  body.layout-blog .fp-signal-chain,
  body.layout-blog .tp-hero-meta {
    grid-column: 1;
    grid-row: auto;
  }

  body.layout-blog .fp-editorial-visual {
    grid-column: 1;
    grid-row: auto;
    min-height: 520px;
  }

  body.layout-post .fp-post-cta {
    width: calc(100% - (2 * var(--fp-gutter)));
  }
}

@media (max-width: 800px) {
  body.layout-post .fp-reading-shell {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  body.layout-post .fp-reading-rail {
    position: static;
    grid-template-columns: auto auto auto 1fr auto;
    align-items: end;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--fp-rule);
  }

  body.layout-post .fp-reading-rail strong {
    margin: 0;
    font-size: 44px;
  }

  body.layout-post .fp-reading-rail i {
    width: 100%;
    height: 1px;
    margin: 0;
  }

  body.layout-post .fp-post-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }

  body.layout-post .fp-post-cta p {
    max-width: 52ch;
  }
}

@media (max-width: 720px) {
  body.layout-blog .tp-h1 {
    max-width: 8.5ch;
    font-size: clamp(52px, 16.8vw, 78px);
  }

  body.layout-blog .fp-signal-chain {
    margin-top: 30px;
  }

  body.layout-blog .fp-editorial-visual {
    min-height: 400px;
    margin-top: 46px;
  }

  body.layout-blog .fp-editorial-visual figcaption {
    padding: 22px;
  }

  body.page-family-editorial .tp-row {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px 18px;
  }

  body.page-family-editorial .tp-row .tp-date b {
    font-size: 40px;
  }

  body.page-family-editorial .tp-row-title {
    font-size: clamp(26px, 8.3vw, 38px);
  }

  body.layout-post .tp-post-title {
    max-width: none;
    font-size: clamp(43px, 12.8vw, 66px);
  }

  body.layout-post .tp-post-featured {
    padding-inline: 20px;
  }

  body.layout-post .fp-reading-shell {
    padding-top: 68px;
  }

  body.layout-post .fp-reading-shell .tp-prose {
    padding-inline: 0;
  }

  body.layout-post .tp-prose picture,
  body.layout-post .tp-prose table {
    width: calc(100vw - 40px);
  }

  body.layout-post .tp-prose > p:first-of-type {
    font-size: clamp(23px, 7vw, 31px);
  }

  body.layout-post .fp-post-cta {
    width: calc(100% - 40px);
    margin-bottom: 80px;
  }
}

@supports not (animation-timeline: scroll()) {
  body.layout-post .fp-reading-progress {
    display: none;
  }
}

/* Founding community — contribution becomes the license */
body.page-family-founding .fp-founders-hero {
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr);
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(54px, 7vw, 112px);
}

body.page-family-founding .fp-founders-hero::after {
  display: none;
}

body.page-family-founding .fp-founders-hero .tp-essay-title {
  max-width: 8.8ch;
  font-size: clamp(60px, 7.8vw, 116px);
}

body.page-family-founding .fp-founders-protocol {
  position: relative;
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: stretch;
  min-height: 570px;
  padding: clamp(26px, 3.2vw, 46px);
  overflow: hidden;
  border: 1px solid var(--fp-rule-strong);
  background-color: var(--fp-bg-raised);
  background-image:
    linear-gradient(var(--fp-rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--fp-rule) 1px, transparent 1px);
  background-position: -1px -1px;
  background-size: 25% 25%;
  box-shadow: 0 36px 100px rgba(0, 0, 0, .2);
}

body.page-family-founding .fp-founders-protocol::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--fp-orange);
  content: "";
}

body.page-family-founding .fp-founders-protocol::after {
  position: absolute;
  right: clamp(24px, 3vw, 42px);
  bottom: clamp(24px, 3vw, 42px);
  width: 74px;
  height: 74px;
  border: 1px solid var(--fp-rule-strong);
  background:
    linear-gradient(90deg, transparent 49%, var(--fp-orange) 49% 51%, transparent 51%),
    linear-gradient(transparent 49%, var(--fp-orange) 49% 51%, transparent 51%);
  content: "";
  opacity: .65;
  transform: rotate(45deg);
}

body.page-family-founding .fp-founders-protocol-head {
  display: flex;
  position: relative;
  z-index: 1;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: clamp(34px, 4vw, 58px);
  color: var(--fp-faint);
  font-family: var(--tp-font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

body.page-family-founding .fp-founders-protocol-head strong {
  color: var(--fp-green);
}

body.page-family-founding .fp-founders-protocol-head i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 16px currentColor;
}

body.page-family-founding .fp-founders-license-row {
  display: grid;
  position: relative;
  z-index: 1;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: clamp(18px, 2vw, 30px);
  align-items: center;
  padding: clamp(22px, 2.8vw, 34px) 0;
  border-top: 1px solid var(--fp-rule);
}

body.page-family-founding .fp-founders-license-row--pro {
  border-bottom: 1px solid var(--fp-rule);
  color: var(--fp-orange);
}

body.page-family-founding .fp-founders-license-code {
  color: var(--fp-faint);
  font-family: var(--tp-font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

body.page-family-founding .fp-founders-license-row > div {
  display: grid;
  gap: 5px;
}

body.page-family-founding .fp-founders-license-row > div strong {
  color: var(--fp-ink);
  font-family: var(--tp-font-display);
  font-size: clamp(24px, 2.7vw, 39px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1;
}

body.page-family-founding .fp-founders-license-row small {
  color: var(--fp-muted);
  font-family: var(--tp-font-mono);
  font-size: 10px;
}

body.page-family-founding .fp-founders-license-row > b {
  font-family: var(--tp-font-display);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
  line-height: 1;
}

body.page-family-founding .fp-founders-signal {
  display: flex;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: clamp(34px, 4vw, 56px);
  font-family: var(--tp-font-mono);
  font-size: 10px;
  letter-spacing: .06em;
}

body.page-family-founding .fp-founders-signal span {
  display: grid;
  gap: 4px;
  color: var(--fp-muted);
}

body.page-family-founding .fp-founders-signal b,
body.page-family-founding .fp-founders-signal i {
  color: var(--fp-orange);
  font-style: normal;
}

body.page-family-founding .fp-founders-protocol > p {
  position: absolute;
  z-index: 1;
  right: 128px;
  bottom: clamp(24px, 3vw, 42px);
  left: clamp(26px, 3.2vw, 46px);
  max-width: 34ch;
  margin: 0;
  color: var(--fp-faint);
  font-family: var(--tp-font-mono);
  font-size: 10px;
  line-height: 1.6;
}

body.page-family-founding .fp-founders-body {
  display: grid;
  gap: 0;
  padding-top: 0;
}

body.page-family-founding .fp-founders-kicker {
  display: block;
  margin-bottom: 22px;
  color: var(--fp-orange);
  font-family: var(--tp-font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

body.page-family-founding .fp-founders-opening,
body.page-family-founding .fp-founders-meaning {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(48px, 8vw, 132px);
  align-items: start;
  padding: var(--fp-section) 0;
  border-bottom: 1px solid var(--fp-rule);
}

body.page-family-founding .fp-founders-opening h2,
body.page-family-founding .fp-founders-route h2,
body.page-family-founding .fp-founders-meaning h2,
body.page-family-founding .fp-founders-window h2,
body.page-family-founding .fp-founders-terms h2 {
  margin: 0;
  color: var(--fp-ink);
  font-family: var(--tp-font-display);
  font-size: clamp(43px, 5.6vw, 76px);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: .98;
  text-wrap: balance;
}

body.page-family-founding .fp-founders-opening h2 em,
body.page-family-founding .fp-founders-route h2 em,
body.page-family-founding .fp-founders-meaning h2 em {
  color: var(--fp-orange);
  font-weight: inherit;
}

body.page-family-founding .fp-founders-opening > p {
  max-width: 48ch;
  margin: 42px 0 0;
  color: var(--fp-muted);
  font-family: var(--tp-font-display);
  font-size: clamp(22px, 2.5vw, 33px);
  letter-spacing: -.02em;
  line-height: 1.32;
}

body.page-family-founding .fp-founders-tiers {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  border-bottom: 1px solid var(--fp-rule);
}

body.page-family-founding .fp-founders-tiers article {
  display: flex;
  min-height: 390px;
  padding: clamp(30px, 4vw, 56px);
  flex-direction: column;
  border-right: 1px solid var(--fp-rule);
}

body.page-family-founding .fp-founders-tiers article:last-child {
  border-right: 0;
  background: var(--fp-orange-soft);
}

body.page-family-founding .fp-founders-tiers article > span {
  color: var(--fp-faint);
  font-family: var(--tp-font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

body.page-family-founding .fp-founders-tiers h3 {
  max-width: 10ch;
  margin: auto 0 22px;
  color: var(--fp-ink);
  font-family: var(--tp-font-display);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .98;
}

body.page-family-founding .fp-founders-tiers p {
  max-width: 45ch;
  margin: 0 0 28px;
  color: var(--fp-muted);
}

body.page-family-founding .fp-founders-tiers article > strong {
  padding-top: 18px;
  border-top: 1px solid var(--fp-rule);
  color: var(--fp-orange);
  font-family: var(--tp-font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.page-family-founding .fp-founders-route {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: clamp(54px, 8vw, 130px);
  padding: var(--fp-section) 0;
  border-bottom: 1px solid var(--fp-rule);
}

body.page-family-founding .fp-founders-route header {
  position: sticky;
  top: 132px;
  align-self: start;
}

body.page-family-founding .fp-founders-route ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

body.page-family-founding .fp-founders-route li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 42px);
  padding: 0 0 clamp(46px, 6vw, 78px);
  border-top: 1px solid var(--fp-rule);
}

body.page-family-founding .fp-founders-route li + li {
  padding-top: clamp(46px, 6vw, 78px);
}

body.page-family-founding .fp-founders-route li > span {
  padding-top: 20px;
  color: var(--fp-orange);
  font-family: var(--tp-font-mono);
  font-size: 11px;
  font-weight: 800;
}

body.page-family-founding .fp-founders-route h3 {
  margin: 16px 0 14px;
  color: var(--fp-ink);
  font-family: var(--tp-font-display);
  font-size: clamp(29px, 3vw, 43px);
  font-weight: 500;
  letter-spacing: -.035em;
}

body.page-family-founding .fp-founders-route p {
  max-width: 55ch;
  margin: 0;
  color: var(--fp-muted);
}

body.page-family-founding .fp-founders-route a {
  display: inline-flex;
  justify-content: space-between;
  gap: 36px;
  min-width: min(100%, 320px);
  margin-top: 24px;
  padding: 13px 0 9px;
  border-top: 1px solid var(--fp-orange);
  color: var(--fp-orange);
  font-family: var(--tp-font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

body.page-family-founding .fp-founders-route a:hover {
  padding-inline: 10px;
  background: var(--fp-orange);
  color: var(--fp-on-orange);
}

body.page-family-founding .fp-founders-meaning-copy {
  max-width: 52ch;
  color: var(--fp-muted);
  font-size: clamp(18px, 1.7vw, 22px);
}

body.page-family-founding .fp-founders-meaning-copy p:first-child {
  margin-top: 0;
}

body.page-family-founding .fp-founders-meaning-copy a {
  color: var(--fp-orange);
}

body.page-family-founding .fp-founders-window {
  display: grid;
  grid-template-columns: .42fr 1.25fr .72fr;
  gap: clamp(30px, 5vw, 78px);
  align-items: start;
  margin: var(--fp-section) 0 0;
  padding: clamp(34px, 5vw, 64px);
  background: var(--fp-orange);
  color: var(--fp-on-orange);
}

body.page-family-founding .fp-founders-window > span {
  font-family: var(--tp-font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
}

body.page-family-founding .fp-founders-window h2 {
  color: inherit;
  font-size: clamp(42px, 5vw, 68px);
}

body.page-family-founding .fp-founders-window p {
  max-width: 56ch;
  margin: 28px 0 0;
  opacity: .78;
}

body.page-family-founding .fp-founders-window > strong {
  align-self: end;
  padding-top: 18px;
  border-top: 1px solid currentColor;
  font-family: var(--tp-font-mono);
  font-size: 11px;
  line-height: 1.7;
}

body.page-family-founding .fp-founders-terms {
  display: grid;
  grid-template-columns: minmax(230px, .6fr) minmax(0, 1.4fr);
  gap: clamp(54px, 8vw, 130px);
  padding: var(--fp-section) 0 0;
}

body.page-family-founding .fp-founders-terms h2 {
  font-size: clamp(42px, 5vw, 66px);
}

body.page-family-founding .fp-founders-terms dl {
  margin: 0;
}

body.page-family-founding .fp-founders-terms dl > div {
  display: grid;
  grid-template-columns: minmax(170px, .68fr) minmax(0, 1.32fr);
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--fp-rule);
}

body.page-family-founding .fp-founders-terms dt {
  color: var(--fp-ink);
  font-family: var(--tp-font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
}

body.page-family-founding .fp-founders-terms dd {
  margin: 0;
  color: var(--fp-muted);
}

body.page-family-founding .fp-founders-terms .tp-essay-foot-meta {
  grid-column: 2;
  max-width: 66ch;
  margin: 34px 0 0;
  color: var(--fp-faint);
  font-family: var(--tp-font-mono);
  font-size: 10px;
  line-height: 1.7;
}

body.page-family-founding .fp-founders-foot {
  margin-inline: 0;
}

@media (max-width: 960px) {
  body.page-family-founding .fp-founders-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  body.page-family-founding .fp-founders-protocol {
    grid-column: 1;
    grid-row: auto;
    min-height: 560px;
    margin-top: 52px;
  }

  body.page-family-founding .fp-founders-opening,
  body.page-family-founding .fp-founders-meaning,
  body.page-family-founding .fp-founders-route,
  body.page-family-founding .fp-founders-terms {
    grid-template-columns: 1fr;
  }

  body.page-family-founding .fp-founders-opening > p {
    margin-top: 0;
  }

  body.page-family-founding .fp-founders-route header {
    position: static;
  }

  body.page-family-founding .fp-founders-window {
    grid-template-columns: .45fr 1.55fr;
  }

  body.page-family-founding .fp-founders-window > strong {
    grid-column: 2;
  }

  body.page-family-founding .fp-founders-terms .tp-essay-foot-meta {
    grid-column: 1;
  }
}

@media (max-width: 720px) {
  body.page-family-founding .fp-founders-hero .tp-essay-title {
    max-width: 9.5ch;
    font-size: clamp(50px, 15.5vw, 72px);
  }

  body.page-family-founding .fp-founders-protocol {
    min-height: 530px;
    padding: 26px 22px;
  }

  body.page-family-founding .fp-founders-license-row {
    grid-template-columns: 48px minmax(0, 1fr) auto;
  }

  body.page-family-founding .fp-founders-license-row > div strong {
    font-size: 23px;
  }

  body.page-family-founding .fp-founders-protocol > p {
    right: 98px;
    left: 22px;
  }

  body.page-family-founding .fp-founders-protocol::after {
    width: 54px;
    height: 54px;
  }

  body.page-family-founding .fp-founders-opening,
  body.page-family-founding .fp-founders-meaning {
    gap: 38px;
  }

  body.page-family-founding .fp-founders-tiers {
    grid-template-columns: 1fr;
  }

  body.page-family-founding .fp-founders-tiers article {
    min-height: 340px;
    border-right: 0;
    border-bottom: 1px solid var(--fp-rule);
  }

  body.page-family-founding .fp-founders-tiers article:last-child {
    border-bottom: 0;
  }

  body.page-family-founding .fp-founders-route li {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  body.page-family-founding .fp-founders-window {
    grid-template-columns: 1fr;
  }

  body.page-family-founding .fp-founders-window > strong {
    grid-column: 1;
  }

  body.page-family-founding .fp-founders-terms dl > div {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
